activity

package module
v0.0.0-...-a96e504 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2022 License: MIT Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AttributeKey_name = map[int32]string{
		0: "UNKNOWN",
		1: "RESOURCE_TYPE",
		2: "RESOURCE_NAME",
		3: "EVENT_ID",
		4: "EVENT_SOURCE",
		5: "EVENT_NAME",
		6: "USERNAME",
		7: "READ_ONLY",
	}
	AttributeKey_value = map[string]int32{
		"UNKNOWN":       0,
		"RESOURCE_TYPE": 1,
		"RESOURCE_NAME": 2,
		"EVENT_ID":      3,
		"EVENT_SOURCE":  4,
		"EVENT_NAME":    5,
		"USERNAME":      6,
		"READ_ONLY":     7,
	}
)

Enum value maps for AttributeKey.

View Source
var File_activity_entity_proto protoreflect.FileDescriptor
View Source
var File_activity_service_proto protoreflect.FileDescriptor

Functions

func RegisterActivityServiceServer

func RegisterActivityServiceServer(s *grpc.Server, srv ActivityServiceServer)

Types

type ARN

type ARN struct {
	Partition    string `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
	Service      string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	Region       string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
	AccountId    string `protobuf:"bytes,4,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Resource     string `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"`
	ResourceType string `protobuf:"bytes,6,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` // judge from service and resource,
	// https://docs.aws.amazon.com/cli/latest/reference/configservice/get-resource-config-history.html#options
	ResourceId string `protobuf:"bytes,7,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // parse from resource
	// contains filtered or unexported fields
}

ARN https://docs.aws.amazon.com/sdk-for-go/api/aws/arn/#ARN

func (*ARN) Descriptor deprecated

func (*ARN) Descriptor() ([]byte, []int)

Deprecated: Use ARN.ProtoReflect.Descriptor instead.

func (*ARN) GetAccountId

func (x *ARN) GetAccountId() string

func (*ARN) GetPartition

func (x *ARN) GetPartition() string

func (*ARN) GetRegion

func (x *ARN) GetRegion() string

func (*ARN) GetResource

func (x *ARN) GetResource() string

func (*ARN) GetResourceId

func (x *ARN) GetResourceId() string

func (*ARN) GetResourceType

func (x *ARN) GetResourceType() string

func (*ARN) GetService

func (x *ARN) GetService() string

func (*ARN) ProtoMessage

func (*ARN) ProtoMessage()

func (*ARN) ProtoReflect

func (x *ARN) ProtoReflect() protoreflect.Message

func (*ARN) Reset

func (x *ARN) Reset()

func (*ARN) String

func (x *ARN) String() string

func (*ARN) Validate

func (m *ARN) Validate() error

Validate checks the field values on ARN with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ARNValidationError

type ARNValidationError struct {
	// contains filtered or unexported fields
}

ARNValidationError is the validation error returned by ARN.Validate if the designated constraints aren't met.

func (ARNValidationError) Cause

func (e ARNValidationError) Cause() error

Cause function returns cause value.

func (ARNValidationError) Error

func (e ARNValidationError) Error() string

Error satisfies the builtin error interface

func (ARNValidationError) ErrorName

func (e ARNValidationError) ErrorName() string

ErrorName returns error name.

func (ARNValidationError) Field

func (e ARNValidationError) Field() string

Field function returns field value.

func (ARNValidationError) Key

func (e ARNValidationError) Key() bool

Key function returns key value.

func (ARNValidationError) Reason

func (e ARNValidationError) Reason() string

Reason function returns reason value.

type ActivityServiceClient

type ActivityServiceClient interface {
	DescribeARN(ctx context.Context, in *DescribeARNRequest, opts ...grpc.CallOption) (*DescribeARNResponse, error)
	ListCloudTrail(ctx context.Context, in *ListCloudTrailRequest, opts ...grpc.CallOption) (*ListCloudTrailResponse, error)
	ListConfigHistory(ctx context.Context, in *ListConfigHistoryRequest, opts ...grpc.CallOption) (*ListConfigHistoryResponse, error)
}

ActivityServiceClient is the client API for ActivityService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ActivityServiceServer

ActivityServiceServer is the server API for ActivityService service.

type AttributeKey

type AttributeKey int32
const (
	AttributeKey_UNKNOWN       AttributeKey = 0
	AttributeKey_RESOURCE_TYPE AttributeKey = 1
	AttributeKey_RESOURCE_NAME AttributeKey = 2
	AttributeKey_EVENT_ID      AttributeKey = 3
	AttributeKey_EVENT_SOURCE  AttributeKey = 4
	AttributeKey_EVENT_NAME    AttributeKey = 5
	AttributeKey_USERNAME      AttributeKey = 6
	AttributeKey_READ_ONLY     AttributeKey = 7
)

func (AttributeKey) Descriptor

func (AttributeKey) Enum

func (x AttributeKey) Enum() *AttributeKey

func (AttributeKey) EnumDescriptor deprecated

func (AttributeKey) EnumDescriptor() ([]byte, []int)

Deprecated: Use AttributeKey.Descriptor instead.

func (AttributeKey) Number

func (AttributeKey) String

func (x AttributeKey) String() string

func (AttributeKey) Type

type CloudTrail

type CloudTrail struct {
	EventId         string      `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	EventName       string      `protobuf:"bytes,2,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"`
	ReadOnly        string      `protobuf:"bytes,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	AccessKeyId     string      `protobuf:"bytes,4,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"`
	EventTime       int64       `protobuf:"varint,5,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
	EventSource     string      `protobuf:"bytes,6,opt,name=event_source,json=eventSource,proto3" json:"event_source,omitempty"`
	Username        string      `protobuf:"bytes,7,opt,name=username,proto3" json:"username,omitempty"`
	Resources       []*Resource `protobuf:"bytes,8,rep,name=resources,proto3" json:"resources,omitempty"`
	CloudtrailEvent string      `protobuf:"bytes,9,opt,name=cloudtrail_event,json=cloudtrailEvent,proto3" json:"cloudtrail_event,omitempty"` // Raw data(JSON)
	// contains filtered or unexported fields
}

CloudTrail https://docs.aws.amazon.com/cli/latest/reference/cloudtrail/lookup-events.html#output

func (*CloudTrail) Descriptor deprecated

func (*CloudTrail) Descriptor() ([]byte, []int)

Deprecated: Use CloudTrail.ProtoReflect.Descriptor instead.

func (*CloudTrail) GetAccessKeyId

func (x *CloudTrail) GetAccessKeyId() string

func (*CloudTrail) GetCloudtrailEvent

func (x *CloudTrail) GetCloudtrailEvent() string

func (*CloudTrail) GetEventId

func (x *CloudTrail) GetEventId() string

func (*CloudTrail) GetEventName

func (x *CloudTrail) GetEventName() string

func (*CloudTrail) GetEventSource

func (x *CloudTrail) GetEventSource() string

func (*CloudTrail) GetEventTime

func (x *CloudTrail) GetEventTime() int64

func (*CloudTrail) GetReadOnly

func (x *CloudTrail) GetReadOnly() string

func (*CloudTrail) GetResources

func (x *CloudTrail) GetResources() []*Resource

func (*CloudTrail) GetUsername

func (x *CloudTrail) GetUsername() string

func (*CloudTrail) ProtoMessage

func (*CloudTrail) ProtoMessage()

func (*CloudTrail) ProtoReflect

func (x *CloudTrail) ProtoReflect() protoreflect.Message

func (*CloudTrail) Reset

func (x *CloudTrail) Reset()

func (*CloudTrail) String

func (x *CloudTrail) String() string

func (*CloudTrail) Validate

func (m *CloudTrail) Validate() error

Validate checks the field values on CloudTrail with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CloudTrailValidationError

type CloudTrailValidationError struct {
	// contains filtered or unexported fields
}

CloudTrailValidationError is the validation error returned by CloudTrail.Validate if the designated constraints aren't met.

func (CloudTrailValidationError) Cause

func (e CloudTrailValidationError) Cause() error

Cause function returns cause value.

func (CloudTrailValidationError) Error

Error satisfies the builtin error interface

func (CloudTrailValidationError) ErrorName

func (e CloudTrailValidationError) ErrorName() string

ErrorName returns error name.

func (CloudTrailValidationError) Field

Field function returns field value.

func (CloudTrailValidationError) Key

Key function returns key value.

func (CloudTrailValidationError) Reason

func (e CloudTrailValidationError) Reason() string

Reason function returns reason value.

type Configuration

type Configuration struct {
	Version                      string                        `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	AccountId                    string                        `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	ConfigurationItemCaptureTime int64                         `` /* 150-byte string literal not displayed */
	ConfigurationItemStatus      string                        `` /* 132-byte string literal not displayed */
	ConfigurationStateId         string                        `protobuf:"bytes,5,opt,name=configuration_state_id,json=configurationStateId,proto3" json:"configuration_state_id,omitempty"`
	ConfigurationItemMD5Hash     string                        `protobuf:"bytes,6,opt,name=configurationItemMD5Hash,proto3" json:"configurationItemMD5Hash,omitempty"`
	Arn                          string                        `protobuf:"bytes,7,opt,name=arn,proto3" json:"arn,omitempty"`
	ResourceType                 string                        `protobuf:"bytes,8,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	ResourceId                   string                        `protobuf:"bytes,9,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	ResourceName                 string                        `protobuf:"bytes,10,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	AwsRegion                    string                        `protobuf:"bytes,11,opt,name=aws_region,json=awsRegion,proto3" json:"aws_region,omitempty"`
	AvailabilityZone             string                        `protobuf:"bytes,12,opt,name=availability_zone,json=availabilityZone,proto3" json:"availability_zone,omitempty"`
	ResourceCreationTime         int64                         `protobuf:"varint,13,opt,name=resource_creation_time,json=resourceCreationTime,proto3" json:"resource_creation_time,omitempty"`
	Tags                         []*Tag                        `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"`
	RelatedEvents                []string                      `protobuf:"bytes,15,rep,name=related_events,json=relatedEvents,proto3" json:"related_events,omitempty"`
	Relationships                []*Resource                   `protobuf:"bytes,16,rep,name=relationships,proto3" json:"relationships,omitempty"`
	Configuration                string                        `protobuf:"bytes,17,opt,name=configuration,proto3" json:"configuration,omitempty"`
	SupplementaryConfiguration   []*SupplementaryConfiguration `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration https://docs.aws.amazon.com/cli/latest/reference/configservice/get-resource-config-history.html#output

func (*Configuration) Descriptor deprecated

func (*Configuration) Descriptor() ([]byte, []int)

Deprecated: Use Configuration.ProtoReflect.Descriptor instead.

func (*Configuration) GetAccountId

func (x *Configuration) GetAccountId() string

func (*Configuration) GetArn

func (x *Configuration) GetArn() string

func (*Configuration) GetAvailabilityZone

func (x *Configuration) GetAvailabilityZone() string

func (*Configuration) GetAwsRegion

func (x *Configuration) GetAwsRegion() string

func (*Configuration) GetConfiguration

func (x *Configuration) GetConfiguration() string

func (*Configuration) GetConfigurationItemCaptureTime

func (x *Configuration) GetConfigurationItemCaptureTime() int64

func (*Configuration) GetConfigurationItemMD5Hash

func (x *Configuration) GetConfigurationItemMD5Hash() string

func (*Configuration) GetConfigurationItemStatus

func (x *Configuration) GetConfigurationItemStatus() string

func (*Configuration) GetConfigurationStateId

func (x *Configuration) GetConfigurationStateId() string

func (*Configuration) GetRelatedEvents

func (x *Configuration) GetRelatedEvents() []string

func (*Configuration) GetRelationships

func (x *Configuration) GetRelationships() []*Resource

func (*Configuration) GetResourceCreationTime

func (x *Configuration) GetResourceCreationTime() int64

func (*Configuration) GetResourceId

func (x *Configuration) GetResourceId() string

func (*Configuration) GetResourceName

func (x *Configuration) GetResourceName() string

func (*Configuration) GetResourceType

func (x *Configuration) GetResourceType() string

func (*Configuration) GetSupplementaryConfiguration

func (x *Configuration) GetSupplementaryConfiguration() []*SupplementaryConfiguration

func (*Configuration) GetTags

func (x *Configuration) GetTags() []*Tag

func (*Configuration) GetVersion

func (x *Configuration) GetVersion() string

func (*Configuration) ProtoMessage

func (*Configuration) ProtoMessage()

func (*Configuration) ProtoReflect

func (x *Configuration) ProtoReflect() protoreflect.Message

func (*Configuration) Reset

func (x *Configuration) Reset()

func (*Configuration) String

func (x *Configuration) String() string

func (*Configuration) Validate

func (m *Configuration) Validate() error

Validate checks the field values on Configuration with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ConfigurationValidationError

type ConfigurationValidationError struct {
	// contains filtered or unexported fields
}

ConfigurationValidationError is the validation error returned by Configuration.Validate if the designated constraints aren't met.

func (ConfigurationValidationError) Cause

Cause function returns cause value.

func (ConfigurationValidationError) Error

Error satisfies the builtin error interface

func (ConfigurationValidationError) ErrorName

func (e ConfigurationValidationError) ErrorName() string

ErrorName returns error name.

func (ConfigurationValidationError) Field

Field function returns field value.

func (ConfigurationValidationError) Key

Key function returns key value.

func (ConfigurationValidationError) Reason

Reason function returns reason value.

type DescribeARNRequest

type DescribeARNRequest struct {
	Arn string `protobuf:"bytes,1,opt,name=arn,proto3" json:"arn,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeARNRequest) Descriptor deprecated

func (*DescribeARNRequest) Descriptor() ([]byte, []int)

Deprecated: Use DescribeARNRequest.ProtoReflect.Descriptor instead.

func (*DescribeARNRequest) GetArn

func (x *DescribeARNRequest) GetArn() string

func (*DescribeARNRequest) ProtoMessage

func (*DescribeARNRequest) ProtoMessage()

func (*DescribeARNRequest) ProtoReflect

func (x *DescribeARNRequest) ProtoReflect() protoreflect.Message

func (*DescribeARNRequest) Reset

func (x *DescribeARNRequest) Reset()

func (*DescribeARNRequest) String

func (x *DescribeARNRequest) String() string

func (*DescribeARNRequest) Validate

func (m *DescribeARNRequest) Validate() error

Validate checks the field values on DescribeARNRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DescribeARNRequestValidationError

type DescribeARNRequestValidationError struct {
	// contains filtered or unexported fields
}

DescribeARNRequestValidationError is the validation error returned by DescribeARNRequest.Validate if the designated constraints aren't met.

func (DescribeARNRequestValidationError) Cause

Cause function returns cause value.

func (DescribeARNRequestValidationError) Error

Error satisfies the builtin error interface

func (DescribeARNRequestValidationError) ErrorName

ErrorName returns error name.

func (DescribeARNRequestValidationError) Field

Field function returns field value.

func (DescribeARNRequestValidationError) Key

Key function returns key value.

func (DescribeARNRequestValidationError) Reason

Reason function returns reason value.

type DescribeARNResponse

type DescribeARNResponse struct {
	Arn *ARN `protobuf:"bytes,1,opt,name=arn,proto3" json:"arn,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeARNResponse) Descriptor deprecated

func (*DescribeARNResponse) Descriptor() ([]byte, []int)

Deprecated: Use DescribeARNResponse.ProtoReflect.Descriptor instead.

func (*DescribeARNResponse) GetArn

func (x *DescribeARNResponse) GetArn() *ARN

func (*DescribeARNResponse) ProtoMessage

func (*DescribeARNResponse) ProtoMessage()

func (*DescribeARNResponse) ProtoReflect

func (x *DescribeARNResponse) ProtoReflect() protoreflect.Message

func (*DescribeARNResponse) Reset

func (x *DescribeARNResponse) Reset()

func (*DescribeARNResponse) String

func (x *DescribeARNResponse) String() string

func (*DescribeARNResponse) Validate

func (m *DescribeARNResponse) Validate() error

Validate checks the field values on DescribeARNResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DescribeARNResponseValidationError

type DescribeARNResponseValidationError struct {
	// contains filtered or unexported fields
}

DescribeARNResponseValidationError is the validation error returned by DescribeARNResponse.Validate if the designated constraints aren't met.

func (DescribeARNResponseValidationError) Cause

Cause function returns cause value.

func (DescribeARNResponseValidationError) Error

Error satisfies the builtin error interface

func (DescribeARNResponseValidationError) ErrorName

ErrorName returns error name.

func (DescribeARNResponseValidationError) Field

Field function returns field value.

func (DescribeARNResponseValidationError) Key

Key function returns key value.

func (DescribeARNResponseValidationError) Reason

Reason function returns reason value.

type ListCloudTrailRequest

type ListCloudTrailRequest struct {
	ProjectId      uint32       `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	AwsId          uint32       `protobuf:"varint,2,opt,name=aws_id,json=awsId,proto3" json:"aws_id,omitempty"`
	Region         string       `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
	StartTime      int64        `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime        int64        `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	AttributeKey   AttributeKey `` /* 129-byte string literal not displayed */
	AttributeValue string       `protobuf:"bytes,7,opt,name=attribute_value,json=attributeValue,proto3" json:"attribute_value,omitempty"`
	NextToken      string       `protobuf:"bytes,8,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCloudTrailRequest) Descriptor deprecated

func (*ListCloudTrailRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListCloudTrailRequest.ProtoReflect.Descriptor instead.

func (*ListCloudTrailRequest) GetAttributeKey

func (x *ListCloudTrailRequest) GetAttributeKey() AttributeKey

func (*ListCloudTrailRequest) GetAttributeValue

func (x *ListCloudTrailRequest) GetAttributeValue() string

func (*ListCloudTrailRequest) GetAwsId

func (x *ListCloudTrailRequest) GetAwsId() uint32

func (*ListCloudTrailRequest) GetEndTime

func (x *ListCloudTrailRequest) GetEndTime() int64

func (*ListCloudTrailRequest) GetNextToken

func (x *ListCloudTrailRequest) GetNextToken() string

func (*ListCloudTrailRequest) GetProjectId

func (x *ListCloudTrailRequest) GetProjectId() uint32

func (*ListCloudTrailRequest) GetRegion

func (x *ListCloudTrailRequest) GetRegion() string

func (*ListCloudTrailRequest) GetStartTime

func (x *ListCloudTrailRequest) GetStartTime() int64

func (*ListCloudTrailRequest) ProtoMessage

func (*ListCloudTrailRequest) ProtoMessage()

func (*ListCloudTrailRequest) ProtoReflect

func (x *ListCloudTrailRequest) ProtoReflect() protoreflect.Message

func (*ListCloudTrailRequest) Reset

func (x *ListCloudTrailRequest) Reset()

func (*ListCloudTrailRequest) String

func (x *ListCloudTrailRequest) String() string

func (*ListCloudTrailRequest) Validate

func (m *ListCloudTrailRequest) Validate() error

Validate checks the field values on ListCloudTrailRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListCloudTrailRequestValidationError

type ListCloudTrailRequestValidationError struct {
	// contains filtered or unexported fields
}

ListCloudTrailRequestValidationError is the validation error returned by ListCloudTrailRequest.Validate if the designated constraints aren't met.

func (ListCloudTrailRequestValidationError) Cause

Cause function returns cause value.

func (ListCloudTrailRequestValidationError) Error

Error satisfies the builtin error interface

func (ListCloudTrailRequestValidationError) ErrorName

ErrorName returns error name.

func (ListCloudTrailRequestValidationError) Field

Field function returns field value.

func (ListCloudTrailRequestValidationError) Key

Key function returns key value.

func (ListCloudTrailRequestValidationError) Reason

Reason function returns reason value.

type ListCloudTrailResponse

type ListCloudTrailResponse struct {
	Cloudtrail []*CloudTrail `protobuf:"bytes,1,rep,name=cloudtrail,proto3" json:"cloudtrail,omitempty"`
	NextToken  string        `protobuf:"bytes,2,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCloudTrailResponse) Descriptor deprecated

func (*ListCloudTrailResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListCloudTrailResponse.ProtoReflect.Descriptor instead.

func (*ListCloudTrailResponse) GetCloudtrail

func (x *ListCloudTrailResponse) GetCloudtrail() []*CloudTrail

func (*ListCloudTrailResponse) GetNextToken

func (x *ListCloudTrailResponse) GetNextToken() string

func (*ListCloudTrailResponse) ProtoMessage

func (*ListCloudTrailResponse) ProtoMessage()

func (*ListCloudTrailResponse) ProtoReflect

func (x *ListCloudTrailResponse) ProtoReflect() protoreflect.Message

func (*ListCloudTrailResponse) Reset

func (x *ListCloudTrailResponse) Reset()

func (*ListCloudTrailResponse) String

func (x *ListCloudTrailResponse) String() string

func (*ListCloudTrailResponse) Validate

func (m *ListCloudTrailResponse) Validate() error

Validate checks the field values on ListCloudTrailResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListCloudTrailResponseValidationError

type ListCloudTrailResponseValidationError struct {
	// contains filtered or unexported fields
}

ListCloudTrailResponseValidationError is the validation error returned by ListCloudTrailResponse.Validate if the designated constraints aren't met.

func (ListCloudTrailResponseValidationError) Cause

Cause function returns cause value.

func (ListCloudTrailResponseValidationError) Error

Error satisfies the builtin error interface

func (ListCloudTrailResponseValidationError) ErrorName

ErrorName returns error name.

func (ListCloudTrailResponseValidationError) Field

Field function returns field value.

func (ListCloudTrailResponseValidationError) Key

Key function returns key value.

func (ListCloudTrailResponseValidationError) Reason

Reason function returns reason value.

type ListConfigHistoryRequest

type ListConfigHistoryRequest struct {
	ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	AwsId     uint32 `protobuf:"varint,2,opt,name=aws_id,json=awsId,proto3" json:"aws_id,omitempty"`
	Region    string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
	// https://docs.aws.amazon.com/cli/latest/reference/configservice/get-resource-config-history.html#options
	ResourceType       string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	ResourceId         string `protobuf:"bytes,5,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	LaterTime          int64  `protobuf:"varint,6,opt,name=later_time,json=laterTime,proto3" json:"later_time,omitempty"`
	EarlierTime        int64  `protobuf:"varint,7,opt,name=earlier_time,json=earlierTime,proto3" json:"earlier_time,omitempty"`
	ChronologicalOrder string `protobuf:"bytes,8,opt,name=chronological_order,json=chronologicalOrder,proto3" json:"chronological_order,omitempty"` // default: Reverse
	StartingToken      string `protobuf:"bytes,9,opt,name=starting_token,json=startingToken,proto3" json:"starting_token,omitempty"`                // A token to specify where to start paginating.
	// contains filtered or unexported fields
}

func (*ListConfigHistoryRequest) Descriptor deprecated

func (*ListConfigHistoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListConfigHistoryRequest.ProtoReflect.Descriptor instead.

func (*ListConfigHistoryRequest) GetAwsId

func (x *ListConfigHistoryRequest) GetAwsId() uint32

func (*ListConfigHistoryRequest) GetChronologicalOrder

func (x *ListConfigHistoryRequest) GetChronologicalOrder() string

func (*ListConfigHistoryRequest) GetEarlierTime

func (x *ListConfigHistoryRequest) GetEarlierTime() int64

func (*ListConfigHistoryRequest) GetLaterTime

func (x *ListConfigHistoryRequest) GetLaterTime() int64

func (*ListConfigHistoryRequest) GetProjectId

func (x *ListConfigHistoryRequest) GetProjectId() uint32

func (*ListConfigHistoryRequest) GetRegion

func (x *ListConfigHistoryRequest) GetRegion() string

func (*ListConfigHistoryRequest) GetResourceId

func (x *ListConfigHistoryRequest) GetResourceId() string

func (*ListConfigHistoryRequest) GetResourceType

func (x *ListConfigHistoryRequest) GetResourceType() string

func (*ListConfigHistoryRequest) GetStartingToken

func (x *ListConfigHistoryRequest) GetStartingToken() string

func (*ListConfigHistoryRequest) ProtoMessage

func (*ListConfigHistoryRequest) ProtoMessage()

func (*ListConfigHistoryRequest) ProtoReflect

func (x *ListConfigHistoryRequest) ProtoReflect() protoreflect.Message

func (*ListConfigHistoryRequest) Reset

func (x *ListConfigHistoryRequest) Reset()

func (*ListConfigHistoryRequest) String

func (x *ListConfigHistoryRequest) String() string

func (*ListConfigHistoryRequest) Validate

func (m *ListConfigHistoryRequest) Validate() error

Validate checks the field values on ListConfigHistoryRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListConfigHistoryRequestValidationError

type ListConfigHistoryRequestValidationError struct {
	// contains filtered or unexported fields
}

ListConfigHistoryRequestValidationError is the validation error returned by ListConfigHistoryRequest.Validate if the designated constraints aren't met.

func (ListConfigHistoryRequestValidationError) Cause

Cause function returns cause value.

func (ListConfigHistoryRequestValidationError) Error

Error satisfies the builtin error interface

func (ListConfigHistoryRequestValidationError) ErrorName

ErrorName returns error name.

func (ListConfigHistoryRequestValidationError) Field

Field function returns field value.

func (ListConfigHistoryRequestValidationError) Key

Key function returns key value.

func (ListConfigHistoryRequestValidationError) Reason

Reason function returns reason value.

type ListConfigHistoryResponse

type ListConfigHistoryResponse struct {
	Configuration []*Configuration `protobuf:"bytes,1,rep,name=configuration,proto3" json:"configuration,omitempty"`
	NextToken     string           `protobuf:"bytes,2,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListConfigHistoryResponse) Descriptor deprecated

func (*ListConfigHistoryResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListConfigHistoryResponse.ProtoReflect.Descriptor instead.

func (*ListConfigHistoryResponse) GetConfiguration

func (x *ListConfigHistoryResponse) GetConfiguration() []*Configuration

func (*ListConfigHistoryResponse) GetNextToken

func (x *ListConfigHistoryResponse) GetNextToken() string

func (*ListConfigHistoryResponse) ProtoMessage

func (*ListConfigHistoryResponse) ProtoMessage()

func (*ListConfigHistoryResponse) ProtoReflect

func (*ListConfigHistoryResponse) Reset

func (x *ListConfigHistoryResponse) Reset()

func (*ListConfigHistoryResponse) String

func (x *ListConfigHistoryResponse) String() string

func (*ListConfigHistoryResponse) Validate

func (m *ListConfigHistoryResponse) Validate() error

Validate checks the field values on ListConfigHistoryResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListConfigHistoryResponseValidationError

type ListConfigHistoryResponseValidationError struct {
	// contains filtered or unexported fields
}

ListConfigHistoryResponseValidationError is the validation error returned by ListConfigHistoryResponse.Validate if the designated constraints aren't met.

func (ListConfigHistoryResponseValidationError) Cause

Cause function returns cause value.

func (ListConfigHistoryResponseValidationError) Error

Error satisfies the builtin error interface

func (ListConfigHistoryResponseValidationError) ErrorName

ErrorName returns error name.

func (ListConfigHistoryResponseValidationError) Field

Field function returns field value.

func (ListConfigHistoryResponseValidationError) Key

Key function returns key value.

func (ListConfigHistoryResponseValidationError) Reason

Reason function returns reason value.

type Resource

type Resource struct {
	ResourceType     string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	ResourceName     string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	ResourceId       string `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	RelationshipName string `protobuf:"bytes,4,opt,name=relationship_name,json=relationshipName,proto3" json:"relationship_name,omitempty"`
	// contains filtered or unexported fields
}

func (*Resource) Descriptor deprecated

func (*Resource) Descriptor() ([]byte, []int)

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetRelationshipName

func (x *Resource) GetRelationshipName() string

func (*Resource) GetResourceId

func (x *Resource) GetResourceId() string

func (*Resource) GetResourceName

func (x *Resource) GetResourceName() string

func (*Resource) GetResourceType

func (x *Resource) GetResourceType() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

func (x *Resource) ProtoReflect() protoreflect.Message

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

func (*Resource) Validate

func (m *Resource) Validate() error

Validate checks the field values on Resource with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ResourceValidationError

type ResourceValidationError struct {
	// contains filtered or unexported fields
}

ResourceValidationError is the validation error returned by Resource.Validate if the designated constraints aren't met.

func (ResourceValidationError) Cause

func (e ResourceValidationError) Cause() error

Cause function returns cause value.

func (ResourceValidationError) Error

func (e ResourceValidationError) Error() string

Error satisfies the builtin error interface

func (ResourceValidationError) ErrorName

func (e ResourceValidationError) ErrorName() string

ErrorName returns error name.

func (ResourceValidationError) Field

func (e ResourceValidationError) Field() string

Field function returns field value.

func (ResourceValidationError) Key

func (e ResourceValidationError) Key() bool

Key function returns key value.

func (ResourceValidationError) Reason

func (e ResourceValidationError) Reason() string

Reason function returns reason value.

type SupplementaryConfiguration

type SupplementaryConfiguration struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SupplementaryConfiguration) Descriptor deprecated

func (*SupplementaryConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use SupplementaryConfiguration.ProtoReflect.Descriptor instead.

func (*SupplementaryConfiguration) GetKey

func (x *SupplementaryConfiguration) GetKey() string

func (*SupplementaryConfiguration) GetValue

func (x *SupplementaryConfiguration) GetValue() string

func (*SupplementaryConfiguration) ProtoMessage

func (*SupplementaryConfiguration) ProtoMessage()

func (*SupplementaryConfiguration) ProtoReflect

func (*SupplementaryConfiguration) Reset

func (x *SupplementaryConfiguration) Reset()

func (*SupplementaryConfiguration) String

func (x *SupplementaryConfiguration) String() string

func (*SupplementaryConfiguration) Validate

func (m *SupplementaryConfiguration) Validate() error

Validate checks the field values on SupplementaryConfiguration with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SupplementaryConfigurationValidationError

type SupplementaryConfigurationValidationError struct {
	// contains filtered or unexported fields
}

SupplementaryConfigurationValidationError is the validation error returned by SupplementaryConfiguration.Validate if the designated constraints aren't met.

func (SupplementaryConfigurationValidationError) Cause

Cause function returns cause value.

func (SupplementaryConfigurationValidationError) Error

Error satisfies the builtin error interface

func (SupplementaryConfigurationValidationError) ErrorName

ErrorName returns error name.

func (SupplementaryConfigurationValidationError) Field

Field function returns field value.

func (SupplementaryConfigurationValidationError) Key

Key function returns key value.

func (SupplementaryConfigurationValidationError) Reason

Reason function returns reason value.

type Tag

type Tag struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Tag) Descriptor deprecated

func (*Tag) Descriptor() ([]byte, []int)

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetKey

func (x *Tag) GetKey() string

func (*Tag) GetValue

func (x *Tag) GetValue() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

func (x *Tag) ProtoReflect() protoreflect.Message

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

func (*Tag) Validate

func (m *Tag) Validate() error

Validate checks the field values on Tag with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type TagValidationError

type TagValidationError struct {
	// contains filtered or unexported fields
}

TagValidationError is the validation error returned by Tag.Validate if the designated constraints aren't met.

func (TagValidationError) Cause

func (e TagValidationError) Cause() error

Cause function returns cause value.

func (TagValidationError) Error

func (e TagValidationError) Error() string

Error satisfies the builtin error interface

func (TagValidationError) ErrorName

func (e TagValidationError) ErrorName() string

ErrorName returns error name.

func (TagValidationError) Field

func (e TagValidationError) Field() string

Field function returns field value.

func (TagValidationError) Key

func (e TagValidationError) Key() bool

Key function returns key value.

func (TagValidationError) Reason

func (e TagValidationError) Reason() string

Reason function returns reason value.

type UnimplementedActivityServiceServer

type UnimplementedActivityServiceServer struct {
}

UnimplementedActivityServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedActivityServiceServer) DescribeARN

func (*UnimplementedActivityServiceServer) ListCloudTrail

func (*UnimplementedActivityServiceServer) ListConfigHistory

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL