Documentation ¶
Overview ¶
Package cloudtrail provides the client and types for making API requests to AWS CloudTrail.
This is the CloudTrail API Reference. It provides descriptions of actions, data types, common parameters, and common errors for CloudTrail.
CloudTrail is a web service that records Amazon Web Services API calls for your Amazon Web Services account and delivers log files to an Amazon S3 bucket. The recorded information includes the identity of the user, the start time of the Amazon Web Services API call, the source IP address, the request parameters, and the response elements returned by the service.
As an alternative to the API, you can use one of the Amazon Web Services SDKs, which consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .NET, iOS, Android, etc.). The SDKs provide programmatic access to CloudTrail. For example, the SDKs handle cryptographically signing requests, managing errors, and retrying requests automatically. For more information about the Amazon Web Services SDKs, including how to download and install them, see Tools to Build on Amazon Web Services (http://aws.amazon.com/tools/).
See the CloudTrail User Guide (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-user-guide.html) for information about the data that is included with each Amazon Web Services API call listed in the log files.
See https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01 for more information on this service.
See cloudtrail package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/cloudtrail/
Using the Client ¶
To contact AWS CloudTrail with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS CloudTrail client CloudTrail for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/cloudtrail/#New
Index ¶
- Constants
- func DeliveryStatus_Values() []string
- func DestinationType_Values() []string
- func EventCategory_Values() []string
- func EventDataStoreStatus_Values() []string
- func ImportFailureStatus_Values() []string
- func ImportStatus_Values() []string
- func InsightType_Values() []string
- func LookupAttributeKey_Values() []string
- func QueryStatus_Values() []string
- func ReadWriteType_Values() []string
- type ARNInvalidException
- func (s *ARNInvalidException) Code() string
- func (s *ARNInvalidException) Error() string
- func (s ARNInvalidException) GoString() string
- func (s *ARNInvalidException) Message() string
- func (s *ARNInvalidException) OrigErr() error
- func (s *ARNInvalidException) RequestID() string
- func (s *ARNInvalidException) StatusCode() int
- func (s ARNInvalidException) String() string
- type AccessNotEnabledException
- func (s *AccessNotEnabledException) Code() string
- func (s *AccessNotEnabledException) Error() string
- func (s AccessNotEnabledException) GoString() string
- func (s *AccessNotEnabledException) Message() string
- func (s *AccessNotEnabledException) OrigErr() error
- func (s *AccessNotEnabledException) RequestID() string
- func (s *AccessNotEnabledException) StatusCode() int
- func (s AccessNotEnabledException) String() string
- type AccountHasOngoingImportException
- func (s *AccountHasOngoingImportException) Code() string
- func (s *AccountHasOngoingImportException) Error() string
- func (s AccountHasOngoingImportException) GoString() string
- func (s *AccountHasOngoingImportException) Message() string
- func (s *AccountHasOngoingImportException) OrigErr() error
- func (s *AccountHasOngoingImportException) RequestID() string
- func (s *AccountHasOngoingImportException) StatusCode() int
- func (s AccountHasOngoingImportException) String() string
- type AccountNotFoundException
- func (s *AccountNotFoundException) Code() string
- func (s *AccountNotFoundException) Error() string
- func (s AccountNotFoundException) GoString() string
- func (s *AccountNotFoundException) Message() string
- func (s *AccountNotFoundException) OrigErr() error
- func (s *AccountNotFoundException) RequestID() string
- func (s *AccountNotFoundException) StatusCode() int
- func (s AccountNotFoundException) String() string
- type AccountNotRegisteredException
- func (s *AccountNotRegisteredException) Code() string
- func (s *AccountNotRegisteredException) Error() string
- func (s AccountNotRegisteredException) GoString() string
- func (s *AccountNotRegisteredException) Message() string
- func (s *AccountNotRegisteredException) OrigErr() error
- func (s *AccountNotRegisteredException) RequestID() string
- func (s *AccountNotRegisteredException) StatusCode() int
- func (s AccountNotRegisteredException) String() string
- type AccountRegisteredException
- func (s *AccountRegisteredException) Code() string
- func (s *AccountRegisteredException) Error() string
- func (s AccountRegisteredException) GoString() string
- func (s *AccountRegisteredException) Message() string
- func (s *AccountRegisteredException) OrigErr() error
- func (s *AccountRegisteredException) RequestID() string
- func (s *AccountRegisteredException) StatusCode() int
- func (s AccountRegisteredException) String() string
- type AddTagsInput
- type AddTagsOutput
- type AdvancedEventSelector
- func (s AdvancedEventSelector) GoString() string
- func (s *AdvancedEventSelector) SetFieldSelectors(v []*AdvancedFieldSelector) *AdvancedEventSelector
- func (s *AdvancedEventSelector) SetName(v string) *AdvancedEventSelector
- func (s AdvancedEventSelector) String() string
- func (s *AdvancedEventSelector) Validate() error
- type AdvancedFieldSelector
- func (s AdvancedFieldSelector) GoString() string
- func (s *AdvancedFieldSelector) SetEndsWith(v []*string) *AdvancedFieldSelector
- func (s *AdvancedFieldSelector) SetEquals(v []*string) *AdvancedFieldSelector
- func (s *AdvancedFieldSelector) SetField(v string) *AdvancedFieldSelector
- func (s *AdvancedFieldSelector) SetNotEndsWith(v []*string) *AdvancedFieldSelector
- func (s *AdvancedFieldSelector) SetNotEquals(v []*string) *AdvancedFieldSelector
- func (s *AdvancedFieldSelector) SetNotStartsWith(v []*string) *AdvancedFieldSelector
- func (s *AdvancedFieldSelector) SetStartsWith(v []*string) *AdvancedFieldSelector
- func (s AdvancedFieldSelector) String() string
- func (s *AdvancedFieldSelector) Validate() error
- type CancelQueryInput
- type CancelQueryOutput
- type CannotDelegateManagementAccountException
- func (s *CannotDelegateManagementAccountException) Code() string
- func (s *CannotDelegateManagementAccountException) Error() string
- func (s CannotDelegateManagementAccountException) GoString() string
- func (s *CannotDelegateManagementAccountException) Message() string
- func (s *CannotDelegateManagementAccountException) OrigErr() error
- func (s *CannotDelegateManagementAccountException) RequestID() string
- func (s *CannotDelegateManagementAccountException) StatusCode() int
- func (s CannotDelegateManagementAccountException) String() string
- type Channel
- type ChannelARNInvalidException
- func (s *ChannelARNInvalidException) Code() string
- func (s *ChannelARNInvalidException) Error() string
- func (s ChannelARNInvalidException) GoString() string
- func (s *ChannelARNInvalidException) Message() string
- func (s *ChannelARNInvalidException) OrigErr() error
- func (s *ChannelARNInvalidException) RequestID() string
- func (s *ChannelARNInvalidException) StatusCode() int
- func (s ChannelARNInvalidException) String() string
- type ChannelAlreadyExistsException
- func (s *ChannelAlreadyExistsException) Code() string
- func (s *ChannelAlreadyExistsException) Error() string
- func (s ChannelAlreadyExistsException) GoString() string
- func (s *ChannelAlreadyExistsException) Message() string
- func (s *ChannelAlreadyExistsException) OrigErr() error
- func (s *ChannelAlreadyExistsException) RequestID() string
- func (s *ChannelAlreadyExistsException) StatusCode() int
- func (s ChannelAlreadyExistsException) String() string
- type ChannelExistsForEDSException
- func (s *ChannelExistsForEDSException) Code() string
- func (s *ChannelExistsForEDSException) Error() string
- func (s ChannelExistsForEDSException) GoString() string
- func (s *ChannelExistsForEDSException) Message() string
- func (s *ChannelExistsForEDSException) OrigErr() error
- func (s *ChannelExistsForEDSException) RequestID() string
- func (s *ChannelExistsForEDSException) StatusCode() int
- func (s ChannelExistsForEDSException) String() string
- type ChannelMaxLimitExceededException
- func (s *ChannelMaxLimitExceededException) Code() string
- func (s *ChannelMaxLimitExceededException) Error() string
- func (s ChannelMaxLimitExceededException) GoString() string
- func (s *ChannelMaxLimitExceededException) Message() string
- func (s *ChannelMaxLimitExceededException) OrigErr() error
- func (s *ChannelMaxLimitExceededException) RequestID() string
- func (s *ChannelMaxLimitExceededException) StatusCode() int
- func (s ChannelMaxLimitExceededException) String() string
- type ChannelNotFoundException
- func (s *ChannelNotFoundException) Code() string
- func (s *ChannelNotFoundException) Error() string
- func (s ChannelNotFoundException) GoString() string
- func (s *ChannelNotFoundException) Message() string
- func (s *ChannelNotFoundException) OrigErr() error
- func (s *ChannelNotFoundException) RequestID() string
- func (s *ChannelNotFoundException) StatusCode() int
- func (s ChannelNotFoundException) String() string
- type CloudTrail
- func (c *CloudTrail) AddTags(input *AddTagsInput) (*AddTagsOutput, error)
- func (c *CloudTrail) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput)
- func (c *CloudTrail) AddTagsWithContext(ctx aws.Context, input *AddTagsInput, opts ...request.Option) (*AddTagsOutput, error)
- func (c *CloudTrail) CancelQuery(input *CancelQueryInput) (*CancelQueryOutput, error)
- func (c *CloudTrail) CancelQueryRequest(input *CancelQueryInput) (req *request.Request, output *CancelQueryOutput)
- func (c *CloudTrail) CancelQueryWithContext(ctx aws.Context, input *CancelQueryInput, opts ...request.Option) (*CancelQueryOutput, error)
- func (c *CloudTrail) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error)
- func (c *CloudTrail) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput)
- func (c *CloudTrail) CreateChannelWithContext(ctx aws.Context, input *CreateChannelInput, opts ...request.Option) (*CreateChannelOutput, error)
- func (c *CloudTrail) CreateEventDataStore(input *CreateEventDataStoreInput) (*CreateEventDataStoreOutput, error)
- func (c *CloudTrail) CreateEventDataStoreRequest(input *CreateEventDataStoreInput) (req *request.Request, output *CreateEventDataStoreOutput)
- func (c *CloudTrail) CreateEventDataStoreWithContext(ctx aws.Context, input *CreateEventDataStoreInput, opts ...request.Option) (*CreateEventDataStoreOutput, error)
- func (c *CloudTrail) CreateTrail(input *CreateTrailInput) (*CreateTrailOutput, error)
- func (c *CloudTrail) CreateTrailRequest(input *CreateTrailInput) (req *request.Request, output *CreateTrailOutput)
- func (c *CloudTrail) CreateTrailWithContext(ctx aws.Context, input *CreateTrailInput, opts ...request.Option) (*CreateTrailOutput, error)
- func (c *CloudTrail) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error)
- func (c *CloudTrail) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput)
- func (c *CloudTrail) DeleteChannelWithContext(ctx aws.Context, input *DeleteChannelInput, opts ...request.Option) (*DeleteChannelOutput, error)
- func (c *CloudTrail) DeleteEventDataStore(input *DeleteEventDataStoreInput) (*DeleteEventDataStoreOutput, error)
- func (c *CloudTrail) DeleteEventDataStoreRequest(input *DeleteEventDataStoreInput) (req *request.Request, output *DeleteEventDataStoreOutput)
- func (c *CloudTrail) DeleteEventDataStoreWithContext(ctx aws.Context, input *DeleteEventDataStoreInput, opts ...request.Option) (*DeleteEventDataStoreOutput, error)
- func (c *CloudTrail) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error)
- func (c *CloudTrail) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput)
- func (c *CloudTrail) DeleteResourcePolicyWithContext(ctx aws.Context, input *DeleteResourcePolicyInput, opts ...request.Option) (*DeleteResourcePolicyOutput, error)
- func (c *CloudTrail) DeleteTrail(input *DeleteTrailInput) (*DeleteTrailOutput, error)
- func (c *CloudTrail) DeleteTrailRequest(input *DeleteTrailInput) (req *request.Request, output *DeleteTrailOutput)
- func (c *CloudTrail) DeleteTrailWithContext(ctx aws.Context, input *DeleteTrailInput, opts ...request.Option) (*DeleteTrailOutput, error)
- func (c *CloudTrail) DeregisterOrganizationDelegatedAdmin(input *DeregisterOrganizationDelegatedAdminInput) (*DeregisterOrganizationDelegatedAdminOutput, error)
- func (c *CloudTrail) DeregisterOrganizationDelegatedAdminRequest(input *DeregisterOrganizationDelegatedAdminInput) (req *request.Request, output *DeregisterOrganizationDelegatedAdminOutput)
- func (c *CloudTrail) DeregisterOrganizationDelegatedAdminWithContext(ctx aws.Context, input *DeregisterOrganizationDelegatedAdminInput, ...) (*DeregisterOrganizationDelegatedAdminOutput, error)
- func (c *CloudTrail) DescribeQuery(input *DescribeQueryInput) (*DescribeQueryOutput, error)
- func (c *CloudTrail) DescribeQueryRequest(input *DescribeQueryInput) (req *request.Request, output *DescribeQueryOutput)
- func (c *CloudTrail) DescribeQueryWithContext(ctx aws.Context, input *DescribeQueryInput, opts ...request.Option) (*DescribeQueryOutput, error)
- func (c *CloudTrail) DescribeTrails(input *DescribeTrailsInput) (*DescribeTrailsOutput, error)
- func (c *CloudTrail) DescribeTrailsRequest(input *DescribeTrailsInput) (req *request.Request, output *DescribeTrailsOutput)
- func (c *CloudTrail) DescribeTrailsWithContext(ctx aws.Context, input *DescribeTrailsInput, opts ...request.Option) (*DescribeTrailsOutput, error)
- func (c *CloudTrail) GetChannel(input *GetChannelInput) (*GetChannelOutput, error)
- func (c *CloudTrail) GetChannelRequest(input *GetChannelInput) (req *request.Request, output *GetChannelOutput)
- func (c *CloudTrail) GetChannelWithContext(ctx aws.Context, input *GetChannelInput, opts ...request.Option) (*GetChannelOutput, error)
- func (c *CloudTrail) GetEventDataStore(input *GetEventDataStoreInput) (*GetEventDataStoreOutput, error)
- func (c *CloudTrail) GetEventDataStoreRequest(input *GetEventDataStoreInput) (req *request.Request, output *GetEventDataStoreOutput)
- func (c *CloudTrail) GetEventDataStoreWithContext(ctx aws.Context, input *GetEventDataStoreInput, opts ...request.Option) (*GetEventDataStoreOutput, error)
- func (c *CloudTrail) GetEventSelectors(input *GetEventSelectorsInput) (*GetEventSelectorsOutput, error)
- func (c *CloudTrail) GetEventSelectorsRequest(input *GetEventSelectorsInput) (req *request.Request, output *GetEventSelectorsOutput)
- func (c *CloudTrail) GetEventSelectorsWithContext(ctx aws.Context, input *GetEventSelectorsInput, opts ...request.Option) (*GetEventSelectorsOutput, error)
- func (c *CloudTrail) GetImport(input *GetImportInput) (*GetImportOutput, error)
- func (c *CloudTrail) GetImportRequest(input *GetImportInput) (req *request.Request, output *GetImportOutput)
- func (c *CloudTrail) GetImportWithContext(ctx aws.Context, input *GetImportInput, opts ...request.Option) (*GetImportOutput, error)
- func (c *CloudTrail) GetInsightSelectors(input *GetInsightSelectorsInput) (*GetInsightSelectorsOutput, error)
- func (c *CloudTrail) GetInsightSelectorsRequest(input *GetInsightSelectorsInput) (req *request.Request, output *GetInsightSelectorsOutput)
- func (c *CloudTrail) GetInsightSelectorsWithContext(ctx aws.Context, input *GetInsightSelectorsInput, opts ...request.Option) (*GetInsightSelectorsOutput, error)
- func (c *CloudTrail) GetQueryResults(input *GetQueryResultsInput) (*GetQueryResultsOutput, error)
- func (c *CloudTrail) GetQueryResultsPages(input *GetQueryResultsInput, fn func(*GetQueryResultsOutput, bool) bool) error
- func (c *CloudTrail) GetQueryResultsPagesWithContext(ctx aws.Context, input *GetQueryResultsInput, ...) error
- func (c *CloudTrail) GetQueryResultsRequest(input *GetQueryResultsInput) (req *request.Request, output *GetQueryResultsOutput)
- func (c *CloudTrail) GetQueryResultsWithContext(ctx aws.Context, input *GetQueryResultsInput, opts ...request.Option) (*GetQueryResultsOutput, error)
- func (c *CloudTrail) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error)
- func (c *CloudTrail) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput)
- func (c *CloudTrail) GetResourcePolicyWithContext(ctx aws.Context, input *GetResourcePolicyInput, opts ...request.Option) (*GetResourcePolicyOutput, error)
- func (c *CloudTrail) GetTrail(input *GetTrailInput) (*GetTrailOutput, error)
- func (c *CloudTrail) GetTrailRequest(input *GetTrailInput) (req *request.Request, output *GetTrailOutput)
- func (c *CloudTrail) GetTrailStatus(input *GetTrailStatusInput) (*GetTrailStatusOutput, error)
- func (c *CloudTrail) GetTrailStatusRequest(input *GetTrailStatusInput) (req *request.Request, output *GetTrailStatusOutput)
- func (c *CloudTrail) GetTrailStatusWithContext(ctx aws.Context, input *GetTrailStatusInput, opts ...request.Option) (*GetTrailStatusOutput, error)
- func (c *CloudTrail) GetTrailWithContext(ctx aws.Context, input *GetTrailInput, opts ...request.Option) (*GetTrailOutput, error)
- func (c *CloudTrail) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error)
- func (c *CloudTrail) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error
- func (c *CloudTrail) ListChannelsPagesWithContext(ctx aws.Context, input *ListChannelsInput, ...) error
- func (c *CloudTrail) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput)
- func (c *CloudTrail) ListChannelsWithContext(ctx aws.Context, input *ListChannelsInput, opts ...request.Option) (*ListChannelsOutput, error)
- func (c *CloudTrail) ListEventDataStores(input *ListEventDataStoresInput) (*ListEventDataStoresOutput, error)
- func (c *CloudTrail) ListEventDataStoresPages(input *ListEventDataStoresInput, ...) error
- func (c *CloudTrail) ListEventDataStoresPagesWithContext(ctx aws.Context, input *ListEventDataStoresInput, ...) error
- func (c *CloudTrail) ListEventDataStoresRequest(input *ListEventDataStoresInput) (req *request.Request, output *ListEventDataStoresOutput)
- func (c *CloudTrail) ListEventDataStoresWithContext(ctx aws.Context, input *ListEventDataStoresInput, opts ...request.Option) (*ListEventDataStoresOutput, error)
- func (c *CloudTrail) ListImportFailures(input *ListImportFailuresInput) (*ListImportFailuresOutput, error)
- func (c *CloudTrail) ListImportFailuresPages(input *ListImportFailuresInput, fn func(*ListImportFailuresOutput, bool) bool) error
- func (c *CloudTrail) ListImportFailuresPagesWithContext(ctx aws.Context, input *ListImportFailuresInput, ...) error
- func (c *CloudTrail) ListImportFailuresRequest(input *ListImportFailuresInput) (req *request.Request, output *ListImportFailuresOutput)
- func (c *CloudTrail) ListImportFailuresWithContext(ctx aws.Context, input *ListImportFailuresInput, opts ...request.Option) (*ListImportFailuresOutput, error)
- func (c *CloudTrail) ListImports(input *ListImportsInput) (*ListImportsOutput, error)
- func (c *CloudTrail) ListImportsPages(input *ListImportsInput, fn func(*ListImportsOutput, bool) bool) error
- func (c *CloudTrail) ListImportsPagesWithContext(ctx aws.Context, input *ListImportsInput, ...) error
- func (c *CloudTrail) ListImportsRequest(input *ListImportsInput) (req *request.Request, output *ListImportsOutput)
- func (c *CloudTrail) ListImportsWithContext(ctx aws.Context, input *ListImportsInput, opts ...request.Option) (*ListImportsOutput, error)
- func (c *CloudTrail) ListPublicKeys(input *ListPublicKeysInput) (*ListPublicKeysOutput, error)
- func (c *CloudTrail) ListPublicKeysPages(input *ListPublicKeysInput, fn func(*ListPublicKeysOutput, bool) bool) error
- func (c *CloudTrail) ListPublicKeysPagesWithContext(ctx aws.Context, input *ListPublicKeysInput, ...) error
- func (c *CloudTrail) ListPublicKeysRequest(input *ListPublicKeysInput) (req *request.Request, output *ListPublicKeysOutput)
- func (c *CloudTrail) ListPublicKeysWithContext(ctx aws.Context, input *ListPublicKeysInput, opts ...request.Option) (*ListPublicKeysOutput, error)
- func (c *CloudTrail) ListQueries(input *ListQueriesInput) (*ListQueriesOutput, error)
- func (c *CloudTrail) ListQueriesPages(input *ListQueriesInput, fn func(*ListQueriesOutput, bool) bool) error
- func (c *CloudTrail) ListQueriesPagesWithContext(ctx aws.Context, input *ListQueriesInput, ...) error
- func (c *CloudTrail) ListQueriesRequest(input *ListQueriesInput) (req *request.Request, output *ListQueriesOutput)
- func (c *CloudTrail) ListQueriesWithContext(ctx aws.Context, input *ListQueriesInput, opts ...request.Option) (*ListQueriesOutput, error)
- func (c *CloudTrail) ListTags(input *ListTagsInput) (*ListTagsOutput, error)
- func (c *CloudTrail) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error
- func (c *CloudTrail) ListTagsPagesWithContext(ctx aws.Context, input *ListTagsInput, fn func(*ListTagsOutput, bool) bool, ...) error
- func (c *CloudTrail) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput)
- func (c *CloudTrail) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts ...request.Option) (*ListTagsOutput, error)
- func (c *CloudTrail) ListTrails(input *ListTrailsInput) (*ListTrailsOutput, error)
- func (c *CloudTrail) ListTrailsPages(input *ListTrailsInput, fn func(*ListTrailsOutput, bool) bool) error
- func (c *CloudTrail) ListTrailsPagesWithContext(ctx aws.Context, input *ListTrailsInput, fn func(*ListTrailsOutput, bool) bool, ...) error
- func (c *CloudTrail) ListTrailsRequest(input *ListTrailsInput) (req *request.Request, output *ListTrailsOutput)
- func (c *CloudTrail) ListTrailsWithContext(ctx aws.Context, input *ListTrailsInput, opts ...request.Option) (*ListTrailsOutput, error)
- func (c *CloudTrail) LookupEvents(input *LookupEventsInput) (*LookupEventsOutput, error)
- func (c *CloudTrail) LookupEventsPages(input *LookupEventsInput, fn func(*LookupEventsOutput, bool) bool) error
- func (c *CloudTrail) LookupEventsPagesWithContext(ctx aws.Context, input *LookupEventsInput, ...) error
- func (c *CloudTrail) LookupEventsRequest(input *LookupEventsInput) (req *request.Request, output *LookupEventsOutput)
- func (c *CloudTrail) LookupEventsWithContext(ctx aws.Context, input *LookupEventsInput, opts ...request.Option) (*LookupEventsOutput, error)
- func (c *CloudTrail) PutEventSelectors(input *PutEventSelectorsInput) (*PutEventSelectorsOutput, error)
- func (c *CloudTrail) PutEventSelectorsRequest(input *PutEventSelectorsInput) (req *request.Request, output *PutEventSelectorsOutput)
- func (c *CloudTrail) PutEventSelectorsWithContext(ctx aws.Context, input *PutEventSelectorsInput, opts ...request.Option) (*PutEventSelectorsOutput, error)
- func (c *CloudTrail) PutInsightSelectors(input *PutInsightSelectorsInput) (*PutInsightSelectorsOutput, error)
- func (c *CloudTrail) PutInsightSelectorsRequest(input *PutInsightSelectorsInput) (req *request.Request, output *PutInsightSelectorsOutput)
- func (c *CloudTrail) PutInsightSelectorsWithContext(ctx aws.Context, input *PutInsightSelectorsInput, opts ...request.Option) (*PutInsightSelectorsOutput, error)
- func (c *CloudTrail) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error)
- func (c *CloudTrail) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput)
- func (c *CloudTrail) PutResourcePolicyWithContext(ctx aws.Context, input *PutResourcePolicyInput, opts ...request.Option) (*PutResourcePolicyOutput, error)
- func (c *CloudTrail) RegisterOrganizationDelegatedAdmin(input *RegisterOrganizationDelegatedAdminInput) (*RegisterOrganizationDelegatedAdminOutput, error)
- func (c *CloudTrail) RegisterOrganizationDelegatedAdminRequest(input *RegisterOrganizationDelegatedAdminInput) (req *request.Request, output *RegisterOrganizationDelegatedAdminOutput)
- func (c *CloudTrail) RegisterOrganizationDelegatedAdminWithContext(ctx aws.Context, input *RegisterOrganizationDelegatedAdminInput, ...) (*RegisterOrganizationDelegatedAdminOutput, error)
- func (c *CloudTrail) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error)
- func (c *CloudTrail) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput)
- func (c *CloudTrail) RemoveTagsWithContext(ctx aws.Context, input *RemoveTagsInput, opts ...request.Option) (*RemoveTagsOutput, error)
- func (c *CloudTrail) RestoreEventDataStore(input *RestoreEventDataStoreInput) (*RestoreEventDataStoreOutput, error)
- func (c *CloudTrail) RestoreEventDataStoreRequest(input *RestoreEventDataStoreInput) (req *request.Request, output *RestoreEventDataStoreOutput)
- func (c *CloudTrail) RestoreEventDataStoreWithContext(ctx aws.Context, input *RestoreEventDataStoreInput, opts ...request.Option) (*RestoreEventDataStoreOutput, error)
- func (c *CloudTrail) StartEventDataStoreIngestion(input *StartEventDataStoreIngestionInput) (*StartEventDataStoreIngestionOutput, error)
- func (c *CloudTrail) StartEventDataStoreIngestionRequest(input *StartEventDataStoreIngestionInput) (req *request.Request, output *StartEventDataStoreIngestionOutput)
- func (c *CloudTrail) StartEventDataStoreIngestionWithContext(ctx aws.Context, input *StartEventDataStoreIngestionInput, ...) (*StartEventDataStoreIngestionOutput, error)
- func (c *CloudTrail) StartImport(input *StartImportInput) (*StartImportOutput, error)
- func (c *CloudTrail) StartImportRequest(input *StartImportInput) (req *request.Request, output *StartImportOutput)
- func (c *CloudTrail) StartImportWithContext(ctx aws.Context, input *StartImportInput, opts ...request.Option) (*StartImportOutput, error)
- func (c *CloudTrail) StartLogging(input *StartLoggingInput) (*StartLoggingOutput, error)
- func (c *CloudTrail) StartLoggingRequest(input *StartLoggingInput) (req *request.Request, output *StartLoggingOutput)
- func (c *CloudTrail) StartLoggingWithContext(ctx aws.Context, input *StartLoggingInput, opts ...request.Option) (*StartLoggingOutput, error)
- func (c *CloudTrail) StartQuery(input *StartQueryInput) (*StartQueryOutput, error)
- func (c *CloudTrail) StartQueryRequest(input *StartQueryInput) (req *request.Request, output *StartQueryOutput)
- func (c *CloudTrail) StartQueryWithContext(ctx aws.Context, input *StartQueryInput, opts ...request.Option) (*StartQueryOutput, error)
- func (c *CloudTrail) StopEventDataStoreIngestion(input *StopEventDataStoreIngestionInput) (*StopEventDataStoreIngestionOutput, error)
- func (c *CloudTrail) StopEventDataStoreIngestionRequest(input *StopEventDataStoreIngestionInput) (req *request.Request, output *StopEventDataStoreIngestionOutput)
- func (c *CloudTrail) StopEventDataStoreIngestionWithContext(ctx aws.Context, input *StopEventDataStoreIngestionInput, ...) (*StopEventDataStoreIngestionOutput, error)
- func (c *CloudTrail) StopImport(input *StopImportInput) (*StopImportOutput, error)
- func (c *CloudTrail) StopImportRequest(input *StopImportInput) (req *request.Request, output *StopImportOutput)
- func (c *CloudTrail) StopImportWithContext(ctx aws.Context, input *StopImportInput, opts ...request.Option) (*StopImportOutput, error)
- func (c *CloudTrail) StopLogging(input *StopLoggingInput) (*StopLoggingOutput, error)
- func (c *CloudTrail) StopLoggingRequest(input *StopLoggingInput) (req *request.Request, output *StopLoggingOutput)
- func (c *CloudTrail) StopLoggingWithContext(ctx aws.Context, input *StopLoggingInput, opts ...request.Option) (*StopLoggingOutput, error)
- func (c *CloudTrail) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error)
- func (c *CloudTrail) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput)
- func (c *CloudTrail) UpdateChannelWithContext(ctx aws.Context, input *UpdateChannelInput, opts ...request.Option) (*UpdateChannelOutput, error)
- func (c *CloudTrail) UpdateEventDataStore(input *UpdateEventDataStoreInput) (*UpdateEventDataStoreOutput, error)
- func (c *CloudTrail) UpdateEventDataStoreRequest(input *UpdateEventDataStoreInput) (req *request.Request, output *UpdateEventDataStoreOutput)
- func (c *CloudTrail) UpdateEventDataStoreWithContext(ctx aws.Context, input *UpdateEventDataStoreInput, opts ...request.Option) (*UpdateEventDataStoreOutput, error)
- func (c *CloudTrail) UpdateTrail(input *UpdateTrailInput) (*UpdateTrailOutput, error)
- func (c *CloudTrail) UpdateTrailRequest(input *UpdateTrailInput) (req *request.Request, output *UpdateTrailOutput)
- func (c *CloudTrail) UpdateTrailWithContext(ctx aws.Context, input *UpdateTrailInput, opts ...request.Option) (*UpdateTrailOutput, error)
- type CloudTrailInvalidClientTokenIdException
- func (s *CloudTrailInvalidClientTokenIdException) Code() string
- func (s *CloudTrailInvalidClientTokenIdException) Error() string
- func (s CloudTrailInvalidClientTokenIdException) GoString() string
- func (s *CloudTrailInvalidClientTokenIdException) Message() string
- func (s *CloudTrailInvalidClientTokenIdException) OrigErr() error
- func (s *CloudTrailInvalidClientTokenIdException) RequestID() string
- func (s *CloudTrailInvalidClientTokenIdException) StatusCode() int
- func (s CloudTrailInvalidClientTokenIdException) String() string
- type CloudWatchLogsDeliveryUnavailableException
- func (s *CloudWatchLogsDeliveryUnavailableException) Code() string
- func (s *CloudWatchLogsDeliveryUnavailableException) Error() string
- func (s CloudWatchLogsDeliveryUnavailableException) GoString() string
- func (s *CloudWatchLogsDeliveryUnavailableException) Message() string
- func (s *CloudWatchLogsDeliveryUnavailableException) OrigErr() error
- func (s *CloudWatchLogsDeliveryUnavailableException) RequestID() string
- func (s *CloudWatchLogsDeliveryUnavailableException) StatusCode() int
- func (s CloudWatchLogsDeliveryUnavailableException) String() string
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type CreateChannelInput
- func (s CreateChannelInput) GoString() string
- func (s *CreateChannelInput) SetDestinations(v []*Destination) *CreateChannelInput
- func (s *CreateChannelInput) SetName(v string) *CreateChannelInput
- func (s *CreateChannelInput) SetSource(v string) *CreateChannelInput
- func (s *CreateChannelInput) SetTags(v []*Tag) *CreateChannelInput
- func (s CreateChannelInput) String() string
- func (s *CreateChannelInput) Validate() error
- type CreateChannelOutput
- func (s CreateChannelOutput) GoString() string
- func (s *CreateChannelOutput) SetChannelArn(v string) *CreateChannelOutput
- func (s *CreateChannelOutput) SetDestinations(v []*Destination) *CreateChannelOutput
- func (s *CreateChannelOutput) SetName(v string) *CreateChannelOutput
- func (s *CreateChannelOutput) SetSource(v string) *CreateChannelOutput
- func (s *CreateChannelOutput) SetTags(v []*Tag) *CreateChannelOutput
- func (s CreateChannelOutput) String() string
- type CreateEventDataStoreInput
- func (s CreateEventDataStoreInput) GoString() string
- func (s *CreateEventDataStoreInput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *CreateEventDataStoreInput
- func (s *CreateEventDataStoreInput) SetKmsKeyId(v string) *CreateEventDataStoreInput
- func (s *CreateEventDataStoreInput) SetMultiRegionEnabled(v bool) *CreateEventDataStoreInput
- func (s *CreateEventDataStoreInput) SetName(v string) *CreateEventDataStoreInput
- func (s *CreateEventDataStoreInput) SetOrganizationEnabled(v bool) *CreateEventDataStoreInput
- func (s *CreateEventDataStoreInput) SetRetentionPeriod(v int64) *CreateEventDataStoreInput
- func (s *CreateEventDataStoreInput) SetStartIngestion(v bool) *CreateEventDataStoreInput
- func (s *CreateEventDataStoreInput) SetTagsList(v []*Tag) *CreateEventDataStoreInput
- func (s *CreateEventDataStoreInput) SetTerminationProtectionEnabled(v bool) *CreateEventDataStoreInput
- func (s CreateEventDataStoreInput) String() string
- func (s *CreateEventDataStoreInput) Validate() error
- type CreateEventDataStoreOutput
- func (s CreateEventDataStoreOutput) GoString() string
- func (s *CreateEventDataStoreOutput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *CreateEventDataStoreOutput
- func (s *CreateEventDataStoreOutput) SetCreatedTimestamp(v time.Time) *CreateEventDataStoreOutput
- func (s *CreateEventDataStoreOutput) SetEventDataStoreArn(v string) *CreateEventDataStoreOutput
- func (s *CreateEventDataStoreOutput) SetKmsKeyId(v string) *CreateEventDataStoreOutput
- func (s *CreateEventDataStoreOutput) SetMultiRegionEnabled(v bool) *CreateEventDataStoreOutput
- func (s *CreateEventDataStoreOutput) SetName(v string) *CreateEventDataStoreOutput
- func (s *CreateEventDataStoreOutput) SetOrganizationEnabled(v bool) *CreateEventDataStoreOutput
- func (s *CreateEventDataStoreOutput) SetRetentionPeriod(v int64) *CreateEventDataStoreOutput
- func (s *CreateEventDataStoreOutput) SetStatus(v string) *CreateEventDataStoreOutput
- func (s *CreateEventDataStoreOutput) SetTagsList(v []*Tag) *CreateEventDataStoreOutput
- func (s *CreateEventDataStoreOutput) SetTerminationProtectionEnabled(v bool) *CreateEventDataStoreOutput
- func (s *CreateEventDataStoreOutput) SetUpdatedTimestamp(v time.Time) *CreateEventDataStoreOutput
- func (s CreateEventDataStoreOutput) String() string
- type CreateTrailInput
- func (s CreateTrailInput) GoString() string
- func (s *CreateTrailInput) SetCloudWatchLogsLogGroupArn(v string) *CreateTrailInput
- func (s *CreateTrailInput) SetCloudWatchLogsRoleArn(v string) *CreateTrailInput
- func (s *CreateTrailInput) SetEnableLogFileValidation(v bool) *CreateTrailInput
- func (s *CreateTrailInput) SetIncludeGlobalServiceEvents(v bool) *CreateTrailInput
- func (s *CreateTrailInput) SetIsMultiRegionTrail(v bool) *CreateTrailInput
- func (s *CreateTrailInput) SetIsOrganizationTrail(v bool) *CreateTrailInput
- func (s *CreateTrailInput) SetKmsKeyId(v string) *CreateTrailInput
- func (s *CreateTrailInput) SetName(v string) *CreateTrailInput
- func (s *CreateTrailInput) SetS3BucketName(v string) *CreateTrailInput
- func (s *CreateTrailInput) SetS3KeyPrefix(v string) *CreateTrailInput
- func (s *CreateTrailInput) SetSnsTopicName(v string) *CreateTrailInput
- func (s *CreateTrailInput) SetTagsList(v []*Tag) *CreateTrailInput
- func (s CreateTrailInput) String() string
- func (s *CreateTrailInput) Validate() error
- type CreateTrailOutput
- func (s CreateTrailOutput) GoString() string
- func (s *CreateTrailOutput) SetCloudWatchLogsLogGroupArn(v string) *CreateTrailOutput
- func (s *CreateTrailOutput) SetCloudWatchLogsRoleArn(v string) *CreateTrailOutput
- func (s *CreateTrailOutput) SetIncludeGlobalServiceEvents(v bool) *CreateTrailOutput
- func (s *CreateTrailOutput) SetIsMultiRegionTrail(v bool) *CreateTrailOutput
- func (s *CreateTrailOutput) SetIsOrganizationTrail(v bool) *CreateTrailOutput
- func (s *CreateTrailOutput) SetKmsKeyId(v string) *CreateTrailOutput
- func (s *CreateTrailOutput) SetLogFileValidationEnabled(v bool) *CreateTrailOutput
- func (s *CreateTrailOutput) SetName(v string) *CreateTrailOutput
- func (s *CreateTrailOutput) SetS3BucketName(v string) *CreateTrailOutput
- func (s *CreateTrailOutput) SetS3KeyPrefix(v string) *CreateTrailOutput
- func (s *CreateTrailOutput) SetSnsTopicARN(v string) *CreateTrailOutput
- func (s *CreateTrailOutput) SetSnsTopicName(v string) *CreateTrailOutput
- func (s *CreateTrailOutput) SetTrailARN(v string) *CreateTrailOutput
- func (s CreateTrailOutput) String() string
- type DataResource
- type DelegatedAdminAccountLimitExceededException
- func (s *DelegatedAdminAccountLimitExceededException) Code() string
- func (s *DelegatedAdminAccountLimitExceededException) Error() string
- func (s DelegatedAdminAccountLimitExceededException) GoString() string
- func (s *DelegatedAdminAccountLimitExceededException) Message() string
- func (s *DelegatedAdminAccountLimitExceededException) OrigErr() error
- func (s *DelegatedAdminAccountLimitExceededException) RequestID() string
- func (s *DelegatedAdminAccountLimitExceededException) StatusCode() int
- func (s DelegatedAdminAccountLimitExceededException) String() string
- type DeleteChannelInput
- type DeleteChannelOutput
- type DeleteEventDataStoreInput
- type DeleteEventDataStoreOutput
- type DeleteResourcePolicyInput
- type DeleteResourcePolicyOutput
- type DeleteTrailInput
- type DeleteTrailOutput
- type DeregisterOrganizationDelegatedAdminInput
- func (s DeregisterOrganizationDelegatedAdminInput) GoString() string
- func (s *DeregisterOrganizationDelegatedAdminInput) SetDelegatedAdminAccountId(v string) *DeregisterOrganizationDelegatedAdminInput
- func (s DeregisterOrganizationDelegatedAdminInput) String() string
- func (s *DeregisterOrganizationDelegatedAdminInput) Validate() error
- type DeregisterOrganizationDelegatedAdminOutput
- type DescribeQueryInput
- func (s DescribeQueryInput) GoString() string
- func (s *DescribeQueryInput) SetEventDataStore(v string) *DescribeQueryInput
- func (s *DescribeQueryInput) SetQueryAlias(v string) *DescribeQueryInput
- func (s *DescribeQueryInput) SetQueryId(v string) *DescribeQueryInput
- func (s DescribeQueryInput) String() string
- func (s *DescribeQueryInput) Validate() error
- type DescribeQueryOutput
- func (s DescribeQueryOutput) GoString() string
- func (s *DescribeQueryOutput) SetDeliveryS3Uri(v string) *DescribeQueryOutput
- func (s *DescribeQueryOutput) SetDeliveryStatus(v string) *DescribeQueryOutput
- func (s *DescribeQueryOutput) SetErrorMessage(v string) *DescribeQueryOutput
- func (s *DescribeQueryOutput) SetQueryId(v string) *DescribeQueryOutput
- func (s *DescribeQueryOutput) SetQueryStatistics(v *QueryStatisticsForDescribeQuery) *DescribeQueryOutput
- func (s *DescribeQueryOutput) SetQueryStatus(v string) *DescribeQueryOutput
- func (s *DescribeQueryOutput) SetQueryString(v string) *DescribeQueryOutput
- func (s DescribeQueryOutput) String() string
- type DescribeTrailsInput
- type DescribeTrailsOutput
- type Destination
- type Event
- func (s Event) GoString() string
- func (s *Event) SetAccessKeyId(v string) *Event
- func (s *Event) SetCloudTrailEvent(v string) *Event
- func (s *Event) SetEventId(v string) *Event
- func (s *Event) SetEventName(v string) *Event
- func (s *Event) SetEventSource(v string) *Event
- func (s *Event) SetEventTime(v time.Time) *Event
- func (s *Event) SetReadOnly(v string) *Event
- func (s *Event) SetResources(v []*Resource) *Event
- func (s *Event) SetUsername(v string) *Event
- func (s Event) String() string
- type EventDataStore
- func (s EventDataStore) GoString() string
- func (s *EventDataStore) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *EventDataStore
- func (s *EventDataStore) SetCreatedTimestamp(v time.Time) *EventDataStore
- func (s *EventDataStore) SetEventDataStoreArn(v string) *EventDataStore
- func (s *EventDataStore) SetMultiRegionEnabled(v bool) *EventDataStore
- func (s *EventDataStore) SetName(v string) *EventDataStore
- func (s *EventDataStore) SetOrganizationEnabled(v bool) *EventDataStore
- func (s *EventDataStore) SetRetentionPeriod(v int64) *EventDataStore
- func (s *EventDataStore) SetStatus(v string) *EventDataStore
- func (s *EventDataStore) SetTerminationProtectionEnabled(v bool) *EventDataStore
- func (s *EventDataStore) SetUpdatedTimestamp(v time.Time) *EventDataStore
- func (s EventDataStore) String() string
- type EventDataStoreARNInvalidException
- func (s *EventDataStoreARNInvalidException) Code() string
- func (s *EventDataStoreARNInvalidException) Error() string
- func (s EventDataStoreARNInvalidException) GoString() string
- func (s *EventDataStoreARNInvalidException) Message() string
- func (s *EventDataStoreARNInvalidException) OrigErr() error
- func (s *EventDataStoreARNInvalidException) RequestID() string
- func (s *EventDataStoreARNInvalidException) StatusCode() int
- func (s EventDataStoreARNInvalidException) String() string
- type EventDataStoreAlreadyExistsException
- func (s *EventDataStoreAlreadyExistsException) Code() string
- func (s *EventDataStoreAlreadyExistsException) Error() string
- func (s EventDataStoreAlreadyExistsException) GoString() string
- func (s *EventDataStoreAlreadyExistsException) Message() string
- func (s *EventDataStoreAlreadyExistsException) OrigErr() error
- func (s *EventDataStoreAlreadyExistsException) RequestID() string
- func (s *EventDataStoreAlreadyExistsException) StatusCode() int
- func (s EventDataStoreAlreadyExistsException) String() string
- type EventDataStoreHasOngoingImportException
- func (s *EventDataStoreHasOngoingImportException) Code() string
- func (s *EventDataStoreHasOngoingImportException) Error() string
- func (s EventDataStoreHasOngoingImportException) GoString() string
- func (s *EventDataStoreHasOngoingImportException) Message() string
- func (s *EventDataStoreHasOngoingImportException) OrigErr() error
- func (s *EventDataStoreHasOngoingImportException) RequestID() string
- func (s *EventDataStoreHasOngoingImportException) StatusCode() int
- func (s EventDataStoreHasOngoingImportException) String() string
- type EventDataStoreMaxLimitExceededException
- func (s *EventDataStoreMaxLimitExceededException) Code() string
- func (s *EventDataStoreMaxLimitExceededException) Error() string
- func (s EventDataStoreMaxLimitExceededException) GoString() string
- func (s *EventDataStoreMaxLimitExceededException) Message() string
- func (s *EventDataStoreMaxLimitExceededException) OrigErr() error
- func (s *EventDataStoreMaxLimitExceededException) RequestID() string
- func (s *EventDataStoreMaxLimitExceededException) StatusCode() int
- func (s EventDataStoreMaxLimitExceededException) String() string
- type EventDataStoreNotFoundException
- func (s *EventDataStoreNotFoundException) Code() string
- func (s *EventDataStoreNotFoundException) Error() string
- func (s EventDataStoreNotFoundException) GoString() string
- func (s *EventDataStoreNotFoundException) Message() string
- func (s *EventDataStoreNotFoundException) OrigErr() error
- func (s *EventDataStoreNotFoundException) RequestID() string
- func (s *EventDataStoreNotFoundException) StatusCode() int
- func (s EventDataStoreNotFoundException) String() string
- type EventDataStoreTerminationProtectedException
- func (s *EventDataStoreTerminationProtectedException) Code() string
- func (s *EventDataStoreTerminationProtectedException) Error() string
- func (s EventDataStoreTerminationProtectedException) GoString() string
- func (s *EventDataStoreTerminationProtectedException) Message() string
- func (s *EventDataStoreTerminationProtectedException) OrigErr() error
- func (s *EventDataStoreTerminationProtectedException) RequestID() string
- func (s *EventDataStoreTerminationProtectedException) StatusCode() int
- func (s EventDataStoreTerminationProtectedException) String() string
- type EventSelector
- func (s EventSelector) GoString() string
- func (s *EventSelector) SetDataResources(v []*DataResource) *EventSelector
- func (s *EventSelector) SetExcludeManagementEventSources(v []*string) *EventSelector
- func (s *EventSelector) SetIncludeManagementEvents(v bool) *EventSelector
- func (s *EventSelector) SetReadWriteType(v string) *EventSelector
- func (s EventSelector) String() string
- type GetChannelInput
- type GetChannelOutput
- func (s GetChannelOutput) GoString() string
- func (s *GetChannelOutput) SetChannelArn(v string) *GetChannelOutput
- func (s *GetChannelOutput) SetDestinations(v []*Destination) *GetChannelOutput
- func (s *GetChannelOutput) SetIngestionStatus(v *IngestionStatus) *GetChannelOutput
- func (s *GetChannelOutput) SetName(v string) *GetChannelOutput
- func (s *GetChannelOutput) SetSource(v string) *GetChannelOutput
- func (s *GetChannelOutput) SetSourceConfig(v *SourceConfig) *GetChannelOutput
- func (s GetChannelOutput) String() string
- type GetEventDataStoreInput
- type GetEventDataStoreOutput
- func (s GetEventDataStoreOutput) GoString() string
- func (s *GetEventDataStoreOutput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *GetEventDataStoreOutput
- func (s *GetEventDataStoreOutput) SetCreatedTimestamp(v time.Time) *GetEventDataStoreOutput
- func (s *GetEventDataStoreOutput) SetEventDataStoreArn(v string) *GetEventDataStoreOutput
- func (s *GetEventDataStoreOutput) SetKmsKeyId(v string) *GetEventDataStoreOutput
- func (s *GetEventDataStoreOutput) SetMultiRegionEnabled(v bool) *GetEventDataStoreOutput
- func (s *GetEventDataStoreOutput) SetName(v string) *GetEventDataStoreOutput
- func (s *GetEventDataStoreOutput) SetOrganizationEnabled(v bool) *GetEventDataStoreOutput
- func (s *GetEventDataStoreOutput) SetRetentionPeriod(v int64) *GetEventDataStoreOutput
- func (s *GetEventDataStoreOutput) SetStatus(v string) *GetEventDataStoreOutput
- func (s *GetEventDataStoreOutput) SetTerminationProtectionEnabled(v bool) *GetEventDataStoreOutput
- func (s *GetEventDataStoreOutput) SetUpdatedTimestamp(v time.Time) *GetEventDataStoreOutput
- func (s GetEventDataStoreOutput) String() string
- type GetEventSelectorsInput
- type GetEventSelectorsOutput
- func (s GetEventSelectorsOutput) GoString() string
- func (s *GetEventSelectorsOutput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *GetEventSelectorsOutput
- func (s *GetEventSelectorsOutput) SetEventSelectors(v []*EventSelector) *GetEventSelectorsOutput
- func (s *GetEventSelectorsOutput) SetTrailARN(v string) *GetEventSelectorsOutput
- func (s GetEventSelectorsOutput) String() string
- type GetImportInput
- type GetImportOutput
- func (s GetImportOutput) GoString() string
- func (s *GetImportOutput) SetCreatedTimestamp(v time.Time) *GetImportOutput
- func (s *GetImportOutput) SetDestinations(v []*string) *GetImportOutput
- func (s *GetImportOutput) SetEndEventTime(v time.Time) *GetImportOutput
- func (s *GetImportOutput) SetImportId(v string) *GetImportOutput
- func (s *GetImportOutput) SetImportSource(v *ImportSource) *GetImportOutput
- func (s *GetImportOutput) SetImportStatistics(v *ImportStatistics) *GetImportOutput
- func (s *GetImportOutput) SetImportStatus(v string) *GetImportOutput
- func (s *GetImportOutput) SetStartEventTime(v time.Time) *GetImportOutput
- func (s *GetImportOutput) SetUpdatedTimestamp(v time.Time) *GetImportOutput
- func (s GetImportOutput) String() string
- type GetInsightSelectorsInput
- type GetInsightSelectorsOutput
- type GetQueryResultsInput
- func (s GetQueryResultsInput) GoString() string
- func (s *GetQueryResultsInput) SetEventDataStore(v string) *GetQueryResultsInput
- func (s *GetQueryResultsInput) SetMaxQueryResults(v int64) *GetQueryResultsInput
- func (s *GetQueryResultsInput) SetNextToken(v string) *GetQueryResultsInput
- func (s *GetQueryResultsInput) SetQueryId(v string) *GetQueryResultsInput
- func (s GetQueryResultsInput) String() string
- func (s *GetQueryResultsInput) Validate() error
- type GetQueryResultsOutput
- func (s GetQueryResultsOutput) GoString() string
- func (s *GetQueryResultsOutput) SetErrorMessage(v string) *GetQueryResultsOutput
- func (s *GetQueryResultsOutput) SetNextToken(v string) *GetQueryResultsOutput
- func (s *GetQueryResultsOutput) SetQueryResultRows(v [][]map[string]*string) *GetQueryResultsOutput
- func (s *GetQueryResultsOutput) SetQueryStatistics(v *QueryStatistics) *GetQueryResultsOutput
- func (s *GetQueryResultsOutput) SetQueryStatus(v string) *GetQueryResultsOutput
- func (s GetQueryResultsOutput) String() string
- type GetResourcePolicyInput
- type GetResourcePolicyOutput
- type GetTrailInput
- type GetTrailOutput
- type GetTrailStatusInput
- type GetTrailStatusOutput
- func (s GetTrailStatusOutput) GoString() string
- func (s *GetTrailStatusOutput) SetIsLogging(v bool) *GetTrailStatusOutput
- func (s *GetTrailStatusOutput) SetLatestCloudWatchLogsDeliveryError(v string) *GetTrailStatusOutput
- func (s *GetTrailStatusOutput) SetLatestCloudWatchLogsDeliveryTime(v time.Time) *GetTrailStatusOutput
- func (s *GetTrailStatusOutput) SetLatestDeliveryAttemptSucceeded(v string) *GetTrailStatusOutput
- func (s *GetTrailStatusOutput) SetLatestDeliveryAttemptTime(v string) *GetTrailStatusOutput
- func (s *GetTrailStatusOutput) SetLatestDeliveryError(v string) *GetTrailStatusOutput
- func (s *GetTrailStatusOutput) SetLatestDeliveryTime(v time.Time) *GetTrailStatusOutput
- func (s *GetTrailStatusOutput) SetLatestDigestDeliveryError(v string) *GetTrailStatusOutput
- func (s *GetTrailStatusOutput) SetLatestDigestDeliveryTime(v time.Time) *GetTrailStatusOutput
- func (s *GetTrailStatusOutput) SetLatestNotificationAttemptSucceeded(v string) *GetTrailStatusOutput
- func (s *GetTrailStatusOutput) SetLatestNotificationAttemptTime(v string) *GetTrailStatusOutput
- func (s *GetTrailStatusOutput) SetLatestNotificationError(v string) *GetTrailStatusOutput
- func (s *GetTrailStatusOutput) SetLatestNotificationTime(v time.Time) *GetTrailStatusOutput
- func (s *GetTrailStatusOutput) SetStartLoggingTime(v time.Time) *GetTrailStatusOutput
- func (s *GetTrailStatusOutput) SetStopLoggingTime(v time.Time) *GetTrailStatusOutput
- func (s *GetTrailStatusOutput) SetTimeLoggingStarted(v string) *GetTrailStatusOutput
- func (s *GetTrailStatusOutput) SetTimeLoggingStopped(v string) *GetTrailStatusOutput
- func (s GetTrailStatusOutput) String() string
- type ImportFailureListItem
- func (s ImportFailureListItem) GoString() string
- func (s *ImportFailureListItem) SetErrorMessage(v string) *ImportFailureListItem
- func (s *ImportFailureListItem) SetErrorType(v string) *ImportFailureListItem
- func (s *ImportFailureListItem) SetLastUpdatedTime(v time.Time) *ImportFailureListItem
- func (s *ImportFailureListItem) SetLocation(v string) *ImportFailureListItem
- func (s *ImportFailureListItem) SetStatus(v string) *ImportFailureListItem
- func (s ImportFailureListItem) String() string
- type ImportNotFoundException
- func (s *ImportNotFoundException) Code() string
- func (s *ImportNotFoundException) Error() string
- func (s ImportNotFoundException) GoString() string
- func (s *ImportNotFoundException) Message() string
- func (s *ImportNotFoundException) OrigErr() error
- func (s *ImportNotFoundException) RequestID() string
- func (s *ImportNotFoundException) StatusCode() int
- func (s ImportNotFoundException) String() string
- type ImportSource
- type ImportStatistics
- func (s ImportStatistics) GoString() string
- func (s *ImportStatistics) SetEventsCompleted(v int64) *ImportStatistics
- func (s *ImportStatistics) SetFailedEntries(v int64) *ImportStatistics
- func (s *ImportStatistics) SetFilesCompleted(v int64) *ImportStatistics
- func (s *ImportStatistics) SetPrefixesCompleted(v int64) *ImportStatistics
- func (s *ImportStatistics) SetPrefixesFound(v int64) *ImportStatistics
- func (s ImportStatistics) String() string
- type ImportsListItem
- func (s ImportsListItem) GoString() string
- func (s *ImportsListItem) SetCreatedTimestamp(v time.Time) *ImportsListItem
- func (s *ImportsListItem) SetDestinations(v []*string) *ImportsListItem
- func (s *ImportsListItem) SetImportId(v string) *ImportsListItem
- func (s *ImportsListItem) SetImportStatus(v string) *ImportsListItem
- func (s *ImportsListItem) SetUpdatedTimestamp(v time.Time) *ImportsListItem
- func (s ImportsListItem) String() string
- type InactiveEventDataStoreException
- func (s *InactiveEventDataStoreException) Code() string
- func (s *InactiveEventDataStoreException) Error() string
- func (s InactiveEventDataStoreException) GoString() string
- func (s *InactiveEventDataStoreException) Message() string
- func (s *InactiveEventDataStoreException) OrigErr() error
- func (s *InactiveEventDataStoreException) RequestID() string
- func (s *InactiveEventDataStoreException) StatusCode() int
- func (s InactiveEventDataStoreException) String() string
- type InactiveQueryException
- func (s *InactiveQueryException) Code() string
- func (s *InactiveQueryException) Error() string
- func (s InactiveQueryException) GoString() string
- func (s *InactiveQueryException) Message() string
- func (s *InactiveQueryException) OrigErr() error
- func (s *InactiveQueryException) RequestID() string
- func (s *InactiveQueryException) StatusCode() int
- func (s InactiveQueryException) String() string
- type IngestionStatus
- func (s IngestionStatus) GoString() string
- func (s *IngestionStatus) SetLatestIngestionAttemptEventID(v string) *IngestionStatus
- func (s *IngestionStatus) SetLatestIngestionAttemptTime(v time.Time) *IngestionStatus
- func (s *IngestionStatus) SetLatestIngestionErrorCode(v string) *IngestionStatus
- func (s *IngestionStatus) SetLatestIngestionSuccessEventID(v string) *IngestionStatus
- func (s *IngestionStatus) SetLatestIngestionSuccessTime(v time.Time) *IngestionStatus
- func (s IngestionStatus) String() string
- type InsightNotEnabledException
- func (s *InsightNotEnabledException) Code() string
- func (s *InsightNotEnabledException) Error() string
- func (s InsightNotEnabledException) GoString() string
- func (s *InsightNotEnabledException) Message() string
- func (s *InsightNotEnabledException) OrigErr() error
- func (s *InsightNotEnabledException) RequestID() string
- func (s *InsightNotEnabledException) StatusCode() int
- func (s InsightNotEnabledException) String() string
- type InsightSelector
- type InsufficientDependencyServiceAccessPermissionException
- func (s *InsufficientDependencyServiceAccessPermissionException) Code() string
- func (s *InsufficientDependencyServiceAccessPermissionException) Error() string
- func (s InsufficientDependencyServiceAccessPermissionException) GoString() string
- func (s *InsufficientDependencyServiceAccessPermissionException) Message() string
- func (s *InsufficientDependencyServiceAccessPermissionException) OrigErr() error
- func (s *InsufficientDependencyServiceAccessPermissionException) RequestID() string
- func (s *InsufficientDependencyServiceAccessPermissionException) StatusCode() int
- func (s InsufficientDependencyServiceAccessPermissionException) String() string
- type InsufficientEncryptionPolicyException
- func (s *InsufficientEncryptionPolicyException) Code() string
- func (s *InsufficientEncryptionPolicyException) Error() string
- func (s InsufficientEncryptionPolicyException) GoString() string
- func (s *InsufficientEncryptionPolicyException) Message() string
- func (s *InsufficientEncryptionPolicyException) OrigErr() error
- func (s *InsufficientEncryptionPolicyException) RequestID() string
- func (s *InsufficientEncryptionPolicyException) StatusCode() int
- func (s InsufficientEncryptionPolicyException) String() string
- type InsufficientS3BucketPolicyException
- func (s *InsufficientS3BucketPolicyException) Code() string
- func (s *InsufficientS3BucketPolicyException) Error() string
- func (s InsufficientS3BucketPolicyException) GoString() string
- func (s *InsufficientS3BucketPolicyException) Message() string
- func (s *InsufficientS3BucketPolicyException) OrigErr() error
- func (s *InsufficientS3BucketPolicyException) RequestID() string
- func (s *InsufficientS3BucketPolicyException) StatusCode() int
- func (s InsufficientS3BucketPolicyException) String() string
- type InsufficientSnsTopicPolicyException
- func (s *InsufficientSnsTopicPolicyException) Code() string
- func (s *InsufficientSnsTopicPolicyException) Error() string
- func (s InsufficientSnsTopicPolicyException) GoString() string
- func (s *InsufficientSnsTopicPolicyException) Message() string
- func (s *InsufficientSnsTopicPolicyException) OrigErr() error
- func (s *InsufficientSnsTopicPolicyException) RequestID() string
- func (s *InsufficientSnsTopicPolicyException) StatusCode() int
- func (s InsufficientSnsTopicPolicyException) String() string
- type InvalidCloudWatchLogsLogGroupArnException
- func (s *InvalidCloudWatchLogsLogGroupArnException) Code() string
- func (s *InvalidCloudWatchLogsLogGroupArnException) Error() string
- func (s InvalidCloudWatchLogsLogGroupArnException) GoString() string
- func (s *InvalidCloudWatchLogsLogGroupArnException) Message() string
- func (s *InvalidCloudWatchLogsLogGroupArnException) OrigErr() error
- func (s *InvalidCloudWatchLogsLogGroupArnException) RequestID() string
- func (s *InvalidCloudWatchLogsLogGroupArnException) StatusCode() int
- func (s InvalidCloudWatchLogsLogGroupArnException) String() string
- type InvalidCloudWatchLogsRoleArnException
- func (s *InvalidCloudWatchLogsRoleArnException) Code() string
- func (s *InvalidCloudWatchLogsRoleArnException) Error() string
- func (s InvalidCloudWatchLogsRoleArnException) GoString() string
- func (s *InvalidCloudWatchLogsRoleArnException) Message() string
- func (s *InvalidCloudWatchLogsRoleArnException) OrigErr() error
- func (s *InvalidCloudWatchLogsRoleArnException) RequestID() string
- func (s *InvalidCloudWatchLogsRoleArnException) StatusCode() int
- func (s InvalidCloudWatchLogsRoleArnException) String() string
- type InvalidDateRangeException
- func (s *InvalidDateRangeException) Code() string
- func (s *InvalidDateRangeException) Error() string
- func (s InvalidDateRangeException) GoString() string
- func (s *InvalidDateRangeException) Message() string
- func (s *InvalidDateRangeException) OrigErr() error
- func (s *InvalidDateRangeException) RequestID() string
- func (s *InvalidDateRangeException) StatusCode() int
- func (s InvalidDateRangeException) String() string
- type InvalidEventCategoryException
- func (s *InvalidEventCategoryException) Code() string
- func (s *InvalidEventCategoryException) Error() string
- func (s InvalidEventCategoryException) GoString() string
- func (s *InvalidEventCategoryException) Message() string
- func (s *InvalidEventCategoryException) OrigErr() error
- func (s *InvalidEventCategoryException) RequestID() string
- func (s *InvalidEventCategoryException) StatusCode() int
- func (s InvalidEventCategoryException) String() string
- type InvalidEventDataStoreCategoryException
- func (s *InvalidEventDataStoreCategoryException) Code() string
- func (s *InvalidEventDataStoreCategoryException) Error() string
- func (s InvalidEventDataStoreCategoryException) GoString() string
- func (s *InvalidEventDataStoreCategoryException) Message() string
- func (s *InvalidEventDataStoreCategoryException) OrigErr() error
- func (s *InvalidEventDataStoreCategoryException) RequestID() string
- func (s *InvalidEventDataStoreCategoryException) StatusCode() int
- func (s InvalidEventDataStoreCategoryException) String() string
- type InvalidEventDataStoreStatusException
- func (s *InvalidEventDataStoreStatusException) Code() string
- func (s *InvalidEventDataStoreStatusException) Error() string
- func (s InvalidEventDataStoreStatusException) GoString() string
- func (s *InvalidEventDataStoreStatusException) Message() string
- func (s *InvalidEventDataStoreStatusException) OrigErr() error
- func (s *InvalidEventDataStoreStatusException) RequestID() string
- func (s *InvalidEventDataStoreStatusException) StatusCode() int
- func (s InvalidEventDataStoreStatusException) String() string
- type InvalidEventSelectorsException
- func (s *InvalidEventSelectorsException) Code() string
- func (s *InvalidEventSelectorsException) Error() string
- func (s InvalidEventSelectorsException) GoString() string
- func (s *InvalidEventSelectorsException) Message() string
- func (s *InvalidEventSelectorsException) OrigErr() error
- func (s *InvalidEventSelectorsException) RequestID() string
- func (s *InvalidEventSelectorsException) StatusCode() int
- func (s InvalidEventSelectorsException) String() string
- type InvalidHomeRegionException
- func (s *InvalidHomeRegionException) Code() string
- func (s *InvalidHomeRegionException) Error() string
- func (s InvalidHomeRegionException) GoString() string
- func (s *InvalidHomeRegionException) Message() string
- func (s *InvalidHomeRegionException) OrigErr() error
- func (s *InvalidHomeRegionException) RequestID() string
- func (s *InvalidHomeRegionException) StatusCode() int
- func (s InvalidHomeRegionException) String() string
- type InvalidImportSourceException
- func (s *InvalidImportSourceException) Code() string
- func (s *InvalidImportSourceException) Error() string
- func (s InvalidImportSourceException) GoString() string
- func (s *InvalidImportSourceException) Message() string
- func (s *InvalidImportSourceException) OrigErr() error
- func (s *InvalidImportSourceException) RequestID() string
- func (s *InvalidImportSourceException) StatusCode() int
- func (s InvalidImportSourceException) String() string
- type InvalidInsightSelectorsException
- func (s *InvalidInsightSelectorsException) Code() string
- func (s *InvalidInsightSelectorsException) Error() string
- func (s InvalidInsightSelectorsException) GoString() string
- func (s *InvalidInsightSelectorsException) Message() string
- func (s *InvalidInsightSelectorsException) OrigErr() error
- func (s *InvalidInsightSelectorsException) RequestID() string
- func (s *InvalidInsightSelectorsException) StatusCode() int
- func (s InvalidInsightSelectorsException) String() string
- type InvalidKmsKeyIdException
- func (s *InvalidKmsKeyIdException) Code() string
- func (s *InvalidKmsKeyIdException) Error() string
- func (s InvalidKmsKeyIdException) GoString() string
- func (s *InvalidKmsKeyIdException) Message() string
- func (s *InvalidKmsKeyIdException) OrigErr() error
- func (s *InvalidKmsKeyIdException) RequestID() string
- func (s *InvalidKmsKeyIdException) StatusCode() int
- func (s InvalidKmsKeyIdException) String() string
- type InvalidLookupAttributesException
- func (s *InvalidLookupAttributesException) Code() string
- func (s *InvalidLookupAttributesException) Error() string
- func (s InvalidLookupAttributesException) GoString() string
- func (s *InvalidLookupAttributesException) Message() string
- func (s *InvalidLookupAttributesException) OrigErr() error
- func (s *InvalidLookupAttributesException) RequestID() string
- func (s *InvalidLookupAttributesException) StatusCode() int
- func (s InvalidLookupAttributesException) String() string
- type InvalidMaxResultsException
- func (s *InvalidMaxResultsException) Code() string
- func (s *InvalidMaxResultsException) Error() string
- func (s InvalidMaxResultsException) GoString() string
- func (s *InvalidMaxResultsException) Message() string
- func (s *InvalidMaxResultsException) OrigErr() error
- func (s *InvalidMaxResultsException) RequestID() string
- func (s *InvalidMaxResultsException) StatusCode() int
- func (s InvalidMaxResultsException) String() string
- type InvalidNextTokenException
- func (s *InvalidNextTokenException) Code() string
- func (s *InvalidNextTokenException) Error() string
- func (s InvalidNextTokenException) GoString() string
- func (s *InvalidNextTokenException) Message() string
- func (s *InvalidNextTokenException) OrigErr() error
- func (s *InvalidNextTokenException) RequestID() string
- func (s *InvalidNextTokenException) StatusCode() int
- func (s InvalidNextTokenException) String() string
- type InvalidParameterCombinationException
- func (s *InvalidParameterCombinationException) Code() string
- func (s *InvalidParameterCombinationException) Error() string
- func (s InvalidParameterCombinationException) GoString() string
- func (s *InvalidParameterCombinationException) Message() string
- func (s *InvalidParameterCombinationException) OrigErr() error
- func (s *InvalidParameterCombinationException) RequestID() string
- func (s *InvalidParameterCombinationException) StatusCode() int
- func (s InvalidParameterCombinationException) String() string
- type InvalidParameterException
- func (s *InvalidParameterException) Code() string
- func (s *InvalidParameterException) Error() string
- func (s InvalidParameterException) GoString() string
- func (s *InvalidParameterException) Message() string
- func (s *InvalidParameterException) OrigErr() error
- func (s *InvalidParameterException) RequestID() string
- func (s *InvalidParameterException) StatusCode() int
- func (s InvalidParameterException) String() string
- type InvalidQueryStatementException
- func (s *InvalidQueryStatementException) Code() string
- func (s *InvalidQueryStatementException) Error() string
- func (s InvalidQueryStatementException) GoString() string
- func (s *InvalidQueryStatementException) Message() string
- func (s *InvalidQueryStatementException) OrigErr() error
- func (s *InvalidQueryStatementException) RequestID() string
- func (s *InvalidQueryStatementException) StatusCode() int
- func (s InvalidQueryStatementException) String() string
- type InvalidQueryStatusException
- func (s *InvalidQueryStatusException) Code() string
- func (s *InvalidQueryStatusException) Error() string
- func (s InvalidQueryStatusException) GoString() string
- func (s *InvalidQueryStatusException) Message() string
- func (s *InvalidQueryStatusException) OrigErr() error
- func (s *InvalidQueryStatusException) RequestID() string
- func (s *InvalidQueryStatusException) StatusCode() int
- func (s InvalidQueryStatusException) String() string
- type InvalidS3BucketNameException
- func (s *InvalidS3BucketNameException) Code() string
- func (s *InvalidS3BucketNameException) Error() string
- func (s InvalidS3BucketNameException) GoString() string
- func (s *InvalidS3BucketNameException) Message() string
- func (s *InvalidS3BucketNameException) OrigErr() error
- func (s *InvalidS3BucketNameException) RequestID() string
- func (s *InvalidS3BucketNameException) StatusCode() int
- func (s InvalidS3BucketNameException) String() string
- type InvalidS3PrefixException
- func (s *InvalidS3PrefixException) Code() string
- func (s *InvalidS3PrefixException) Error() string
- func (s InvalidS3PrefixException) GoString() string
- func (s *InvalidS3PrefixException) Message() string
- func (s *InvalidS3PrefixException) OrigErr() error
- func (s *InvalidS3PrefixException) RequestID() string
- func (s *InvalidS3PrefixException) StatusCode() int
- func (s InvalidS3PrefixException) String() string
- type InvalidSnsTopicNameException
- func (s *InvalidSnsTopicNameException) Code() string
- func (s *InvalidSnsTopicNameException) Error() string
- func (s InvalidSnsTopicNameException) GoString() string
- func (s *InvalidSnsTopicNameException) Message() string
- func (s *InvalidSnsTopicNameException) OrigErr() error
- func (s *InvalidSnsTopicNameException) RequestID() string
- func (s *InvalidSnsTopicNameException) StatusCode() int
- func (s InvalidSnsTopicNameException) String() string
- type InvalidSourceException
- func (s *InvalidSourceException) Code() string
- func (s *InvalidSourceException) Error() string
- func (s InvalidSourceException) GoString() string
- func (s *InvalidSourceException) Message() string
- func (s *InvalidSourceException) OrigErr() error
- func (s *InvalidSourceException) RequestID() string
- func (s *InvalidSourceException) StatusCode() int
- func (s InvalidSourceException) String() string
- type InvalidTagParameterException
- func (s *InvalidTagParameterException) Code() string
- func (s *InvalidTagParameterException) Error() string
- func (s InvalidTagParameterException) GoString() string
- func (s *InvalidTagParameterException) Message() string
- func (s *InvalidTagParameterException) OrigErr() error
- func (s *InvalidTagParameterException) RequestID() string
- func (s *InvalidTagParameterException) StatusCode() int
- func (s InvalidTagParameterException) String() string
- type InvalidTimeRangeException
- func (s *InvalidTimeRangeException) Code() string
- func (s *InvalidTimeRangeException) Error() string
- func (s InvalidTimeRangeException) GoString() string
- func (s *InvalidTimeRangeException) Message() string
- func (s *InvalidTimeRangeException) OrigErr() error
- func (s *InvalidTimeRangeException) RequestID() string
- func (s *InvalidTimeRangeException) StatusCode() int
- func (s InvalidTimeRangeException) String() string
- type InvalidTokenException
- func (s *InvalidTokenException) Code() string
- func (s *InvalidTokenException) Error() string
- func (s InvalidTokenException) GoString() string
- func (s *InvalidTokenException) Message() string
- func (s *InvalidTokenException) OrigErr() error
- func (s *InvalidTokenException) RequestID() string
- func (s *InvalidTokenException) StatusCode() int
- func (s InvalidTokenException) String() string
- type InvalidTrailNameException
- func (s *InvalidTrailNameException) Code() string
- func (s *InvalidTrailNameException) Error() string
- func (s InvalidTrailNameException) GoString() string
- func (s *InvalidTrailNameException) Message() string
- func (s *InvalidTrailNameException) OrigErr() error
- func (s *InvalidTrailNameException) RequestID() string
- func (s *InvalidTrailNameException) StatusCode() int
- func (s InvalidTrailNameException) String() string
- type KmsException
- func (s *KmsException) Code() string
- func (s *KmsException) Error() string
- func (s KmsException) GoString() string
- func (s *KmsException) Message() string
- func (s *KmsException) OrigErr() error
- func (s *KmsException) RequestID() string
- func (s *KmsException) StatusCode() int
- func (s KmsException) String() string
- type KmsKeyDisabledExceptiondeprecated
- func (s *KmsKeyDisabledException) Code() string
- func (s *KmsKeyDisabledException) Error() string
- func (s KmsKeyDisabledException) GoString() string
- func (s *KmsKeyDisabledException) Message() string
- func (s *KmsKeyDisabledException) OrigErr() error
- func (s *KmsKeyDisabledException) RequestID() string
- func (s *KmsKeyDisabledException) StatusCode() int
- func (s KmsKeyDisabledException) String() string
- type KmsKeyNotFoundException
- func (s *KmsKeyNotFoundException) Code() string
- func (s *KmsKeyNotFoundException) Error() string
- func (s KmsKeyNotFoundException) GoString() string
- func (s *KmsKeyNotFoundException) Message() string
- func (s *KmsKeyNotFoundException) OrigErr() error
- func (s *KmsKeyNotFoundException) RequestID() string
- func (s *KmsKeyNotFoundException) StatusCode() int
- func (s KmsKeyNotFoundException) String() string
- type ListChannelsInput
- type ListChannelsOutput
- type ListEventDataStoresInput
- func (s ListEventDataStoresInput) GoString() string
- func (s *ListEventDataStoresInput) SetMaxResults(v int64) *ListEventDataStoresInput
- func (s *ListEventDataStoresInput) SetNextToken(v string) *ListEventDataStoresInput
- func (s ListEventDataStoresInput) String() string
- func (s *ListEventDataStoresInput) Validate() error
- type ListEventDataStoresOutput
- type ListImportFailuresInput
- func (s ListImportFailuresInput) GoString() string
- func (s *ListImportFailuresInput) SetImportId(v string) *ListImportFailuresInput
- func (s *ListImportFailuresInput) SetMaxResults(v int64) *ListImportFailuresInput
- func (s *ListImportFailuresInput) SetNextToken(v string) *ListImportFailuresInput
- func (s ListImportFailuresInput) String() string
- func (s *ListImportFailuresInput) Validate() error
- type ListImportFailuresOutput
- type ListImportsInput
- func (s ListImportsInput) GoString() string
- func (s *ListImportsInput) SetDestination(v string) *ListImportsInput
- func (s *ListImportsInput) SetImportStatus(v string) *ListImportsInput
- func (s *ListImportsInput) SetMaxResults(v int64) *ListImportsInput
- func (s *ListImportsInput) SetNextToken(v string) *ListImportsInput
- func (s ListImportsInput) String() string
- func (s *ListImportsInput) Validate() error
- type ListImportsOutput
- type ListPublicKeysInput
- func (s ListPublicKeysInput) GoString() string
- func (s *ListPublicKeysInput) SetEndTime(v time.Time) *ListPublicKeysInput
- func (s *ListPublicKeysInput) SetNextToken(v string) *ListPublicKeysInput
- func (s *ListPublicKeysInput) SetStartTime(v time.Time) *ListPublicKeysInput
- func (s ListPublicKeysInput) String() string
- type ListPublicKeysOutput
- type ListQueriesInput
- func (s ListQueriesInput) GoString() string
- func (s *ListQueriesInput) SetEndTime(v time.Time) *ListQueriesInput
- func (s *ListQueriesInput) SetEventDataStore(v string) *ListQueriesInput
- func (s *ListQueriesInput) SetMaxResults(v int64) *ListQueriesInput
- func (s *ListQueriesInput) SetNextToken(v string) *ListQueriesInput
- func (s *ListQueriesInput) SetQueryStatus(v string) *ListQueriesInput
- func (s *ListQueriesInput) SetStartTime(v time.Time) *ListQueriesInput
- func (s ListQueriesInput) String() string
- func (s *ListQueriesInput) Validate() error
- type ListQueriesOutput
- type ListTagsInput
- type ListTagsOutput
- type ListTrailsInput
- type ListTrailsOutput
- type LookupAttribute
- type LookupEventsInput
- func (s LookupEventsInput) GoString() string
- func (s *LookupEventsInput) SetEndTime(v time.Time) *LookupEventsInput
- func (s *LookupEventsInput) SetEventCategory(v string) *LookupEventsInput
- func (s *LookupEventsInput) SetLookupAttributes(v []*LookupAttribute) *LookupEventsInput
- func (s *LookupEventsInput) SetMaxResults(v int64) *LookupEventsInput
- func (s *LookupEventsInput) SetNextToken(v string) *LookupEventsInput
- func (s *LookupEventsInput) SetStartTime(v time.Time) *LookupEventsInput
- func (s LookupEventsInput) String() string
- func (s *LookupEventsInput) Validate() error
- type LookupEventsOutput
- type MaxConcurrentQueriesException
- func (s *MaxConcurrentQueriesException) Code() string
- func (s *MaxConcurrentQueriesException) Error() string
- func (s MaxConcurrentQueriesException) GoString() string
- func (s *MaxConcurrentQueriesException) Message() string
- func (s *MaxConcurrentQueriesException) OrigErr() error
- func (s *MaxConcurrentQueriesException) RequestID() string
- func (s *MaxConcurrentQueriesException) StatusCode() int
- func (s MaxConcurrentQueriesException) String() string
- type MaximumNumberOfTrailsExceededException
- func (s *MaximumNumberOfTrailsExceededException) Code() string
- func (s *MaximumNumberOfTrailsExceededException) Error() string
- func (s MaximumNumberOfTrailsExceededException) GoString() string
- func (s *MaximumNumberOfTrailsExceededException) Message() string
- func (s *MaximumNumberOfTrailsExceededException) OrigErr() error
- func (s *MaximumNumberOfTrailsExceededException) RequestID() string
- func (s *MaximumNumberOfTrailsExceededException) StatusCode() int
- func (s MaximumNumberOfTrailsExceededException) String() string
- type NoManagementAccountSLRExistsException
- func (s *NoManagementAccountSLRExistsException) Code() string
- func (s *NoManagementAccountSLRExistsException) Error() string
- func (s NoManagementAccountSLRExistsException) GoString() string
- func (s *NoManagementAccountSLRExistsException) Message() string
- func (s *NoManagementAccountSLRExistsException) OrigErr() error
- func (s *NoManagementAccountSLRExistsException) RequestID() string
- func (s *NoManagementAccountSLRExistsException) StatusCode() int
- func (s NoManagementAccountSLRExistsException) String() string
- type NotOrganizationManagementAccountException
- func (s *NotOrganizationManagementAccountException) Code() string
- func (s *NotOrganizationManagementAccountException) Error() string
- func (s NotOrganizationManagementAccountException) GoString() string
- func (s *NotOrganizationManagementAccountException) Message() string
- func (s *NotOrganizationManagementAccountException) OrigErr() error
- func (s *NotOrganizationManagementAccountException) RequestID() string
- func (s *NotOrganizationManagementAccountException) StatusCode() int
- func (s NotOrganizationManagementAccountException) String() string
- type NotOrganizationMasterAccountException
- func (s *NotOrganizationMasterAccountException) Code() string
- func (s *NotOrganizationMasterAccountException) Error() string
- func (s NotOrganizationMasterAccountException) GoString() string
- func (s *NotOrganizationMasterAccountException) Message() string
- func (s *NotOrganizationMasterAccountException) OrigErr() error
- func (s *NotOrganizationMasterAccountException) RequestID() string
- func (s *NotOrganizationMasterAccountException) StatusCode() int
- func (s NotOrganizationMasterAccountException) String() string
- type OperationNotPermittedException
- func (s *OperationNotPermittedException) Code() string
- func (s *OperationNotPermittedException) Error() string
- func (s OperationNotPermittedException) GoString() string
- func (s *OperationNotPermittedException) Message() string
- func (s *OperationNotPermittedException) OrigErr() error
- func (s *OperationNotPermittedException) RequestID() string
- func (s *OperationNotPermittedException) StatusCode() int
- func (s OperationNotPermittedException) String() string
- type OrganizationNotInAllFeaturesModeException
- func (s *OrganizationNotInAllFeaturesModeException) Code() string
- func (s *OrganizationNotInAllFeaturesModeException) Error() string
- func (s OrganizationNotInAllFeaturesModeException) GoString() string
- func (s *OrganizationNotInAllFeaturesModeException) Message() string
- func (s *OrganizationNotInAllFeaturesModeException) OrigErr() error
- func (s *OrganizationNotInAllFeaturesModeException) RequestID() string
- func (s *OrganizationNotInAllFeaturesModeException) StatusCode() int
- func (s OrganizationNotInAllFeaturesModeException) String() string
- type OrganizationsNotInUseException
- func (s *OrganizationsNotInUseException) Code() string
- func (s *OrganizationsNotInUseException) Error() string
- func (s OrganizationsNotInUseException) GoString() string
- func (s *OrganizationsNotInUseException) Message() string
- func (s *OrganizationsNotInUseException) OrigErr() error
- func (s *OrganizationsNotInUseException) RequestID() string
- func (s *OrganizationsNotInUseException) StatusCode() int
- func (s OrganizationsNotInUseException) String() string
- type PublicKey
- func (s PublicKey) GoString() string
- func (s *PublicKey) SetFingerprint(v string) *PublicKey
- func (s *PublicKey) SetValidityEndTime(v time.Time) *PublicKey
- func (s *PublicKey) SetValidityStartTime(v time.Time) *PublicKey
- func (s *PublicKey) SetValue(v []byte) *PublicKey
- func (s PublicKey) String() string
- type PutEventSelectorsInput
- func (s PutEventSelectorsInput) GoString() string
- func (s *PutEventSelectorsInput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *PutEventSelectorsInput
- func (s *PutEventSelectorsInput) SetEventSelectors(v []*EventSelector) *PutEventSelectorsInput
- func (s *PutEventSelectorsInput) SetTrailName(v string) *PutEventSelectorsInput
- func (s PutEventSelectorsInput) String() string
- func (s *PutEventSelectorsInput) Validate() error
- type PutEventSelectorsOutput
- func (s PutEventSelectorsOutput) GoString() string
- func (s *PutEventSelectorsOutput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *PutEventSelectorsOutput
- func (s *PutEventSelectorsOutput) SetEventSelectors(v []*EventSelector) *PutEventSelectorsOutput
- func (s *PutEventSelectorsOutput) SetTrailARN(v string) *PutEventSelectorsOutput
- func (s PutEventSelectorsOutput) String() string
- type PutInsightSelectorsInput
- func (s PutInsightSelectorsInput) GoString() string
- func (s *PutInsightSelectorsInput) SetInsightSelectors(v []*InsightSelector) *PutInsightSelectorsInput
- func (s *PutInsightSelectorsInput) SetTrailName(v string) *PutInsightSelectorsInput
- func (s PutInsightSelectorsInput) String() string
- func (s *PutInsightSelectorsInput) Validate() error
- type PutInsightSelectorsOutput
- type PutResourcePolicyInput
- func (s PutResourcePolicyInput) GoString() string
- func (s *PutResourcePolicyInput) SetResourceArn(v string) *PutResourcePolicyInput
- func (s *PutResourcePolicyInput) SetResourcePolicy(v string) *PutResourcePolicyInput
- func (s PutResourcePolicyInput) String() string
- func (s *PutResourcePolicyInput) Validate() error
- type PutResourcePolicyOutput
- type Query
- type QueryIdNotFoundException
- func (s *QueryIdNotFoundException) Code() string
- func (s *QueryIdNotFoundException) Error() string
- func (s QueryIdNotFoundException) GoString() string
- func (s *QueryIdNotFoundException) Message() string
- func (s *QueryIdNotFoundException) OrigErr() error
- func (s *QueryIdNotFoundException) RequestID() string
- func (s *QueryIdNotFoundException) StatusCode() int
- func (s QueryIdNotFoundException) String() string
- type QueryStatistics
- type QueryStatisticsForDescribeQuery
- func (s QueryStatisticsForDescribeQuery) GoString() string
- func (s *QueryStatisticsForDescribeQuery) SetBytesScanned(v int64) *QueryStatisticsForDescribeQuery
- func (s *QueryStatisticsForDescribeQuery) SetCreationTime(v time.Time) *QueryStatisticsForDescribeQuery
- func (s *QueryStatisticsForDescribeQuery) SetEventsMatched(v int64) *QueryStatisticsForDescribeQuery
- func (s *QueryStatisticsForDescribeQuery) SetEventsScanned(v int64) *QueryStatisticsForDescribeQuery
- func (s *QueryStatisticsForDescribeQuery) SetExecutionTimeInMillis(v int64) *QueryStatisticsForDescribeQuery
- func (s QueryStatisticsForDescribeQuery) String() string
- type RegisterOrganizationDelegatedAdminInput
- func (s RegisterOrganizationDelegatedAdminInput) GoString() string
- func (s *RegisterOrganizationDelegatedAdminInput) SetMemberAccountId(v string) *RegisterOrganizationDelegatedAdminInput
- func (s RegisterOrganizationDelegatedAdminInput) String() string
- func (s *RegisterOrganizationDelegatedAdminInput) Validate() error
- type RegisterOrganizationDelegatedAdminOutput
- type RemoveTagsInput
- type RemoveTagsOutput
- type Resource
- type ResourceARNNotValidException
- func (s *ResourceARNNotValidException) Code() string
- func (s *ResourceARNNotValidException) Error() string
- func (s ResourceARNNotValidException) GoString() string
- func (s *ResourceARNNotValidException) Message() string
- func (s *ResourceARNNotValidException) OrigErr() error
- func (s *ResourceARNNotValidException) RequestID() string
- func (s *ResourceARNNotValidException) StatusCode() int
- func (s ResourceARNNotValidException) String() string
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type ResourcePolicyNotFoundException
- func (s *ResourcePolicyNotFoundException) Code() string
- func (s *ResourcePolicyNotFoundException) Error() string
- func (s ResourcePolicyNotFoundException) GoString() string
- func (s *ResourcePolicyNotFoundException) Message() string
- func (s *ResourcePolicyNotFoundException) OrigErr() error
- func (s *ResourcePolicyNotFoundException) RequestID() string
- func (s *ResourcePolicyNotFoundException) StatusCode() int
- func (s ResourcePolicyNotFoundException) String() string
- type ResourcePolicyNotValidException
- func (s *ResourcePolicyNotValidException) Code() string
- func (s *ResourcePolicyNotValidException) Error() string
- func (s ResourcePolicyNotValidException) GoString() string
- func (s *ResourcePolicyNotValidException) Message() string
- func (s *ResourcePolicyNotValidException) OrigErr() error
- func (s *ResourcePolicyNotValidException) RequestID() string
- func (s *ResourcePolicyNotValidException) StatusCode() int
- func (s ResourcePolicyNotValidException) String() string
- type ResourceTag
- type ResourceTypeNotSupportedException
- func (s *ResourceTypeNotSupportedException) Code() string
- func (s *ResourceTypeNotSupportedException) Error() string
- func (s ResourceTypeNotSupportedException) GoString() string
- func (s *ResourceTypeNotSupportedException) Message() string
- func (s *ResourceTypeNotSupportedException) OrigErr() error
- func (s *ResourceTypeNotSupportedException) RequestID() string
- func (s *ResourceTypeNotSupportedException) StatusCode() int
- func (s ResourceTypeNotSupportedException) String() string
- type RestoreEventDataStoreInput
- type RestoreEventDataStoreOutput
- func (s RestoreEventDataStoreOutput) GoString() string
- func (s *RestoreEventDataStoreOutput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *RestoreEventDataStoreOutput
- func (s *RestoreEventDataStoreOutput) SetCreatedTimestamp(v time.Time) *RestoreEventDataStoreOutput
- func (s *RestoreEventDataStoreOutput) SetEventDataStoreArn(v string) *RestoreEventDataStoreOutput
- func (s *RestoreEventDataStoreOutput) SetKmsKeyId(v string) *RestoreEventDataStoreOutput
- func (s *RestoreEventDataStoreOutput) SetMultiRegionEnabled(v bool) *RestoreEventDataStoreOutput
- func (s *RestoreEventDataStoreOutput) SetName(v string) *RestoreEventDataStoreOutput
- func (s *RestoreEventDataStoreOutput) SetOrganizationEnabled(v bool) *RestoreEventDataStoreOutput
- func (s *RestoreEventDataStoreOutput) SetRetentionPeriod(v int64) *RestoreEventDataStoreOutput
- func (s *RestoreEventDataStoreOutput) SetStatus(v string) *RestoreEventDataStoreOutput
- func (s *RestoreEventDataStoreOutput) SetTerminationProtectionEnabled(v bool) *RestoreEventDataStoreOutput
- func (s *RestoreEventDataStoreOutput) SetUpdatedTimestamp(v time.Time) *RestoreEventDataStoreOutput
- func (s RestoreEventDataStoreOutput) String() string
- type S3BucketDoesNotExistException
- func (s *S3BucketDoesNotExistException) Code() string
- func (s *S3BucketDoesNotExistException) Error() string
- func (s S3BucketDoesNotExistException) GoString() string
- func (s *S3BucketDoesNotExistException) Message() string
- func (s *S3BucketDoesNotExistException) OrigErr() error
- func (s *S3BucketDoesNotExistException) RequestID() string
- func (s *S3BucketDoesNotExistException) StatusCode() int
- func (s S3BucketDoesNotExistException) String() string
- type S3ImportSource
- func (s S3ImportSource) GoString() string
- func (s *S3ImportSource) SetS3BucketAccessRoleArn(v string) *S3ImportSource
- func (s *S3ImportSource) SetS3BucketRegion(v string) *S3ImportSource
- func (s *S3ImportSource) SetS3LocationUri(v string) *S3ImportSource
- func (s S3ImportSource) String() string
- func (s *S3ImportSource) Validate() error
- type SourceConfig
- type StartEventDataStoreIngestionInput
- type StartEventDataStoreIngestionOutput
- type StartImportInput
- func (s StartImportInput) GoString() string
- func (s *StartImportInput) SetDestinations(v []*string) *StartImportInput
- func (s *StartImportInput) SetEndEventTime(v time.Time) *StartImportInput
- func (s *StartImportInput) SetImportId(v string) *StartImportInput
- func (s *StartImportInput) SetImportSource(v *ImportSource) *StartImportInput
- func (s *StartImportInput) SetStartEventTime(v time.Time) *StartImportInput
- func (s StartImportInput) String() string
- func (s *StartImportInput) Validate() error
- type StartImportOutput
- func (s StartImportOutput) GoString() string
- func (s *StartImportOutput) SetCreatedTimestamp(v time.Time) *StartImportOutput
- func (s *StartImportOutput) SetDestinations(v []*string) *StartImportOutput
- func (s *StartImportOutput) SetEndEventTime(v time.Time) *StartImportOutput
- func (s *StartImportOutput) SetImportId(v string) *StartImportOutput
- func (s *StartImportOutput) SetImportSource(v *ImportSource) *StartImportOutput
- func (s *StartImportOutput) SetImportStatus(v string) *StartImportOutput
- func (s *StartImportOutput) SetStartEventTime(v time.Time) *StartImportOutput
- func (s *StartImportOutput) SetUpdatedTimestamp(v time.Time) *StartImportOutput
- func (s StartImportOutput) String() string
- type StartLoggingInput
- type StartLoggingOutput
- type StartQueryInput
- func (s StartQueryInput) GoString() string
- func (s *StartQueryInput) SetDeliveryS3Uri(v string) *StartQueryInput
- func (s *StartQueryInput) SetQueryAlias(v string) *StartQueryInput
- func (s *StartQueryInput) SetQueryParameters(v []*string) *StartQueryInput
- func (s *StartQueryInput) SetQueryStatement(v string) *StartQueryInput
- func (s StartQueryInput) String() string
- func (s *StartQueryInput) Validate() error
- type StartQueryOutput
- type StopEventDataStoreIngestionInput
- type StopEventDataStoreIngestionOutput
- type StopImportInput
- type StopImportOutput
- func (s StopImportOutput) GoString() string
- func (s *StopImportOutput) SetCreatedTimestamp(v time.Time) *StopImportOutput
- func (s *StopImportOutput) SetDestinations(v []*string) *StopImportOutput
- func (s *StopImportOutput) SetEndEventTime(v time.Time) *StopImportOutput
- func (s *StopImportOutput) SetImportId(v string) *StopImportOutput
- func (s *StopImportOutput) SetImportSource(v *ImportSource) *StopImportOutput
- func (s *StopImportOutput) SetImportStatistics(v *ImportStatistics) *StopImportOutput
- func (s *StopImportOutput) SetImportStatus(v string) *StopImportOutput
- func (s *StopImportOutput) SetStartEventTime(v time.Time) *StopImportOutput
- func (s *StopImportOutput) SetUpdatedTimestamp(v time.Time) *StopImportOutput
- func (s StopImportOutput) String() string
- type StopLoggingInput
- type StopLoggingOutput
- type Tag
- type TagsLimitExceededException
- func (s *TagsLimitExceededException) Code() string
- func (s *TagsLimitExceededException) Error() string
- func (s TagsLimitExceededException) GoString() string
- func (s *TagsLimitExceededException) Message() string
- func (s *TagsLimitExceededException) OrigErr() error
- func (s *TagsLimitExceededException) RequestID() string
- func (s *TagsLimitExceededException) StatusCode() int
- func (s TagsLimitExceededException) String() string
- type Trail
- func (s Trail) GoString() string
- func (s *Trail) SetCloudWatchLogsLogGroupArn(v string) *Trail
- func (s *Trail) SetCloudWatchLogsRoleArn(v string) *Trail
- func (s *Trail) SetHasCustomEventSelectors(v bool) *Trail
- func (s *Trail) SetHasInsightSelectors(v bool) *Trail
- func (s *Trail) SetHomeRegion(v string) *Trail
- func (s *Trail) SetIncludeGlobalServiceEvents(v bool) *Trail
- func (s *Trail) SetIsMultiRegionTrail(v bool) *Trail
- func (s *Trail) SetIsOrganizationTrail(v bool) *Trail
- func (s *Trail) SetKmsKeyId(v string) *Trail
- func (s *Trail) SetLogFileValidationEnabled(v bool) *Trail
- func (s *Trail) SetName(v string) *Trail
- func (s *Trail) SetS3BucketName(v string) *Trail
- func (s *Trail) SetS3KeyPrefix(v string) *Trail
- func (s *Trail) SetSnsTopicARN(v string) *Trail
- func (s *Trail) SetSnsTopicName(v string) *Trail
- func (s *Trail) SetTrailARN(v string) *Trail
- func (s Trail) String() string
- type TrailAlreadyExistsException
- func (s *TrailAlreadyExistsException) Code() string
- func (s *TrailAlreadyExistsException) Error() string
- func (s TrailAlreadyExistsException) GoString() string
- func (s *TrailAlreadyExistsException) Message() string
- func (s *TrailAlreadyExistsException) OrigErr() error
- func (s *TrailAlreadyExistsException) RequestID() string
- func (s *TrailAlreadyExistsException) StatusCode() int
- func (s TrailAlreadyExistsException) String() string
- type TrailInfo
- type TrailNotFoundException
- func (s *TrailNotFoundException) Code() string
- func (s *TrailNotFoundException) Error() string
- func (s TrailNotFoundException) GoString() string
- func (s *TrailNotFoundException) Message() string
- func (s *TrailNotFoundException) OrigErr() error
- func (s *TrailNotFoundException) RequestID() string
- func (s *TrailNotFoundException) StatusCode() int
- func (s TrailNotFoundException) String() string
- type TrailNotProvidedException
- func (s *TrailNotProvidedException) Code() string
- func (s *TrailNotProvidedException) Error() string
- func (s TrailNotProvidedException) GoString() string
- func (s *TrailNotProvidedException) Message() string
- func (s *TrailNotProvidedException) OrigErr() error
- func (s *TrailNotProvidedException) RequestID() string
- func (s *TrailNotProvidedException) StatusCode() int
- func (s TrailNotProvidedException) String() string
- type UnsupportedOperationException
- func (s *UnsupportedOperationException) Code() string
- func (s *UnsupportedOperationException) Error() string
- func (s UnsupportedOperationException) GoString() string
- func (s *UnsupportedOperationException) Message() string
- func (s *UnsupportedOperationException) OrigErr() error
- func (s *UnsupportedOperationException) RequestID() string
- func (s *UnsupportedOperationException) StatusCode() int
- func (s UnsupportedOperationException) String() string
- type UpdateChannelInput
- func (s UpdateChannelInput) GoString() string
- func (s *UpdateChannelInput) SetChannel(v string) *UpdateChannelInput
- func (s *UpdateChannelInput) SetDestinations(v []*Destination) *UpdateChannelInput
- func (s *UpdateChannelInput) SetName(v string) *UpdateChannelInput
- func (s UpdateChannelInput) String() string
- func (s *UpdateChannelInput) Validate() error
- type UpdateChannelOutput
- func (s UpdateChannelOutput) GoString() string
- func (s *UpdateChannelOutput) SetChannelArn(v string) *UpdateChannelOutput
- func (s *UpdateChannelOutput) SetDestinations(v []*Destination) *UpdateChannelOutput
- func (s *UpdateChannelOutput) SetName(v string) *UpdateChannelOutput
- func (s *UpdateChannelOutput) SetSource(v string) *UpdateChannelOutput
- func (s UpdateChannelOutput) String() string
- type UpdateEventDataStoreInput
- func (s UpdateEventDataStoreInput) GoString() string
- func (s *UpdateEventDataStoreInput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *UpdateEventDataStoreInput
- func (s *UpdateEventDataStoreInput) SetEventDataStore(v string) *UpdateEventDataStoreInput
- func (s *UpdateEventDataStoreInput) SetKmsKeyId(v string) *UpdateEventDataStoreInput
- func (s *UpdateEventDataStoreInput) SetMultiRegionEnabled(v bool) *UpdateEventDataStoreInput
- func (s *UpdateEventDataStoreInput) SetName(v string) *UpdateEventDataStoreInput
- func (s *UpdateEventDataStoreInput) SetOrganizationEnabled(v bool) *UpdateEventDataStoreInput
- func (s *UpdateEventDataStoreInput) SetRetentionPeriod(v int64) *UpdateEventDataStoreInput
- func (s *UpdateEventDataStoreInput) SetTerminationProtectionEnabled(v bool) *UpdateEventDataStoreInput
- func (s UpdateEventDataStoreInput) String() string
- func (s *UpdateEventDataStoreInput) Validate() error
- type UpdateEventDataStoreOutput
- func (s UpdateEventDataStoreOutput) GoString() string
- func (s *UpdateEventDataStoreOutput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *UpdateEventDataStoreOutput
- func (s *UpdateEventDataStoreOutput) SetCreatedTimestamp(v time.Time) *UpdateEventDataStoreOutput
- func (s *UpdateEventDataStoreOutput) SetEventDataStoreArn(v string) *UpdateEventDataStoreOutput
- func (s *UpdateEventDataStoreOutput) SetKmsKeyId(v string) *UpdateEventDataStoreOutput
- func (s *UpdateEventDataStoreOutput) SetMultiRegionEnabled(v bool) *UpdateEventDataStoreOutput
- func (s *UpdateEventDataStoreOutput) SetName(v string) *UpdateEventDataStoreOutput
- func (s *UpdateEventDataStoreOutput) SetOrganizationEnabled(v bool) *UpdateEventDataStoreOutput
- func (s *UpdateEventDataStoreOutput) SetRetentionPeriod(v int64) *UpdateEventDataStoreOutput
- func (s *UpdateEventDataStoreOutput) SetStatus(v string) *UpdateEventDataStoreOutput
- func (s *UpdateEventDataStoreOutput) SetTerminationProtectionEnabled(v bool) *UpdateEventDataStoreOutput
- func (s *UpdateEventDataStoreOutput) SetUpdatedTimestamp(v time.Time) *UpdateEventDataStoreOutput
- func (s UpdateEventDataStoreOutput) String() string
- type UpdateTrailInput
- func (s UpdateTrailInput) GoString() string
- func (s *UpdateTrailInput) SetCloudWatchLogsLogGroupArn(v string) *UpdateTrailInput
- func (s *UpdateTrailInput) SetCloudWatchLogsRoleArn(v string) *UpdateTrailInput
- func (s *UpdateTrailInput) SetEnableLogFileValidation(v bool) *UpdateTrailInput
- func (s *UpdateTrailInput) SetIncludeGlobalServiceEvents(v bool) *UpdateTrailInput
- func (s *UpdateTrailInput) SetIsMultiRegionTrail(v bool) *UpdateTrailInput
- func (s *UpdateTrailInput) SetIsOrganizationTrail(v bool) *UpdateTrailInput
- func (s *UpdateTrailInput) SetKmsKeyId(v string) *UpdateTrailInput
- func (s *UpdateTrailInput) SetName(v string) *UpdateTrailInput
- func (s *UpdateTrailInput) SetS3BucketName(v string) *UpdateTrailInput
- func (s *UpdateTrailInput) SetS3KeyPrefix(v string) *UpdateTrailInput
- func (s *UpdateTrailInput) SetSnsTopicName(v string) *UpdateTrailInput
- func (s UpdateTrailInput) String() string
- func (s *UpdateTrailInput) Validate() error
- type UpdateTrailOutput
- func (s UpdateTrailOutput) GoString() string
- func (s *UpdateTrailOutput) SetCloudWatchLogsLogGroupArn(v string) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetCloudWatchLogsRoleArn(v string) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetIncludeGlobalServiceEvents(v bool) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetIsMultiRegionTrail(v bool) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetIsOrganizationTrail(v bool) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetKmsKeyId(v string) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetLogFileValidationEnabled(v bool) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetName(v string) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetS3BucketName(v string) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetS3KeyPrefix(v string) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetSnsTopicARN(v string) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetSnsTopicName(v string) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetTrailARN(v string) *UpdateTrailOutput
- func (s UpdateTrailOutput) String() string
Constants ¶
const ( // DeliveryStatusSuccess is a DeliveryStatus enum value DeliveryStatusSuccess = "SUCCESS" // DeliveryStatusFailed is a DeliveryStatus enum value DeliveryStatusFailed = "FAILED" // DeliveryStatusFailedSigningFile is a DeliveryStatus enum value DeliveryStatusFailedSigningFile = "FAILED_SIGNING_FILE" // DeliveryStatusPending is a DeliveryStatus enum value DeliveryStatusPending = "PENDING" // DeliveryStatusResourceNotFound is a DeliveryStatus enum value DeliveryStatusResourceNotFound = "RESOURCE_NOT_FOUND" // DeliveryStatusAccessDenied is a DeliveryStatus enum value DeliveryStatusAccessDenied = "ACCESS_DENIED" // DeliveryStatusAccessDeniedSigningFile is a DeliveryStatus enum value DeliveryStatusAccessDeniedSigningFile = "ACCESS_DENIED_SIGNING_FILE" // DeliveryStatusCancelled is a DeliveryStatus enum value DeliveryStatusCancelled = "CANCELLED" // DeliveryStatusUnknown is a DeliveryStatus enum value DeliveryStatusUnknown = "UNKNOWN" )
const ( // DestinationTypeEventDataStore is a DestinationType enum value DestinationTypeEventDataStore = "EVENT_DATA_STORE" // DestinationTypeAwsService is a DestinationType enum value DestinationTypeAwsService = "AWS_SERVICE" )
const ( // EventDataStoreStatusCreated is a EventDataStoreStatus enum value EventDataStoreStatusCreated = "CREATED" // EventDataStoreStatusEnabled is a EventDataStoreStatus enum value EventDataStoreStatusEnabled = "ENABLED" // EventDataStoreStatusPendingDeletion is a EventDataStoreStatus enum value EventDataStoreStatusPendingDeletion = "PENDING_DELETION" // EventDataStoreStatusStartingIngestion is a EventDataStoreStatus enum value EventDataStoreStatusStartingIngestion = "STARTING_INGESTION" // EventDataStoreStatusStoppingIngestion is a EventDataStoreStatus enum value EventDataStoreStatusStoppingIngestion = "STOPPING_INGESTION" // EventDataStoreStatusStoppedIngestion is a EventDataStoreStatus enum value EventDataStoreStatusStoppedIngestion = "STOPPED_INGESTION" )
const ( // ImportFailureStatusFailed is a ImportFailureStatus enum value ImportFailureStatusFailed = "FAILED" // ImportFailureStatusRetry is a ImportFailureStatus enum value ImportFailureStatusRetry = "RETRY" // ImportFailureStatusSucceeded is a ImportFailureStatus enum value ImportFailureStatusSucceeded = "SUCCEEDED" )
const ( // ImportStatusInitializing is a ImportStatus enum value ImportStatusInitializing = "INITIALIZING" // ImportStatusInProgress is a ImportStatus enum value ImportStatusInProgress = "IN_PROGRESS" // ImportStatusFailed is a ImportStatus enum value ImportStatusFailed = "FAILED" // ImportStatusStopped is a ImportStatus enum value ImportStatusStopped = "STOPPED" // ImportStatusCompleted is a ImportStatus enum value ImportStatusCompleted = "COMPLETED" )
const ( // InsightTypeApiCallRateInsight is a InsightType enum value InsightTypeApiCallRateInsight = "ApiCallRateInsight" // InsightTypeApiErrorRateInsight is a InsightType enum value InsightTypeApiErrorRateInsight = "ApiErrorRateInsight" )
const ( // LookupAttributeKeyEventId is a LookupAttributeKey enum value LookupAttributeKeyEventId = "EventId" // LookupAttributeKeyEventName is a LookupAttributeKey enum value LookupAttributeKeyEventName = "EventName" // LookupAttributeKeyReadOnly is a LookupAttributeKey enum value LookupAttributeKeyReadOnly = "ReadOnly" // LookupAttributeKeyUsername is a LookupAttributeKey enum value LookupAttributeKeyUsername = "Username" // LookupAttributeKeyResourceType is a LookupAttributeKey enum value LookupAttributeKeyResourceType = "ResourceType" // LookupAttributeKeyResourceName is a LookupAttributeKey enum value LookupAttributeKeyResourceName = "ResourceName" // LookupAttributeKeyEventSource is a LookupAttributeKey enum value LookupAttributeKeyEventSource = "EventSource" // LookupAttributeKeyAccessKeyId is a LookupAttributeKey enum value LookupAttributeKeyAccessKeyId = "AccessKeyId" )
const ( // QueryStatusQueued is a QueryStatus enum value QueryStatusQueued = "QUEUED" // QueryStatusRunning is a QueryStatus enum value QueryStatusRunning = "RUNNING" // QueryStatusFinished is a QueryStatus enum value QueryStatusFinished = "FINISHED" // QueryStatusFailed is a QueryStatus enum value QueryStatusFailed = "FAILED" // QueryStatusCancelled is a QueryStatus enum value QueryStatusCancelled = "CANCELLED" // QueryStatusTimedOut is a QueryStatus enum value QueryStatusTimedOut = "TIMED_OUT" )
const ( // ReadWriteTypeReadOnly is a ReadWriteType enum value ReadWriteTypeReadOnly = "ReadOnly" // ReadWriteTypeWriteOnly is a ReadWriteType enum value ReadWriteTypeWriteOnly = "WriteOnly" // ReadWriteTypeAll is a ReadWriteType enum value ReadWriteTypeAll = "All" )
const ( // ErrCodeARNInvalidException for service response error code // "CloudTrailARNInvalidException". // // This exception is thrown when an operation is called with a trail ARN that // is not valid. The following is the format of a trail ARN. // // arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail // // This exception is also thrown when you call AddTags or RemoveTags on a trail, // event data store, or channel with a resource ARN that is not valid. // // The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE // // The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890 ErrCodeARNInvalidException = "CloudTrailARNInvalidException" // ErrCodeAccessNotEnabledException for service response error code // "CloudTrailAccessNotEnabledException". // // This exception is thrown when trusted access has not been enabled between // CloudTrail and Organizations. For more information, see Enabling Trusted // Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) // and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html). ErrCodeAccessNotEnabledException = "CloudTrailAccessNotEnabledException" // ErrCodeAccountHasOngoingImportException for service response error code // "AccountHasOngoingImportException". // // This exception is thrown when you start a new import and a previous import // is still in progress. ErrCodeAccountHasOngoingImportException = "AccountHasOngoingImportException" // ErrCodeAccountNotFoundException for service response error code // "AccountNotFoundException". // // This exception is thrown when the specified account is not found or not part // of an organization. ErrCodeAccountNotFoundException = "AccountNotFoundException" // ErrCodeAccountNotRegisteredException for service response error code // "AccountNotRegisteredException". // // This exception is thrown when the specified account is not registered as // the CloudTrail delegated administrator. ErrCodeAccountNotRegisteredException = "AccountNotRegisteredException" // ErrCodeAccountRegisteredException for service response error code // "AccountRegisteredException". // // This exception is thrown when the account is already registered as the CloudTrail // delegated administrator. ErrCodeAccountRegisteredException = "AccountRegisteredException" // ErrCodeCannotDelegateManagementAccountException for service response error code // "CannotDelegateManagementAccountException". // // This exception is thrown when the management account of an organization is // registered as the CloudTrail delegated administrator. ErrCodeCannotDelegateManagementAccountException = "CannotDelegateManagementAccountException" // ErrCodeChannelARNInvalidException for service response error code // "ChannelARNInvalidException". // // This exception is thrown when the specified value of ChannelARN is not valid. ErrCodeChannelARNInvalidException = "ChannelARNInvalidException" // ErrCodeChannelAlreadyExistsException for service response error code // "ChannelAlreadyExistsException". // // This exception is thrown when the provided channel already exists. ErrCodeChannelAlreadyExistsException = "ChannelAlreadyExistsException" // ErrCodeChannelExistsForEDSException for service response error code // "ChannelExistsForEDSException". // // This exception is thrown when the specified event data store cannot yet be // deleted because it is in use by a channel. ErrCodeChannelExistsForEDSException = "ChannelExistsForEDSException" // ErrCodeChannelMaxLimitExceededException for service response error code // "ChannelMaxLimitExceededException". // // This exception is thrown when the maximum number of channels limit is exceeded. ErrCodeChannelMaxLimitExceededException = "ChannelMaxLimitExceededException" // ErrCodeChannelNotFoundException for service response error code // "ChannelNotFoundException". // // This exception is thrown when CloudTrail cannot find the specified channel. ErrCodeChannelNotFoundException = "ChannelNotFoundException" // ErrCodeCloudTrailInvalidClientTokenIdException for service response error code // "CloudTrailInvalidClientTokenIdException". // // This exception is thrown when a call results in the InvalidClientTokenId // error code. This can occur when you are creating or updating a trail to send // notifications to an Amazon SNS topic that is in a suspended Amazon Web Services // account. ErrCodeCloudTrailInvalidClientTokenIdException = "CloudTrailInvalidClientTokenIdException" // "CloudWatchLogsDeliveryUnavailableException". // // Cannot set a CloudWatch Logs delivery for this Region. ErrCodeCloudWatchLogsDeliveryUnavailableException = "CloudWatchLogsDeliveryUnavailableException" // ErrCodeConflictException for service response error code // "ConflictException". // // This exception is thrown when the specified resource is not ready for an // operation. This can occur when you try to run an operation on a resource // before CloudTrail has time to fully load the resource, or because another // operation is modifying the resource. If this exception occurs, wait a few // minutes, and then try the operation again. ErrCodeConflictException = "ConflictException" // ErrCodeDelegatedAdminAccountLimitExceededException for service response error code // "DelegatedAdminAccountLimitExceededException". // // This exception is thrown when the maximum number of CloudTrail delegated // administrators is reached. ErrCodeDelegatedAdminAccountLimitExceededException = "DelegatedAdminAccountLimitExceededException" // ErrCodeEventDataStoreARNInvalidException for service response error code // "EventDataStoreARNInvalidException". // // The specified event data store ARN is not valid or does not map to an event // data store in your account. ErrCodeEventDataStoreARNInvalidException = "EventDataStoreARNInvalidException" // ErrCodeEventDataStoreAlreadyExistsException for service response error code // "EventDataStoreAlreadyExistsException". // // An event data store with that name already exists. ErrCodeEventDataStoreAlreadyExistsException = "EventDataStoreAlreadyExistsException" // ErrCodeEventDataStoreHasOngoingImportException for service response error code // "EventDataStoreHasOngoingImportException". // // This exception is thrown when you try to update or delete an event data store // that currently has an import in progress. ErrCodeEventDataStoreHasOngoingImportException = "EventDataStoreHasOngoingImportException" // ErrCodeEventDataStoreMaxLimitExceededException for service response error code // "EventDataStoreMaxLimitExceededException". // // Your account has used the maximum number of event data stores. ErrCodeEventDataStoreMaxLimitExceededException = "EventDataStoreMaxLimitExceededException" // ErrCodeEventDataStoreNotFoundException for service response error code // "EventDataStoreNotFoundException". // // The specified event data store was not found. ErrCodeEventDataStoreNotFoundException = "EventDataStoreNotFoundException" // ErrCodeEventDataStoreTerminationProtectedException for service response error code // "EventDataStoreTerminationProtectedException". // // The event data store cannot be deleted because termination protection is // enabled for it. ErrCodeEventDataStoreTerminationProtectedException = "EventDataStoreTerminationProtectedException" // ErrCodeImportNotFoundException for service response error code // "ImportNotFoundException". // // The specified import was not found. ErrCodeImportNotFoundException = "ImportNotFoundException" // ErrCodeInactiveEventDataStoreException for service response error code // "InactiveEventDataStoreException". // // The event data store is inactive. ErrCodeInactiveEventDataStoreException = "InactiveEventDataStoreException" // ErrCodeInactiveQueryException for service response error code // "InactiveQueryException". // // The specified query cannot be canceled because it is in the FINISHED, FAILED, // TIMED_OUT, or CANCELLED state. ErrCodeInactiveQueryException = "InactiveQueryException" // ErrCodeInsightNotEnabledException for service response error code // "InsightNotEnabledException". // // If you run GetInsightSelectors on a trail that does not have Insights events // enabled, the operation throws the exception InsightNotEnabledException. ErrCodeInsightNotEnabledException = "InsightNotEnabledException" // ErrCodeInsufficientDependencyServiceAccessPermissionException for service response error code // "InsufficientDependencyServiceAccessPermissionException". // // This exception is thrown when the IAM identity that is used to create the // organization resource lacks one or more required permissions for creating // an organization resource in a required service. ErrCodeInsufficientDependencyServiceAccessPermissionException = "InsufficientDependencyServiceAccessPermissionException" // ErrCodeInsufficientEncryptionPolicyException for service response error code // "InsufficientEncryptionPolicyException". // // This exception is thrown when the policy on the S3 bucket or KMS key does // not have sufficient permissions for the operation. ErrCodeInsufficientEncryptionPolicyException = "InsufficientEncryptionPolicyException" // ErrCodeInsufficientS3BucketPolicyException for service response error code // "InsufficientS3BucketPolicyException". // // This exception is thrown when the policy on the S3 bucket is not sufficient. ErrCodeInsufficientS3BucketPolicyException = "InsufficientS3BucketPolicyException" // ErrCodeInsufficientSnsTopicPolicyException for service response error code // "InsufficientSnsTopicPolicyException". // // This exception is thrown when the policy on the Amazon SNS topic is not sufficient. ErrCodeInsufficientSnsTopicPolicyException = "InsufficientSnsTopicPolicyException" // ErrCodeInvalidCloudWatchLogsLogGroupArnException for service response error code // "InvalidCloudWatchLogsLogGroupArnException". // // This exception is thrown when the provided CloudWatch Logs log group is not // valid. ErrCodeInvalidCloudWatchLogsLogGroupArnException = "InvalidCloudWatchLogsLogGroupArnException" // ErrCodeInvalidCloudWatchLogsRoleArnException for service response error code // "InvalidCloudWatchLogsRoleArnException". // // This exception is thrown when the provided role is not valid. ErrCodeInvalidCloudWatchLogsRoleArnException = "InvalidCloudWatchLogsRoleArnException" // ErrCodeInvalidDateRangeException for service response error code // "InvalidDateRangeException". // // A date range for the query was specified that is not valid. Be sure that // the start time is chronologically before the end time. For more information // about writing a query, see Create or edit a query (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html) // in the CloudTrail User Guide. ErrCodeInvalidDateRangeException = "InvalidDateRangeException" // ErrCodeInvalidEventCategoryException for service response error code // "InvalidEventCategoryException". // // Occurs if an event category that is not valid is specified as a value of // EventCategory. ErrCodeInvalidEventCategoryException = "InvalidEventCategoryException" // ErrCodeInvalidEventDataStoreCategoryException for service response error code // "InvalidEventDataStoreCategoryException". // // This exception is thrown when event categories of specified event data stores // are not valid. ErrCodeInvalidEventDataStoreCategoryException = "InvalidEventDataStoreCategoryException" // ErrCodeInvalidEventDataStoreStatusException for service response error code // "InvalidEventDataStoreStatusException". // // The event data store is not in a status that supports the operation. ErrCodeInvalidEventDataStoreStatusException = "InvalidEventDataStoreStatusException" // ErrCodeInvalidEventSelectorsException for service response error code // "InvalidEventSelectorsException". // // This exception is thrown when the PutEventSelectors operation is called with // a number of event selectors, advanced event selectors, or data resources // that is not valid. The combination of event selectors or advanced event selectors // and data resources is not valid. A trail can have up to 5 event selectors. // If a trail uses advanced event selectors, a maximum of 500 total values for // all conditions in all advanced event selectors is allowed. A trail is limited // to 250 data resources. These data resources can be distributed across event // selectors, but the overall total cannot exceed 250. // // You can: // // * Specify a valid number of event selectors (1 to 5) for a trail. // // * Specify a valid number of data resources (1 to 250) for an event selector. // The limit of number of resources on an individual event selector is configurable // up to 250. However, this upper limit is allowed only if the total number // of data resources does not exceed 250 across all event selectors for a // trail. // // * Specify up to 500 values for all conditions in all advanced event selectors // for a trail. // // * Specify a valid value for a parameter. For example, specifying the ReadWriteType // parameter with a value of read-only is not valid. ErrCodeInvalidEventSelectorsException = "InvalidEventSelectorsException" // ErrCodeInvalidHomeRegionException for service response error code // "InvalidHomeRegionException". // // This exception is thrown when an operation is called on a trail from a Region // other than the Region in which the trail was created. ErrCodeInvalidHomeRegionException = "InvalidHomeRegionException" // ErrCodeInvalidImportSourceException for service response error code // "InvalidImportSourceException". // // This exception is thrown when the provided source S3 bucket is not valid // for import. ErrCodeInvalidImportSourceException = "InvalidImportSourceException" // ErrCodeInvalidInsightSelectorsException for service response error code // "InvalidInsightSelectorsException". // // The formatting or syntax of the InsightSelectors JSON statement in your PutInsightSelectors // or GetInsightSelectors request is not valid, or the specified insight type // in the InsightSelectors statement is not a valid insight type. ErrCodeInvalidInsightSelectorsException = "InvalidInsightSelectorsException" // ErrCodeInvalidKmsKeyIdException for service response error code // "InvalidKmsKeyIdException". // // This exception is thrown when the KMS key ARN is not valid. ErrCodeInvalidKmsKeyIdException = "InvalidKmsKeyIdException" // ErrCodeInvalidLookupAttributesException for service response error code // "InvalidLookupAttributesException". // // Occurs when a lookup attribute is specified that is not valid. ErrCodeInvalidLookupAttributesException = "InvalidLookupAttributesException" // ErrCodeInvalidMaxResultsException for service response error code // "InvalidMaxResultsException". // // This exception is thrown if the limit specified is not valid. ErrCodeInvalidMaxResultsException = "InvalidMaxResultsException" // ErrCodeInvalidNextTokenException for service response error code // "InvalidNextTokenException". // // A token that is not valid, or a token that was previously used in a request // with different parameters. This exception is thrown if the token is not valid. ErrCodeInvalidNextTokenException = "InvalidNextTokenException" // ErrCodeInvalidParameterCombinationException for service response error code // "InvalidParameterCombinationException". // // This exception is thrown when the combination of parameters provided is not // valid. ErrCodeInvalidParameterCombinationException = "InvalidParameterCombinationException" // ErrCodeInvalidParameterException for service response error code // "InvalidParameterException". // // The request includes a parameter that is not valid. ErrCodeInvalidParameterException = "InvalidParameterException" // ErrCodeInvalidQueryStatementException for service response error code // "InvalidQueryStatementException". // // The query that was submitted has validation errors, or uses incorrect syntax // or unsupported keywords. For more information about writing a query, see // Create or edit a query (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html) // in the CloudTrail User Guide. ErrCodeInvalidQueryStatementException = "InvalidQueryStatementException" // ErrCodeInvalidQueryStatusException for service response error code // "InvalidQueryStatusException". // // The query status is not valid for the operation. ErrCodeInvalidQueryStatusException = "InvalidQueryStatusException" // ErrCodeInvalidS3BucketNameException for service response error code // "InvalidS3BucketNameException". // // This exception is thrown when the provided S3 bucket name is not valid. ErrCodeInvalidS3BucketNameException = "InvalidS3BucketNameException" // ErrCodeInvalidS3PrefixException for service response error code // "InvalidS3PrefixException". // // This exception is thrown when the provided S3 prefix is not valid. ErrCodeInvalidS3PrefixException = "InvalidS3PrefixException" // ErrCodeInvalidSnsTopicNameException for service response error code // "InvalidSnsTopicNameException". // // This exception is thrown when the provided SNS topic name is not valid. ErrCodeInvalidSnsTopicNameException = "InvalidSnsTopicNameException" // ErrCodeInvalidSourceException for service response error code // "InvalidSourceException". // // This exception is thrown when the specified value of Source is not valid. ErrCodeInvalidSourceException = "InvalidSourceException" // ErrCodeInvalidTagParameterException for service response error code // "InvalidTagParameterException". // // This exception is thrown when the specified tag key or values are not valid. // It can also occur if there are duplicate tags or too many tags on the resource. ErrCodeInvalidTagParameterException = "InvalidTagParameterException" // ErrCodeInvalidTimeRangeException for service response error code // "InvalidTimeRangeException". // // Occurs if the timestamp values are not valid. Either the start time occurs // after the end time, or the time range is outside the range of possible values. ErrCodeInvalidTimeRangeException = "InvalidTimeRangeException" // ErrCodeInvalidTokenException for service response error code // "InvalidTokenException". // // Reserved for future use. ErrCodeInvalidTokenException = "InvalidTokenException" // ErrCodeInvalidTrailNameException for service response error code // "InvalidTrailNameException". // // This exception is thrown when the provided trail name is not valid. Trail // names must meet the following requirements: // // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores // (_), or dashes (-) // // * Start with a letter or number, and end with a letter or number // // * Be between 3 and 128 characters // // * Have no adjacent periods, underscores or dashes. Names like my-_namespace // and my--namespace are not valid. // // * Not be in IP address format (for example, 192.168.5.4) ErrCodeInvalidTrailNameException = "InvalidTrailNameException" // ErrCodeKmsException for service response error code // "KmsException". // // This exception is thrown when there is an issue with the specified KMS key // and the trail or event data store can't be updated. ErrCodeKmsException = "KmsException" // ErrCodeKmsKeyDisabledException for service response error code // "KmsKeyDisabledException". // // This exception is no longer in use. ErrCodeKmsKeyDisabledException = "KmsKeyDisabledException" // ErrCodeKmsKeyNotFoundException for service response error code // "KmsKeyNotFoundException". // // This exception is thrown when the KMS key does not exist, when the S3 bucket // and the KMS key are not in the same Region, or when the KMS key associated // with the Amazon SNS topic either does not exist or is not in the same Region. ErrCodeKmsKeyNotFoundException = "KmsKeyNotFoundException" // ErrCodeMaxConcurrentQueriesException for service response error code // "MaxConcurrentQueriesException". // // You are already running the maximum number of concurrent queries. Wait a // minute for some queries to finish, and then run the query again. ErrCodeMaxConcurrentQueriesException = "MaxConcurrentQueriesException" // ErrCodeMaximumNumberOfTrailsExceededException for service response error code // "MaximumNumberOfTrailsExceededException". // // This exception is thrown when the maximum number of trails is reached. ErrCodeMaximumNumberOfTrailsExceededException = "MaximumNumberOfTrailsExceededException" // ErrCodeNoManagementAccountSLRExistsException for service response error code // "NoManagementAccountSLRExistsException". // // This exception is thrown when the management account does not have a service-linked // role. ErrCodeNoManagementAccountSLRExistsException = "NoManagementAccountSLRExistsException" // ErrCodeNotOrganizationManagementAccountException for service response error code // "NotOrganizationManagementAccountException". // // This exception is thrown when the account making the request is not the organization's // management account. ErrCodeNotOrganizationManagementAccountException = "NotOrganizationManagementAccountException" // ErrCodeNotOrganizationMasterAccountException for service response error code // "NotOrganizationMasterAccountException". // // This exception is thrown when the Amazon Web Services account making the // request to create or update an organization trail or event data store is // not the management account for an organization in Organizations. For more // information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) // or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). ErrCodeNotOrganizationMasterAccountException = "NotOrganizationMasterAccountException" // ErrCodeOperationNotPermittedException for service response error code // "OperationNotPermittedException". // // This exception is thrown when the requested operation is not permitted. ErrCodeOperationNotPermittedException = "OperationNotPermittedException" // ErrCodeOrganizationNotInAllFeaturesModeException for service response error code // "OrganizationNotInAllFeaturesModeException". // // This exception is thrown when Organizations is not configured to support // all features. All features must be enabled in Organizations to support creating // an organization trail or event data store. ErrCodeOrganizationNotInAllFeaturesModeException = "OrganizationNotInAllFeaturesModeException" // ErrCodeOrganizationsNotInUseException for service response error code // "OrganizationsNotInUseException". // // This exception is thrown when the request is made from an Amazon Web Services // account that is not a member of an organization. To make this request, sign // in using the credentials of an account that belongs to an organization. ErrCodeOrganizationsNotInUseException = "OrganizationsNotInUseException" // ErrCodeQueryIdNotFoundException for service response error code // "QueryIdNotFoundException". // // The query ID does not exist or does not map to a query. ErrCodeQueryIdNotFoundException = "QueryIdNotFoundException" // ErrCodeResourceARNNotValidException for service response error code // "ResourceARNNotValidException". // // This exception is thrown when the provided resource does not exist, or the // ARN format of the resource is not valid. The following is the valid format // for a resource ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel. ErrCodeResourceARNNotValidException = "ResourceARNNotValidException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // This exception is thrown when the specified resource is not found. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeResourcePolicyNotFoundException for service response error code // "ResourcePolicyNotFoundException". // // This exception is thrown when the specified resource policy is not found. ErrCodeResourcePolicyNotFoundException = "ResourcePolicyNotFoundException" // ErrCodeResourcePolicyNotValidException for service response error code // "ResourcePolicyNotValidException". // // This exception is thrown when the resouce-based policy has syntax errors, // or contains a principal that is not valid. // // The following are requirements for the resource policy: // // * Contains only one action: cloudtrail-data:PutAuditEvents // // * Contains at least one statement. The policy can have a maximum of 20 // statements. // // * Each statement contains at least one principal. A statement can have // a maximum of 50 principals. ErrCodeResourcePolicyNotValidException = "ResourcePolicyNotValidException" // ErrCodeResourceTypeNotSupportedException for service response error code // "ResourceTypeNotSupportedException". // // This exception is thrown when the specified resource type is not supported // by CloudTrail. ErrCodeResourceTypeNotSupportedException = "ResourceTypeNotSupportedException" // ErrCodeS3BucketDoesNotExistException for service response error code // "S3BucketDoesNotExistException". // // This exception is thrown when the specified S3 bucket does not exist. ErrCodeS3BucketDoesNotExistException = "S3BucketDoesNotExistException" // ErrCodeTagsLimitExceededException for service response error code // "TagsLimitExceededException". // // The number of tags per trail, event data store, or channel has exceeded the // permitted amount. Currently, the limit is 50. ErrCodeTagsLimitExceededException = "TagsLimitExceededException" // ErrCodeTrailAlreadyExistsException for service response error code // "TrailAlreadyExistsException". // // This exception is thrown when the specified trail already exists. ErrCodeTrailAlreadyExistsException = "TrailAlreadyExistsException" // ErrCodeTrailNotFoundException for service response error code // "TrailNotFoundException". // // This exception is thrown when the trail with the given name is not found. ErrCodeTrailNotFoundException = "TrailNotFoundException" // ErrCodeTrailNotProvidedException for service response error code // "TrailNotProvidedException". // // This exception is no longer in use. ErrCodeTrailNotProvidedException = "TrailNotProvidedException" // ErrCodeUnsupportedOperationException for service response error code // "UnsupportedOperationException". // // This exception is thrown when the requested operation is not supported. ErrCodeUnsupportedOperationException = "UnsupportedOperationException" )
const ( ServiceName = "cloudtrail" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "CloudTrail" // ServiceID is a unique identifier of a specific service. )
Service information constants
const (
// EventCategoryInsight is a EventCategory enum value
EventCategoryInsight = "insight"
)
Variables ¶
This section is empty.
Functions ¶
func DeliveryStatus_Values ¶ added in v1.42.9
func DeliveryStatus_Values() []string
DeliveryStatus_Values returns all elements of the DeliveryStatus enum
func DestinationType_Values ¶ added in v1.42.9
func DestinationType_Values() []string
DestinationType_Values returns all elements of the DestinationType enum
func EventCategory_Values ¶
func EventCategory_Values() []string
EventCategory_Values returns all elements of the EventCategory enum
func EventDataStoreStatus_Values ¶ added in v1.42.9
func EventDataStoreStatus_Values() []string
EventDataStoreStatus_Values returns all elements of the EventDataStoreStatus enum
func ImportFailureStatus_Values ¶ added in v1.42.9
func ImportFailureStatus_Values() []string
ImportFailureStatus_Values returns all elements of the ImportFailureStatus enum
func ImportStatus_Values ¶ added in v1.42.9
func ImportStatus_Values() []string
ImportStatus_Values returns all elements of the ImportStatus enum
func InsightType_Values ¶
func InsightType_Values() []string
InsightType_Values returns all elements of the InsightType enum
func LookupAttributeKey_Values ¶
func LookupAttributeKey_Values() []string
LookupAttributeKey_Values returns all elements of the LookupAttributeKey enum
func QueryStatus_Values ¶ added in v1.42.9
func QueryStatus_Values() []string
QueryStatus_Values returns all elements of the QueryStatus enum
func ReadWriteType_Values ¶
func ReadWriteType_Values() []string
ReadWriteType_Values returns all elements of the ReadWriteType enum
Types ¶
type ARNInvalidException ¶
type ARNInvalidException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when an operation is called with a trail ARN that is not valid. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
This exception is also thrown when you call AddTags or RemoveTags on a trail, event data store, or channel with a resource ARN that is not valid.
The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
func (*ARNInvalidException) Code ¶
func (s *ARNInvalidException) Code() string
Code returns the exception type name.
func (*ARNInvalidException) Error ¶
func (s *ARNInvalidException) Error() string
func (ARNInvalidException) GoString ¶
func (s ARNInvalidException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ARNInvalidException) Message ¶
func (s *ARNInvalidException) Message() string
Message returns the exception's message.
func (*ARNInvalidException) OrigErr ¶
func (s *ARNInvalidException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ARNInvalidException) RequestID ¶
func (s *ARNInvalidException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ARNInvalidException) StatusCode ¶
func (s *ARNInvalidException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ARNInvalidException) String ¶
func (s ARNInvalidException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AccessNotEnabledException ¶
type AccessNotEnabledException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see Enabling Trusted Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html).
func (*AccessNotEnabledException) Code ¶
func (s *AccessNotEnabledException) Code() string
Code returns the exception type name.
func (*AccessNotEnabledException) Error ¶
func (s *AccessNotEnabledException) Error() string
func (AccessNotEnabledException) GoString ¶
func (s AccessNotEnabledException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccessNotEnabledException) Message ¶
func (s *AccessNotEnabledException) Message() string
Message returns the exception's message.
func (*AccessNotEnabledException) OrigErr ¶
func (s *AccessNotEnabledException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccessNotEnabledException) RequestID ¶
func (s *AccessNotEnabledException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccessNotEnabledException) StatusCode ¶
func (s *AccessNotEnabledException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccessNotEnabledException) String ¶
func (s AccessNotEnabledException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AccountHasOngoingImportException ¶ added in v1.42.9
type AccountHasOngoingImportException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when you start a new import and a previous import is still in progress.
func (*AccountHasOngoingImportException) Code ¶ added in v1.42.9
func (s *AccountHasOngoingImportException) Code() string
Code returns the exception type name.
func (*AccountHasOngoingImportException) Error ¶ added in v1.42.9
func (s *AccountHasOngoingImportException) Error() string
func (AccountHasOngoingImportException) GoString ¶ added in v1.42.9
func (s AccountHasOngoingImportException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccountHasOngoingImportException) Message ¶ added in v1.42.9
func (s *AccountHasOngoingImportException) Message() string
Message returns the exception's message.
func (*AccountHasOngoingImportException) OrigErr ¶ added in v1.42.9
func (s *AccountHasOngoingImportException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccountHasOngoingImportException) RequestID ¶ added in v1.42.9
func (s *AccountHasOngoingImportException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccountHasOngoingImportException) StatusCode ¶ added in v1.42.9
func (s *AccountHasOngoingImportException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccountHasOngoingImportException) String ¶ added in v1.42.9
func (s AccountHasOngoingImportException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AccountNotFoundException ¶ added in v1.42.9
type AccountNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the specified account is not found or not part of an organization.
func (*AccountNotFoundException) Code ¶ added in v1.42.9
func (s *AccountNotFoundException) Code() string
Code returns the exception type name.
func (*AccountNotFoundException) Error ¶ added in v1.42.9
func (s *AccountNotFoundException) Error() string
func (AccountNotFoundException) GoString ¶ added in v1.42.9
func (s AccountNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccountNotFoundException) Message ¶ added in v1.42.9
func (s *AccountNotFoundException) Message() string
Message returns the exception's message.
func (*AccountNotFoundException) OrigErr ¶ added in v1.42.9
func (s *AccountNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccountNotFoundException) RequestID ¶ added in v1.42.9
func (s *AccountNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccountNotFoundException) StatusCode ¶ added in v1.42.9
func (s *AccountNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccountNotFoundException) String ¶ added in v1.42.9
func (s AccountNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AccountNotRegisteredException ¶ added in v1.42.9
type AccountNotRegisteredException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the specified account is not registered as the CloudTrail delegated administrator.
func (*AccountNotRegisteredException) Code ¶ added in v1.42.9
func (s *AccountNotRegisteredException) Code() string
Code returns the exception type name.
func (*AccountNotRegisteredException) Error ¶ added in v1.42.9
func (s *AccountNotRegisteredException) Error() string
func (AccountNotRegisteredException) GoString ¶ added in v1.42.9
func (s AccountNotRegisteredException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccountNotRegisteredException) Message ¶ added in v1.42.9
func (s *AccountNotRegisteredException) Message() string
Message returns the exception's message.
func (*AccountNotRegisteredException) OrigErr ¶ added in v1.42.9
func (s *AccountNotRegisteredException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccountNotRegisteredException) RequestID ¶ added in v1.42.9
func (s *AccountNotRegisteredException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccountNotRegisteredException) StatusCode ¶ added in v1.42.9
func (s *AccountNotRegisteredException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccountNotRegisteredException) String ¶ added in v1.42.9
func (s AccountNotRegisteredException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AccountRegisteredException ¶ added in v1.42.9
type AccountRegisteredException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the account is already registered as the CloudTrail delegated administrator.
func (*AccountRegisteredException) Code ¶ added in v1.42.9
func (s *AccountRegisteredException) Code() string
Code returns the exception type name.
func (*AccountRegisteredException) Error ¶ added in v1.42.9
func (s *AccountRegisteredException) Error() string
func (AccountRegisteredException) GoString ¶ added in v1.42.9
func (s AccountRegisteredException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccountRegisteredException) Message ¶ added in v1.42.9
func (s *AccountRegisteredException) Message() string
Message returns the exception's message.
func (*AccountRegisteredException) OrigErr ¶ added in v1.42.9
func (s *AccountRegisteredException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccountRegisteredException) RequestID ¶ added in v1.42.9
func (s *AccountRegisteredException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccountRegisteredException) StatusCode ¶ added in v1.42.9
func (s *AccountRegisteredException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccountRegisteredException) String ¶ added in v1.42.9
func (s AccountRegisteredException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AddTagsInput ¶
type AddTagsInput struct { // Specifies the ARN of the trail, event data store, or channel to which one // or more tags will be added. // // The format of a trail ARN is: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail // // The format of an event data store ARN is: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE // // The format of a channel ARN is: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890 // // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // Contains a list of tags, up to a limit of 50 // // TagsList is a required field TagsList []*Tag `type:"list" required:"true"` // contains filtered or unexported fields }
Specifies the tags to add to a trail, event data store, or channel.
func (AddTagsInput) GoString ¶
func (s AddTagsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AddTagsInput) SetResourceId ¶
func (s *AddTagsInput) SetResourceId(v string) *AddTagsInput
SetResourceId sets the ResourceId field's value.
func (*AddTagsInput) SetTagsList ¶
func (s *AddTagsInput) SetTagsList(v []*Tag) *AddTagsInput
SetTagsList sets the TagsList field's value.
func (AddTagsInput) String ¶
func (s AddTagsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AddTagsInput) Validate ¶
func (s *AddTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddTagsOutput ¶
type AddTagsOutput struct {
// contains filtered or unexported fields
}
Returns the objects or data if successful. Otherwise, returns an error.
func (AddTagsOutput) GoString ¶
func (s AddTagsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (AddTagsOutput) String ¶
func (s AddTagsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AdvancedEventSelector ¶
type AdvancedEventSelector struct { // Contains all selector statements in an advanced event selector. // // FieldSelectors is a required field FieldSelectors []*AdvancedFieldSelector `min:"1" type:"list" required:"true"` // An optional, descriptive name for an advanced event selector, such as "Log // data events for only two S3 buckets". Name *string `type:"string"` // contains filtered or unexported fields }
Advanced event selectors let you create fine-grained selectors for the following CloudTrail event record fields. They help you control costs by logging only those events that are important to you. For more information about advanced event selectors, see Logging data events (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html) in the CloudTrail User Guide.
readOnly
eventSource
eventName
eventCategory
resources.type
resources.ARN
You cannot apply both event selectors and advanced event selectors to a trail.
func (AdvancedEventSelector) GoString ¶
func (s AdvancedEventSelector) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AdvancedEventSelector) SetFieldSelectors ¶
func (s *AdvancedEventSelector) SetFieldSelectors(v []*AdvancedFieldSelector) *AdvancedEventSelector
SetFieldSelectors sets the FieldSelectors field's value.
func (*AdvancedEventSelector) SetName ¶
func (s *AdvancedEventSelector) SetName(v string) *AdvancedEventSelector
SetName sets the Name field's value.
func (AdvancedEventSelector) String ¶
func (s AdvancedEventSelector) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AdvancedEventSelector) Validate ¶
func (s *AdvancedEventSelector) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdvancedFieldSelector ¶
type AdvancedFieldSelector struct { // An operator that includes events that match the last few characters of the // event record field specified as the value of Field. EndsWith []*string `min:"1" type:"list"` // An operator that includes events that match the exact value of the event // record field specified as the value of Field. This is the only valid operator // that you can use with the readOnly, eventCategory, and resources.type fields. Equals []*string `min:"1" type:"list"` // A field in a CloudTrail event record on which to filter events to be logged. // For event data stores for Config configuration items, Audit Manager evidence, // or non-Amazon Web Services events, the field is used only for selecting events // as filtering is not supported. // // For CloudTrail event records, supported fields include readOnly, eventCategory, // eventSource (for management events), eventName, resources.type, and resources.ARN. // // For event data stores for Config configuration items, Audit Manager evidence, // or non-Amazon Web Services events, the only supported field is eventCategory. // // * readOnly - Optional. Can be set to Equals a value of true or false. // If you do not add this field, CloudTrail logs both read and write events. // A value of true logs only read events. A value of false logs only write // events. // // * eventSource - For filtering management events only. This can be set // only to NotEquals kms.amazonaws.com. // // * eventName - Can use any operator. You can use it to filter in or filter // out any data event logged to CloudTrail, such as PutBucket or GetSnapshotBlock. // You can have multiple values for this field, separated by commas. // // * eventCategory - This is required and must be set to Equals. For CloudTrail // event records, the value must be Management or Data. For Config configuration // items, the value must be ConfigurationItem. For Audit Manager evidence, // the value must be Evidence. For non-Amazon Web Services events, the value // must be ActivityAuditLog. // // * resources.type - This field is required for CloudTrail data events. // resources.type can only use the Equals operator, and the value can be // one of the following: AWS::DynamoDB::Table AWS::Lambda::Function AWS::S3::Object // AWS::CloudTrail::Channel AWS::CodeWhisperer::Profile AWS::Cognito::IdentityPool // AWS::DynamoDB::Stream AWS::EC2::Snapshot AWS::EMRWAL::Workspace AWS::FinSpace::Environment // AWS::Glue::Table AWS::GuardDuty::Detector AWS::KendraRanking::ExecutionPlan // AWS::ManagedBlockchain::Node AWS::SageMaker::ExperimentTrialComponent // AWS::SageMaker::FeatureGroup AWS::S3::AccessPoint AWS::S3ObjectLambda::AccessPoint // AWS::S3Outposts::Object You can have only one resources.type field per // selector. To log data events on more than one resource type, add another // selector. // // * resources.ARN - You can use any operator with resources.ARN, but if // you use Equals or NotEquals, the value must exactly match the ARN of a // valid resource of the type you've specified in the template as the value // of resources.type. For example, if resources.type equals AWS::S3::Object, // the ARN must be in one of the following formats. To log all data events // for all objects in a specific S3 bucket, use the StartsWith operator, // and include only the bucket ARN as the matching value. The trailing slash // is intentional; do not exclude it. Replace the text between less than // and greater than symbols (<>) with resource-specific information. arn:<partition>:s3:::<bucket_name>/ // arn:<partition>:s3:::<bucket_name>/<object_path>/ When resources.type // equals AWS::DynamoDB::Table, and the operator is set to Equals or NotEquals, // the ARN must be in the following format: arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name> // When resources.type equals AWS::Lambda::Function, and the operator is // set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:lambda:<region>:<account_ID>:function:<function_name> // When resources.type equals AWS::CloudTrail::Channel, and the operator // is set to Equals or NotEquals, the ARN must be in the following format: // arn:<partition>:cloudtrail:<region>:<account_ID>:channel/<channel_UUID> // When resources.type equals AWS::CodeWhisperer::Profile, and the operator // is set to Equals or NotEquals, the ARN must be in the following format: // arn:<partition>:codewhisperer:<region>:<account_ID>:profile/<profile_ID> // When resources.type equals AWS::Cognito::IdentityPool, and the operator // is set to Equals or NotEquals, the ARN must be in the following format: // arn:<partition>:cognito-identity:<region>:<account_ID>:identitypool/<identity_pool_ID> // When resources.type equals AWS::DynamoDB::Stream, and the operator is // set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name>/stream/<date_time> // When resources.type equals AWS::EC2::Snapshot, and the operator is set // to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:ec2:<region>::snapshot/<snapshot_ID> // When resources.type equals AWS::EMRWAL::Workspace, and the operator is // set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:emrwal:<region>::workspace/<workspace_name> // When resources.type equals AWS::FinSpace::Environment, and the operator // is set to Equals or NotEquals, the ARN must be in the following format: // arn:<partition>:finspace:<region>:<account_ID>:environment/<environment_ID> // When resources.type equals AWS::Glue::Table, and the operator is set to // Equals or NotEquals, the ARN must be in the following format: arn:<partition>:glue:<region>:<account_ID>:table/<database_name>/<table_name> // When resources.type equals AWS::GuardDuty::Detector, and the operator // is set to Equals or NotEquals, the ARN must be in the following format: // arn:<partition>:guardduty:<region>:<account_ID>:detector/<detector_ID> // When resources.type equals AWS::KendraRanking::ExecutionPlan, and the // operator is set to Equals or NotEquals, the ARN must be in the following // format: arn:<partition>:kendra-ranking:<region>:<account_ID>:rescore-execution-plan/<rescore_execution_plan_ID> // When resources.type equals AWS::ManagedBlockchain::Node, and the operator // is set to Equals or NotEquals, the ARN must be in the following format: // arn:<partition>:managedblockchain:<region>:<account_ID>:nodes/<node_ID> // When resources.type equals AWS::SageMaker::ExperimentTrialComponent, and // the operator is set to Equals or NotEquals, the ARN must be in the following // format: arn:<partition>:sagemaker:<region>:<account_ID>:experiment-trial-component/<experiment_trial_component_name> // When resources.type equals AWS::SageMaker::FeatureGroup, and the operator // is set to Equals or NotEquals, the ARN must be in the following format: // arn:<partition>:sagemaker:<region>:<account_ID>:feature-group/<feature_group_name> // When resources.type equals AWS::S3::AccessPoint, and the operator is set // to Equals or NotEquals, the ARN must be in one of the following formats. // To log events on all objects in an S3 access point, we recommend that // you use only the access point ARN, don’t include the object path, and // use the StartsWith or NotStartsWith operators. arn:<partition>:s3:<region>:<account_ID>:accesspoint/<access_point_name> // arn:<partition>:s3:<region>:<account_ID>:accesspoint/<access_point_name>/object/<object_path> // When resources.type equals AWS::S3ObjectLambda::AccessPoint, and the operator // is set to Equals or NotEquals, the ARN must be in the following format: // arn:<partition>:s3-object-lambda:<region>:<account_ID>:accesspoint/<access_point_name> // When resources.type equals AWS::S3Outposts::Object, and the operator is // set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:s3-outposts:<region>:<account_ID>:<object_path> // // Field is a required field Field *string `min:"1" type:"string" required:"true"` // An operator that excludes events that match the last few characters of the // event record field specified as the value of Field. NotEndsWith []*string `min:"1" type:"list"` // An operator that excludes events that match the exact value of the event // record field specified as the value of Field. NotEquals []*string `min:"1" type:"list"` // An operator that excludes events that match the first few characters of the // event record field specified as the value of Field. NotStartsWith []*string `min:"1" type:"list"` // An operator that includes events that match the first few characters of the // event record field specified as the value of Field. StartsWith []*string `min:"1" type:"list"` // contains filtered or unexported fields }
A single selector statement in an advanced event selector.
func (AdvancedFieldSelector) GoString ¶
func (s AdvancedFieldSelector) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AdvancedFieldSelector) SetEndsWith ¶
func (s *AdvancedFieldSelector) SetEndsWith(v []*string) *AdvancedFieldSelector
SetEndsWith sets the EndsWith field's value.
func (*AdvancedFieldSelector) SetEquals ¶
func (s *AdvancedFieldSelector) SetEquals(v []*string) *AdvancedFieldSelector
SetEquals sets the Equals field's value.
func (*AdvancedFieldSelector) SetField ¶
func (s *AdvancedFieldSelector) SetField(v string) *AdvancedFieldSelector
SetField sets the Field field's value.
func (*AdvancedFieldSelector) SetNotEndsWith ¶
func (s *AdvancedFieldSelector) SetNotEndsWith(v []*string) *AdvancedFieldSelector
SetNotEndsWith sets the NotEndsWith field's value.
func (*AdvancedFieldSelector) SetNotEquals ¶
func (s *AdvancedFieldSelector) SetNotEquals(v []*string) *AdvancedFieldSelector
SetNotEquals sets the NotEquals field's value.
func (*AdvancedFieldSelector) SetNotStartsWith ¶
func (s *AdvancedFieldSelector) SetNotStartsWith(v []*string) *AdvancedFieldSelector
SetNotStartsWith sets the NotStartsWith field's value.
func (*AdvancedFieldSelector) SetStartsWith ¶
func (s *AdvancedFieldSelector) SetStartsWith(v []*string) *AdvancedFieldSelector
SetStartsWith sets the StartsWith field's value.
func (AdvancedFieldSelector) String ¶
func (s AdvancedFieldSelector) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AdvancedFieldSelector) Validate ¶
func (s *AdvancedFieldSelector) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelQueryInput ¶ added in v1.42.9
type CancelQueryInput struct { // The ARN (or the ID suffix of the ARN) of an event data store on which the // specified query is running. // // Deprecated: EventDataStore is no longer required by CancelQueryRequest EventDataStore *string `min:"3" deprecated:"true" type:"string"` // The ID of the query that you want to cancel. The QueryId comes from the response // of a StartQuery operation. // // QueryId is a required field QueryId *string `min:"36" type:"string" required:"true"` // contains filtered or unexported fields }
func (CancelQueryInput) GoString ¶ added in v1.42.9
func (s CancelQueryInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CancelQueryInput) SetEventDataStore ¶ added in v1.42.9
func (s *CancelQueryInput) SetEventDataStore(v string) *CancelQueryInput
SetEventDataStore sets the EventDataStore field's value.
func (*CancelQueryInput) SetQueryId ¶ added in v1.42.9
func (s *CancelQueryInput) SetQueryId(v string) *CancelQueryInput
SetQueryId sets the QueryId field's value.
func (CancelQueryInput) String ¶ added in v1.42.9
func (s CancelQueryInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CancelQueryInput) Validate ¶ added in v1.42.9
func (s *CancelQueryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelQueryOutput ¶ added in v1.42.9
type CancelQueryOutput struct { // The ID of the canceled query. // // QueryId is a required field QueryId *string `min:"36" type:"string" required:"true"` // Shows the status of a query after a CancelQuery request. Typically, the values // shown are either RUNNING or CANCELLED. // // QueryStatus is a required field QueryStatus *string `type:"string" required:"true" enum:"QueryStatus"` // contains filtered or unexported fields }
func (CancelQueryOutput) GoString ¶ added in v1.42.9
func (s CancelQueryOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CancelQueryOutput) SetQueryId ¶ added in v1.42.9
func (s *CancelQueryOutput) SetQueryId(v string) *CancelQueryOutput
SetQueryId sets the QueryId field's value.
func (*CancelQueryOutput) SetQueryStatus ¶ added in v1.42.9
func (s *CancelQueryOutput) SetQueryStatus(v string) *CancelQueryOutput
SetQueryStatus sets the QueryStatus field's value.
func (CancelQueryOutput) String ¶ added in v1.42.9
func (s CancelQueryOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CannotDelegateManagementAccountException ¶ added in v1.42.9
type CannotDelegateManagementAccountException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the management account of an organization is registered as the CloudTrail delegated administrator.
func (*CannotDelegateManagementAccountException) Code ¶ added in v1.42.9
func (s *CannotDelegateManagementAccountException) Code() string
Code returns the exception type name.
func (*CannotDelegateManagementAccountException) Error ¶ added in v1.42.9
func (s *CannotDelegateManagementAccountException) Error() string
func (CannotDelegateManagementAccountException) GoString ¶ added in v1.42.9
func (s CannotDelegateManagementAccountException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CannotDelegateManagementAccountException) Message ¶ added in v1.42.9
func (s *CannotDelegateManagementAccountException) Message() string
Message returns the exception's message.
func (*CannotDelegateManagementAccountException) OrigErr ¶ added in v1.42.9
func (s *CannotDelegateManagementAccountException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*CannotDelegateManagementAccountException) RequestID ¶ added in v1.42.9
func (s *CannotDelegateManagementAccountException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*CannotDelegateManagementAccountException) StatusCode ¶ added in v1.42.9
func (s *CannotDelegateManagementAccountException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (CannotDelegateManagementAccountException) String ¶ added in v1.42.9
func (s CannotDelegateManagementAccountException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Channel ¶ added in v1.42.9
type Channel struct { // The Amazon Resource Name (ARN) of a channel. ChannelArn *string `min:"3" type:"string"` // The name of the CloudTrail channel. For service-linked channels, the name // is aws-service-channel/service-name/custom-suffix where service-name represents // the name of the Amazon Web Services service that created the channel and // custom-suffix represents the suffix created by the Amazon Web Services service. Name *string `min:"3" type:"string"` // contains filtered or unexported fields }
Contains information about a returned CloudTrail channel.
func (Channel) GoString ¶ added in v1.42.9
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Channel) SetChannelArn ¶ added in v1.42.9
SetChannelArn sets the ChannelArn field's value.
type ChannelARNInvalidException ¶ added in v1.42.9
type ChannelARNInvalidException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the specified value of ChannelARN is not valid.
func (*ChannelARNInvalidException) Code ¶ added in v1.42.9
func (s *ChannelARNInvalidException) Code() string
Code returns the exception type name.
func (*ChannelARNInvalidException) Error ¶ added in v1.42.9
func (s *ChannelARNInvalidException) Error() string
func (ChannelARNInvalidException) GoString ¶ added in v1.42.9
func (s ChannelARNInvalidException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ChannelARNInvalidException) Message ¶ added in v1.42.9
func (s *ChannelARNInvalidException) Message() string
Message returns the exception's message.
func (*ChannelARNInvalidException) OrigErr ¶ added in v1.42.9
func (s *ChannelARNInvalidException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ChannelARNInvalidException) RequestID ¶ added in v1.42.9
func (s *ChannelARNInvalidException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ChannelARNInvalidException) StatusCode ¶ added in v1.42.9
func (s *ChannelARNInvalidException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ChannelARNInvalidException) String ¶ added in v1.42.9
func (s ChannelARNInvalidException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ChannelAlreadyExistsException ¶ added in v1.42.9
type ChannelAlreadyExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the provided channel already exists.
func (*ChannelAlreadyExistsException) Code ¶ added in v1.42.9
func (s *ChannelAlreadyExistsException) Code() string
Code returns the exception type name.
func (*ChannelAlreadyExistsException) Error ¶ added in v1.42.9
func (s *ChannelAlreadyExistsException) Error() string
func (ChannelAlreadyExistsException) GoString ¶ added in v1.42.9
func (s ChannelAlreadyExistsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ChannelAlreadyExistsException) Message ¶ added in v1.42.9
func (s *ChannelAlreadyExistsException) Message() string
Message returns the exception's message.
func (*ChannelAlreadyExistsException) OrigErr ¶ added in v1.42.9
func (s *ChannelAlreadyExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ChannelAlreadyExistsException) RequestID ¶ added in v1.42.9
func (s *ChannelAlreadyExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ChannelAlreadyExistsException) StatusCode ¶ added in v1.42.9
func (s *ChannelAlreadyExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ChannelAlreadyExistsException) String ¶ added in v1.42.9
func (s ChannelAlreadyExistsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ChannelExistsForEDSException ¶ added in v1.42.9
type ChannelExistsForEDSException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the specified event data store cannot yet be deleted because it is in use by a channel.
func (*ChannelExistsForEDSException) Code ¶ added in v1.42.9
func (s *ChannelExistsForEDSException) Code() string
Code returns the exception type name.
func (*ChannelExistsForEDSException) Error ¶ added in v1.42.9
func (s *ChannelExistsForEDSException) Error() string
func (ChannelExistsForEDSException) GoString ¶ added in v1.42.9
func (s ChannelExistsForEDSException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ChannelExistsForEDSException) Message ¶ added in v1.42.9
func (s *ChannelExistsForEDSException) Message() string
Message returns the exception's message.
func (*ChannelExistsForEDSException) OrigErr ¶ added in v1.42.9
func (s *ChannelExistsForEDSException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ChannelExistsForEDSException) RequestID ¶ added in v1.42.9
func (s *ChannelExistsForEDSException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ChannelExistsForEDSException) StatusCode ¶ added in v1.42.9
func (s *ChannelExistsForEDSException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ChannelExistsForEDSException) String ¶ added in v1.42.9
func (s ChannelExistsForEDSException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ChannelMaxLimitExceededException ¶ added in v1.42.9
type ChannelMaxLimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the maximum number of channels limit is exceeded.
func (*ChannelMaxLimitExceededException) Code ¶ added in v1.42.9
func (s *ChannelMaxLimitExceededException) Code() string
Code returns the exception type name.
func (*ChannelMaxLimitExceededException) Error ¶ added in v1.42.9
func (s *ChannelMaxLimitExceededException) Error() string
func (ChannelMaxLimitExceededException) GoString ¶ added in v1.42.9
func (s ChannelMaxLimitExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ChannelMaxLimitExceededException) Message ¶ added in v1.42.9
func (s *ChannelMaxLimitExceededException) Message() string
Message returns the exception's message.
func (*ChannelMaxLimitExceededException) OrigErr ¶ added in v1.42.9
func (s *ChannelMaxLimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ChannelMaxLimitExceededException) RequestID ¶ added in v1.42.9
func (s *ChannelMaxLimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ChannelMaxLimitExceededException) StatusCode ¶ added in v1.42.9
func (s *ChannelMaxLimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ChannelMaxLimitExceededException) String ¶ added in v1.42.9
func (s ChannelMaxLimitExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ChannelNotFoundException ¶ added in v1.42.9
type ChannelNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when CloudTrail cannot find the specified channel.
func (*ChannelNotFoundException) Code ¶ added in v1.42.9
func (s *ChannelNotFoundException) Code() string
Code returns the exception type name.
func (*ChannelNotFoundException) Error ¶ added in v1.42.9
func (s *ChannelNotFoundException) Error() string
func (ChannelNotFoundException) GoString ¶ added in v1.42.9
func (s ChannelNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ChannelNotFoundException) Message ¶ added in v1.42.9
func (s *ChannelNotFoundException) Message() string
Message returns the exception's message.
func (*ChannelNotFoundException) OrigErr ¶ added in v1.42.9
func (s *ChannelNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ChannelNotFoundException) RequestID ¶ added in v1.42.9
func (s *ChannelNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ChannelNotFoundException) StatusCode ¶ added in v1.42.9
func (s *ChannelNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ChannelNotFoundException) String ¶ added in v1.42.9
func (s ChannelNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CloudTrail ¶
CloudTrail provides the API operation methods for making requests to AWS CloudTrail. See this package's package overview docs for details on the service.
CloudTrail methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudTrail
New creates a new instance of the CloudTrail client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a CloudTrail client from just a session. svc := cloudtrail.New(mySession) // Create a CloudTrail client with additional configuration svc := cloudtrail.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*CloudTrail) AddTags ¶
func (c *CloudTrail) AddTags(input *AddTagsInput) (*AddTagsOutput, error)
AddTags API operation for AWS CloudTrail.
Adds one or more tags to a trail, event data store, or channel, up to a limit of 50. Overwrites an existing tag's value when a new value is specified for an existing tag key. Tag key names must be unique; you cannot have two keys with the same name but different values. If you specify a key without a value, the tag will be created with the specified key and a value of null. You can tag a trail or event data store that applies to all Amazon Web Services Regions only from the Region in which the trail or event data store was created (also known as its home Region).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation AddTags for usage and error information.
Returned Error Types:
ResourceNotFoundException This exception is thrown when the specified resource is not found.
ARNInvalidException This exception is thrown when an operation is called with a trail ARN that is not valid. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
This exception is also thrown when you call AddTags or RemoveTags on a trail, event data store, or channel with a resource ARN that is not valid.
The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
ChannelARNInvalidException This exception is thrown when the specified value of ChannelARN is not valid.
ResourceTypeNotSupportedException This exception is thrown when the specified resource type is not supported by CloudTrail.
TagsLimitExceededException The number of tags per trail, event data store, or channel has exceeded the permitted amount. Currently, the limit is 50.
InvalidTrailNameException This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
Start with a letter or number, and end with a letter or number
Be between 3 and 128 characters
Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
Not be in IP address format (for example, 192.168.5.4)
InvalidTagParameterException This exception is thrown when the specified tag key or values are not valid. It can also occur if there are duplicate tags or too many tags on the resource.
InactiveEventDataStoreException The event data store is inactive.
EventDataStoreNotFoundException The specified event data store was not found.
ChannelNotFoundException This exception is thrown when CloudTrail cannot find the specified channel.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
NotOrganizationMasterAccountException This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html).
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
ConflictException This exception is thrown when the specified resource is not ready for an operation. This can occur when you try to run an operation on a resource before CloudTrail has time to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the operation again.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTags
func (*CloudTrail) AddTagsRequest ¶
func (c *CloudTrail) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput)
AddTagsRequest generates a "aws/request.Request" representing the client's request for the AddTags operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AddTags for more information on using the AddTags API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AddTagsRequest method. req, resp := client.AddTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTags
func (*CloudTrail) AddTagsWithContext ¶
func (c *CloudTrail) AddTagsWithContext(ctx aws.Context, input *AddTagsInput, opts ...request.Option) (*AddTagsOutput, error)
AddTagsWithContext is the same as AddTags with the addition of the ability to pass a context and additional request options.
See AddTags for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) CancelQuery ¶ added in v1.42.9
func (c *CloudTrail) CancelQuery(input *CancelQueryInput) (*CancelQueryOutput, error)
CancelQuery API operation for AWS CloudTrail.
Cancels a query if the query is not in a terminated state, such as CANCELLED, FAILED, TIMED_OUT, or FINISHED. You must specify an ARN value for EventDataStore. The ID of the query that you want to cancel is also required. When you run CancelQuery, the query status might show as CANCELLED even if the operation is not yet finished.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation CancelQuery for usage and error information.
Returned Error Types:
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
EventDataStoreNotFoundException The specified event data store was not found.
InactiveEventDataStoreException The event data store is inactive.
InactiveQueryException The specified query cannot be canceled because it is in the FINISHED, FAILED, TIMED_OUT, or CANCELLED state.
InvalidParameterException The request includes a parameter that is not valid.
QueryIdNotFoundException The query ID does not exist or does not map to a query.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
ConflictException This exception is thrown when the specified resource is not ready for an operation. This can occur when you try to run an operation on a resource before CloudTrail has time to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the operation again.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CancelQuery
func (*CloudTrail) CancelQueryRequest ¶ added in v1.42.9
func (c *CloudTrail) CancelQueryRequest(input *CancelQueryInput) (req *request.Request, output *CancelQueryOutput)
CancelQueryRequest generates a "aws/request.Request" representing the client's request for the CancelQuery operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CancelQuery for more information on using the CancelQuery API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CancelQueryRequest method. req, resp := client.CancelQueryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CancelQuery
func (*CloudTrail) CancelQueryWithContext ¶ added in v1.42.9
func (c *CloudTrail) CancelQueryWithContext(ctx aws.Context, input *CancelQueryInput, opts ...request.Option) (*CancelQueryOutput, error)
CancelQueryWithContext is the same as CancelQuery with the addition of the ability to pass a context and additional request options.
See CancelQuery for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) CreateChannel ¶ added in v1.42.9
func (c *CloudTrail) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error)
CreateChannel API operation for AWS CloudTrail.
Creates a channel for CloudTrail to ingest events from a partner or external source. After you create a channel, a CloudTrail Lake event data store can log events from the partner or source that you specify.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation CreateChannel for usage and error information.
Returned Error Types:
ChannelMaxLimitExceededException This exception is thrown when the maximum number of channels limit is exceeded.
InvalidSourceException This exception is thrown when the specified value of Source is not valid.
ChannelAlreadyExistsException This exception is thrown when the provided channel already exists.
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
EventDataStoreNotFoundException The specified event data store was not found.
InvalidEventDataStoreCategoryException This exception is thrown when event categories of specified event data stores are not valid.
InactiveEventDataStoreException The event data store is inactive.
InvalidParameterException The request includes a parameter that is not valid.
InvalidTagParameterException This exception is thrown when the specified tag key or values are not valid. It can also occur if there are duplicate tags or too many tags on the resource.
TagsLimitExceededException The number of tags per trail, event data store, or channel has exceeded the permitted amount. Currently, the limit is 50.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateChannel
func (*CloudTrail) CreateChannelRequest ¶ added in v1.42.9
func (c *CloudTrail) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput)
CreateChannelRequest generates a "aws/request.Request" representing the client's request for the CreateChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateChannel for more information on using the CreateChannel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateChannelRequest method. req, resp := client.CreateChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateChannel
func (*CloudTrail) CreateChannelWithContext ¶ added in v1.42.9
func (c *CloudTrail) CreateChannelWithContext(ctx aws.Context, input *CreateChannelInput, opts ...request.Option) (*CreateChannelOutput, error)
CreateChannelWithContext is the same as CreateChannel with the addition of the ability to pass a context and additional request options.
See CreateChannel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) CreateEventDataStore ¶ added in v1.42.9
func (c *CloudTrail) CreateEventDataStore(input *CreateEventDataStoreInput) (*CreateEventDataStoreOutput, error)
CreateEventDataStore API operation for AWS CloudTrail.
Creates a new event data store.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation CreateEventDataStore for usage and error information.
Returned Error Types:
EventDataStoreAlreadyExistsException An event data store with that name already exists.
EventDataStoreMaxLimitExceededException Your account has used the maximum number of event data stores.
InvalidEventSelectorsException This exception is thrown when the PutEventSelectors operation is called with a number of event selectors, advanced event selectors, or data resources that is not valid. The combination of event selectors or advanced event selectors and data resources is not valid. A trail can have up to 5 event selectors. If a trail uses advanced event selectors, a maximum of 500 total values for all conditions in all advanced event selectors is allowed. A trail is limited to 250 data resources. These data resources can be distributed across event selectors, but the overall total cannot exceed 250.
You can:
Specify a valid number of event selectors (1 to 5) for a trail.
Specify a valid number of data resources (1 to 250) for an event selector. The limit of number of resources on an individual event selector is configurable up to 250. However, this upper limit is allowed only if the total number of data resources does not exceed 250 across all event selectors for a trail.
Specify up to 500 values for all conditions in all advanced event selectors for a trail.
Specify a valid value for a parameter. For example, specifying the ReadWriteType parameter with a value of read-only is not valid.
InvalidParameterException The request includes a parameter that is not valid.
InvalidTagParameterException This exception is thrown when the specified tag key or values are not valid. It can also occur if there are duplicate tags or too many tags on the resource.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
ConflictException This exception is thrown when the specified resource is not ready for an operation. This can occur when you try to run an operation on a resource before CloudTrail has time to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the operation again.
InsufficientEncryptionPolicyException This exception is thrown when the policy on the S3 bucket or KMS key does not have sufficient permissions for the operation.
InvalidKmsKeyIdException This exception is thrown when the KMS key ARN is not valid.
KmsKeyNotFoundException This exception is thrown when the KMS key does not exist, when the S3 bucket and the KMS key are not in the same Region, or when the KMS key associated with the Amazon SNS topic either does not exist or is not in the same Region.
KmsException This exception is thrown when there is an issue with the specified KMS key and the trail or event data store can't be updated.
AccessNotEnabledException This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see Enabling Trusted Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html).
InsufficientDependencyServiceAccessPermissionException This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
NotOrganizationMasterAccountException This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html).
OrganizationsNotInUseException This exception is thrown when the request is made from an Amazon Web Services account that is not a member of an organization. To make this request, sign in using the credentials of an account that belongs to an organization.
OrganizationNotInAllFeaturesModeException This exception is thrown when Organizations is not configured to support all features. All features must be enabled in Organizations to support creating an organization trail or event data store.
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateEventDataStore
func (*CloudTrail) CreateEventDataStoreRequest ¶ added in v1.42.9
func (c *CloudTrail) CreateEventDataStoreRequest(input *CreateEventDataStoreInput) (req *request.Request, output *CreateEventDataStoreOutput)
CreateEventDataStoreRequest generates a "aws/request.Request" representing the client's request for the CreateEventDataStore operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateEventDataStore for more information on using the CreateEventDataStore API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateEventDataStoreRequest method. req, resp := client.CreateEventDataStoreRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateEventDataStore
func (*CloudTrail) CreateEventDataStoreWithContext ¶ added in v1.42.9
func (c *CloudTrail) CreateEventDataStoreWithContext(ctx aws.Context, input *CreateEventDataStoreInput, opts ...request.Option) (*CreateEventDataStoreOutput, error)
CreateEventDataStoreWithContext is the same as CreateEventDataStore with the addition of the ability to pass a context and additional request options.
See CreateEventDataStore for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) CreateTrail ¶
func (c *CloudTrail) CreateTrail(input *CreateTrailInput) (*CreateTrailOutput, error)
CreateTrail API operation for AWS CloudTrail.
Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation CreateTrail for usage and error information.
Returned Error Types:
MaximumNumberOfTrailsExceededException This exception is thrown when the maximum number of trails is reached.
TrailAlreadyExistsException This exception is thrown when the specified trail already exists.
S3BucketDoesNotExistException This exception is thrown when the specified S3 bucket does not exist.
InsufficientS3BucketPolicyException This exception is thrown when the policy on the S3 bucket is not sufficient.
InsufficientSnsTopicPolicyException This exception is thrown when the policy on the Amazon SNS topic is not sufficient.
InsufficientEncryptionPolicyException This exception is thrown when the policy on the S3 bucket or KMS key does not have sufficient permissions for the operation.
InvalidS3BucketNameException This exception is thrown when the provided S3 bucket name is not valid.
InvalidS3PrefixException This exception is thrown when the provided S3 prefix is not valid.
InvalidSnsTopicNameException This exception is thrown when the provided SNS topic name is not valid.
InvalidKmsKeyIdException This exception is thrown when the KMS key ARN is not valid.
InvalidTrailNameException This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
Start with a letter or number, and end with a letter or number
Be between 3 and 128 characters
Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
Not be in IP address format (for example, 192.168.5.4)
TrailNotProvidedException This exception is no longer in use.
TagsLimitExceededException The number of tags per trail, event data store, or channel has exceeded the permitted amount. Currently, the limit is 50.
InvalidParameterCombinationException This exception is thrown when the combination of parameters provided is not valid.
KmsKeyNotFoundException This exception is thrown when the KMS key does not exist, when the S3 bucket and the KMS key are not in the same Region, or when the KMS key associated with the Amazon SNS topic either does not exist or is not in the same Region.
KmsKeyDisabledException This exception is no longer in use.
KmsException This exception is thrown when there is an issue with the specified KMS key and the trail or event data store can't be updated.
InvalidCloudWatchLogsLogGroupArnException This exception is thrown when the provided CloudWatch Logs log group is not valid.
InvalidCloudWatchLogsRoleArnException This exception is thrown when the provided role is not valid.
CloudWatchLogsDeliveryUnavailableException Cannot set a CloudWatch Logs delivery for this Region.
InvalidTagParameterException This exception is thrown when the specified tag key or values are not valid. It can also occur if there are duplicate tags or too many tags on the resource.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
AccessNotEnabledException This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see Enabling Trusted Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html).
InsufficientDependencyServiceAccessPermissionException This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
NotOrganizationMasterAccountException This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html).
OrganizationsNotInUseException This exception is thrown when the request is made from an Amazon Web Services account that is not a member of an organization. To make this request, sign in using the credentials of an account that belongs to an organization.
OrganizationNotInAllFeaturesModeException This exception is thrown when Organizations is not configured to support all features. All features must be enabled in Organizations to support creating an organization trail or event data store.
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
CloudTrailInvalidClientTokenIdException This exception is thrown when a call results in the InvalidClientTokenId error code. This can occur when you are creating or updating a trail to send notifications to an Amazon SNS topic that is in a suspended Amazon Web Services account.
ConflictException This exception is thrown when the specified resource is not ready for an operation. This can occur when you try to run an operation on a resource before CloudTrail has time to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the operation again.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrail
func (*CloudTrail) CreateTrailRequest ¶
func (c *CloudTrail) CreateTrailRequest(input *CreateTrailInput) (req *request.Request, output *CreateTrailOutput)
CreateTrailRequest generates a "aws/request.Request" representing the client's request for the CreateTrail operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateTrail for more information on using the CreateTrail API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateTrailRequest method. req, resp := client.CreateTrailRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrail
func (*CloudTrail) CreateTrailWithContext ¶
func (c *CloudTrail) CreateTrailWithContext(ctx aws.Context, input *CreateTrailInput, opts ...request.Option) (*CreateTrailOutput, error)
CreateTrailWithContext is the same as CreateTrail with the addition of the ability to pass a context and additional request options.
See CreateTrail for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) DeleteChannel ¶ added in v1.42.9
func (c *CloudTrail) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error)
DeleteChannel API operation for AWS CloudTrail.
Deletes a channel.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation DeleteChannel for usage and error information.
Returned Error Types:
ChannelARNInvalidException This exception is thrown when the specified value of ChannelARN is not valid.
ChannelNotFoundException This exception is thrown when CloudTrail cannot find the specified channel.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteChannel
func (*CloudTrail) DeleteChannelRequest ¶ added in v1.42.9
func (c *CloudTrail) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput)
DeleteChannelRequest generates a "aws/request.Request" representing the client's request for the DeleteChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteChannel for more information on using the DeleteChannel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteChannelRequest method. req, resp := client.DeleteChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteChannel
func (*CloudTrail) DeleteChannelWithContext ¶ added in v1.42.9
func (c *CloudTrail) DeleteChannelWithContext(ctx aws.Context, input *DeleteChannelInput, opts ...request.Option) (*DeleteChannelOutput, error)
DeleteChannelWithContext is the same as DeleteChannel with the addition of the ability to pass a context and additional request options.
See DeleteChannel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) DeleteEventDataStore ¶ added in v1.42.9
func (c *CloudTrail) DeleteEventDataStore(input *DeleteEventDataStoreInput) (*DeleteEventDataStoreOutput, error)
DeleteEventDataStore API operation for AWS CloudTrail.
Disables the event data store specified by EventDataStore, which accepts an event data store ARN. After you run DeleteEventDataStore, the event data store enters a PENDING_DELETION state, and is automatically deleted after a wait period of seven days. TerminationProtectionEnabled must be set to False on the event data store; this operation cannot work if TerminationProtectionEnabled is True.
After you run DeleteEventDataStore on an event data store, you cannot run ListQueries, DescribeQuery, or GetQueryResults on queries that are using an event data store in a PENDING_DELETION state. An event data store in the PENDING_DELETION state does not incur costs.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation DeleteEventDataStore for usage and error information.
Returned Error Types:
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
EventDataStoreNotFoundException The specified event data store was not found.
EventDataStoreTerminationProtectedException The event data store cannot be deleted because termination protection is enabled for it.
EventDataStoreHasOngoingImportException This exception is thrown when you try to update or delete an event data store that currently has an import in progress.
InactiveEventDataStoreException The event data store is inactive.
InvalidParameterException The request includes a parameter that is not valid.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
NotOrganizationMasterAccountException This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html).
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
ChannelExistsForEDSException This exception is thrown when the specified event data store cannot yet be deleted because it is in use by a channel.
InsufficientDependencyServiceAccessPermissionException This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteEventDataStore
func (*CloudTrail) DeleteEventDataStoreRequest ¶ added in v1.42.9
func (c *CloudTrail) DeleteEventDataStoreRequest(input *DeleteEventDataStoreInput) (req *request.Request, output *DeleteEventDataStoreOutput)
DeleteEventDataStoreRequest generates a "aws/request.Request" representing the client's request for the DeleteEventDataStore operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteEventDataStore for more information on using the DeleteEventDataStore API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteEventDataStoreRequest method. req, resp := client.DeleteEventDataStoreRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteEventDataStore
func (*CloudTrail) DeleteEventDataStoreWithContext ¶ added in v1.42.9
func (c *CloudTrail) DeleteEventDataStoreWithContext(ctx aws.Context, input *DeleteEventDataStoreInput, opts ...request.Option) (*DeleteEventDataStoreOutput, error)
DeleteEventDataStoreWithContext is the same as DeleteEventDataStore with the addition of the ability to pass a context and additional request options.
See DeleteEventDataStore for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) DeleteResourcePolicy ¶ added in v1.42.9
func (c *CloudTrail) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error)
DeleteResourcePolicy API operation for AWS CloudTrail.
Deletes the resource-based policy attached to the CloudTrail channel.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation DeleteResourcePolicy for usage and error information.
Returned Error Types:
ResourceARNNotValidException This exception is thrown when the provided resource does not exist, or the ARN format of the resource is not valid. The following is the valid format for a resource ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel.
ResourceNotFoundException This exception is thrown when the specified resource is not found.
ResourcePolicyNotFoundException This exception is thrown when the specified resource policy is not found.
ResourceTypeNotSupportedException This exception is thrown when the specified resource type is not supported by CloudTrail.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteResourcePolicy
func (*CloudTrail) DeleteResourcePolicyRequest ¶ added in v1.42.9
func (c *CloudTrail) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput)
DeleteResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteResourcePolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteResourcePolicy for more information on using the DeleteResourcePolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteResourcePolicyRequest method. req, resp := client.DeleteResourcePolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteResourcePolicy
func (*CloudTrail) DeleteResourcePolicyWithContext ¶ added in v1.42.9
func (c *CloudTrail) DeleteResourcePolicyWithContext(ctx aws.Context, input *DeleteResourcePolicyInput, opts ...request.Option) (*DeleteResourcePolicyOutput, error)
DeleteResourcePolicyWithContext is the same as DeleteResourcePolicy with the addition of the ability to pass a context and additional request options.
See DeleteResourcePolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) DeleteTrail ¶
func (c *CloudTrail) DeleteTrail(input *DeleteTrailInput) (*DeleteTrailOutput, error)
DeleteTrail API operation for AWS CloudTrail.
Deletes a trail. This operation must be called from the Region in which the trail was created. DeleteTrail cannot be called on the shadow trails (replicated trails in other Regions) of a trail that is enabled in all Regions.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation DeleteTrail for usage and error information.
Returned Error Types:
TrailNotFoundException This exception is thrown when the trail with the given name is not found.
InvalidTrailNameException This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
Start with a letter or number, and end with a letter or number
Be between 3 and 128 characters
Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
Not be in IP address format (for example, 192.168.5.4)
ARNInvalidException This exception is thrown when an operation is called with a trail ARN that is not valid. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
This exception is also thrown when you call AddTags or RemoveTags on a trail, event data store, or channel with a resource ARN that is not valid.
The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
ConflictException This exception is thrown when the specified resource is not ready for an operation. This can occur when you try to run an operation on a resource before CloudTrail has time to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the operation again.
InvalidHomeRegionException This exception is thrown when an operation is called on a trail from a Region other than the Region in which the trail was created.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
NotOrganizationMasterAccountException This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html).
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
InsufficientDependencyServiceAccessPermissionException This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrail
func (*CloudTrail) DeleteTrailRequest ¶
func (c *CloudTrail) DeleteTrailRequest(input *DeleteTrailInput) (req *request.Request, output *DeleteTrailOutput)
DeleteTrailRequest generates a "aws/request.Request" representing the client's request for the DeleteTrail operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteTrail for more information on using the DeleteTrail API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteTrailRequest method. req, resp := client.DeleteTrailRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrail
func (*CloudTrail) DeleteTrailWithContext ¶
func (c *CloudTrail) DeleteTrailWithContext(ctx aws.Context, input *DeleteTrailInput, opts ...request.Option) (*DeleteTrailOutput, error)
DeleteTrailWithContext is the same as DeleteTrail with the addition of the ability to pass a context and additional request options.
See DeleteTrail for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) DeregisterOrganizationDelegatedAdmin ¶ added in v1.42.9
func (c *CloudTrail) DeregisterOrganizationDelegatedAdmin(input *DeregisterOrganizationDelegatedAdminInput) (*DeregisterOrganizationDelegatedAdminOutput, error)
DeregisterOrganizationDelegatedAdmin API operation for AWS CloudTrail.
Removes CloudTrail delegated administrator permissions from a member account in an organization.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation DeregisterOrganizationDelegatedAdmin for usage and error information.
Returned Error Types:
AccountNotFoundException This exception is thrown when the specified account is not found or not part of an organization.
AccountNotRegisteredException This exception is thrown when the specified account is not registered as the CloudTrail delegated administrator.
AccessNotEnabledException This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see Enabling Trusted Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html).
ConflictException This exception is thrown when the specified resource is not ready for an operation. This can occur when you try to run an operation on a resource before CloudTrail has time to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the operation again.
InsufficientDependencyServiceAccessPermissionException This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
InvalidParameterException The request includes a parameter that is not valid.
NotOrganizationManagementAccountException This exception is thrown when the account making the request is not the organization's management account.
OrganizationNotInAllFeaturesModeException This exception is thrown when Organizations is not configured to support all features. All features must be enabled in Organizations to support creating an organization trail or event data store.
OrganizationsNotInUseException This exception is thrown when the request is made from an Amazon Web Services account that is not a member of an organization. To make this request, sign in using the credentials of an account that belongs to an organization.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeregisterOrganizationDelegatedAdmin
func (*CloudTrail) DeregisterOrganizationDelegatedAdminRequest ¶ added in v1.42.9
func (c *CloudTrail) DeregisterOrganizationDelegatedAdminRequest(input *DeregisterOrganizationDelegatedAdminInput) (req *request.Request, output *DeregisterOrganizationDelegatedAdminOutput)
DeregisterOrganizationDelegatedAdminRequest generates a "aws/request.Request" representing the client's request for the DeregisterOrganizationDelegatedAdmin operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeregisterOrganizationDelegatedAdmin for more information on using the DeregisterOrganizationDelegatedAdmin API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeregisterOrganizationDelegatedAdminRequest method. req, resp := client.DeregisterOrganizationDelegatedAdminRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeregisterOrganizationDelegatedAdmin
func (*CloudTrail) DeregisterOrganizationDelegatedAdminWithContext ¶ added in v1.42.9
func (c *CloudTrail) DeregisterOrganizationDelegatedAdminWithContext(ctx aws.Context, input *DeregisterOrganizationDelegatedAdminInput, opts ...request.Option) (*DeregisterOrganizationDelegatedAdminOutput, error)
DeregisterOrganizationDelegatedAdminWithContext is the same as DeregisterOrganizationDelegatedAdmin with the addition of the ability to pass a context and additional request options.
See DeregisterOrganizationDelegatedAdmin for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) DescribeQuery ¶ added in v1.42.9
func (c *CloudTrail) DescribeQuery(input *DescribeQueryInput) (*DescribeQueryOutput, error)
DescribeQuery API operation for AWS CloudTrail.
Returns metadata about a query, including query run time in milliseconds, number of events scanned and matched, and query status. If the query results were delivered to an S3 bucket, the response also provides the S3 URI and the delivery status.
You must specify either a QueryID or a QueryAlias. Specifying the QueryAlias parameter returns information about the last query run for the alias.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation DescribeQuery for usage and error information.
Returned Error Types:
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
EventDataStoreNotFoundException The specified event data store was not found.
InactiveEventDataStoreException The event data store is inactive.
InvalidParameterException The request includes a parameter that is not valid.
QueryIdNotFoundException The query ID does not exist or does not map to a query.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeQuery
func (*CloudTrail) DescribeQueryRequest ¶ added in v1.42.9
func (c *CloudTrail) DescribeQueryRequest(input *DescribeQueryInput) (req *request.Request, output *DescribeQueryOutput)
DescribeQueryRequest generates a "aws/request.Request" representing the client's request for the DescribeQuery operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeQuery for more information on using the DescribeQuery API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeQueryRequest method. req, resp := client.DescribeQueryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeQuery
func (*CloudTrail) DescribeQueryWithContext ¶ added in v1.42.9
func (c *CloudTrail) DescribeQueryWithContext(ctx aws.Context, input *DescribeQueryInput, opts ...request.Option) (*DescribeQueryOutput, error)
DescribeQueryWithContext is the same as DescribeQuery with the addition of the ability to pass a context and additional request options.
See DescribeQuery for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) DescribeTrails ¶
func (c *CloudTrail) DescribeTrails(input *DescribeTrailsInput) (*DescribeTrailsOutput, error)
DescribeTrails API operation for AWS CloudTrail.
Retrieves settings for one or more trails associated with the current Region for your account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation DescribeTrails for usage and error information.
Returned Error Types:
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
InvalidTrailNameException This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
Start with a letter or number, and end with a letter or number
Be between 3 and 128 characters
Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
Not be in IP address format (for example, 192.168.5.4)
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrails
func (*CloudTrail) DescribeTrailsRequest ¶
func (c *CloudTrail) DescribeTrailsRequest(input *DescribeTrailsInput) (req *request.Request, output *DescribeTrailsOutput)
DescribeTrailsRequest generates a "aws/request.Request" representing the client's request for the DescribeTrails operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeTrails for more information on using the DescribeTrails API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeTrailsRequest method. req, resp := client.DescribeTrailsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrails
func (*CloudTrail) DescribeTrailsWithContext ¶
func (c *CloudTrail) DescribeTrailsWithContext(ctx aws.Context, input *DescribeTrailsInput, opts ...request.Option) (*DescribeTrailsOutput, error)
DescribeTrailsWithContext is the same as DescribeTrails with the addition of the ability to pass a context and additional request options.
See DescribeTrails for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) GetChannel ¶ added in v1.42.9
func (c *CloudTrail) GetChannel(input *GetChannelInput) (*GetChannelOutput, error)
GetChannel API operation for AWS CloudTrail.
Returns information about a specific channel.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation GetChannel for usage and error information.
Returned Error Types:
ChannelARNInvalidException This exception is thrown when the specified value of ChannelARN is not valid.
ChannelNotFoundException This exception is thrown when CloudTrail cannot find the specified channel.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetChannel
func (*CloudTrail) GetChannelRequest ¶ added in v1.42.9
func (c *CloudTrail) GetChannelRequest(input *GetChannelInput) (req *request.Request, output *GetChannelOutput)
GetChannelRequest generates a "aws/request.Request" representing the client's request for the GetChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetChannel for more information on using the GetChannel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetChannelRequest method. req, resp := client.GetChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetChannel
func (*CloudTrail) GetChannelWithContext ¶ added in v1.42.9
func (c *CloudTrail) GetChannelWithContext(ctx aws.Context, input *GetChannelInput, opts ...request.Option) (*GetChannelOutput, error)
GetChannelWithContext is the same as GetChannel with the addition of the ability to pass a context and additional request options.
See GetChannel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) GetEventDataStore ¶ added in v1.42.9
func (c *CloudTrail) GetEventDataStore(input *GetEventDataStoreInput) (*GetEventDataStoreOutput, error)
GetEventDataStore API operation for AWS CloudTrail.
Returns information about an event data store specified as either an ARN or the ID portion of the ARN.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation GetEventDataStore for usage and error information.
Returned Error Types:
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
EventDataStoreNotFoundException The specified event data store was not found.
InvalidParameterException The request includes a parameter that is not valid.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventDataStore
func (*CloudTrail) GetEventDataStoreRequest ¶ added in v1.42.9
func (c *CloudTrail) GetEventDataStoreRequest(input *GetEventDataStoreInput) (req *request.Request, output *GetEventDataStoreOutput)
GetEventDataStoreRequest generates a "aws/request.Request" representing the client's request for the GetEventDataStore operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetEventDataStore for more information on using the GetEventDataStore API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetEventDataStoreRequest method. req, resp := client.GetEventDataStoreRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventDataStore
func (*CloudTrail) GetEventDataStoreWithContext ¶ added in v1.42.9
func (c *CloudTrail) GetEventDataStoreWithContext(ctx aws.Context, input *GetEventDataStoreInput, opts ...request.Option) (*GetEventDataStoreOutput, error)
GetEventDataStoreWithContext is the same as GetEventDataStore with the addition of the ability to pass a context and additional request options.
See GetEventDataStore for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) GetEventSelectors ¶
func (c *CloudTrail) GetEventSelectors(input *GetEventSelectorsInput) (*GetEventSelectorsOutput, error)
GetEventSelectors API operation for AWS CloudTrail.
Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following:
If your event selector includes read-only events, write-only events, or all events. This applies to both management events and data events.
If your event selector includes management events.
If your event selector includes data events, the resources on which you are logging data events.
For more information about logging management and data events, see the following topics in the CloudTrail User Guide:
Logging management events (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html)
Logging data events (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html)
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation GetEventSelectors for usage and error information.
Returned Error Types:
TrailNotFoundException This exception is thrown when the trail with the given name is not found.
InvalidTrailNameException This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
Start with a letter or number, and end with a letter or number
Be between 3 and 128 characters
Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
Not be in IP address format (for example, 192.168.5.4)
ARNInvalidException This exception is thrown when an operation is called with a trail ARN that is not valid. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
This exception is also thrown when you call AddTags or RemoveTags on a trail, event data store, or channel with a resource ARN that is not valid.
The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectors
func (*CloudTrail) GetEventSelectorsRequest ¶
func (c *CloudTrail) GetEventSelectorsRequest(input *GetEventSelectorsInput) (req *request.Request, output *GetEventSelectorsOutput)
GetEventSelectorsRequest generates a "aws/request.Request" representing the client's request for the GetEventSelectors operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetEventSelectors for more information on using the GetEventSelectors API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetEventSelectorsRequest method. req, resp := client.GetEventSelectorsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectors
func (*CloudTrail) GetEventSelectorsWithContext ¶
func (c *CloudTrail) GetEventSelectorsWithContext(ctx aws.Context, input *GetEventSelectorsInput, opts ...request.Option) (*GetEventSelectorsOutput, error)
GetEventSelectorsWithContext is the same as GetEventSelectors with the addition of the ability to pass a context and additional request options.
See GetEventSelectors for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) GetImport ¶ added in v1.42.9
func (c *CloudTrail) GetImport(input *GetImportInput) (*GetImportOutput, error)
GetImport API operation for AWS CloudTrail.
Returns information about a specific import.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation GetImport for usage and error information.
Returned Error Types:
ImportNotFoundException The specified import was not found.
InvalidParameterException The request includes a parameter that is not valid.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetImport
func (*CloudTrail) GetImportRequest ¶ added in v1.42.9
func (c *CloudTrail) GetImportRequest(input *GetImportInput) (req *request.Request, output *GetImportOutput)
GetImportRequest generates a "aws/request.Request" representing the client's request for the GetImport operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetImport for more information on using the GetImport API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetImportRequest method. req, resp := client.GetImportRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetImport
func (*CloudTrail) GetImportWithContext ¶ added in v1.42.9
func (c *CloudTrail) GetImportWithContext(ctx aws.Context, input *GetImportInput, opts ...request.Option) (*GetImportOutput, error)
GetImportWithContext is the same as GetImport with the addition of the ability to pass a context and additional request options.
See GetImport for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) GetInsightSelectors ¶
func (c *CloudTrail) GetInsightSelectors(input *GetInsightSelectorsInput) (*GetInsightSelectorsOutput, error)
GetInsightSelectors API operation for AWS CloudTrail.
Describes the settings for the Insights event selectors that you configured for your trail. GetInsightSelectors shows if CloudTrail Insights event logging is enabled on the trail, and if it is, which insight types are enabled. If you run GetInsightSelectors on a trail that does not have Insights events enabled, the operation throws the exception InsightNotEnabledException
For more information, see Logging CloudTrail Insights Events for Trails (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-insights-events-with-cloudtrail.html) in the CloudTrail User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation GetInsightSelectors for usage and error information.
Returned Error Types:
TrailNotFoundException This exception is thrown when the trail with the given name is not found.
InvalidTrailNameException This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
Start with a letter or number, and end with a letter or number
Be between 3 and 128 characters
Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
Not be in IP address format (for example, 192.168.5.4)
ARNInvalidException This exception is thrown when an operation is called with a trail ARN that is not valid. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
This exception is also thrown when you call AddTags or RemoveTags on a trail, event data store, or channel with a resource ARN that is not valid.
The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
InsightNotEnabledException If you run GetInsightSelectors on a trail that does not have Insights events enabled, the operation throws the exception InsightNotEnabledException.
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetInsightSelectors
func (*CloudTrail) GetInsightSelectorsRequest ¶
func (c *CloudTrail) GetInsightSelectorsRequest(input *GetInsightSelectorsInput) (req *request.Request, output *GetInsightSelectorsOutput)
GetInsightSelectorsRequest generates a "aws/request.Request" representing the client's request for the GetInsightSelectors operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetInsightSelectors for more information on using the GetInsightSelectors API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetInsightSelectorsRequest method. req, resp := client.GetInsightSelectorsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetInsightSelectors
func (*CloudTrail) GetInsightSelectorsWithContext ¶
func (c *CloudTrail) GetInsightSelectorsWithContext(ctx aws.Context, input *GetInsightSelectorsInput, opts ...request.Option) (*GetInsightSelectorsOutput, error)
GetInsightSelectorsWithContext is the same as GetInsightSelectors with the addition of the ability to pass a context and additional request options.
See GetInsightSelectors for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) GetQueryResults ¶ added in v1.42.9
func (c *CloudTrail) GetQueryResults(input *GetQueryResultsInput) (*GetQueryResultsOutput, error)
GetQueryResults API operation for AWS CloudTrail.
Gets event data results of a query. You must specify the QueryID value returned by the StartQuery operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation GetQueryResults for usage and error information.
Returned Error Types:
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
EventDataStoreNotFoundException The specified event data store was not found.
InactiveEventDataStoreException The event data store is inactive.
InvalidMaxResultsException This exception is thrown if the limit specified is not valid.
InvalidNextTokenException A token that is not valid, or a token that was previously used in a request with different parameters. This exception is thrown if the token is not valid.
InvalidParameterException The request includes a parameter that is not valid.
QueryIdNotFoundException The query ID does not exist or does not map to a query.
InsufficientEncryptionPolicyException This exception is thrown when the policy on the S3 bucket or KMS key does not have sufficient permissions for the operation.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetQueryResults
func (*CloudTrail) GetQueryResultsPages ¶ added in v1.42.9
func (c *CloudTrail) GetQueryResultsPages(input *GetQueryResultsInput, fn func(*GetQueryResultsOutput, bool) bool) error
GetQueryResultsPages iterates over the pages of a GetQueryResults operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetQueryResults method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetQueryResults operation. pageNum := 0 err := client.GetQueryResultsPages(params, func(page *cloudtrail.GetQueryResultsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CloudTrail) GetQueryResultsPagesWithContext ¶ added in v1.42.9
func (c *CloudTrail) GetQueryResultsPagesWithContext(ctx aws.Context, input *GetQueryResultsInput, fn func(*GetQueryResultsOutput, bool) bool, opts ...request.Option) error
GetQueryResultsPagesWithContext same as GetQueryResultsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) GetQueryResultsRequest ¶ added in v1.42.9
func (c *CloudTrail) GetQueryResultsRequest(input *GetQueryResultsInput) (req *request.Request, output *GetQueryResultsOutput)
GetQueryResultsRequest generates a "aws/request.Request" representing the client's request for the GetQueryResults operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetQueryResults for more information on using the GetQueryResults API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetQueryResultsRequest method. req, resp := client.GetQueryResultsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetQueryResults
func (*CloudTrail) GetQueryResultsWithContext ¶ added in v1.42.9
func (c *CloudTrail) GetQueryResultsWithContext(ctx aws.Context, input *GetQueryResultsInput, opts ...request.Option) (*GetQueryResultsOutput, error)
GetQueryResultsWithContext is the same as GetQueryResults with the addition of the ability to pass a context and additional request options.
See GetQueryResults for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) GetResourcePolicy ¶ added in v1.42.9
func (c *CloudTrail) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error)
GetResourcePolicy API operation for AWS CloudTrail.
Retrieves the JSON text of the resource-based policy document attached to the CloudTrail channel.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation GetResourcePolicy for usage and error information.
Returned Error Types:
ResourceARNNotValidException This exception is thrown when the provided resource does not exist, or the ARN format of the resource is not valid. The following is the valid format for a resource ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel.
ResourceNotFoundException This exception is thrown when the specified resource is not found.
ResourcePolicyNotFoundException This exception is thrown when the specified resource policy is not found.
ResourceTypeNotSupportedException This exception is thrown when the specified resource type is not supported by CloudTrail.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetResourcePolicy
func (*CloudTrail) GetResourcePolicyRequest ¶ added in v1.42.9
func (c *CloudTrail) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput)
GetResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the GetResourcePolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetResourcePolicy for more information on using the GetResourcePolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetResourcePolicyRequest method. req, resp := client.GetResourcePolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetResourcePolicy
func (*CloudTrail) GetResourcePolicyWithContext ¶ added in v1.42.9
func (c *CloudTrail) GetResourcePolicyWithContext(ctx aws.Context, input *GetResourcePolicyInput, opts ...request.Option) (*GetResourcePolicyOutput, error)
GetResourcePolicyWithContext is the same as GetResourcePolicy with the addition of the ability to pass a context and additional request options.
See GetResourcePolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) GetTrail ¶
func (c *CloudTrail) GetTrail(input *GetTrailInput) (*GetTrailOutput, error)
GetTrail API operation for AWS CloudTrail.
Returns settings information for a specified trail.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation GetTrail for usage and error information.
Returned Error Types:
ARNInvalidException This exception is thrown when an operation is called with a trail ARN that is not valid. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
This exception is also thrown when you call AddTags or RemoveTags on a trail, event data store, or channel with a resource ARN that is not valid.
The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
TrailNotFoundException This exception is thrown when the trail with the given name is not found.
InvalidTrailNameException This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
Start with a letter or number, and end with a letter or number
Be between 3 and 128 characters
Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
Not be in IP address format (for example, 192.168.5.4)
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrail
func (*CloudTrail) GetTrailRequest ¶
func (c *CloudTrail) GetTrailRequest(input *GetTrailInput) (req *request.Request, output *GetTrailOutput)
GetTrailRequest generates a "aws/request.Request" representing the client's request for the GetTrail operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetTrail for more information on using the GetTrail API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetTrailRequest method. req, resp := client.GetTrailRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrail
func (*CloudTrail) GetTrailStatus ¶
func (c *CloudTrail) GetTrailStatus(input *GetTrailStatusInput) (*GetTrailStatusOutput, error)
GetTrailStatus API operation for AWS CloudTrail.
Returns a JSON-formatted list of information about the specified trail. Fields include information on delivery errors, Amazon SNS and Amazon S3 errors, and start and stop logging times for each trail. This operation returns trail status from a single Region. To return trail status from all Regions, you must call the operation on each Region.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation GetTrailStatus for usage and error information.
Returned Error Types:
ARNInvalidException This exception is thrown when an operation is called with a trail ARN that is not valid. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
This exception is also thrown when you call AddTags or RemoveTags on a trail, event data store, or channel with a resource ARN that is not valid.
The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
TrailNotFoundException This exception is thrown when the trail with the given name is not found.
InvalidTrailNameException This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
Start with a letter or number, and end with a letter or number
Be between 3 and 128 characters
Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
Not be in IP address format (for example, 192.168.5.4)
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatus
func (*CloudTrail) GetTrailStatusRequest ¶
func (c *CloudTrail) GetTrailStatusRequest(input *GetTrailStatusInput) (req *request.Request, output *GetTrailStatusOutput)
GetTrailStatusRequest generates a "aws/request.Request" representing the client's request for the GetTrailStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetTrailStatus for more information on using the GetTrailStatus API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetTrailStatusRequest method. req, resp := client.GetTrailStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatus
func (*CloudTrail) GetTrailStatusWithContext ¶
func (c *CloudTrail) GetTrailStatusWithContext(ctx aws.Context, input *GetTrailStatusInput, opts ...request.Option) (*GetTrailStatusOutput, error)
GetTrailStatusWithContext is the same as GetTrailStatus with the addition of the ability to pass a context and additional request options.
See GetTrailStatus for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) GetTrailWithContext ¶
func (c *CloudTrail) GetTrailWithContext(ctx aws.Context, input *GetTrailInput, opts ...request.Option) (*GetTrailOutput, error)
GetTrailWithContext is the same as GetTrail with the addition of the ability to pass a context and additional request options.
See GetTrail for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) ListChannels ¶ added in v1.42.9
func (c *CloudTrail) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error)
ListChannels API operation for AWS CloudTrail.
Lists the channels in the current account, and their source names.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation ListChannels for usage and error information.
Returned Error Types:
InvalidNextTokenException A token that is not valid, or a token that was previously used in a request with different parameters. This exception is thrown if the token is not valid.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListChannels
func (*CloudTrail) ListChannelsPages ¶ added in v1.42.9
func (c *CloudTrail) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error
ListChannelsPages iterates over the pages of a ListChannels operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListChannels method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListChannels operation. pageNum := 0 err := client.ListChannelsPages(params, func(page *cloudtrail.ListChannelsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CloudTrail) ListChannelsPagesWithContext ¶ added in v1.42.9
func (c *CloudTrail) ListChannelsPagesWithContext(ctx aws.Context, input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool, opts ...request.Option) error
ListChannelsPagesWithContext same as ListChannelsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) ListChannelsRequest ¶ added in v1.42.9
func (c *CloudTrail) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput)
ListChannelsRequest generates a "aws/request.Request" representing the client's request for the ListChannels operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListChannels for more information on using the ListChannels API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListChannelsRequest method. req, resp := client.ListChannelsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListChannels
func (*CloudTrail) ListChannelsWithContext ¶ added in v1.42.9
func (c *CloudTrail) ListChannelsWithContext(ctx aws.Context, input *ListChannelsInput, opts ...request.Option) (*ListChannelsOutput, error)
ListChannelsWithContext is the same as ListChannels with the addition of the ability to pass a context and additional request options.
See ListChannels for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) ListEventDataStores ¶ added in v1.42.9
func (c *CloudTrail) ListEventDataStores(input *ListEventDataStoresInput) (*ListEventDataStoresOutput, error)
ListEventDataStores API operation for AWS CloudTrail.
Returns information about all event data stores in the account, in the current Region.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation ListEventDataStores for usage and error information.
Returned Error Types:
InvalidMaxResultsException This exception is thrown if the limit specified is not valid.
InvalidNextTokenException A token that is not valid, or a token that was previously used in a request with different parameters. This exception is thrown if the token is not valid.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListEventDataStores
func (*CloudTrail) ListEventDataStoresPages ¶ added in v1.42.9
func (c *CloudTrail) ListEventDataStoresPages(input *ListEventDataStoresInput, fn func(*ListEventDataStoresOutput, bool) bool) error
ListEventDataStoresPages iterates over the pages of a ListEventDataStores operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListEventDataStores method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListEventDataStores operation. pageNum := 0 err := client.ListEventDataStoresPages(params, func(page *cloudtrail.ListEventDataStoresOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CloudTrail) ListEventDataStoresPagesWithContext ¶ added in v1.42.9
func (c *CloudTrail) ListEventDataStoresPagesWithContext(ctx aws.Context, input *ListEventDataStoresInput, fn func(*ListEventDataStoresOutput, bool) bool, opts ...request.Option) error
ListEventDataStoresPagesWithContext same as ListEventDataStoresPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) ListEventDataStoresRequest ¶ added in v1.42.9
func (c *CloudTrail) ListEventDataStoresRequest(input *ListEventDataStoresInput) (req *request.Request, output *ListEventDataStoresOutput)
ListEventDataStoresRequest generates a "aws/request.Request" representing the client's request for the ListEventDataStores operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListEventDataStores for more information on using the ListEventDataStores API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListEventDataStoresRequest method. req, resp := client.ListEventDataStoresRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListEventDataStores
func (*CloudTrail) ListEventDataStoresWithContext ¶ added in v1.42.9
func (c *CloudTrail) ListEventDataStoresWithContext(ctx aws.Context, input *ListEventDataStoresInput, opts ...request.Option) (*ListEventDataStoresOutput, error)
ListEventDataStoresWithContext is the same as ListEventDataStores with the addition of the ability to pass a context and additional request options.
See ListEventDataStores for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) ListImportFailures ¶ added in v1.42.9
func (c *CloudTrail) ListImportFailures(input *ListImportFailuresInput) (*ListImportFailuresOutput, error)
ListImportFailures API operation for AWS CloudTrail.
Returns a list of failures for the specified import.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation ListImportFailures for usage and error information.
Returned Error Types:
InvalidNextTokenException A token that is not valid, or a token that was previously used in a request with different parameters. This exception is thrown if the token is not valid.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListImportFailures
func (*CloudTrail) ListImportFailuresPages ¶ added in v1.42.9
func (c *CloudTrail) ListImportFailuresPages(input *ListImportFailuresInput, fn func(*ListImportFailuresOutput, bool) bool) error
ListImportFailuresPages iterates over the pages of a ListImportFailures operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListImportFailures method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListImportFailures operation. pageNum := 0 err := client.ListImportFailuresPages(params, func(page *cloudtrail.ListImportFailuresOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CloudTrail) ListImportFailuresPagesWithContext ¶ added in v1.42.9
func (c *CloudTrail) ListImportFailuresPagesWithContext(ctx aws.Context, input *ListImportFailuresInput, fn func(*ListImportFailuresOutput, bool) bool, opts ...request.Option) error
ListImportFailuresPagesWithContext same as ListImportFailuresPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) ListImportFailuresRequest ¶ added in v1.42.9
func (c *CloudTrail) ListImportFailuresRequest(input *ListImportFailuresInput) (req *request.Request, output *ListImportFailuresOutput)
ListImportFailuresRequest generates a "aws/request.Request" representing the client's request for the ListImportFailures operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListImportFailures for more information on using the ListImportFailures API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListImportFailuresRequest method. req, resp := client.ListImportFailuresRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListImportFailures
func (*CloudTrail) ListImportFailuresWithContext ¶ added in v1.42.9
func (c *CloudTrail) ListImportFailuresWithContext(ctx aws.Context, input *ListImportFailuresInput, opts ...request.Option) (*ListImportFailuresOutput, error)
ListImportFailuresWithContext is the same as ListImportFailures with the addition of the ability to pass a context and additional request options.
See ListImportFailures for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) ListImports ¶ added in v1.42.9
func (c *CloudTrail) ListImports(input *ListImportsInput) (*ListImportsOutput, error)
ListImports API operation for AWS CloudTrail.
Returns information on all imports, or a select set of imports by ImportStatus or Destination.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation ListImports for usage and error information.
Returned Error Types:
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
InvalidNextTokenException A token that is not valid, or a token that was previously used in a request with different parameters. This exception is thrown if the token is not valid.
InvalidParameterException The request includes a parameter that is not valid.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListImports
func (*CloudTrail) ListImportsPages ¶ added in v1.42.9
func (c *CloudTrail) ListImportsPages(input *ListImportsInput, fn func(*ListImportsOutput, bool) bool) error
ListImportsPages iterates over the pages of a ListImports operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListImports method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListImports operation. pageNum := 0 err := client.ListImportsPages(params, func(page *cloudtrail.ListImportsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CloudTrail) ListImportsPagesWithContext ¶ added in v1.42.9
func (c *CloudTrail) ListImportsPagesWithContext(ctx aws.Context, input *ListImportsInput, fn func(*ListImportsOutput, bool) bool, opts ...request.Option) error
ListImportsPagesWithContext same as ListImportsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) ListImportsRequest ¶ added in v1.42.9
func (c *CloudTrail) ListImportsRequest(input *ListImportsInput) (req *request.Request, output *ListImportsOutput)
ListImportsRequest generates a "aws/request.Request" representing the client's request for the ListImports operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListImports for more information on using the ListImports API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListImportsRequest method. req, resp := client.ListImportsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListImports
func (*CloudTrail) ListImportsWithContext ¶ added in v1.42.9
func (c *CloudTrail) ListImportsWithContext(ctx aws.Context, input *ListImportsInput, opts ...request.Option) (*ListImportsOutput, error)
ListImportsWithContext is the same as ListImports with the addition of the ability to pass a context and additional request options.
See ListImports for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) ListPublicKeys ¶
func (c *CloudTrail) ListPublicKeys(input *ListPublicKeysInput) (*ListPublicKeysOutput, error)
ListPublicKeys API operation for AWS CloudTrail.
Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key.
CloudTrail uses different private and public key pairs per Region. Each digest file is signed with a private key unique to its Region. When you validate a digest file from a specific Region, you must look in the same Region for its corresponding public key.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation ListPublicKeys for usage and error information.
Returned Error Types:
InvalidTimeRangeException Occurs if the timestamp values are not valid. Either the start time occurs after the end time, or the time range is outside the range of possible values.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
InvalidTokenException Reserved for future use.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeys
func (*CloudTrail) ListPublicKeysPages ¶
func (c *CloudTrail) ListPublicKeysPages(input *ListPublicKeysInput, fn func(*ListPublicKeysOutput, bool) bool) error
ListPublicKeysPages iterates over the pages of a ListPublicKeys operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListPublicKeys method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListPublicKeys operation. pageNum := 0 err := client.ListPublicKeysPages(params, func(page *cloudtrail.ListPublicKeysOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CloudTrail) ListPublicKeysPagesWithContext ¶
func (c *CloudTrail) ListPublicKeysPagesWithContext(ctx aws.Context, input *ListPublicKeysInput, fn func(*ListPublicKeysOutput, bool) bool, opts ...request.Option) error
ListPublicKeysPagesWithContext same as ListPublicKeysPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) ListPublicKeysRequest ¶
func (c *CloudTrail) ListPublicKeysRequest(input *ListPublicKeysInput) (req *request.Request, output *ListPublicKeysOutput)
ListPublicKeysRequest generates a "aws/request.Request" representing the client's request for the ListPublicKeys operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListPublicKeys for more information on using the ListPublicKeys API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListPublicKeysRequest method. req, resp := client.ListPublicKeysRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeys
func (*CloudTrail) ListPublicKeysWithContext ¶
func (c *CloudTrail) ListPublicKeysWithContext(ctx aws.Context, input *ListPublicKeysInput, opts ...request.Option) (*ListPublicKeysOutput, error)
ListPublicKeysWithContext is the same as ListPublicKeys with the addition of the ability to pass a context and additional request options.
See ListPublicKeys for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) ListQueries ¶ added in v1.42.9
func (c *CloudTrail) ListQueries(input *ListQueriesInput) (*ListQueriesOutput, error)
ListQueries API operation for AWS CloudTrail.
Returns a list of queries and query statuses for the past seven days. You must specify an ARN value for EventDataStore. Optionally, to shorten the list of results, you can specify a time range, formatted as timestamps, by adding StartTime and EndTime parameters, and a QueryStatus value. Valid values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation ListQueries for usage and error information.
Returned Error Types:
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
EventDataStoreNotFoundException The specified event data store was not found.
InactiveEventDataStoreException The event data store is inactive.
InvalidDateRangeException A date range for the query was specified that is not valid. Be sure that the start time is chronologically before the end time. For more information about writing a query, see Create or edit a query (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html) in the CloudTrail User Guide.
InvalidMaxResultsException This exception is thrown if the limit specified is not valid.
InvalidNextTokenException A token that is not valid, or a token that was previously used in a request with different parameters. This exception is thrown if the token is not valid.
InvalidParameterException The request includes a parameter that is not valid.
InvalidQueryStatusException The query status is not valid for the operation.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListQueries
func (*CloudTrail) ListQueriesPages ¶ added in v1.42.9
func (c *CloudTrail) ListQueriesPages(input *ListQueriesInput, fn func(*ListQueriesOutput, bool) bool) error
ListQueriesPages iterates over the pages of a ListQueries operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListQueries method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListQueries operation. pageNum := 0 err := client.ListQueriesPages(params, func(page *cloudtrail.ListQueriesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CloudTrail) ListQueriesPagesWithContext ¶ added in v1.42.9
func (c *CloudTrail) ListQueriesPagesWithContext(ctx aws.Context, input *ListQueriesInput, fn func(*ListQueriesOutput, bool) bool, opts ...request.Option) error
ListQueriesPagesWithContext same as ListQueriesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) ListQueriesRequest ¶ added in v1.42.9
func (c *CloudTrail) ListQueriesRequest(input *ListQueriesInput) (req *request.Request, output *ListQueriesOutput)
ListQueriesRequest generates a "aws/request.Request" representing the client's request for the ListQueries operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListQueries for more information on using the ListQueries API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListQueriesRequest method. req, resp := client.ListQueriesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListQueries
func (*CloudTrail) ListQueriesWithContext ¶ added in v1.42.9
func (c *CloudTrail) ListQueriesWithContext(ctx aws.Context, input *ListQueriesInput, opts ...request.Option) (*ListQueriesOutput, error)
ListQueriesWithContext is the same as ListQueries with the addition of the ability to pass a context and additional request options.
See ListQueries for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) ListTags ¶
func (c *CloudTrail) ListTags(input *ListTagsInput) (*ListTagsOutput, error)
ListTags API operation for AWS CloudTrail.
Lists the tags for the specified trails, event data stores, or channels in the current Region.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation ListTags for usage and error information.
Returned Error Types:
ResourceNotFoundException This exception is thrown when the specified resource is not found.
ARNInvalidException This exception is thrown when an operation is called with a trail ARN that is not valid. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
This exception is also thrown when you call AddTags or RemoveTags on a trail, event data store, or channel with a resource ARN that is not valid.
The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
ChannelARNInvalidException This exception is thrown when the specified value of ChannelARN is not valid.
ResourceTypeNotSupportedException This exception is thrown when the specified resource type is not supported by CloudTrail.
InvalidTrailNameException This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
Start with a letter or number, and end with a letter or number
Be between 3 and 128 characters
Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
Not be in IP address format (for example, 192.168.5.4)
InactiveEventDataStoreException The event data store is inactive.
EventDataStoreNotFoundException The specified event data store was not found.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
InvalidTokenException Reserved for future use.
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTags
func (*CloudTrail) ListTagsPages ¶
func (c *CloudTrail) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error
ListTagsPages iterates over the pages of a ListTags operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListTags method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListTags operation. pageNum := 0 err := client.ListTagsPages(params, func(page *cloudtrail.ListTagsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CloudTrail) ListTagsPagesWithContext ¶
func (c *CloudTrail) ListTagsPagesWithContext(ctx aws.Context, input *ListTagsInput, fn func(*ListTagsOutput, bool) bool, opts ...request.Option) error
ListTagsPagesWithContext same as ListTagsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) ListTagsRequest ¶
func (c *CloudTrail) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput)
ListTagsRequest generates a "aws/request.Request" representing the client's request for the ListTags operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTags for more information on using the ListTags API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsRequest method. req, resp := client.ListTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTags
func (*CloudTrail) ListTagsWithContext ¶
func (c *CloudTrail) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts ...request.Option) (*ListTagsOutput, error)
ListTagsWithContext is the same as ListTags with the addition of the ability to pass a context and additional request options.
See ListTags for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) ListTrails ¶
func (c *CloudTrail) ListTrails(input *ListTrailsInput) (*ListTrailsOutput, error)
ListTrails API operation for AWS CloudTrail.
Lists trails that are in the current account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation ListTrails for usage and error information.
Returned Error Types:
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTrails
func (*CloudTrail) ListTrailsPages ¶
func (c *CloudTrail) ListTrailsPages(input *ListTrailsInput, fn func(*ListTrailsOutput, bool) bool) error
ListTrailsPages iterates over the pages of a ListTrails operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListTrails method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListTrails operation. pageNum := 0 err := client.ListTrailsPages(params, func(page *cloudtrail.ListTrailsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CloudTrail) ListTrailsPagesWithContext ¶
func (c *CloudTrail) ListTrailsPagesWithContext(ctx aws.Context, input *ListTrailsInput, fn func(*ListTrailsOutput, bool) bool, opts ...request.Option) error
ListTrailsPagesWithContext same as ListTrailsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) ListTrailsRequest ¶
func (c *CloudTrail) ListTrailsRequest(input *ListTrailsInput) (req *request.Request, output *ListTrailsOutput)
ListTrailsRequest generates a "aws/request.Request" representing the client's request for the ListTrails operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTrails for more information on using the ListTrails API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTrailsRequest method. req, resp := client.ListTrailsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTrails
func (*CloudTrail) ListTrailsWithContext ¶
func (c *CloudTrail) ListTrailsWithContext(ctx aws.Context, input *ListTrailsInput, opts ...request.Option) (*ListTrailsOutput, error)
ListTrailsWithContext is the same as ListTrails with the addition of the ability to pass a context and additional request options.
See ListTrails for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) LookupEvents ¶
func (c *CloudTrail) LookupEvents(input *LookupEventsInput) (*LookupEventsOutput, error)
LookupEvents API operation for AWS CloudTrail.
Looks up management events (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-concepts.html#cloudtrail-concepts-management-events) or CloudTrail Insights events (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-concepts.html#cloudtrail-concepts-insights-events) that are captured by CloudTrail. You can look up events that occurred in a Region within the last 90 days. Lookup supports the following attributes for management events:
Amazon Web Services access key
Event ID
Event name
Event source
Read only
Resource name
Resource type
User name
Lookup supports the following attributes for Insights events:
Event ID
Event name
Event source
All attributes are optional. The default number of results returned is 50, with a maximum of 50 possible. The response includes a token that you can use to get the next page of results.
The rate of lookup requests is limited to two per second, per account, per Region. If this limit is exceeded, a throttling error occurs.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation LookupEvents for usage and error information.
Returned Error Types:
InvalidLookupAttributesException Occurs when a lookup attribute is specified that is not valid.
InvalidTimeRangeException Occurs if the timestamp values are not valid. Either the start time occurs after the end time, or the time range is outside the range of possible values.
InvalidMaxResultsException This exception is thrown if the limit specified is not valid.
InvalidNextTokenException A token that is not valid, or a token that was previously used in a request with different parameters. This exception is thrown if the token is not valid.
InvalidEventCategoryException Occurs if an event category that is not valid is specified as a value of EventCategory.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEvents
func (*CloudTrail) LookupEventsPages ¶
func (c *CloudTrail) LookupEventsPages(input *LookupEventsInput, fn func(*LookupEventsOutput, bool) bool) error
LookupEventsPages iterates over the pages of a LookupEvents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See LookupEvents method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a LookupEvents operation. pageNum := 0 err := client.LookupEventsPages(params, func(page *cloudtrail.LookupEventsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CloudTrail) LookupEventsPagesWithContext ¶
func (c *CloudTrail) LookupEventsPagesWithContext(ctx aws.Context, input *LookupEventsInput, fn func(*LookupEventsOutput, bool) bool, opts ...request.Option) error
LookupEventsPagesWithContext same as LookupEventsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) LookupEventsRequest ¶
func (c *CloudTrail) LookupEventsRequest(input *LookupEventsInput) (req *request.Request, output *LookupEventsOutput)
LookupEventsRequest generates a "aws/request.Request" representing the client's request for the LookupEvents operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See LookupEvents for more information on using the LookupEvents API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the LookupEventsRequest method. req, resp := client.LookupEventsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEvents
func (*CloudTrail) LookupEventsWithContext ¶
func (c *CloudTrail) LookupEventsWithContext(ctx aws.Context, input *LookupEventsInput, opts ...request.Option) (*LookupEventsOutput, error)
LookupEventsWithContext is the same as LookupEvents with the addition of the ability to pass a context and additional request options.
See LookupEvents for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) PutEventSelectors ¶
func (c *CloudTrail) PutEventSelectors(input *PutEventSelectorsInput) (*PutEventSelectorsOutput, error)
PutEventSelectors API operation for AWS CloudTrail.
Configures an event selector or advanced event selectors for your trail. Use event selectors or advanced event selectors to specify management and data event settings for your trail. If you want your trail to log Insights events, be sure the event selector enables logging of the Insights event types you want configured for your trail. For more information about logging Insights events, see Logging Insights events for trails (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-insights-events-with-cloudtrail.html) in the CloudTrail User Guide. By default, trails created without specific event selectors are configured to log all read and write management events, and no data events.
When an event occurs in your account, CloudTrail evaluates the event selectors or advanced event selectors in all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event.
Example ¶
You create an event selector for a trail and specify that you want write-only events.
The EC2 GetConsoleOutput and RunInstances API operations occur in your account.
CloudTrail evaluates whether the events match your event selectors.
The RunInstances is a write-only event and it matches your event selector. The trail logs the event.
The GetConsoleOutput is a read-only event that doesn't match your event selector. The trail doesn't log the event.
The PutEventSelectors operation must be called from the Region in which the trail was created; otherwise, an InvalidHomeRegionException exception is thrown.
You can configure up to five event selectors for each trail. For more information, see Logging management events (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html), Logging data events (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html), and Quotas in CloudTrail (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html) in the CloudTrail User Guide.
You can add advanced event selectors, and conditions for your advanced event selectors, up to a maximum of 500 values for all conditions and selectors on a trail. You can use either AdvancedEventSelectors or EventSelectors, but not both. If you apply AdvancedEventSelectors to a trail, any existing EventSelectors are overwritten. For more information about advanced event selectors, see Logging data events (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html) in the CloudTrail User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation PutEventSelectors for usage and error information.
Returned Error Types:
TrailNotFoundException This exception is thrown when the trail with the given name is not found.
InvalidTrailNameException This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
Start with a letter or number, and end with a letter or number
Be between 3 and 128 characters
Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
Not be in IP address format (for example, 192.168.5.4)
ARNInvalidException This exception is thrown when an operation is called with a trail ARN that is not valid. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
This exception is also thrown when you call AddTags or RemoveTags on a trail, event data store, or channel with a resource ARN that is not valid.
The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
InvalidHomeRegionException This exception is thrown when an operation is called on a trail from a Region other than the Region in which the trail was created.
InvalidEventSelectorsException This exception is thrown when the PutEventSelectors operation is called with a number of event selectors, advanced event selectors, or data resources that is not valid. The combination of event selectors or advanced event selectors and data resources is not valid. A trail can have up to 5 event selectors. If a trail uses advanced event selectors, a maximum of 500 total values for all conditions in all advanced event selectors is allowed. A trail is limited to 250 data resources. These data resources can be distributed across event selectors, but the overall total cannot exceed 250.
You can:
Specify a valid number of event selectors (1 to 5) for a trail.
Specify a valid number of data resources (1 to 250) for an event selector. The limit of number of resources on an individual event selector is configurable up to 250. However, this upper limit is allowed only if the total number of data resources does not exceed 250 across all event selectors for a trail.
Specify up to 500 values for all conditions in all advanced event selectors for a trail.
Specify a valid value for a parameter. For example, specifying the ReadWriteType parameter with a value of read-only is not valid.
ConflictException This exception is thrown when the specified resource is not ready for an operation. This can occur when you try to run an operation on a resource before CloudTrail has time to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the operation again.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
NotOrganizationMasterAccountException This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html).
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
InsufficientDependencyServiceAccessPermissionException This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectors
func (*CloudTrail) PutEventSelectorsRequest ¶
func (c *CloudTrail) PutEventSelectorsRequest(input *PutEventSelectorsInput) (req *request.Request, output *PutEventSelectorsOutput)
PutEventSelectorsRequest generates a "aws/request.Request" representing the client's request for the PutEventSelectors operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutEventSelectors for more information on using the PutEventSelectors API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutEventSelectorsRequest method. req, resp := client.PutEventSelectorsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectors
func (*CloudTrail) PutEventSelectorsWithContext ¶
func (c *CloudTrail) PutEventSelectorsWithContext(ctx aws.Context, input *PutEventSelectorsInput, opts ...request.Option) (*PutEventSelectorsOutput, error)
PutEventSelectorsWithContext is the same as PutEventSelectors with the addition of the ability to pass a context and additional request options.
See PutEventSelectors for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) PutInsightSelectors ¶
func (c *CloudTrail) PutInsightSelectors(input *PutInsightSelectorsInput) (*PutInsightSelectorsOutput, error)
PutInsightSelectors API operation for AWS CloudTrail.
Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail. You also use PutInsightSelectors to turn off Insights event logging, by passing an empty list of insight types. The valid Insights event types in this release are ApiErrorRateInsight and ApiCallRateInsight.
To log CloudTrail Insights events on API call volume, the trail must log write management events. To log CloudTrail Insights events on API error rate, the trail must log read or write management events. You can call GetEventSelectors on a trail to check whether the trail logs management events.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation PutInsightSelectors for usage and error information.
Returned Error Types:
TrailNotFoundException This exception is thrown when the trail with the given name is not found.
InvalidTrailNameException This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
Start with a letter or number, and end with a letter or number
Be between 3 and 128 characters
Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
Not be in IP address format (for example, 192.168.5.4)
ARNInvalidException This exception is thrown when an operation is called with a trail ARN that is not valid. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
This exception is also thrown when you call AddTags or RemoveTags on a trail, event data store, or channel with a resource ARN that is not valid.
The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
InvalidHomeRegionException This exception is thrown when an operation is called on a trail from a Region other than the Region in which the trail was created.
InvalidInsightSelectorsException The formatting or syntax of the InsightSelectors JSON statement in your PutInsightSelectors or GetInsightSelectors request is not valid, or the specified insight type in the InsightSelectors statement is not a valid insight type.
InsufficientS3BucketPolicyException This exception is thrown when the policy on the S3 bucket is not sufficient.
InsufficientEncryptionPolicyException This exception is thrown when the policy on the S3 bucket or KMS key does not have sufficient permissions for the operation.
S3BucketDoesNotExistException This exception is thrown when the specified S3 bucket does not exist.
KmsException This exception is thrown when there is an issue with the specified KMS key and the trail or event data store can't be updated.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
NotOrganizationMasterAccountException This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html).
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutInsightSelectors
func (*CloudTrail) PutInsightSelectorsRequest ¶
func (c *CloudTrail) PutInsightSelectorsRequest(input *PutInsightSelectorsInput) (req *request.Request, output *PutInsightSelectorsOutput)
PutInsightSelectorsRequest generates a "aws/request.Request" representing the client's request for the PutInsightSelectors operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutInsightSelectors for more information on using the PutInsightSelectors API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutInsightSelectorsRequest method. req, resp := client.PutInsightSelectorsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutInsightSelectors
func (*CloudTrail) PutInsightSelectorsWithContext ¶
func (c *CloudTrail) PutInsightSelectorsWithContext(ctx aws.Context, input *PutInsightSelectorsInput, opts ...request.Option) (*PutInsightSelectorsOutput, error)
PutInsightSelectorsWithContext is the same as PutInsightSelectors with the addition of the ability to pass a context and additional request options.
See PutInsightSelectors for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) PutResourcePolicy ¶ added in v1.42.9
func (c *CloudTrail) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error)
PutResourcePolicy API operation for AWS CloudTrail.
Attaches a resource-based permission policy to a CloudTrail channel that is used for an integration with an event source outside of Amazon Web Services. For more information about resource-based policies, see CloudTrail resource-based policy examples (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/security_iam_resource-based-policy-examples.html) in the CloudTrail User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation PutResourcePolicy for usage and error information.
Returned Error Types:
ResourceARNNotValidException This exception is thrown when the provided resource does not exist, or the ARN format of the resource is not valid. The following is the valid format for a resource ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel.
ResourcePolicyNotValidException This exception is thrown when the resouce-based policy has syntax errors, or contains a principal that is not valid.
The following are requirements for the resource policy:
Contains only one action: cloudtrail-data:PutAuditEvents
Contains at least one statement. The policy can have a maximum of 20 statements.
Each statement contains at least one principal. A statement can have a maximum of 50 principals.
ResourceNotFoundException This exception is thrown when the specified resource is not found.
ResourceTypeNotSupportedException This exception is thrown when the specified resource type is not supported by CloudTrail.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutResourcePolicy
func (*CloudTrail) PutResourcePolicyRequest ¶ added in v1.42.9
func (c *CloudTrail) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput)
PutResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the PutResourcePolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutResourcePolicy for more information on using the PutResourcePolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutResourcePolicyRequest method. req, resp := client.PutResourcePolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutResourcePolicy
func (*CloudTrail) PutResourcePolicyWithContext ¶ added in v1.42.9
func (c *CloudTrail) PutResourcePolicyWithContext(ctx aws.Context, input *PutResourcePolicyInput, opts ...request.Option) (*PutResourcePolicyOutput, error)
PutResourcePolicyWithContext is the same as PutResourcePolicy with the addition of the ability to pass a context and additional request options.
See PutResourcePolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) RegisterOrganizationDelegatedAdmin ¶ added in v1.42.9
func (c *CloudTrail) RegisterOrganizationDelegatedAdmin(input *RegisterOrganizationDelegatedAdminInput) (*RegisterOrganizationDelegatedAdminOutput, error)
RegisterOrganizationDelegatedAdmin API operation for AWS CloudTrail.
Registers an organization’s member account as the CloudTrail delegated administrator.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation RegisterOrganizationDelegatedAdmin for usage and error information.
Returned Error Types:
AccountRegisteredException This exception is thrown when the account is already registered as the CloudTrail delegated administrator.
AccountNotFoundException This exception is thrown when the specified account is not found or not part of an organization.
InsufficientDependencyServiceAccessPermissionException This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
InvalidParameterException The request includes a parameter that is not valid.
CannotDelegateManagementAccountException This exception is thrown when the management account of an organization is registered as the CloudTrail delegated administrator.
AccessNotEnabledException This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see Enabling Trusted Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html).
ConflictException This exception is thrown when the specified resource is not ready for an operation. This can occur when you try to run an operation on a resource before CloudTrail has time to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the operation again.
DelegatedAdminAccountLimitExceededException This exception is thrown when the maximum number of CloudTrail delegated administrators is reached.
NotOrganizationManagementAccountException This exception is thrown when the account making the request is not the organization's management account.
OrganizationNotInAllFeaturesModeException This exception is thrown when Organizations is not configured to support all features. All features must be enabled in Organizations to support creating an organization trail or event data store.
OrganizationsNotInUseException This exception is thrown when the request is made from an Amazon Web Services account that is not a member of an organization. To make this request, sign in using the credentials of an account that belongs to an organization.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RegisterOrganizationDelegatedAdmin
func (*CloudTrail) RegisterOrganizationDelegatedAdminRequest ¶ added in v1.42.9
func (c *CloudTrail) RegisterOrganizationDelegatedAdminRequest(input *RegisterOrganizationDelegatedAdminInput) (req *request.Request, output *RegisterOrganizationDelegatedAdminOutput)
RegisterOrganizationDelegatedAdminRequest generates a "aws/request.Request" representing the client's request for the RegisterOrganizationDelegatedAdmin operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See RegisterOrganizationDelegatedAdmin for more information on using the RegisterOrganizationDelegatedAdmin API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the RegisterOrganizationDelegatedAdminRequest method. req, resp := client.RegisterOrganizationDelegatedAdminRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RegisterOrganizationDelegatedAdmin
func (*CloudTrail) RegisterOrganizationDelegatedAdminWithContext ¶ added in v1.42.9
func (c *CloudTrail) RegisterOrganizationDelegatedAdminWithContext(ctx aws.Context, input *RegisterOrganizationDelegatedAdminInput, opts ...request.Option) (*RegisterOrganizationDelegatedAdminOutput, error)
RegisterOrganizationDelegatedAdminWithContext is the same as RegisterOrganizationDelegatedAdmin with the addition of the ability to pass a context and additional request options.
See RegisterOrganizationDelegatedAdmin for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) RemoveTags ¶
func (c *CloudTrail) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error)
RemoveTags API operation for AWS CloudTrail.
Removes the specified tags from a trail, event data store, or channel.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation RemoveTags for usage and error information.
Returned Error Types:
ResourceNotFoundException This exception is thrown when the specified resource is not found.
ARNInvalidException This exception is thrown when an operation is called with a trail ARN that is not valid. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
This exception is also thrown when you call AddTags or RemoveTags on a trail, event data store, or channel with a resource ARN that is not valid.
The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
ChannelARNInvalidException This exception is thrown when the specified value of ChannelARN is not valid.
ResourceTypeNotSupportedException This exception is thrown when the specified resource type is not supported by CloudTrail.
InvalidTrailNameException This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
Start with a letter or number, and end with a letter or number
Be between 3 and 128 characters
Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
Not be in IP address format (for example, 192.168.5.4)
InvalidTagParameterException This exception is thrown when the specified tag key or values are not valid. It can also occur if there are duplicate tags or too many tags on the resource.
InactiveEventDataStoreException The event data store is inactive.
EventDataStoreNotFoundException The specified event data store was not found.
ChannelNotFoundException This exception is thrown when CloudTrail cannot find the specified channel.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
NotOrganizationMasterAccountException This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html).
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTags
func (*CloudTrail) RemoveTagsRequest ¶
func (c *CloudTrail) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput)
RemoveTagsRequest generates a "aws/request.Request" representing the client's request for the RemoveTags operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See RemoveTags for more information on using the RemoveTags API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the RemoveTagsRequest method. req, resp := client.RemoveTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTags
func (*CloudTrail) RemoveTagsWithContext ¶
func (c *CloudTrail) RemoveTagsWithContext(ctx aws.Context, input *RemoveTagsInput, opts ...request.Option) (*RemoveTagsOutput, error)
RemoveTagsWithContext is the same as RemoveTags with the addition of the ability to pass a context and additional request options.
See RemoveTags for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) RestoreEventDataStore ¶ added in v1.42.9
func (c *CloudTrail) RestoreEventDataStore(input *RestoreEventDataStoreInput) (*RestoreEventDataStoreOutput, error)
RestoreEventDataStore API operation for AWS CloudTrail.
Restores a deleted event data store specified by EventDataStore, which accepts an event data store ARN. You can only restore a deleted event data store within the seven-day wait period after deletion. Restoring an event data store can take several minutes, depending on the size of the event data store.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation RestoreEventDataStore for usage and error information.
Returned Error Types:
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
EventDataStoreNotFoundException The specified event data store was not found.
EventDataStoreMaxLimitExceededException Your account has used the maximum number of event data stores.
InvalidEventDataStoreStatusException The event data store is not in a status that supports the operation.
InvalidParameterException The request includes a parameter that is not valid.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
AccessNotEnabledException This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see Enabling Trusted Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html).
InsufficientDependencyServiceAccessPermissionException This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
OrganizationsNotInUseException This exception is thrown when the request is made from an Amazon Web Services account that is not a member of an organization. To make this request, sign in using the credentials of an account that belongs to an organization.
NotOrganizationMasterAccountException This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html).
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
OrganizationNotInAllFeaturesModeException This exception is thrown when Organizations is not configured to support all features. All features must be enabled in Organizations to support creating an organization trail or event data store.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RestoreEventDataStore
func (*CloudTrail) RestoreEventDataStoreRequest ¶ added in v1.42.9
func (c *CloudTrail) RestoreEventDataStoreRequest(input *RestoreEventDataStoreInput) (req *request.Request, output *RestoreEventDataStoreOutput)
RestoreEventDataStoreRequest generates a "aws/request.Request" representing the client's request for the RestoreEventDataStore operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See RestoreEventDataStore for more information on using the RestoreEventDataStore API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the RestoreEventDataStoreRequest method. req, resp := client.RestoreEventDataStoreRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RestoreEventDataStore
func (*CloudTrail) RestoreEventDataStoreWithContext ¶ added in v1.42.9
func (c *CloudTrail) RestoreEventDataStoreWithContext(ctx aws.Context, input *RestoreEventDataStoreInput, opts ...request.Option) (*RestoreEventDataStoreOutput, error)
RestoreEventDataStoreWithContext is the same as RestoreEventDataStore with the addition of the ability to pass a context and additional request options.
See RestoreEventDataStore for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) StartEventDataStoreIngestion ¶ added in v1.42.9
func (c *CloudTrail) StartEventDataStoreIngestion(input *StartEventDataStoreIngestionInput) (*StartEventDataStoreIngestionOutput, error)
StartEventDataStoreIngestion API operation for AWS CloudTrail.
Starts the ingestion of live events on an event data store specified as either an ARN or the ID portion of the ARN. To start ingestion, the event data store Status must be STOPPED_INGESTION and the eventCategory must be Management, Data, or ConfigurationItem.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation StartEventDataStoreIngestion for usage and error information.
Returned Error Types:
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
EventDataStoreNotFoundException The specified event data store was not found.
InvalidEventDataStoreStatusException The event data store is not in a status that supports the operation.
InvalidParameterException The request includes a parameter that is not valid.
InvalidEventDataStoreCategoryException This exception is thrown when event categories of specified event data stores are not valid.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
NotOrganizationMasterAccountException This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html).
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
InsufficientDependencyServiceAccessPermissionException This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartEventDataStoreIngestion
func (*CloudTrail) StartEventDataStoreIngestionRequest ¶ added in v1.42.9
func (c *CloudTrail) StartEventDataStoreIngestionRequest(input *StartEventDataStoreIngestionInput) (req *request.Request, output *StartEventDataStoreIngestionOutput)
StartEventDataStoreIngestionRequest generates a "aws/request.Request" representing the client's request for the StartEventDataStoreIngestion operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StartEventDataStoreIngestion for more information on using the StartEventDataStoreIngestion API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StartEventDataStoreIngestionRequest method. req, resp := client.StartEventDataStoreIngestionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartEventDataStoreIngestion
func (*CloudTrail) StartEventDataStoreIngestionWithContext ¶ added in v1.42.9
func (c *CloudTrail) StartEventDataStoreIngestionWithContext(ctx aws.Context, input *StartEventDataStoreIngestionInput, opts ...request.Option) (*StartEventDataStoreIngestionOutput, error)
StartEventDataStoreIngestionWithContext is the same as StartEventDataStoreIngestion with the addition of the ability to pass a context and additional request options.
See StartEventDataStoreIngestion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) StartImport ¶ added in v1.42.9
func (c *CloudTrail) StartImport(input *StartImportInput) (*StartImportOutput, error)
StartImport API operation for AWS CloudTrail.
Starts an import of logged trail events from a source S3 bucket to a destination event data store. By default, CloudTrail only imports events contained in the S3 bucket's CloudTrail prefix and the prefixes inside the CloudTrail prefix, and does not check prefixes for other Amazon Web Services services. If you want to import CloudTrail events contained in another prefix, you must include the prefix in the S3LocationUri. For more considerations about importing trail events, see Considerations (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-copy-trail-to-lake.html#cloudtrail-trail-copy-considerations).
When you start a new import, the Destinations and ImportSource parameters are required. Before starting a new import, disable any access control lists (ACLs) attached to the source S3 bucket. For more information about disabling ACLs, see Controlling ownership of objects and disabling ACLs for your bucket (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html).
When you retry an import, the ImportID parameter is required.
If the destination event data store is for an organization, you must use the management account to import trail events. You cannot use the delegated administrator account for the organization.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation StartImport for usage and error information.
Returned Error Types:
AccountHasOngoingImportException This exception is thrown when you start a new import and a previous import is still in progress.
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
EventDataStoreNotFoundException The specified event data store was not found.
InvalidEventDataStoreStatusException The event data store is not in a status that supports the operation.
InvalidEventDataStoreCategoryException This exception is thrown when event categories of specified event data stores are not valid.
InactiveEventDataStoreException The event data store is inactive.
InvalidImportSourceException This exception is thrown when the provided source S3 bucket is not valid for import.
ImportNotFoundException The specified import was not found.
InvalidParameterException The request includes a parameter that is not valid.
InsufficientEncryptionPolicyException This exception is thrown when the policy on the S3 bucket or KMS key does not have sufficient permissions for the operation.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartImport
func (*CloudTrail) StartImportRequest ¶ added in v1.42.9
func (c *CloudTrail) StartImportRequest(input *StartImportInput) (req *request.Request, output *StartImportOutput)
StartImportRequest generates a "aws/request.Request" representing the client's request for the StartImport operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StartImport for more information on using the StartImport API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StartImportRequest method. req, resp := client.StartImportRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartImport
func (*CloudTrail) StartImportWithContext ¶ added in v1.42.9
func (c *CloudTrail) StartImportWithContext(ctx aws.Context, input *StartImportInput, opts ...request.Option) (*StartImportOutput, error)
StartImportWithContext is the same as StartImport with the addition of the ability to pass a context and additional request options.
See StartImport for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) StartLogging ¶
func (c *CloudTrail) StartLogging(input *StartLoggingInput) (*StartLoggingOutput, error)
StartLogging API operation for AWS CloudTrail.
Starts the recording of Amazon Web Services API calls and log file delivery for a trail. For a trail that is enabled in all Regions, this operation must be called from the Region in which the trail was created. This operation cannot be called on the shadow trails (replicated trails in other Regions) of a trail that is enabled in all Regions.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation StartLogging for usage and error information.
Returned Error Types:
ARNInvalidException This exception is thrown when an operation is called with a trail ARN that is not valid. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
This exception is also thrown when you call AddTags or RemoveTags on a trail, event data store, or channel with a resource ARN that is not valid.
The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
ConflictException This exception is thrown when the specified resource is not ready for an operation. This can occur when you try to run an operation on a resource before CloudTrail has time to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the operation again.
TrailNotFoundException This exception is thrown when the trail with the given name is not found.
InvalidTrailNameException This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
Start with a letter or number, and end with a letter or number
Be between 3 and 128 characters
Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
Not be in IP address format (for example, 192.168.5.4)
InvalidHomeRegionException This exception is thrown when an operation is called on a trail from a Region other than the Region in which the trail was created.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
NotOrganizationMasterAccountException This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html).
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
InsufficientDependencyServiceAccessPermissionException This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLogging
func (*CloudTrail) StartLoggingRequest ¶
func (c *CloudTrail) StartLoggingRequest(input *StartLoggingInput) (req *request.Request, output *StartLoggingOutput)
StartLoggingRequest generates a "aws/request.Request" representing the client's request for the StartLogging operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StartLogging for more information on using the StartLogging API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StartLoggingRequest method. req, resp := client.StartLoggingRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLogging
func (*CloudTrail) StartLoggingWithContext ¶
func (c *CloudTrail) StartLoggingWithContext(ctx aws.Context, input *StartLoggingInput, opts ...request.Option) (*StartLoggingOutput, error)
StartLoggingWithContext is the same as StartLogging with the addition of the ability to pass a context and additional request options.
See StartLogging for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) StartQuery ¶ added in v1.42.9
func (c *CloudTrail) StartQuery(input *StartQueryInput) (*StartQueryOutput, error)
StartQuery API operation for AWS CloudTrail.
Starts a CloudTrail Lake query. Use the QueryStatement parameter to provide your SQL query, enclosed in single quotation marks. Use the optional DeliveryS3Uri parameter to deliver the query results to an S3 bucket.
StartQuery requires you specify either the QueryStatement parameter, or a QueryAlias and any QueryParameters. In the current release, the QueryAlias and QueryParameters parameters are used only for the queries that populate the CloudTrail Lake dashboards.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation StartQuery for usage and error information.
Returned Error Types:
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
EventDataStoreNotFoundException The specified event data store was not found.
InactiveEventDataStoreException The event data store is inactive.
InvalidParameterException The request includes a parameter that is not valid.
InvalidQueryStatementException The query that was submitted has validation errors, or uses incorrect syntax or unsupported keywords. For more information about writing a query, see Create or edit a query (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html) in the CloudTrail User Guide.
MaxConcurrentQueriesException You are already running the maximum number of concurrent queries. Wait a minute for some queries to finish, and then run the query again.
InsufficientEncryptionPolicyException This exception is thrown when the policy on the S3 bucket or KMS key does not have sufficient permissions for the operation.
InvalidS3PrefixException This exception is thrown when the provided S3 prefix is not valid.
InvalidS3BucketNameException This exception is thrown when the provided S3 bucket name is not valid.
InsufficientS3BucketPolicyException This exception is thrown when the policy on the S3 bucket is not sufficient.
S3BucketDoesNotExistException This exception is thrown when the specified S3 bucket does not exist.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartQuery
func (*CloudTrail) StartQueryRequest ¶ added in v1.42.9
func (c *CloudTrail) StartQueryRequest(input *StartQueryInput) (req *request.Request, output *StartQueryOutput)
StartQueryRequest generates a "aws/request.Request" representing the client's request for the StartQuery operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StartQuery for more information on using the StartQuery API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StartQueryRequest method. req, resp := client.StartQueryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartQuery
func (*CloudTrail) StartQueryWithContext ¶ added in v1.42.9
func (c *CloudTrail) StartQueryWithContext(ctx aws.Context, input *StartQueryInput, opts ...request.Option) (*StartQueryOutput, error)
StartQueryWithContext is the same as StartQuery with the addition of the ability to pass a context and additional request options.
See StartQuery for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) StopEventDataStoreIngestion ¶ added in v1.42.9
func (c *CloudTrail) StopEventDataStoreIngestion(input *StopEventDataStoreIngestionInput) (*StopEventDataStoreIngestionOutput, error)
StopEventDataStoreIngestion API operation for AWS CloudTrail.
Stops the ingestion of live events on an event data store specified as either an ARN or the ID portion of the ARN. To stop ingestion, the event data store Status must be ENABLED and the eventCategory must be Management, Data, or ConfigurationItem.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation StopEventDataStoreIngestion for usage and error information.
Returned Error Types:
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
EventDataStoreNotFoundException The specified event data store was not found.
InvalidEventDataStoreStatusException The event data store is not in a status that supports the operation.
InvalidParameterException The request includes a parameter that is not valid.
InvalidEventDataStoreCategoryException This exception is thrown when event categories of specified event data stores are not valid.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
NotOrganizationMasterAccountException This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html).
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
InsufficientDependencyServiceAccessPermissionException This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopEventDataStoreIngestion
func (*CloudTrail) StopEventDataStoreIngestionRequest ¶ added in v1.42.9
func (c *CloudTrail) StopEventDataStoreIngestionRequest(input *StopEventDataStoreIngestionInput) (req *request.Request, output *StopEventDataStoreIngestionOutput)
StopEventDataStoreIngestionRequest generates a "aws/request.Request" representing the client's request for the StopEventDataStoreIngestion operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StopEventDataStoreIngestion for more information on using the StopEventDataStoreIngestion API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StopEventDataStoreIngestionRequest method. req, resp := client.StopEventDataStoreIngestionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopEventDataStoreIngestion
func (*CloudTrail) StopEventDataStoreIngestionWithContext ¶ added in v1.42.9
func (c *CloudTrail) StopEventDataStoreIngestionWithContext(ctx aws.Context, input *StopEventDataStoreIngestionInput, opts ...request.Option) (*StopEventDataStoreIngestionOutput, error)
StopEventDataStoreIngestionWithContext is the same as StopEventDataStoreIngestion with the addition of the ability to pass a context and additional request options.
See StopEventDataStoreIngestion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) StopImport ¶ added in v1.42.9
func (c *CloudTrail) StopImport(input *StopImportInput) (*StopImportOutput, error)
StopImport API operation for AWS CloudTrail.
Stops a specified import.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation StopImport for usage and error information.
Returned Error Types:
ImportNotFoundException The specified import was not found.
InvalidParameterException The request includes a parameter that is not valid.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopImport
func (*CloudTrail) StopImportRequest ¶ added in v1.42.9
func (c *CloudTrail) StopImportRequest(input *StopImportInput) (req *request.Request, output *StopImportOutput)
StopImportRequest generates a "aws/request.Request" representing the client's request for the StopImport operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StopImport for more information on using the StopImport API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StopImportRequest method. req, resp := client.StopImportRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopImport
func (*CloudTrail) StopImportWithContext ¶ added in v1.42.9
func (c *CloudTrail) StopImportWithContext(ctx aws.Context, input *StopImportInput, opts ...request.Option) (*StopImportOutput, error)
StopImportWithContext is the same as StopImport with the addition of the ability to pass a context and additional request options.
See StopImport for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) StopLogging ¶
func (c *CloudTrail) StopLogging(input *StopLoggingInput) (*StopLoggingOutput, error)
StopLogging API operation for AWS CloudTrail.
Suspends the recording of Amazon Web Services API calls and log file delivery for the specified trail. Under most circumstances, there is no need to use this action. You can update a trail without stopping it first. This action is the only way to stop recording. For a trail enabled in all Regions, this operation must be called from the Region in which the trail was created, or an InvalidHomeRegionException will occur. This operation cannot be called on the shadow trails (replicated trails in other Regions) of a trail enabled in all Regions.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation StopLogging for usage and error information.
Returned Error Types:
TrailNotFoundException This exception is thrown when the trail with the given name is not found.
InvalidTrailNameException This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
Start with a letter or number, and end with a letter or number
Be between 3 and 128 characters
Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
Not be in IP address format (for example, 192.168.5.4)
ARNInvalidException This exception is thrown when an operation is called with a trail ARN that is not valid. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
This exception is also thrown when you call AddTags or RemoveTags on a trail, event data store, or channel with a resource ARN that is not valid.
The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
ConflictException This exception is thrown when the specified resource is not ready for an operation. This can occur when you try to run an operation on a resource before CloudTrail has time to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the operation again.
InvalidHomeRegionException This exception is thrown when an operation is called on a trail from a Region other than the Region in which the trail was created.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
NotOrganizationMasterAccountException This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html).
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
InsufficientDependencyServiceAccessPermissionException This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLogging
func (*CloudTrail) StopLoggingRequest ¶
func (c *CloudTrail) StopLoggingRequest(input *StopLoggingInput) (req *request.Request, output *StopLoggingOutput)
StopLoggingRequest generates a "aws/request.Request" representing the client's request for the StopLogging operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StopLogging for more information on using the StopLogging API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StopLoggingRequest method. req, resp := client.StopLoggingRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLogging
func (*CloudTrail) StopLoggingWithContext ¶
func (c *CloudTrail) StopLoggingWithContext(ctx aws.Context, input *StopLoggingInput, opts ...request.Option) (*StopLoggingOutput, error)
StopLoggingWithContext is the same as StopLogging with the addition of the ability to pass a context and additional request options.
See StopLogging for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) UpdateChannel ¶ added in v1.42.9
func (c *CloudTrail) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error)
UpdateChannel API operation for AWS CloudTrail.
Updates a channel specified by a required channel ARN or UUID.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation UpdateChannel for usage and error information.
Returned Error Types:
ChannelARNInvalidException This exception is thrown when the specified value of ChannelARN is not valid.
ChannelNotFoundException This exception is thrown when CloudTrail cannot find the specified channel.
ChannelAlreadyExistsException This exception is thrown when the provided channel already exists.
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
EventDataStoreNotFoundException The specified event data store was not found.
InvalidEventDataStoreCategoryException This exception is thrown when event categories of specified event data stores are not valid.
InactiveEventDataStoreException The event data store is inactive.
InvalidParameterException The request includes a parameter that is not valid.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateChannel
func (*CloudTrail) UpdateChannelRequest ¶ added in v1.42.9
func (c *CloudTrail) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput)
UpdateChannelRequest generates a "aws/request.Request" representing the client's request for the UpdateChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateChannel for more information on using the UpdateChannel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateChannelRequest method. req, resp := client.UpdateChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateChannel
func (*CloudTrail) UpdateChannelWithContext ¶ added in v1.42.9
func (c *CloudTrail) UpdateChannelWithContext(ctx aws.Context, input *UpdateChannelInput, opts ...request.Option) (*UpdateChannelOutput, error)
UpdateChannelWithContext is the same as UpdateChannel with the addition of the ability to pass a context and additional request options.
See UpdateChannel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) UpdateEventDataStore ¶ added in v1.42.9
func (c *CloudTrail) UpdateEventDataStore(input *UpdateEventDataStoreInput) (*UpdateEventDataStoreOutput, error)
UpdateEventDataStore API operation for AWS CloudTrail.
Updates an event data store. The required EventDataStore value is an ARN or the ID portion of the ARN. Other parameters are optional, but at least one optional parameter must be specified, or CloudTrail throws an error. RetentionPeriod is in days, and valid values are integers between 90 and 2557. By default, TerminationProtection is enabled.
For event data stores for CloudTrail events, AdvancedEventSelectors includes or excludes management and data events in your event data store. For more information about AdvancedEventSelectors, see AdvancedEventSelectors (https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedEventSelector.html).
For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, AdvancedEventSelectors includes events of that type in your event data store.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation UpdateEventDataStore for usage and error information.
Returned Error Types:
EventDataStoreAlreadyExistsException An event data store with that name already exists.
EventDataStoreARNInvalidException The specified event data store ARN is not valid or does not map to an event data store in your account.
EventDataStoreNotFoundException The specified event data store was not found.
InvalidEventSelectorsException This exception is thrown when the PutEventSelectors operation is called with a number of event selectors, advanced event selectors, or data resources that is not valid. The combination of event selectors or advanced event selectors and data resources is not valid. A trail can have up to 5 event selectors. If a trail uses advanced event selectors, a maximum of 500 total values for all conditions in all advanced event selectors is allowed. A trail is limited to 250 data resources. These data resources can be distributed across event selectors, but the overall total cannot exceed 250.
You can:
Specify a valid number of event selectors (1 to 5) for a trail.
Specify a valid number of data resources (1 to 250) for an event selector. The limit of number of resources on an individual event selector is configurable up to 250. However, this upper limit is allowed only if the total number of data resources does not exceed 250 across all event selectors for a trail.
Specify up to 500 values for all conditions in all advanced event selectors for a trail.
Specify a valid value for a parameter. For example, specifying the ReadWriteType parameter with a value of read-only is not valid.
EventDataStoreHasOngoingImportException This exception is thrown when you try to update or delete an event data store that currently has an import in progress.
InactiveEventDataStoreException The event data store is inactive.
InvalidParameterException The request includes a parameter that is not valid.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
InsufficientEncryptionPolicyException This exception is thrown when the policy on the S3 bucket or KMS key does not have sufficient permissions for the operation.
InvalidKmsKeyIdException This exception is thrown when the KMS key ARN is not valid.
KmsKeyNotFoundException This exception is thrown when the KMS key does not exist, when the S3 bucket and the KMS key are not in the same Region, or when the KMS key associated with the Amazon SNS topic either does not exist or is not in the same Region.
KmsException This exception is thrown when there is an issue with the specified KMS key and the trail or event data store can't be updated.
AccessNotEnabledException This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see Enabling Trusted Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html).
InsufficientDependencyServiceAccessPermissionException This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
OrganizationsNotInUseException This exception is thrown when the request is made from an Amazon Web Services account that is not a member of an organization. To make this request, sign in using the credentials of an account that belongs to an organization.
NotOrganizationMasterAccountException This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html).
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
OrganizationNotInAllFeaturesModeException This exception is thrown when Organizations is not configured to support all features. All features must be enabled in Organizations to support creating an organization trail or event data store.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateEventDataStore
func (*CloudTrail) UpdateEventDataStoreRequest ¶ added in v1.42.9
func (c *CloudTrail) UpdateEventDataStoreRequest(input *UpdateEventDataStoreInput) (req *request.Request, output *UpdateEventDataStoreOutput)
UpdateEventDataStoreRequest generates a "aws/request.Request" representing the client's request for the UpdateEventDataStore operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateEventDataStore for more information on using the UpdateEventDataStore API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateEventDataStoreRequest method. req, resp := client.UpdateEventDataStoreRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateEventDataStore
func (*CloudTrail) UpdateEventDataStoreWithContext ¶ added in v1.42.9
func (c *CloudTrail) UpdateEventDataStoreWithContext(ctx aws.Context, input *UpdateEventDataStoreInput, opts ...request.Option) (*UpdateEventDataStoreOutput, error)
UpdateEventDataStoreWithContext is the same as UpdateEventDataStore with the addition of the ability to pass a context and additional request options.
See UpdateEventDataStore for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CloudTrail) UpdateTrail ¶
func (c *CloudTrail) UpdateTrail(input *UpdateTrailInput) (*UpdateTrailOutput, error)
UpdateTrail API operation for AWS CloudTrail.
Updates trail settings that control what events you are logging, and how to handle log files. Changes to a trail do not require stopping the CloudTrail service. Use this action to designate an existing bucket for log delivery. If the existing bucket has previously been a target for CloudTrail log files, an IAM policy exists for the bucket. UpdateTrail must be called from the Region in which the trail was created; otherwise, an InvalidHomeRegionException is thrown.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CloudTrail's API operation UpdateTrail for usage and error information.
Returned Error Types:
S3BucketDoesNotExistException This exception is thrown when the specified S3 bucket does not exist.
InsufficientS3BucketPolicyException This exception is thrown when the policy on the S3 bucket is not sufficient.
InsufficientSnsTopicPolicyException This exception is thrown when the policy on the Amazon SNS topic is not sufficient.
InsufficientEncryptionPolicyException This exception is thrown when the policy on the S3 bucket or KMS key does not have sufficient permissions for the operation.
TrailNotFoundException This exception is thrown when the trail with the given name is not found.
InvalidS3BucketNameException This exception is thrown when the provided S3 bucket name is not valid.
InvalidS3PrefixException This exception is thrown when the provided S3 prefix is not valid.
InvalidSnsTopicNameException This exception is thrown when the provided SNS topic name is not valid.
InvalidKmsKeyIdException This exception is thrown when the KMS key ARN is not valid.
InvalidTrailNameException This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
Start with a letter or number, and end with a letter or number
Be between 3 and 128 characters
Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
Not be in IP address format (for example, 192.168.5.4)
TrailNotProvidedException This exception is no longer in use.
InvalidEventSelectorsException This exception is thrown when the PutEventSelectors operation is called with a number of event selectors, advanced event selectors, or data resources that is not valid. The combination of event selectors or advanced event selectors and data resources is not valid. A trail can have up to 5 event selectors. If a trail uses advanced event selectors, a maximum of 500 total values for all conditions in all advanced event selectors is allowed. A trail is limited to 250 data resources. These data resources can be distributed across event selectors, but the overall total cannot exceed 250.
You can:
Specify a valid number of event selectors (1 to 5) for a trail.
Specify a valid number of data resources (1 to 250) for an event selector. The limit of number of resources on an individual event selector is configurable up to 250. However, this upper limit is allowed only if the total number of data resources does not exceed 250 across all event selectors for a trail.
Specify up to 500 values for all conditions in all advanced event selectors for a trail.
Specify a valid value for a parameter. For example, specifying the ReadWriteType parameter with a value of read-only is not valid.
ARNInvalidException This exception is thrown when an operation is called with a trail ARN that is not valid. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
This exception is also thrown when you call AddTags or RemoveTags on a trail, event data store, or channel with a resource ARN that is not valid.
The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
ConflictException This exception is thrown when the specified resource is not ready for an operation. This can occur when you try to run an operation on a resource before CloudTrail has time to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the operation again.
InvalidParameterCombinationException This exception is thrown when the combination of parameters provided is not valid.
InvalidHomeRegionException This exception is thrown when an operation is called on a trail from a Region other than the Region in which the trail was created.
KmsKeyNotFoundException This exception is thrown when the KMS key does not exist, when the S3 bucket and the KMS key are not in the same Region, or when the KMS key associated with the Amazon SNS topic either does not exist or is not in the same Region.
KmsKeyDisabledException This exception is no longer in use.
KmsException This exception is thrown when there is an issue with the specified KMS key and the trail or event data store can't be updated.
InvalidCloudWatchLogsLogGroupArnException This exception is thrown when the provided CloudWatch Logs log group is not valid.
InvalidCloudWatchLogsRoleArnException This exception is thrown when the provided role is not valid.
CloudWatchLogsDeliveryUnavailableException Cannot set a CloudWatch Logs delivery for this Region.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
AccessNotEnabledException This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see Enabling Trusted Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html).
InsufficientDependencyServiceAccessPermissionException This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
OrganizationsNotInUseException This exception is thrown when the request is made from an Amazon Web Services account that is not a member of an organization. To make this request, sign in using the credentials of an account that belongs to an organization.
NotOrganizationMasterAccountException This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html).
OrganizationNotInAllFeaturesModeException This exception is thrown when Organizations is not configured to support all features. All features must be enabled in Organizations to support creating an organization trail or event data store.
NoManagementAccountSLRExistsException This exception is thrown when the management account does not have a service-linked role.
CloudTrailInvalidClientTokenIdException This exception is thrown when a call results in the InvalidClientTokenId error code. This can occur when you are creating or updating a trail to send notifications to an Amazon SNS topic that is in a suspended Amazon Web Services account.
InvalidParameterException The request includes a parameter that is not valid.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrail
func (*CloudTrail) UpdateTrailRequest ¶
func (c *CloudTrail) UpdateTrailRequest(input *UpdateTrailInput) (req *request.Request, output *UpdateTrailOutput)
UpdateTrailRequest generates a "aws/request.Request" representing the client's request for the UpdateTrail operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateTrail for more information on using the UpdateTrail API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateTrailRequest method. req, resp := client.UpdateTrailRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrail
func (*CloudTrail) UpdateTrailWithContext ¶
func (c *CloudTrail) UpdateTrailWithContext(ctx aws.Context, input *UpdateTrailInput, opts ...request.Option) (*UpdateTrailOutput, error)
UpdateTrailWithContext is the same as UpdateTrail with the addition of the ability to pass a context and additional request options.
See UpdateTrail for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type CloudTrailInvalidClientTokenIdException ¶
type CloudTrailInvalidClientTokenIdException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when a call results in the InvalidClientTokenId error code. This can occur when you are creating or updating a trail to send notifications to an Amazon SNS topic that is in a suspended Amazon Web Services account.
func (*CloudTrailInvalidClientTokenIdException) Code ¶
func (s *CloudTrailInvalidClientTokenIdException) Code() string
Code returns the exception type name.
func (*CloudTrailInvalidClientTokenIdException) Error ¶
func (s *CloudTrailInvalidClientTokenIdException) Error() string
func (CloudTrailInvalidClientTokenIdException) GoString ¶
func (s CloudTrailInvalidClientTokenIdException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CloudTrailInvalidClientTokenIdException) Message ¶
func (s *CloudTrailInvalidClientTokenIdException) Message() string
Message returns the exception's message.
func (*CloudTrailInvalidClientTokenIdException) OrigErr ¶
func (s *CloudTrailInvalidClientTokenIdException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*CloudTrailInvalidClientTokenIdException) RequestID ¶
func (s *CloudTrailInvalidClientTokenIdException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*CloudTrailInvalidClientTokenIdException) StatusCode ¶
func (s *CloudTrailInvalidClientTokenIdException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (CloudTrailInvalidClientTokenIdException) String ¶
func (s CloudTrailInvalidClientTokenIdException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CloudWatchLogsDeliveryUnavailableException ¶
type CloudWatchLogsDeliveryUnavailableException struct { // contains filtered or unexported fields }
Cannot set a CloudWatch Logs delivery for this Region.
func (*CloudWatchLogsDeliveryUnavailableException) Code ¶
func (s *CloudWatchLogsDeliveryUnavailableException) Code() string
Code returns the exception type name.
func (*CloudWatchLogsDeliveryUnavailableException) Error ¶
func (s *CloudWatchLogsDeliveryUnavailableException) Error() string
func (CloudWatchLogsDeliveryUnavailableException) GoString ¶
func (s CloudWatchLogsDeliveryUnavailableException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CloudWatchLogsDeliveryUnavailableException) Message ¶
func (s *CloudWatchLogsDeliveryUnavailableException) Message() string
Message returns the exception's message.
func (*CloudWatchLogsDeliveryUnavailableException) OrigErr ¶
func (s *CloudWatchLogsDeliveryUnavailableException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*CloudWatchLogsDeliveryUnavailableException) RequestID ¶
func (s *CloudWatchLogsDeliveryUnavailableException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*CloudWatchLogsDeliveryUnavailableException) StatusCode ¶
func (s *CloudWatchLogsDeliveryUnavailableException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (CloudWatchLogsDeliveryUnavailableException) String ¶
func (s CloudWatchLogsDeliveryUnavailableException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ConflictException ¶
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the specified resource is not ready for an operation. This can occur when you try to run an operation on a resource before CloudTrail has time to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the operation again.
func (*ConflictException) Code ¶
func (s *ConflictException) Code() string
Code returns the exception type name.
func (*ConflictException) Error ¶
func (s *ConflictException) Error() string
func (ConflictException) GoString ¶
func (s ConflictException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ConflictException) Message ¶
func (s *ConflictException) Message() string
Message returns the exception's message.
func (*ConflictException) OrigErr ¶
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ConflictException) RequestID ¶
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ConflictException) StatusCode ¶
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ConflictException) String ¶
func (s ConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateChannelInput ¶ added in v1.42.9
type CreateChannelInput struct { // One or more event data stores to which events arriving through a channel // will be logged. // // Destinations is a required field Destinations []*Destination `min:"1" type:"list" required:"true"` // The name of the channel. // // Name is a required field Name *string `min:"3" type:"string" required:"true"` // The name of the partner or external event source. You cannot change this // name after you create the channel. A maximum of one channel is allowed per // source. // // A source can be either Custom for all valid non-Amazon Web Services events, // or the name of a partner event source. For information about the source names // for available partners, see Additional information about integration partners // (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store-integration.html#cloudtrail-lake-partner-information) // in the CloudTrail User Guide. // // Source is a required field Source *string `min:"1" type:"string" required:"true"` // A list of tags. Tags []*Tag `type:"list"` // contains filtered or unexported fields }
func (CreateChannelInput) GoString ¶ added in v1.42.9
func (s CreateChannelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateChannelInput) SetDestinations ¶ added in v1.42.9
func (s *CreateChannelInput) SetDestinations(v []*Destination) *CreateChannelInput
SetDestinations sets the Destinations field's value.
func (*CreateChannelInput) SetName ¶ added in v1.42.9
func (s *CreateChannelInput) SetName(v string) *CreateChannelInput
SetName sets the Name field's value.
func (*CreateChannelInput) SetSource ¶ added in v1.42.9
func (s *CreateChannelInput) SetSource(v string) *CreateChannelInput
SetSource sets the Source field's value.
func (*CreateChannelInput) SetTags ¶ added in v1.42.9
func (s *CreateChannelInput) SetTags(v []*Tag) *CreateChannelInput
SetTags sets the Tags field's value.
func (CreateChannelInput) String ¶ added in v1.42.9
func (s CreateChannelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateChannelInput) Validate ¶ added in v1.42.9
func (s *CreateChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateChannelOutput ¶ added in v1.42.9
type CreateChannelOutput struct { // The Amazon Resource Name (ARN) of the new channel. ChannelArn *string `min:"3" type:"string"` // The event data stores that log the events arriving through the channel. Destinations []*Destination `min:"1" type:"list"` // The name of the new channel. Name *string `min:"3" type:"string"` // The partner or external event source name. Source *string `min:"1" type:"string"` // A list of tags. Tags []*Tag `type:"list"` // contains filtered or unexported fields }
func (CreateChannelOutput) GoString ¶ added in v1.42.9
func (s CreateChannelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateChannelOutput) SetChannelArn ¶ added in v1.42.9
func (s *CreateChannelOutput) SetChannelArn(v string) *CreateChannelOutput
SetChannelArn sets the ChannelArn field's value.
func (*CreateChannelOutput) SetDestinations ¶ added in v1.42.9
func (s *CreateChannelOutput) SetDestinations(v []*Destination) *CreateChannelOutput
SetDestinations sets the Destinations field's value.
func (*CreateChannelOutput) SetName ¶ added in v1.42.9
func (s *CreateChannelOutput) SetName(v string) *CreateChannelOutput
SetName sets the Name field's value.
func (*CreateChannelOutput) SetSource ¶ added in v1.42.9
func (s *CreateChannelOutput) SetSource(v string) *CreateChannelOutput
SetSource sets the Source field's value.
func (*CreateChannelOutput) SetTags ¶ added in v1.42.9
func (s *CreateChannelOutput) SetTags(v []*Tag) *CreateChannelOutput
SetTags sets the Tags field's value.
func (CreateChannelOutput) String ¶ added in v1.42.9
func (s CreateChannelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateEventDataStoreInput ¶ added in v1.42.9
type CreateEventDataStoreInput struct { // The advanced event selectors to use to select the events for the data store. // You can configure up to five advanced event selectors for each event data // store. // // For more information about how to use advanced event selectors to log CloudTrail // events, see Log events by using advanced event selectors (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced) // in the CloudTrail User Guide. // // For more information about how to use advanced event selectors to include // Config configuration items in your event data store, see Create an event // data store for Config configuration items (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-lake-cli.html#lake-cli-create-eds-config) // in the CloudTrail User Guide. // // For more information about how to use advanced event selectors to include // non-Amazon Web Services events in your event data store, see Create an integration // to log events from outside Amazon Web Services (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-lake-cli.html#lake-cli-create-integration) // in the CloudTrail User Guide. AdvancedEventSelectors []*AdvancedEventSelector `type:"list"` // Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. // The value can be an alias name prefixed by alias/, a fully specified ARN // to an alias, a fully specified ARN to a key, or a globally unique identifier. // // Disabling or deleting the KMS key, or removing CloudTrail permissions on // the key, prevents CloudTrail from logging events to the event data store, // and prevents users from querying the data in the event data store that was // encrypted with the key. After you associate an event data store with a KMS // key, the KMS key cannot be removed or changed. Before you disable or delete // a KMS key that you are using with an event data store, delete or back up // your event data store. // // CloudTrail also supports KMS multi-Region keys. For more information about // multi-Region keys, see Using multi-Region keys (https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html) // in the Key Management Service Developer Guide. // // Examples: // // * alias/MyAliasName // // * arn:aws:kms:us-east-2:123456789012:alias/MyAliasName // // * arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 // // * 12345678-1234-1234-1234-123456789012 KmsKeyId *string `min:"1" type:"string"` // Specifies whether the event data store includes events from all Regions, // or only from the Region in which the event data store is created. MultiRegionEnabled *bool `type:"boolean"` // The name of the event data store. // // Name is a required field Name *string `min:"3" type:"string" required:"true"` // Specifies whether an event data store collects events logged for an organization // in Organizations. OrganizationEnabled *bool `type:"boolean"` // The retention period of the event data store, in days. You can set a retention // period of up to 2557 days, the equivalent of seven years. RetentionPeriod *int64 `min:"7" type:"integer"` // Specifies whether the event data store should start ingesting live events. // The default is true. StartIngestion *bool `type:"boolean"` // A list of tags. TagsList []*Tag `type:"list"` // Specifies whether termination protection is enabled for the event data store. // If termination protection is enabled, you cannot delete the event data store // until termination protection is disabled. TerminationProtectionEnabled *bool `type:"boolean"` // contains filtered or unexported fields }
func (CreateEventDataStoreInput) GoString ¶ added in v1.42.9
func (s CreateEventDataStoreInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateEventDataStoreInput) SetAdvancedEventSelectors ¶ added in v1.42.9
func (s *CreateEventDataStoreInput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *CreateEventDataStoreInput
SetAdvancedEventSelectors sets the AdvancedEventSelectors field's value.
func (*CreateEventDataStoreInput) SetKmsKeyId ¶ added in v1.42.9
func (s *CreateEventDataStoreInput) SetKmsKeyId(v string) *CreateEventDataStoreInput
SetKmsKeyId sets the KmsKeyId field's value.
func (*CreateEventDataStoreInput) SetMultiRegionEnabled ¶ added in v1.42.9
func (s *CreateEventDataStoreInput) SetMultiRegionEnabled(v bool) *CreateEventDataStoreInput
SetMultiRegionEnabled sets the MultiRegionEnabled field's value.
func (*CreateEventDataStoreInput) SetName ¶ added in v1.42.9
func (s *CreateEventDataStoreInput) SetName(v string) *CreateEventDataStoreInput
SetName sets the Name field's value.
func (*CreateEventDataStoreInput) SetOrganizationEnabled ¶ added in v1.42.9
func (s *CreateEventDataStoreInput) SetOrganizationEnabled(v bool) *CreateEventDataStoreInput
SetOrganizationEnabled sets the OrganizationEnabled field's value.
func (*CreateEventDataStoreInput) SetRetentionPeriod ¶ added in v1.42.9
func (s *CreateEventDataStoreInput) SetRetentionPeriod(v int64) *CreateEventDataStoreInput
SetRetentionPeriod sets the RetentionPeriod field's value.
func (*CreateEventDataStoreInput) SetStartIngestion ¶ added in v1.42.9
func (s *CreateEventDataStoreInput) SetStartIngestion(v bool) *CreateEventDataStoreInput
SetStartIngestion sets the StartIngestion field's value.
func (*CreateEventDataStoreInput) SetTagsList ¶ added in v1.42.9
func (s *CreateEventDataStoreInput) SetTagsList(v []*Tag) *CreateEventDataStoreInput
SetTagsList sets the TagsList field's value.
func (*CreateEventDataStoreInput) SetTerminationProtectionEnabled ¶ added in v1.42.9
func (s *CreateEventDataStoreInput) SetTerminationProtectionEnabled(v bool) *CreateEventDataStoreInput
SetTerminationProtectionEnabled sets the TerminationProtectionEnabled field's value.
func (CreateEventDataStoreInput) String ¶ added in v1.42.9
func (s CreateEventDataStoreInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateEventDataStoreInput) Validate ¶ added in v1.42.9
func (s *CreateEventDataStoreInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateEventDataStoreOutput ¶ added in v1.42.9
type CreateEventDataStoreOutput struct { // The advanced event selectors that were used to select the events for the // data store. AdvancedEventSelectors []*AdvancedEventSelector `type:"list"` // The timestamp that shows when the event data store was created. CreatedTimestamp *time.Time `type:"timestamp"` // The ARN of the event data store. EventDataStoreArn *string `min:"3" type:"string"` // Specifies the KMS key ID that encrypts the events delivered by CloudTrail. // The value is a fully specified ARN to a KMS key in the following format. // // arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 KmsKeyId *string `min:"1" type:"string"` // Indicates whether the event data store collects events from all Regions, // or only from the Region in which it was created. MultiRegionEnabled *bool `type:"boolean"` // The name of the event data store. Name *string `min:"3" type:"string"` // Indicates whether an event data store is collecting logged events for an // organization in Organizations. OrganizationEnabled *bool `type:"boolean"` // The retention period of an event data store, in days. RetentionPeriod *int64 `min:"7" type:"integer"` // The status of event data store creation. Status *string `type:"string" enum:"EventDataStoreStatus"` // A list of tags. TagsList []*Tag `type:"list"` // Indicates whether termination protection is enabled for the event data store. TerminationProtectionEnabled *bool `type:"boolean"` // The timestamp that shows when an event data store was updated, if applicable. // UpdatedTimestamp is always either the same or newer than the time shown in // CreatedTimestamp. UpdatedTimestamp *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (CreateEventDataStoreOutput) GoString ¶ added in v1.42.9
func (s CreateEventDataStoreOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateEventDataStoreOutput) SetAdvancedEventSelectors ¶ added in v1.42.9
func (s *CreateEventDataStoreOutput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *CreateEventDataStoreOutput
SetAdvancedEventSelectors sets the AdvancedEventSelectors field's value.
func (*CreateEventDataStoreOutput) SetCreatedTimestamp ¶ added in v1.42.9
func (s *CreateEventDataStoreOutput) SetCreatedTimestamp(v time.Time) *CreateEventDataStoreOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (*CreateEventDataStoreOutput) SetEventDataStoreArn ¶ added in v1.42.9
func (s *CreateEventDataStoreOutput) SetEventDataStoreArn(v string) *CreateEventDataStoreOutput
SetEventDataStoreArn sets the EventDataStoreArn field's value.
func (*CreateEventDataStoreOutput) SetKmsKeyId ¶ added in v1.42.9
func (s *CreateEventDataStoreOutput) SetKmsKeyId(v string) *CreateEventDataStoreOutput
SetKmsKeyId sets the KmsKeyId field's value.
func (*CreateEventDataStoreOutput) SetMultiRegionEnabled ¶ added in v1.42.9
func (s *CreateEventDataStoreOutput) SetMultiRegionEnabled(v bool) *CreateEventDataStoreOutput
SetMultiRegionEnabled sets the MultiRegionEnabled field's value.
func (*CreateEventDataStoreOutput) SetName ¶ added in v1.42.9
func (s *CreateEventDataStoreOutput) SetName(v string) *CreateEventDataStoreOutput
SetName sets the Name field's value.
func (*CreateEventDataStoreOutput) SetOrganizationEnabled ¶ added in v1.42.9
func (s *CreateEventDataStoreOutput) SetOrganizationEnabled(v bool) *CreateEventDataStoreOutput
SetOrganizationEnabled sets the OrganizationEnabled field's value.
func (*CreateEventDataStoreOutput) SetRetentionPeriod ¶ added in v1.42.9
func (s *CreateEventDataStoreOutput) SetRetentionPeriod(v int64) *CreateEventDataStoreOutput
SetRetentionPeriod sets the RetentionPeriod field's value.
func (*CreateEventDataStoreOutput) SetStatus ¶ added in v1.42.9
func (s *CreateEventDataStoreOutput) SetStatus(v string) *CreateEventDataStoreOutput
SetStatus sets the Status field's value.
func (*CreateEventDataStoreOutput) SetTagsList ¶ added in v1.42.9
func (s *CreateEventDataStoreOutput) SetTagsList(v []*Tag) *CreateEventDataStoreOutput
SetTagsList sets the TagsList field's value.
func (*CreateEventDataStoreOutput) SetTerminationProtectionEnabled ¶ added in v1.42.9
func (s *CreateEventDataStoreOutput) SetTerminationProtectionEnabled(v bool) *CreateEventDataStoreOutput
SetTerminationProtectionEnabled sets the TerminationProtectionEnabled field's value.
func (*CreateEventDataStoreOutput) SetUpdatedTimestamp ¶ added in v1.42.9
func (s *CreateEventDataStoreOutput) SetUpdatedTimestamp(v time.Time) *CreateEventDataStoreOutput
SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
func (CreateEventDataStoreOutput) String ¶ added in v1.42.9
func (s CreateEventDataStoreOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateTrailInput ¶
type CreateTrailInput struct { // Specifies a log group name using an Amazon Resource Name (ARN), a unique // identifier that represents the log group to which CloudTrail logs will be // delivered. You must use a log group that exists in your account. // // Not required unless you specify CloudWatchLogsRoleArn. CloudWatchLogsLogGroupArn *string `type:"string"` // Specifies the role for the CloudWatch Logs endpoint to assume to write to // a user's log group. You must use a role that exists in your account. CloudWatchLogsRoleArn *string `type:"string"` // Specifies whether log file integrity validation is enabled. The default is // false. // // When you disable log file integrity validation, the chain of digest files // is broken after one hour. CloudTrail does not create digest files for log // files that were delivered during a period in which log file integrity validation // was disabled. For example, if you enable log file integrity validation at // noon on January 1, disable it at noon on January 2, and re-enable it at noon // on January 10, digest files will not be created for the log files delivered // from noon on January 2 to noon on January 10. The same applies whenever you // stop CloudTrail logging or delete a trail. EnableLogFileValidation *bool `type:"boolean"` // Specifies whether the trail is publishing events from global services such // as IAM to the log files. IncludeGlobalServiceEvents *bool `type:"boolean"` // Specifies whether the trail is created in the current Region or in all Regions. // The default is false, which creates a trail only in the Region where you // are signed in. As a best practice, consider creating trails that log events // in all Regions. IsMultiRegionTrail *bool `type:"boolean"` // Specifies whether the trail is created for all accounts in an organization // in Organizations, or only for the current Amazon Web Services account. The // default is false, and cannot be true unless the call is made on behalf of // an Amazon Web Services account that is the management account or delegated // administrator account for an organization in Organizations. IsOrganizationTrail *bool `type:"boolean"` // Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. // The value can be an alias name prefixed by alias/, a fully specified ARN // to an alias, a fully specified ARN to a key, or a globally unique identifier. // // CloudTrail also supports KMS multi-Region keys. For more information about // multi-Region keys, see Using multi-Region keys (https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html) // in the Key Management Service Developer Guide. // // Examples: // // * alias/MyAliasName // // * arn:aws:kms:us-east-2:123456789012:alias/MyAliasName // // * arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 // // * 12345678-1234-1234-1234-123456789012 KmsKeyId *string `type:"string"` // Specifies the name of the trail. The name must meet the following requirements: // // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores // (_), or dashes (-) // // * Start with a letter or number, and end with a letter or number // // * Be between 3 and 128 characters // // * Have no adjacent periods, underscores or dashes. Names like my-_namespace // and my--namespace are not valid. // // * Not be in IP address format (for example, 192.168.5.4) // // Name is a required field Name *string `type:"string" required:"true"` // Specifies the name of the Amazon S3 bucket designated for publishing log // files. See Amazon S3 Bucket Naming Requirements (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_naming_policy.html). // // S3BucketName is a required field S3BucketName *string `type:"string" required:"true"` // Specifies the Amazon S3 key prefix that comes after the name of the bucket // you have designated for log file delivery. For more information, see Finding // Your CloudTrail Log Files (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html). // The maximum length is 200 characters. S3KeyPrefix *string `type:"string"` // Specifies the name of the Amazon SNS topic defined for notification of log // file delivery. The maximum length is 256 characters. SnsTopicName *string `type:"string"` // A list of tags. TagsList []*Tag `type:"list"` // contains filtered or unexported fields }
Specifies the settings for each trail.
func (CreateTrailInput) GoString ¶
func (s CreateTrailInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateTrailInput) SetCloudWatchLogsLogGroupArn ¶
func (s *CreateTrailInput) SetCloudWatchLogsLogGroupArn(v string) *CreateTrailInput
SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value.
func (*CreateTrailInput) SetCloudWatchLogsRoleArn ¶
func (s *CreateTrailInput) SetCloudWatchLogsRoleArn(v string) *CreateTrailInput
SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value.
func (*CreateTrailInput) SetEnableLogFileValidation ¶
func (s *CreateTrailInput) SetEnableLogFileValidation(v bool) *CreateTrailInput
SetEnableLogFileValidation sets the EnableLogFileValidation field's value.
func (*CreateTrailInput) SetIncludeGlobalServiceEvents ¶
func (s *CreateTrailInput) SetIncludeGlobalServiceEvents(v bool) *CreateTrailInput
SetIncludeGlobalServiceEvents sets the IncludeGlobalServiceEvents field's value.
func (*CreateTrailInput) SetIsMultiRegionTrail ¶
func (s *CreateTrailInput) SetIsMultiRegionTrail(v bool) *CreateTrailInput
SetIsMultiRegionTrail sets the IsMultiRegionTrail field's value.
func (*CreateTrailInput) SetIsOrganizationTrail ¶
func (s *CreateTrailInput) SetIsOrganizationTrail(v bool) *CreateTrailInput
SetIsOrganizationTrail sets the IsOrganizationTrail field's value.
func (*CreateTrailInput) SetKmsKeyId ¶
func (s *CreateTrailInput) SetKmsKeyId(v string) *CreateTrailInput
SetKmsKeyId sets the KmsKeyId field's value.
func (*CreateTrailInput) SetName ¶
func (s *CreateTrailInput) SetName(v string) *CreateTrailInput
SetName sets the Name field's value.
func (*CreateTrailInput) SetS3BucketName ¶
func (s *CreateTrailInput) SetS3BucketName(v string) *CreateTrailInput
SetS3BucketName sets the S3BucketName field's value.
func (*CreateTrailInput) SetS3KeyPrefix ¶
func (s *CreateTrailInput) SetS3KeyPrefix(v string) *CreateTrailInput
SetS3KeyPrefix sets the S3KeyPrefix field's value.
func (*CreateTrailInput) SetSnsTopicName ¶
func (s *CreateTrailInput) SetSnsTopicName(v string) *CreateTrailInput
SetSnsTopicName sets the SnsTopicName field's value.
func (*CreateTrailInput) SetTagsList ¶
func (s *CreateTrailInput) SetTagsList(v []*Tag) *CreateTrailInput
SetTagsList sets the TagsList field's value.
func (CreateTrailInput) String ¶
func (s CreateTrailInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateTrailInput) Validate ¶
func (s *CreateTrailInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTrailOutput ¶
type CreateTrailOutput struct { // Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail // logs will be delivered. CloudWatchLogsLogGroupArn *string `type:"string"` // Specifies the role for the CloudWatch Logs endpoint to assume to write to // a user's log group. CloudWatchLogsRoleArn *string `type:"string"` // Specifies whether the trail is publishing events from global services such // as IAM to the log files. IncludeGlobalServiceEvents *bool `type:"boolean"` // Specifies whether the trail exists in one Region or in all Regions. IsMultiRegionTrail *bool `type:"boolean"` // Specifies whether the trail is an organization trail. IsOrganizationTrail *bool `type:"boolean"` // Specifies the KMS key ID that encrypts the events delivered by CloudTrail. // The value is a fully specified ARN to a KMS key in the following format. // // arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 KmsKeyId *string `type:"string"` // Specifies whether log file integrity validation is enabled. LogFileValidationEnabled *bool `type:"boolean"` // Specifies the name of the trail. Name *string `type:"string"` // Specifies the name of the Amazon S3 bucket designated for publishing log // files. S3BucketName *string `type:"string"` // Specifies the Amazon S3 key prefix that comes after the name of the bucket // you have designated for log file delivery. For more information, see Finding // Your CloudTrail Log Files (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html). S3KeyPrefix *string `type:"string"` // Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications // when log files are delivered. The format of a topic ARN is: // // arn:aws:sns:us-east-2:123456789012:MyTopic SnsTopicARN *string `type:"string"` // This field is no longer in use. Use SnsTopicARN. // // Deprecated: SnsTopicName has been deprecated SnsTopicName *string `deprecated:"true" type:"string"` // Specifies the ARN of the trail that was created. The format of a trail ARN // is: // // arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail TrailARN *string `type:"string"` // contains filtered or unexported fields }
Returns the objects or data listed below if successful. Otherwise, returns an error.
func (CreateTrailOutput) GoString ¶
func (s CreateTrailOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateTrailOutput) SetCloudWatchLogsLogGroupArn ¶
func (s *CreateTrailOutput) SetCloudWatchLogsLogGroupArn(v string) *CreateTrailOutput
SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value.
func (*CreateTrailOutput) SetCloudWatchLogsRoleArn ¶
func (s *CreateTrailOutput) SetCloudWatchLogsRoleArn(v string) *CreateTrailOutput
SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value.
func (*CreateTrailOutput) SetIncludeGlobalServiceEvents ¶
func (s *CreateTrailOutput) SetIncludeGlobalServiceEvents(v bool) *CreateTrailOutput
SetIncludeGlobalServiceEvents sets the IncludeGlobalServiceEvents field's value.
func (*CreateTrailOutput) SetIsMultiRegionTrail ¶
func (s *CreateTrailOutput) SetIsMultiRegionTrail(v bool) *CreateTrailOutput
SetIsMultiRegionTrail sets the IsMultiRegionTrail field's value.
func (*CreateTrailOutput) SetIsOrganizationTrail ¶
func (s *CreateTrailOutput) SetIsOrganizationTrail(v bool) *CreateTrailOutput
SetIsOrganizationTrail sets the IsOrganizationTrail field's value.
func (*CreateTrailOutput) SetKmsKeyId ¶
func (s *CreateTrailOutput) SetKmsKeyId(v string) *CreateTrailOutput
SetKmsKeyId sets the KmsKeyId field's value.
func (*CreateTrailOutput) SetLogFileValidationEnabled ¶
func (s *CreateTrailOutput) SetLogFileValidationEnabled(v bool) *CreateTrailOutput
SetLogFileValidationEnabled sets the LogFileValidationEnabled field's value.
func (*CreateTrailOutput) SetName ¶
func (s *CreateTrailOutput) SetName(v string) *CreateTrailOutput
SetName sets the Name field's value.
func (*CreateTrailOutput) SetS3BucketName ¶
func (s *CreateTrailOutput) SetS3BucketName(v string) *CreateTrailOutput
SetS3BucketName sets the S3BucketName field's value.
func (*CreateTrailOutput) SetS3KeyPrefix ¶
func (s *CreateTrailOutput) SetS3KeyPrefix(v string) *CreateTrailOutput
SetS3KeyPrefix sets the S3KeyPrefix field's value.
func (*CreateTrailOutput) SetSnsTopicARN ¶
func (s *CreateTrailOutput) SetSnsTopicARN(v string) *CreateTrailOutput
SetSnsTopicARN sets the SnsTopicARN field's value.
func (*CreateTrailOutput) SetSnsTopicName ¶
func (s *CreateTrailOutput) SetSnsTopicName(v string) *CreateTrailOutput
SetSnsTopicName sets the SnsTopicName field's value.
func (*CreateTrailOutput) SetTrailARN ¶
func (s *CreateTrailOutput) SetTrailARN(v string) *CreateTrailOutput
SetTrailARN sets the TrailARN field's value.
func (CreateTrailOutput) String ¶
func (s CreateTrailOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DataResource ¶
type DataResource struct { // The resource type in which you want to log data events. You can specify the // following basic event selector resource types: // // * AWS::DynamoDB::Table // // * AWS::Lambda::Function // // * AWS::S3::Object // // The following resource types are also available through advanced event selectors. // Basic event selector resource types are valid in advanced event selectors, // but advanced event selector resource types are not valid in basic event selectors. // For more information, see AdvancedFieldSelector (https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedFieldSelector.html). // // * AWS::CloudTrail::Channel // // * AWS::CodeWhisperer::Profile // // * AWS::Cognito::IdentityPool // // * AWS::DynamoDB::Stream // // * AWS::EC2::Snapshot // // * AWS::EMRWAL::Workspace // // * AWS::FinSpace::Environment // // * AWS::Glue::Table // // * AWS::GuardDuty::Detector // // * AWS::KendraRanking::ExecutionPlan // // * AWS::ManagedBlockchain::Node // // * AWS::SageMaker::ExperimentTrialComponent // // * AWS::SageMaker::FeatureGroup // // * AWS::S3::AccessPoint // // * AWS::S3ObjectLambda::AccessPoint // // * AWS::S3Outposts::Object Type *string `type:"string"` // An array of Amazon Resource Name (ARN) strings or partial ARN strings for // the specified objects. // // * To log data events for all objects in all S3 buckets in your Amazon // Web Services account, specify the prefix as arn:aws:s3. This also enables // logging of data event activity performed by any user or role in your Amazon // Web Services account, even if that activity is performed on a bucket that // belongs to another Amazon Web Services account. // // * To log data events for all objects in an S3 bucket, specify the bucket // and an empty object prefix such as arn:aws:s3:::bucket-1/. The trail logs // data events for all objects in this S3 bucket. // // * To log data events for specific objects, specify the S3 bucket and object // prefix such as arn:aws:s3:::bucket-1/example-images. The trail logs data // events for objects in this S3 bucket that match the prefix. // // * To log data events for all Lambda functions in your Amazon Web Services // account, specify the prefix as arn:aws:lambda. This also enables logging // of Invoke activity performed by any user or role in your Amazon Web Services // account, even if that activity is performed on a function that belongs // to another Amazon Web Services account. // // * To log data events for a specific Lambda function, specify the function // ARN. Lambda function ARNs are exact. For example, if you specify a function // ARN arn:aws:lambda:us-west-2:111111111111:function:helloworld, data events // will only be logged for arn:aws:lambda:us-west-2:111111111111:function:helloworld. // They will not be logged for arn:aws:lambda:us-west-2:111111111111:function:helloworld2. // // * To log data events for all DynamoDB tables in your Amazon Web Services // account, specify the prefix as arn:aws:dynamodb. Values []*string `type:"list"` // contains filtered or unexported fields }
The Amazon S3 buckets, Lambda functions, or Amazon DynamoDB tables that you specify in your event selectors for your trail to log data events. Data events provide information about the resource operations performed on or within a resource itself. These are also known as data plane operations. You can specify up to 250 data resources for a trail.
The total number of allowed data resources is 250. This number can be distributed between 1 and 5 event selectors, but the total cannot exceed 250 across all selectors for the trail.
If you are using advanced event selectors, the maximum total number of values for all conditions, across all advanced event selectors for the trail, is 500.
The following example demonstrates how logging works when you configure logging of all data events for an S3 bucket named bucket-1. In this example, the CloudTrail user specified an empty prefix, and the option to log both Read and Write data events.
A user uploads an image file to bucket-1.
The PutObject API operation is an Amazon S3 object-level API. It is recorded as a data event in CloudTrail. Because the CloudTrail user specified an S3 bucket with an empty prefix, events that occur on any object in that bucket are logged. The trail processes and logs the event.
A user uploads an object to an Amazon S3 bucket named arn:aws:s3:::bucket-2.
The PutObject API operation occurred for an object in an S3 bucket that the CloudTrail user didn't specify for the trail. The trail doesn’t log the event.
The following example demonstrates how logging works when you configure logging of Lambda data events for a Lambda function named MyLambdaFunction, but not for all Lambda functions.
A user runs a script that includes a call to the MyLambdaFunction function and the MyOtherLambdaFunction function.
The Invoke API operation on MyLambdaFunction is an Lambda API. It is recorded as a data event in CloudTrail. Because the CloudTrail user specified logging data events for MyLambdaFunction, any invocations of that function are logged. The trail processes and logs the event.
The Invoke API operation on MyOtherLambdaFunction is an Lambda API. Because the CloudTrail user did not specify logging data events for all Lambda functions, the Invoke operation for MyOtherLambdaFunction does not match the function specified for the trail. The trail doesn’t log the event.
func (DataResource) GoString ¶
func (s DataResource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DataResource) SetType ¶
func (s *DataResource) SetType(v string) *DataResource
SetType sets the Type field's value.
func (*DataResource) SetValues ¶
func (s *DataResource) SetValues(v []*string) *DataResource
SetValues sets the Values field's value.
func (DataResource) String ¶
func (s DataResource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DelegatedAdminAccountLimitExceededException ¶ added in v1.42.9
type DelegatedAdminAccountLimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the maximum number of CloudTrail delegated administrators is reached.
func (*DelegatedAdminAccountLimitExceededException) Code ¶ added in v1.42.9
func (s *DelegatedAdminAccountLimitExceededException) Code() string
Code returns the exception type name.
func (*DelegatedAdminAccountLimitExceededException) Error ¶ added in v1.42.9
func (s *DelegatedAdminAccountLimitExceededException) Error() string
func (DelegatedAdminAccountLimitExceededException) GoString ¶ added in v1.42.9
func (s DelegatedAdminAccountLimitExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DelegatedAdminAccountLimitExceededException) Message ¶ added in v1.42.9
func (s *DelegatedAdminAccountLimitExceededException) Message() string
Message returns the exception's message.
func (*DelegatedAdminAccountLimitExceededException) OrigErr ¶ added in v1.42.9
func (s *DelegatedAdminAccountLimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*DelegatedAdminAccountLimitExceededException) RequestID ¶ added in v1.42.9
func (s *DelegatedAdminAccountLimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*DelegatedAdminAccountLimitExceededException) StatusCode ¶ added in v1.42.9
func (s *DelegatedAdminAccountLimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (DelegatedAdminAccountLimitExceededException) String ¶ added in v1.42.9
func (s DelegatedAdminAccountLimitExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteChannelInput ¶ added in v1.42.9
type DeleteChannelInput struct { // The ARN or the UUID value of the channel that you want to delete. // // Channel is a required field Channel *string `min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteChannelInput) GoString ¶ added in v1.42.9
func (s DeleteChannelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteChannelInput) SetChannel ¶ added in v1.42.9
func (s *DeleteChannelInput) SetChannel(v string) *DeleteChannelInput
SetChannel sets the Channel field's value.
func (DeleteChannelInput) String ¶ added in v1.42.9
func (s DeleteChannelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteChannelInput) Validate ¶ added in v1.42.9
func (s *DeleteChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteChannelOutput ¶ added in v1.42.9
type DeleteChannelOutput struct {
// contains filtered or unexported fields
}
func (DeleteChannelOutput) GoString ¶ added in v1.42.9
func (s DeleteChannelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteChannelOutput) String ¶ added in v1.42.9
func (s DeleteChannelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteEventDataStoreInput ¶ added in v1.42.9
type DeleteEventDataStoreInput struct { // The ARN (or the ID suffix of the ARN) of the event data store to delete. // // EventDataStore is a required field EventDataStore *string `min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteEventDataStoreInput) GoString ¶ added in v1.42.9
func (s DeleteEventDataStoreInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteEventDataStoreInput) SetEventDataStore ¶ added in v1.42.9
func (s *DeleteEventDataStoreInput) SetEventDataStore(v string) *DeleteEventDataStoreInput
SetEventDataStore sets the EventDataStore field's value.
func (DeleteEventDataStoreInput) String ¶ added in v1.42.9
func (s DeleteEventDataStoreInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteEventDataStoreInput) Validate ¶ added in v1.42.9
func (s *DeleteEventDataStoreInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteEventDataStoreOutput ¶ added in v1.42.9
type DeleteEventDataStoreOutput struct {
// contains filtered or unexported fields
}
func (DeleteEventDataStoreOutput) GoString ¶ added in v1.42.9
func (s DeleteEventDataStoreOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteEventDataStoreOutput) String ¶ added in v1.42.9
func (s DeleteEventDataStoreOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteResourcePolicyInput ¶ added in v1.42.9
type DeleteResourcePolicyInput struct { // The Amazon Resource Name (ARN) of the CloudTrail channel you're deleting // the resource-based policy from. The following is the format of a resource // ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel. // // ResourceArn is a required field ResourceArn *string `min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteResourcePolicyInput) GoString ¶ added in v1.42.9
func (s DeleteResourcePolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteResourcePolicyInput) SetResourceArn ¶ added in v1.42.9
func (s *DeleteResourcePolicyInput) SetResourceArn(v string) *DeleteResourcePolicyInput
SetResourceArn sets the ResourceArn field's value.
func (DeleteResourcePolicyInput) String ¶ added in v1.42.9
func (s DeleteResourcePolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteResourcePolicyInput) Validate ¶ added in v1.42.9
func (s *DeleteResourcePolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteResourcePolicyOutput ¶ added in v1.42.9
type DeleteResourcePolicyOutput struct {
// contains filtered or unexported fields
}
func (DeleteResourcePolicyOutput) GoString ¶ added in v1.42.9
func (s DeleteResourcePolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteResourcePolicyOutput) String ¶ added in v1.42.9
func (s DeleteResourcePolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteTrailInput ¶
type DeleteTrailInput struct { // Specifies the name or the CloudTrail ARN of the trail to be deleted. The // following is the format of a trail ARN. arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail // // Name is a required field Name *string `type:"string" required:"true"` // contains filtered or unexported fields }
The request that specifies the name of a trail to delete.
func (DeleteTrailInput) GoString ¶
func (s DeleteTrailInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteTrailInput) SetName ¶
func (s *DeleteTrailInput) SetName(v string) *DeleteTrailInput
SetName sets the Name field's value.
func (DeleteTrailInput) String ¶
func (s DeleteTrailInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteTrailInput) Validate ¶
func (s *DeleteTrailInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTrailOutput ¶
type DeleteTrailOutput struct {
// contains filtered or unexported fields
}
Returns the objects or data listed below if successful. Otherwise, returns an error.
func (DeleteTrailOutput) GoString ¶
func (s DeleteTrailOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteTrailOutput) String ¶
func (s DeleteTrailOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeregisterOrganizationDelegatedAdminInput ¶ added in v1.42.9
type DeregisterOrganizationDelegatedAdminInput struct { // A delegated administrator account ID. This is a member account in an organization // that is currently designated as a delegated administrator. // // DelegatedAdminAccountId is a required field DelegatedAdminAccountId *string `min:"12" type:"string" required:"true"` // contains filtered or unexported fields }
Removes CloudTrail delegated administrator permissions from a specified member account in an organization that is currently designated as a delegated administrator.
func (DeregisterOrganizationDelegatedAdminInput) GoString ¶ added in v1.42.9
func (s DeregisterOrganizationDelegatedAdminInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeregisterOrganizationDelegatedAdminInput) SetDelegatedAdminAccountId ¶ added in v1.42.9
func (s *DeregisterOrganizationDelegatedAdminInput) SetDelegatedAdminAccountId(v string) *DeregisterOrganizationDelegatedAdminInput
SetDelegatedAdminAccountId sets the DelegatedAdminAccountId field's value.
func (DeregisterOrganizationDelegatedAdminInput) String ¶ added in v1.42.9
func (s DeregisterOrganizationDelegatedAdminInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeregisterOrganizationDelegatedAdminInput) Validate ¶ added in v1.42.9
func (s *DeregisterOrganizationDelegatedAdminInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeregisterOrganizationDelegatedAdminOutput ¶ added in v1.42.9
type DeregisterOrganizationDelegatedAdminOutput struct {
// contains filtered or unexported fields
}
Returns the following response if successful. Otherwise, returns an error.
func (DeregisterOrganizationDelegatedAdminOutput) GoString ¶ added in v1.42.9
func (s DeregisterOrganizationDelegatedAdminOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeregisterOrganizationDelegatedAdminOutput) String ¶ added in v1.42.9
func (s DeregisterOrganizationDelegatedAdminOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeQueryInput ¶ added in v1.42.9
type DescribeQueryInput struct { // The ARN (or the ID suffix of the ARN) of an event data store on which the // specified query was run. // // Deprecated: EventDataStore is no longer required by DescribeQueryRequest EventDataStore *string `min:"3" deprecated:"true" type:"string"` // The alias that identifies a query template. QueryAlias *string `min:"1" type:"string"` // The query ID. QueryId *string `min:"36" type:"string"` // contains filtered or unexported fields }
func (DescribeQueryInput) GoString ¶ added in v1.42.9
func (s DescribeQueryInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeQueryInput) SetEventDataStore ¶ added in v1.42.9
func (s *DescribeQueryInput) SetEventDataStore(v string) *DescribeQueryInput
SetEventDataStore sets the EventDataStore field's value.
func (*DescribeQueryInput) SetQueryAlias ¶ added in v1.42.9
func (s *DescribeQueryInput) SetQueryAlias(v string) *DescribeQueryInput
SetQueryAlias sets the QueryAlias field's value.
func (*DescribeQueryInput) SetQueryId ¶ added in v1.42.9
func (s *DescribeQueryInput) SetQueryId(v string) *DescribeQueryInput
SetQueryId sets the QueryId field's value.
func (DescribeQueryInput) String ¶ added in v1.42.9
func (s DescribeQueryInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeQueryInput) Validate ¶ added in v1.42.9
func (s *DescribeQueryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeQueryOutput ¶ added in v1.42.9
type DescribeQueryOutput struct { // The URI for the S3 bucket where CloudTrail delivered query results, if applicable. DeliveryS3Uri *string `type:"string"` // The delivery status. DeliveryStatus *string `type:"string" enum:"DeliveryStatus"` // The error message returned if a query failed. ErrorMessage *string `min:"4" type:"string"` // The ID of the query. QueryId *string `min:"36" type:"string"` // Metadata about a query, including the number of events that were matched, // the total number of events scanned, the query run time in milliseconds, and // the query's creation time. QueryStatistics *QueryStatisticsForDescribeQuery `type:"structure"` // The status of a query. Values for QueryStatus include QUEUED, RUNNING, FINISHED, // FAILED, TIMED_OUT, or CANCELLED QueryStatus *string `type:"string" enum:"QueryStatus"` // The SQL code of a query. QueryString *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (DescribeQueryOutput) GoString ¶ added in v1.42.9
func (s DescribeQueryOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeQueryOutput) SetDeliveryS3Uri ¶ added in v1.42.9
func (s *DescribeQueryOutput) SetDeliveryS3Uri(v string) *DescribeQueryOutput
SetDeliveryS3Uri sets the DeliveryS3Uri field's value.
func (*DescribeQueryOutput) SetDeliveryStatus ¶ added in v1.42.9
func (s *DescribeQueryOutput) SetDeliveryStatus(v string) *DescribeQueryOutput
SetDeliveryStatus sets the DeliveryStatus field's value.
func (*DescribeQueryOutput) SetErrorMessage ¶ added in v1.42.9
func (s *DescribeQueryOutput) SetErrorMessage(v string) *DescribeQueryOutput
SetErrorMessage sets the ErrorMessage field's value.
func (*DescribeQueryOutput) SetQueryId ¶ added in v1.42.9
func (s *DescribeQueryOutput) SetQueryId(v string) *DescribeQueryOutput
SetQueryId sets the QueryId field's value.
func (*DescribeQueryOutput) SetQueryStatistics ¶ added in v1.42.9
func (s *DescribeQueryOutput) SetQueryStatistics(v *QueryStatisticsForDescribeQuery) *DescribeQueryOutput
SetQueryStatistics sets the QueryStatistics field's value.
func (*DescribeQueryOutput) SetQueryStatus ¶ added in v1.42.9
func (s *DescribeQueryOutput) SetQueryStatus(v string) *DescribeQueryOutput
SetQueryStatus sets the QueryStatus field's value.
func (*DescribeQueryOutput) SetQueryString ¶ added in v1.42.9
func (s *DescribeQueryOutput) SetQueryString(v string) *DescribeQueryOutput
SetQueryString sets the QueryString field's value.
func (DescribeQueryOutput) String ¶ added in v1.42.9
func (s DescribeQueryOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeTrailsInput ¶
type DescribeTrailsInput struct { // Specifies whether to include shadow trails in the response. A shadow trail // is the replication in a Region of a trail that was created in a different // Region, or in the case of an organization trail, the replication of an organization // trail in member accounts. If you do not include shadow trails, organization // trails in a member account and Region replication trails will not be returned. // The default is true. IncludeShadowTrails *bool `locationName:"includeShadowTrails" type:"boolean"` // Specifies a list of trail names, trail ARNs, or both, of the trails to describe. // The format of a trail ARN is: // // arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail // // If an empty list is specified, information for the trail in the current Region // is returned. // // * If an empty list is specified and IncludeShadowTrails is false, then // information for all trails in the current Region is returned. // // * If an empty list is specified and IncludeShadowTrails is null or true, // then information for all trails in the current Region and any associated // shadow trails in other Regions is returned. // // If one or more trail names are specified, information is returned only if // the names match the names of trails belonging only to the current Region // and current account. To return information about a trail in another Region, // you must specify its trail ARN. TrailNameList []*string `locationName:"trailNameList" type:"list"` // contains filtered or unexported fields }
Returns information about the trail.
func (DescribeTrailsInput) GoString ¶
func (s DescribeTrailsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeTrailsInput) SetIncludeShadowTrails ¶
func (s *DescribeTrailsInput) SetIncludeShadowTrails(v bool) *DescribeTrailsInput
SetIncludeShadowTrails sets the IncludeShadowTrails field's value.
func (*DescribeTrailsInput) SetTrailNameList ¶
func (s *DescribeTrailsInput) SetTrailNameList(v []*string) *DescribeTrailsInput
SetTrailNameList sets the TrailNameList field's value.
func (DescribeTrailsInput) String ¶
func (s DescribeTrailsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeTrailsOutput ¶
type DescribeTrailsOutput struct { // The list of trail objects. Trail objects with string values are only returned // if values for the objects exist in a trail's configuration. For example, // SNSTopicName and SNSTopicARN are only returned in results if a trail is configured // to send SNS notifications. Similarly, KMSKeyId only appears in results if // a trail's log files are encrypted with KMS customer managed keys. TrailList []*Trail `locationName:"trailList" type:"list"` // contains filtered or unexported fields }
Returns the objects or data listed below if successful. Otherwise, returns an error.
func (DescribeTrailsOutput) GoString ¶
func (s DescribeTrailsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeTrailsOutput) SetTrailList ¶
func (s *DescribeTrailsOutput) SetTrailList(v []*Trail) *DescribeTrailsOutput
SetTrailList sets the TrailList field's value.
func (DescribeTrailsOutput) String ¶
func (s DescribeTrailsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Destination ¶ added in v1.42.9
type Destination struct { // For channels used for a CloudTrail Lake integration, the location is the // ARN of an event data store that receives events from a channel. For service-linked // channels, the location is the name of the Amazon Web Services service. // // Location is a required field Location *string `min:"3" type:"string" required:"true"` // The type of destination for events arriving from a channel. For channels // used for a CloudTrail Lake integration, the value is EventDataStore. For // service-linked channels, the value is AWS_SERVICE. // // Type is a required field Type *string `type:"string" required:"true" enum:"DestinationType"` // contains filtered or unexported fields }
Contains information about the destination receiving events.
func (Destination) GoString ¶ added in v1.42.9
func (s Destination) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Destination) SetLocation ¶ added in v1.42.9
func (s *Destination) SetLocation(v string) *Destination
SetLocation sets the Location field's value.
func (*Destination) SetType ¶ added in v1.42.9
func (s *Destination) SetType(v string) *Destination
SetType sets the Type field's value.
func (Destination) String ¶ added in v1.42.9
func (s Destination) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Destination) Validate ¶ added in v1.42.9
func (s *Destination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Event ¶
type Event struct { // The Amazon Web Services access key ID that was used to sign the request. // If the request was made with temporary security credentials, this is the // access key ID of the temporary credentials. AccessKeyId *string `type:"string"` // A JSON string that contains a representation of the event returned. CloudTrailEvent *string `type:"string"` // The CloudTrail ID of the event returned. EventId *string `type:"string"` // The name of the event returned. EventName *string `type:"string"` // The Amazon Web Services service to which the request was made. EventSource *string `type:"string"` // The date and time of the event returned. EventTime *time.Time `type:"timestamp"` // Information about whether the event is a write event or a read event. ReadOnly *string `type:"string"` // A list of resources referenced by the event returned. Resources []*Resource `type:"list"` // A user name or role name of the requester that called the API in the event // returned. Username *string `type:"string"` // contains filtered or unexported fields }
Contains information about an event that was returned by a lookup request. The result includes a representation of a CloudTrail event.
func (Event) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Event) SetAccessKeyId ¶
SetAccessKeyId sets the AccessKeyId field's value.
func (*Event) SetCloudTrailEvent ¶
SetCloudTrailEvent sets the CloudTrailEvent field's value.
func (*Event) SetEventId ¶
SetEventId sets the EventId field's value.
func (*Event) SetEventName ¶
SetEventName sets the EventName field's value.
func (*Event) SetEventSource ¶
SetEventSource sets the EventSource field's value.
func (*Event) SetEventTime ¶
SetEventTime sets the EventTime field's value.
func (*Event) SetReadOnly ¶
SetReadOnly sets the ReadOnly field's value.
func (*Event) SetResources ¶
SetResources sets the Resources field's value.
func (*Event) SetUsername ¶
SetUsername sets the Username field's value.
type EventDataStore ¶ added in v1.42.9
type EventDataStore struct { // The advanced event selectors that were used to select events for the data // store. // // Deprecated: AdvancedEventSelectors is no longer returned by ListEventDataStores AdvancedEventSelectors []*AdvancedEventSelector `deprecated:"true" type:"list"` // The timestamp of the event data store's creation. // // Deprecated: CreatedTimestamp is no longer returned by ListEventDataStores CreatedTimestamp *time.Time `deprecated:"true" type:"timestamp"` // The ARN of the event data store. EventDataStoreArn *string `min:"3" type:"string"` // Indicates whether the event data store includes events from all Regions, // or only from the Region in which it was created. // // Deprecated: MultiRegionEnabled is no longer returned by ListEventDataStores MultiRegionEnabled *bool `deprecated:"true" type:"boolean"` // The name of the event data store. Name *string `min:"3" type:"string"` // Indicates that an event data store is collecting logged events for an organization. // // Deprecated: OrganizationEnabled is no longer returned by ListEventDataStores OrganizationEnabled *bool `deprecated:"true" type:"boolean"` // The retention period, in days. // // Deprecated: RetentionPeriod is no longer returned by ListEventDataStores RetentionPeriod *int64 `min:"7" deprecated:"true" type:"integer"` // The status of an event data store. // // Deprecated: Status is no longer returned by ListEventDataStores Status *string `deprecated:"true" type:"string" enum:"EventDataStoreStatus"` // Indicates whether the event data store is protected from termination. // // Deprecated: TerminationProtectionEnabled is no longer returned by ListEventDataStores TerminationProtectionEnabled *bool `deprecated:"true" type:"boolean"` // The timestamp showing when an event data store was updated, if applicable. // UpdatedTimestamp is always either the same or newer than the time shown in // CreatedTimestamp. // // Deprecated: UpdatedTimestamp is no longer returned by ListEventDataStores UpdatedTimestamp *time.Time `deprecated:"true" type:"timestamp"` // contains filtered or unexported fields }
A storage lake of event data against which you can run complex SQL-based queries. An event data store can include events that you have logged on your account from the last 90 to 2557 days (about three months to up to seven years). To select events for an event data store, use advanced event selectors (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced).
func (EventDataStore) GoString ¶ added in v1.42.9
func (s EventDataStore) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EventDataStore) SetAdvancedEventSelectors ¶ added in v1.42.9
func (s *EventDataStore) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *EventDataStore
SetAdvancedEventSelectors sets the AdvancedEventSelectors field's value.
func (*EventDataStore) SetCreatedTimestamp ¶ added in v1.42.9
func (s *EventDataStore) SetCreatedTimestamp(v time.Time) *EventDataStore
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (*EventDataStore) SetEventDataStoreArn ¶ added in v1.42.9
func (s *EventDataStore) SetEventDataStoreArn(v string) *EventDataStore
SetEventDataStoreArn sets the EventDataStoreArn field's value.
func (*EventDataStore) SetMultiRegionEnabled ¶ added in v1.42.9
func (s *EventDataStore) SetMultiRegionEnabled(v bool) *EventDataStore
SetMultiRegionEnabled sets the MultiRegionEnabled field's value.
func (*EventDataStore) SetName ¶ added in v1.42.9
func (s *EventDataStore) SetName(v string) *EventDataStore
SetName sets the Name field's value.
func (*EventDataStore) SetOrganizationEnabled ¶ added in v1.42.9
func (s *EventDataStore) SetOrganizationEnabled(v bool) *EventDataStore
SetOrganizationEnabled sets the OrganizationEnabled field's value.
func (*EventDataStore) SetRetentionPeriod ¶ added in v1.42.9
func (s *EventDataStore) SetRetentionPeriod(v int64) *EventDataStore
SetRetentionPeriod sets the RetentionPeriod field's value.
func (*EventDataStore) SetStatus ¶ added in v1.42.9
func (s *EventDataStore) SetStatus(v string) *EventDataStore
SetStatus sets the Status field's value.
func (*EventDataStore) SetTerminationProtectionEnabled ¶ added in v1.42.9
func (s *EventDataStore) SetTerminationProtectionEnabled(v bool) *EventDataStore
SetTerminationProtectionEnabled sets the TerminationProtectionEnabled field's value.
func (*EventDataStore) SetUpdatedTimestamp ¶ added in v1.42.9
func (s *EventDataStore) SetUpdatedTimestamp(v time.Time) *EventDataStore
SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
func (EventDataStore) String ¶ added in v1.42.9
func (s EventDataStore) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EventDataStoreARNInvalidException ¶ added in v1.42.9
type EventDataStoreARNInvalidException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified event data store ARN is not valid or does not map to an event data store in your account.
func (*EventDataStoreARNInvalidException) Code ¶ added in v1.42.9
func (s *EventDataStoreARNInvalidException) Code() string
Code returns the exception type name.
func (*EventDataStoreARNInvalidException) Error ¶ added in v1.42.9
func (s *EventDataStoreARNInvalidException) Error() string
func (EventDataStoreARNInvalidException) GoString ¶ added in v1.42.9
func (s EventDataStoreARNInvalidException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EventDataStoreARNInvalidException) Message ¶ added in v1.42.9
func (s *EventDataStoreARNInvalidException) Message() string
Message returns the exception's message.
func (*EventDataStoreARNInvalidException) OrigErr ¶ added in v1.42.9
func (s *EventDataStoreARNInvalidException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EventDataStoreARNInvalidException) RequestID ¶ added in v1.42.9
func (s *EventDataStoreARNInvalidException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EventDataStoreARNInvalidException) StatusCode ¶ added in v1.42.9
func (s *EventDataStoreARNInvalidException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EventDataStoreARNInvalidException) String ¶ added in v1.42.9
func (s EventDataStoreARNInvalidException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EventDataStoreAlreadyExistsException ¶ added in v1.42.9
type EventDataStoreAlreadyExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
An event data store with that name already exists.
func (*EventDataStoreAlreadyExistsException) Code ¶ added in v1.42.9
func (s *EventDataStoreAlreadyExistsException) Code() string
Code returns the exception type name.
func (*EventDataStoreAlreadyExistsException) Error ¶ added in v1.42.9
func (s *EventDataStoreAlreadyExistsException) Error() string
func (EventDataStoreAlreadyExistsException) GoString ¶ added in v1.42.9
func (s EventDataStoreAlreadyExistsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EventDataStoreAlreadyExistsException) Message ¶ added in v1.42.9
func (s *EventDataStoreAlreadyExistsException) Message() string
Message returns the exception's message.
func (*EventDataStoreAlreadyExistsException) OrigErr ¶ added in v1.42.9
func (s *EventDataStoreAlreadyExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EventDataStoreAlreadyExistsException) RequestID ¶ added in v1.42.9
func (s *EventDataStoreAlreadyExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EventDataStoreAlreadyExistsException) StatusCode ¶ added in v1.42.9
func (s *EventDataStoreAlreadyExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EventDataStoreAlreadyExistsException) String ¶ added in v1.42.9
func (s EventDataStoreAlreadyExistsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EventDataStoreHasOngoingImportException ¶ added in v1.42.9
type EventDataStoreHasOngoingImportException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when you try to update or delete an event data store that currently has an import in progress.
func (*EventDataStoreHasOngoingImportException) Code ¶ added in v1.42.9
func (s *EventDataStoreHasOngoingImportException) Code() string
Code returns the exception type name.
func (*EventDataStoreHasOngoingImportException) Error ¶ added in v1.42.9
func (s *EventDataStoreHasOngoingImportException) Error() string
func (EventDataStoreHasOngoingImportException) GoString ¶ added in v1.42.9
func (s EventDataStoreHasOngoingImportException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EventDataStoreHasOngoingImportException) Message ¶ added in v1.42.9
func (s *EventDataStoreHasOngoingImportException) Message() string
Message returns the exception's message.
func (*EventDataStoreHasOngoingImportException) OrigErr ¶ added in v1.42.9
func (s *EventDataStoreHasOngoingImportException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EventDataStoreHasOngoingImportException) RequestID ¶ added in v1.42.9
func (s *EventDataStoreHasOngoingImportException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EventDataStoreHasOngoingImportException) StatusCode ¶ added in v1.42.9
func (s *EventDataStoreHasOngoingImportException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EventDataStoreHasOngoingImportException) String ¶ added in v1.42.9
func (s EventDataStoreHasOngoingImportException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EventDataStoreMaxLimitExceededException ¶ added in v1.42.9
type EventDataStoreMaxLimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Your account has used the maximum number of event data stores.
func (*EventDataStoreMaxLimitExceededException) Code ¶ added in v1.42.9
func (s *EventDataStoreMaxLimitExceededException) Code() string
Code returns the exception type name.
func (*EventDataStoreMaxLimitExceededException) Error ¶ added in v1.42.9
func (s *EventDataStoreMaxLimitExceededException) Error() string
func (EventDataStoreMaxLimitExceededException) GoString ¶ added in v1.42.9
func (s EventDataStoreMaxLimitExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EventDataStoreMaxLimitExceededException) Message ¶ added in v1.42.9
func (s *EventDataStoreMaxLimitExceededException) Message() string
Message returns the exception's message.
func (*EventDataStoreMaxLimitExceededException) OrigErr ¶ added in v1.42.9
func (s *EventDataStoreMaxLimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EventDataStoreMaxLimitExceededException) RequestID ¶ added in v1.42.9
func (s *EventDataStoreMaxLimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EventDataStoreMaxLimitExceededException) StatusCode ¶ added in v1.42.9
func (s *EventDataStoreMaxLimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EventDataStoreMaxLimitExceededException) String ¶ added in v1.42.9
func (s EventDataStoreMaxLimitExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EventDataStoreNotFoundException ¶ added in v1.42.9
type EventDataStoreNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified event data store was not found.
func (*EventDataStoreNotFoundException) Code ¶ added in v1.42.9
func (s *EventDataStoreNotFoundException) Code() string
Code returns the exception type name.
func (*EventDataStoreNotFoundException) Error ¶ added in v1.42.9
func (s *EventDataStoreNotFoundException) Error() string
func (EventDataStoreNotFoundException) GoString ¶ added in v1.42.9
func (s EventDataStoreNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EventDataStoreNotFoundException) Message ¶ added in v1.42.9
func (s *EventDataStoreNotFoundException) Message() string
Message returns the exception's message.
func (*EventDataStoreNotFoundException) OrigErr ¶ added in v1.42.9
func (s *EventDataStoreNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EventDataStoreNotFoundException) RequestID ¶ added in v1.42.9
func (s *EventDataStoreNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EventDataStoreNotFoundException) StatusCode ¶ added in v1.42.9
func (s *EventDataStoreNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EventDataStoreNotFoundException) String ¶ added in v1.42.9
func (s EventDataStoreNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EventDataStoreTerminationProtectedException ¶ added in v1.42.9
type EventDataStoreTerminationProtectedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The event data store cannot be deleted because termination protection is enabled for it.
func (*EventDataStoreTerminationProtectedException) Code ¶ added in v1.42.9
func (s *EventDataStoreTerminationProtectedException) Code() string
Code returns the exception type name.
func (*EventDataStoreTerminationProtectedException) Error ¶ added in v1.42.9
func (s *EventDataStoreTerminationProtectedException) Error() string
func (EventDataStoreTerminationProtectedException) GoString ¶ added in v1.42.9
func (s EventDataStoreTerminationProtectedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EventDataStoreTerminationProtectedException) Message ¶ added in v1.42.9
func (s *EventDataStoreTerminationProtectedException) Message() string
Message returns the exception's message.
func (*EventDataStoreTerminationProtectedException) OrigErr ¶ added in v1.42.9
func (s *EventDataStoreTerminationProtectedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EventDataStoreTerminationProtectedException) RequestID ¶ added in v1.42.9
func (s *EventDataStoreTerminationProtectedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EventDataStoreTerminationProtectedException) StatusCode ¶ added in v1.42.9
func (s *EventDataStoreTerminationProtectedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EventDataStoreTerminationProtectedException) String ¶ added in v1.42.9
func (s EventDataStoreTerminationProtectedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EventSelector ¶
type EventSelector struct { // CloudTrail supports data event logging for Amazon S3 objects, Lambda functions, // and Amazon DynamoDB tables with basic event selectors. You can specify up // to 250 resources for an individual event selector, but the total number of // data resources cannot exceed 250 across all event selectors in a trail. This // limit does not apply if you configure resource logging for all data events. // // For more information, see Data Events (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html) // and Limits in CloudTrail (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html) // in the CloudTrail User Guide. DataResources []*DataResource `type:"list"` // An optional list of service event sources from which you do not want management // events to be logged on your trail. In this release, the list can be empty // (disables the filter), or it can filter out Key Management Service or Amazon // RDS Data API events by containing kms.amazonaws.com or rdsdata.amazonaws.com. // By default, ExcludeManagementEventSources is empty, and KMS and Amazon RDS // Data API events are logged to your trail. You can exclude management event // sources only in Regions that support the event source. ExcludeManagementEventSources []*string `type:"list"` // Specify if you want your event selector to include management events for // your trail. // // For more information, see Management Events (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html) // in the CloudTrail User Guide. // // By default, the value is true. // // The first copy of management events is free. You are charged for additional // copies of management events that you are logging on any subsequent trail // in the same Region. For more information about CloudTrail pricing, see CloudTrail // Pricing (http://aws.amazon.com/cloudtrail/pricing/). IncludeManagementEvents *bool `type:"boolean"` // Specify if you want your trail to log read-only events, write-only events, // or all. For example, the EC2 GetConsoleOutput is a read-only API operation // and RunInstances is a write-only API operation. // // By default, the value is All. ReadWriteType *string `type:"string" enum:"ReadWriteType"` // contains filtered or unexported fields }
Use event selectors to further specify the management and data event settings for your trail. By default, trails created without specific event selectors will be configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selector for all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event.
You can configure up to five event selectors for a trail.
You cannot apply both event selectors and advanced event selectors to a trail.
func (EventSelector) GoString ¶
func (s EventSelector) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EventSelector) SetDataResources ¶
func (s *EventSelector) SetDataResources(v []*DataResource) *EventSelector
SetDataResources sets the DataResources field's value.
func (*EventSelector) SetExcludeManagementEventSources ¶
func (s *EventSelector) SetExcludeManagementEventSources(v []*string) *EventSelector
SetExcludeManagementEventSources sets the ExcludeManagementEventSources field's value.
func (*EventSelector) SetIncludeManagementEvents ¶
func (s *EventSelector) SetIncludeManagementEvents(v bool) *EventSelector
SetIncludeManagementEvents sets the IncludeManagementEvents field's value.
func (*EventSelector) SetReadWriteType ¶
func (s *EventSelector) SetReadWriteType(v string) *EventSelector
SetReadWriteType sets the ReadWriteType field's value.
func (EventSelector) String ¶
func (s EventSelector) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetChannelInput ¶ added in v1.42.9
type GetChannelInput struct { // The ARN or UUID of a channel. // // Channel is a required field Channel *string `min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetChannelInput) GoString ¶ added in v1.42.9
func (s GetChannelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetChannelInput) SetChannel ¶ added in v1.42.9
func (s *GetChannelInput) SetChannel(v string) *GetChannelInput
SetChannel sets the Channel field's value.
func (GetChannelInput) String ¶ added in v1.42.9
func (s GetChannelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetChannelInput) Validate ¶ added in v1.42.9
func (s *GetChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetChannelOutput ¶ added in v1.42.9
type GetChannelOutput struct { // The ARN of an channel returned by a GetChannel request. ChannelArn *string `min:"3" type:"string"` // The destinations for the channel. For channels created for integrations, // the destinations are the event data stores that log events arriving through // the channel. For service-linked channels, the destination is the Amazon Web // Services service that created the service-linked channel to receive events. Destinations []*Destination `min:"1" type:"list"` // A table showing information about the most recent successful and failed attempts // to ingest events. IngestionStatus *IngestionStatus `type:"structure"` // The name of the CloudTrail channel. For service-linked channels, the name // is aws-service-channel/service-name/custom-suffix where service-name represents // the name of the Amazon Web Services service that created the channel and // custom-suffix represents the suffix generated by the Amazon Web Services // service. Name *string `min:"3" type:"string"` // The source for the CloudTrail channel. Source *string `min:"1" type:"string"` // Provides information about the advanced event selectors configured for the // channel, and whether the channel applies to all Regions or a single Region. SourceConfig *SourceConfig `type:"structure"` // contains filtered or unexported fields }
func (GetChannelOutput) GoString ¶ added in v1.42.9
func (s GetChannelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetChannelOutput) SetChannelArn ¶ added in v1.42.9
func (s *GetChannelOutput) SetChannelArn(v string) *GetChannelOutput
SetChannelArn sets the ChannelArn field's value.
func (*GetChannelOutput) SetDestinations ¶ added in v1.42.9
func (s *GetChannelOutput) SetDestinations(v []*Destination) *GetChannelOutput
SetDestinations sets the Destinations field's value.
func (*GetChannelOutput) SetIngestionStatus ¶ added in v1.42.9
func (s *GetChannelOutput) SetIngestionStatus(v *IngestionStatus) *GetChannelOutput
SetIngestionStatus sets the IngestionStatus field's value.
func (*GetChannelOutput) SetName ¶ added in v1.42.9
func (s *GetChannelOutput) SetName(v string) *GetChannelOutput
SetName sets the Name field's value.
func (*GetChannelOutput) SetSource ¶ added in v1.42.9
func (s *GetChannelOutput) SetSource(v string) *GetChannelOutput
SetSource sets the Source field's value.
func (*GetChannelOutput) SetSourceConfig ¶ added in v1.42.9
func (s *GetChannelOutput) SetSourceConfig(v *SourceConfig) *GetChannelOutput
SetSourceConfig sets the SourceConfig field's value.
func (GetChannelOutput) String ¶ added in v1.42.9
func (s GetChannelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEventDataStoreInput ¶ added in v1.42.9
type GetEventDataStoreInput struct { // The ARN (or ID suffix of the ARN) of the event data store about which you // want information. // // EventDataStore is a required field EventDataStore *string `min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetEventDataStoreInput) GoString ¶ added in v1.42.9
func (s GetEventDataStoreInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEventDataStoreInput) SetEventDataStore ¶ added in v1.42.9
func (s *GetEventDataStoreInput) SetEventDataStore(v string) *GetEventDataStoreInput
SetEventDataStore sets the EventDataStore field's value.
func (GetEventDataStoreInput) String ¶ added in v1.42.9
func (s GetEventDataStoreInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEventDataStoreInput) Validate ¶ added in v1.42.9
func (s *GetEventDataStoreInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetEventDataStoreOutput ¶ added in v1.42.9
type GetEventDataStoreOutput struct { // The advanced event selectors used to select events for the data store. AdvancedEventSelectors []*AdvancedEventSelector `type:"list"` // The timestamp of the event data store's creation. CreatedTimestamp *time.Time `type:"timestamp"` // The event data store Amazon Resource Number (ARN). EventDataStoreArn *string `min:"3" type:"string"` // Specifies the KMS key ID that encrypts the events delivered by CloudTrail. // The value is a fully specified ARN to a KMS key in the following format. // // arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 KmsKeyId *string `min:"1" type:"string"` // Indicates whether the event data store includes events from all Regions, // or only from the Region in which it was created. MultiRegionEnabled *bool `type:"boolean"` // The name of the event data store. Name *string `min:"3" type:"string"` // Indicates whether an event data store is collecting logged events for an // organization in Organizations. OrganizationEnabled *bool `type:"boolean"` // The retention period of the event data store, in days. RetentionPeriod *int64 `min:"7" type:"integer"` // The status of an event data store. Status *string `type:"string" enum:"EventDataStoreStatus"` // Indicates that termination protection is enabled. TerminationProtectionEnabled *bool `type:"boolean"` // Shows the time that an event data store was updated, if applicable. UpdatedTimestamp // is always either the same or newer than the time shown in CreatedTimestamp. UpdatedTimestamp *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (GetEventDataStoreOutput) GoString ¶ added in v1.42.9
func (s GetEventDataStoreOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEventDataStoreOutput) SetAdvancedEventSelectors ¶ added in v1.42.9
func (s *GetEventDataStoreOutput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *GetEventDataStoreOutput
SetAdvancedEventSelectors sets the AdvancedEventSelectors field's value.
func (*GetEventDataStoreOutput) SetCreatedTimestamp ¶ added in v1.42.9
func (s *GetEventDataStoreOutput) SetCreatedTimestamp(v time.Time) *GetEventDataStoreOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (*GetEventDataStoreOutput) SetEventDataStoreArn ¶ added in v1.42.9
func (s *GetEventDataStoreOutput) SetEventDataStoreArn(v string) *GetEventDataStoreOutput
SetEventDataStoreArn sets the EventDataStoreArn field's value.
func (*GetEventDataStoreOutput) SetKmsKeyId ¶ added in v1.42.9
func (s *GetEventDataStoreOutput) SetKmsKeyId(v string) *GetEventDataStoreOutput
SetKmsKeyId sets the KmsKeyId field's value.
func (*GetEventDataStoreOutput) SetMultiRegionEnabled ¶ added in v1.42.9
func (s *GetEventDataStoreOutput) SetMultiRegionEnabled(v bool) *GetEventDataStoreOutput
SetMultiRegionEnabled sets the MultiRegionEnabled field's value.
func (*GetEventDataStoreOutput) SetName ¶ added in v1.42.9
func (s *GetEventDataStoreOutput) SetName(v string) *GetEventDataStoreOutput
SetName sets the Name field's value.
func (*GetEventDataStoreOutput) SetOrganizationEnabled ¶ added in v1.42.9
func (s *GetEventDataStoreOutput) SetOrganizationEnabled(v bool) *GetEventDataStoreOutput
SetOrganizationEnabled sets the OrganizationEnabled field's value.
func (*GetEventDataStoreOutput) SetRetentionPeriod ¶ added in v1.42.9
func (s *GetEventDataStoreOutput) SetRetentionPeriod(v int64) *GetEventDataStoreOutput
SetRetentionPeriod sets the RetentionPeriod field's value.
func (*GetEventDataStoreOutput) SetStatus ¶ added in v1.42.9
func (s *GetEventDataStoreOutput) SetStatus(v string) *GetEventDataStoreOutput
SetStatus sets the Status field's value.
func (*GetEventDataStoreOutput) SetTerminationProtectionEnabled ¶ added in v1.42.9
func (s *GetEventDataStoreOutput) SetTerminationProtectionEnabled(v bool) *GetEventDataStoreOutput
SetTerminationProtectionEnabled sets the TerminationProtectionEnabled field's value.
func (*GetEventDataStoreOutput) SetUpdatedTimestamp ¶ added in v1.42.9
func (s *GetEventDataStoreOutput) SetUpdatedTimestamp(v time.Time) *GetEventDataStoreOutput
SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
func (GetEventDataStoreOutput) String ¶ added in v1.42.9
func (s GetEventDataStoreOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEventSelectorsInput ¶
type GetEventSelectorsInput struct { // Specifies the name of the trail or trail ARN. If you specify a trail name, // the string must meet the following requirements: // // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores // (_), or dashes (-) // // * Start with a letter or number, and end with a letter or number // // * Be between 3 and 128 characters // // * Have no adjacent periods, underscores or dashes. Names like my-_namespace // and my--namespace are not valid. // // * Not be in IP address format (for example, 192.168.5.4) // // If you specify a trail ARN, it must be in the format: // // arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail // // TrailName is a required field TrailName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (GetEventSelectorsInput) GoString ¶
func (s GetEventSelectorsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEventSelectorsInput) SetTrailName ¶
func (s *GetEventSelectorsInput) SetTrailName(v string) *GetEventSelectorsInput
SetTrailName sets the TrailName field's value.
func (GetEventSelectorsInput) String ¶
func (s GetEventSelectorsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEventSelectorsInput) Validate ¶
func (s *GetEventSelectorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetEventSelectorsOutput ¶
type GetEventSelectorsOutput struct { // The advanced event selectors that are configured for the trail. AdvancedEventSelectors []*AdvancedEventSelector `type:"list"` // The event selectors that are configured for the trail. EventSelectors []*EventSelector `type:"list"` // The specified trail ARN that has the event selectors. TrailARN *string `type:"string"` // contains filtered or unexported fields }
func (GetEventSelectorsOutput) GoString ¶
func (s GetEventSelectorsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEventSelectorsOutput) SetAdvancedEventSelectors ¶
func (s *GetEventSelectorsOutput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *GetEventSelectorsOutput
SetAdvancedEventSelectors sets the AdvancedEventSelectors field's value.
func (*GetEventSelectorsOutput) SetEventSelectors ¶
func (s *GetEventSelectorsOutput) SetEventSelectors(v []*EventSelector) *GetEventSelectorsOutput
SetEventSelectors sets the EventSelectors field's value.
func (*GetEventSelectorsOutput) SetTrailARN ¶
func (s *GetEventSelectorsOutput) SetTrailARN(v string) *GetEventSelectorsOutput
SetTrailARN sets the TrailARN field's value.
func (GetEventSelectorsOutput) String ¶
func (s GetEventSelectorsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetImportInput ¶ added in v1.42.9
type GetImportInput struct { // The ID for the import. // // ImportId is a required field ImportId *string `min:"36" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetImportInput) GoString ¶ added in v1.42.9
func (s GetImportInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetImportInput) SetImportId ¶ added in v1.42.9
func (s *GetImportInput) SetImportId(v string) *GetImportInput
SetImportId sets the ImportId field's value.
func (GetImportInput) String ¶ added in v1.42.9
func (s GetImportInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetImportInput) Validate ¶ added in v1.42.9
func (s *GetImportInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetImportOutput ¶ added in v1.42.9
type GetImportOutput struct { // The timestamp of the import's creation. CreatedTimestamp *time.Time `type:"timestamp"` // The ARN of the destination event data store. Destinations []*string `min:"1" type:"list"` // Used with StartEventTime to bound a StartImport request, and limit imported // trail events to only those events logged within a specified time period. EndEventTime *time.Time `type:"timestamp"` // The ID of the import. ImportId *string `min:"36" type:"string"` // The source S3 bucket. ImportSource *ImportSource `type:"structure"` // Provides statistics for the import. CloudTrail does not update import statistics // in real-time. Returned values for parameters such as EventsCompleted may // be lower than the actual value, because CloudTrail updates statistics incrementally // over the course of the import. ImportStatistics *ImportStatistics `type:"structure"` // The status of the import. ImportStatus *string `type:"string" enum:"ImportStatus"` // Used with EndEventTime to bound a StartImport request, and limit imported // trail events to only those events logged within a specified time period. StartEventTime *time.Time `type:"timestamp"` // The timestamp of when the import was updated. UpdatedTimestamp *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (GetImportOutput) GoString ¶ added in v1.42.9
func (s GetImportOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetImportOutput) SetCreatedTimestamp ¶ added in v1.42.9
func (s *GetImportOutput) SetCreatedTimestamp(v time.Time) *GetImportOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (*GetImportOutput) SetDestinations ¶ added in v1.42.9
func (s *GetImportOutput) SetDestinations(v []*string) *GetImportOutput
SetDestinations sets the Destinations field's value.
func (*GetImportOutput) SetEndEventTime ¶ added in v1.42.9
func (s *GetImportOutput) SetEndEventTime(v time.Time) *GetImportOutput
SetEndEventTime sets the EndEventTime field's value.
func (*GetImportOutput) SetImportId ¶ added in v1.42.9
func (s *GetImportOutput) SetImportId(v string) *GetImportOutput
SetImportId sets the ImportId field's value.
func (*GetImportOutput) SetImportSource ¶ added in v1.42.9
func (s *GetImportOutput) SetImportSource(v *ImportSource) *GetImportOutput
SetImportSource sets the ImportSource field's value.
func (*GetImportOutput) SetImportStatistics ¶ added in v1.42.9
func (s *GetImportOutput) SetImportStatistics(v *ImportStatistics) *GetImportOutput
SetImportStatistics sets the ImportStatistics field's value.
func (*GetImportOutput) SetImportStatus ¶ added in v1.42.9
func (s *GetImportOutput) SetImportStatus(v string) *GetImportOutput
SetImportStatus sets the ImportStatus field's value.
func (*GetImportOutput) SetStartEventTime ¶ added in v1.42.9
func (s *GetImportOutput) SetStartEventTime(v time.Time) *GetImportOutput
SetStartEventTime sets the StartEventTime field's value.
func (*GetImportOutput) SetUpdatedTimestamp ¶ added in v1.42.9
func (s *GetImportOutput) SetUpdatedTimestamp(v time.Time) *GetImportOutput
SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
func (GetImportOutput) String ¶ added in v1.42.9
func (s GetImportOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetInsightSelectorsInput ¶
type GetInsightSelectorsInput struct { // Specifies the name of the trail or trail ARN. If you specify a trail name, // the string must meet the following requirements: // // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores // (_), or dashes (-) // // * Start with a letter or number, and end with a letter or number // // * Be between 3 and 128 characters // // * Have no adjacent periods, underscores or dashes. Names like my-_namespace // and my--namespace are not valid. // // * Not be in IP address format (for example, 192.168.5.4) // // If you specify a trail ARN, it must be in the format: // // arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail // // TrailName is a required field TrailName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (GetInsightSelectorsInput) GoString ¶
func (s GetInsightSelectorsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetInsightSelectorsInput) SetTrailName ¶
func (s *GetInsightSelectorsInput) SetTrailName(v string) *GetInsightSelectorsInput
SetTrailName sets the TrailName field's value.
func (GetInsightSelectorsInput) String ¶
func (s GetInsightSelectorsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetInsightSelectorsInput) Validate ¶
func (s *GetInsightSelectorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetInsightSelectorsOutput ¶
type GetInsightSelectorsOutput struct { // A JSON string that contains the insight types you want to log on a trail. // In this release, ApiErrorRateInsight and ApiCallRateInsight are supported // as insight types. InsightSelectors []*InsightSelector `type:"list"` // The Amazon Resource Name (ARN) of a trail for which you want to get Insights // selectors. TrailARN *string `type:"string"` // contains filtered or unexported fields }
func (GetInsightSelectorsOutput) GoString ¶
func (s GetInsightSelectorsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetInsightSelectorsOutput) SetInsightSelectors ¶
func (s *GetInsightSelectorsOutput) SetInsightSelectors(v []*InsightSelector) *GetInsightSelectorsOutput
SetInsightSelectors sets the InsightSelectors field's value.
func (*GetInsightSelectorsOutput) SetTrailARN ¶
func (s *GetInsightSelectorsOutput) SetTrailARN(v string) *GetInsightSelectorsOutput
SetTrailARN sets the TrailARN field's value.
func (GetInsightSelectorsOutput) String ¶
func (s GetInsightSelectorsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetQueryResultsInput ¶ added in v1.42.9
type GetQueryResultsInput struct { // The ARN (or ID suffix of the ARN) of the event data store against which the // query was run. // // Deprecated: EventDataStore is no longer required by GetQueryResultsRequest EventDataStore *string `min:"3" deprecated:"true" type:"string"` // The maximum number of query results to display on a single page. MaxQueryResults *int64 `min:"1" type:"integer"` // A token you can use to get the next page of query results. NextToken *string `min:"4" type:"string"` // The ID of the query for which you want to get results. // // QueryId is a required field QueryId *string `min:"36" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetQueryResultsInput) GoString ¶ added in v1.42.9
func (s GetQueryResultsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetQueryResultsInput) SetEventDataStore ¶ added in v1.42.9
func (s *GetQueryResultsInput) SetEventDataStore(v string) *GetQueryResultsInput
SetEventDataStore sets the EventDataStore field's value.
func (*GetQueryResultsInput) SetMaxQueryResults ¶ added in v1.42.9
func (s *GetQueryResultsInput) SetMaxQueryResults(v int64) *GetQueryResultsInput
SetMaxQueryResults sets the MaxQueryResults field's value.
func (*GetQueryResultsInput) SetNextToken ¶ added in v1.42.9
func (s *GetQueryResultsInput) SetNextToken(v string) *GetQueryResultsInput
SetNextToken sets the NextToken field's value.
func (*GetQueryResultsInput) SetQueryId ¶ added in v1.42.9
func (s *GetQueryResultsInput) SetQueryId(v string) *GetQueryResultsInput
SetQueryId sets the QueryId field's value.
func (GetQueryResultsInput) String ¶ added in v1.42.9
func (s GetQueryResultsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetQueryResultsInput) Validate ¶ added in v1.42.9
func (s *GetQueryResultsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetQueryResultsOutput ¶ added in v1.42.9
type GetQueryResultsOutput struct { // The error message returned if a query failed. ErrorMessage *string `min:"4" type:"string"` // A token you can use to get the next page of query results. NextToken *string `min:"4" type:"string"` // Contains the individual event results of the query. QueryResultRows [][]map[string]*string `type:"list"` // Shows the count of query results. QueryStatistics *QueryStatistics `type:"structure"` // The status of the query. Values include QUEUED, RUNNING, FINISHED, FAILED, // TIMED_OUT, or CANCELLED. QueryStatus *string `type:"string" enum:"QueryStatus"` // contains filtered or unexported fields }
func (GetQueryResultsOutput) GoString ¶ added in v1.42.9
func (s GetQueryResultsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetQueryResultsOutput) SetErrorMessage ¶ added in v1.42.9
func (s *GetQueryResultsOutput) SetErrorMessage(v string) *GetQueryResultsOutput
SetErrorMessage sets the ErrorMessage field's value.
func (*GetQueryResultsOutput) SetNextToken ¶ added in v1.42.9
func (s *GetQueryResultsOutput) SetNextToken(v string) *GetQueryResultsOutput
SetNextToken sets the NextToken field's value.
func (*GetQueryResultsOutput) SetQueryResultRows ¶ added in v1.42.9
func (s *GetQueryResultsOutput) SetQueryResultRows(v [][]map[string]*string) *GetQueryResultsOutput
SetQueryResultRows sets the QueryResultRows field's value.
func (*GetQueryResultsOutput) SetQueryStatistics ¶ added in v1.42.9
func (s *GetQueryResultsOutput) SetQueryStatistics(v *QueryStatistics) *GetQueryResultsOutput
SetQueryStatistics sets the QueryStatistics field's value.
func (*GetQueryResultsOutput) SetQueryStatus ¶ added in v1.42.9
func (s *GetQueryResultsOutput) SetQueryStatus(v string) *GetQueryResultsOutput
SetQueryStatus sets the QueryStatus field's value.
func (GetQueryResultsOutput) String ¶ added in v1.42.9
func (s GetQueryResultsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetResourcePolicyInput ¶ added in v1.42.9
type GetResourcePolicyInput struct { // The Amazon Resource Name (ARN) of the CloudTrail channel attached to the // resource-based policy. The following is the format of a resource ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel. // // ResourceArn is a required field ResourceArn *string `min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetResourcePolicyInput) GoString ¶ added in v1.42.9
func (s GetResourcePolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourcePolicyInput) SetResourceArn ¶ added in v1.42.9
func (s *GetResourcePolicyInput) SetResourceArn(v string) *GetResourcePolicyInput
SetResourceArn sets the ResourceArn field's value.
func (GetResourcePolicyInput) String ¶ added in v1.42.9
func (s GetResourcePolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourcePolicyInput) Validate ¶ added in v1.42.9
func (s *GetResourcePolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResourcePolicyOutput ¶ added in v1.42.9
type GetResourcePolicyOutput struct { // The Amazon Resource Name (ARN) of the CloudTrail channel attached to resource-based // policy. ResourceArn *string `min:"3" type:"string"` // A JSON-formatted string that contains the resource-based policy attached // to the CloudTrail channel. ResourcePolicy *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (GetResourcePolicyOutput) GoString ¶ added in v1.42.9
func (s GetResourcePolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourcePolicyOutput) SetResourceArn ¶ added in v1.42.9
func (s *GetResourcePolicyOutput) SetResourceArn(v string) *GetResourcePolicyOutput
SetResourceArn sets the ResourceArn field's value.
func (*GetResourcePolicyOutput) SetResourcePolicy ¶ added in v1.42.9
func (s *GetResourcePolicyOutput) SetResourcePolicy(v string) *GetResourcePolicyOutput
SetResourcePolicy sets the ResourcePolicy field's value.
func (GetResourcePolicyOutput) String ¶ added in v1.42.9
func (s GetResourcePolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetTrailInput ¶
type GetTrailInput struct { // The name or the Amazon Resource Name (ARN) of the trail for which you want // to retrieve settings information. // // Name is a required field Name *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (GetTrailInput) GoString ¶
func (s GetTrailInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetTrailInput) SetName ¶
func (s *GetTrailInput) SetName(v string) *GetTrailInput
SetName sets the Name field's value.
func (GetTrailInput) String ¶
func (s GetTrailInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetTrailInput) Validate ¶
func (s *GetTrailInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetTrailOutput ¶
type GetTrailOutput struct { // The settings for a trail. Trail *Trail `type:"structure"` // contains filtered or unexported fields }
func (GetTrailOutput) GoString ¶
func (s GetTrailOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetTrailOutput) SetTrail ¶
func (s *GetTrailOutput) SetTrail(v *Trail) *GetTrailOutput
SetTrail sets the Trail field's value.
func (GetTrailOutput) String ¶
func (s GetTrailOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetTrailStatusInput ¶
type GetTrailStatusInput struct { // Specifies the name or the CloudTrail ARN of the trail for which you are requesting // status. To get the status of a shadow trail (a replication of the trail in // another Region), you must specify its ARN. The following is the format of // a trail ARN. // // arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail // // Name is a required field Name *string `type:"string" required:"true"` // contains filtered or unexported fields }
The name of a trail about which you want the current status.
func (GetTrailStatusInput) GoString ¶
func (s GetTrailStatusInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetTrailStatusInput) SetName ¶
func (s *GetTrailStatusInput) SetName(v string) *GetTrailStatusInput
SetName sets the Name field's value.
func (GetTrailStatusInput) String ¶
func (s GetTrailStatusInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetTrailStatusInput) Validate ¶
func (s *GetTrailStatusInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetTrailStatusOutput ¶
type GetTrailStatusOutput struct { // Whether the CloudTrail trail is currently logging Amazon Web Services API // calls. IsLogging *bool `type:"boolean"` // Displays any CloudWatch Logs error that CloudTrail encountered when attempting // to deliver logs to CloudWatch Logs. LatestCloudWatchLogsDeliveryError *string `type:"string"` // Displays the most recent date and time when CloudTrail delivered logs to // CloudWatch Logs. LatestCloudWatchLogsDeliveryTime *time.Time `type:"timestamp"` // This field is no longer in use. LatestDeliveryAttemptSucceeded *string `type:"string"` // This field is no longer in use. LatestDeliveryAttemptTime *string `type:"string"` // Displays any Amazon S3 error that CloudTrail encountered when attempting // to deliver log files to the designated bucket. For more information, see // Error Responses (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html) // in the Amazon S3 API Reference. // // This error occurs only when there is a problem with the destination S3 bucket, // and does not occur for requests that time out. To resolve the issue, create // a new bucket, and then call UpdateTrail to specify the new bucket; or fix // the existing objects so that CloudTrail can again write to the bucket. LatestDeliveryError *string `type:"string"` // Specifies the date and time that CloudTrail last delivered log files to an // account's Amazon S3 bucket. LatestDeliveryTime *time.Time `type:"timestamp"` // Displays any Amazon S3 error that CloudTrail encountered when attempting // to deliver a digest file to the designated bucket. For more information, // see Error Responses (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html) // in the Amazon S3 API Reference. // // This error occurs only when there is a problem with the destination S3 bucket, // and does not occur for requests that time out. To resolve the issue, create // a new bucket, and then call UpdateTrail to specify the new bucket; or fix // the existing objects so that CloudTrail can again write to the bucket. LatestDigestDeliveryError *string `type:"string"` // Specifies the date and time that CloudTrail last delivered a digest file // to an account's Amazon S3 bucket. LatestDigestDeliveryTime *time.Time `type:"timestamp"` // This field is no longer in use. LatestNotificationAttemptSucceeded *string `type:"string"` // This field is no longer in use. LatestNotificationAttemptTime *string `type:"string"` // Displays any Amazon SNS error that CloudTrail encountered when attempting // to send a notification. For more information about Amazon SNS errors, see // the Amazon SNS Developer Guide (https://docs.aws.amazon.com/sns/latest/dg/welcome.html). LatestNotificationError *string `type:"string"` // Specifies the date and time of the most recent Amazon SNS notification that // CloudTrail has written a new log file to an account's Amazon S3 bucket. LatestNotificationTime *time.Time `type:"timestamp"` // Specifies the most recent date and time when CloudTrail started recording // API calls for an Amazon Web Services account. StartLoggingTime *time.Time `type:"timestamp"` // Specifies the most recent date and time when CloudTrail stopped recording // API calls for an Amazon Web Services account. StopLoggingTime *time.Time `type:"timestamp"` // This field is no longer in use. TimeLoggingStarted *string `type:"string"` // This field is no longer in use. TimeLoggingStopped *string `type:"string"` // contains filtered or unexported fields }
Returns the objects or data listed below if successful. Otherwise, returns an error.
func (GetTrailStatusOutput) GoString ¶
func (s GetTrailStatusOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetTrailStatusOutput) SetIsLogging ¶
func (s *GetTrailStatusOutput) SetIsLogging(v bool) *GetTrailStatusOutput
SetIsLogging sets the IsLogging field's value.
func (*GetTrailStatusOutput) SetLatestCloudWatchLogsDeliveryError ¶
func (s *GetTrailStatusOutput) SetLatestCloudWatchLogsDeliveryError(v string) *GetTrailStatusOutput
SetLatestCloudWatchLogsDeliveryError sets the LatestCloudWatchLogsDeliveryError field's value.
func (*GetTrailStatusOutput) SetLatestCloudWatchLogsDeliveryTime ¶
func (s *GetTrailStatusOutput) SetLatestCloudWatchLogsDeliveryTime(v time.Time) *GetTrailStatusOutput
SetLatestCloudWatchLogsDeliveryTime sets the LatestCloudWatchLogsDeliveryTime field's value.
func (*GetTrailStatusOutput) SetLatestDeliveryAttemptSucceeded ¶
func (s *GetTrailStatusOutput) SetLatestDeliveryAttemptSucceeded(v string) *GetTrailStatusOutput
SetLatestDeliveryAttemptSucceeded sets the LatestDeliveryAttemptSucceeded field's value.
func (*GetTrailStatusOutput) SetLatestDeliveryAttemptTime ¶
func (s *GetTrailStatusOutput) SetLatestDeliveryAttemptTime(v string) *GetTrailStatusOutput
SetLatestDeliveryAttemptTime sets the LatestDeliveryAttemptTime field's value.
func (*GetTrailStatusOutput) SetLatestDeliveryError ¶
func (s *GetTrailStatusOutput) SetLatestDeliveryError(v string) *GetTrailStatusOutput
SetLatestDeliveryError sets the LatestDeliveryError field's value.
func (*GetTrailStatusOutput) SetLatestDeliveryTime ¶
func (s *GetTrailStatusOutput) SetLatestDeliveryTime(v time.Time) *GetTrailStatusOutput
SetLatestDeliveryTime sets the LatestDeliveryTime field's value.
func (*GetTrailStatusOutput) SetLatestDigestDeliveryError ¶
func (s *GetTrailStatusOutput) SetLatestDigestDeliveryError(v string) *GetTrailStatusOutput
SetLatestDigestDeliveryError sets the LatestDigestDeliveryError field's value.
func (*GetTrailStatusOutput) SetLatestDigestDeliveryTime ¶
func (s *GetTrailStatusOutput) SetLatestDigestDeliveryTime(v time.Time) *GetTrailStatusOutput
SetLatestDigestDeliveryTime sets the LatestDigestDeliveryTime field's value.
func (*GetTrailStatusOutput) SetLatestNotificationAttemptSucceeded ¶
func (s *GetTrailStatusOutput) SetLatestNotificationAttemptSucceeded(v string) *GetTrailStatusOutput
SetLatestNotificationAttemptSucceeded sets the LatestNotificationAttemptSucceeded field's value.
func (*GetTrailStatusOutput) SetLatestNotificationAttemptTime ¶
func (s *GetTrailStatusOutput) SetLatestNotificationAttemptTime(v string) *GetTrailStatusOutput
SetLatestNotificationAttemptTime sets the LatestNotificationAttemptTime field's value.
func (*GetTrailStatusOutput) SetLatestNotificationError ¶
func (s *GetTrailStatusOutput) SetLatestNotificationError(v string) *GetTrailStatusOutput
SetLatestNotificationError sets the LatestNotificationError field's value.
func (*GetTrailStatusOutput) SetLatestNotificationTime ¶
func (s *GetTrailStatusOutput) SetLatestNotificationTime(v time.Time) *GetTrailStatusOutput
SetLatestNotificationTime sets the LatestNotificationTime field's value.
func (*GetTrailStatusOutput) SetStartLoggingTime ¶
func (s *GetTrailStatusOutput) SetStartLoggingTime(v time.Time) *GetTrailStatusOutput
SetStartLoggingTime sets the StartLoggingTime field's value.
func (*GetTrailStatusOutput) SetStopLoggingTime ¶
func (s *GetTrailStatusOutput) SetStopLoggingTime(v time.Time) *GetTrailStatusOutput
SetStopLoggingTime sets the StopLoggingTime field's value.
func (*GetTrailStatusOutput) SetTimeLoggingStarted ¶
func (s *GetTrailStatusOutput) SetTimeLoggingStarted(v string) *GetTrailStatusOutput
SetTimeLoggingStarted sets the TimeLoggingStarted field's value.
func (*GetTrailStatusOutput) SetTimeLoggingStopped ¶
func (s *GetTrailStatusOutput) SetTimeLoggingStopped(v string) *GetTrailStatusOutput
SetTimeLoggingStopped sets the TimeLoggingStopped field's value.
func (GetTrailStatusOutput) String ¶
func (s GetTrailStatusOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ImportFailureListItem ¶ added in v1.42.9
type ImportFailureListItem struct { // Provides the reason the import failed. ErrorMessage *string `type:"string"` // The type of import error. ErrorType *string `type:"string"` // When the import was last updated. LastUpdatedTime *time.Time `type:"timestamp"` // The location of the failure in the S3 bucket. Location *string `type:"string"` // The status of the import. Status *string `type:"string" enum:"ImportFailureStatus"` // contains filtered or unexported fields }
Provides information about an import failure.
func (ImportFailureListItem) GoString ¶ added in v1.42.9
func (s ImportFailureListItem) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ImportFailureListItem) SetErrorMessage ¶ added in v1.42.9
func (s *ImportFailureListItem) SetErrorMessage(v string) *ImportFailureListItem
SetErrorMessage sets the ErrorMessage field's value.
func (*ImportFailureListItem) SetErrorType ¶ added in v1.42.9
func (s *ImportFailureListItem) SetErrorType(v string) *ImportFailureListItem
SetErrorType sets the ErrorType field's value.
func (*ImportFailureListItem) SetLastUpdatedTime ¶ added in v1.42.9
func (s *ImportFailureListItem) SetLastUpdatedTime(v time.Time) *ImportFailureListItem
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (*ImportFailureListItem) SetLocation ¶ added in v1.42.9
func (s *ImportFailureListItem) SetLocation(v string) *ImportFailureListItem
SetLocation sets the Location field's value.
func (*ImportFailureListItem) SetStatus ¶ added in v1.42.9
func (s *ImportFailureListItem) SetStatus(v string) *ImportFailureListItem
SetStatus sets the Status field's value.
func (ImportFailureListItem) String ¶ added in v1.42.9
func (s ImportFailureListItem) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ImportNotFoundException ¶ added in v1.42.9
type ImportNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified import was not found.
func (*ImportNotFoundException) Code ¶ added in v1.42.9
func (s *ImportNotFoundException) Code() string
Code returns the exception type name.
func (*ImportNotFoundException) Error ¶ added in v1.42.9
func (s *ImportNotFoundException) Error() string
func (ImportNotFoundException) GoString ¶ added in v1.42.9
func (s ImportNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ImportNotFoundException) Message ¶ added in v1.42.9
func (s *ImportNotFoundException) Message() string
Message returns the exception's message.
func (*ImportNotFoundException) OrigErr ¶ added in v1.42.9
func (s *ImportNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ImportNotFoundException) RequestID ¶ added in v1.42.9
func (s *ImportNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ImportNotFoundException) StatusCode ¶ added in v1.42.9
func (s *ImportNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ImportNotFoundException) String ¶ added in v1.42.9
func (s ImportNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ImportSource ¶ added in v1.42.9
type ImportSource struct { // The source S3 bucket. // // S3 is a required field S3 *S3ImportSource `type:"structure" required:"true"` // contains filtered or unexported fields }
The import source.
func (ImportSource) GoString ¶ added in v1.42.9
func (s ImportSource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ImportSource) SetS3 ¶ added in v1.42.9
func (s *ImportSource) SetS3(v *S3ImportSource) *ImportSource
SetS3 sets the S3 field's value.
func (ImportSource) String ¶ added in v1.42.9
func (s ImportSource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ImportSource) Validate ¶ added in v1.42.9
func (s *ImportSource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ImportStatistics ¶ added in v1.42.9
type ImportStatistics struct { // The number of trail events imported into the event data store. EventsCompleted *int64 `type:"long"` // The number of failed entries. FailedEntries *int64 `type:"long"` // The number of log files that completed import. FilesCompleted *int64 `type:"long"` // The number of S3 prefixes that completed import. PrefixesCompleted *int64 `type:"long"` // The number of S3 prefixes found for the import. PrefixesFound *int64 `type:"long"` // contains filtered or unexported fields }
Provides statistics for the specified ImportID. CloudTrail does not update import statistics in real-time. Returned values for parameters such as EventsCompleted may be lower than the actual value, because CloudTrail updates statistics incrementally over the course of the import.
func (ImportStatistics) GoString ¶ added in v1.42.9
func (s ImportStatistics) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ImportStatistics) SetEventsCompleted ¶ added in v1.42.9
func (s *ImportStatistics) SetEventsCompleted(v int64) *ImportStatistics
SetEventsCompleted sets the EventsCompleted field's value.
func (*ImportStatistics) SetFailedEntries ¶ added in v1.42.9
func (s *ImportStatistics) SetFailedEntries(v int64) *ImportStatistics
SetFailedEntries sets the FailedEntries field's value.
func (*ImportStatistics) SetFilesCompleted ¶ added in v1.42.9
func (s *ImportStatistics) SetFilesCompleted(v int64) *ImportStatistics
SetFilesCompleted sets the FilesCompleted field's value.
func (*ImportStatistics) SetPrefixesCompleted ¶ added in v1.42.9
func (s *ImportStatistics) SetPrefixesCompleted(v int64) *ImportStatistics
SetPrefixesCompleted sets the PrefixesCompleted field's value.
func (*ImportStatistics) SetPrefixesFound ¶ added in v1.42.9
func (s *ImportStatistics) SetPrefixesFound(v int64) *ImportStatistics
SetPrefixesFound sets the PrefixesFound field's value.
func (ImportStatistics) String ¶ added in v1.42.9
func (s ImportStatistics) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ImportsListItem ¶ added in v1.42.9
type ImportsListItem struct { // The timestamp of the import's creation. CreatedTimestamp *time.Time `type:"timestamp"` // The ARN of the destination event data store. Destinations []*string `min:"1" type:"list"` // The ID of the import. ImportId *string `min:"36" type:"string"` // The status of the import. ImportStatus *string `type:"string" enum:"ImportStatus"` // The timestamp of the import's last update. UpdatedTimestamp *time.Time `type:"timestamp"` // contains filtered or unexported fields }
Contains information about an import that was returned by a lookup request.
func (ImportsListItem) GoString ¶ added in v1.42.9
func (s ImportsListItem) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ImportsListItem) SetCreatedTimestamp ¶ added in v1.42.9
func (s *ImportsListItem) SetCreatedTimestamp(v time.Time) *ImportsListItem
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (*ImportsListItem) SetDestinations ¶ added in v1.42.9
func (s *ImportsListItem) SetDestinations(v []*string) *ImportsListItem
SetDestinations sets the Destinations field's value.
func (*ImportsListItem) SetImportId ¶ added in v1.42.9
func (s *ImportsListItem) SetImportId(v string) *ImportsListItem
SetImportId sets the ImportId field's value.
func (*ImportsListItem) SetImportStatus ¶ added in v1.42.9
func (s *ImportsListItem) SetImportStatus(v string) *ImportsListItem
SetImportStatus sets the ImportStatus field's value.
func (*ImportsListItem) SetUpdatedTimestamp ¶ added in v1.42.9
func (s *ImportsListItem) SetUpdatedTimestamp(v time.Time) *ImportsListItem
SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
func (ImportsListItem) String ¶ added in v1.42.9
func (s ImportsListItem) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InactiveEventDataStoreException ¶ added in v1.42.9
type InactiveEventDataStoreException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The event data store is inactive.
func (*InactiveEventDataStoreException) Code ¶ added in v1.42.9
func (s *InactiveEventDataStoreException) Code() string
Code returns the exception type name.
func (*InactiveEventDataStoreException) Error ¶ added in v1.42.9
func (s *InactiveEventDataStoreException) Error() string
func (InactiveEventDataStoreException) GoString ¶ added in v1.42.9
func (s InactiveEventDataStoreException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InactiveEventDataStoreException) Message ¶ added in v1.42.9
func (s *InactiveEventDataStoreException) Message() string
Message returns the exception's message.
func (*InactiveEventDataStoreException) OrigErr ¶ added in v1.42.9
func (s *InactiveEventDataStoreException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InactiveEventDataStoreException) RequestID ¶ added in v1.42.9
func (s *InactiveEventDataStoreException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InactiveEventDataStoreException) StatusCode ¶ added in v1.42.9
func (s *InactiveEventDataStoreException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InactiveEventDataStoreException) String ¶ added in v1.42.9
func (s InactiveEventDataStoreException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InactiveQueryException ¶ added in v1.42.9
type InactiveQueryException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified query cannot be canceled because it is in the FINISHED, FAILED, TIMED_OUT, or CANCELLED state.
func (*InactiveQueryException) Code ¶ added in v1.42.9
func (s *InactiveQueryException) Code() string
Code returns the exception type name.
func (*InactiveQueryException) Error ¶ added in v1.42.9
func (s *InactiveQueryException) Error() string
func (InactiveQueryException) GoString ¶ added in v1.42.9
func (s InactiveQueryException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InactiveQueryException) Message ¶ added in v1.42.9
func (s *InactiveQueryException) Message() string
Message returns the exception's message.
func (*InactiveQueryException) OrigErr ¶ added in v1.42.9
func (s *InactiveQueryException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InactiveQueryException) RequestID ¶ added in v1.42.9
func (s *InactiveQueryException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InactiveQueryException) StatusCode ¶ added in v1.42.9
func (s *InactiveQueryException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InactiveQueryException) String ¶ added in v1.42.9
func (s InactiveQueryException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type IngestionStatus ¶ added in v1.42.9
type IngestionStatus struct { // The event ID of the most recent attempt to ingest events. LatestIngestionAttemptEventID *string `min:"36" type:"string"` // The time stamp of the most recent attempt to ingest events on the channel. LatestIngestionAttemptTime *time.Time `type:"timestamp"` // The error code for the most recent failure to ingest events. LatestIngestionErrorCode *string `min:"4" type:"string"` // The event ID of the most recent successful ingestion of events. LatestIngestionSuccessEventID *string `min:"36" type:"string"` // The time stamp of the most recent successful ingestion of events for the // channel. LatestIngestionSuccessTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
A table showing information about the most recent successful and failed attempts to ingest events.
func (IngestionStatus) GoString ¶ added in v1.42.9
func (s IngestionStatus) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*IngestionStatus) SetLatestIngestionAttemptEventID ¶ added in v1.42.9
func (s *IngestionStatus) SetLatestIngestionAttemptEventID(v string) *IngestionStatus
SetLatestIngestionAttemptEventID sets the LatestIngestionAttemptEventID field's value.
func (*IngestionStatus) SetLatestIngestionAttemptTime ¶ added in v1.42.9
func (s *IngestionStatus) SetLatestIngestionAttemptTime(v time.Time) *IngestionStatus
SetLatestIngestionAttemptTime sets the LatestIngestionAttemptTime field's value.
func (*IngestionStatus) SetLatestIngestionErrorCode ¶ added in v1.42.9
func (s *IngestionStatus) SetLatestIngestionErrorCode(v string) *IngestionStatus
SetLatestIngestionErrorCode sets the LatestIngestionErrorCode field's value.
func (*IngestionStatus) SetLatestIngestionSuccessEventID ¶ added in v1.42.9
func (s *IngestionStatus) SetLatestIngestionSuccessEventID(v string) *IngestionStatus
SetLatestIngestionSuccessEventID sets the LatestIngestionSuccessEventID field's value.
func (*IngestionStatus) SetLatestIngestionSuccessTime ¶ added in v1.42.9
func (s *IngestionStatus) SetLatestIngestionSuccessTime(v time.Time) *IngestionStatus
SetLatestIngestionSuccessTime sets the LatestIngestionSuccessTime field's value.
func (IngestionStatus) String ¶ added in v1.42.9
func (s IngestionStatus) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InsightNotEnabledException ¶
type InsightNotEnabledException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
If you run GetInsightSelectors on a trail that does not have Insights events enabled, the operation throws the exception InsightNotEnabledException.
func (*InsightNotEnabledException) Code ¶
func (s *InsightNotEnabledException) Code() string
Code returns the exception type name.
func (*InsightNotEnabledException) Error ¶
func (s *InsightNotEnabledException) Error() string
func (InsightNotEnabledException) GoString ¶
func (s InsightNotEnabledException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InsightNotEnabledException) Message ¶
func (s *InsightNotEnabledException) Message() string
Message returns the exception's message.
func (*InsightNotEnabledException) OrigErr ¶
func (s *InsightNotEnabledException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InsightNotEnabledException) RequestID ¶
func (s *InsightNotEnabledException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InsightNotEnabledException) StatusCode ¶
func (s *InsightNotEnabledException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InsightNotEnabledException) String ¶
func (s InsightNotEnabledException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InsightSelector ¶
type InsightSelector struct { // The type of Insights events to log on a trail. ApiCallRateInsight and ApiErrorRateInsight // are valid Insight types. // // The ApiCallRateInsight Insights type analyzes write-only management API calls // that are aggregated per minute against a baseline API call volume. // // The ApiErrorRateInsight Insights type analyzes management API calls that // result in error codes. The error is shown if the API call is unsuccessful. InsightType *string `type:"string" enum:"InsightType"` // contains filtered or unexported fields }
A JSON string that contains a list of Insights types that are logged on a trail.
func (InsightSelector) GoString ¶
func (s InsightSelector) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InsightSelector) SetInsightType ¶
func (s *InsightSelector) SetInsightType(v string) *InsightSelector
SetInsightType sets the InsightType field's value.
func (InsightSelector) String ¶
func (s InsightSelector) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InsufficientDependencyServiceAccessPermissionException ¶
type InsufficientDependencyServiceAccessPermissionException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
func (*InsufficientDependencyServiceAccessPermissionException) Code ¶
func (s *InsufficientDependencyServiceAccessPermissionException) Code() string
Code returns the exception type name.
func (*InsufficientDependencyServiceAccessPermissionException) Error ¶
func (s *InsufficientDependencyServiceAccessPermissionException) Error() string
func (InsufficientDependencyServiceAccessPermissionException) GoString ¶
func (s InsufficientDependencyServiceAccessPermissionException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InsufficientDependencyServiceAccessPermissionException) Message ¶
func (s *InsufficientDependencyServiceAccessPermissionException) Message() string
Message returns the exception's message.
func (*InsufficientDependencyServiceAccessPermissionException) OrigErr ¶
func (s *InsufficientDependencyServiceAccessPermissionException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InsufficientDependencyServiceAccessPermissionException) RequestID ¶
func (s *InsufficientDependencyServiceAccessPermissionException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InsufficientDependencyServiceAccessPermissionException) StatusCode ¶
func (s *InsufficientDependencyServiceAccessPermissionException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InsufficientDependencyServiceAccessPermissionException) String ¶
func (s InsufficientDependencyServiceAccessPermissionException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InsufficientEncryptionPolicyException ¶
type InsufficientEncryptionPolicyException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the policy on the S3 bucket or KMS key does not have sufficient permissions for the operation.
func (*InsufficientEncryptionPolicyException) Code ¶
func (s *InsufficientEncryptionPolicyException) Code() string
Code returns the exception type name.
func (*InsufficientEncryptionPolicyException) Error ¶
func (s *InsufficientEncryptionPolicyException) Error() string
func (InsufficientEncryptionPolicyException) GoString ¶
func (s InsufficientEncryptionPolicyException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InsufficientEncryptionPolicyException) Message ¶
func (s *InsufficientEncryptionPolicyException) Message() string
Message returns the exception's message.
func (*InsufficientEncryptionPolicyException) OrigErr ¶
func (s *InsufficientEncryptionPolicyException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InsufficientEncryptionPolicyException) RequestID ¶
func (s *InsufficientEncryptionPolicyException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InsufficientEncryptionPolicyException) StatusCode ¶
func (s *InsufficientEncryptionPolicyException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InsufficientEncryptionPolicyException) String ¶
func (s InsufficientEncryptionPolicyException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InsufficientS3BucketPolicyException ¶
type InsufficientS3BucketPolicyException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the policy on the S3 bucket is not sufficient.
func (*InsufficientS3BucketPolicyException) Code ¶
func (s *InsufficientS3BucketPolicyException) Code() string
Code returns the exception type name.
func (*InsufficientS3BucketPolicyException) Error ¶
func (s *InsufficientS3BucketPolicyException) Error() string
func (InsufficientS3BucketPolicyException) GoString ¶
func (s InsufficientS3BucketPolicyException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InsufficientS3BucketPolicyException) Message ¶
func (s *InsufficientS3BucketPolicyException) Message() string
Message returns the exception's message.
func (*InsufficientS3BucketPolicyException) OrigErr ¶
func (s *InsufficientS3BucketPolicyException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InsufficientS3BucketPolicyException) RequestID ¶
func (s *InsufficientS3BucketPolicyException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InsufficientS3BucketPolicyException) StatusCode ¶
func (s *InsufficientS3BucketPolicyException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InsufficientS3BucketPolicyException) String ¶
func (s InsufficientS3BucketPolicyException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InsufficientSnsTopicPolicyException ¶
type InsufficientSnsTopicPolicyException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the policy on the Amazon SNS topic is not sufficient.
func (*InsufficientSnsTopicPolicyException) Code ¶
func (s *InsufficientSnsTopicPolicyException) Code() string
Code returns the exception type name.
func (*InsufficientSnsTopicPolicyException) Error ¶
func (s *InsufficientSnsTopicPolicyException) Error() string
func (InsufficientSnsTopicPolicyException) GoString ¶
func (s InsufficientSnsTopicPolicyException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InsufficientSnsTopicPolicyException) Message ¶
func (s *InsufficientSnsTopicPolicyException) Message() string
Message returns the exception's message.
func (*InsufficientSnsTopicPolicyException) OrigErr ¶
func (s *InsufficientSnsTopicPolicyException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InsufficientSnsTopicPolicyException) RequestID ¶
func (s *InsufficientSnsTopicPolicyException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InsufficientSnsTopicPolicyException) StatusCode ¶
func (s *InsufficientSnsTopicPolicyException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InsufficientSnsTopicPolicyException) String ¶
func (s InsufficientSnsTopicPolicyException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidCloudWatchLogsLogGroupArnException ¶
type InvalidCloudWatchLogsLogGroupArnException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the provided CloudWatch Logs log group is not valid.
func (*InvalidCloudWatchLogsLogGroupArnException) Code ¶
func (s *InvalidCloudWatchLogsLogGroupArnException) Code() string
Code returns the exception type name.
func (*InvalidCloudWatchLogsLogGroupArnException) Error ¶
func (s *InvalidCloudWatchLogsLogGroupArnException) Error() string
func (InvalidCloudWatchLogsLogGroupArnException) GoString ¶
func (s InvalidCloudWatchLogsLogGroupArnException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidCloudWatchLogsLogGroupArnException) Message ¶
func (s *InvalidCloudWatchLogsLogGroupArnException) Message() string
Message returns the exception's message.
func (*InvalidCloudWatchLogsLogGroupArnException) OrigErr ¶
func (s *InvalidCloudWatchLogsLogGroupArnException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidCloudWatchLogsLogGroupArnException) RequestID ¶
func (s *InvalidCloudWatchLogsLogGroupArnException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidCloudWatchLogsLogGroupArnException) StatusCode ¶
func (s *InvalidCloudWatchLogsLogGroupArnException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidCloudWatchLogsLogGroupArnException) String ¶
func (s InvalidCloudWatchLogsLogGroupArnException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidCloudWatchLogsRoleArnException ¶
type InvalidCloudWatchLogsRoleArnException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the provided role is not valid.
func (*InvalidCloudWatchLogsRoleArnException) Code ¶
func (s *InvalidCloudWatchLogsRoleArnException) Code() string
Code returns the exception type name.
func (*InvalidCloudWatchLogsRoleArnException) Error ¶
func (s *InvalidCloudWatchLogsRoleArnException) Error() string
func (InvalidCloudWatchLogsRoleArnException) GoString ¶
func (s InvalidCloudWatchLogsRoleArnException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidCloudWatchLogsRoleArnException) Message ¶
func (s *InvalidCloudWatchLogsRoleArnException) Message() string
Message returns the exception's message.
func (*InvalidCloudWatchLogsRoleArnException) OrigErr ¶
func (s *InvalidCloudWatchLogsRoleArnException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidCloudWatchLogsRoleArnException) RequestID ¶
func (s *InvalidCloudWatchLogsRoleArnException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidCloudWatchLogsRoleArnException) StatusCode ¶
func (s *InvalidCloudWatchLogsRoleArnException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidCloudWatchLogsRoleArnException) String ¶
func (s InvalidCloudWatchLogsRoleArnException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidDateRangeException ¶ added in v1.42.9
type InvalidDateRangeException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
A date range for the query was specified that is not valid. Be sure that the start time is chronologically before the end time. For more information about writing a query, see Create or edit a query (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html) in the CloudTrail User Guide.
func (*InvalidDateRangeException) Code ¶ added in v1.42.9
func (s *InvalidDateRangeException) Code() string
Code returns the exception type name.
func (*InvalidDateRangeException) Error ¶ added in v1.42.9
func (s *InvalidDateRangeException) Error() string
func (InvalidDateRangeException) GoString ¶ added in v1.42.9
func (s InvalidDateRangeException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidDateRangeException) Message ¶ added in v1.42.9
func (s *InvalidDateRangeException) Message() string
Message returns the exception's message.
func (*InvalidDateRangeException) OrigErr ¶ added in v1.42.9
func (s *InvalidDateRangeException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidDateRangeException) RequestID ¶ added in v1.42.9
func (s *InvalidDateRangeException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidDateRangeException) StatusCode ¶ added in v1.42.9
func (s *InvalidDateRangeException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidDateRangeException) String ¶ added in v1.42.9
func (s InvalidDateRangeException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidEventCategoryException ¶
type InvalidEventCategoryException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Occurs if an event category that is not valid is specified as a value of EventCategory.
func (*InvalidEventCategoryException) Code ¶
func (s *InvalidEventCategoryException) Code() string
Code returns the exception type name.
func (*InvalidEventCategoryException) Error ¶
func (s *InvalidEventCategoryException) Error() string
func (InvalidEventCategoryException) GoString ¶
func (s InvalidEventCategoryException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidEventCategoryException) Message ¶
func (s *InvalidEventCategoryException) Message() string
Message returns the exception's message.
func (*InvalidEventCategoryException) OrigErr ¶
func (s *InvalidEventCategoryException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidEventCategoryException) RequestID ¶
func (s *InvalidEventCategoryException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidEventCategoryException) StatusCode ¶
func (s *InvalidEventCategoryException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidEventCategoryException) String ¶
func (s InvalidEventCategoryException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidEventDataStoreCategoryException ¶ added in v1.42.9
type InvalidEventDataStoreCategoryException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when event categories of specified event data stores are not valid.
func (*InvalidEventDataStoreCategoryException) Code ¶ added in v1.42.9
func (s *InvalidEventDataStoreCategoryException) Code() string
Code returns the exception type name.
func (*InvalidEventDataStoreCategoryException) Error ¶ added in v1.42.9
func (s *InvalidEventDataStoreCategoryException) Error() string
func (InvalidEventDataStoreCategoryException) GoString ¶ added in v1.42.9
func (s InvalidEventDataStoreCategoryException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidEventDataStoreCategoryException) Message ¶ added in v1.42.9
func (s *InvalidEventDataStoreCategoryException) Message() string
Message returns the exception's message.
func (*InvalidEventDataStoreCategoryException) OrigErr ¶ added in v1.42.9
func (s *InvalidEventDataStoreCategoryException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidEventDataStoreCategoryException) RequestID ¶ added in v1.42.9
func (s *InvalidEventDataStoreCategoryException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidEventDataStoreCategoryException) StatusCode ¶ added in v1.42.9
func (s *InvalidEventDataStoreCategoryException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidEventDataStoreCategoryException) String ¶ added in v1.42.9
func (s InvalidEventDataStoreCategoryException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidEventDataStoreStatusException ¶ added in v1.42.9
type InvalidEventDataStoreStatusException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The event data store is not in a status that supports the operation.
func (*InvalidEventDataStoreStatusException) Code ¶ added in v1.42.9
func (s *InvalidEventDataStoreStatusException) Code() string
Code returns the exception type name.
func (*InvalidEventDataStoreStatusException) Error ¶ added in v1.42.9
func (s *InvalidEventDataStoreStatusException) Error() string
func (InvalidEventDataStoreStatusException) GoString ¶ added in v1.42.9
func (s InvalidEventDataStoreStatusException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidEventDataStoreStatusException) Message ¶ added in v1.42.9
func (s *InvalidEventDataStoreStatusException) Message() string
Message returns the exception's message.
func (*InvalidEventDataStoreStatusException) OrigErr ¶ added in v1.42.9
func (s *InvalidEventDataStoreStatusException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidEventDataStoreStatusException) RequestID ¶ added in v1.42.9
func (s *InvalidEventDataStoreStatusException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidEventDataStoreStatusException) StatusCode ¶ added in v1.42.9
func (s *InvalidEventDataStoreStatusException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidEventDataStoreStatusException) String ¶ added in v1.42.9
func (s InvalidEventDataStoreStatusException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidEventSelectorsException ¶
type InvalidEventSelectorsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the PutEventSelectors operation is called with a number of event selectors, advanced event selectors, or data resources that is not valid. The combination of event selectors or advanced event selectors and data resources is not valid. A trail can have up to 5 event selectors. If a trail uses advanced event selectors, a maximum of 500 total values for all conditions in all advanced event selectors is allowed. A trail is limited to 250 data resources. These data resources can be distributed across event selectors, but the overall total cannot exceed 250.
You can:
Specify a valid number of event selectors (1 to 5) for a trail.
Specify a valid number of data resources (1 to 250) for an event selector. The limit of number of resources on an individual event selector is configurable up to 250. However, this upper limit is allowed only if the total number of data resources does not exceed 250 across all event selectors for a trail.
Specify up to 500 values for all conditions in all advanced event selectors for a trail.
Specify a valid value for a parameter. For example, specifying the ReadWriteType parameter with a value of read-only is not valid.
func (*InvalidEventSelectorsException) Code ¶
func (s *InvalidEventSelectorsException) Code() string
Code returns the exception type name.
func (*InvalidEventSelectorsException) Error ¶
func (s *InvalidEventSelectorsException) Error() string
func (InvalidEventSelectorsException) GoString ¶
func (s InvalidEventSelectorsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidEventSelectorsException) Message ¶
func (s *InvalidEventSelectorsException) Message() string
Message returns the exception's message.
func (*InvalidEventSelectorsException) OrigErr ¶
func (s *InvalidEventSelectorsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidEventSelectorsException) RequestID ¶
func (s *InvalidEventSelectorsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidEventSelectorsException) StatusCode ¶
func (s *InvalidEventSelectorsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidEventSelectorsException) String ¶
func (s InvalidEventSelectorsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidHomeRegionException ¶
type InvalidHomeRegionException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when an operation is called on a trail from a Region other than the Region in which the trail was created.
func (*InvalidHomeRegionException) Code ¶
func (s *InvalidHomeRegionException) Code() string
Code returns the exception type name.
func (*InvalidHomeRegionException) Error ¶
func (s *InvalidHomeRegionException) Error() string
func (InvalidHomeRegionException) GoString ¶
func (s InvalidHomeRegionException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidHomeRegionException) Message ¶
func (s *InvalidHomeRegionException) Message() string
Message returns the exception's message.
func (*InvalidHomeRegionException) OrigErr ¶
func (s *InvalidHomeRegionException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidHomeRegionException) RequestID ¶
func (s *InvalidHomeRegionException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidHomeRegionException) StatusCode ¶
func (s *InvalidHomeRegionException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidHomeRegionException) String ¶
func (s InvalidHomeRegionException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidImportSourceException ¶ added in v1.42.9
type InvalidImportSourceException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the provided source S3 bucket is not valid for import.
func (*InvalidImportSourceException) Code ¶ added in v1.42.9
func (s *InvalidImportSourceException) Code() string
Code returns the exception type name.
func (*InvalidImportSourceException) Error ¶ added in v1.42.9
func (s *InvalidImportSourceException) Error() string
func (InvalidImportSourceException) GoString ¶ added in v1.42.9
func (s InvalidImportSourceException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidImportSourceException) Message ¶ added in v1.42.9
func (s *InvalidImportSourceException) Message() string
Message returns the exception's message.
func (*InvalidImportSourceException) OrigErr ¶ added in v1.42.9
func (s *InvalidImportSourceException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidImportSourceException) RequestID ¶ added in v1.42.9
func (s *InvalidImportSourceException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidImportSourceException) StatusCode ¶ added in v1.42.9
func (s *InvalidImportSourceException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidImportSourceException) String ¶ added in v1.42.9
func (s InvalidImportSourceException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidInsightSelectorsException ¶
type InvalidInsightSelectorsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The formatting or syntax of the InsightSelectors JSON statement in your PutInsightSelectors or GetInsightSelectors request is not valid, or the specified insight type in the InsightSelectors statement is not a valid insight type.
func (*InvalidInsightSelectorsException) Code ¶
func (s *InvalidInsightSelectorsException) Code() string
Code returns the exception type name.
func (*InvalidInsightSelectorsException) Error ¶
func (s *InvalidInsightSelectorsException) Error() string
func (InvalidInsightSelectorsException) GoString ¶
func (s InvalidInsightSelectorsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidInsightSelectorsException) Message ¶
func (s *InvalidInsightSelectorsException) Message() string
Message returns the exception's message.
func (*InvalidInsightSelectorsException) OrigErr ¶
func (s *InvalidInsightSelectorsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidInsightSelectorsException) RequestID ¶
func (s *InvalidInsightSelectorsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidInsightSelectorsException) StatusCode ¶
func (s *InvalidInsightSelectorsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidInsightSelectorsException) String ¶
func (s InvalidInsightSelectorsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidKmsKeyIdException ¶
type InvalidKmsKeyIdException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the KMS key ARN is not valid.
func (*InvalidKmsKeyIdException) Code ¶
func (s *InvalidKmsKeyIdException) Code() string
Code returns the exception type name.
func (*InvalidKmsKeyIdException) Error ¶
func (s *InvalidKmsKeyIdException) Error() string
func (InvalidKmsKeyIdException) GoString ¶
func (s InvalidKmsKeyIdException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidKmsKeyIdException) Message ¶
func (s *InvalidKmsKeyIdException) Message() string
Message returns the exception's message.
func (*InvalidKmsKeyIdException) OrigErr ¶
func (s *InvalidKmsKeyIdException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidKmsKeyIdException) RequestID ¶
func (s *InvalidKmsKeyIdException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidKmsKeyIdException) StatusCode ¶
func (s *InvalidKmsKeyIdException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidKmsKeyIdException) String ¶
func (s InvalidKmsKeyIdException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidLookupAttributesException ¶
type InvalidLookupAttributesException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Occurs when a lookup attribute is specified that is not valid.
func (*InvalidLookupAttributesException) Code ¶
func (s *InvalidLookupAttributesException) Code() string
Code returns the exception type name.
func (*InvalidLookupAttributesException) Error ¶
func (s *InvalidLookupAttributesException) Error() string
func (InvalidLookupAttributesException) GoString ¶
func (s InvalidLookupAttributesException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidLookupAttributesException) Message ¶
func (s *InvalidLookupAttributesException) Message() string
Message returns the exception's message.
func (*InvalidLookupAttributesException) OrigErr ¶
func (s *InvalidLookupAttributesException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidLookupAttributesException) RequestID ¶
func (s *InvalidLookupAttributesException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidLookupAttributesException) StatusCode ¶
func (s *InvalidLookupAttributesException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidLookupAttributesException) String ¶
func (s InvalidLookupAttributesException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidMaxResultsException ¶
type InvalidMaxResultsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown if the limit specified is not valid.
func (*InvalidMaxResultsException) Code ¶
func (s *InvalidMaxResultsException) Code() string
Code returns the exception type name.
func (*InvalidMaxResultsException) Error ¶
func (s *InvalidMaxResultsException) Error() string
func (InvalidMaxResultsException) GoString ¶
func (s InvalidMaxResultsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidMaxResultsException) Message ¶
func (s *InvalidMaxResultsException) Message() string
Message returns the exception's message.
func (*InvalidMaxResultsException) OrigErr ¶
func (s *InvalidMaxResultsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidMaxResultsException) RequestID ¶
func (s *InvalidMaxResultsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidMaxResultsException) StatusCode ¶
func (s *InvalidMaxResultsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidMaxResultsException) String ¶
func (s InvalidMaxResultsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidNextTokenException ¶
type InvalidNextTokenException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
A token that is not valid, or a token that was previously used in a request with different parameters. This exception is thrown if the token is not valid.
func (*InvalidNextTokenException) Code ¶
func (s *InvalidNextTokenException) Code() string
Code returns the exception type name.
func (*InvalidNextTokenException) Error ¶
func (s *InvalidNextTokenException) Error() string
func (InvalidNextTokenException) GoString ¶
func (s InvalidNextTokenException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidNextTokenException) Message ¶
func (s *InvalidNextTokenException) Message() string
Message returns the exception's message.
func (*InvalidNextTokenException) OrigErr ¶
func (s *InvalidNextTokenException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidNextTokenException) RequestID ¶
func (s *InvalidNextTokenException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidNextTokenException) StatusCode ¶
func (s *InvalidNextTokenException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidNextTokenException) String ¶
func (s InvalidNextTokenException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidParameterCombinationException ¶
type InvalidParameterCombinationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the combination of parameters provided is not valid.
func (*InvalidParameterCombinationException) Code ¶
func (s *InvalidParameterCombinationException) Code() string
Code returns the exception type name.
func (*InvalidParameterCombinationException) Error ¶
func (s *InvalidParameterCombinationException) Error() string
func (InvalidParameterCombinationException) GoString ¶
func (s InvalidParameterCombinationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidParameterCombinationException) Message ¶
func (s *InvalidParameterCombinationException) Message() string
Message returns the exception's message.
func (*InvalidParameterCombinationException) OrigErr ¶
func (s *InvalidParameterCombinationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidParameterCombinationException) RequestID ¶
func (s *InvalidParameterCombinationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidParameterCombinationException) StatusCode ¶
func (s *InvalidParameterCombinationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidParameterCombinationException) String ¶
func (s InvalidParameterCombinationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidParameterException ¶ added in v1.42.9
type InvalidParameterException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The request includes a parameter that is not valid.
func (*InvalidParameterException) Code ¶ added in v1.42.9
func (s *InvalidParameterException) Code() string
Code returns the exception type name.
func (*InvalidParameterException) Error ¶ added in v1.42.9
func (s *InvalidParameterException) Error() string
func (InvalidParameterException) GoString ¶ added in v1.42.9
func (s InvalidParameterException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidParameterException) Message ¶ added in v1.42.9
func (s *InvalidParameterException) Message() string
Message returns the exception's message.
func (*InvalidParameterException) OrigErr ¶ added in v1.42.9
func (s *InvalidParameterException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidParameterException) RequestID ¶ added in v1.42.9
func (s *InvalidParameterException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidParameterException) StatusCode ¶ added in v1.42.9
func (s *InvalidParameterException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidParameterException) String ¶ added in v1.42.9
func (s InvalidParameterException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidQueryStatementException ¶ added in v1.42.9
type InvalidQueryStatementException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The query that was submitted has validation errors, or uses incorrect syntax or unsupported keywords. For more information about writing a query, see Create or edit a query (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html) in the CloudTrail User Guide.
func (*InvalidQueryStatementException) Code ¶ added in v1.42.9
func (s *InvalidQueryStatementException) Code() string
Code returns the exception type name.
func (*InvalidQueryStatementException) Error ¶ added in v1.42.9
func (s *InvalidQueryStatementException) Error() string
func (InvalidQueryStatementException) GoString ¶ added in v1.42.9
func (s InvalidQueryStatementException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidQueryStatementException) Message ¶ added in v1.42.9
func (s *InvalidQueryStatementException) Message() string
Message returns the exception's message.
func (*InvalidQueryStatementException) OrigErr ¶ added in v1.42.9
func (s *InvalidQueryStatementException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidQueryStatementException) RequestID ¶ added in v1.42.9
func (s *InvalidQueryStatementException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidQueryStatementException) StatusCode ¶ added in v1.42.9
func (s *InvalidQueryStatementException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidQueryStatementException) String ¶ added in v1.42.9
func (s InvalidQueryStatementException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidQueryStatusException ¶ added in v1.42.9
type InvalidQueryStatusException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The query status is not valid for the operation.
func (*InvalidQueryStatusException) Code ¶ added in v1.42.9
func (s *InvalidQueryStatusException) Code() string
Code returns the exception type name.
func (*InvalidQueryStatusException) Error ¶ added in v1.42.9
func (s *InvalidQueryStatusException) Error() string
func (InvalidQueryStatusException) GoString ¶ added in v1.42.9
func (s InvalidQueryStatusException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidQueryStatusException) Message ¶ added in v1.42.9
func (s *InvalidQueryStatusException) Message() string
Message returns the exception's message.
func (*InvalidQueryStatusException) OrigErr ¶ added in v1.42.9
func (s *InvalidQueryStatusException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidQueryStatusException) RequestID ¶ added in v1.42.9
func (s *InvalidQueryStatusException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidQueryStatusException) StatusCode ¶ added in v1.42.9
func (s *InvalidQueryStatusException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidQueryStatusException) String ¶ added in v1.42.9
func (s InvalidQueryStatusException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidS3BucketNameException ¶
type InvalidS3BucketNameException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the provided S3 bucket name is not valid.
func (*InvalidS3BucketNameException) Code ¶
func (s *InvalidS3BucketNameException) Code() string
Code returns the exception type name.
func (*InvalidS3BucketNameException) Error ¶
func (s *InvalidS3BucketNameException) Error() string
func (InvalidS3BucketNameException) GoString ¶
func (s InvalidS3BucketNameException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidS3BucketNameException) Message ¶
func (s *InvalidS3BucketNameException) Message() string
Message returns the exception's message.
func (*InvalidS3BucketNameException) OrigErr ¶
func (s *InvalidS3BucketNameException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidS3BucketNameException) RequestID ¶
func (s *InvalidS3BucketNameException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidS3BucketNameException) StatusCode ¶
func (s *InvalidS3BucketNameException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidS3BucketNameException) String ¶
func (s InvalidS3BucketNameException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidS3PrefixException ¶
type InvalidS3PrefixException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the provided S3 prefix is not valid.
func (*InvalidS3PrefixException) Code ¶
func (s *InvalidS3PrefixException) Code() string
Code returns the exception type name.
func (*InvalidS3PrefixException) Error ¶
func (s *InvalidS3PrefixException) Error() string
func (InvalidS3PrefixException) GoString ¶
func (s InvalidS3PrefixException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidS3PrefixException) Message ¶
func (s *InvalidS3PrefixException) Message() string
Message returns the exception's message.
func (*InvalidS3PrefixException) OrigErr ¶
func (s *InvalidS3PrefixException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidS3PrefixException) RequestID ¶
func (s *InvalidS3PrefixException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidS3PrefixException) StatusCode ¶
func (s *InvalidS3PrefixException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidS3PrefixException) String ¶
func (s InvalidS3PrefixException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidSnsTopicNameException ¶
type InvalidSnsTopicNameException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the provided SNS topic name is not valid.
func (*InvalidSnsTopicNameException) Code ¶
func (s *InvalidSnsTopicNameException) Code() string
Code returns the exception type name.
func (*InvalidSnsTopicNameException) Error ¶
func (s *InvalidSnsTopicNameException) Error() string
func (InvalidSnsTopicNameException) GoString ¶
func (s InvalidSnsTopicNameException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidSnsTopicNameException) Message ¶
func (s *InvalidSnsTopicNameException) Message() string
Message returns the exception's message.
func (*InvalidSnsTopicNameException) OrigErr ¶
func (s *InvalidSnsTopicNameException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidSnsTopicNameException) RequestID ¶
func (s *InvalidSnsTopicNameException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidSnsTopicNameException) StatusCode ¶
func (s *InvalidSnsTopicNameException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidSnsTopicNameException) String ¶
func (s InvalidSnsTopicNameException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidSourceException ¶ added in v1.42.9
type InvalidSourceException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the specified value of Source is not valid.
func (*InvalidSourceException) Code ¶ added in v1.42.9
func (s *InvalidSourceException) Code() string
Code returns the exception type name.
func (*InvalidSourceException) Error ¶ added in v1.42.9
func (s *InvalidSourceException) Error() string
func (InvalidSourceException) GoString ¶ added in v1.42.9
func (s InvalidSourceException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidSourceException) Message ¶ added in v1.42.9
func (s *InvalidSourceException) Message() string
Message returns the exception's message.
func (*InvalidSourceException) OrigErr ¶ added in v1.42.9
func (s *InvalidSourceException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidSourceException) RequestID ¶ added in v1.42.9
func (s *InvalidSourceException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidSourceException) StatusCode ¶ added in v1.42.9
func (s *InvalidSourceException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidSourceException) String ¶ added in v1.42.9
func (s InvalidSourceException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidTagParameterException ¶
type InvalidTagParameterException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the specified tag key or values are not valid. It can also occur if there are duplicate tags or too many tags on the resource.
func (*InvalidTagParameterException) Code ¶
func (s *InvalidTagParameterException) Code() string
Code returns the exception type name.
func (*InvalidTagParameterException) Error ¶
func (s *InvalidTagParameterException) Error() string
func (InvalidTagParameterException) GoString ¶
func (s InvalidTagParameterException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidTagParameterException) Message ¶
func (s *InvalidTagParameterException) Message() string
Message returns the exception's message.
func (*InvalidTagParameterException) OrigErr ¶
func (s *InvalidTagParameterException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidTagParameterException) RequestID ¶
func (s *InvalidTagParameterException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidTagParameterException) StatusCode ¶
func (s *InvalidTagParameterException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidTagParameterException) String ¶
func (s InvalidTagParameterException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidTimeRangeException ¶
type InvalidTimeRangeException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Occurs if the timestamp values are not valid. Either the start time occurs after the end time, or the time range is outside the range of possible values.
func (*InvalidTimeRangeException) Code ¶
func (s *InvalidTimeRangeException) Code() string
Code returns the exception type name.
func (*InvalidTimeRangeException) Error ¶
func (s *InvalidTimeRangeException) Error() string
func (InvalidTimeRangeException) GoString ¶
func (s InvalidTimeRangeException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidTimeRangeException) Message ¶
func (s *InvalidTimeRangeException) Message() string
Message returns the exception's message.
func (*InvalidTimeRangeException) OrigErr ¶
func (s *InvalidTimeRangeException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidTimeRangeException) RequestID ¶
func (s *InvalidTimeRangeException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidTimeRangeException) StatusCode ¶
func (s *InvalidTimeRangeException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidTimeRangeException) String ¶
func (s InvalidTimeRangeException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidTokenException ¶
type InvalidTokenException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Reserved for future use.
func (*InvalidTokenException) Code ¶
func (s *InvalidTokenException) Code() string
Code returns the exception type name.
func (*InvalidTokenException) Error ¶
func (s *InvalidTokenException) Error() string
func (InvalidTokenException) GoString ¶
func (s InvalidTokenException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidTokenException) Message ¶
func (s *InvalidTokenException) Message() string
Message returns the exception's message.
func (*InvalidTokenException) OrigErr ¶
func (s *InvalidTokenException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidTokenException) RequestID ¶
func (s *InvalidTokenException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidTokenException) StatusCode ¶
func (s *InvalidTokenException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidTokenException) String ¶
func (s InvalidTokenException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidTrailNameException ¶
type InvalidTrailNameException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
Start with a letter or number, and end with a letter or number
Be between 3 and 128 characters
Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
Not be in IP address format (for example, 192.168.5.4)
func (*InvalidTrailNameException) Code ¶
func (s *InvalidTrailNameException) Code() string
Code returns the exception type name.
func (*InvalidTrailNameException) Error ¶
func (s *InvalidTrailNameException) Error() string
func (InvalidTrailNameException) GoString ¶
func (s InvalidTrailNameException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidTrailNameException) Message ¶
func (s *InvalidTrailNameException) Message() string
Message returns the exception's message.
func (*InvalidTrailNameException) OrigErr ¶
func (s *InvalidTrailNameException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidTrailNameException) RequestID ¶
func (s *InvalidTrailNameException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidTrailNameException) StatusCode ¶
func (s *InvalidTrailNameException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidTrailNameException) String ¶
func (s InvalidTrailNameException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type KmsException ¶
type KmsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when there is an issue with the specified KMS key and the trail or event data store can't be updated.
func (*KmsException) Code ¶
func (s *KmsException) Code() string
Code returns the exception type name.
func (*KmsException) Error ¶
func (s *KmsException) Error() string
func (KmsException) GoString ¶
func (s KmsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*KmsException) Message ¶
func (s *KmsException) Message() string
Message returns the exception's message.
func (*KmsException) OrigErr ¶
func (s *KmsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*KmsException) RequestID ¶
func (s *KmsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*KmsException) StatusCode ¶
func (s *KmsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (KmsException) String ¶
func (s KmsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type KmsKeyDisabledException
deprecated
type KmsKeyDisabledException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is no longer in use.
Deprecated: KmsKeyDisabledException has been deprecated
func (*KmsKeyDisabledException) Code ¶
func (s *KmsKeyDisabledException) Code() string
Code returns the exception type name.
func (*KmsKeyDisabledException) Error ¶
func (s *KmsKeyDisabledException) Error() string
func (KmsKeyDisabledException) GoString ¶
func (s KmsKeyDisabledException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*KmsKeyDisabledException) Message ¶
func (s *KmsKeyDisabledException) Message() string
Message returns the exception's message.
func (*KmsKeyDisabledException) OrigErr ¶
func (s *KmsKeyDisabledException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*KmsKeyDisabledException) RequestID ¶
func (s *KmsKeyDisabledException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*KmsKeyDisabledException) StatusCode ¶
func (s *KmsKeyDisabledException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (KmsKeyDisabledException) String ¶
func (s KmsKeyDisabledException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type KmsKeyNotFoundException ¶
type KmsKeyNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the KMS key does not exist, when the S3 bucket and the KMS key are not in the same Region, or when the KMS key associated with the Amazon SNS topic either does not exist or is not in the same Region.
func (*KmsKeyNotFoundException) Code ¶
func (s *KmsKeyNotFoundException) Code() string
Code returns the exception type name.
func (*KmsKeyNotFoundException) Error ¶
func (s *KmsKeyNotFoundException) Error() string
func (KmsKeyNotFoundException) GoString ¶
func (s KmsKeyNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*KmsKeyNotFoundException) Message ¶
func (s *KmsKeyNotFoundException) Message() string
Message returns the exception's message.
func (*KmsKeyNotFoundException) OrigErr ¶
func (s *KmsKeyNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*KmsKeyNotFoundException) RequestID ¶
func (s *KmsKeyNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*KmsKeyNotFoundException) StatusCode ¶
func (s *KmsKeyNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (KmsKeyNotFoundException) String ¶
func (s KmsKeyNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListChannelsInput ¶ added in v1.42.9
type ListChannelsInput struct { // The maximum number of CloudTrail channels to display on a single page. MaxResults *int64 `min:"1" type:"integer"` // The token to use to get the next page of results after a previous API call. // This token must be passed in with the same parameters that were specified // in the original call. For example, if the original call specified an AttributeKey // of 'Username' with a value of 'root', the call with NextToken should include // those same parameters. NextToken *string `min:"4" type:"string"` // contains filtered or unexported fields }
func (ListChannelsInput) GoString ¶ added in v1.42.9
func (s ListChannelsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListChannelsInput) SetMaxResults ¶ added in v1.42.9
func (s *ListChannelsInput) SetMaxResults(v int64) *ListChannelsInput
SetMaxResults sets the MaxResults field's value.
func (*ListChannelsInput) SetNextToken ¶ added in v1.42.9
func (s *ListChannelsInput) SetNextToken(v string) *ListChannelsInput
SetNextToken sets the NextToken field's value.
func (ListChannelsInput) String ¶ added in v1.42.9
func (s ListChannelsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListChannelsInput) Validate ¶ added in v1.42.9
func (s *ListChannelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListChannelsOutput ¶ added in v1.42.9
type ListChannelsOutput struct { // The list of channels in the account. Channels []*Channel `type:"list"` // The token to use to get the next page of results after a previous API call. NextToken *string `min:"4" type:"string"` // contains filtered or unexported fields }
func (ListChannelsOutput) GoString ¶ added in v1.42.9
func (s ListChannelsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListChannelsOutput) SetChannels ¶ added in v1.42.9
func (s *ListChannelsOutput) SetChannels(v []*Channel) *ListChannelsOutput
SetChannels sets the Channels field's value.
func (*ListChannelsOutput) SetNextToken ¶ added in v1.42.9
func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput
SetNextToken sets the NextToken field's value.
func (ListChannelsOutput) String ¶ added in v1.42.9
func (s ListChannelsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListEventDataStoresInput ¶ added in v1.42.9
type ListEventDataStoresInput struct { // The maximum number of event data stores to display on a single page. MaxResults *int64 `min:"1" type:"integer"` // A token you can use to get the next page of event data store results. NextToken *string `min:"4" type:"string"` // contains filtered or unexported fields }
func (ListEventDataStoresInput) GoString ¶ added in v1.42.9
func (s ListEventDataStoresInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListEventDataStoresInput) SetMaxResults ¶ added in v1.42.9
func (s *ListEventDataStoresInput) SetMaxResults(v int64) *ListEventDataStoresInput
SetMaxResults sets the MaxResults field's value.
func (*ListEventDataStoresInput) SetNextToken ¶ added in v1.42.9
func (s *ListEventDataStoresInput) SetNextToken(v string) *ListEventDataStoresInput
SetNextToken sets the NextToken field's value.
func (ListEventDataStoresInput) String ¶ added in v1.42.9
func (s ListEventDataStoresInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListEventDataStoresInput) Validate ¶ added in v1.42.9
func (s *ListEventDataStoresInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListEventDataStoresOutput ¶ added in v1.42.9
type ListEventDataStoresOutput struct { // Contains information about event data stores in the account, in the current // Region. EventDataStores []*EventDataStore `type:"list"` // A token you can use to get the next page of results. NextToken *string `min:"4" type:"string"` // contains filtered or unexported fields }
func (ListEventDataStoresOutput) GoString ¶ added in v1.42.9
func (s ListEventDataStoresOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListEventDataStoresOutput) SetEventDataStores ¶ added in v1.42.9
func (s *ListEventDataStoresOutput) SetEventDataStores(v []*EventDataStore) *ListEventDataStoresOutput
SetEventDataStores sets the EventDataStores field's value.
func (*ListEventDataStoresOutput) SetNextToken ¶ added in v1.42.9
func (s *ListEventDataStoresOutput) SetNextToken(v string) *ListEventDataStoresOutput
SetNextToken sets the NextToken field's value.
func (ListEventDataStoresOutput) String ¶ added in v1.42.9
func (s ListEventDataStoresOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListImportFailuresInput ¶ added in v1.42.9
type ListImportFailuresInput struct { // The ID of the import. // // ImportId is a required field ImportId *string `min:"36" type:"string" required:"true"` // The maximum number of failures to display on a single page. MaxResults *int64 `min:"1" type:"integer"` // A token you can use to get the next page of import failures. NextToken *string `min:"4" type:"string"` // contains filtered or unexported fields }
func (ListImportFailuresInput) GoString ¶ added in v1.42.9
func (s ListImportFailuresInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListImportFailuresInput) SetImportId ¶ added in v1.42.9
func (s *ListImportFailuresInput) SetImportId(v string) *ListImportFailuresInput
SetImportId sets the ImportId field's value.
func (*ListImportFailuresInput) SetMaxResults ¶ added in v1.42.9
func (s *ListImportFailuresInput) SetMaxResults(v int64) *ListImportFailuresInput
SetMaxResults sets the MaxResults field's value.
func (*ListImportFailuresInput) SetNextToken ¶ added in v1.42.9
func (s *ListImportFailuresInput) SetNextToken(v string) *ListImportFailuresInput
SetNextToken sets the NextToken field's value.
func (ListImportFailuresInput) String ¶ added in v1.42.9
func (s ListImportFailuresInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListImportFailuresInput) Validate ¶ added in v1.42.9
func (s *ListImportFailuresInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListImportFailuresOutput ¶ added in v1.42.9
type ListImportFailuresOutput struct { // Contains information about the import failures. Failures []*ImportFailureListItem `type:"list"` // A token you can use to get the next page of results. NextToken *string `min:"4" type:"string"` // contains filtered or unexported fields }
func (ListImportFailuresOutput) GoString ¶ added in v1.42.9
func (s ListImportFailuresOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListImportFailuresOutput) SetFailures ¶ added in v1.42.9
func (s *ListImportFailuresOutput) SetFailures(v []*ImportFailureListItem) *ListImportFailuresOutput
SetFailures sets the Failures field's value.
func (*ListImportFailuresOutput) SetNextToken ¶ added in v1.42.9
func (s *ListImportFailuresOutput) SetNextToken(v string) *ListImportFailuresOutput
SetNextToken sets the NextToken field's value.
func (ListImportFailuresOutput) String ¶ added in v1.42.9
func (s ListImportFailuresOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListImportsInput ¶ added in v1.42.9
type ListImportsInput struct { // The ARN of the destination event data store. Destination *string `min:"3" type:"string"` // The status of the import. ImportStatus *string `type:"string" enum:"ImportStatus"` // The maximum number of imports to display on a single page. MaxResults *int64 `min:"1" type:"integer"` // A token you can use to get the next page of import results. NextToken *string `min:"4" type:"string"` // contains filtered or unexported fields }
func (ListImportsInput) GoString ¶ added in v1.42.9
func (s ListImportsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListImportsInput) SetDestination ¶ added in v1.42.9
func (s *ListImportsInput) SetDestination(v string) *ListImportsInput
SetDestination sets the Destination field's value.
func (*ListImportsInput) SetImportStatus ¶ added in v1.42.9
func (s *ListImportsInput) SetImportStatus(v string) *ListImportsInput
SetImportStatus sets the ImportStatus field's value.
func (*ListImportsInput) SetMaxResults ¶ added in v1.42.9
func (s *ListImportsInput) SetMaxResults(v int64) *ListImportsInput
SetMaxResults sets the MaxResults field's value.
func (*ListImportsInput) SetNextToken ¶ added in v1.42.9
func (s *ListImportsInput) SetNextToken(v string) *ListImportsInput
SetNextToken sets the NextToken field's value.
func (ListImportsInput) String ¶ added in v1.42.9
func (s ListImportsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListImportsInput) Validate ¶ added in v1.42.9
func (s *ListImportsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListImportsOutput ¶ added in v1.42.9
type ListImportsOutput struct { // The list of returned imports. Imports []*ImportsListItem `type:"list"` // A token you can use to get the next page of import results. NextToken *string `min:"4" type:"string"` // contains filtered or unexported fields }
func (ListImportsOutput) GoString ¶ added in v1.42.9
func (s ListImportsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListImportsOutput) SetImports ¶ added in v1.42.9
func (s *ListImportsOutput) SetImports(v []*ImportsListItem) *ListImportsOutput
SetImports sets the Imports field's value.
func (*ListImportsOutput) SetNextToken ¶ added in v1.42.9
func (s *ListImportsOutput) SetNextToken(v string) *ListImportsOutput
SetNextToken sets the NextToken field's value.
func (ListImportsOutput) String ¶ added in v1.42.9
func (s ListImportsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListPublicKeysInput ¶
type ListPublicKeysInput struct { // Optionally specifies, in UTC, the end of the time range to look up public // keys for CloudTrail digest files. If not specified, the current time is used. EndTime *time.Time `type:"timestamp"` // Reserved for future use. NextToken *string `type:"string"` // Optionally specifies, in UTC, the start of the time range to look up public // keys for CloudTrail digest files. If not specified, the current time is used, // and the current public key is returned. StartTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
Requests the public keys for a specified time range.
func (ListPublicKeysInput) GoString ¶
func (s ListPublicKeysInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPublicKeysInput) SetEndTime ¶
func (s *ListPublicKeysInput) SetEndTime(v time.Time) *ListPublicKeysInput
SetEndTime sets the EndTime field's value.
func (*ListPublicKeysInput) SetNextToken ¶
func (s *ListPublicKeysInput) SetNextToken(v string) *ListPublicKeysInput
SetNextToken sets the NextToken field's value.
func (*ListPublicKeysInput) SetStartTime ¶
func (s *ListPublicKeysInput) SetStartTime(v time.Time) *ListPublicKeysInput
SetStartTime sets the StartTime field's value.
func (ListPublicKeysInput) String ¶
func (s ListPublicKeysInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListPublicKeysOutput ¶
type ListPublicKeysOutput struct { // Reserved for future use. NextToken *string `type:"string"` // Contains an array of PublicKey objects. // // The returned public keys may have validity time ranges that overlap. PublicKeyList []*PublicKey `type:"list"` // contains filtered or unexported fields }
Returns the objects or data listed below if successful. Otherwise, returns an error.
func (ListPublicKeysOutput) GoString ¶
func (s ListPublicKeysOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPublicKeysOutput) SetNextToken ¶
func (s *ListPublicKeysOutput) SetNextToken(v string) *ListPublicKeysOutput
SetNextToken sets the NextToken field's value.
func (*ListPublicKeysOutput) SetPublicKeyList ¶
func (s *ListPublicKeysOutput) SetPublicKeyList(v []*PublicKey) *ListPublicKeysOutput
SetPublicKeyList sets the PublicKeyList field's value.
func (ListPublicKeysOutput) String ¶
func (s ListPublicKeysOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListQueriesInput ¶ added in v1.42.9
type ListQueriesInput struct { // Use with StartTime to bound a ListQueries request, and limit its results // to only those queries run within a specified time period. EndTime *time.Time `type:"timestamp"` // The ARN (or the ID suffix of the ARN) of an event data store on which queries // were run. // // EventDataStore is a required field EventDataStore *string `min:"3" type:"string" required:"true"` // The maximum number of queries to show on a page. MaxResults *int64 `min:"1" type:"integer"` // A token you can use to get the next page of results. NextToken *string `min:"4" type:"string"` // The status of queries that you want to return in results. Valid values for // QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED. QueryStatus *string `type:"string" enum:"QueryStatus"` // Use with EndTime to bound a ListQueries request, and limit its results to // only those queries run within a specified time period. StartTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (ListQueriesInput) GoString ¶ added in v1.42.9
func (s ListQueriesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListQueriesInput) SetEndTime ¶ added in v1.42.9
func (s *ListQueriesInput) SetEndTime(v time.Time) *ListQueriesInput
SetEndTime sets the EndTime field's value.
func (*ListQueriesInput) SetEventDataStore ¶ added in v1.42.9
func (s *ListQueriesInput) SetEventDataStore(v string) *ListQueriesInput
SetEventDataStore sets the EventDataStore field's value.
func (*ListQueriesInput) SetMaxResults ¶ added in v1.42.9
func (s *ListQueriesInput) SetMaxResults(v int64) *ListQueriesInput
SetMaxResults sets the MaxResults field's value.
func (*ListQueriesInput) SetNextToken ¶ added in v1.42.9
func (s *ListQueriesInput) SetNextToken(v string) *ListQueriesInput
SetNextToken sets the NextToken field's value.
func (*ListQueriesInput) SetQueryStatus ¶ added in v1.42.9
func (s *ListQueriesInput) SetQueryStatus(v string) *ListQueriesInput
SetQueryStatus sets the QueryStatus field's value.
func (*ListQueriesInput) SetStartTime ¶ added in v1.42.9
func (s *ListQueriesInput) SetStartTime(v time.Time) *ListQueriesInput
SetStartTime sets the StartTime field's value.
func (ListQueriesInput) String ¶ added in v1.42.9
func (s ListQueriesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListQueriesInput) Validate ¶ added in v1.42.9
func (s *ListQueriesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListQueriesOutput ¶ added in v1.42.9
type ListQueriesOutput struct { // A token you can use to get the next page of results. NextToken *string `min:"4" type:"string"` // Lists matching query results, and shows query ID, status, and creation time // of each query. Queries []*Query `type:"list"` // contains filtered or unexported fields }
func (ListQueriesOutput) GoString ¶ added in v1.42.9
func (s ListQueriesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListQueriesOutput) SetNextToken ¶ added in v1.42.9
func (s *ListQueriesOutput) SetNextToken(v string) *ListQueriesOutput
SetNextToken sets the NextToken field's value.
func (*ListQueriesOutput) SetQueries ¶ added in v1.42.9
func (s *ListQueriesOutput) SetQueries(v []*Query) *ListQueriesOutput
SetQueries sets the Queries field's value.
func (ListQueriesOutput) String ¶ added in v1.42.9
func (s ListQueriesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsInput ¶
type ListTagsInput struct { // Reserved for future use. NextToken *string `type:"string"` // Specifies a list of trail, event data store, or channel ARNs whose tags will // be listed. The list has a limit of 20 ARNs. // // Example trail ARN format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail // // Example event data store ARN format: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE // // Example channel ARN format: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890 // // ResourceIdList is a required field ResourceIdList []*string `type:"list" required:"true"` // contains filtered or unexported fields }
Specifies a list of tags to return.
func (ListTagsInput) GoString ¶
func (s ListTagsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsInput) SetNextToken ¶
func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput
SetNextToken sets the NextToken field's value.
func (*ListTagsInput) SetResourceIdList ¶
func (s *ListTagsInput) SetResourceIdList(v []*string) *ListTagsInput
SetResourceIdList sets the ResourceIdList field's value.
func (ListTagsInput) String ¶
func (s ListTagsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsInput) Validate ¶
func (s *ListTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsOutput ¶
type ListTagsOutput struct { // Reserved for future use. NextToken *string `type:"string"` // A list of resource tags. ResourceTagList []*ResourceTag `type:"list"` // contains filtered or unexported fields }
Returns the objects or data listed below if successful. Otherwise, returns an error.
func (ListTagsOutput) GoString ¶
func (s ListTagsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsOutput) SetNextToken ¶
func (s *ListTagsOutput) SetNextToken(v string) *ListTagsOutput
SetNextToken sets the NextToken field's value.
func (*ListTagsOutput) SetResourceTagList ¶
func (s *ListTagsOutput) SetResourceTagList(v []*ResourceTag) *ListTagsOutput
SetResourceTagList sets the ResourceTagList field's value.
func (ListTagsOutput) String ¶
func (s ListTagsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTrailsInput ¶
type ListTrailsInput struct { // The token to use to get the next page of results after a previous API call. // This token must be passed in with the same parameters that were specified // in the original call. For example, if the original call specified an AttributeKey // of 'Username' with a value of 'root', the call with NextToken should include // those same parameters. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListTrailsInput) GoString ¶
func (s ListTrailsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTrailsInput) SetNextToken ¶
func (s *ListTrailsInput) SetNextToken(v string) *ListTrailsInput
SetNextToken sets the NextToken field's value.
func (ListTrailsInput) String ¶
func (s ListTrailsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTrailsOutput ¶
type ListTrailsOutput struct { // The token to use to get the next page of results after a previous API call. // If the token does not appear, there are no more results to return. The token // must be passed in with the same parameters as the previous call. For example, // if the original call specified an AttributeKey of 'Username' with a value // of 'root', the call with NextToken should include those same parameters. NextToken *string `type:"string"` // Returns the name, ARN, and home Region of trails in the current account. Trails []*TrailInfo `type:"list"` // contains filtered or unexported fields }
func (ListTrailsOutput) GoString ¶
func (s ListTrailsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTrailsOutput) SetNextToken ¶
func (s *ListTrailsOutput) SetNextToken(v string) *ListTrailsOutput
SetNextToken sets the NextToken field's value.
func (*ListTrailsOutput) SetTrails ¶
func (s *ListTrailsOutput) SetTrails(v []*TrailInfo) *ListTrailsOutput
SetTrails sets the Trails field's value.
func (ListTrailsOutput) String ¶
func (s ListTrailsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LookupAttribute ¶
type LookupAttribute struct { // Specifies an attribute on which to filter the events returned. // // AttributeKey is a required field AttributeKey *string `type:"string" required:"true" enum:"LookupAttributeKey"` // Specifies a value for the specified AttributeKey. // // AttributeValue is a required field AttributeValue *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Specifies an attribute and value that filter the events returned.
func (LookupAttribute) GoString ¶
func (s LookupAttribute) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LookupAttribute) SetAttributeKey ¶
func (s *LookupAttribute) SetAttributeKey(v string) *LookupAttribute
SetAttributeKey sets the AttributeKey field's value.
func (*LookupAttribute) SetAttributeValue ¶
func (s *LookupAttribute) SetAttributeValue(v string) *LookupAttribute
SetAttributeValue sets the AttributeValue field's value.
func (LookupAttribute) String ¶
func (s LookupAttribute) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LookupAttribute) Validate ¶
func (s *LookupAttribute) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LookupEventsInput ¶
type LookupEventsInput struct { // Specifies that only events that occur before or at the specified time are // returned. If the specified end time is before the specified start time, an // error is returned. EndTime *time.Time `type:"timestamp"` // Specifies the event category. If you do not specify an event category, events // of the category are not returned in the response. For example, if you do // not specify insight as the value of EventCategory, no Insights events are // returned. EventCategory *string `type:"string" enum:"EventCategory"` // Contains a list of lookup attributes. Currently the list can contain only // one item. LookupAttributes []*LookupAttribute `type:"list"` // The number of events to return. Possible values are 1 through 50. The default // is 50. MaxResults *int64 `min:"1" type:"integer"` // The token to use to get the next page of results after a previous API call. // This token must be passed in with the same parameters that were specified // in the original call. For example, if the original call specified an AttributeKey // of 'Username' with a value of 'root', the call with NextToken should include // those same parameters. NextToken *string `type:"string"` // Specifies that only events that occur after or at the specified time are // returned. If the specified start time is after the specified end time, an // error is returned. StartTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
Contains a request for LookupEvents.
func (LookupEventsInput) GoString ¶
func (s LookupEventsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LookupEventsInput) SetEndTime ¶
func (s *LookupEventsInput) SetEndTime(v time.Time) *LookupEventsInput
SetEndTime sets the EndTime field's value.
func (*LookupEventsInput) SetEventCategory ¶
func (s *LookupEventsInput) SetEventCategory(v string) *LookupEventsInput
SetEventCategory sets the EventCategory field's value.
func (*LookupEventsInput) SetLookupAttributes ¶
func (s *LookupEventsInput) SetLookupAttributes(v []*LookupAttribute) *LookupEventsInput
SetLookupAttributes sets the LookupAttributes field's value.
func (*LookupEventsInput) SetMaxResults ¶
func (s *LookupEventsInput) SetMaxResults(v int64) *LookupEventsInput
SetMaxResults sets the MaxResults field's value.
func (*LookupEventsInput) SetNextToken ¶
func (s *LookupEventsInput) SetNextToken(v string) *LookupEventsInput
SetNextToken sets the NextToken field's value.
func (*LookupEventsInput) SetStartTime ¶
func (s *LookupEventsInput) SetStartTime(v time.Time) *LookupEventsInput
SetStartTime sets the StartTime field's value.
func (LookupEventsInput) String ¶
func (s LookupEventsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LookupEventsInput) Validate ¶
func (s *LookupEventsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LookupEventsOutput ¶
type LookupEventsOutput struct { // A list of events returned based on the lookup attributes specified and the // CloudTrail event. The events list is sorted by time. The most recent event // is listed first. Events []*Event `type:"list"` // The token to use to get the next page of results after a previous API call. // If the token does not appear, there are no more results to return. The token // must be passed in with the same parameters as the previous call. For example, // if the original call specified an AttributeKey of 'Username' with a value // of 'root', the call with NextToken should include those same parameters. NextToken *string `type:"string"` // contains filtered or unexported fields }
Contains a response to a LookupEvents action.
func (LookupEventsOutput) GoString ¶
func (s LookupEventsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LookupEventsOutput) SetEvents ¶
func (s *LookupEventsOutput) SetEvents(v []*Event) *LookupEventsOutput
SetEvents sets the Events field's value.
func (*LookupEventsOutput) SetNextToken ¶
func (s *LookupEventsOutput) SetNextToken(v string) *LookupEventsOutput
SetNextToken sets the NextToken field's value.
func (LookupEventsOutput) String ¶
func (s LookupEventsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type MaxConcurrentQueriesException ¶ added in v1.42.9
type MaxConcurrentQueriesException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
You are already running the maximum number of concurrent queries. Wait a minute for some queries to finish, and then run the query again.
func (*MaxConcurrentQueriesException) Code ¶ added in v1.42.9
func (s *MaxConcurrentQueriesException) Code() string
Code returns the exception type name.
func (*MaxConcurrentQueriesException) Error ¶ added in v1.42.9
func (s *MaxConcurrentQueriesException) Error() string
func (MaxConcurrentQueriesException) GoString ¶ added in v1.42.9
func (s MaxConcurrentQueriesException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MaxConcurrentQueriesException) Message ¶ added in v1.42.9
func (s *MaxConcurrentQueriesException) Message() string
Message returns the exception's message.
func (*MaxConcurrentQueriesException) OrigErr ¶ added in v1.42.9
func (s *MaxConcurrentQueriesException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*MaxConcurrentQueriesException) RequestID ¶ added in v1.42.9
func (s *MaxConcurrentQueriesException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*MaxConcurrentQueriesException) StatusCode ¶ added in v1.42.9
func (s *MaxConcurrentQueriesException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (MaxConcurrentQueriesException) String ¶ added in v1.42.9
func (s MaxConcurrentQueriesException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type MaximumNumberOfTrailsExceededException ¶
type MaximumNumberOfTrailsExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the maximum number of trails is reached.
func (*MaximumNumberOfTrailsExceededException) Code ¶
func (s *MaximumNumberOfTrailsExceededException) Code() string
Code returns the exception type name.
func (*MaximumNumberOfTrailsExceededException) Error ¶
func (s *MaximumNumberOfTrailsExceededException) Error() string
func (MaximumNumberOfTrailsExceededException) GoString ¶
func (s MaximumNumberOfTrailsExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MaximumNumberOfTrailsExceededException) Message ¶
func (s *MaximumNumberOfTrailsExceededException) Message() string
Message returns the exception's message.
func (*MaximumNumberOfTrailsExceededException) OrigErr ¶
func (s *MaximumNumberOfTrailsExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*MaximumNumberOfTrailsExceededException) RequestID ¶
func (s *MaximumNumberOfTrailsExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*MaximumNumberOfTrailsExceededException) StatusCode ¶
func (s *MaximumNumberOfTrailsExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (MaximumNumberOfTrailsExceededException) String ¶
func (s MaximumNumberOfTrailsExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NoManagementAccountSLRExistsException ¶ added in v1.42.9
type NoManagementAccountSLRExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the management account does not have a service-linked role.
func (*NoManagementAccountSLRExistsException) Code ¶ added in v1.42.9
func (s *NoManagementAccountSLRExistsException) Code() string
Code returns the exception type name.
func (*NoManagementAccountSLRExistsException) Error ¶ added in v1.42.9
func (s *NoManagementAccountSLRExistsException) Error() string
func (NoManagementAccountSLRExistsException) GoString ¶ added in v1.42.9
func (s NoManagementAccountSLRExistsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NoManagementAccountSLRExistsException) Message ¶ added in v1.42.9
func (s *NoManagementAccountSLRExistsException) Message() string
Message returns the exception's message.
func (*NoManagementAccountSLRExistsException) OrigErr ¶ added in v1.42.9
func (s *NoManagementAccountSLRExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*NoManagementAccountSLRExistsException) RequestID ¶ added in v1.42.9
func (s *NoManagementAccountSLRExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*NoManagementAccountSLRExistsException) StatusCode ¶ added in v1.42.9
func (s *NoManagementAccountSLRExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (NoManagementAccountSLRExistsException) String ¶ added in v1.42.9
func (s NoManagementAccountSLRExistsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NotOrganizationManagementAccountException ¶ added in v1.42.9
type NotOrganizationManagementAccountException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the account making the request is not the organization's management account.
func (*NotOrganizationManagementAccountException) Code ¶ added in v1.42.9
func (s *NotOrganizationManagementAccountException) Code() string
Code returns the exception type name.
func (*NotOrganizationManagementAccountException) Error ¶ added in v1.42.9
func (s *NotOrganizationManagementAccountException) Error() string
func (NotOrganizationManagementAccountException) GoString ¶ added in v1.42.9
func (s NotOrganizationManagementAccountException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NotOrganizationManagementAccountException) Message ¶ added in v1.42.9
func (s *NotOrganizationManagementAccountException) Message() string
Message returns the exception's message.
func (*NotOrganizationManagementAccountException) OrigErr ¶ added in v1.42.9
func (s *NotOrganizationManagementAccountException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*NotOrganizationManagementAccountException) RequestID ¶ added in v1.42.9
func (s *NotOrganizationManagementAccountException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*NotOrganizationManagementAccountException) StatusCode ¶ added in v1.42.9
func (s *NotOrganizationManagementAccountException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (NotOrganizationManagementAccountException) String ¶ added in v1.42.9
func (s NotOrganizationManagementAccountException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NotOrganizationMasterAccountException ¶
type NotOrganizationMasterAccountException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html).
func (*NotOrganizationMasterAccountException) Code ¶
func (s *NotOrganizationMasterAccountException) Code() string
Code returns the exception type name.
func (*NotOrganizationMasterAccountException) Error ¶
func (s *NotOrganizationMasterAccountException) Error() string
func (NotOrganizationMasterAccountException) GoString ¶
func (s NotOrganizationMasterAccountException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NotOrganizationMasterAccountException) Message ¶
func (s *NotOrganizationMasterAccountException) Message() string
Message returns the exception's message.
func (*NotOrganizationMasterAccountException) OrigErr ¶
func (s *NotOrganizationMasterAccountException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*NotOrganizationMasterAccountException) RequestID ¶
func (s *NotOrganizationMasterAccountException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*NotOrganizationMasterAccountException) StatusCode ¶
func (s *NotOrganizationMasterAccountException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (NotOrganizationMasterAccountException) String ¶
func (s NotOrganizationMasterAccountException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type OperationNotPermittedException ¶
type OperationNotPermittedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the requested operation is not permitted.
func (*OperationNotPermittedException) Code ¶
func (s *OperationNotPermittedException) Code() string
Code returns the exception type name.
func (*OperationNotPermittedException) Error ¶
func (s *OperationNotPermittedException) Error() string
func (OperationNotPermittedException) GoString ¶
func (s OperationNotPermittedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*OperationNotPermittedException) Message ¶
func (s *OperationNotPermittedException) Message() string
Message returns the exception's message.
func (*OperationNotPermittedException) OrigErr ¶
func (s *OperationNotPermittedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*OperationNotPermittedException) RequestID ¶
func (s *OperationNotPermittedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*OperationNotPermittedException) StatusCode ¶
func (s *OperationNotPermittedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (OperationNotPermittedException) String ¶
func (s OperationNotPermittedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type OrganizationNotInAllFeaturesModeException ¶
type OrganizationNotInAllFeaturesModeException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when Organizations is not configured to support all features. All features must be enabled in Organizations to support creating an organization trail or event data store.
func (*OrganizationNotInAllFeaturesModeException) Code ¶
func (s *OrganizationNotInAllFeaturesModeException) Code() string
Code returns the exception type name.
func (*OrganizationNotInAllFeaturesModeException) Error ¶
func (s *OrganizationNotInAllFeaturesModeException) Error() string
func (OrganizationNotInAllFeaturesModeException) GoString ¶
func (s OrganizationNotInAllFeaturesModeException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*OrganizationNotInAllFeaturesModeException) Message ¶
func (s *OrganizationNotInAllFeaturesModeException) Message() string
Message returns the exception's message.
func (*OrganizationNotInAllFeaturesModeException) OrigErr ¶
func (s *OrganizationNotInAllFeaturesModeException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*OrganizationNotInAllFeaturesModeException) RequestID ¶
func (s *OrganizationNotInAllFeaturesModeException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*OrganizationNotInAllFeaturesModeException) StatusCode ¶
func (s *OrganizationNotInAllFeaturesModeException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (OrganizationNotInAllFeaturesModeException) String ¶
func (s OrganizationNotInAllFeaturesModeException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type OrganizationsNotInUseException ¶
type OrganizationsNotInUseException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the request is made from an Amazon Web Services account that is not a member of an organization. To make this request, sign in using the credentials of an account that belongs to an organization.
func (*OrganizationsNotInUseException) Code ¶
func (s *OrganizationsNotInUseException) Code() string
Code returns the exception type name.
func (*OrganizationsNotInUseException) Error ¶
func (s *OrganizationsNotInUseException) Error() string
func (OrganizationsNotInUseException) GoString ¶
func (s OrganizationsNotInUseException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*OrganizationsNotInUseException) Message ¶
func (s *OrganizationsNotInUseException) Message() string
Message returns the exception's message.
func (*OrganizationsNotInUseException) OrigErr ¶
func (s *OrganizationsNotInUseException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*OrganizationsNotInUseException) RequestID ¶
func (s *OrganizationsNotInUseException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*OrganizationsNotInUseException) StatusCode ¶
func (s *OrganizationsNotInUseException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (OrganizationsNotInUseException) String ¶
func (s OrganizationsNotInUseException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PublicKey ¶
type PublicKey struct { // The fingerprint of the public key. Fingerprint *string `type:"string"` // The ending time of validity of the public key. ValidityEndTime *time.Time `type:"timestamp"` // The starting time of validity of the public key. ValidityStartTime *time.Time `type:"timestamp"` // The DER encoded public key value in PKCS#1 format. // Value is automatically base64 encoded/decoded by the SDK. Value []byte `type:"blob"` // contains filtered or unexported fields }
Contains information about a returned public key.
func (PublicKey) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PublicKey) SetFingerprint ¶
SetFingerprint sets the Fingerprint field's value.
func (*PublicKey) SetValidityEndTime ¶
SetValidityEndTime sets the ValidityEndTime field's value.
func (*PublicKey) SetValidityStartTime ¶
SetValidityStartTime sets the ValidityStartTime field's value.
type PutEventSelectorsInput ¶
type PutEventSelectorsInput struct { // Specifies the settings for advanced event selectors. You can add advanced // event selectors, and conditions for your advanced event selectors, up to // a maximum of 500 values for all conditions and selectors on a trail. You // can use either AdvancedEventSelectors or EventSelectors, but not both. If // you apply AdvancedEventSelectors to a trail, any existing EventSelectors // are overwritten. For more information about advanced event selectors, see // Logging data events (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html) // in the CloudTrail User Guide. AdvancedEventSelectors []*AdvancedEventSelector `type:"list"` // Specifies the settings for your event selectors. You can configure up to // five event selectors for a trail. You can use either EventSelectors or AdvancedEventSelectors // in a PutEventSelectors request, but not both. If you apply EventSelectors // to a trail, any existing AdvancedEventSelectors are overwritten. EventSelectors []*EventSelector `type:"list"` // Specifies the name of the trail or trail ARN. If you specify a trail name, // the string must meet the following requirements: // // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores // (_), or dashes (-) // // * Start with a letter or number, and end with a letter or number // // * Be between 3 and 128 characters // // * Have no adjacent periods, underscores or dashes. Names like my-_namespace // and my--namespace are not valid. // // * Not be in IP address format (for example, 192.168.5.4) // // If you specify a trail ARN, it must be in the following format. // // arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail // // TrailName is a required field TrailName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (PutEventSelectorsInput) GoString ¶
func (s PutEventSelectorsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutEventSelectorsInput) SetAdvancedEventSelectors ¶
func (s *PutEventSelectorsInput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *PutEventSelectorsInput
SetAdvancedEventSelectors sets the AdvancedEventSelectors field's value.
func (*PutEventSelectorsInput) SetEventSelectors ¶
func (s *PutEventSelectorsInput) SetEventSelectors(v []*EventSelector) *PutEventSelectorsInput
SetEventSelectors sets the EventSelectors field's value.
func (*PutEventSelectorsInput) SetTrailName ¶
func (s *PutEventSelectorsInput) SetTrailName(v string) *PutEventSelectorsInput
SetTrailName sets the TrailName field's value.
func (PutEventSelectorsInput) String ¶
func (s PutEventSelectorsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutEventSelectorsInput) Validate ¶
func (s *PutEventSelectorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutEventSelectorsOutput ¶
type PutEventSelectorsOutput struct { // Specifies the advanced event selectors configured for your trail. AdvancedEventSelectors []*AdvancedEventSelector `type:"list"` // Specifies the event selectors configured for your trail. EventSelectors []*EventSelector `type:"list"` // Specifies the ARN of the trail that was updated with event selectors. The // following is the format of a trail ARN. // // arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail TrailARN *string `type:"string"` // contains filtered or unexported fields }
func (PutEventSelectorsOutput) GoString ¶
func (s PutEventSelectorsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutEventSelectorsOutput) SetAdvancedEventSelectors ¶
func (s *PutEventSelectorsOutput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *PutEventSelectorsOutput
SetAdvancedEventSelectors sets the AdvancedEventSelectors field's value.
func (*PutEventSelectorsOutput) SetEventSelectors ¶
func (s *PutEventSelectorsOutput) SetEventSelectors(v []*EventSelector) *PutEventSelectorsOutput
SetEventSelectors sets the EventSelectors field's value.
func (*PutEventSelectorsOutput) SetTrailARN ¶
func (s *PutEventSelectorsOutput) SetTrailARN(v string) *PutEventSelectorsOutput
SetTrailARN sets the TrailARN field's value.
func (PutEventSelectorsOutput) String ¶
func (s PutEventSelectorsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutInsightSelectorsInput ¶
type PutInsightSelectorsInput struct { // A JSON string that contains the insight types you want to log on a trail. // ApiCallRateInsight and ApiErrorRateInsight are valid Insight types. // // The ApiCallRateInsight Insights type analyzes write-only management API calls // that are aggregated per minute against a baseline API call volume. // // The ApiErrorRateInsight Insights type analyzes management API calls that // result in error codes. The error is shown if the API call is unsuccessful. // // InsightSelectors is a required field InsightSelectors []*InsightSelector `type:"list" required:"true"` // The name of the CloudTrail trail for which you want to change or add Insights // selectors. // // TrailName is a required field TrailName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (PutInsightSelectorsInput) GoString ¶
func (s PutInsightSelectorsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutInsightSelectorsInput) SetInsightSelectors ¶
func (s *PutInsightSelectorsInput) SetInsightSelectors(v []*InsightSelector) *PutInsightSelectorsInput
SetInsightSelectors sets the InsightSelectors field's value.
func (*PutInsightSelectorsInput) SetTrailName ¶
func (s *PutInsightSelectorsInput) SetTrailName(v string) *PutInsightSelectorsInput
SetTrailName sets the TrailName field's value.
func (PutInsightSelectorsInput) String ¶
func (s PutInsightSelectorsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutInsightSelectorsInput) Validate ¶
func (s *PutInsightSelectorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutInsightSelectorsOutput ¶
type PutInsightSelectorsOutput struct { // A JSON string that contains the Insights event types that you want to log // on a trail. The valid Insights types in this release are ApiErrorRateInsight // and ApiCallRateInsight. InsightSelectors []*InsightSelector `type:"list"` // The Amazon Resource Name (ARN) of a trail for which you want to change or // add Insights selectors. TrailARN *string `type:"string"` // contains filtered or unexported fields }
func (PutInsightSelectorsOutput) GoString ¶
func (s PutInsightSelectorsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutInsightSelectorsOutput) SetInsightSelectors ¶
func (s *PutInsightSelectorsOutput) SetInsightSelectors(v []*InsightSelector) *PutInsightSelectorsOutput
SetInsightSelectors sets the InsightSelectors field's value.
func (*PutInsightSelectorsOutput) SetTrailARN ¶
func (s *PutInsightSelectorsOutput) SetTrailARN(v string) *PutInsightSelectorsOutput
SetTrailARN sets the TrailARN field's value.
func (PutInsightSelectorsOutput) String ¶
func (s PutInsightSelectorsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutResourcePolicyInput ¶ added in v1.42.9
type PutResourcePolicyInput struct { // The Amazon Resource Name (ARN) of the CloudTrail channel attached to the // resource-based policy. The following is the format of a resource ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel. // // ResourceArn is a required field ResourceArn *string `min:"3" type:"string" required:"true"` // A JSON-formatted string for an Amazon Web Services resource-based policy. // // The following are requirements for the resource policy: // // * Contains only one action: cloudtrail-data:PutAuditEvents // // * Contains at least one statement. The policy can have a maximum of 20 // statements. // // * Each statement contains at least one principal. A statement can have // a maximum of 50 principals. // // ResourcePolicy is a required field ResourcePolicy *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (PutResourcePolicyInput) GoString ¶ added in v1.42.9
func (s PutResourcePolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutResourcePolicyInput) SetResourceArn ¶ added in v1.42.9
func (s *PutResourcePolicyInput) SetResourceArn(v string) *PutResourcePolicyInput
SetResourceArn sets the ResourceArn field's value.
func (*PutResourcePolicyInput) SetResourcePolicy ¶ added in v1.42.9
func (s *PutResourcePolicyInput) SetResourcePolicy(v string) *PutResourcePolicyInput
SetResourcePolicy sets the ResourcePolicy field's value.
func (PutResourcePolicyInput) String ¶ added in v1.42.9
func (s PutResourcePolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutResourcePolicyInput) Validate ¶ added in v1.42.9
func (s *PutResourcePolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutResourcePolicyOutput ¶ added in v1.42.9
type PutResourcePolicyOutput struct { // The Amazon Resource Name (ARN) of the CloudTrail channel attached to the // resource-based policy. ResourceArn *string `min:"3" type:"string"` // The JSON-formatted string of the Amazon Web Services resource-based policy // attached to the CloudTrail channel. ResourcePolicy *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (PutResourcePolicyOutput) GoString ¶ added in v1.42.9
func (s PutResourcePolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutResourcePolicyOutput) SetResourceArn ¶ added in v1.42.9
func (s *PutResourcePolicyOutput) SetResourceArn(v string) *PutResourcePolicyOutput
SetResourceArn sets the ResourceArn field's value.
func (*PutResourcePolicyOutput) SetResourcePolicy ¶ added in v1.42.9
func (s *PutResourcePolicyOutput) SetResourcePolicy(v string) *PutResourcePolicyOutput
SetResourcePolicy sets the ResourcePolicy field's value.
func (PutResourcePolicyOutput) String ¶ added in v1.42.9
func (s PutResourcePolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Query ¶ added in v1.42.9
type Query struct { // The creation time of a query. CreationTime *time.Time `type:"timestamp"` // The ID of a query. QueryId *string `min:"36" type:"string"` // The status of the query. This can be QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, // or CANCELLED. QueryStatus *string `type:"string" enum:"QueryStatus"` // contains filtered or unexported fields }
A SQL string of criteria about events that you want to collect in an event data store.
func (Query) GoString ¶ added in v1.42.9
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Query) SetCreationTime ¶ added in v1.42.9
SetCreationTime sets the CreationTime field's value.
func (*Query) SetQueryId ¶ added in v1.42.9
SetQueryId sets the QueryId field's value.
func (*Query) SetQueryStatus ¶ added in v1.42.9
SetQueryStatus sets the QueryStatus field's value.
type QueryIdNotFoundException ¶ added in v1.42.9
type QueryIdNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The query ID does not exist or does not map to a query.
func (*QueryIdNotFoundException) Code ¶ added in v1.42.9
func (s *QueryIdNotFoundException) Code() string
Code returns the exception type name.
func (*QueryIdNotFoundException) Error ¶ added in v1.42.9
func (s *QueryIdNotFoundException) Error() string
func (QueryIdNotFoundException) GoString ¶ added in v1.42.9
func (s QueryIdNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*QueryIdNotFoundException) Message ¶ added in v1.42.9
func (s *QueryIdNotFoundException) Message() string
Message returns the exception's message.
func (*QueryIdNotFoundException) OrigErr ¶ added in v1.42.9
func (s *QueryIdNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*QueryIdNotFoundException) RequestID ¶ added in v1.42.9
func (s *QueryIdNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*QueryIdNotFoundException) StatusCode ¶ added in v1.42.9
func (s *QueryIdNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (QueryIdNotFoundException) String ¶ added in v1.42.9
func (s QueryIdNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type QueryStatistics ¶ added in v1.42.9
type QueryStatistics struct { // The total bytes that the query scanned in the event data store. This value // matches the number of bytes for which your account is billed for the query, // unless the query is still running. BytesScanned *int64 `type:"long"` // The number of results returned. ResultsCount *int64 `type:"integer"` // The total number of results returned by a query. TotalResultsCount *int64 `type:"integer"` // contains filtered or unexported fields }
Metadata about a query, such as the number of results.
func (QueryStatistics) GoString ¶ added in v1.42.9
func (s QueryStatistics) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*QueryStatistics) SetBytesScanned ¶ added in v1.42.9
func (s *QueryStatistics) SetBytesScanned(v int64) *QueryStatistics
SetBytesScanned sets the BytesScanned field's value.
func (*QueryStatistics) SetResultsCount ¶ added in v1.42.9
func (s *QueryStatistics) SetResultsCount(v int64) *QueryStatistics
SetResultsCount sets the ResultsCount field's value.
func (*QueryStatistics) SetTotalResultsCount ¶ added in v1.42.9
func (s *QueryStatistics) SetTotalResultsCount(v int64) *QueryStatistics
SetTotalResultsCount sets the TotalResultsCount field's value.
func (QueryStatistics) String ¶ added in v1.42.9
func (s QueryStatistics) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type QueryStatisticsForDescribeQuery ¶ added in v1.42.9
type QueryStatisticsForDescribeQuery struct { // The total bytes that the query scanned in the event data store. This value // matches the number of bytes for which your account is billed for the query, // unless the query is still running. BytesScanned *int64 `type:"long"` // The creation time of the query. CreationTime *time.Time `type:"timestamp"` // The number of events that matched a query. EventsMatched *int64 `type:"long"` // The number of events that the query scanned in the event data store. EventsScanned *int64 `type:"long"` // The query's run time, in milliseconds. ExecutionTimeInMillis *int64 `type:"integer"` // contains filtered or unexported fields }
Gets metadata about a query, including the number of events that were matched, the total number of events scanned, the query run time in milliseconds, and the query's creation time.
func (QueryStatisticsForDescribeQuery) GoString ¶ added in v1.42.9
func (s QueryStatisticsForDescribeQuery) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*QueryStatisticsForDescribeQuery) SetBytesScanned ¶ added in v1.42.9
func (s *QueryStatisticsForDescribeQuery) SetBytesScanned(v int64) *QueryStatisticsForDescribeQuery
SetBytesScanned sets the BytesScanned field's value.
func (*QueryStatisticsForDescribeQuery) SetCreationTime ¶ added in v1.42.9
func (s *QueryStatisticsForDescribeQuery) SetCreationTime(v time.Time) *QueryStatisticsForDescribeQuery
SetCreationTime sets the CreationTime field's value.
func (*QueryStatisticsForDescribeQuery) SetEventsMatched ¶ added in v1.42.9
func (s *QueryStatisticsForDescribeQuery) SetEventsMatched(v int64) *QueryStatisticsForDescribeQuery
SetEventsMatched sets the EventsMatched field's value.
func (*QueryStatisticsForDescribeQuery) SetEventsScanned ¶ added in v1.42.9
func (s *QueryStatisticsForDescribeQuery) SetEventsScanned(v int64) *QueryStatisticsForDescribeQuery
SetEventsScanned sets the EventsScanned field's value.
func (*QueryStatisticsForDescribeQuery) SetExecutionTimeInMillis ¶ added in v1.42.9
func (s *QueryStatisticsForDescribeQuery) SetExecutionTimeInMillis(v int64) *QueryStatisticsForDescribeQuery
SetExecutionTimeInMillis sets the ExecutionTimeInMillis field's value.
func (QueryStatisticsForDescribeQuery) String ¶ added in v1.42.9
func (s QueryStatisticsForDescribeQuery) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RegisterOrganizationDelegatedAdminInput ¶ added in v1.42.9
type RegisterOrganizationDelegatedAdminInput struct { // An organization member account ID that you want to designate as a delegated // administrator. // // MemberAccountId is a required field MemberAccountId *string `min:"12" type:"string" required:"true"` // contains filtered or unexported fields }
Specifies an organization member account ID as a CloudTrail delegated administrator.
func (RegisterOrganizationDelegatedAdminInput) GoString ¶ added in v1.42.9
func (s RegisterOrganizationDelegatedAdminInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RegisterOrganizationDelegatedAdminInput) SetMemberAccountId ¶ added in v1.42.9
func (s *RegisterOrganizationDelegatedAdminInput) SetMemberAccountId(v string) *RegisterOrganizationDelegatedAdminInput
SetMemberAccountId sets the MemberAccountId field's value.
func (RegisterOrganizationDelegatedAdminInput) String ¶ added in v1.42.9
func (s RegisterOrganizationDelegatedAdminInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RegisterOrganizationDelegatedAdminInput) Validate ¶ added in v1.42.9
func (s *RegisterOrganizationDelegatedAdminInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RegisterOrganizationDelegatedAdminOutput ¶ added in v1.42.9
type RegisterOrganizationDelegatedAdminOutput struct {
// contains filtered or unexported fields
}
Returns the following response if successful. Otherwise, returns an error.
func (RegisterOrganizationDelegatedAdminOutput) GoString ¶ added in v1.42.9
func (s RegisterOrganizationDelegatedAdminOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (RegisterOrganizationDelegatedAdminOutput) String ¶ added in v1.42.9
func (s RegisterOrganizationDelegatedAdminOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RemoveTagsInput ¶
type RemoveTagsInput struct { // Specifies the ARN of the trail, event data store, or channel from which tags // should be removed. // // Example trail ARN format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail // // Example event data store ARN format: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE // // Example channel ARN format: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890 // // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // Specifies a list of tags to be removed. // // TagsList is a required field TagsList []*Tag `type:"list" required:"true"` // contains filtered or unexported fields }
Specifies the tags to remove from a trail, event data store, or channel.
func (RemoveTagsInput) GoString ¶
func (s RemoveTagsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RemoveTagsInput) SetResourceId ¶
func (s *RemoveTagsInput) SetResourceId(v string) *RemoveTagsInput
SetResourceId sets the ResourceId field's value.
func (*RemoveTagsInput) SetTagsList ¶
func (s *RemoveTagsInput) SetTagsList(v []*Tag) *RemoveTagsInput
SetTagsList sets the TagsList field's value.
func (RemoveTagsInput) String ¶
func (s RemoveTagsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RemoveTagsInput) Validate ¶
func (s *RemoveTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveTagsOutput ¶
type RemoveTagsOutput struct {
// contains filtered or unexported fields
}
Returns the objects or data listed below if successful. Otherwise, returns an error.
func (RemoveTagsOutput) GoString ¶
func (s RemoveTagsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (RemoveTagsOutput) String ¶
func (s RemoveTagsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Resource ¶
type Resource struct { // The name of the resource referenced by the event returned. These are user-created // names whose values will depend on the environment. For example, the resource // name might be "auto-scaling-test-group" for an Auto Scaling Group or "i-1234567" // for an EC2 Instance. ResourceName *string `type:"string"` // The type of a resource referenced by the event returned. When the resource // type cannot be determined, null is returned. Some examples of resource types // are: Instance for EC2, Trail for CloudTrail, DBInstance for Amazon RDS, and // AccessKey for IAM. To learn more about how to look up and filter events by // the resource types supported for a service, see Filtering CloudTrail Events // (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events-console.html#filtering-cloudtrail-events). ResourceType *string `type:"string"` // contains filtered or unexported fields }
Specifies the type and name of a resource referenced by an event.
func (Resource) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Resource) SetResourceName ¶
SetResourceName sets the ResourceName field's value.
func (*Resource) SetResourceType ¶
SetResourceType sets the ResourceType field's value.
type ResourceARNNotValidException ¶ added in v1.42.9
type ResourceARNNotValidException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the provided resource does not exist, or the ARN format of the resource is not valid. The following is the valid format for a resource ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel.
func (*ResourceARNNotValidException) Code ¶ added in v1.42.9
func (s *ResourceARNNotValidException) Code() string
Code returns the exception type name.
func (*ResourceARNNotValidException) Error ¶ added in v1.42.9
func (s *ResourceARNNotValidException) Error() string
func (ResourceARNNotValidException) GoString ¶ added in v1.42.9
func (s ResourceARNNotValidException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceARNNotValidException) Message ¶ added in v1.42.9
func (s *ResourceARNNotValidException) Message() string
Message returns the exception's message.
func (*ResourceARNNotValidException) OrigErr ¶ added in v1.42.9
func (s *ResourceARNNotValidException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceARNNotValidException) RequestID ¶ added in v1.42.9
func (s *ResourceARNNotValidException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceARNNotValidException) StatusCode ¶ added in v1.42.9
func (s *ResourceARNNotValidException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceARNNotValidException) String ¶ added in v1.42.9
func (s ResourceARNNotValidException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the specified resource is not found.
func (*ResourceNotFoundException) Code ¶
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceNotFoundException) Message ¶
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourcePolicyNotFoundException ¶ added in v1.42.9
type ResourcePolicyNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the specified resource policy is not found.
func (*ResourcePolicyNotFoundException) Code ¶ added in v1.42.9
func (s *ResourcePolicyNotFoundException) Code() string
Code returns the exception type name.
func (*ResourcePolicyNotFoundException) Error ¶ added in v1.42.9
func (s *ResourcePolicyNotFoundException) Error() string
func (ResourcePolicyNotFoundException) GoString ¶ added in v1.42.9
func (s ResourcePolicyNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourcePolicyNotFoundException) Message ¶ added in v1.42.9
func (s *ResourcePolicyNotFoundException) Message() string
Message returns the exception's message.
func (*ResourcePolicyNotFoundException) OrigErr ¶ added in v1.42.9
func (s *ResourcePolicyNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourcePolicyNotFoundException) RequestID ¶ added in v1.42.9
func (s *ResourcePolicyNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourcePolicyNotFoundException) StatusCode ¶ added in v1.42.9
func (s *ResourcePolicyNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourcePolicyNotFoundException) String ¶ added in v1.42.9
func (s ResourcePolicyNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourcePolicyNotValidException ¶ added in v1.42.9
type ResourcePolicyNotValidException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the resouce-based policy has syntax errors, or contains a principal that is not valid.
The following are requirements for the resource policy:
Contains only one action: cloudtrail-data:PutAuditEvents
Contains at least one statement. The policy can have a maximum of 20 statements.
Each statement contains at least one principal. A statement can have a maximum of 50 principals.
func (*ResourcePolicyNotValidException) Code ¶ added in v1.42.9
func (s *ResourcePolicyNotValidException) Code() string
Code returns the exception type name.
func (*ResourcePolicyNotValidException) Error ¶ added in v1.42.9
func (s *ResourcePolicyNotValidException) Error() string
func (ResourcePolicyNotValidException) GoString ¶ added in v1.42.9
func (s ResourcePolicyNotValidException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourcePolicyNotValidException) Message ¶ added in v1.42.9
func (s *ResourcePolicyNotValidException) Message() string
Message returns the exception's message.
func (*ResourcePolicyNotValidException) OrigErr ¶ added in v1.42.9
func (s *ResourcePolicyNotValidException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourcePolicyNotValidException) RequestID ¶ added in v1.42.9
func (s *ResourcePolicyNotValidException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourcePolicyNotValidException) StatusCode ¶ added in v1.42.9
func (s *ResourcePolicyNotValidException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourcePolicyNotValidException) String ¶ added in v1.42.9
func (s ResourcePolicyNotValidException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceTag ¶
type ResourceTag struct { // Specifies the ARN of the resource. ResourceId *string `type:"string"` // A list of tags. TagsList []*Tag `type:"list"` // contains filtered or unexported fields }
A resource tag.
func (ResourceTag) GoString ¶
func (s ResourceTag) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceTag) SetResourceId ¶
func (s *ResourceTag) SetResourceId(v string) *ResourceTag
SetResourceId sets the ResourceId field's value.
func (*ResourceTag) SetTagsList ¶
func (s *ResourceTag) SetTagsList(v []*Tag) *ResourceTag
SetTagsList sets the TagsList field's value.
func (ResourceTag) String ¶
func (s ResourceTag) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceTypeNotSupportedException ¶
type ResourceTypeNotSupportedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the specified resource type is not supported by CloudTrail.
func (*ResourceTypeNotSupportedException) Code ¶
func (s *ResourceTypeNotSupportedException) Code() string
Code returns the exception type name.
func (*ResourceTypeNotSupportedException) Error ¶
func (s *ResourceTypeNotSupportedException) Error() string
func (ResourceTypeNotSupportedException) GoString ¶
func (s ResourceTypeNotSupportedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceTypeNotSupportedException) Message ¶
func (s *ResourceTypeNotSupportedException) Message() string
Message returns the exception's message.
func (*ResourceTypeNotSupportedException) OrigErr ¶
func (s *ResourceTypeNotSupportedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceTypeNotSupportedException) RequestID ¶
func (s *ResourceTypeNotSupportedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceTypeNotSupportedException) StatusCode ¶
func (s *ResourceTypeNotSupportedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceTypeNotSupportedException) String ¶
func (s ResourceTypeNotSupportedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RestoreEventDataStoreInput ¶ added in v1.42.9
type RestoreEventDataStoreInput struct { // The ARN (or the ID suffix of the ARN) of the event data store that you want // to restore. // // EventDataStore is a required field EventDataStore *string `min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (RestoreEventDataStoreInput) GoString ¶ added in v1.42.9
func (s RestoreEventDataStoreInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RestoreEventDataStoreInput) SetEventDataStore ¶ added in v1.42.9
func (s *RestoreEventDataStoreInput) SetEventDataStore(v string) *RestoreEventDataStoreInput
SetEventDataStore sets the EventDataStore field's value.
func (RestoreEventDataStoreInput) String ¶ added in v1.42.9
func (s RestoreEventDataStoreInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RestoreEventDataStoreInput) Validate ¶ added in v1.42.9
func (s *RestoreEventDataStoreInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RestoreEventDataStoreOutput ¶ added in v1.42.9
type RestoreEventDataStoreOutput struct { // The advanced event selectors that were used to select events. AdvancedEventSelectors []*AdvancedEventSelector `type:"list"` // The timestamp of an event data store's creation. CreatedTimestamp *time.Time `type:"timestamp"` // The event data store ARN. EventDataStoreArn *string `min:"3" type:"string"` // Specifies the KMS key ID that encrypts the events delivered by CloudTrail. // The value is a fully specified ARN to a KMS key in the following format. // // arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 KmsKeyId *string `min:"1" type:"string"` // Indicates whether the event data store is collecting events from all Regions, // or only from the Region in which the event data store was created. MultiRegionEnabled *bool `type:"boolean"` // The name of the event data store. Name *string `min:"3" type:"string"` // Indicates whether an event data store is collecting logged events for an // organization in Organizations. OrganizationEnabled *bool `type:"boolean"` // The retention period, in days. RetentionPeriod *int64 `min:"7" type:"integer"` // The status of the event data store. Status *string `type:"string" enum:"EventDataStoreStatus"` // Indicates that termination protection is enabled and the event data store // cannot be automatically deleted. TerminationProtectionEnabled *bool `type:"boolean"` // The timestamp that shows when an event data store was updated, if applicable. // UpdatedTimestamp is always either the same or newer than the time shown in // CreatedTimestamp. UpdatedTimestamp *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (RestoreEventDataStoreOutput) GoString ¶ added in v1.42.9
func (s RestoreEventDataStoreOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RestoreEventDataStoreOutput) SetAdvancedEventSelectors ¶ added in v1.42.9
func (s *RestoreEventDataStoreOutput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *RestoreEventDataStoreOutput
SetAdvancedEventSelectors sets the AdvancedEventSelectors field's value.
func (*RestoreEventDataStoreOutput) SetCreatedTimestamp ¶ added in v1.42.9
func (s *RestoreEventDataStoreOutput) SetCreatedTimestamp(v time.Time) *RestoreEventDataStoreOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (*RestoreEventDataStoreOutput) SetEventDataStoreArn ¶ added in v1.42.9
func (s *RestoreEventDataStoreOutput) SetEventDataStoreArn(v string) *RestoreEventDataStoreOutput
SetEventDataStoreArn sets the EventDataStoreArn field's value.
func (*RestoreEventDataStoreOutput) SetKmsKeyId ¶ added in v1.42.9
func (s *RestoreEventDataStoreOutput) SetKmsKeyId(v string) *RestoreEventDataStoreOutput
SetKmsKeyId sets the KmsKeyId field's value.
func (*RestoreEventDataStoreOutput) SetMultiRegionEnabled ¶ added in v1.42.9
func (s *RestoreEventDataStoreOutput) SetMultiRegionEnabled(v bool) *RestoreEventDataStoreOutput
SetMultiRegionEnabled sets the MultiRegionEnabled field's value.
func (*RestoreEventDataStoreOutput) SetName ¶ added in v1.42.9
func (s *RestoreEventDataStoreOutput) SetName(v string) *RestoreEventDataStoreOutput
SetName sets the Name field's value.
func (*RestoreEventDataStoreOutput) SetOrganizationEnabled ¶ added in v1.42.9
func (s *RestoreEventDataStoreOutput) SetOrganizationEnabled(v bool) *RestoreEventDataStoreOutput
SetOrganizationEnabled sets the OrganizationEnabled field's value.
func (*RestoreEventDataStoreOutput) SetRetentionPeriod ¶ added in v1.42.9
func (s *RestoreEventDataStoreOutput) SetRetentionPeriod(v int64) *RestoreEventDataStoreOutput
SetRetentionPeriod sets the RetentionPeriod field's value.
func (*RestoreEventDataStoreOutput) SetStatus ¶ added in v1.42.9
func (s *RestoreEventDataStoreOutput) SetStatus(v string) *RestoreEventDataStoreOutput
SetStatus sets the Status field's value.
func (*RestoreEventDataStoreOutput) SetTerminationProtectionEnabled ¶ added in v1.42.9
func (s *RestoreEventDataStoreOutput) SetTerminationProtectionEnabled(v bool) *RestoreEventDataStoreOutput
SetTerminationProtectionEnabled sets the TerminationProtectionEnabled field's value.
func (*RestoreEventDataStoreOutput) SetUpdatedTimestamp ¶ added in v1.42.9
func (s *RestoreEventDataStoreOutput) SetUpdatedTimestamp(v time.Time) *RestoreEventDataStoreOutput
SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
func (RestoreEventDataStoreOutput) String ¶ added in v1.42.9
func (s RestoreEventDataStoreOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type S3BucketDoesNotExistException ¶
type S3BucketDoesNotExistException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the specified S3 bucket does not exist.
func (*S3BucketDoesNotExistException) Code ¶
func (s *S3BucketDoesNotExistException) Code() string
Code returns the exception type name.
func (*S3BucketDoesNotExistException) Error ¶
func (s *S3BucketDoesNotExistException) Error() string
func (S3BucketDoesNotExistException) GoString ¶
func (s S3BucketDoesNotExistException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*S3BucketDoesNotExistException) Message ¶
func (s *S3BucketDoesNotExistException) Message() string
Message returns the exception's message.
func (*S3BucketDoesNotExistException) OrigErr ¶
func (s *S3BucketDoesNotExistException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*S3BucketDoesNotExistException) RequestID ¶
func (s *S3BucketDoesNotExistException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*S3BucketDoesNotExistException) StatusCode ¶
func (s *S3BucketDoesNotExistException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (S3BucketDoesNotExistException) String ¶
func (s S3BucketDoesNotExistException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type S3ImportSource ¶ added in v1.42.9
type S3ImportSource struct { // The IAM ARN role used to access the source S3 bucket. // // S3BucketAccessRoleArn is a required field S3BucketAccessRoleArn *string `type:"string" required:"true"` // The Region associated with the source S3 bucket. // // S3BucketRegion is a required field S3BucketRegion *string `type:"string" required:"true"` // The URI for the source S3 bucket. // // S3LocationUri is a required field S3LocationUri *string `type:"string" required:"true"` // contains filtered or unexported fields }
The settings for the source S3 bucket.
func (S3ImportSource) GoString ¶ added in v1.42.9
func (s S3ImportSource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*S3ImportSource) SetS3BucketAccessRoleArn ¶ added in v1.42.9
func (s *S3ImportSource) SetS3BucketAccessRoleArn(v string) *S3ImportSource
SetS3BucketAccessRoleArn sets the S3BucketAccessRoleArn field's value.
func (*S3ImportSource) SetS3BucketRegion ¶ added in v1.42.9
func (s *S3ImportSource) SetS3BucketRegion(v string) *S3ImportSource
SetS3BucketRegion sets the S3BucketRegion field's value.
func (*S3ImportSource) SetS3LocationUri ¶ added in v1.42.9
func (s *S3ImportSource) SetS3LocationUri(v string) *S3ImportSource
SetS3LocationUri sets the S3LocationUri field's value.
func (S3ImportSource) String ¶ added in v1.42.9
func (s S3ImportSource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*S3ImportSource) Validate ¶ added in v1.42.9
func (s *S3ImportSource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SourceConfig ¶ added in v1.42.9
type SourceConfig struct { // The advanced event selectors that are configured for the channel. AdvancedEventSelectors []*AdvancedEventSelector `type:"list"` // Specifies whether the channel applies to a single Region or to all Regions. ApplyToAllRegions *bool `type:"boolean"` // contains filtered or unexported fields }
Contains configuration information about the channel.
func (SourceConfig) GoString ¶ added in v1.42.9
func (s SourceConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SourceConfig) SetAdvancedEventSelectors ¶ added in v1.42.9
func (s *SourceConfig) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *SourceConfig
SetAdvancedEventSelectors sets the AdvancedEventSelectors field's value.
func (*SourceConfig) SetApplyToAllRegions ¶ added in v1.42.9
func (s *SourceConfig) SetApplyToAllRegions(v bool) *SourceConfig
SetApplyToAllRegions sets the ApplyToAllRegions field's value.
func (SourceConfig) String ¶ added in v1.42.9
func (s SourceConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StartEventDataStoreIngestionInput ¶ added in v1.42.9
type StartEventDataStoreIngestionInput struct { // The ARN (or ID suffix of the ARN) of the event data store for which you want // to start ingestion. // // EventDataStore is a required field EventDataStore *string `min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (StartEventDataStoreIngestionInput) GoString ¶ added in v1.42.9
func (s StartEventDataStoreIngestionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartEventDataStoreIngestionInput) SetEventDataStore ¶ added in v1.42.9
func (s *StartEventDataStoreIngestionInput) SetEventDataStore(v string) *StartEventDataStoreIngestionInput
SetEventDataStore sets the EventDataStore field's value.
func (StartEventDataStoreIngestionInput) String ¶ added in v1.42.9
func (s StartEventDataStoreIngestionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartEventDataStoreIngestionInput) Validate ¶ added in v1.42.9
func (s *StartEventDataStoreIngestionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartEventDataStoreIngestionOutput ¶ added in v1.42.9
type StartEventDataStoreIngestionOutput struct {
// contains filtered or unexported fields
}
func (StartEventDataStoreIngestionOutput) GoString ¶ added in v1.42.9
func (s StartEventDataStoreIngestionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (StartEventDataStoreIngestionOutput) String ¶ added in v1.42.9
func (s StartEventDataStoreIngestionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StartImportInput ¶ added in v1.42.9
type StartImportInput struct { // The ARN of the destination event data store. Use this parameter for a new // import. Destinations []*string `min:"1" type:"list"` // Use with StartEventTime to bound a StartImport request, and limit imported // trail events to only those events logged within a specified time period. // When you specify a time range, CloudTrail checks the prefix and log file // names to verify the names contain a date between the specified StartEventTime // and EndEventTime before attempting to import events. EndEventTime *time.Time `type:"timestamp"` // The ID of the import. Use this parameter when you are retrying an import. ImportId *string `min:"36" type:"string"` // The source S3 bucket for the import. Use this parameter for a new import. ImportSource *ImportSource `type:"structure"` // Use with EndEventTime to bound a StartImport request, and limit imported // trail events to only those events logged within a specified time period. // When you specify a time range, CloudTrail checks the prefix and log file // names to verify the names contain a date between the specified StartEventTime // and EndEventTime before attempting to import events. StartEventTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (StartImportInput) GoString ¶ added in v1.42.9
func (s StartImportInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartImportInput) SetDestinations ¶ added in v1.42.9
func (s *StartImportInput) SetDestinations(v []*string) *StartImportInput
SetDestinations sets the Destinations field's value.
func (*StartImportInput) SetEndEventTime ¶ added in v1.42.9
func (s *StartImportInput) SetEndEventTime(v time.Time) *StartImportInput
SetEndEventTime sets the EndEventTime field's value.
func (*StartImportInput) SetImportId ¶ added in v1.42.9
func (s *StartImportInput) SetImportId(v string) *StartImportInput
SetImportId sets the ImportId field's value.
func (*StartImportInput) SetImportSource ¶ added in v1.42.9
func (s *StartImportInput) SetImportSource(v *ImportSource) *StartImportInput
SetImportSource sets the ImportSource field's value.
func (*StartImportInput) SetStartEventTime ¶ added in v1.42.9
func (s *StartImportInput) SetStartEventTime(v time.Time) *StartImportInput
SetStartEventTime sets the StartEventTime field's value.
func (StartImportInput) String ¶ added in v1.42.9
func (s StartImportInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartImportInput) Validate ¶ added in v1.42.9
func (s *StartImportInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartImportOutput ¶ added in v1.42.9
type StartImportOutput struct { // The timestamp for the import's creation. CreatedTimestamp *time.Time `type:"timestamp"` // The ARN of the destination event data store. Destinations []*string `min:"1" type:"list"` // Used with StartEventTime to bound a StartImport request, and limit imported // trail events to only those events logged within a specified time period. EndEventTime *time.Time `type:"timestamp"` // The ID of the import. ImportId *string `min:"36" type:"string"` // The source S3 bucket for the import. ImportSource *ImportSource `type:"structure"` // Shows the status of the import after a StartImport request. An import finishes // with a status of COMPLETED if there were no failures, or FAILED if there // were failures. ImportStatus *string `type:"string" enum:"ImportStatus"` // Used with EndEventTime to bound a StartImport request, and limit imported // trail events to only those events logged within a specified time period. StartEventTime *time.Time `type:"timestamp"` // The timestamp of the import's last update, if applicable. UpdatedTimestamp *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (StartImportOutput) GoString ¶ added in v1.42.9
func (s StartImportOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartImportOutput) SetCreatedTimestamp ¶ added in v1.42.9
func (s *StartImportOutput) SetCreatedTimestamp(v time.Time) *StartImportOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (*StartImportOutput) SetDestinations ¶ added in v1.42.9
func (s *StartImportOutput) SetDestinations(v []*string) *StartImportOutput
SetDestinations sets the Destinations field's value.
func (*StartImportOutput) SetEndEventTime ¶ added in v1.42.9
func (s *StartImportOutput) SetEndEventTime(v time.Time) *StartImportOutput
SetEndEventTime sets the EndEventTime field's value.
func (*StartImportOutput) SetImportId ¶ added in v1.42.9
func (s *StartImportOutput) SetImportId(v string) *StartImportOutput
SetImportId sets the ImportId field's value.
func (*StartImportOutput) SetImportSource ¶ added in v1.42.9
func (s *StartImportOutput) SetImportSource(v *ImportSource) *StartImportOutput
SetImportSource sets the ImportSource field's value.
func (*StartImportOutput) SetImportStatus ¶ added in v1.42.9
func (s *StartImportOutput) SetImportStatus(v string) *StartImportOutput
SetImportStatus sets the ImportStatus field's value.
func (*StartImportOutput) SetStartEventTime ¶ added in v1.42.9
func (s *StartImportOutput) SetStartEventTime(v time.Time) *StartImportOutput
SetStartEventTime sets the StartEventTime field's value.
func (*StartImportOutput) SetUpdatedTimestamp ¶ added in v1.42.9
func (s *StartImportOutput) SetUpdatedTimestamp(v time.Time) *StartImportOutput
SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
func (StartImportOutput) String ¶ added in v1.42.9
func (s StartImportOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StartLoggingInput ¶
type StartLoggingInput struct { // Specifies the name or the CloudTrail ARN of the trail for which CloudTrail // logs Amazon Web Services API calls. The following is the format of a trail // ARN. // // arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail // // Name is a required field Name *string `type:"string" required:"true"` // contains filtered or unexported fields }
The request to CloudTrail to start logging Amazon Web Services API calls for an account.
func (StartLoggingInput) GoString ¶
func (s StartLoggingInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartLoggingInput) SetName ¶
func (s *StartLoggingInput) SetName(v string) *StartLoggingInput
SetName sets the Name field's value.
func (StartLoggingInput) String ¶
func (s StartLoggingInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartLoggingInput) Validate ¶
func (s *StartLoggingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartLoggingOutput ¶
type StartLoggingOutput struct {
// contains filtered or unexported fields
}
Returns the objects or data listed below if successful. Otherwise, returns an error.
func (StartLoggingOutput) GoString ¶
func (s StartLoggingOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (StartLoggingOutput) String ¶
func (s StartLoggingOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StartQueryInput ¶ added in v1.42.9
type StartQueryInput struct { // The URI for the S3 bucket where CloudTrail delivers the query results. DeliveryS3Uri *string `type:"string"` // The alias that identifies a query template. QueryAlias *string `min:"1" type:"string"` // The query parameters for the specified QueryAlias. QueryParameters []*string `min:"1" type:"list"` // The SQL code of your query. QueryStatement *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (StartQueryInput) GoString ¶ added in v1.42.9
func (s StartQueryInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartQueryInput) SetDeliveryS3Uri ¶ added in v1.42.9
func (s *StartQueryInput) SetDeliveryS3Uri(v string) *StartQueryInput
SetDeliveryS3Uri sets the DeliveryS3Uri field's value.
func (*StartQueryInput) SetQueryAlias ¶ added in v1.42.9
func (s *StartQueryInput) SetQueryAlias(v string) *StartQueryInput
SetQueryAlias sets the QueryAlias field's value.
func (*StartQueryInput) SetQueryParameters ¶ added in v1.42.9
func (s *StartQueryInput) SetQueryParameters(v []*string) *StartQueryInput
SetQueryParameters sets the QueryParameters field's value.
func (*StartQueryInput) SetQueryStatement ¶ added in v1.42.9
func (s *StartQueryInput) SetQueryStatement(v string) *StartQueryInput
SetQueryStatement sets the QueryStatement field's value.
func (StartQueryInput) String ¶ added in v1.42.9
func (s StartQueryInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartQueryInput) Validate ¶ added in v1.42.9
func (s *StartQueryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartQueryOutput ¶ added in v1.42.9
type StartQueryOutput struct { // The ID of the started query. QueryId *string `min:"36" type:"string"` // contains filtered or unexported fields }
func (StartQueryOutput) GoString ¶ added in v1.42.9
func (s StartQueryOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartQueryOutput) SetQueryId ¶ added in v1.42.9
func (s *StartQueryOutput) SetQueryId(v string) *StartQueryOutput
SetQueryId sets the QueryId field's value.
func (StartQueryOutput) String ¶ added in v1.42.9
func (s StartQueryOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StopEventDataStoreIngestionInput ¶ added in v1.42.9
type StopEventDataStoreIngestionInput struct { // The ARN (or ID suffix of the ARN) of the event data store for which you want // to stop ingestion. // // EventDataStore is a required field EventDataStore *string `min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (StopEventDataStoreIngestionInput) GoString ¶ added in v1.42.9
func (s StopEventDataStoreIngestionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopEventDataStoreIngestionInput) SetEventDataStore ¶ added in v1.42.9
func (s *StopEventDataStoreIngestionInput) SetEventDataStore(v string) *StopEventDataStoreIngestionInput
SetEventDataStore sets the EventDataStore field's value.
func (StopEventDataStoreIngestionInput) String ¶ added in v1.42.9
func (s StopEventDataStoreIngestionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopEventDataStoreIngestionInput) Validate ¶ added in v1.42.9
func (s *StopEventDataStoreIngestionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopEventDataStoreIngestionOutput ¶ added in v1.42.9
type StopEventDataStoreIngestionOutput struct {
// contains filtered or unexported fields
}
func (StopEventDataStoreIngestionOutput) GoString ¶ added in v1.42.9
func (s StopEventDataStoreIngestionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (StopEventDataStoreIngestionOutput) String ¶ added in v1.42.9
func (s StopEventDataStoreIngestionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StopImportInput ¶ added in v1.42.9
type StopImportInput struct { // The ID of the import. // // ImportId is a required field ImportId *string `min:"36" type:"string" required:"true"` // contains filtered or unexported fields }
func (StopImportInput) GoString ¶ added in v1.42.9
func (s StopImportInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopImportInput) SetImportId ¶ added in v1.42.9
func (s *StopImportInput) SetImportId(v string) *StopImportInput
SetImportId sets the ImportId field's value.
func (StopImportInput) String ¶ added in v1.42.9
func (s StopImportInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopImportInput) Validate ¶ added in v1.42.9
func (s *StopImportInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopImportOutput ¶ added in v1.42.9
type StopImportOutput struct { // The timestamp of the import's creation. CreatedTimestamp *time.Time `type:"timestamp"` // The ARN of the destination event data store. Destinations []*string `min:"1" type:"list"` // Used with StartEventTime to bound a StartImport request, and limit imported // trail events to only those events logged within a specified time period. EndEventTime *time.Time `type:"timestamp"` // The ID for the import. ImportId *string `min:"36" type:"string"` // The source S3 bucket for the import. ImportSource *ImportSource `type:"structure"` // Returns information on the stopped import. ImportStatistics *ImportStatistics `type:"structure"` // The status of the import. ImportStatus *string `type:"string" enum:"ImportStatus"` // Used with EndEventTime to bound a StartImport request, and limit imported // trail events to only those events logged within a specified time period. StartEventTime *time.Time `type:"timestamp"` // The timestamp of the import's last update. UpdatedTimestamp *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (StopImportOutput) GoString ¶ added in v1.42.9
func (s StopImportOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopImportOutput) SetCreatedTimestamp ¶ added in v1.42.9
func (s *StopImportOutput) SetCreatedTimestamp(v time.Time) *StopImportOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (*StopImportOutput) SetDestinations ¶ added in v1.42.9
func (s *StopImportOutput) SetDestinations(v []*string) *StopImportOutput
SetDestinations sets the Destinations field's value.
func (*StopImportOutput) SetEndEventTime ¶ added in v1.42.9
func (s *StopImportOutput) SetEndEventTime(v time.Time) *StopImportOutput
SetEndEventTime sets the EndEventTime field's value.
func (*StopImportOutput) SetImportId ¶ added in v1.42.9
func (s *StopImportOutput) SetImportId(v string) *StopImportOutput
SetImportId sets the ImportId field's value.
func (*StopImportOutput) SetImportSource ¶ added in v1.42.9
func (s *StopImportOutput) SetImportSource(v *ImportSource) *StopImportOutput
SetImportSource sets the ImportSource field's value.
func (*StopImportOutput) SetImportStatistics ¶ added in v1.42.9
func (s *StopImportOutput) SetImportStatistics(v *ImportStatistics) *StopImportOutput
SetImportStatistics sets the ImportStatistics field's value.
func (*StopImportOutput) SetImportStatus ¶ added in v1.42.9
func (s *StopImportOutput) SetImportStatus(v string) *StopImportOutput
SetImportStatus sets the ImportStatus field's value.
func (*StopImportOutput) SetStartEventTime ¶ added in v1.42.9
func (s *StopImportOutput) SetStartEventTime(v time.Time) *StopImportOutput
SetStartEventTime sets the StartEventTime field's value.
func (*StopImportOutput) SetUpdatedTimestamp ¶ added in v1.42.9
func (s *StopImportOutput) SetUpdatedTimestamp(v time.Time) *StopImportOutput
SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
func (StopImportOutput) String ¶ added in v1.42.9
func (s StopImportOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StopLoggingInput ¶
type StopLoggingInput struct { // Specifies the name or the CloudTrail ARN of the trail for which CloudTrail // will stop logging Amazon Web Services API calls. The following is the format // of a trail ARN. // // arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail // // Name is a required field Name *string `type:"string" required:"true"` // contains filtered or unexported fields }
Passes the request to CloudTrail to stop logging Amazon Web Services API calls for the specified account.
func (StopLoggingInput) GoString ¶
func (s StopLoggingInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopLoggingInput) SetName ¶
func (s *StopLoggingInput) SetName(v string) *StopLoggingInput
SetName sets the Name field's value.
func (StopLoggingInput) String ¶
func (s StopLoggingInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopLoggingInput) Validate ¶
func (s *StopLoggingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopLoggingOutput ¶
type StopLoggingOutput struct {
// contains filtered or unexported fields
}
Returns the objects or data listed below if successful. Otherwise, returns an error.
func (StopLoggingOutput) GoString ¶
func (s StopLoggingOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (StopLoggingOutput) String ¶
func (s StopLoggingOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Tag ¶
type Tag struct { // The key in a key-value pair. The key must be must be no longer than 128 Unicode // characters. The key must be unique for the resource to which it applies. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The value in a key-value pair of a tag. The value must be no longer than // 256 Unicode characters. Value *string `min:"1" type:"string"` // contains filtered or unexported fields }
A custom key-value pair associated with a resource such as a CloudTrail trail, event data store, or channel.
func (Tag) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TagsLimitExceededException ¶
type TagsLimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The number of tags per trail, event data store, or channel has exceeded the permitted amount. Currently, the limit is 50.
func (*TagsLimitExceededException) Code ¶
func (s *TagsLimitExceededException) Code() string
Code returns the exception type name.
func (*TagsLimitExceededException) Error ¶
func (s *TagsLimitExceededException) Error() string
func (TagsLimitExceededException) GoString ¶
func (s TagsLimitExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagsLimitExceededException) Message ¶
func (s *TagsLimitExceededException) Message() string
Message returns the exception's message.
func (*TagsLimitExceededException) OrigErr ¶
func (s *TagsLimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*TagsLimitExceededException) RequestID ¶
func (s *TagsLimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*TagsLimitExceededException) StatusCode ¶
func (s *TagsLimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (TagsLimitExceededException) String ¶
func (s TagsLimitExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Trail ¶
type Trail struct { // Specifies an Amazon Resource Name (ARN), a unique identifier that represents // the log group to which CloudTrail logs will be delivered. CloudWatchLogsLogGroupArn *string `type:"string"` // Specifies the role for the CloudWatch Logs endpoint to assume to write to // a user's log group. CloudWatchLogsRoleArn *string `type:"string"` // Specifies if the trail has custom event selectors. HasCustomEventSelectors *bool `type:"boolean"` // Specifies whether a trail has insight types specified in an InsightSelector // list. HasInsightSelectors *bool `type:"boolean"` // The Region in which the trail was created. HomeRegion *string `type:"string"` // Set to True to include Amazon Web Services API calls from Amazon Web Services // global services such as IAM. Otherwise, False. IncludeGlobalServiceEvents *bool `type:"boolean"` // Specifies whether the trail exists only in one Region or exists in all Regions. IsMultiRegionTrail *bool `type:"boolean"` // Specifies whether the trail is an organization trail. IsOrganizationTrail *bool `type:"boolean"` // Specifies the KMS key ID that encrypts the logs delivered by CloudTrail. // The value is a fully specified ARN to a KMS key in the following format. // // arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 KmsKeyId *string `type:"string"` // Specifies whether log file validation is enabled. LogFileValidationEnabled *bool `type:"boolean"` // Name of the trail set by calling CreateTrail. The maximum length is 128 characters. Name *string `type:"string"` // Name of the Amazon S3 bucket into which CloudTrail delivers your trail files. // See Amazon S3 Bucket Naming Requirements (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_naming_policy.html). S3BucketName *string `type:"string"` // Specifies the Amazon S3 key prefix that comes after the name of the bucket // you have designated for log file delivery. For more information, see Finding // Your CloudTrail Log Files (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html). // The maximum length is 200 characters. S3KeyPrefix *string `type:"string"` // Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications // when log files are delivered. The following is the format of a topic ARN. // // arn:aws:sns:us-east-2:123456789012:MyTopic SnsTopicARN *string `type:"string"` // This field is no longer in use. Use SnsTopicARN. // // Deprecated: SnsTopicName has been deprecated SnsTopicName *string `deprecated:"true" type:"string"` // Specifies the ARN of the trail. The following is the format of a trail ARN. // // arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail TrailARN *string `type:"string"` // contains filtered or unexported fields }
The settings for a trail.
func (Trail) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Trail) SetCloudWatchLogsLogGroupArn ¶
SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value.
func (*Trail) SetCloudWatchLogsRoleArn ¶
SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value.
func (*Trail) SetHasCustomEventSelectors ¶
SetHasCustomEventSelectors sets the HasCustomEventSelectors field's value.
func (*Trail) SetHasInsightSelectors ¶
SetHasInsightSelectors sets the HasInsightSelectors field's value.
func (*Trail) SetHomeRegion ¶
SetHomeRegion sets the HomeRegion field's value.
func (*Trail) SetIncludeGlobalServiceEvents ¶
SetIncludeGlobalServiceEvents sets the IncludeGlobalServiceEvents field's value.
func (*Trail) SetIsMultiRegionTrail ¶
SetIsMultiRegionTrail sets the IsMultiRegionTrail field's value.
func (*Trail) SetIsOrganizationTrail ¶
SetIsOrganizationTrail sets the IsOrganizationTrail field's value.
func (*Trail) SetKmsKeyId ¶
SetKmsKeyId sets the KmsKeyId field's value.
func (*Trail) SetLogFileValidationEnabled ¶
SetLogFileValidationEnabled sets the LogFileValidationEnabled field's value.
func (*Trail) SetS3BucketName ¶
SetS3BucketName sets the S3BucketName field's value.
func (*Trail) SetS3KeyPrefix ¶
SetS3KeyPrefix sets the S3KeyPrefix field's value.
func (*Trail) SetSnsTopicARN ¶
SetSnsTopicARN sets the SnsTopicARN field's value.
func (*Trail) SetSnsTopicName ¶
SetSnsTopicName sets the SnsTopicName field's value.
func (*Trail) SetTrailARN ¶
SetTrailARN sets the TrailARN field's value.
type TrailAlreadyExistsException ¶
type TrailAlreadyExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the specified trail already exists.
func (*TrailAlreadyExistsException) Code ¶
func (s *TrailAlreadyExistsException) Code() string
Code returns the exception type name.
func (*TrailAlreadyExistsException) Error ¶
func (s *TrailAlreadyExistsException) Error() string
func (TrailAlreadyExistsException) GoString ¶
func (s TrailAlreadyExistsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TrailAlreadyExistsException) Message ¶
func (s *TrailAlreadyExistsException) Message() string
Message returns the exception's message.
func (*TrailAlreadyExistsException) OrigErr ¶
func (s *TrailAlreadyExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*TrailAlreadyExistsException) RequestID ¶
func (s *TrailAlreadyExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*TrailAlreadyExistsException) StatusCode ¶
func (s *TrailAlreadyExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (TrailAlreadyExistsException) String ¶
func (s TrailAlreadyExistsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TrailInfo ¶
type TrailInfo struct { // The Amazon Web Services Region in which a trail was created. HomeRegion *string `type:"string"` // The name of a trail. Name *string `type:"string"` // The ARN of a trail. TrailARN *string `type:"string"` // contains filtered or unexported fields }
Information about a CloudTrail trail, including the trail's name, home Region, and Amazon Resource Name (ARN).
func (TrailInfo) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TrailInfo) SetHomeRegion ¶
SetHomeRegion sets the HomeRegion field's value.
func (*TrailInfo) SetTrailARN ¶
SetTrailARN sets the TrailARN field's value.
type TrailNotFoundException ¶
type TrailNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the trail with the given name is not found.
func (*TrailNotFoundException) Code ¶
func (s *TrailNotFoundException) Code() string
Code returns the exception type name.
func (*TrailNotFoundException) Error ¶
func (s *TrailNotFoundException) Error() string
func (TrailNotFoundException) GoString ¶
func (s TrailNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TrailNotFoundException) Message ¶
func (s *TrailNotFoundException) Message() string
Message returns the exception's message.
func (*TrailNotFoundException) OrigErr ¶
func (s *TrailNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*TrailNotFoundException) RequestID ¶
func (s *TrailNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*TrailNotFoundException) StatusCode ¶
func (s *TrailNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (TrailNotFoundException) String ¶
func (s TrailNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TrailNotProvidedException ¶
type TrailNotProvidedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is no longer in use.
func (*TrailNotProvidedException) Code ¶
func (s *TrailNotProvidedException) Code() string
Code returns the exception type name.
func (*TrailNotProvidedException) Error ¶
func (s *TrailNotProvidedException) Error() string
func (TrailNotProvidedException) GoString ¶
func (s TrailNotProvidedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TrailNotProvidedException) Message ¶
func (s *TrailNotProvidedException) Message() string
Message returns the exception's message.
func (*TrailNotProvidedException) OrigErr ¶
func (s *TrailNotProvidedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*TrailNotProvidedException) RequestID ¶
func (s *TrailNotProvidedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*TrailNotProvidedException) StatusCode ¶
func (s *TrailNotProvidedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (TrailNotProvidedException) String ¶
func (s TrailNotProvidedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UnsupportedOperationException ¶
type UnsupportedOperationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the requested operation is not supported.
func (*UnsupportedOperationException) Code ¶
func (s *UnsupportedOperationException) Code() string
Code returns the exception type name.
func (*UnsupportedOperationException) Error ¶
func (s *UnsupportedOperationException) Error() string
func (UnsupportedOperationException) GoString ¶
func (s UnsupportedOperationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UnsupportedOperationException) Message ¶
func (s *UnsupportedOperationException) Message() string
Message returns the exception's message.
func (*UnsupportedOperationException) OrigErr ¶
func (s *UnsupportedOperationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UnsupportedOperationException) RequestID ¶
func (s *UnsupportedOperationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UnsupportedOperationException) StatusCode ¶
func (s *UnsupportedOperationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UnsupportedOperationException) String ¶
func (s UnsupportedOperationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateChannelInput ¶ added in v1.42.9
type UpdateChannelInput struct { // The ARN or ID (the ARN suffix) of the channel that you want to update. // // Channel is a required field Channel *string `min:"3" type:"string" required:"true"` // The ARNs of event data stores that you want to log events arriving through // the channel. Destinations []*Destination `min:"1" type:"list"` // Changes the name of the channel. Name *string `min:"3" type:"string"` // contains filtered or unexported fields }
func (UpdateChannelInput) GoString ¶ added in v1.42.9
func (s UpdateChannelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateChannelInput) SetChannel ¶ added in v1.42.9
func (s *UpdateChannelInput) SetChannel(v string) *UpdateChannelInput
SetChannel sets the Channel field's value.
func (*UpdateChannelInput) SetDestinations ¶ added in v1.42.9
func (s *UpdateChannelInput) SetDestinations(v []*Destination) *UpdateChannelInput
SetDestinations sets the Destinations field's value.
func (*UpdateChannelInput) SetName ¶ added in v1.42.9
func (s *UpdateChannelInput) SetName(v string) *UpdateChannelInput
SetName sets the Name field's value.
func (UpdateChannelInput) String ¶ added in v1.42.9
func (s UpdateChannelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateChannelInput) Validate ¶ added in v1.42.9
func (s *UpdateChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateChannelOutput ¶ added in v1.42.9
type UpdateChannelOutput struct { // The ARN of the channel that was updated. ChannelArn *string `min:"3" type:"string"` // The event data stores that log events arriving through the channel. Destinations []*Destination `min:"1" type:"list"` // The name of the channel that was updated. Name *string `min:"3" type:"string"` // The event source of the channel that was updated. Source *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (UpdateChannelOutput) GoString ¶ added in v1.42.9
func (s UpdateChannelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateChannelOutput) SetChannelArn ¶ added in v1.42.9
func (s *UpdateChannelOutput) SetChannelArn(v string) *UpdateChannelOutput
SetChannelArn sets the ChannelArn field's value.
func (*UpdateChannelOutput) SetDestinations ¶ added in v1.42.9
func (s *UpdateChannelOutput) SetDestinations(v []*Destination) *UpdateChannelOutput
SetDestinations sets the Destinations field's value.
func (*UpdateChannelOutput) SetName ¶ added in v1.42.9
func (s *UpdateChannelOutput) SetName(v string) *UpdateChannelOutput
SetName sets the Name field's value.
func (*UpdateChannelOutput) SetSource ¶ added in v1.42.9
func (s *UpdateChannelOutput) SetSource(v string) *UpdateChannelOutput
SetSource sets the Source field's value.
func (UpdateChannelOutput) String ¶ added in v1.42.9
func (s UpdateChannelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateEventDataStoreInput ¶ added in v1.42.9
type UpdateEventDataStoreInput struct { // The advanced event selectors used to select events for the event data store. // You can configure up to five advanced event selectors for each event data // store. AdvancedEventSelectors []*AdvancedEventSelector `type:"list"` // The ARN (or the ID suffix of the ARN) of the event data store that you want // to update. // // EventDataStore is a required field EventDataStore *string `min:"3" type:"string" required:"true"` // Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. // The value can be an alias name prefixed by alias/, a fully specified ARN // to an alias, a fully specified ARN to a key, or a globally unique identifier. // // Disabling or deleting the KMS key, or removing CloudTrail permissions on // the key, prevents CloudTrail from logging events to the event data store, // and prevents users from querying the data in the event data store that was // encrypted with the key. After you associate an event data store with a KMS // key, the KMS key cannot be removed or changed. Before you disable or delete // a KMS key that you are using with an event data store, delete or back up // your event data store. // // CloudTrail also supports KMS multi-Region keys. For more information about // multi-Region keys, see Using multi-Region keys (https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html) // in the Key Management Service Developer Guide. // // Examples: // // * alias/MyAliasName // // * arn:aws:kms:us-east-2:123456789012:alias/MyAliasName // // * arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 // // * 12345678-1234-1234-1234-123456789012 KmsKeyId *string `min:"1" type:"string"` // Specifies whether an event data store collects events from all Regions, or // only from the Region in which it was created. MultiRegionEnabled *bool `type:"boolean"` // The event data store name. Name *string `min:"3" type:"string"` // Specifies whether an event data store collects events logged for an organization // in Organizations. OrganizationEnabled *bool `type:"boolean"` // The retention period, in days. RetentionPeriod *int64 `min:"7" type:"integer"` // Indicates that termination protection is enabled and the event data store // cannot be automatically deleted. TerminationProtectionEnabled *bool `type:"boolean"` // contains filtered or unexported fields }
func (UpdateEventDataStoreInput) GoString ¶ added in v1.42.9
func (s UpdateEventDataStoreInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateEventDataStoreInput) SetAdvancedEventSelectors ¶ added in v1.42.9
func (s *UpdateEventDataStoreInput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *UpdateEventDataStoreInput
SetAdvancedEventSelectors sets the AdvancedEventSelectors field's value.
func (*UpdateEventDataStoreInput) SetEventDataStore ¶ added in v1.42.9
func (s *UpdateEventDataStoreInput) SetEventDataStore(v string) *UpdateEventDataStoreInput
SetEventDataStore sets the EventDataStore field's value.
func (*UpdateEventDataStoreInput) SetKmsKeyId ¶ added in v1.42.9
func (s *UpdateEventDataStoreInput) SetKmsKeyId(v string) *UpdateEventDataStoreInput
SetKmsKeyId sets the KmsKeyId field's value.
func (*UpdateEventDataStoreInput) SetMultiRegionEnabled ¶ added in v1.42.9
func (s *UpdateEventDataStoreInput) SetMultiRegionEnabled(v bool) *UpdateEventDataStoreInput
SetMultiRegionEnabled sets the MultiRegionEnabled field's value.
func (*UpdateEventDataStoreInput) SetName ¶ added in v1.42.9
func (s *UpdateEventDataStoreInput) SetName(v string) *UpdateEventDataStoreInput
SetName sets the Name field's value.
func (*UpdateEventDataStoreInput) SetOrganizationEnabled ¶ added in v1.42.9
func (s *UpdateEventDataStoreInput) SetOrganizationEnabled(v bool) *UpdateEventDataStoreInput
SetOrganizationEnabled sets the OrganizationEnabled field's value.
func (*UpdateEventDataStoreInput) SetRetentionPeriod ¶ added in v1.42.9
func (s *UpdateEventDataStoreInput) SetRetentionPeriod(v int64) *UpdateEventDataStoreInput
SetRetentionPeriod sets the RetentionPeriod field's value.
func (*UpdateEventDataStoreInput) SetTerminationProtectionEnabled ¶ added in v1.42.9
func (s *UpdateEventDataStoreInput) SetTerminationProtectionEnabled(v bool) *UpdateEventDataStoreInput
SetTerminationProtectionEnabled sets the TerminationProtectionEnabled field's value.
func (UpdateEventDataStoreInput) String ¶ added in v1.42.9
func (s UpdateEventDataStoreInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateEventDataStoreInput) Validate ¶ added in v1.42.9
func (s *UpdateEventDataStoreInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateEventDataStoreOutput ¶ added in v1.42.9
type UpdateEventDataStoreOutput struct { // The advanced event selectors that are applied to the event data store. AdvancedEventSelectors []*AdvancedEventSelector `type:"list"` // The timestamp that shows when an event data store was first created. CreatedTimestamp *time.Time `type:"timestamp"` // The ARN of the event data store. EventDataStoreArn *string `min:"3" type:"string"` // Specifies the KMS key ID that encrypts the events delivered by CloudTrail. // The value is a fully specified ARN to a KMS key in the following format. // // arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 KmsKeyId *string `min:"1" type:"string"` // Indicates whether the event data store includes events from all Regions, // or only from the Region in which it was created. MultiRegionEnabled *bool `type:"boolean"` // The name of the event data store. Name *string `min:"3" type:"string"` // Indicates whether an event data store is collecting logged events for an // organization in Organizations. OrganizationEnabled *bool `type:"boolean"` // The retention period, in days. RetentionPeriod *int64 `min:"7" type:"integer"` // The status of an event data store. Status *string `type:"string" enum:"EventDataStoreStatus"` // Indicates whether termination protection is enabled for the event data store. TerminationProtectionEnabled *bool `type:"boolean"` // The timestamp that shows when the event data store was last updated. UpdatedTimestamp // is always either the same or newer than the time shown in CreatedTimestamp. UpdatedTimestamp *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (UpdateEventDataStoreOutput) GoString ¶ added in v1.42.9
func (s UpdateEventDataStoreOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateEventDataStoreOutput) SetAdvancedEventSelectors ¶ added in v1.42.9
func (s *UpdateEventDataStoreOutput) SetAdvancedEventSelectors(v []*AdvancedEventSelector) *UpdateEventDataStoreOutput
SetAdvancedEventSelectors sets the AdvancedEventSelectors field's value.
func (*UpdateEventDataStoreOutput) SetCreatedTimestamp ¶ added in v1.42.9
func (s *UpdateEventDataStoreOutput) SetCreatedTimestamp(v time.Time) *UpdateEventDataStoreOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (*UpdateEventDataStoreOutput) SetEventDataStoreArn ¶ added in v1.42.9
func (s *UpdateEventDataStoreOutput) SetEventDataStoreArn(v string) *UpdateEventDataStoreOutput
SetEventDataStoreArn sets the EventDataStoreArn field's value.
func (*UpdateEventDataStoreOutput) SetKmsKeyId ¶ added in v1.42.9
func (s *UpdateEventDataStoreOutput) SetKmsKeyId(v string) *UpdateEventDataStoreOutput
SetKmsKeyId sets the KmsKeyId field's value.
func (*UpdateEventDataStoreOutput) SetMultiRegionEnabled ¶ added in v1.42.9
func (s *UpdateEventDataStoreOutput) SetMultiRegionEnabled(v bool) *UpdateEventDataStoreOutput
SetMultiRegionEnabled sets the MultiRegionEnabled field's value.
func (*UpdateEventDataStoreOutput) SetName ¶ added in v1.42.9
func (s *UpdateEventDataStoreOutput) SetName(v string) *UpdateEventDataStoreOutput
SetName sets the Name field's value.
func (*UpdateEventDataStoreOutput) SetOrganizationEnabled ¶ added in v1.42.9
func (s *UpdateEventDataStoreOutput) SetOrganizationEnabled(v bool) *UpdateEventDataStoreOutput
SetOrganizationEnabled sets the OrganizationEnabled field's value.
func (*UpdateEventDataStoreOutput) SetRetentionPeriod ¶ added in v1.42.9
func (s *UpdateEventDataStoreOutput) SetRetentionPeriod(v int64) *UpdateEventDataStoreOutput
SetRetentionPeriod sets the RetentionPeriod field's value.
func (*UpdateEventDataStoreOutput) SetStatus ¶ added in v1.42.9
func (s *UpdateEventDataStoreOutput) SetStatus(v string) *UpdateEventDataStoreOutput
SetStatus sets the Status field's value.
func (*UpdateEventDataStoreOutput) SetTerminationProtectionEnabled ¶ added in v1.42.9
func (s *UpdateEventDataStoreOutput) SetTerminationProtectionEnabled(v bool) *UpdateEventDataStoreOutput
SetTerminationProtectionEnabled sets the TerminationProtectionEnabled field's value.
func (*UpdateEventDataStoreOutput) SetUpdatedTimestamp ¶ added in v1.42.9
func (s *UpdateEventDataStoreOutput) SetUpdatedTimestamp(v time.Time) *UpdateEventDataStoreOutput
SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
func (UpdateEventDataStoreOutput) String ¶ added in v1.42.9
func (s UpdateEventDataStoreOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateTrailInput ¶
type UpdateTrailInput struct { // Specifies a log group name using an Amazon Resource Name (ARN), a unique // identifier that represents the log group to which CloudTrail logs are delivered. // You must use a log group that exists in your account. // // Not required unless you specify CloudWatchLogsRoleArn. CloudWatchLogsLogGroupArn *string `type:"string"` // Specifies the role for the CloudWatch Logs endpoint to assume to write to // a user's log group. You must use a role that exists in your account. CloudWatchLogsRoleArn *string `type:"string"` // Specifies whether log file validation is enabled. The default is false. // // When you disable log file integrity validation, the chain of digest files // is broken after one hour. CloudTrail does not create digest files for log // files that were delivered during a period in which log file integrity validation // was disabled. For example, if you enable log file integrity validation at // noon on January 1, disable it at noon on January 2, and re-enable it at noon // on January 10, digest files will not be created for the log files delivered // from noon on January 2 to noon on January 10. The same applies whenever you // stop CloudTrail logging or delete a trail. EnableLogFileValidation *bool `type:"boolean"` // Specifies whether the trail is publishing events from global services such // as IAM to the log files. IncludeGlobalServiceEvents *bool `type:"boolean"` // Specifies whether the trail applies only to the current Region or to all // Regions. The default is false. If the trail exists only in the current Region // and this value is set to true, shadow trails (replications of the trail) // will be created in the other Regions. If the trail exists in all Regions // and this value is set to false, the trail will remain in the Region where // it was created, and its shadow trails in other Regions will be deleted. As // a best practice, consider using trails that log events in all Regions. IsMultiRegionTrail *bool `type:"boolean"` // Specifies whether the trail is applied to all accounts in an organization // in Organizations, or only for the current Amazon Web Services account. The // default is false, and cannot be true unless the call is made on behalf of // an Amazon Web Services account that is the management account or delegated // administrator account for an organization in Organizations. If the trail // is not an organization trail and this is set to true, the trail will be created // in all Amazon Web Services accounts that belong to the organization. If the // trail is an organization trail and this is set to false, the trail will remain // in the current Amazon Web Services account but be deleted from all member // accounts in the organization. IsOrganizationTrail *bool `type:"boolean"` // Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. // The value can be an alias name prefixed by "alias/", a fully specified ARN // to an alias, a fully specified ARN to a key, or a globally unique identifier. // // CloudTrail also supports KMS multi-Region keys. For more information about // multi-Region keys, see Using multi-Region keys (https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html) // in the Key Management Service Developer Guide. // // Examples: // // * alias/MyAliasName // // * arn:aws:kms:us-east-2:123456789012:alias/MyAliasName // // * arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 // // * 12345678-1234-1234-1234-123456789012 KmsKeyId *string `type:"string"` // Specifies the name of the trail or trail ARN. If Name is a trail name, the // string must meet the following requirements: // // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores // (_), or dashes (-) // // * Start with a letter or number, and end with a letter or number // // * Be between 3 and 128 characters // // * Have no adjacent periods, underscores or dashes. Names like my-_namespace // and my--namespace are not valid. // // * Not be in IP address format (for example, 192.168.5.4) // // If Name is a trail ARN, it must be in the following format. // // arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail // // Name is a required field Name *string `type:"string" required:"true"` // Specifies the name of the Amazon S3 bucket designated for publishing log // files. See Amazon S3 Bucket Naming Requirements (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_naming_policy.html). S3BucketName *string `type:"string"` // Specifies the Amazon S3 key prefix that comes after the name of the bucket // you have designated for log file delivery. For more information, see Finding // Your CloudTrail Log Files (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html). // The maximum length is 200 characters. S3KeyPrefix *string `type:"string"` // Specifies the name of the Amazon SNS topic defined for notification of log // file delivery. The maximum length is 256 characters. SnsTopicName *string `type:"string"` // contains filtered or unexported fields }
Specifies settings to update for the trail.
func (UpdateTrailInput) GoString ¶
func (s UpdateTrailInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateTrailInput) SetCloudWatchLogsLogGroupArn ¶
func (s *UpdateTrailInput) SetCloudWatchLogsLogGroupArn(v string) *UpdateTrailInput
SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value.
func (*UpdateTrailInput) SetCloudWatchLogsRoleArn ¶
func (s *UpdateTrailInput) SetCloudWatchLogsRoleArn(v string) *UpdateTrailInput
SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value.
func (*UpdateTrailInput) SetEnableLogFileValidation ¶
func (s *UpdateTrailInput) SetEnableLogFileValidation(v bool) *UpdateTrailInput
SetEnableLogFileValidation sets the EnableLogFileValidation field's value.
func (*UpdateTrailInput) SetIncludeGlobalServiceEvents ¶
func (s *UpdateTrailInput) SetIncludeGlobalServiceEvents(v bool) *UpdateTrailInput
SetIncludeGlobalServiceEvents sets the IncludeGlobalServiceEvents field's value.
func (*UpdateTrailInput) SetIsMultiRegionTrail ¶
func (s *UpdateTrailInput) SetIsMultiRegionTrail(v bool) *UpdateTrailInput
SetIsMultiRegionTrail sets the IsMultiRegionTrail field's value.
func (*UpdateTrailInput) SetIsOrganizationTrail ¶
func (s *UpdateTrailInput) SetIsOrganizationTrail(v bool) *UpdateTrailInput
SetIsOrganizationTrail sets the IsOrganizationTrail field's value.
func (*UpdateTrailInput) SetKmsKeyId ¶
func (s *UpdateTrailInput) SetKmsKeyId(v string) *UpdateTrailInput
SetKmsKeyId sets the KmsKeyId field's value.
func (*UpdateTrailInput) SetName ¶
func (s *UpdateTrailInput) SetName(v string) *UpdateTrailInput
SetName sets the Name field's value.
func (*UpdateTrailInput) SetS3BucketName ¶
func (s *UpdateTrailInput) SetS3BucketName(v string) *UpdateTrailInput
SetS3BucketName sets the S3BucketName field's value.
func (*UpdateTrailInput) SetS3KeyPrefix ¶
func (s *UpdateTrailInput) SetS3KeyPrefix(v string) *UpdateTrailInput
SetS3KeyPrefix sets the S3KeyPrefix field's value.
func (*UpdateTrailInput) SetSnsTopicName ¶
func (s *UpdateTrailInput) SetSnsTopicName(v string) *UpdateTrailInput
SetSnsTopicName sets the SnsTopicName field's value.
func (UpdateTrailInput) String ¶
func (s UpdateTrailInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateTrailInput) Validate ¶
func (s *UpdateTrailInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateTrailOutput ¶
type UpdateTrailOutput struct { // Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail // logs are delivered. CloudWatchLogsLogGroupArn *string `type:"string"` // Specifies the role for the CloudWatch Logs endpoint to assume to write to // a user's log group. CloudWatchLogsRoleArn *string `type:"string"` // Specifies whether the trail is publishing events from global services such // as IAM to the log files. IncludeGlobalServiceEvents *bool `type:"boolean"` // Specifies whether the trail exists in one Region or in all Regions. IsMultiRegionTrail *bool `type:"boolean"` // Specifies whether the trail is an organization trail. IsOrganizationTrail *bool `type:"boolean"` // Specifies the KMS key ID that encrypts the logs delivered by CloudTrail. // The value is a fully specified ARN to a KMS key in the following format. // // arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 KmsKeyId *string `type:"string"` // Specifies whether log file integrity validation is enabled. LogFileValidationEnabled *bool `type:"boolean"` // Specifies the name of the trail. Name *string `type:"string"` // Specifies the name of the Amazon S3 bucket designated for publishing log // files. S3BucketName *string `type:"string"` // Specifies the Amazon S3 key prefix that comes after the name of the bucket // you have designated for log file delivery. For more information, see Finding // Your IAM Log Files (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html). S3KeyPrefix *string `type:"string"` // Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications // when log files are delivered. The following is the format of a topic ARN. // // arn:aws:sns:us-east-2:123456789012:MyTopic SnsTopicARN *string `type:"string"` // This field is no longer in use. Use SnsTopicARN. // // Deprecated: SnsTopicName has been deprecated SnsTopicName *string `deprecated:"true" type:"string"` // Specifies the ARN of the trail that was updated. The following is the format // of a trail ARN. // // arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail TrailARN *string `type:"string"` // contains filtered or unexported fields }
Returns the objects or data listed below if successful. Otherwise, returns an error.
func (UpdateTrailOutput) GoString ¶
func (s UpdateTrailOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateTrailOutput) SetCloudWatchLogsLogGroupArn ¶
func (s *UpdateTrailOutput) SetCloudWatchLogsLogGroupArn(v string) *UpdateTrailOutput
SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value.
func (*UpdateTrailOutput) SetCloudWatchLogsRoleArn ¶
func (s *UpdateTrailOutput) SetCloudWatchLogsRoleArn(v string) *UpdateTrailOutput
SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value.
func (*UpdateTrailOutput) SetIncludeGlobalServiceEvents ¶
func (s *UpdateTrailOutput) SetIncludeGlobalServiceEvents(v bool) *UpdateTrailOutput
SetIncludeGlobalServiceEvents sets the IncludeGlobalServiceEvents field's value.
func (*UpdateTrailOutput) SetIsMultiRegionTrail ¶
func (s *UpdateTrailOutput) SetIsMultiRegionTrail(v bool) *UpdateTrailOutput
SetIsMultiRegionTrail sets the IsMultiRegionTrail field's value.
func (*UpdateTrailOutput) SetIsOrganizationTrail ¶
func (s *UpdateTrailOutput) SetIsOrganizationTrail(v bool) *UpdateTrailOutput
SetIsOrganizationTrail sets the IsOrganizationTrail field's value.
func (*UpdateTrailOutput) SetKmsKeyId ¶
func (s *UpdateTrailOutput) SetKmsKeyId(v string) *UpdateTrailOutput
SetKmsKeyId sets the KmsKeyId field's value.
func (*UpdateTrailOutput) SetLogFileValidationEnabled ¶
func (s *UpdateTrailOutput) SetLogFileValidationEnabled(v bool) *UpdateTrailOutput
SetLogFileValidationEnabled sets the LogFileValidationEnabled field's value.
func (*UpdateTrailOutput) SetName ¶
func (s *UpdateTrailOutput) SetName(v string) *UpdateTrailOutput
SetName sets the Name field's value.
func (*UpdateTrailOutput) SetS3BucketName ¶
func (s *UpdateTrailOutput) SetS3BucketName(v string) *UpdateTrailOutput
SetS3BucketName sets the S3BucketName field's value.
func (*UpdateTrailOutput) SetS3KeyPrefix ¶
func (s *UpdateTrailOutput) SetS3KeyPrefix(v string) *UpdateTrailOutput
SetS3KeyPrefix sets the S3KeyPrefix field's value.
func (*UpdateTrailOutput) SetSnsTopicARN ¶
func (s *UpdateTrailOutput) SetSnsTopicARN(v string) *UpdateTrailOutput
SetSnsTopicARN sets the SnsTopicARN field's value.
func (*UpdateTrailOutput) SetSnsTopicName ¶
func (s *UpdateTrailOutput) SetSnsTopicName(v string) *UpdateTrailOutput
SetSnsTopicName sets the SnsTopicName field's value.
func (*UpdateTrailOutput) SetTrailARN ¶
func (s *UpdateTrailOutput) SetTrailARN(v string) *UpdateTrailOutput
SetTrailARN sets the TrailARN field's value.
func (UpdateTrailOutput) String ¶
func (s UpdateTrailOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
Directories ¶
Path | Synopsis |
---|---|
Package cloudtrailiface provides an interface to enable mocking the AWS CloudTrail service client for testing your code.
|
Package cloudtrailiface provides an interface to enable mocking the AWS CloudTrail service client for testing your code. |