Documentation ¶
Overview ¶
Package cloudwatchlogs provides the client and types for making API requests to Amazon CloudWatch Logs.
You can use Amazon CloudWatch Logs to monitor, store, and access your log files from EC2 instances, CloudTrail, and other sources. You can then retrieve the associated log data from CloudWatch Logs using the CloudWatch console. Alternatively, you can use CloudWatch Logs commands in the Amazon Web Services CLI, CloudWatch Logs API, or CloudWatch Logs SDK.
You can use CloudWatch Logs to:
Monitor logs from EC2 instances in real time: You can use CloudWatch Logs to monitor applications and systems using log data. For example, CloudWatch Logs can track the number of errors that occur in your application logs. Then, it can send you a notification whenever the rate of errors exceeds a threshold that you specify. CloudWatch Logs uses your log data for monitoring so no code changes are required. For example, you can monitor application logs for specific literal terms (such as "NullReferenceException"). You can also count the number of occurrences of a literal term at a particular position in log data (such as "404" status codes in an Apache access log). When the term you are searching for is found, CloudWatch Logs reports the data to a CloudWatch metric that you specify.
Monitor CloudTrail logged events: You can create alarms in CloudWatch and receive notifications of particular API activity as captured by CloudTrail. You can use the notification to perform troubleshooting.
Archive log data: You can use CloudWatch Logs to store your log data in highly durable storage. You can change the log retention setting so that any log events earlier than this setting are automatically deleted. The CloudWatch Logs agent helps to quickly send both rotated and non-rotated log data off of a host and into the log service. You can then access the raw log data when you need it.
See https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28 for more information on this service.
See cloudwatchlogs package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/cloudwatchlogs/
Using the Client ¶
To contact Amazon CloudWatch Logs 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 Amazon CloudWatch Logs client CloudWatchLogs for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/cloudwatchlogs/#New
Index ¶
- Constants
- func AnomalyDetectorStatus_Values() []string
- func DataProtectionStatus_Values() []string
- func DeliveryDestinationType_Values() []string
- func Distribution_Values() []string
- func EvaluationFrequency_Values() []string
- func ExportTaskStatusCode_Values() []string
- func InheritedProperty_Values() []string
- func LogGroupClass_Values() []string
- func OrderBy_Values() []string
- func OutputFormat_Values() []string
- func PolicyType_Values() []string
- func QueryStatus_Values() []string
- func Scope_Values() []string
- func StandardUnit_Values() []string
- func State_Values() []string
- func SuppressionState_Values() []string
- func SuppressionType_Values() []string
- func SuppressionUnit_Values() []string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type AccountPolicy
- func (s AccountPolicy) GoString() string
- func (s *AccountPolicy) SetAccountId(v string) *AccountPolicy
- func (s *AccountPolicy) SetLastUpdatedTime(v int64) *AccountPolicy
- func (s *AccountPolicy) SetPolicyDocument(v string) *AccountPolicy
- func (s *AccountPolicy) SetPolicyName(v string) *AccountPolicy
- func (s *AccountPolicy) SetPolicyType(v string) *AccountPolicy
- func (s *AccountPolicy) SetScope(v string) *AccountPolicy
- func (s *AccountPolicy) SetSelectionCriteria(v string) *AccountPolicy
- func (s AccountPolicy) String() string
- type Anomaly
- func (s Anomaly) GoString() string
- func (s *Anomaly) SetActive(v bool) *Anomaly
- func (s *Anomaly) SetAnomalyDetectorArn(v string) *Anomaly
- func (s *Anomaly) SetAnomalyId(v string) *Anomaly
- func (s *Anomaly) SetDescription(v string) *Anomaly
- func (s *Anomaly) SetFirstSeen(v int64) *Anomaly
- func (s *Anomaly) SetHistogram(v map[string]*int64) *Anomaly
- func (s *Anomaly) SetIsPatternLevelSuppression(v bool) *Anomaly
- func (s *Anomaly) SetLastSeen(v int64) *Anomaly
- func (s *Anomaly) SetLogGroupArnList(v []*string) *Anomaly
- func (s *Anomaly) SetLogSamples(v []*LogEvent) *Anomaly
- func (s *Anomaly) SetPatternId(v string) *Anomaly
- func (s *Anomaly) SetPatternRegex(v string) *Anomaly
- func (s *Anomaly) SetPatternString(v string) *Anomaly
- func (s *Anomaly) SetPatternTokens(v []*PatternToken) *Anomaly
- func (s *Anomaly) SetPriority(v string) *Anomaly
- func (s *Anomaly) SetState(v string) *Anomaly
- func (s *Anomaly) SetSuppressed(v bool) *Anomaly
- func (s *Anomaly) SetSuppressedDate(v int64) *Anomaly
- func (s *Anomaly) SetSuppressedUntil(v int64) *Anomaly
- func (s Anomaly) String() string
- type AnomalyDetector
- func (s AnomalyDetector) GoString() string
- func (s *AnomalyDetector) SetAnomalyDetectorArn(v string) *AnomalyDetector
- func (s *AnomalyDetector) SetAnomalyDetectorStatus(v string) *AnomalyDetector
- func (s *AnomalyDetector) SetAnomalyVisibilityTime(v int64) *AnomalyDetector
- func (s *AnomalyDetector) SetCreationTimeStamp(v int64) *AnomalyDetector
- func (s *AnomalyDetector) SetDetectorName(v string) *AnomalyDetector
- func (s *AnomalyDetector) SetEvaluationFrequency(v string) *AnomalyDetector
- func (s *AnomalyDetector) SetFilterPattern(v string) *AnomalyDetector
- func (s *AnomalyDetector) SetKmsKeyId(v string) *AnomalyDetector
- func (s *AnomalyDetector) SetLastModifiedTimeStamp(v int64) *AnomalyDetector
- func (s *AnomalyDetector) SetLogGroupArnList(v []*string) *AnomalyDetector
- func (s AnomalyDetector) String() string
- type AssociateKmsKeyInput
- func (s AssociateKmsKeyInput) GoString() string
- func (s *AssociateKmsKeyInput) SetKmsKeyId(v string) *AssociateKmsKeyInput
- func (s *AssociateKmsKeyInput) SetLogGroupName(v string) *AssociateKmsKeyInput
- func (s *AssociateKmsKeyInput) SetResourceIdentifier(v string) *AssociateKmsKeyInput
- func (s AssociateKmsKeyInput) String() string
- func (s *AssociateKmsKeyInput) Validate() error
- type AssociateKmsKeyOutput
- type CancelExportTaskInput
- type CancelExportTaskOutput
- type CloudWatchLogs
- func (c *CloudWatchLogs) AssociateKmsKey(input *AssociateKmsKeyInput) (*AssociateKmsKeyOutput, error)
- func (c *CloudWatchLogs) AssociateKmsKeyRequest(input *AssociateKmsKeyInput) (req *request.Request, output *AssociateKmsKeyOutput)
- func (c *CloudWatchLogs) AssociateKmsKeyWithContext(ctx aws.Context, input *AssociateKmsKeyInput, opts ...request.Option) (*AssociateKmsKeyOutput, error)
- func (c *CloudWatchLogs) CancelExportTask(input *CancelExportTaskInput) (*CancelExportTaskOutput, error)
- func (c *CloudWatchLogs) CancelExportTaskRequest(input *CancelExportTaskInput) (req *request.Request, output *CancelExportTaskOutput)
- func (c *CloudWatchLogs) CancelExportTaskWithContext(ctx aws.Context, input *CancelExportTaskInput, opts ...request.Option) (*CancelExportTaskOutput, error)
- func (c *CloudWatchLogs) CreateDelivery(input *CreateDeliveryInput) (*CreateDeliveryOutput, error)
- func (c *CloudWatchLogs) CreateDeliveryRequest(input *CreateDeliveryInput) (req *request.Request, output *CreateDeliveryOutput)
- func (c *CloudWatchLogs) CreateDeliveryWithContext(ctx aws.Context, input *CreateDeliveryInput, opts ...request.Option) (*CreateDeliveryOutput, error)
- func (c *CloudWatchLogs) CreateExportTask(input *CreateExportTaskInput) (*CreateExportTaskOutput, error)
- func (c *CloudWatchLogs) CreateExportTaskRequest(input *CreateExportTaskInput) (req *request.Request, output *CreateExportTaskOutput)
- func (c *CloudWatchLogs) CreateExportTaskWithContext(ctx aws.Context, input *CreateExportTaskInput, opts ...request.Option) (*CreateExportTaskOutput, error)
- func (c *CloudWatchLogs) CreateLogAnomalyDetector(input *CreateLogAnomalyDetectorInput) (*CreateLogAnomalyDetectorOutput, error)
- func (c *CloudWatchLogs) CreateLogAnomalyDetectorRequest(input *CreateLogAnomalyDetectorInput) (req *request.Request, output *CreateLogAnomalyDetectorOutput)
- func (c *CloudWatchLogs) CreateLogAnomalyDetectorWithContext(ctx aws.Context, input *CreateLogAnomalyDetectorInput, opts ...request.Option) (*CreateLogAnomalyDetectorOutput, error)
- func (c *CloudWatchLogs) CreateLogGroup(input *CreateLogGroupInput) (*CreateLogGroupOutput, error)
- func (c *CloudWatchLogs) CreateLogGroupRequest(input *CreateLogGroupInput) (req *request.Request, output *CreateLogGroupOutput)
- func (c *CloudWatchLogs) CreateLogGroupWithContext(ctx aws.Context, input *CreateLogGroupInput, opts ...request.Option) (*CreateLogGroupOutput, error)
- func (c *CloudWatchLogs) CreateLogStream(input *CreateLogStreamInput) (*CreateLogStreamOutput, error)
- func (c *CloudWatchLogs) CreateLogStreamRequest(input *CreateLogStreamInput) (req *request.Request, output *CreateLogStreamOutput)
- func (c *CloudWatchLogs) CreateLogStreamWithContext(ctx aws.Context, input *CreateLogStreamInput, opts ...request.Option) (*CreateLogStreamOutput, error)
- func (c *CloudWatchLogs) DeleteAccountPolicy(input *DeleteAccountPolicyInput) (*DeleteAccountPolicyOutput, error)
- func (c *CloudWatchLogs) DeleteAccountPolicyRequest(input *DeleteAccountPolicyInput) (req *request.Request, output *DeleteAccountPolicyOutput)
- func (c *CloudWatchLogs) DeleteAccountPolicyWithContext(ctx aws.Context, input *DeleteAccountPolicyInput, opts ...request.Option) (*DeleteAccountPolicyOutput, error)
- func (c *CloudWatchLogs) DeleteDataProtectionPolicy(input *DeleteDataProtectionPolicyInput) (*DeleteDataProtectionPolicyOutput, error)
- func (c *CloudWatchLogs) DeleteDataProtectionPolicyRequest(input *DeleteDataProtectionPolicyInput) (req *request.Request, output *DeleteDataProtectionPolicyOutput)
- func (c *CloudWatchLogs) DeleteDataProtectionPolicyWithContext(ctx aws.Context, input *DeleteDataProtectionPolicyInput, ...) (*DeleteDataProtectionPolicyOutput, error)
- func (c *CloudWatchLogs) DeleteDelivery(input *DeleteDeliveryInput) (*DeleteDeliveryOutput, error)
- func (c *CloudWatchLogs) DeleteDeliveryDestination(input *DeleteDeliveryDestinationInput) (*DeleteDeliveryDestinationOutput, error)
- func (c *CloudWatchLogs) DeleteDeliveryDestinationPolicy(input *DeleteDeliveryDestinationPolicyInput) (*DeleteDeliveryDestinationPolicyOutput, error)
- func (c *CloudWatchLogs) DeleteDeliveryDestinationPolicyRequest(input *DeleteDeliveryDestinationPolicyInput) (req *request.Request, output *DeleteDeliveryDestinationPolicyOutput)
- func (c *CloudWatchLogs) DeleteDeliveryDestinationPolicyWithContext(ctx aws.Context, input *DeleteDeliveryDestinationPolicyInput, ...) (*DeleteDeliveryDestinationPolicyOutput, error)
- func (c *CloudWatchLogs) DeleteDeliveryDestinationRequest(input *DeleteDeliveryDestinationInput) (req *request.Request, output *DeleteDeliveryDestinationOutput)
- func (c *CloudWatchLogs) DeleteDeliveryDestinationWithContext(ctx aws.Context, input *DeleteDeliveryDestinationInput, opts ...request.Option) (*DeleteDeliveryDestinationOutput, error)
- func (c *CloudWatchLogs) DeleteDeliveryRequest(input *DeleteDeliveryInput) (req *request.Request, output *DeleteDeliveryOutput)
- func (c *CloudWatchLogs) DeleteDeliverySource(input *DeleteDeliverySourceInput) (*DeleteDeliverySourceOutput, error)
- func (c *CloudWatchLogs) DeleteDeliverySourceRequest(input *DeleteDeliverySourceInput) (req *request.Request, output *DeleteDeliverySourceOutput)
- func (c *CloudWatchLogs) DeleteDeliverySourceWithContext(ctx aws.Context, input *DeleteDeliverySourceInput, opts ...request.Option) (*DeleteDeliverySourceOutput, error)
- func (c *CloudWatchLogs) DeleteDeliveryWithContext(ctx aws.Context, input *DeleteDeliveryInput, opts ...request.Option) (*DeleteDeliveryOutput, error)
- func (c *CloudWatchLogs) DeleteDestination(input *DeleteDestinationInput) (*DeleteDestinationOutput, error)
- func (c *CloudWatchLogs) DeleteDestinationRequest(input *DeleteDestinationInput) (req *request.Request, output *DeleteDestinationOutput)
- func (c *CloudWatchLogs) DeleteDestinationWithContext(ctx aws.Context, input *DeleteDestinationInput, opts ...request.Option) (*DeleteDestinationOutput, error)
- func (c *CloudWatchLogs) DeleteLogAnomalyDetector(input *DeleteLogAnomalyDetectorInput) (*DeleteLogAnomalyDetectorOutput, error)
- func (c *CloudWatchLogs) DeleteLogAnomalyDetectorRequest(input *DeleteLogAnomalyDetectorInput) (req *request.Request, output *DeleteLogAnomalyDetectorOutput)
- func (c *CloudWatchLogs) DeleteLogAnomalyDetectorWithContext(ctx aws.Context, input *DeleteLogAnomalyDetectorInput, opts ...request.Option) (*DeleteLogAnomalyDetectorOutput, error)
- func (c *CloudWatchLogs) DeleteLogGroup(input *DeleteLogGroupInput) (*DeleteLogGroupOutput, error)
- func (c *CloudWatchLogs) DeleteLogGroupRequest(input *DeleteLogGroupInput) (req *request.Request, output *DeleteLogGroupOutput)
- func (c *CloudWatchLogs) DeleteLogGroupWithContext(ctx aws.Context, input *DeleteLogGroupInput, opts ...request.Option) (*DeleteLogGroupOutput, error)
- func (c *CloudWatchLogs) DeleteLogStream(input *DeleteLogStreamInput) (*DeleteLogStreamOutput, error)
- func (c *CloudWatchLogs) DeleteLogStreamRequest(input *DeleteLogStreamInput) (req *request.Request, output *DeleteLogStreamOutput)
- func (c *CloudWatchLogs) DeleteLogStreamWithContext(ctx aws.Context, input *DeleteLogStreamInput, opts ...request.Option) (*DeleteLogStreamOutput, error)
- func (c *CloudWatchLogs) DeleteMetricFilter(input *DeleteMetricFilterInput) (*DeleteMetricFilterOutput, error)
- func (c *CloudWatchLogs) DeleteMetricFilterRequest(input *DeleteMetricFilterInput) (req *request.Request, output *DeleteMetricFilterOutput)
- func (c *CloudWatchLogs) DeleteMetricFilterWithContext(ctx aws.Context, input *DeleteMetricFilterInput, opts ...request.Option) (*DeleteMetricFilterOutput, error)
- func (c *CloudWatchLogs) DeleteQueryDefinition(input *DeleteQueryDefinitionInput) (*DeleteQueryDefinitionOutput, error)
- func (c *CloudWatchLogs) DeleteQueryDefinitionRequest(input *DeleteQueryDefinitionInput) (req *request.Request, output *DeleteQueryDefinitionOutput)
- func (c *CloudWatchLogs) DeleteQueryDefinitionWithContext(ctx aws.Context, input *DeleteQueryDefinitionInput, opts ...request.Option) (*DeleteQueryDefinitionOutput, error)
- func (c *CloudWatchLogs) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error)
- func (c *CloudWatchLogs) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput)
- func (c *CloudWatchLogs) DeleteResourcePolicyWithContext(ctx aws.Context, input *DeleteResourcePolicyInput, opts ...request.Option) (*DeleteResourcePolicyOutput, error)
- func (c *CloudWatchLogs) DeleteRetentionPolicy(input *DeleteRetentionPolicyInput) (*DeleteRetentionPolicyOutput, error)
- func (c *CloudWatchLogs) DeleteRetentionPolicyRequest(input *DeleteRetentionPolicyInput) (req *request.Request, output *DeleteRetentionPolicyOutput)
- func (c *CloudWatchLogs) DeleteRetentionPolicyWithContext(ctx aws.Context, input *DeleteRetentionPolicyInput, opts ...request.Option) (*DeleteRetentionPolicyOutput, error)
- func (c *CloudWatchLogs) DeleteSubscriptionFilter(input *DeleteSubscriptionFilterInput) (*DeleteSubscriptionFilterOutput, error)
- func (c *CloudWatchLogs) DeleteSubscriptionFilterRequest(input *DeleteSubscriptionFilterInput) (req *request.Request, output *DeleteSubscriptionFilterOutput)
- func (c *CloudWatchLogs) DeleteSubscriptionFilterWithContext(ctx aws.Context, input *DeleteSubscriptionFilterInput, opts ...request.Option) (*DeleteSubscriptionFilterOutput, error)
- func (c *CloudWatchLogs) DescribeAccountPolicies(input *DescribeAccountPoliciesInput) (*DescribeAccountPoliciesOutput, error)
- func (c *CloudWatchLogs) DescribeAccountPoliciesRequest(input *DescribeAccountPoliciesInput) (req *request.Request, output *DescribeAccountPoliciesOutput)
- func (c *CloudWatchLogs) DescribeAccountPoliciesWithContext(ctx aws.Context, input *DescribeAccountPoliciesInput, opts ...request.Option) (*DescribeAccountPoliciesOutput, error)
- func (c *CloudWatchLogs) DescribeDeliveries(input *DescribeDeliveriesInput) (*DescribeDeliveriesOutput, error)
- func (c *CloudWatchLogs) DescribeDeliveriesPages(input *DescribeDeliveriesInput, fn func(*DescribeDeliveriesOutput, bool) bool) error
- func (c *CloudWatchLogs) DescribeDeliveriesPagesWithContext(ctx aws.Context, input *DescribeDeliveriesInput, ...) error
- func (c *CloudWatchLogs) DescribeDeliveriesRequest(input *DescribeDeliveriesInput) (req *request.Request, output *DescribeDeliveriesOutput)
- func (c *CloudWatchLogs) DescribeDeliveriesWithContext(ctx aws.Context, input *DescribeDeliveriesInput, opts ...request.Option) (*DescribeDeliveriesOutput, error)
- func (c *CloudWatchLogs) DescribeDeliveryDestinations(input *DescribeDeliveryDestinationsInput) (*DescribeDeliveryDestinationsOutput, error)
- func (c *CloudWatchLogs) DescribeDeliveryDestinationsPages(input *DescribeDeliveryDestinationsInput, ...) error
- func (c *CloudWatchLogs) DescribeDeliveryDestinationsPagesWithContext(ctx aws.Context, input *DescribeDeliveryDestinationsInput, ...) error
- func (c *CloudWatchLogs) DescribeDeliveryDestinationsRequest(input *DescribeDeliveryDestinationsInput) (req *request.Request, output *DescribeDeliveryDestinationsOutput)
- func (c *CloudWatchLogs) DescribeDeliveryDestinationsWithContext(ctx aws.Context, input *DescribeDeliveryDestinationsInput, ...) (*DescribeDeliveryDestinationsOutput, error)
- func (c *CloudWatchLogs) DescribeDeliverySources(input *DescribeDeliverySourcesInput) (*DescribeDeliverySourcesOutput, error)
- func (c *CloudWatchLogs) DescribeDeliverySourcesPages(input *DescribeDeliverySourcesInput, ...) error
- func (c *CloudWatchLogs) DescribeDeliverySourcesPagesWithContext(ctx aws.Context, input *DescribeDeliverySourcesInput, ...) error
- func (c *CloudWatchLogs) DescribeDeliverySourcesRequest(input *DescribeDeliverySourcesInput) (req *request.Request, output *DescribeDeliverySourcesOutput)
- func (c *CloudWatchLogs) DescribeDeliverySourcesWithContext(ctx aws.Context, input *DescribeDeliverySourcesInput, opts ...request.Option) (*DescribeDeliverySourcesOutput, error)
- func (c *CloudWatchLogs) DescribeDestinations(input *DescribeDestinationsInput) (*DescribeDestinationsOutput, error)
- func (c *CloudWatchLogs) DescribeDestinationsPages(input *DescribeDestinationsInput, ...) error
- func (c *CloudWatchLogs) DescribeDestinationsPagesWithContext(ctx aws.Context, input *DescribeDestinationsInput, ...) error
- func (c *CloudWatchLogs) DescribeDestinationsRequest(input *DescribeDestinationsInput) (req *request.Request, output *DescribeDestinationsOutput)
- func (c *CloudWatchLogs) DescribeDestinationsWithContext(ctx aws.Context, input *DescribeDestinationsInput, opts ...request.Option) (*DescribeDestinationsOutput, error)
- func (c *CloudWatchLogs) DescribeExportTasks(input *DescribeExportTasksInput) (*DescribeExportTasksOutput, error)
- func (c *CloudWatchLogs) DescribeExportTasksRequest(input *DescribeExportTasksInput) (req *request.Request, output *DescribeExportTasksOutput)
- func (c *CloudWatchLogs) DescribeExportTasksWithContext(ctx aws.Context, input *DescribeExportTasksInput, opts ...request.Option) (*DescribeExportTasksOutput, error)
- func (c *CloudWatchLogs) DescribeLogGroups(input *DescribeLogGroupsInput) (*DescribeLogGroupsOutput, error)
- func (c *CloudWatchLogs) DescribeLogGroupsPages(input *DescribeLogGroupsInput, fn func(*DescribeLogGroupsOutput, bool) bool) error
- func (c *CloudWatchLogs) DescribeLogGroupsPagesWithContext(ctx aws.Context, input *DescribeLogGroupsInput, ...) error
- func (c *CloudWatchLogs) DescribeLogGroupsRequest(input *DescribeLogGroupsInput) (req *request.Request, output *DescribeLogGroupsOutput)
- func (c *CloudWatchLogs) DescribeLogGroupsWithContext(ctx aws.Context, input *DescribeLogGroupsInput, opts ...request.Option) (*DescribeLogGroupsOutput, error)
- func (c *CloudWatchLogs) DescribeLogStreams(input *DescribeLogStreamsInput) (*DescribeLogStreamsOutput, error)
- func (c *CloudWatchLogs) DescribeLogStreamsPages(input *DescribeLogStreamsInput, fn func(*DescribeLogStreamsOutput, bool) bool) error
- func (c *CloudWatchLogs) DescribeLogStreamsPagesWithContext(ctx aws.Context, input *DescribeLogStreamsInput, ...) error
- func (c *CloudWatchLogs) DescribeLogStreamsRequest(input *DescribeLogStreamsInput) (req *request.Request, output *DescribeLogStreamsOutput)
- func (c *CloudWatchLogs) DescribeLogStreamsWithContext(ctx aws.Context, input *DescribeLogStreamsInput, opts ...request.Option) (*DescribeLogStreamsOutput, error)
- func (c *CloudWatchLogs) DescribeMetricFilters(input *DescribeMetricFiltersInput) (*DescribeMetricFiltersOutput, error)
- func (c *CloudWatchLogs) DescribeMetricFiltersPages(input *DescribeMetricFiltersInput, ...) error
- func (c *CloudWatchLogs) DescribeMetricFiltersPagesWithContext(ctx aws.Context, input *DescribeMetricFiltersInput, ...) error
- func (c *CloudWatchLogs) DescribeMetricFiltersRequest(input *DescribeMetricFiltersInput) (req *request.Request, output *DescribeMetricFiltersOutput)
- func (c *CloudWatchLogs) DescribeMetricFiltersWithContext(ctx aws.Context, input *DescribeMetricFiltersInput, opts ...request.Option) (*DescribeMetricFiltersOutput, error)
- func (c *CloudWatchLogs) DescribeQueries(input *DescribeQueriesInput) (*DescribeQueriesOutput, error)
- func (c *CloudWatchLogs) DescribeQueriesRequest(input *DescribeQueriesInput) (req *request.Request, output *DescribeQueriesOutput)
- func (c *CloudWatchLogs) DescribeQueriesWithContext(ctx aws.Context, input *DescribeQueriesInput, opts ...request.Option) (*DescribeQueriesOutput, error)
- func (c *CloudWatchLogs) DescribeQueryDefinitions(input *DescribeQueryDefinitionsInput) (*DescribeQueryDefinitionsOutput, error)
- func (c *CloudWatchLogs) DescribeQueryDefinitionsRequest(input *DescribeQueryDefinitionsInput) (req *request.Request, output *DescribeQueryDefinitionsOutput)
- func (c *CloudWatchLogs) DescribeQueryDefinitionsWithContext(ctx aws.Context, input *DescribeQueryDefinitionsInput, opts ...request.Option) (*DescribeQueryDefinitionsOutput, error)
- func (c *CloudWatchLogs) DescribeResourcePolicies(input *DescribeResourcePoliciesInput) (*DescribeResourcePoliciesOutput, error)
- func (c *CloudWatchLogs) DescribeResourcePoliciesRequest(input *DescribeResourcePoliciesInput) (req *request.Request, output *DescribeResourcePoliciesOutput)
- func (c *CloudWatchLogs) DescribeResourcePoliciesWithContext(ctx aws.Context, input *DescribeResourcePoliciesInput, opts ...request.Option) (*DescribeResourcePoliciesOutput, error)
- func (c *CloudWatchLogs) DescribeSubscriptionFilters(input *DescribeSubscriptionFiltersInput) (*DescribeSubscriptionFiltersOutput, error)
- func (c *CloudWatchLogs) DescribeSubscriptionFiltersPages(input *DescribeSubscriptionFiltersInput, ...) error
- func (c *CloudWatchLogs) DescribeSubscriptionFiltersPagesWithContext(ctx aws.Context, input *DescribeSubscriptionFiltersInput, ...) error
- func (c *CloudWatchLogs) DescribeSubscriptionFiltersRequest(input *DescribeSubscriptionFiltersInput) (req *request.Request, output *DescribeSubscriptionFiltersOutput)
- func (c *CloudWatchLogs) DescribeSubscriptionFiltersWithContext(ctx aws.Context, input *DescribeSubscriptionFiltersInput, ...) (*DescribeSubscriptionFiltersOutput, error)
- func (c *CloudWatchLogs) DisassociateKmsKey(input *DisassociateKmsKeyInput) (*DisassociateKmsKeyOutput, error)
- func (c *CloudWatchLogs) DisassociateKmsKeyRequest(input *DisassociateKmsKeyInput) (req *request.Request, output *DisassociateKmsKeyOutput)
- func (c *CloudWatchLogs) DisassociateKmsKeyWithContext(ctx aws.Context, input *DisassociateKmsKeyInput, opts ...request.Option) (*DisassociateKmsKeyOutput, error)
- func (c *CloudWatchLogs) FilterLogEvents(input *FilterLogEventsInput) (*FilterLogEventsOutput, error)
- func (c *CloudWatchLogs) FilterLogEventsPages(input *FilterLogEventsInput, fn func(*FilterLogEventsOutput, bool) bool) error
- func (c *CloudWatchLogs) FilterLogEventsPagesWithContext(ctx aws.Context, input *FilterLogEventsInput, ...) error
- func (c *CloudWatchLogs) FilterLogEventsRequest(input *FilterLogEventsInput) (req *request.Request, output *FilterLogEventsOutput)
- func (c *CloudWatchLogs) FilterLogEventsWithContext(ctx aws.Context, input *FilterLogEventsInput, opts ...request.Option) (*FilterLogEventsOutput, error)
- func (c *CloudWatchLogs) GetDataProtectionPolicy(input *GetDataProtectionPolicyInput) (*GetDataProtectionPolicyOutput, error)
- func (c *CloudWatchLogs) GetDataProtectionPolicyRequest(input *GetDataProtectionPolicyInput) (req *request.Request, output *GetDataProtectionPolicyOutput)
- func (c *CloudWatchLogs) GetDataProtectionPolicyWithContext(ctx aws.Context, input *GetDataProtectionPolicyInput, opts ...request.Option) (*GetDataProtectionPolicyOutput, error)
- func (c *CloudWatchLogs) GetDelivery(input *GetDeliveryInput) (*GetDeliveryOutput, error)
- func (c *CloudWatchLogs) GetDeliveryDestination(input *GetDeliveryDestinationInput) (*GetDeliveryDestinationOutput, error)
- func (c *CloudWatchLogs) GetDeliveryDestinationPolicy(input *GetDeliveryDestinationPolicyInput) (*GetDeliveryDestinationPolicyOutput, error)
- func (c *CloudWatchLogs) GetDeliveryDestinationPolicyRequest(input *GetDeliveryDestinationPolicyInput) (req *request.Request, output *GetDeliveryDestinationPolicyOutput)
- func (c *CloudWatchLogs) GetDeliveryDestinationPolicyWithContext(ctx aws.Context, input *GetDeliveryDestinationPolicyInput, ...) (*GetDeliveryDestinationPolicyOutput, error)
- func (c *CloudWatchLogs) GetDeliveryDestinationRequest(input *GetDeliveryDestinationInput) (req *request.Request, output *GetDeliveryDestinationOutput)
- func (c *CloudWatchLogs) GetDeliveryDestinationWithContext(ctx aws.Context, input *GetDeliveryDestinationInput, opts ...request.Option) (*GetDeliveryDestinationOutput, error)
- func (c *CloudWatchLogs) GetDeliveryRequest(input *GetDeliveryInput) (req *request.Request, output *GetDeliveryOutput)
- func (c *CloudWatchLogs) GetDeliverySource(input *GetDeliverySourceInput) (*GetDeliverySourceOutput, error)
- func (c *CloudWatchLogs) GetDeliverySourceRequest(input *GetDeliverySourceInput) (req *request.Request, output *GetDeliverySourceOutput)
- func (c *CloudWatchLogs) GetDeliverySourceWithContext(ctx aws.Context, input *GetDeliverySourceInput, opts ...request.Option) (*GetDeliverySourceOutput, error)
- func (c *CloudWatchLogs) GetDeliveryWithContext(ctx aws.Context, input *GetDeliveryInput, opts ...request.Option) (*GetDeliveryOutput, error)
- func (c *CloudWatchLogs) GetLogAnomalyDetector(input *GetLogAnomalyDetectorInput) (*GetLogAnomalyDetectorOutput, error)
- func (c *CloudWatchLogs) GetLogAnomalyDetectorRequest(input *GetLogAnomalyDetectorInput) (req *request.Request, output *GetLogAnomalyDetectorOutput)
- func (c *CloudWatchLogs) GetLogAnomalyDetectorWithContext(ctx aws.Context, input *GetLogAnomalyDetectorInput, opts ...request.Option) (*GetLogAnomalyDetectorOutput, error)
- func (c *CloudWatchLogs) GetLogEvents(input *GetLogEventsInput) (*GetLogEventsOutput, error)
- func (c *CloudWatchLogs) GetLogEventsPages(input *GetLogEventsInput, fn func(*GetLogEventsOutput, bool) bool) error
- func (c *CloudWatchLogs) GetLogEventsPagesWithContext(ctx aws.Context, input *GetLogEventsInput, ...) error
- func (c *CloudWatchLogs) GetLogEventsRequest(input *GetLogEventsInput) (req *request.Request, output *GetLogEventsOutput)
- func (c *CloudWatchLogs) GetLogEventsWithContext(ctx aws.Context, input *GetLogEventsInput, opts ...request.Option) (*GetLogEventsOutput, error)
- func (c *CloudWatchLogs) GetLogGroupFields(input *GetLogGroupFieldsInput) (*GetLogGroupFieldsOutput, error)
- func (c *CloudWatchLogs) GetLogGroupFieldsRequest(input *GetLogGroupFieldsInput) (req *request.Request, output *GetLogGroupFieldsOutput)
- func (c *CloudWatchLogs) GetLogGroupFieldsWithContext(ctx aws.Context, input *GetLogGroupFieldsInput, opts ...request.Option) (*GetLogGroupFieldsOutput, error)
- func (c *CloudWatchLogs) GetLogRecord(input *GetLogRecordInput) (*GetLogRecordOutput, error)
- func (c *CloudWatchLogs) GetLogRecordRequest(input *GetLogRecordInput) (req *request.Request, output *GetLogRecordOutput)
- func (c *CloudWatchLogs) GetLogRecordWithContext(ctx aws.Context, input *GetLogRecordInput, opts ...request.Option) (*GetLogRecordOutput, error)
- func (c *CloudWatchLogs) GetQueryResults(input *GetQueryResultsInput) (*GetQueryResultsOutput, error)
- func (c *CloudWatchLogs) GetQueryResultsRequest(input *GetQueryResultsInput) (req *request.Request, output *GetQueryResultsOutput)
- func (c *CloudWatchLogs) GetQueryResultsWithContext(ctx aws.Context, input *GetQueryResultsInput, opts ...request.Option) (*GetQueryResultsOutput, error)
- func (c *CloudWatchLogs) ListAnomalies(input *ListAnomaliesInput) (*ListAnomaliesOutput, error)
- func (c *CloudWatchLogs) ListAnomaliesPages(input *ListAnomaliesInput, fn func(*ListAnomaliesOutput, bool) bool) error
- func (c *CloudWatchLogs) ListAnomaliesPagesWithContext(ctx aws.Context, input *ListAnomaliesInput, ...) error
- func (c *CloudWatchLogs) ListAnomaliesRequest(input *ListAnomaliesInput) (req *request.Request, output *ListAnomaliesOutput)
- func (c *CloudWatchLogs) ListAnomaliesWithContext(ctx aws.Context, input *ListAnomaliesInput, opts ...request.Option) (*ListAnomaliesOutput, error)
- func (c *CloudWatchLogs) ListLogAnomalyDetectors(input *ListLogAnomalyDetectorsInput) (*ListLogAnomalyDetectorsOutput, error)
- func (c *CloudWatchLogs) ListLogAnomalyDetectorsPages(input *ListLogAnomalyDetectorsInput, ...) error
- func (c *CloudWatchLogs) ListLogAnomalyDetectorsPagesWithContext(ctx aws.Context, input *ListLogAnomalyDetectorsInput, ...) error
- func (c *CloudWatchLogs) ListLogAnomalyDetectorsRequest(input *ListLogAnomalyDetectorsInput) (req *request.Request, output *ListLogAnomalyDetectorsOutput)
- func (c *CloudWatchLogs) ListLogAnomalyDetectorsWithContext(ctx aws.Context, input *ListLogAnomalyDetectorsInput, opts ...request.Option) (*ListLogAnomalyDetectorsOutput, error)
- func (c *CloudWatchLogs) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *CloudWatchLogs) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *CloudWatchLogs) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
- func (c *CloudWatchLogs) ListTagsLogGroup(input *ListTagsLogGroupInput) (*ListTagsLogGroupOutput, error)deprecated
- func (c *CloudWatchLogs) ListTagsLogGroupRequest(input *ListTagsLogGroupInput) (req *request.Request, output *ListTagsLogGroupOutput)deprecated
- func (c *CloudWatchLogs) ListTagsLogGroupWithContext(ctx aws.Context, input *ListTagsLogGroupInput, opts ...request.Option) (*ListTagsLogGroupOutput, error)deprecated
- func (c *CloudWatchLogs) PutAccountPolicy(input *PutAccountPolicyInput) (*PutAccountPolicyOutput, error)
- func (c *CloudWatchLogs) PutAccountPolicyRequest(input *PutAccountPolicyInput) (req *request.Request, output *PutAccountPolicyOutput)
- func (c *CloudWatchLogs) PutAccountPolicyWithContext(ctx aws.Context, input *PutAccountPolicyInput, opts ...request.Option) (*PutAccountPolicyOutput, error)
- func (c *CloudWatchLogs) PutDataProtectionPolicy(input *PutDataProtectionPolicyInput) (*PutDataProtectionPolicyOutput, error)
- func (c *CloudWatchLogs) PutDataProtectionPolicyRequest(input *PutDataProtectionPolicyInput) (req *request.Request, output *PutDataProtectionPolicyOutput)
- func (c *CloudWatchLogs) PutDataProtectionPolicyWithContext(ctx aws.Context, input *PutDataProtectionPolicyInput, opts ...request.Option) (*PutDataProtectionPolicyOutput, error)
- func (c *CloudWatchLogs) PutDeliveryDestination(input *PutDeliveryDestinationInput) (*PutDeliveryDestinationOutput, error)
- func (c *CloudWatchLogs) PutDeliveryDestinationPolicy(input *PutDeliveryDestinationPolicyInput) (*PutDeliveryDestinationPolicyOutput, error)
- func (c *CloudWatchLogs) PutDeliveryDestinationPolicyRequest(input *PutDeliveryDestinationPolicyInput) (req *request.Request, output *PutDeliveryDestinationPolicyOutput)
- func (c *CloudWatchLogs) PutDeliveryDestinationPolicyWithContext(ctx aws.Context, input *PutDeliveryDestinationPolicyInput, ...) (*PutDeliveryDestinationPolicyOutput, error)
- func (c *CloudWatchLogs) PutDeliveryDestinationRequest(input *PutDeliveryDestinationInput) (req *request.Request, output *PutDeliveryDestinationOutput)
- func (c *CloudWatchLogs) PutDeliveryDestinationWithContext(ctx aws.Context, input *PutDeliveryDestinationInput, opts ...request.Option) (*PutDeliveryDestinationOutput, error)
- func (c *CloudWatchLogs) PutDeliverySource(input *PutDeliverySourceInput) (*PutDeliverySourceOutput, error)
- func (c *CloudWatchLogs) PutDeliverySourceRequest(input *PutDeliverySourceInput) (req *request.Request, output *PutDeliverySourceOutput)
- func (c *CloudWatchLogs) PutDeliverySourceWithContext(ctx aws.Context, input *PutDeliverySourceInput, opts ...request.Option) (*PutDeliverySourceOutput, error)
- func (c *CloudWatchLogs) PutDestination(input *PutDestinationInput) (*PutDestinationOutput, error)
- func (c *CloudWatchLogs) PutDestinationPolicy(input *PutDestinationPolicyInput) (*PutDestinationPolicyOutput, error)
- func (c *CloudWatchLogs) PutDestinationPolicyRequest(input *PutDestinationPolicyInput) (req *request.Request, output *PutDestinationPolicyOutput)
- func (c *CloudWatchLogs) PutDestinationPolicyWithContext(ctx aws.Context, input *PutDestinationPolicyInput, opts ...request.Option) (*PutDestinationPolicyOutput, error)
- func (c *CloudWatchLogs) PutDestinationRequest(input *PutDestinationInput) (req *request.Request, output *PutDestinationOutput)
- func (c *CloudWatchLogs) PutDestinationWithContext(ctx aws.Context, input *PutDestinationInput, opts ...request.Option) (*PutDestinationOutput, error)
- func (c *CloudWatchLogs) PutLogEvents(input *PutLogEventsInput) (*PutLogEventsOutput, error)
- func (c *CloudWatchLogs) PutLogEventsRequest(input *PutLogEventsInput) (req *request.Request, output *PutLogEventsOutput)
- func (c *CloudWatchLogs) PutLogEventsWithContext(ctx aws.Context, input *PutLogEventsInput, opts ...request.Option) (*PutLogEventsOutput, error)
- func (c *CloudWatchLogs) PutMetricFilter(input *PutMetricFilterInput) (*PutMetricFilterOutput, error)
- func (c *CloudWatchLogs) PutMetricFilterRequest(input *PutMetricFilterInput) (req *request.Request, output *PutMetricFilterOutput)
- func (c *CloudWatchLogs) PutMetricFilterWithContext(ctx aws.Context, input *PutMetricFilterInput, opts ...request.Option) (*PutMetricFilterOutput, error)
- func (c *CloudWatchLogs) PutQueryDefinition(input *PutQueryDefinitionInput) (*PutQueryDefinitionOutput, error)
- func (c *CloudWatchLogs) PutQueryDefinitionRequest(input *PutQueryDefinitionInput) (req *request.Request, output *PutQueryDefinitionOutput)
- func (c *CloudWatchLogs) PutQueryDefinitionWithContext(ctx aws.Context, input *PutQueryDefinitionInput, opts ...request.Option) (*PutQueryDefinitionOutput, error)
- func (c *CloudWatchLogs) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error)
- func (c *CloudWatchLogs) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput)
- func (c *CloudWatchLogs) PutResourcePolicyWithContext(ctx aws.Context, input *PutResourcePolicyInput, opts ...request.Option) (*PutResourcePolicyOutput, error)
- func (c *CloudWatchLogs) PutRetentionPolicy(input *PutRetentionPolicyInput) (*PutRetentionPolicyOutput, error)
- func (c *CloudWatchLogs) PutRetentionPolicyRequest(input *PutRetentionPolicyInput) (req *request.Request, output *PutRetentionPolicyOutput)
- func (c *CloudWatchLogs) PutRetentionPolicyWithContext(ctx aws.Context, input *PutRetentionPolicyInput, opts ...request.Option) (*PutRetentionPolicyOutput, error)
- func (c *CloudWatchLogs) PutSubscriptionFilter(input *PutSubscriptionFilterInput) (*PutSubscriptionFilterOutput, error)
- func (c *CloudWatchLogs) PutSubscriptionFilterRequest(input *PutSubscriptionFilterInput) (req *request.Request, output *PutSubscriptionFilterOutput)
- func (c *CloudWatchLogs) PutSubscriptionFilterWithContext(ctx aws.Context, input *PutSubscriptionFilterInput, opts ...request.Option) (*PutSubscriptionFilterOutput, error)
- func (c *CloudWatchLogs) StartLiveTail(input *StartLiveTailInput) (*StartLiveTailOutput, error)
- func (c *CloudWatchLogs) StartLiveTailRequest(input *StartLiveTailInput) (req *request.Request, output *StartLiveTailOutput)
- func (c *CloudWatchLogs) StartLiveTailWithContext(ctx aws.Context, input *StartLiveTailInput, opts ...request.Option) (*StartLiveTailOutput, error)
- func (c *CloudWatchLogs) StartQuery(input *StartQueryInput) (*StartQueryOutput, error)
- func (c *CloudWatchLogs) StartQueryRequest(input *StartQueryInput) (req *request.Request, output *StartQueryOutput)
- func (c *CloudWatchLogs) StartQueryWithContext(ctx aws.Context, input *StartQueryInput, opts ...request.Option) (*StartQueryOutput, error)
- func (c *CloudWatchLogs) StopQuery(input *StopQueryInput) (*StopQueryOutput, error)
- func (c *CloudWatchLogs) StopQueryRequest(input *StopQueryInput) (req *request.Request, output *StopQueryOutput)
- func (c *CloudWatchLogs) StopQueryWithContext(ctx aws.Context, input *StopQueryInput, opts ...request.Option) (*StopQueryOutput, error)
- func (c *CloudWatchLogs) TagLogGroup(input *TagLogGroupInput) (*TagLogGroupOutput, error)deprecated
- func (c *CloudWatchLogs) TagLogGroupRequest(input *TagLogGroupInput) (req *request.Request, output *TagLogGroupOutput)deprecated
- func (c *CloudWatchLogs) TagLogGroupWithContext(ctx aws.Context, input *TagLogGroupInput, opts ...request.Option) (*TagLogGroupOutput, error)deprecated
- func (c *CloudWatchLogs) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *CloudWatchLogs) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *CloudWatchLogs) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *CloudWatchLogs) TestMetricFilter(input *TestMetricFilterInput) (*TestMetricFilterOutput, error)
- func (c *CloudWatchLogs) TestMetricFilterRequest(input *TestMetricFilterInput) (req *request.Request, output *TestMetricFilterOutput)
- func (c *CloudWatchLogs) TestMetricFilterWithContext(ctx aws.Context, input *TestMetricFilterInput, opts ...request.Option) (*TestMetricFilterOutput, error)
- func (c *CloudWatchLogs) UntagLogGroup(input *UntagLogGroupInput) (*UntagLogGroupOutput, error)deprecated
- func (c *CloudWatchLogs) UntagLogGroupRequest(input *UntagLogGroupInput) (req *request.Request, output *UntagLogGroupOutput)deprecated
- func (c *CloudWatchLogs) UntagLogGroupWithContext(ctx aws.Context, input *UntagLogGroupInput, opts ...request.Option) (*UntagLogGroupOutput, error)deprecated
- func (c *CloudWatchLogs) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *CloudWatchLogs) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *CloudWatchLogs) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *CloudWatchLogs) UpdateAnomaly(input *UpdateAnomalyInput) (*UpdateAnomalyOutput, error)
- func (c *CloudWatchLogs) UpdateAnomalyRequest(input *UpdateAnomalyInput) (req *request.Request, output *UpdateAnomalyOutput)
- func (c *CloudWatchLogs) UpdateAnomalyWithContext(ctx aws.Context, input *UpdateAnomalyInput, opts ...request.Option) (*UpdateAnomalyOutput, error)
- func (c *CloudWatchLogs) UpdateLogAnomalyDetector(input *UpdateLogAnomalyDetectorInput) (*UpdateLogAnomalyDetectorOutput, error)
- func (c *CloudWatchLogs) UpdateLogAnomalyDetectorRequest(input *UpdateLogAnomalyDetectorInput) (req *request.Request, output *UpdateLogAnomalyDetectorOutput)
- func (c *CloudWatchLogs) UpdateLogAnomalyDetectorWithContext(ctx aws.Context, input *UpdateLogAnomalyDetectorInput, opts ...request.Option) (*UpdateLogAnomalyDetectorOutput, error)
- 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 CreateDeliveryInput
- func (s CreateDeliveryInput) GoString() string
- func (s *CreateDeliveryInput) SetDeliveryDestinationArn(v string) *CreateDeliveryInput
- func (s *CreateDeliveryInput) SetDeliverySourceName(v string) *CreateDeliveryInput
- func (s *CreateDeliveryInput) SetTags(v map[string]*string) *CreateDeliveryInput
- func (s CreateDeliveryInput) String() string
- func (s *CreateDeliveryInput) Validate() error
- type CreateDeliveryOutput
- type CreateExportTaskInput
- func (s CreateExportTaskInput) GoString() string
- func (s *CreateExportTaskInput) SetDestination(v string) *CreateExportTaskInput
- func (s *CreateExportTaskInput) SetDestinationPrefix(v string) *CreateExportTaskInput
- func (s *CreateExportTaskInput) SetFrom(v int64) *CreateExportTaskInput
- func (s *CreateExportTaskInput) SetLogGroupName(v string) *CreateExportTaskInput
- func (s *CreateExportTaskInput) SetLogStreamNamePrefix(v string) *CreateExportTaskInput
- func (s *CreateExportTaskInput) SetTaskName(v string) *CreateExportTaskInput
- func (s *CreateExportTaskInput) SetTo(v int64) *CreateExportTaskInput
- func (s CreateExportTaskInput) String() string
- func (s *CreateExportTaskInput) Validate() error
- type CreateExportTaskOutput
- type CreateLogAnomalyDetectorInput
- func (s CreateLogAnomalyDetectorInput) GoString() string
- func (s *CreateLogAnomalyDetectorInput) SetAnomalyVisibilityTime(v int64) *CreateLogAnomalyDetectorInput
- func (s *CreateLogAnomalyDetectorInput) SetDetectorName(v string) *CreateLogAnomalyDetectorInput
- func (s *CreateLogAnomalyDetectorInput) SetEvaluationFrequency(v string) *CreateLogAnomalyDetectorInput
- func (s *CreateLogAnomalyDetectorInput) SetFilterPattern(v string) *CreateLogAnomalyDetectorInput
- func (s *CreateLogAnomalyDetectorInput) SetKmsKeyId(v string) *CreateLogAnomalyDetectorInput
- func (s *CreateLogAnomalyDetectorInput) SetLogGroupArnList(v []*string) *CreateLogAnomalyDetectorInput
- func (s *CreateLogAnomalyDetectorInput) SetTags(v map[string]*string) *CreateLogAnomalyDetectorInput
- func (s CreateLogAnomalyDetectorInput) String() string
- func (s *CreateLogAnomalyDetectorInput) Validate() error
- type CreateLogAnomalyDetectorOutput
- type CreateLogGroupInput
- func (s CreateLogGroupInput) GoString() string
- func (s *CreateLogGroupInput) SetKmsKeyId(v string) *CreateLogGroupInput
- func (s *CreateLogGroupInput) SetLogGroupClass(v string) *CreateLogGroupInput
- func (s *CreateLogGroupInput) SetLogGroupName(v string) *CreateLogGroupInput
- func (s *CreateLogGroupInput) SetTags(v map[string]*string) *CreateLogGroupInput
- func (s CreateLogGroupInput) String() string
- func (s *CreateLogGroupInput) Validate() error
- type CreateLogGroupOutput
- type CreateLogStreamInput
- func (s CreateLogStreamInput) GoString() string
- func (s *CreateLogStreamInput) SetLogGroupName(v string) *CreateLogStreamInput
- func (s *CreateLogStreamInput) SetLogStreamName(v string) *CreateLogStreamInput
- func (s CreateLogStreamInput) String() string
- func (s *CreateLogStreamInput) Validate() error
- type CreateLogStreamOutput
- type DataAlreadyAcceptedException
- func (s *DataAlreadyAcceptedException) Code() string
- func (s *DataAlreadyAcceptedException) Error() string
- func (s DataAlreadyAcceptedException) GoString() string
- func (s *DataAlreadyAcceptedException) Message() string
- func (s *DataAlreadyAcceptedException) OrigErr() error
- func (s *DataAlreadyAcceptedException) RequestID() string
- func (s *DataAlreadyAcceptedException) StatusCode() int
- func (s DataAlreadyAcceptedException) String() string
- type DeleteAccountPolicyInput
- func (s DeleteAccountPolicyInput) GoString() string
- func (s *DeleteAccountPolicyInput) SetPolicyName(v string) *DeleteAccountPolicyInput
- func (s *DeleteAccountPolicyInput) SetPolicyType(v string) *DeleteAccountPolicyInput
- func (s DeleteAccountPolicyInput) String() string
- func (s *DeleteAccountPolicyInput) Validate() error
- type DeleteAccountPolicyOutput
- type DeleteDataProtectionPolicyInput
- type DeleteDataProtectionPolicyOutput
- type DeleteDeliveryDestinationInput
- type DeleteDeliveryDestinationOutput
- type DeleteDeliveryDestinationPolicyInput
- func (s DeleteDeliveryDestinationPolicyInput) GoString() string
- func (s *DeleteDeliveryDestinationPolicyInput) SetDeliveryDestinationName(v string) *DeleteDeliveryDestinationPolicyInput
- func (s DeleteDeliveryDestinationPolicyInput) String() string
- func (s *DeleteDeliveryDestinationPolicyInput) Validate() error
- type DeleteDeliveryDestinationPolicyOutput
- type DeleteDeliveryInput
- type DeleteDeliveryOutput
- type DeleteDeliverySourceInput
- type DeleteDeliverySourceOutput
- type DeleteDestinationInput
- type DeleteDestinationOutput
- type DeleteLogAnomalyDetectorInput
- type DeleteLogAnomalyDetectorOutput
- type DeleteLogGroupInput
- type DeleteLogGroupOutput
- type DeleteLogStreamInput
- func (s DeleteLogStreamInput) GoString() string
- func (s *DeleteLogStreamInput) SetLogGroupName(v string) *DeleteLogStreamInput
- func (s *DeleteLogStreamInput) SetLogStreamName(v string) *DeleteLogStreamInput
- func (s DeleteLogStreamInput) String() string
- func (s *DeleteLogStreamInput) Validate() error
- type DeleteLogStreamOutput
- type DeleteMetricFilterInput
- func (s DeleteMetricFilterInput) GoString() string
- func (s *DeleteMetricFilterInput) SetFilterName(v string) *DeleteMetricFilterInput
- func (s *DeleteMetricFilterInput) SetLogGroupName(v string) *DeleteMetricFilterInput
- func (s DeleteMetricFilterInput) String() string
- func (s *DeleteMetricFilterInput) Validate() error
- type DeleteMetricFilterOutput
- type DeleteQueryDefinitionInput
- type DeleteQueryDefinitionOutput
- type DeleteResourcePolicyInput
- type DeleteResourcePolicyOutput
- type DeleteRetentionPolicyInput
- type DeleteRetentionPolicyOutput
- type DeleteSubscriptionFilterInput
- func (s DeleteSubscriptionFilterInput) GoString() string
- func (s *DeleteSubscriptionFilterInput) SetFilterName(v string) *DeleteSubscriptionFilterInput
- func (s *DeleteSubscriptionFilterInput) SetLogGroupName(v string) *DeleteSubscriptionFilterInput
- func (s DeleteSubscriptionFilterInput) String() string
- func (s *DeleteSubscriptionFilterInput) Validate() error
- type DeleteSubscriptionFilterOutput
- type Delivery
- func (s Delivery) GoString() string
- func (s *Delivery) SetArn(v string) *Delivery
- func (s *Delivery) SetDeliveryDestinationArn(v string) *Delivery
- func (s *Delivery) SetDeliveryDestinationType(v string) *Delivery
- func (s *Delivery) SetDeliverySourceName(v string) *Delivery
- func (s *Delivery) SetId(v string) *Delivery
- func (s *Delivery) SetTags(v map[string]*string) *Delivery
- func (s Delivery) String() string
- type DeliveryDestination
- func (s DeliveryDestination) GoString() string
- func (s *DeliveryDestination) SetArn(v string) *DeliveryDestination
- func (s *DeliveryDestination) SetDeliveryDestinationConfiguration(v *DeliveryDestinationConfiguration) *DeliveryDestination
- func (s *DeliveryDestination) SetDeliveryDestinationType(v string) *DeliveryDestination
- func (s *DeliveryDestination) SetName(v string) *DeliveryDestination
- func (s *DeliveryDestination) SetOutputFormat(v string) *DeliveryDestination
- func (s *DeliveryDestination) SetTags(v map[string]*string) *DeliveryDestination
- func (s DeliveryDestination) String() string
- type DeliveryDestinationConfiguration
- type DeliverySource
- func (s DeliverySource) GoString() string
- func (s *DeliverySource) SetArn(v string) *DeliverySource
- func (s *DeliverySource) SetLogType(v string) *DeliverySource
- func (s *DeliverySource) SetName(v string) *DeliverySource
- func (s *DeliverySource) SetResourceArns(v []*string) *DeliverySource
- func (s *DeliverySource) SetService(v string) *DeliverySource
- func (s *DeliverySource) SetTags(v map[string]*string) *DeliverySource
- func (s DeliverySource) String() string
- type DescribeAccountPoliciesInput
- func (s DescribeAccountPoliciesInput) GoString() string
- func (s *DescribeAccountPoliciesInput) SetAccountIdentifiers(v []*string) *DescribeAccountPoliciesInput
- func (s *DescribeAccountPoliciesInput) SetPolicyName(v string) *DescribeAccountPoliciesInput
- func (s *DescribeAccountPoliciesInput) SetPolicyType(v string) *DescribeAccountPoliciesInput
- func (s DescribeAccountPoliciesInput) String() string
- func (s *DescribeAccountPoliciesInput) Validate() error
- type DescribeAccountPoliciesOutput
- type DescribeDeliveriesInput
- func (s DescribeDeliveriesInput) GoString() string
- func (s *DescribeDeliveriesInput) SetLimit(v int64) *DescribeDeliveriesInput
- func (s *DescribeDeliveriesInput) SetNextToken(v string) *DescribeDeliveriesInput
- func (s DescribeDeliveriesInput) String() string
- func (s *DescribeDeliveriesInput) Validate() error
- type DescribeDeliveriesOutput
- type DescribeDeliveryDestinationsInput
- func (s DescribeDeliveryDestinationsInput) GoString() string
- func (s *DescribeDeliveryDestinationsInput) SetLimit(v int64) *DescribeDeliveryDestinationsInput
- func (s *DescribeDeliveryDestinationsInput) SetNextToken(v string) *DescribeDeliveryDestinationsInput
- func (s DescribeDeliveryDestinationsInput) String() string
- func (s *DescribeDeliveryDestinationsInput) Validate() error
- type DescribeDeliveryDestinationsOutput
- func (s DescribeDeliveryDestinationsOutput) GoString() string
- func (s *DescribeDeliveryDestinationsOutput) SetDeliveryDestinations(v []*DeliveryDestination) *DescribeDeliveryDestinationsOutput
- func (s *DescribeDeliveryDestinationsOutput) SetNextToken(v string) *DescribeDeliveryDestinationsOutput
- func (s DescribeDeliveryDestinationsOutput) String() string
- type DescribeDeliverySourcesInput
- func (s DescribeDeliverySourcesInput) GoString() string
- func (s *DescribeDeliverySourcesInput) SetLimit(v int64) *DescribeDeliverySourcesInput
- func (s *DescribeDeliverySourcesInput) SetNextToken(v string) *DescribeDeliverySourcesInput
- func (s DescribeDeliverySourcesInput) String() string
- func (s *DescribeDeliverySourcesInput) Validate() error
- type DescribeDeliverySourcesOutput
- func (s DescribeDeliverySourcesOutput) GoString() string
- func (s *DescribeDeliverySourcesOutput) SetDeliverySources(v []*DeliverySource) *DescribeDeliverySourcesOutput
- func (s *DescribeDeliverySourcesOutput) SetNextToken(v string) *DescribeDeliverySourcesOutput
- func (s DescribeDeliverySourcesOutput) String() string
- type DescribeDestinationsInput
- func (s DescribeDestinationsInput) GoString() string
- func (s *DescribeDestinationsInput) SetDestinationNamePrefix(v string) *DescribeDestinationsInput
- func (s *DescribeDestinationsInput) SetLimit(v int64) *DescribeDestinationsInput
- func (s *DescribeDestinationsInput) SetNextToken(v string) *DescribeDestinationsInput
- func (s DescribeDestinationsInput) String() string
- func (s *DescribeDestinationsInput) Validate() error
- type DescribeDestinationsOutput
- type DescribeExportTasksInput
- func (s DescribeExportTasksInput) GoString() string
- func (s *DescribeExportTasksInput) SetLimit(v int64) *DescribeExportTasksInput
- func (s *DescribeExportTasksInput) SetNextToken(v string) *DescribeExportTasksInput
- func (s *DescribeExportTasksInput) SetStatusCode(v string) *DescribeExportTasksInput
- func (s *DescribeExportTasksInput) SetTaskId(v string) *DescribeExportTasksInput
- func (s DescribeExportTasksInput) String() string
- func (s *DescribeExportTasksInput) Validate() error
- type DescribeExportTasksOutput
- type DescribeLogGroupsInput
- func (s DescribeLogGroupsInput) GoString() string
- func (s *DescribeLogGroupsInput) SetAccountIdentifiers(v []*string) *DescribeLogGroupsInput
- func (s *DescribeLogGroupsInput) SetIncludeLinkedAccounts(v bool) *DescribeLogGroupsInput
- func (s *DescribeLogGroupsInput) SetLimit(v int64) *DescribeLogGroupsInput
- func (s *DescribeLogGroupsInput) SetLogGroupClass(v string) *DescribeLogGroupsInput
- func (s *DescribeLogGroupsInput) SetLogGroupNamePattern(v string) *DescribeLogGroupsInput
- func (s *DescribeLogGroupsInput) SetLogGroupNamePrefix(v string) *DescribeLogGroupsInput
- func (s *DescribeLogGroupsInput) SetNextToken(v string) *DescribeLogGroupsInput
- func (s DescribeLogGroupsInput) String() string
- func (s *DescribeLogGroupsInput) Validate() error
- type DescribeLogGroupsOutput
- type DescribeLogStreamsInput
- func (s DescribeLogStreamsInput) GoString() string
- func (s *DescribeLogStreamsInput) SetDescending(v bool) *DescribeLogStreamsInput
- func (s *DescribeLogStreamsInput) SetLimit(v int64) *DescribeLogStreamsInput
- func (s *DescribeLogStreamsInput) SetLogGroupIdentifier(v string) *DescribeLogStreamsInput
- func (s *DescribeLogStreamsInput) SetLogGroupName(v string) *DescribeLogStreamsInput
- func (s *DescribeLogStreamsInput) SetLogStreamNamePrefix(v string) *DescribeLogStreamsInput
- func (s *DescribeLogStreamsInput) SetNextToken(v string) *DescribeLogStreamsInput
- func (s *DescribeLogStreamsInput) SetOrderBy(v string) *DescribeLogStreamsInput
- func (s DescribeLogStreamsInput) String() string
- func (s *DescribeLogStreamsInput) Validate() error
- type DescribeLogStreamsOutput
- type DescribeMetricFiltersInput
- func (s DescribeMetricFiltersInput) GoString() string
- func (s *DescribeMetricFiltersInput) SetFilterNamePrefix(v string) *DescribeMetricFiltersInput
- func (s *DescribeMetricFiltersInput) SetLimit(v int64) *DescribeMetricFiltersInput
- func (s *DescribeMetricFiltersInput) SetLogGroupName(v string) *DescribeMetricFiltersInput
- func (s *DescribeMetricFiltersInput) SetMetricName(v string) *DescribeMetricFiltersInput
- func (s *DescribeMetricFiltersInput) SetMetricNamespace(v string) *DescribeMetricFiltersInput
- func (s *DescribeMetricFiltersInput) SetNextToken(v string) *DescribeMetricFiltersInput
- func (s DescribeMetricFiltersInput) String() string
- func (s *DescribeMetricFiltersInput) Validate() error
- type DescribeMetricFiltersOutput
- func (s DescribeMetricFiltersOutput) GoString() string
- func (s *DescribeMetricFiltersOutput) SetMetricFilters(v []*MetricFilter) *DescribeMetricFiltersOutput
- func (s *DescribeMetricFiltersOutput) SetNextToken(v string) *DescribeMetricFiltersOutput
- func (s DescribeMetricFiltersOutput) String() string
- type DescribeQueriesInput
- func (s DescribeQueriesInput) GoString() string
- func (s *DescribeQueriesInput) SetLogGroupName(v string) *DescribeQueriesInput
- func (s *DescribeQueriesInput) SetMaxResults(v int64) *DescribeQueriesInput
- func (s *DescribeQueriesInput) SetNextToken(v string) *DescribeQueriesInput
- func (s *DescribeQueriesInput) SetStatus(v string) *DescribeQueriesInput
- func (s DescribeQueriesInput) String() string
- func (s *DescribeQueriesInput) Validate() error
- type DescribeQueriesOutput
- type DescribeQueryDefinitionsInput
- func (s DescribeQueryDefinitionsInput) GoString() string
- func (s *DescribeQueryDefinitionsInput) SetMaxResults(v int64) *DescribeQueryDefinitionsInput
- func (s *DescribeQueryDefinitionsInput) SetNextToken(v string) *DescribeQueryDefinitionsInput
- func (s *DescribeQueryDefinitionsInput) SetQueryDefinitionNamePrefix(v string) *DescribeQueryDefinitionsInput
- func (s DescribeQueryDefinitionsInput) String() string
- func (s *DescribeQueryDefinitionsInput) Validate() error
- type DescribeQueryDefinitionsOutput
- func (s DescribeQueryDefinitionsOutput) GoString() string
- func (s *DescribeQueryDefinitionsOutput) SetNextToken(v string) *DescribeQueryDefinitionsOutput
- func (s *DescribeQueryDefinitionsOutput) SetQueryDefinitions(v []*QueryDefinition) *DescribeQueryDefinitionsOutput
- func (s DescribeQueryDefinitionsOutput) String() string
- type DescribeResourcePoliciesInput
- func (s DescribeResourcePoliciesInput) GoString() string
- func (s *DescribeResourcePoliciesInput) SetLimit(v int64) *DescribeResourcePoliciesInput
- func (s *DescribeResourcePoliciesInput) SetNextToken(v string) *DescribeResourcePoliciesInput
- func (s DescribeResourcePoliciesInput) String() string
- func (s *DescribeResourcePoliciesInput) Validate() error
- type DescribeResourcePoliciesOutput
- func (s DescribeResourcePoliciesOutput) GoString() string
- func (s *DescribeResourcePoliciesOutput) SetNextToken(v string) *DescribeResourcePoliciesOutput
- func (s *DescribeResourcePoliciesOutput) SetResourcePolicies(v []*ResourcePolicy) *DescribeResourcePoliciesOutput
- func (s DescribeResourcePoliciesOutput) String() string
- type DescribeSubscriptionFiltersInput
- func (s DescribeSubscriptionFiltersInput) GoString() string
- func (s *DescribeSubscriptionFiltersInput) SetFilterNamePrefix(v string) *DescribeSubscriptionFiltersInput
- func (s *DescribeSubscriptionFiltersInput) SetLimit(v int64) *DescribeSubscriptionFiltersInput
- func (s *DescribeSubscriptionFiltersInput) SetLogGroupName(v string) *DescribeSubscriptionFiltersInput
- func (s *DescribeSubscriptionFiltersInput) SetNextToken(v string) *DescribeSubscriptionFiltersInput
- func (s DescribeSubscriptionFiltersInput) String() string
- func (s *DescribeSubscriptionFiltersInput) Validate() error
- type DescribeSubscriptionFiltersOutput
- func (s DescribeSubscriptionFiltersOutput) GoString() string
- func (s *DescribeSubscriptionFiltersOutput) SetNextToken(v string) *DescribeSubscriptionFiltersOutput
- func (s *DescribeSubscriptionFiltersOutput) SetSubscriptionFilters(v []*SubscriptionFilter) *DescribeSubscriptionFiltersOutput
- func (s DescribeSubscriptionFiltersOutput) String() string
- type Destination
- func (s Destination) GoString() string
- func (s *Destination) SetAccessPolicy(v string) *Destination
- func (s *Destination) SetArn(v string) *Destination
- func (s *Destination) SetCreationTime(v int64) *Destination
- func (s *Destination) SetDestinationName(v string) *Destination
- func (s *Destination) SetRoleArn(v string) *Destination
- func (s *Destination) SetTargetArn(v string) *Destination
- func (s Destination) String() string
- type DisassociateKmsKeyInput
- func (s DisassociateKmsKeyInput) GoString() string
- func (s *DisassociateKmsKeyInput) SetLogGroupName(v string) *DisassociateKmsKeyInput
- func (s *DisassociateKmsKeyInput) SetResourceIdentifier(v string) *DisassociateKmsKeyInput
- func (s DisassociateKmsKeyInput) String() string
- func (s *DisassociateKmsKeyInput) Validate() error
- type DisassociateKmsKeyOutput
- type ExportTask
- func (s ExportTask) GoString() string
- func (s *ExportTask) SetDestination(v string) *ExportTask
- func (s *ExportTask) SetDestinationPrefix(v string) *ExportTask
- func (s *ExportTask) SetExecutionInfo(v *ExportTaskExecutionInfo) *ExportTask
- func (s *ExportTask) SetFrom(v int64) *ExportTask
- func (s *ExportTask) SetLogGroupName(v string) *ExportTask
- func (s *ExportTask) SetStatus(v *ExportTaskStatus) *ExportTask
- func (s *ExportTask) SetTaskId(v string) *ExportTask
- func (s *ExportTask) SetTaskName(v string) *ExportTask
- func (s *ExportTask) SetTo(v int64) *ExportTask
- func (s ExportTask) String() string
- type ExportTaskExecutionInfo
- type ExportTaskStatus
- type FilterLogEventsInput
- func (s FilterLogEventsInput) GoString() string
- func (s *FilterLogEventsInput) SetEndTime(v int64) *FilterLogEventsInput
- func (s *FilterLogEventsInput) SetFilterPattern(v string) *FilterLogEventsInput
- func (s *FilterLogEventsInput) SetInterleaved(v bool) *FilterLogEventsInput
- func (s *FilterLogEventsInput) SetLimit(v int64) *FilterLogEventsInput
- func (s *FilterLogEventsInput) SetLogGroupIdentifier(v string) *FilterLogEventsInput
- func (s *FilterLogEventsInput) SetLogGroupName(v string) *FilterLogEventsInput
- func (s *FilterLogEventsInput) SetLogStreamNamePrefix(v string) *FilterLogEventsInput
- func (s *FilterLogEventsInput) SetLogStreamNames(v []*string) *FilterLogEventsInput
- func (s *FilterLogEventsInput) SetNextToken(v string) *FilterLogEventsInput
- func (s *FilterLogEventsInput) SetStartTime(v int64) *FilterLogEventsInput
- func (s *FilterLogEventsInput) SetUnmask(v bool) *FilterLogEventsInput
- func (s FilterLogEventsInput) String() string
- func (s *FilterLogEventsInput) Validate() error
- type FilterLogEventsOutput
- func (s FilterLogEventsOutput) GoString() string
- func (s *FilterLogEventsOutput) SetEvents(v []*FilteredLogEvent) *FilterLogEventsOutput
- func (s *FilterLogEventsOutput) SetNextToken(v string) *FilterLogEventsOutput
- func (s *FilterLogEventsOutput) SetSearchedLogStreams(v []*SearchedLogStream) *FilterLogEventsOutput
- func (s FilterLogEventsOutput) String() string
- type FilteredLogEvent
- func (s FilteredLogEvent) GoString() string
- func (s *FilteredLogEvent) SetEventId(v string) *FilteredLogEvent
- func (s *FilteredLogEvent) SetIngestionTime(v int64) *FilteredLogEvent
- func (s *FilteredLogEvent) SetLogStreamName(v string) *FilteredLogEvent
- func (s *FilteredLogEvent) SetMessage(v string) *FilteredLogEvent
- func (s *FilteredLogEvent) SetTimestamp(v int64) *FilteredLogEvent
- func (s FilteredLogEvent) String() string
- type GetDataProtectionPolicyInput
- type GetDataProtectionPolicyOutput
- func (s GetDataProtectionPolicyOutput) GoString() string
- func (s *GetDataProtectionPolicyOutput) SetLastUpdatedTime(v int64) *GetDataProtectionPolicyOutput
- func (s *GetDataProtectionPolicyOutput) SetLogGroupIdentifier(v string) *GetDataProtectionPolicyOutput
- func (s *GetDataProtectionPolicyOutput) SetPolicyDocument(v string) *GetDataProtectionPolicyOutput
- func (s GetDataProtectionPolicyOutput) String() string
- type GetDeliveryDestinationInput
- type GetDeliveryDestinationOutput
- type GetDeliveryDestinationPolicyInput
- type GetDeliveryDestinationPolicyOutput
- type GetDeliveryInput
- type GetDeliveryOutput
- type GetDeliverySourceInput
- type GetDeliverySourceOutput
- type GetLogAnomalyDetectorInput
- type GetLogAnomalyDetectorOutput
- func (s GetLogAnomalyDetectorOutput) GoString() string
- func (s *GetLogAnomalyDetectorOutput) SetAnomalyDetectorStatus(v string) *GetLogAnomalyDetectorOutput
- func (s *GetLogAnomalyDetectorOutput) SetAnomalyVisibilityTime(v int64) *GetLogAnomalyDetectorOutput
- func (s *GetLogAnomalyDetectorOutput) SetCreationTimeStamp(v int64) *GetLogAnomalyDetectorOutput
- func (s *GetLogAnomalyDetectorOutput) SetDetectorName(v string) *GetLogAnomalyDetectorOutput
- func (s *GetLogAnomalyDetectorOutput) SetEvaluationFrequency(v string) *GetLogAnomalyDetectorOutput
- func (s *GetLogAnomalyDetectorOutput) SetFilterPattern(v string) *GetLogAnomalyDetectorOutput
- func (s *GetLogAnomalyDetectorOutput) SetKmsKeyId(v string) *GetLogAnomalyDetectorOutput
- func (s *GetLogAnomalyDetectorOutput) SetLastModifiedTimeStamp(v int64) *GetLogAnomalyDetectorOutput
- func (s *GetLogAnomalyDetectorOutput) SetLogGroupArnList(v []*string) *GetLogAnomalyDetectorOutput
- func (s GetLogAnomalyDetectorOutput) String() string
- type GetLogEventsInput
- func (s GetLogEventsInput) GoString() string
- func (s *GetLogEventsInput) SetEndTime(v int64) *GetLogEventsInput
- func (s *GetLogEventsInput) SetLimit(v int64) *GetLogEventsInput
- func (s *GetLogEventsInput) SetLogGroupIdentifier(v string) *GetLogEventsInput
- func (s *GetLogEventsInput) SetLogGroupName(v string) *GetLogEventsInput
- func (s *GetLogEventsInput) SetLogStreamName(v string) *GetLogEventsInput
- func (s *GetLogEventsInput) SetNextToken(v string) *GetLogEventsInput
- func (s *GetLogEventsInput) SetStartFromHead(v bool) *GetLogEventsInput
- func (s *GetLogEventsInput) SetStartTime(v int64) *GetLogEventsInput
- func (s *GetLogEventsInput) SetUnmask(v bool) *GetLogEventsInput
- func (s GetLogEventsInput) String() string
- func (s *GetLogEventsInput) Validate() error
- type GetLogEventsOutput
- func (s GetLogEventsOutput) GoString() string
- func (s *GetLogEventsOutput) SetEvents(v []*OutputLogEvent) *GetLogEventsOutput
- func (s *GetLogEventsOutput) SetNextBackwardToken(v string) *GetLogEventsOutput
- func (s *GetLogEventsOutput) SetNextForwardToken(v string) *GetLogEventsOutput
- func (s GetLogEventsOutput) String() string
- type GetLogGroupFieldsInput
- func (s GetLogGroupFieldsInput) GoString() string
- func (s *GetLogGroupFieldsInput) SetLogGroupIdentifier(v string) *GetLogGroupFieldsInput
- func (s *GetLogGroupFieldsInput) SetLogGroupName(v string) *GetLogGroupFieldsInput
- func (s *GetLogGroupFieldsInput) SetTime(v int64) *GetLogGroupFieldsInput
- func (s GetLogGroupFieldsInput) String() string
- func (s *GetLogGroupFieldsInput) Validate() error
- type GetLogGroupFieldsOutput
- type GetLogRecordInput
- type GetLogRecordOutput
- type GetQueryResultsInput
- type GetQueryResultsOutput
- func (s GetQueryResultsOutput) GoString() string
- func (s *GetQueryResultsOutput) SetEncryptionKey(v string) *GetQueryResultsOutput
- func (s *GetQueryResultsOutput) SetResults(v [][]*ResultField) *GetQueryResultsOutput
- func (s *GetQueryResultsOutput) SetStatistics(v *QueryStatistics) *GetQueryResultsOutput
- func (s *GetQueryResultsOutput) SetStatus(v string) *GetQueryResultsOutput
- func (s GetQueryResultsOutput) String() string
- type InputLogEvent
- type InvalidOperationException
- func (s *InvalidOperationException) Code() string
- func (s *InvalidOperationException) Error() string
- func (s InvalidOperationException) GoString() string
- func (s *InvalidOperationException) Message() string
- func (s *InvalidOperationException) OrigErr() error
- func (s *InvalidOperationException) RequestID() string
- func (s *InvalidOperationException) StatusCode() int
- func (s InvalidOperationException) 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 InvalidSequenceTokenException
- func (s *InvalidSequenceTokenException) Code() string
- func (s *InvalidSequenceTokenException) Error() string
- func (s InvalidSequenceTokenException) GoString() string
- func (s *InvalidSequenceTokenException) Message() string
- func (s *InvalidSequenceTokenException) OrigErr() error
- func (s *InvalidSequenceTokenException) RequestID() string
- func (s *InvalidSequenceTokenException) StatusCode() int
- func (s InvalidSequenceTokenException) String() string
- type LimitExceededException
- func (s *LimitExceededException) Code() string
- func (s *LimitExceededException) Error() string
- func (s LimitExceededException) GoString() string
- func (s *LimitExceededException) Message() string
- func (s *LimitExceededException) OrigErr() error
- func (s *LimitExceededException) RequestID() string
- func (s *LimitExceededException) StatusCode() int
- func (s LimitExceededException) String() string
- type ListAnomaliesInput
- func (s ListAnomaliesInput) GoString() string
- func (s *ListAnomaliesInput) SetAnomalyDetectorArn(v string) *ListAnomaliesInput
- func (s *ListAnomaliesInput) SetLimit(v int64) *ListAnomaliesInput
- func (s *ListAnomaliesInput) SetNextToken(v string) *ListAnomaliesInput
- func (s *ListAnomaliesInput) SetSuppressionState(v string) *ListAnomaliesInput
- func (s ListAnomaliesInput) String() string
- func (s *ListAnomaliesInput) Validate() error
- type ListAnomaliesOutput
- type ListLogAnomalyDetectorsInput
- func (s ListLogAnomalyDetectorsInput) GoString() string
- func (s *ListLogAnomalyDetectorsInput) SetFilterLogGroupArn(v string) *ListLogAnomalyDetectorsInput
- func (s *ListLogAnomalyDetectorsInput) SetLimit(v int64) *ListLogAnomalyDetectorsInput
- func (s *ListLogAnomalyDetectorsInput) SetNextToken(v string) *ListLogAnomalyDetectorsInput
- func (s ListLogAnomalyDetectorsInput) String() string
- func (s *ListLogAnomalyDetectorsInput) Validate() error
- type ListLogAnomalyDetectorsOutput
- func (s ListLogAnomalyDetectorsOutput) GoString() string
- func (s *ListLogAnomalyDetectorsOutput) SetAnomalyDetectors(v []*AnomalyDetector) *ListLogAnomalyDetectorsOutput
- func (s *ListLogAnomalyDetectorsOutput) SetNextToken(v string) *ListLogAnomalyDetectorsOutput
- func (s ListLogAnomalyDetectorsOutput) String() string
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTagsLogGroupInputdeprecated
- type ListTagsLogGroupOutputdeprecated
- type LiveTailSessionLogEvent
- func (s LiveTailSessionLogEvent) GoString() string
- func (s *LiveTailSessionLogEvent) SetIngestionTime(v int64) *LiveTailSessionLogEvent
- func (s *LiveTailSessionLogEvent) SetLogGroupIdentifier(v string) *LiveTailSessionLogEvent
- func (s *LiveTailSessionLogEvent) SetLogStreamName(v string) *LiveTailSessionLogEvent
- func (s *LiveTailSessionLogEvent) SetMessage(v string) *LiveTailSessionLogEvent
- func (s *LiveTailSessionLogEvent) SetTimestamp(v int64) *LiveTailSessionLogEvent
- func (s LiveTailSessionLogEvent) String() string
- type LiveTailSessionMetadata
- type LiveTailSessionStart
- func (s LiveTailSessionStart) GoString() string
- func (s *LiveTailSessionStart) MarshalEvent(pm protocol.PayloadMarshaler) (msg eventstream.Message, err error)
- func (s *LiveTailSessionStart) SetLogEventFilterPattern(v string) *LiveTailSessionStart
- func (s *LiveTailSessionStart) SetLogGroupIdentifiers(v []*string) *LiveTailSessionStart
- func (s *LiveTailSessionStart) SetLogStreamNamePrefixes(v []*string) *LiveTailSessionStart
- func (s *LiveTailSessionStart) SetLogStreamNames(v []*string) *LiveTailSessionStart
- func (s *LiveTailSessionStart) SetRequestId(v string) *LiveTailSessionStart
- func (s *LiveTailSessionStart) SetSessionId(v string) *LiveTailSessionStart
- func (s LiveTailSessionStart) String() string
- func (s *LiveTailSessionStart) UnmarshalEvent(payloadUnmarshaler protocol.PayloadUnmarshaler, msg eventstream.Message) error
- type LiveTailSessionUpdate
- func (s LiveTailSessionUpdate) GoString() string
- func (s *LiveTailSessionUpdate) MarshalEvent(pm protocol.PayloadMarshaler) (msg eventstream.Message, err error)
- func (s *LiveTailSessionUpdate) SetSessionMetadata(v *LiveTailSessionMetadata) *LiveTailSessionUpdate
- func (s *LiveTailSessionUpdate) SetSessionResults(v []*LiveTailSessionLogEvent) *LiveTailSessionUpdate
- func (s LiveTailSessionUpdate) String() string
- func (s *LiveTailSessionUpdate) UnmarshalEvent(payloadUnmarshaler protocol.PayloadUnmarshaler, msg eventstream.Message) error
- type LogEvent
- type LogGroup
- func (s LogGroup) GoString() string
- func (s *LogGroup) SetArn(v string) *LogGroup
- func (s *LogGroup) SetCreationTime(v int64) *LogGroup
- func (s *LogGroup) SetDataProtectionStatus(v string) *LogGroup
- func (s *LogGroup) SetInheritedProperties(v []*string) *LogGroup
- func (s *LogGroup) SetKmsKeyId(v string) *LogGroup
- func (s *LogGroup) SetLogGroupArn(v string) *LogGroup
- func (s *LogGroup) SetLogGroupClass(v string) *LogGroup
- func (s *LogGroup) SetLogGroupName(v string) *LogGroup
- func (s *LogGroup) SetMetricFilterCount(v int64) *LogGroup
- func (s *LogGroup) SetRetentionInDays(v int64) *LogGroup
- func (s *LogGroup) SetStoredBytes(v int64) *LogGroup
- func (s LogGroup) String() string
- type LogGroupField
- type LogStream
- func (s LogStream) GoString() string
- func (s *LogStream) SetArn(v string) *LogStream
- func (s *LogStream) SetCreationTime(v int64) *LogStream
- func (s *LogStream) SetFirstEventTimestamp(v int64) *LogStream
- func (s *LogStream) SetLastEventTimestamp(v int64) *LogStream
- func (s *LogStream) SetLastIngestionTime(v int64) *LogStream
- func (s *LogStream) SetLogStreamName(v string) *LogStream
- func (s *LogStream) SetStoredBytes(v int64) *LogStream
- func (s *LogStream) SetUploadSequenceToken(v string) *LogStream
- func (s LogStream) String() string
- type MalformedQueryException
- func (s *MalformedQueryException) Code() string
- func (s *MalformedQueryException) Error() string
- func (s MalformedQueryException) GoString() string
- func (s *MalformedQueryException) Message() string
- func (s *MalformedQueryException) OrigErr() error
- func (s *MalformedQueryException) RequestID() string
- func (s *MalformedQueryException) StatusCode() int
- func (s MalformedQueryException) String() string
- type MetricFilter
- func (s MetricFilter) GoString() string
- func (s *MetricFilter) SetCreationTime(v int64) *MetricFilter
- func (s *MetricFilter) SetFilterName(v string) *MetricFilter
- func (s *MetricFilter) SetFilterPattern(v string) *MetricFilter
- func (s *MetricFilter) SetLogGroupName(v string) *MetricFilter
- func (s *MetricFilter) SetMetricTransformations(v []*MetricTransformation) *MetricFilter
- func (s MetricFilter) String() string
- type MetricFilterMatchRecord
- func (s MetricFilterMatchRecord) GoString() string
- func (s *MetricFilterMatchRecord) SetEventMessage(v string) *MetricFilterMatchRecord
- func (s *MetricFilterMatchRecord) SetEventNumber(v int64) *MetricFilterMatchRecord
- func (s *MetricFilterMatchRecord) SetExtractedValues(v map[string]*string) *MetricFilterMatchRecord
- func (s MetricFilterMatchRecord) String() string
- type MetricTransformation
- func (s MetricTransformation) GoString() string
- func (s *MetricTransformation) SetDefaultValue(v float64) *MetricTransformation
- func (s *MetricTransformation) SetDimensions(v map[string]*string) *MetricTransformation
- func (s *MetricTransformation) SetMetricName(v string) *MetricTransformation
- func (s *MetricTransformation) SetMetricNamespace(v string) *MetricTransformation
- func (s *MetricTransformation) SetMetricValue(v string) *MetricTransformation
- func (s *MetricTransformation) SetUnit(v string) *MetricTransformation
- func (s MetricTransformation) String() string
- func (s *MetricTransformation) Validate() error
- type OperationAbortedException
- func (s *OperationAbortedException) Code() string
- func (s *OperationAbortedException) Error() string
- func (s OperationAbortedException) GoString() string
- func (s *OperationAbortedException) Message() string
- func (s *OperationAbortedException) OrigErr() error
- func (s *OperationAbortedException) RequestID() string
- func (s *OperationAbortedException) StatusCode() int
- func (s OperationAbortedException) String() string
- type OutputLogEvent
- type PatternToken
- func (s PatternToken) GoString() string
- func (s *PatternToken) SetDynamicTokenPosition(v int64) *PatternToken
- func (s *PatternToken) SetEnumerations(v map[string]*int64) *PatternToken
- func (s *PatternToken) SetIsDynamic(v bool) *PatternToken
- func (s *PatternToken) SetTokenString(v string) *PatternToken
- func (s PatternToken) String() string
- type Policy
- type PutAccountPolicyInput
- func (s PutAccountPolicyInput) GoString() string
- func (s *PutAccountPolicyInput) SetPolicyDocument(v string) *PutAccountPolicyInput
- func (s *PutAccountPolicyInput) SetPolicyName(v string) *PutAccountPolicyInput
- func (s *PutAccountPolicyInput) SetPolicyType(v string) *PutAccountPolicyInput
- func (s *PutAccountPolicyInput) SetScope(v string) *PutAccountPolicyInput
- func (s *PutAccountPolicyInput) SetSelectionCriteria(v string) *PutAccountPolicyInput
- func (s PutAccountPolicyInput) String() string
- func (s *PutAccountPolicyInput) Validate() error
- type PutAccountPolicyOutput
- type PutDataProtectionPolicyInput
- func (s PutDataProtectionPolicyInput) GoString() string
- func (s *PutDataProtectionPolicyInput) SetLogGroupIdentifier(v string) *PutDataProtectionPolicyInput
- func (s *PutDataProtectionPolicyInput) SetPolicyDocument(v string) *PutDataProtectionPolicyInput
- func (s PutDataProtectionPolicyInput) String() string
- func (s *PutDataProtectionPolicyInput) Validate() error
- type PutDataProtectionPolicyOutput
- func (s PutDataProtectionPolicyOutput) GoString() string
- func (s *PutDataProtectionPolicyOutput) SetLastUpdatedTime(v int64) *PutDataProtectionPolicyOutput
- func (s *PutDataProtectionPolicyOutput) SetLogGroupIdentifier(v string) *PutDataProtectionPolicyOutput
- func (s *PutDataProtectionPolicyOutput) SetPolicyDocument(v string) *PutDataProtectionPolicyOutput
- func (s PutDataProtectionPolicyOutput) String() string
- type PutDeliveryDestinationInput
- func (s PutDeliveryDestinationInput) GoString() string
- func (s *PutDeliveryDestinationInput) SetDeliveryDestinationConfiguration(v *DeliveryDestinationConfiguration) *PutDeliveryDestinationInput
- func (s *PutDeliveryDestinationInput) SetName(v string) *PutDeliveryDestinationInput
- func (s *PutDeliveryDestinationInput) SetOutputFormat(v string) *PutDeliveryDestinationInput
- func (s *PutDeliveryDestinationInput) SetTags(v map[string]*string) *PutDeliveryDestinationInput
- func (s PutDeliveryDestinationInput) String() string
- func (s *PutDeliveryDestinationInput) Validate() error
- type PutDeliveryDestinationOutput
- type PutDeliveryDestinationPolicyInput
- func (s PutDeliveryDestinationPolicyInput) GoString() string
- func (s *PutDeliveryDestinationPolicyInput) SetDeliveryDestinationName(v string) *PutDeliveryDestinationPolicyInput
- func (s *PutDeliveryDestinationPolicyInput) SetDeliveryDestinationPolicy(v string) *PutDeliveryDestinationPolicyInput
- func (s PutDeliveryDestinationPolicyInput) String() string
- func (s *PutDeliveryDestinationPolicyInput) Validate() error
- type PutDeliveryDestinationPolicyOutput
- type PutDeliverySourceInput
- func (s PutDeliverySourceInput) GoString() string
- func (s *PutDeliverySourceInput) SetLogType(v string) *PutDeliverySourceInput
- func (s *PutDeliverySourceInput) SetName(v string) *PutDeliverySourceInput
- func (s *PutDeliverySourceInput) SetResourceArn(v string) *PutDeliverySourceInput
- func (s *PutDeliverySourceInput) SetTags(v map[string]*string) *PutDeliverySourceInput
- func (s PutDeliverySourceInput) String() string
- func (s *PutDeliverySourceInput) Validate() error
- type PutDeliverySourceOutput
- type PutDestinationInput
- func (s PutDestinationInput) GoString() string
- func (s *PutDestinationInput) SetDestinationName(v string) *PutDestinationInput
- func (s *PutDestinationInput) SetRoleArn(v string) *PutDestinationInput
- func (s *PutDestinationInput) SetTags(v map[string]*string) *PutDestinationInput
- func (s *PutDestinationInput) SetTargetArn(v string) *PutDestinationInput
- func (s PutDestinationInput) String() string
- func (s *PutDestinationInput) Validate() error
- type PutDestinationOutput
- type PutDestinationPolicyInput
- func (s PutDestinationPolicyInput) GoString() string
- func (s *PutDestinationPolicyInput) SetAccessPolicy(v string) *PutDestinationPolicyInput
- func (s *PutDestinationPolicyInput) SetDestinationName(v string) *PutDestinationPolicyInput
- func (s *PutDestinationPolicyInput) SetForceUpdate(v bool) *PutDestinationPolicyInput
- func (s PutDestinationPolicyInput) String() string
- func (s *PutDestinationPolicyInput) Validate() error
- type PutDestinationPolicyOutput
- type PutLogEventsInput
- func (s PutLogEventsInput) GoString() string
- func (s *PutLogEventsInput) SetLogEvents(v []*InputLogEvent) *PutLogEventsInput
- func (s *PutLogEventsInput) SetLogGroupName(v string) *PutLogEventsInput
- func (s *PutLogEventsInput) SetLogStreamName(v string) *PutLogEventsInput
- func (s *PutLogEventsInput) SetSequenceToken(v string) *PutLogEventsInput
- func (s PutLogEventsInput) String() string
- func (s *PutLogEventsInput) Validate() error
- type PutLogEventsOutput
- type PutMetricFilterInput
- func (s PutMetricFilterInput) GoString() string
- func (s *PutMetricFilterInput) SetFilterName(v string) *PutMetricFilterInput
- func (s *PutMetricFilterInput) SetFilterPattern(v string) *PutMetricFilterInput
- func (s *PutMetricFilterInput) SetLogGroupName(v string) *PutMetricFilterInput
- func (s *PutMetricFilterInput) SetMetricTransformations(v []*MetricTransformation) *PutMetricFilterInput
- func (s PutMetricFilterInput) String() string
- func (s *PutMetricFilterInput) Validate() error
- type PutMetricFilterOutput
- type PutQueryDefinitionInput
- func (s PutQueryDefinitionInput) GoString() string
- func (s *PutQueryDefinitionInput) SetClientToken(v string) *PutQueryDefinitionInput
- func (s *PutQueryDefinitionInput) SetLogGroupNames(v []*string) *PutQueryDefinitionInput
- func (s *PutQueryDefinitionInput) SetName(v string) *PutQueryDefinitionInput
- func (s *PutQueryDefinitionInput) SetQueryDefinitionId(v string) *PutQueryDefinitionInput
- func (s *PutQueryDefinitionInput) SetQueryString(v string) *PutQueryDefinitionInput
- func (s PutQueryDefinitionInput) String() string
- func (s *PutQueryDefinitionInput) Validate() error
- type PutQueryDefinitionOutput
- type PutResourcePolicyInput
- func (s PutResourcePolicyInput) GoString() string
- func (s *PutResourcePolicyInput) SetPolicyDocument(v string) *PutResourcePolicyInput
- func (s *PutResourcePolicyInput) SetPolicyName(v string) *PutResourcePolicyInput
- func (s PutResourcePolicyInput) String() string
- func (s *PutResourcePolicyInput) Validate() error
- type PutResourcePolicyOutput
- type PutRetentionPolicyInput
- func (s PutRetentionPolicyInput) GoString() string
- func (s *PutRetentionPolicyInput) SetLogGroupName(v string) *PutRetentionPolicyInput
- func (s *PutRetentionPolicyInput) SetRetentionInDays(v int64) *PutRetentionPolicyInput
- func (s PutRetentionPolicyInput) String() string
- func (s *PutRetentionPolicyInput) Validate() error
- type PutRetentionPolicyOutput
- type PutSubscriptionFilterInput
- func (s PutSubscriptionFilterInput) GoString() string
- func (s *PutSubscriptionFilterInput) SetDestinationArn(v string) *PutSubscriptionFilterInput
- func (s *PutSubscriptionFilterInput) SetDistribution(v string) *PutSubscriptionFilterInput
- func (s *PutSubscriptionFilterInput) SetFilterName(v string) *PutSubscriptionFilterInput
- func (s *PutSubscriptionFilterInput) SetFilterPattern(v string) *PutSubscriptionFilterInput
- func (s *PutSubscriptionFilterInput) SetLogGroupName(v string) *PutSubscriptionFilterInput
- func (s *PutSubscriptionFilterInput) SetRoleArn(v string) *PutSubscriptionFilterInput
- func (s PutSubscriptionFilterInput) String() string
- func (s *PutSubscriptionFilterInput) Validate() error
- type PutSubscriptionFilterOutput
- type QueryCompileError
- type QueryCompileErrorLocation
- type QueryDefinition
- func (s QueryDefinition) GoString() string
- func (s *QueryDefinition) SetLastModified(v int64) *QueryDefinition
- func (s *QueryDefinition) SetLogGroupNames(v []*string) *QueryDefinition
- func (s *QueryDefinition) SetName(v string) *QueryDefinition
- func (s *QueryDefinition) SetQueryDefinitionId(v string) *QueryDefinition
- func (s *QueryDefinition) SetQueryString(v string) *QueryDefinition
- func (s QueryDefinition) String() string
- type QueryInfo
- func (s QueryInfo) GoString() string
- func (s *QueryInfo) SetCreateTime(v int64) *QueryInfo
- func (s *QueryInfo) SetLogGroupName(v string) *QueryInfo
- func (s *QueryInfo) SetQueryId(v string) *QueryInfo
- func (s *QueryInfo) SetQueryString(v string) *QueryInfo
- func (s *QueryInfo) SetStatus(v string) *QueryInfo
- func (s QueryInfo) String() string
- type QueryStatistics
- type RejectedLogEventsInfo
- func (s RejectedLogEventsInfo) GoString() string
- func (s *RejectedLogEventsInfo) SetExpiredLogEventEndIndex(v int64) *RejectedLogEventsInfo
- func (s *RejectedLogEventsInfo) SetTooNewLogEventStartIndex(v int64) *RejectedLogEventsInfo
- func (s *RejectedLogEventsInfo) SetTooOldLogEventEndIndex(v int64) *RejectedLogEventsInfo
- func (s RejectedLogEventsInfo) String() string
- type ResourceAlreadyExistsException
- func (s *ResourceAlreadyExistsException) Code() string
- func (s *ResourceAlreadyExistsException) Error() string
- func (s ResourceAlreadyExistsException) GoString() string
- func (s *ResourceAlreadyExistsException) Message() string
- func (s *ResourceAlreadyExistsException) OrigErr() error
- func (s *ResourceAlreadyExistsException) RequestID() string
- func (s *ResourceAlreadyExistsException) StatusCode() int
- func (s ResourceAlreadyExistsException) 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 ResourcePolicy
- type ResultField
- type SearchedLogStream
- type ServiceQuotaExceededException
- func (s *ServiceQuotaExceededException) Code() string
- func (s *ServiceQuotaExceededException) Error() string
- func (s ServiceQuotaExceededException) GoString() string
- func (s *ServiceQuotaExceededException) Message() string
- func (s *ServiceQuotaExceededException) OrigErr() error
- func (s *ServiceQuotaExceededException) RequestID() string
- func (s *ServiceQuotaExceededException) StatusCode() int
- func (s ServiceQuotaExceededException) String() string
- type ServiceUnavailableException
- func (s *ServiceUnavailableException) Code() string
- func (s *ServiceUnavailableException) Error() string
- func (s ServiceUnavailableException) GoString() string
- func (s *ServiceUnavailableException) Message() string
- func (s *ServiceUnavailableException) OrigErr() error
- func (s *ServiceUnavailableException) RequestID() string
- func (s *ServiceUnavailableException) StatusCode() int
- func (s ServiceUnavailableException) String() string
- type SessionStreamingException
- func (s *SessionStreamingException) Code() string
- func (s *SessionStreamingException) Error() string
- func (s SessionStreamingException) GoString() string
- func (s *SessionStreamingException) MarshalEvent(pm protocol.PayloadMarshaler) (msg eventstream.Message, err error)
- func (s *SessionStreamingException) Message() string
- func (s *SessionStreamingException) OrigErr() error
- func (s *SessionStreamingException) RequestID() string
- func (s *SessionStreamingException) StatusCode() int
- func (s SessionStreamingException) String() string
- func (s *SessionStreamingException) UnmarshalEvent(payloadUnmarshaler protocol.PayloadUnmarshaler, msg eventstream.Message) error
- type SessionTimeoutException
- func (s *SessionTimeoutException) Code() string
- func (s *SessionTimeoutException) Error() string
- func (s SessionTimeoutException) GoString() string
- func (s *SessionTimeoutException) MarshalEvent(pm protocol.PayloadMarshaler) (msg eventstream.Message, err error)
- func (s *SessionTimeoutException) Message() string
- func (s *SessionTimeoutException) OrigErr() error
- func (s *SessionTimeoutException) RequestID() string
- func (s *SessionTimeoutException) StatusCode() int
- func (s SessionTimeoutException) String() string
- func (s *SessionTimeoutException) UnmarshalEvent(payloadUnmarshaler protocol.PayloadUnmarshaler, msg eventstream.Message) error
- type StartLiveTailEventStream
- type StartLiveTailInput
- func (s StartLiveTailInput) GoString() string
- func (s *StartLiveTailInput) SetLogEventFilterPattern(v string) *StartLiveTailInput
- func (s *StartLiveTailInput) SetLogGroupIdentifiers(v []*string) *StartLiveTailInput
- func (s *StartLiveTailInput) SetLogStreamNamePrefixes(v []*string) *StartLiveTailInput
- func (s *StartLiveTailInput) SetLogStreamNames(v []*string) *StartLiveTailInput
- func (s StartLiveTailInput) String() string
- func (s *StartLiveTailInput) Validate() error
- type StartLiveTailOutput
- func (s *StartLiveTailOutput) GetStream() *StartLiveTailEventStream
- func (s StartLiveTailOutput) GoString() string
- func (s *StartLiveTailOutput) MarshalEvent(pm protocol.PayloadMarshaler) (msg eventstream.Message, err error)
- func (s StartLiveTailOutput) String() string
- func (s *StartLiveTailOutput) UnmarshalEvent(payloadUnmarshaler protocol.PayloadUnmarshaler, msg eventstream.Message) error
- type StartLiveTailResponseStreamEvent
- type StartLiveTailResponseStreamReader
- type StartLiveTailResponseStreamUnknownEvent
- type StartQueryInput
- func (s StartQueryInput) GoString() string
- func (s *StartQueryInput) SetEndTime(v int64) *StartQueryInput
- func (s *StartQueryInput) SetLimit(v int64) *StartQueryInput
- func (s *StartQueryInput) SetLogGroupIdentifiers(v []*string) *StartQueryInput
- func (s *StartQueryInput) SetLogGroupName(v string) *StartQueryInput
- func (s *StartQueryInput) SetLogGroupNames(v []*string) *StartQueryInput
- func (s *StartQueryInput) SetQueryString(v string) *StartQueryInput
- func (s *StartQueryInput) SetStartTime(v int64) *StartQueryInput
- func (s StartQueryInput) String() string
- func (s *StartQueryInput) Validate() error
- type StartQueryOutput
- type StopQueryInput
- type StopQueryOutput
- type SubscriptionFilter
- func (s SubscriptionFilter) GoString() string
- func (s *SubscriptionFilter) SetCreationTime(v int64) *SubscriptionFilter
- func (s *SubscriptionFilter) SetDestinationArn(v string) *SubscriptionFilter
- func (s *SubscriptionFilter) SetDistribution(v string) *SubscriptionFilter
- func (s *SubscriptionFilter) SetFilterName(v string) *SubscriptionFilter
- func (s *SubscriptionFilter) SetFilterPattern(v string) *SubscriptionFilter
- func (s *SubscriptionFilter) SetLogGroupName(v string) *SubscriptionFilter
- func (s *SubscriptionFilter) SetRoleArn(v string) *SubscriptionFilter
- func (s SubscriptionFilter) String() string
- type SuppressionPeriod
- type TagLogGroupInputdeprecated
- type TagLogGroupOutput
- type TagResourceInput
- type TagResourceOutput
- type TestMetricFilterInput
- func (s TestMetricFilterInput) GoString() string
- func (s *TestMetricFilterInput) SetFilterPattern(v string) *TestMetricFilterInput
- func (s *TestMetricFilterInput) SetLogEventMessages(v []*string) *TestMetricFilterInput
- func (s TestMetricFilterInput) String() string
- func (s *TestMetricFilterInput) Validate() error
- type TestMetricFilterOutput
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type TooManyTagsException
- func (s *TooManyTagsException) Code() string
- func (s *TooManyTagsException) Error() string
- func (s TooManyTagsException) GoString() string
- func (s *TooManyTagsException) Message() string
- func (s *TooManyTagsException) OrigErr() error
- func (s *TooManyTagsException) RequestID() string
- func (s *TooManyTagsException) StatusCode() int
- func (s TooManyTagsException) String() string
- type UnrecognizedClientException
- func (s *UnrecognizedClientException) Code() string
- func (s *UnrecognizedClientException) Error() string
- func (s UnrecognizedClientException) GoString() string
- func (s *UnrecognizedClientException) Message() string
- func (s *UnrecognizedClientException) OrigErr() error
- func (s *UnrecognizedClientException) RequestID() string
- func (s *UnrecognizedClientException) StatusCode() int
- func (s UnrecognizedClientException) String() string
- type UntagLogGroupInputdeprecated
- type UntagLogGroupOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateAnomalyInput
- func (s UpdateAnomalyInput) GoString() string
- func (s *UpdateAnomalyInput) SetAnomalyDetectorArn(v string) *UpdateAnomalyInput
- func (s *UpdateAnomalyInput) SetAnomalyId(v string) *UpdateAnomalyInput
- func (s *UpdateAnomalyInput) SetPatternId(v string) *UpdateAnomalyInput
- func (s *UpdateAnomalyInput) SetSuppressionPeriod(v *SuppressionPeriod) *UpdateAnomalyInput
- func (s *UpdateAnomalyInput) SetSuppressionType(v string) *UpdateAnomalyInput
- func (s UpdateAnomalyInput) String() string
- func (s *UpdateAnomalyInput) Validate() error
- type UpdateAnomalyOutput
- type UpdateLogAnomalyDetectorInput
- func (s UpdateLogAnomalyDetectorInput) GoString() string
- func (s *UpdateLogAnomalyDetectorInput) SetAnomalyDetectorArn(v string) *UpdateLogAnomalyDetectorInput
- func (s *UpdateLogAnomalyDetectorInput) SetAnomalyVisibilityTime(v int64) *UpdateLogAnomalyDetectorInput
- func (s *UpdateLogAnomalyDetectorInput) SetEnabled(v bool) *UpdateLogAnomalyDetectorInput
- func (s *UpdateLogAnomalyDetectorInput) SetEvaluationFrequency(v string) *UpdateLogAnomalyDetectorInput
- func (s *UpdateLogAnomalyDetectorInput) SetFilterPattern(v string) *UpdateLogAnomalyDetectorInput
- func (s UpdateLogAnomalyDetectorInput) String() string
- func (s *UpdateLogAnomalyDetectorInput) Validate() error
- type UpdateLogAnomalyDetectorOutput
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
Constants ¶
const ( // AnomalyDetectorStatusInitializing is a AnomalyDetectorStatus enum value AnomalyDetectorStatusInitializing = "INITIALIZING" // AnomalyDetectorStatusTraining is a AnomalyDetectorStatus enum value AnomalyDetectorStatusTraining = "TRAINING" // AnomalyDetectorStatusAnalyzing is a AnomalyDetectorStatus enum value AnomalyDetectorStatusAnalyzing = "ANALYZING" // AnomalyDetectorStatusFailed is a AnomalyDetectorStatus enum value AnomalyDetectorStatusFailed = "FAILED" // AnomalyDetectorStatusDeleted is a AnomalyDetectorStatus enum value AnomalyDetectorStatusDeleted = "DELETED" // AnomalyDetectorStatusPaused is a AnomalyDetectorStatus enum value AnomalyDetectorStatusPaused = "PAUSED" )
const ( // DataProtectionStatusActivated is a DataProtectionStatus enum value DataProtectionStatusActivated = "ACTIVATED" // DataProtectionStatusDeleted is a DataProtectionStatus enum value DataProtectionStatusDeleted = "DELETED" // DataProtectionStatusArchived is a DataProtectionStatus enum value DataProtectionStatusArchived = "ARCHIVED" // DataProtectionStatusDisabled is a DataProtectionStatus enum value DataProtectionStatusDisabled = "DISABLED" )
const ( // DeliveryDestinationTypeS3 is a DeliveryDestinationType enum value DeliveryDestinationTypeS3 = "S3" // DeliveryDestinationTypeCwl is a DeliveryDestinationType enum value DeliveryDestinationTypeCwl = "CWL" // DeliveryDestinationTypeFh is a DeliveryDestinationType enum value DeliveryDestinationTypeFh = "FH" )
const ( // DistributionRandom is a Distribution enum value DistributionRandom = "Random" // DistributionByLogStream is a Distribution enum value DistributionByLogStream = "ByLogStream" )
The method used to distribute log data to the destination, which can be either random or grouped by log stream.
const ( // EvaluationFrequencyOneMin is a EvaluationFrequency enum value EvaluationFrequencyOneMin = "ONE_MIN" // EvaluationFrequencyFiveMin is a EvaluationFrequency enum value EvaluationFrequencyFiveMin = "FIVE_MIN" // EvaluationFrequencyTenMin is a EvaluationFrequency enum value EvaluationFrequencyTenMin = "TEN_MIN" // EvaluationFrequencyFifteenMin is a EvaluationFrequency enum value EvaluationFrequencyFifteenMin = "FIFTEEN_MIN" // EvaluationFrequencyThirtyMin is a EvaluationFrequency enum value EvaluationFrequencyThirtyMin = "THIRTY_MIN" // EvaluationFrequencyOneHour is a EvaluationFrequency enum value EvaluationFrequencyOneHour = "ONE_HOUR" )
const ( // ExportTaskStatusCodeCancelled is a ExportTaskStatusCode enum value ExportTaskStatusCodeCancelled = "CANCELLED" // ExportTaskStatusCodeCompleted is a ExportTaskStatusCode enum value ExportTaskStatusCodeCompleted = "COMPLETED" // ExportTaskStatusCodeFailed is a ExportTaskStatusCode enum value ExportTaskStatusCodeFailed = "FAILED" // ExportTaskStatusCodePending is a ExportTaskStatusCode enum value ExportTaskStatusCodePending = "PENDING" // ExportTaskStatusCodePendingCancel is a ExportTaskStatusCode enum value ExportTaskStatusCodePendingCancel = "PENDING_CANCEL" // ExportTaskStatusCodeRunning is a ExportTaskStatusCode enum value ExportTaskStatusCodeRunning = "RUNNING" )
const ( // LogGroupClassStandard is a LogGroupClass enum value LogGroupClassStandard = "STANDARD" // LogGroupClassInfrequentAccess is a LogGroupClass enum value LogGroupClassInfrequentAccess = "INFREQUENT_ACCESS" )
const ( // OrderByLogStreamName is a OrderBy enum value OrderByLogStreamName = "LogStreamName" // OrderByLastEventTime is a OrderBy enum value OrderByLastEventTime = "LastEventTime" )
const ( // OutputFormatJson is a OutputFormat enum value OutputFormatJson = "json" // OutputFormatPlain is a OutputFormat enum value OutputFormatPlain = "plain" // OutputFormatW3c is a OutputFormat enum value OutputFormatW3c = "w3c" // OutputFormatRaw is a OutputFormat enum value OutputFormatRaw = "raw" // OutputFormatParquet is a OutputFormat enum value OutputFormatParquet = "parquet" )
const ( // PolicyTypeDataProtectionPolicy is a PolicyType enum value PolicyTypeDataProtectionPolicy = "DATA_PROTECTION_POLICY" // PolicyTypeSubscriptionFilterPolicy is a PolicyType enum value PolicyTypeSubscriptionFilterPolicy = "SUBSCRIPTION_FILTER_POLICY" )
const ( // QueryStatusScheduled is a QueryStatus enum value QueryStatusScheduled = "Scheduled" // QueryStatusRunning is a QueryStatus enum value QueryStatusRunning = "Running" // QueryStatusComplete is a QueryStatus enum value QueryStatusComplete = "Complete" // QueryStatusFailed is a QueryStatus enum value QueryStatusFailed = "Failed" // QueryStatusCancelled is a QueryStatus enum value QueryStatusCancelled = "Cancelled" // QueryStatusTimeout is a QueryStatus enum value QueryStatusTimeout = "Timeout" // QueryStatusUnknown is a QueryStatus enum value QueryStatusUnknown = "Unknown" )
const ( // StandardUnitSeconds is a StandardUnit enum value StandardUnitSeconds = "Seconds" // StandardUnitMicroseconds is a StandardUnit enum value StandardUnitMicroseconds = "Microseconds" // StandardUnitMilliseconds is a StandardUnit enum value StandardUnitMilliseconds = "Milliseconds" // StandardUnitBytes is a StandardUnit enum value StandardUnitBytes = "Bytes" // StandardUnitKilobytes is a StandardUnit enum value StandardUnitKilobytes = "Kilobytes" // StandardUnitMegabytes is a StandardUnit enum value StandardUnitMegabytes = "Megabytes" // StandardUnitGigabytes is a StandardUnit enum value StandardUnitGigabytes = "Gigabytes" // StandardUnitTerabytes is a StandardUnit enum value StandardUnitTerabytes = "Terabytes" // StandardUnitBits is a StandardUnit enum value StandardUnitBits = "Bits" // StandardUnitKilobits is a StandardUnit enum value StandardUnitKilobits = "Kilobits" // StandardUnitMegabits is a StandardUnit enum value StandardUnitMegabits = "Megabits" // StandardUnitGigabits is a StandardUnit enum value StandardUnitGigabits = "Gigabits" // StandardUnitTerabits is a StandardUnit enum value StandardUnitTerabits = "Terabits" // StandardUnitPercent is a StandardUnit enum value StandardUnitPercent = "Percent" // StandardUnitCount is a StandardUnit enum value StandardUnitCount = "Count" // StandardUnitBytesSecond is a StandardUnit enum value StandardUnitBytesSecond = "Bytes/Second" // StandardUnitKilobytesSecond is a StandardUnit enum value StandardUnitKilobytesSecond = "Kilobytes/Second" // StandardUnitMegabytesSecond is a StandardUnit enum value StandardUnitMegabytesSecond = "Megabytes/Second" // StandardUnitGigabytesSecond is a StandardUnit enum value StandardUnitGigabytesSecond = "Gigabytes/Second" // StandardUnitTerabytesSecond is a StandardUnit enum value StandardUnitTerabytesSecond = "Terabytes/Second" // StandardUnitBitsSecond is a StandardUnit enum value StandardUnitBitsSecond = "Bits/Second" // StandardUnitKilobitsSecond is a StandardUnit enum value StandardUnitKilobitsSecond = "Kilobits/Second" // StandardUnitMegabitsSecond is a StandardUnit enum value StandardUnitMegabitsSecond = "Megabits/Second" // StandardUnitGigabitsSecond is a StandardUnit enum value StandardUnitGigabitsSecond = "Gigabits/Second" // StandardUnitTerabitsSecond is a StandardUnit enum value StandardUnitTerabitsSecond = "Terabits/Second" // StandardUnitCountSecond is a StandardUnit enum value StandardUnitCountSecond = "Count/Second" // StandardUnitNone is a StandardUnit enum value StandardUnitNone = "None" )
const ( // StateActive is a State enum value StateActive = "Active" // StateSuppressed is a State enum value StateSuppressed = "Suppressed" // StateBaseline is a State enum value StateBaseline = "Baseline" )
const ( // SuppressionStateSuppressed is a SuppressionState enum value SuppressionStateSuppressed = "SUPPRESSED" // SuppressionStateUnsuppressed is a SuppressionState enum value SuppressionStateUnsuppressed = "UNSUPPRESSED" )
const ( // SuppressionTypeLimited is a SuppressionType enum value SuppressionTypeLimited = "LIMITED" // SuppressionTypeInfinite is a SuppressionType enum value SuppressionTypeInfinite = "INFINITE" )
const ( // SuppressionUnitSeconds is a SuppressionUnit enum value SuppressionUnitSeconds = "SECONDS" // SuppressionUnitMinutes is a SuppressionUnit enum value SuppressionUnitMinutes = "MINUTES" // SuppressionUnitHours is a SuppressionUnit enum value SuppressionUnitHours = "HOURS" )
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // You don't have sufficient permissions to perform this action. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeConflictException for service response error code // "ConflictException". // // This operation attempted to create a resource that already exists. ErrCodeConflictException = "ConflictException" // ErrCodeDataAlreadyAcceptedException for service response error code // "DataAlreadyAcceptedException". // // The event was already logged. // // PutLogEvents actions are now always accepted and never return DataAlreadyAcceptedException // regardless of whether a given batch of log events has already been accepted. ErrCodeDataAlreadyAcceptedException = "DataAlreadyAcceptedException" // ErrCodeInvalidOperationException for service response error code // "InvalidOperationException". // // The operation is not valid on the specified resource. ErrCodeInvalidOperationException = "InvalidOperationException" // ErrCodeInvalidParameterException for service response error code // "InvalidParameterException". // // A parameter is specified incorrectly. ErrCodeInvalidParameterException = "InvalidParameterException" // ErrCodeInvalidSequenceTokenException for service response error code // "InvalidSequenceTokenException". // // The sequence token is not valid. You can get the correct sequence token in // the expectedSequenceToken field in the InvalidSequenceTokenException message. // // PutLogEvents actions are now always accepted and never return InvalidSequenceTokenException // regardless of receiving an invalid sequence token. ErrCodeInvalidSequenceTokenException = "InvalidSequenceTokenException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // You have reached the maximum number of resources that can be created. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeMalformedQueryException for service response error code // "MalformedQueryException". // // The query string is not valid. Details about this error are displayed in // a QueryCompileError object. For more information, see QueryCompileError (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_QueryCompileError.html). // // For more information about valid query syntax, see CloudWatch Logs Insights // Query Syntax (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html). ErrCodeMalformedQueryException = "MalformedQueryException" // ErrCodeOperationAbortedException for service response error code // "OperationAbortedException". // // Multiple concurrent requests to update the same resource were in conflict. ErrCodeOperationAbortedException = "OperationAbortedException" // ErrCodeResourceAlreadyExistsException for service response error code // "ResourceAlreadyExistsException". // // The specified resource already exists. ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The specified resource does not exist. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeServiceQuotaExceededException for service response error code // "ServiceQuotaExceededException". // // This request exceeds a service quota. ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" // "ServiceUnavailableException". // // The service cannot complete the request. ErrCodeServiceUnavailableException = "ServiceUnavailableException" // ErrCodeSessionStreamingException for service response error code // "SessionStreamingException". // // his exception is returned if an unknown error occurs during a Live Tail session. ErrCodeSessionStreamingException = "SessionStreamingException" // ErrCodeSessionTimeoutException for service response error code // "SessionTimeoutException". // // This exception is returned in a Live Tail stream when the Live Tail session // times out. Live Tail sessions time out after three hours. ErrCodeSessionTimeoutException = "SessionTimeoutException" // ErrCodeThrottlingException for service response error code // "ThrottlingException". // // The request was throttled because of quota limits. ErrCodeThrottlingException = "ThrottlingException" // ErrCodeTooManyTagsException for service response error code // "TooManyTagsException". // // A resource can have no more than 50 tags. ErrCodeTooManyTagsException = "TooManyTagsException" // ErrCodeUnrecognizedClientException for service response error code // "UnrecognizedClientException". // // The most likely cause is an Amazon Web Services access key ID or secret key // that's not valid. ErrCodeUnrecognizedClientException = "UnrecognizedClientException" // ErrCodeValidationException for service response error code // "ValidationException". // // One of the parameters for the request is not valid. ErrCodeValidationException = "ValidationException" )
const ( ServiceName = "logs" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "CloudWatch Logs" // ServiceID is a unique identifier of a specific service. )
Service information constants
const (
// InheritedPropertyAccountDataProtection is a InheritedProperty enum value
InheritedPropertyAccountDataProtection = "ACCOUNT_DATA_PROTECTION"
)
const (
// ScopeAll is a Scope enum value
ScopeAll = "ALL"
)
Variables ¶
This section is empty.
Functions ¶
func AnomalyDetectorStatus_Values ¶ added in v1.48.4
func AnomalyDetectorStatus_Values() []string
AnomalyDetectorStatus_Values returns all elements of the AnomalyDetectorStatus enum
func DataProtectionStatus_Values ¶ added in v1.44.146
func DataProtectionStatus_Values() []string
DataProtectionStatus_Values returns all elements of the DataProtectionStatus enum
func DeliveryDestinationType_Values ¶ added in v1.47.8
func DeliveryDestinationType_Values() []string
DeliveryDestinationType_Values returns all elements of the DeliveryDestinationType enum
func Distribution_Values ¶ added in v1.34.3
func Distribution_Values() []string
Distribution_Values returns all elements of the Distribution enum
func EvaluationFrequency_Values ¶ added in v1.48.4
func EvaluationFrequency_Values() []string
EvaluationFrequency_Values returns all elements of the EvaluationFrequency enum
func ExportTaskStatusCode_Values ¶ added in v1.34.3
func ExportTaskStatusCode_Values() []string
ExportTaskStatusCode_Values returns all elements of the ExportTaskStatusCode enum
func InheritedProperty_Values ¶ added in v1.44.278
func InheritedProperty_Values() []string
InheritedProperty_Values returns all elements of the InheritedProperty enum
func LogGroupClass_Values ¶ added in v1.48.4
func LogGroupClass_Values() []string
LogGroupClass_Values returns all elements of the LogGroupClass enum
func OrderBy_Values ¶ added in v1.34.3
func OrderBy_Values() []string
OrderBy_Values returns all elements of the OrderBy enum
func OutputFormat_Values ¶ added in v1.47.8
func OutputFormat_Values() []string
OutputFormat_Values returns all elements of the OutputFormat enum
func PolicyType_Values ¶ added in v1.44.278
func PolicyType_Values() []string
PolicyType_Values returns all elements of the PolicyType enum
func QueryStatus_Values ¶ added in v1.34.3
func QueryStatus_Values() []string
QueryStatus_Values returns all elements of the QueryStatus enum
func Scope_Values ¶ added in v1.44.278
func Scope_Values() []string
Scope_Values returns all elements of the Scope enum
func StandardUnit_Values ¶ added in v1.38.46
func StandardUnit_Values() []string
StandardUnit_Values returns all elements of the StandardUnit enum
func State_Values ¶ added in v1.48.4
func State_Values() []string
State_Values returns all elements of the State enum
func SuppressionState_Values ¶ added in v1.48.4
func SuppressionState_Values() []string
SuppressionState_Values returns all elements of the SuppressionState enum
func SuppressionType_Values ¶ added in v1.48.4
func SuppressionType_Values() []string
SuppressionType_Values returns all elements of the SuppressionType enum
func SuppressionUnit_Values ¶ added in v1.48.4
func SuppressionUnit_Values() []string
SuppressionUnit_Values returns all elements of the SuppressionUnit enum
Types ¶
type AccessDeniedException ¶ added in v1.47.8
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
You don't have sufficient permissions to perform this action.
func (*AccessDeniedException) Code ¶ added in v1.47.8
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (*AccessDeniedException) Error ¶ added in v1.47.8
func (s *AccessDeniedException) Error() string
func (AccessDeniedException) GoString ¶ added in v1.47.8
func (s AccessDeniedException) 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 (*AccessDeniedException) Message ¶ added in v1.47.8
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (*AccessDeniedException) OrigErr ¶ added in v1.47.8
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccessDeniedException) RequestID ¶ added in v1.47.8
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccessDeniedException) StatusCode ¶ added in v1.47.8
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccessDeniedException) String ¶ added in v1.47.8
func (s AccessDeniedException) 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 AccountPolicy ¶ added in v1.44.278
type AccountPolicy struct { // The Amazon Web Services account ID that the policy applies to. AccountId *string `locationName:"accountId" min:"12" type:"string"` // The date and time that this policy was most recently updated. LastUpdatedTime *int64 `locationName:"lastUpdatedTime" type:"long"` // The policy document for this account policy. // // The JSON specified in policyDocument can be up to 30,720 characters. PolicyDocument *string `locationName:"policyDocument" type:"string"` // The name of the account policy. PolicyName *string `locationName:"policyName" type:"string"` // The type of policy for this account policy. PolicyType *string `locationName:"policyType" type:"string" enum:"PolicyType"` // The scope of the account policy. Scope *string `locationName:"scope" type:"string" enum:"Scope"` // The log group selection criteria for this subscription filter policy. SelectionCriteria *string `locationName:"selectionCriteria" type:"string"` // contains filtered or unexported fields }
A structure that contains information about one CloudWatch Logs account policy.
func (AccountPolicy) GoString ¶ added in v1.44.278
func (s AccountPolicy) 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 (*AccountPolicy) SetAccountId ¶ added in v1.44.278
func (s *AccountPolicy) SetAccountId(v string) *AccountPolicy
SetAccountId sets the AccountId field's value.
func (*AccountPolicy) SetLastUpdatedTime ¶ added in v1.44.278
func (s *AccountPolicy) SetLastUpdatedTime(v int64) *AccountPolicy
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (*AccountPolicy) SetPolicyDocument ¶ added in v1.44.278
func (s *AccountPolicy) SetPolicyDocument(v string) *AccountPolicy
SetPolicyDocument sets the PolicyDocument field's value.
func (*AccountPolicy) SetPolicyName ¶ added in v1.44.278
func (s *AccountPolicy) SetPolicyName(v string) *AccountPolicy
SetPolicyName sets the PolicyName field's value.
func (*AccountPolicy) SetPolicyType ¶ added in v1.44.278
func (s *AccountPolicy) SetPolicyType(v string) *AccountPolicy
SetPolicyType sets the PolicyType field's value.
func (*AccountPolicy) SetScope ¶ added in v1.44.278
func (s *AccountPolicy) SetScope(v string) *AccountPolicy
SetScope sets the Scope field's value.
func (*AccountPolicy) SetSelectionCriteria ¶ added in v1.49.18
func (s *AccountPolicy) SetSelectionCriteria(v string) *AccountPolicy
SetSelectionCriteria sets the SelectionCriteria field's value.
func (AccountPolicy) String ¶ added in v1.44.278
func (s AccountPolicy) 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 Anomaly ¶ added in v1.48.4
type Anomaly struct { // Specifies whether this anomaly is still ongoing. // // Active is a required field Active *bool `locationName:"active" type:"boolean" required:"true"` // The ARN of the anomaly detector that identified this anomaly. // // AnomalyDetectorArn is a required field AnomalyDetectorArn *string `locationName:"anomalyDetectorArn" min:"1" type:"string" required:"true"` // The unique ID that CloudWatch Logs assigned to this anomaly. // // AnomalyId is a required field AnomalyId *string `locationName:"anomalyId" min:"36" type:"string" required:"true"` // A human-readable description of the anomaly. This description is generated // by CloudWatch Logs. // // Description is a required field Description *string `locationName:"description" min:"1" type:"string" required:"true"` // The date and time when the anomaly detector first saw this anomaly. It is // specified as epoch time, which is the number of seconds since January 1, // 1970, 00:00:00 UTC. // // FirstSeen is a required field FirstSeen *int64 `locationName:"firstSeen" type:"long" required:"true"` // A map showing times when the anomaly detector ran, and the number of occurrences // of this anomaly that were detected at each of those runs. The times are specified // in epoch time, which is the number of seconds since January 1, 1970, 00:00:00 // UTC. // // Histogram is a required field Histogram map[string]*int64 `locationName:"histogram" type:"map" required:"true"` // If this anomaly is suppressed, this field is true if the suppression is because // the pattern is suppressed. If false, then only this particular anomaly is // suppressed. IsPatternLevelSuppression *bool `locationName:"isPatternLevelSuppression" type:"boolean"` // The date and time when the anomaly detector most recently saw this anomaly. // It is specified as epoch time, which is the number of seconds since January // 1, 1970, 00:00:00 UTC. // // LastSeen is a required field LastSeen *int64 `locationName:"lastSeen" type:"long" required:"true"` // An array of ARNS of the log groups that contained log events considered to // be part of this anomaly. // // LogGroupArnList is a required field LogGroupArnList []*string `locationName:"logGroupArnList" type:"list" required:"true"` // An array of sample log event messages that are considered to be part of this // anomaly. // // LogSamples is a required field LogSamples []*LogEvent `locationName:"logSamples" type:"list" required:"true"` // The ID of the pattern used to help identify this anomaly. // // PatternId is a required field PatternId *string `locationName:"patternId" min:"32" type:"string" required:"true"` // The pattern used to help identify this anomaly, in regular expression format. PatternRegex *string `locationName:"patternRegex" min:"1" type:"string"` // The pattern used to help identify this anomaly, in string format. // // PatternString is a required field PatternString *string `locationName:"patternString" min:"1" type:"string" required:"true"` // An array of structures where each structure contains information about one // token that makes up the pattern. // // PatternTokens is a required field PatternTokens []*PatternToken `locationName:"patternTokens" type:"list" required:"true"` // The priority level of this anomaly, as determined by CloudWatch Logs. Priority // is computed based on log severity labels such as FATAL and ERROR and the // amount of deviation from the baseline. Possible values are HIGH, MEDIUM, // and LOW. Priority *string `locationName:"priority" min:"1" type:"string"` // Indicates the current state of this anomaly. If it is still being treated // as an anomaly, the value is Active. If you have suppressed this anomaly by // using the UpdateAnomaly (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateAnomaly.html) // operation, the value is Suppressed. If this behavior is now considered to // be normal, the value is Baseline. // // State is a required field State *string `locationName:"state" type:"string" required:"true" enum:"State"` // Indicates whether this anomaly is currently suppressed. To suppress an anomaly, // use UpdateAnomaly (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateAnomaly.html). Suppressed *bool `locationName:"suppressed" type:"boolean"` // If the anomaly is suppressed, this indicates when it was suppressed. SuppressedDate *int64 `locationName:"suppressedDate" type:"long"` // If the anomaly is suppressed, this indicates when the suppression will end. // If this value is 0, the anomaly was suppressed with no expiration, with the // INFINITE value. SuppressedUntil *int64 `locationName:"suppressedUntil" type:"long"` // contains filtered or unexported fields }
This structure represents one anomaly that has been found by a logs anomaly detector.
For more information about patterns and anomalies, see CreateLogAnomalyDetector (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateLogAnomalyDetector.html).
func (Anomaly) GoString ¶ added in v1.48.4
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 (*Anomaly) SetAnomalyDetectorArn ¶ added in v1.48.4
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*Anomaly) SetAnomalyId ¶ added in v1.48.4
SetAnomalyId sets the AnomalyId field's value.
func (*Anomaly) SetDescription ¶ added in v1.48.4
SetDescription sets the Description field's value.
func (*Anomaly) SetFirstSeen ¶ added in v1.48.4
SetFirstSeen sets the FirstSeen field's value.
func (*Anomaly) SetHistogram ¶ added in v1.48.4
SetHistogram sets the Histogram field's value.
func (*Anomaly) SetIsPatternLevelSuppression ¶ added in v1.48.4
SetIsPatternLevelSuppression sets the IsPatternLevelSuppression field's value.
func (*Anomaly) SetLastSeen ¶ added in v1.48.4
SetLastSeen sets the LastSeen field's value.
func (*Anomaly) SetLogGroupArnList ¶ added in v1.48.4
SetLogGroupArnList sets the LogGroupArnList field's value.
func (*Anomaly) SetLogSamples ¶ added in v1.48.4
SetLogSamples sets the LogSamples field's value.
func (*Anomaly) SetPatternId ¶ added in v1.48.4
SetPatternId sets the PatternId field's value.
func (*Anomaly) SetPatternRegex ¶ added in v1.48.4
SetPatternRegex sets the PatternRegex field's value.
func (*Anomaly) SetPatternString ¶ added in v1.48.4
SetPatternString sets the PatternString field's value.
func (*Anomaly) SetPatternTokens ¶ added in v1.48.4
func (s *Anomaly) SetPatternTokens(v []*PatternToken) *Anomaly
SetPatternTokens sets the PatternTokens field's value.
func (*Anomaly) SetPriority ¶ added in v1.48.4
SetPriority sets the Priority field's value.
func (*Anomaly) SetSuppressed ¶ added in v1.48.4
SetSuppressed sets the Suppressed field's value.
func (*Anomaly) SetSuppressedDate ¶ added in v1.48.4
SetSuppressedDate sets the SuppressedDate field's value.
func (*Anomaly) SetSuppressedUntil ¶ added in v1.48.4
SetSuppressedUntil sets the SuppressedUntil field's value.
type AnomalyDetector ¶ added in v1.48.4
type AnomalyDetector struct { // The ARN of the anomaly detector. AnomalyDetectorArn *string `locationName:"anomalyDetectorArn" min:"1" type:"string"` // Specifies the current status of the anomaly detector. To pause an anomaly // detector, use the enabled parameter in the UpdateLogAnomalyDetector (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateLogAnomalyDetector.html) // operation. AnomalyDetectorStatus *string `locationName:"anomalyDetectorStatus" type:"string" enum:"AnomalyDetectorStatus"` // The number of days used as the life cycle of anomalies. After this time, // anomalies are automatically baselined and the anomaly detector model will // treat new occurrences of similar event as normal. AnomalyVisibilityTime *int64 `locationName:"anomalyVisibilityTime" min:"7" type:"long"` // The date and time when this anomaly detector was created. CreationTimeStamp *int64 `locationName:"creationTimeStamp" type:"long"` // The name of the anomaly detector. DetectorName *string `locationName:"detectorName" min:"1" type:"string"` // Specifies how often the anomaly detector runs and look for anomalies. EvaluationFrequency *string `locationName:"evaluationFrequency" type:"string" enum:"EvaluationFrequency"` // A symbolic description of how CloudWatch Logs should interpret the data in // each log event. For example, a log event can contain timestamps, IP addresses, // strings, and so on. You use the filter pattern to specify what to look for // in the log event message. FilterPattern *string `locationName:"filterPattern" type:"string"` // The ID of the KMS key assigned to this anomaly detector, if any. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // The date and time when this anomaly detector was most recently modified. LastModifiedTimeStamp *int64 `locationName:"lastModifiedTimeStamp" type:"long"` // A list of the ARNs of the log groups that this anomaly detector watches. LogGroupArnList []*string `locationName:"logGroupArnList" type:"list"` // contains filtered or unexported fields }
Contains information about one anomaly detector in the account.
func (AnomalyDetector) GoString ¶ added in v1.48.4
func (s AnomalyDetector) 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 (*AnomalyDetector) SetAnomalyDetectorArn ¶ added in v1.48.4
func (s *AnomalyDetector) SetAnomalyDetectorArn(v string) *AnomalyDetector
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*AnomalyDetector) SetAnomalyDetectorStatus ¶ added in v1.48.4
func (s *AnomalyDetector) SetAnomalyDetectorStatus(v string) *AnomalyDetector
SetAnomalyDetectorStatus sets the AnomalyDetectorStatus field's value.
func (*AnomalyDetector) SetAnomalyVisibilityTime ¶ added in v1.48.4
func (s *AnomalyDetector) SetAnomalyVisibilityTime(v int64) *AnomalyDetector
SetAnomalyVisibilityTime sets the AnomalyVisibilityTime field's value.
func (*AnomalyDetector) SetCreationTimeStamp ¶ added in v1.48.4
func (s *AnomalyDetector) SetCreationTimeStamp(v int64) *AnomalyDetector
SetCreationTimeStamp sets the CreationTimeStamp field's value.
func (*AnomalyDetector) SetDetectorName ¶ added in v1.48.4
func (s *AnomalyDetector) SetDetectorName(v string) *AnomalyDetector
SetDetectorName sets the DetectorName field's value.
func (*AnomalyDetector) SetEvaluationFrequency ¶ added in v1.48.4
func (s *AnomalyDetector) SetEvaluationFrequency(v string) *AnomalyDetector
SetEvaluationFrequency sets the EvaluationFrequency field's value.
func (*AnomalyDetector) SetFilterPattern ¶ added in v1.48.4
func (s *AnomalyDetector) SetFilterPattern(v string) *AnomalyDetector
SetFilterPattern sets the FilterPattern field's value.
func (*AnomalyDetector) SetKmsKeyId ¶ added in v1.48.4
func (s *AnomalyDetector) SetKmsKeyId(v string) *AnomalyDetector
SetKmsKeyId sets the KmsKeyId field's value.
func (*AnomalyDetector) SetLastModifiedTimeStamp ¶ added in v1.48.4
func (s *AnomalyDetector) SetLastModifiedTimeStamp(v int64) *AnomalyDetector
SetLastModifiedTimeStamp sets the LastModifiedTimeStamp field's value.
func (*AnomalyDetector) SetLogGroupArnList ¶ added in v1.48.4
func (s *AnomalyDetector) SetLogGroupArnList(v []*string) *AnomalyDetector
SetLogGroupArnList sets the LogGroupArnList field's value.
func (AnomalyDetector) String ¶ added in v1.48.4
func (s AnomalyDetector) 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 AssociateKmsKeyInput ¶ added in v1.10.50
type AssociateKmsKeyInput struct { // The Amazon Resource Name (ARN) of the KMS key to use when encrypting log // data. This must be a symmetric KMS key. For more information, see Amazon // Resource Names (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kms) // and Using Symmetric and Asymmetric Keys (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html). // // KmsKeyId is a required field KmsKeyId *string `locationName:"kmsKeyId" type:"string" required:"true"` // The name of the log group. // // In your AssociateKmsKey operation, you must specify either the resourceIdentifier // parameter or the logGroup parameter, but you can't specify both. LogGroupName *string `locationName:"logGroupName" min:"1" type:"string"` // Specifies the target for this operation. You must specify one of the following: // // * Specify the following ARN to have future GetQueryResults (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetQueryResults.html) // operations in this account encrypt the results with the specified KMS // key. Replace REGION and ACCOUNT_ID with your Region and account ID. arn:aws:logs:REGION:ACCOUNT_ID:query-result:* // // * Specify the ARN of a log group to have CloudWatch Logs use the KMS key // to encrypt log events that are ingested and stored by that log group. // The log group ARN must be in the following format. Replace REGION and // ACCOUNT_ID with your Region and account ID. arn:aws:logs:REGION:ACCOUNT_ID:log-group:LOG_GROUP_NAME // // In your AssociateKmsKey operation, you must specify either the resourceIdentifier // parameter or the logGroup parameter, but you can't specify both. ResourceIdentifier *string `locationName:"resourceIdentifier" min:"1" type:"string"` // contains filtered or unexported fields }
func (AssociateKmsKeyInput) GoString ¶ added in v1.10.50
func (s AssociateKmsKeyInput) 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 (*AssociateKmsKeyInput) SetKmsKeyId ¶ added in v1.10.50
func (s *AssociateKmsKeyInput) SetKmsKeyId(v string) *AssociateKmsKeyInput
SetKmsKeyId sets the KmsKeyId field's value.
func (*AssociateKmsKeyInput) SetLogGroupName ¶ added in v1.10.50
func (s *AssociateKmsKeyInput) SetLogGroupName(v string) *AssociateKmsKeyInput
SetLogGroupName sets the LogGroupName field's value.
func (*AssociateKmsKeyInput) SetResourceIdentifier ¶ added in v1.44.298
func (s *AssociateKmsKeyInput) SetResourceIdentifier(v string) *AssociateKmsKeyInput
SetResourceIdentifier sets the ResourceIdentifier field's value.
func (AssociateKmsKeyInput) String ¶ added in v1.10.50
func (s AssociateKmsKeyInput) 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 (*AssociateKmsKeyInput) Validate ¶ added in v1.10.50
func (s *AssociateKmsKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateKmsKeyOutput ¶ added in v1.10.50
type AssociateKmsKeyOutput struct {
// contains filtered or unexported fields
}
func (AssociateKmsKeyOutput) GoString ¶ added in v1.10.50
func (s AssociateKmsKeyOutput) 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 (AssociateKmsKeyOutput) String ¶ added in v1.10.50
func (s AssociateKmsKeyOutput) 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 CancelExportTaskInput ¶ added in v0.9.9
type CancelExportTaskInput struct { // The ID of the export task. // // TaskId is a required field TaskId *string `locationName:"taskId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CancelExportTaskInput) GoString ¶ added in v0.9.9
func (s CancelExportTaskInput) 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 (*CancelExportTaskInput) SetTaskId ¶ added in v1.5.0
func (s *CancelExportTaskInput) SetTaskId(v string) *CancelExportTaskInput
SetTaskId sets the TaskId field's value.
func (CancelExportTaskInput) String ¶ added in v0.9.9
func (s CancelExportTaskInput) 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 (*CancelExportTaskInput) Validate ¶ added in v1.1.21
func (s *CancelExportTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelExportTaskOutput ¶ added in v0.9.9
type CancelExportTaskOutput struct {
// contains filtered or unexported fields
}
func (CancelExportTaskOutput) GoString ¶ added in v0.9.9
func (s CancelExportTaskOutput) 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 (CancelExportTaskOutput) String ¶ added in v0.9.9
func (s CancelExportTaskOutput) 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 CloudWatchLogs ¶
CloudWatchLogs provides the API operation methods for making requests to Amazon CloudWatch Logs. See this package's package overview docs for details on the service.
CloudWatchLogs 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) *CloudWatchLogs
New creates a new instance of the CloudWatchLogs 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 CloudWatchLogs client from just a session. svc := cloudwatchlogs.New(mySession) // Create a CloudWatchLogs client with additional configuration svc := cloudwatchlogs.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*CloudWatchLogs) AssociateKmsKey ¶ added in v1.10.50
func (c *CloudWatchLogs) AssociateKmsKey(input *AssociateKmsKeyInput) (*AssociateKmsKeyOutput, error)
AssociateKmsKey API operation for Amazon CloudWatch Logs.
Associates the specified KMS key with either one log group in the account, or with all stored CloudWatch Logs query insights results in the account.
When you use AssociateKmsKey, you specify either the logGroupName parameter or the resourceIdentifier parameter. You can't specify both of those parameters in the same operation.
Specify the logGroupName parameter to cause all log events stored in the log group to be encrypted with that key. Only the log events ingested after the key is associated are encrypted with that key. Associating a KMS key with a log group overrides any existing associations between the log group and a KMS key. After a KMS key is associated with a log group, all newly ingested data for the log group is encrypted using the KMS key. This association is stored as long as the data encrypted with the KMS key is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested. Associating a key with a log group does not cause the results of queries of that log group to be encrypted with that key. To have query results encrypted with a KMS key, you must use an AssociateKmsKey operation with the resourceIdentifier parameter that specifies a query-result resource.
Specify the resourceIdentifier parameter with a query-result resource, to use that key to encrypt the stored results of all future StartQuery (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartQuery.html) operations in the account. The response from a GetQueryResults (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetQueryResults.html) operation will still return the query results in plain text. Even if you have not associated a key with your query results, the query results are encrypted when stored, using the default CloudWatch Logs method. If you run a query from a monitoring account that queries logs in a source account, the query results key from the monitoring account, if any, is used.
If you delete the key that is used to encrypt log events or log group query results, then all the associated stored log events or query results that were encrypted with that key will be unencryptable and unusable.
CloudWatch Logs supports only symmetric KMS keys. Do not use an associate an asymmetric KMS key with your log group or query results. For more information, see Using Symmetric and Asymmetric Keys (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html).
It can take up to 5 minutes for this operation to take effect.
If you attempt to associate a KMS key with a log group but the KMS key does not exist or the KMS key is disabled, you receive an InvalidParameterException error.
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 Amazon CloudWatch Logs's API operation AssociateKmsKey for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
ResourceNotFoundException The specified resource does not exist.
OperationAbortedException Multiple concurrent requests to update the same resource were in conflict.
ServiceUnavailableException The service cannot complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AssociateKmsKey
func (*CloudWatchLogs) AssociateKmsKeyRequest ¶ added in v1.10.50
func (c *CloudWatchLogs) AssociateKmsKeyRequest(input *AssociateKmsKeyInput) (req *request.Request, output *AssociateKmsKeyOutput)
AssociateKmsKeyRequest generates a "aws/request.Request" representing the client's request for the AssociateKmsKey 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 AssociateKmsKey for more information on using the AssociateKmsKey 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 AssociateKmsKeyRequest method. req, resp := client.AssociateKmsKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AssociateKmsKey
func (*CloudWatchLogs) AssociateKmsKeyWithContext ¶ added in v1.10.50
func (c *CloudWatchLogs) AssociateKmsKeyWithContext(ctx aws.Context, input *AssociateKmsKeyInput, opts ...request.Option) (*AssociateKmsKeyOutput, error)
AssociateKmsKeyWithContext is the same as AssociateKmsKey with the addition of the ability to pass a context and additional request options.
See AssociateKmsKey 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 (*CloudWatchLogs) CancelExportTask ¶ added in v0.9.9
func (c *CloudWatchLogs) CancelExportTask(input *CancelExportTaskInput) (*CancelExportTaskOutput, error)
CancelExportTask API operation for Amazon CloudWatch Logs.
Cancels the specified export task.
The task must be in the PENDING or RUNNING state.
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 Amazon CloudWatch Logs's API operation CancelExportTask for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
ResourceNotFoundException The specified resource does not exist.
InvalidOperationException The operation is not valid on the specified resource.
ServiceUnavailableException The service cannot complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTask
func (*CloudWatchLogs) CancelExportTaskRequest ¶ added in v0.9.9
func (c *CloudWatchLogs) CancelExportTaskRequest(input *CancelExportTaskInput) (req *request.Request, output *CancelExportTaskOutput)
CancelExportTaskRequest generates a "aws/request.Request" representing the client's request for the CancelExportTask 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 CancelExportTask for more information on using the CancelExportTask 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 CancelExportTaskRequest method. req, resp := client.CancelExportTaskRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTask
func (*CloudWatchLogs) CancelExportTaskWithContext ¶ added in v1.8.0
func (c *CloudWatchLogs) CancelExportTaskWithContext(ctx aws.Context, input *CancelExportTaskInput, opts ...request.Option) (*CancelExportTaskOutput, error)
CancelExportTaskWithContext is the same as CancelExportTask with the addition of the ability to pass a context and additional request options.
See CancelExportTask 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 (*CloudWatchLogs) CreateDelivery ¶ added in v1.47.8
func (c *CloudWatchLogs) CreateDelivery(input *CreateDeliveryInput) (*CreateDeliveryOutput, error)
CreateDelivery API operation for Amazon CloudWatch Logs.
Creates a delivery. A delivery is a connection between a logical delivery source and a logical delivery destination that you have already created.
Only some Amazon Web Services services support being configured as a delivery source using this operation. These services are listed as Supported [V2 Permissions] in the table at Enabling logging from Amazon Web Services services. (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html)
A delivery destination can represent a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.
To configure logs delivery between a supported Amazon Web Services service and a destination, you must do the following:
Create a delivery source, which is a logical object that represents the resource that is actually sending the logs. For more information, see PutDeliverySource (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html).
Create a delivery destination, which is a logical object that represents the actual delivery destination. For more information, see PutDeliveryDestination (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestination.html).
If you are delivering logs cross-account, you must use PutDeliveryDestinationPolicy (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationPolicy.html) in the destination account to assign an IAM policy to the destination. This policy allows delivery to that destination.
Use CreateDelivery to create a delivery by pairing exactly one delivery source and one delivery destination.
You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.
You can't update an existing delivery. You can only create and delete deliveries.
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 Amazon CloudWatch Logs's API operation CreateDelivery for usage and error information.
Returned Error Types:
ServiceUnavailableException The service cannot complete the request.
ConflictException This operation attempted to create a resource that already exists.
ResourceNotFoundException The specified resource does not exist.
ValidationException One of the parameters for the request is not valid.
AccessDeniedException You don't have sufficient permissions to perform this action.
ServiceQuotaExceededException This request exceeds a service quota.
ThrottlingException The request was throttled because of quota limits.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateDelivery
func (*CloudWatchLogs) CreateDeliveryRequest ¶ added in v1.47.8
func (c *CloudWatchLogs) CreateDeliveryRequest(input *CreateDeliveryInput) (req *request.Request, output *CreateDeliveryOutput)
CreateDeliveryRequest generates a "aws/request.Request" representing the client's request for the CreateDelivery 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 CreateDelivery for more information on using the CreateDelivery 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 CreateDeliveryRequest method. req, resp := client.CreateDeliveryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateDelivery
func (*CloudWatchLogs) CreateDeliveryWithContext ¶ added in v1.47.8
func (c *CloudWatchLogs) CreateDeliveryWithContext(ctx aws.Context, input *CreateDeliveryInput, opts ...request.Option) (*CreateDeliveryOutput, error)
CreateDeliveryWithContext is the same as CreateDelivery with the addition of the ability to pass a context and additional request options.
See CreateDelivery 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 (*CloudWatchLogs) CreateExportTask ¶ added in v0.9.9
func (c *CloudWatchLogs) CreateExportTask(input *CreateExportTaskInput) (*CreateExportTaskOutput, error)
CreateExportTask API operation for Amazon CloudWatch Logs.
Creates an export task so that you can efficiently export data from a log group to an Amazon S3 bucket. When you perform a CreateExportTask operation, you must use credentials that have permission to write to the S3 bucket that you specify as the destination.
Exporting log data to S3 buckets that are encrypted by KMS is supported. Exporting log data to Amazon S3 buckets that have S3 Object Lock enabled with a retention period is also supported.
Exporting to S3 buckets that are encrypted with AES-256 is supported.
This is an asynchronous call. If all the required information is provided, this operation initiates an export task and responds with the ID of the task. After the task has started, you can use DescribeExportTasks (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeExportTasks.html) to get the status of the export task. Each account can only have one active (RUNNING or PENDING) export task at a time. To cancel an export task, use CancelExportTask (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CancelExportTask.html).
You can export logs from multiple log groups or multiple time ranges to the same S3 bucket. To separate log data for each export task, specify a prefix to be used as the Amazon S3 key prefix for all exported objects.
Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can sort the exported log field data by using Linux utilities.
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 Amazon CloudWatch Logs's API operation CreateExportTask for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
LimitExceededException You have reached the maximum number of resources that can be created.
OperationAbortedException Multiple concurrent requests to update the same resource were in conflict.
ServiceUnavailableException The service cannot complete the request.
ResourceNotFoundException The specified resource does not exist.
ResourceAlreadyExistsException The specified resource already exists.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTask
func (*CloudWatchLogs) CreateExportTaskRequest ¶ added in v0.9.9
func (c *CloudWatchLogs) CreateExportTaskRequest(input *CreateExportTaskInput) (req *request.Request, output *CreateExportTaskOutput)
CreateExportTaskRequest generates a "aws/request.Request" representing the client's request for the CreateExportTask 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 CreateExportTask for more information on using the CreateExportTask 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 CreateExportTaskRequest method. req, resp := client.CreateExportTaskRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTask
func (*CloudWatchLogs) CreateExportTaskWithContext ¶ added in v1.8.0
func (c *CloudWatchLogs) CreateExportTaskWithContext(ctx aws.Context, input *CreateExportTaskInput, opts ...request.Option) (*CreateExportTaskOutput, error)
CreateExportTaskWithContext is the same as CreateExportTask with the addition of the ability to pass a context and additional request options.
See CreateExportTask 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 (*CloudWatchLogs) CreateLogAnomalyDetector ¶ added in v1.48.4
func (c *CloudWatchLogs) CreateLogAnomalyDetector(input *CreateLogAnomalyDetectorInput) (*CreateLogAnomalyDetectorOutput, error)
CreateLogAnomalyDetector API operation for Amazon CloudWatch Logs.
Creates an anomaly detector that regularly scans one or more log groups and look for patterns and anomalies in the logs.
An anomaly detector can help surface issues by automatically discovering anomalies in your log event traffic. An anomaly detector uses machine learning algorithms to scan log events and find patterns. A pattern is a shared text structure that recurs among your log fields. Patterns provide a useful tool for analyzing large sets of logs because a large number of log events can often be compressed into a few patterns.
The anomaly detector uses pattern recognition to find anomalies, which are unusual log events. It uses the evaluationFrequency to compare current log events and patterns with trained baselines.
Fields within a pattern are called tokens. Fields that vary within a pattern, such as a request ID or timestamp, are referred to as dynamic tokens and represented by <*>.
The following is an example of a pattern:
[INFO] Request time: <*> ms
This pattern represents log events like [INFO] Request time: 327 ms and other similar log events that differ only by the number, in this csse 327. When the pattern is displayed, the different numbers are replaced by <*>
Any parts of log events that are masked as sensitive data are not scanned for anomalies. For more information about masking sensitive data, see Help protect sensitive log data with masking (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data.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 Amazon CloudWatch Logs's API operation CreateLogAnomalyDetector for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
ResourceNotFoundException The specified resource does not exist.
ServiceUnavailableException The service cannot complete the request.
OperationAbortedException Multiple concurrent requests to update the same resource were in conflict.
LimitExceededException You have reached the maximum number of resources that can be created.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogAnomalyDetector
func (*CloudWatchLogs) CreateLogAnomalyDetectorRequest ¶ added in v1.48.4
func (c *CloudWatchLogs) CreateLogAnomalyDetectorRequest(input *CreateLogAnomalyDetectorInput) (req *request.Request, output *CreateLogAnomalyDetectorOutput)
CreateLogAnomalyDetectorRequest generates a "aws/request.Request" representing the client's request for the CreateLogAnomalyDetector 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 CreateLogAnomalyDetector for more information on using the CreateLogAnomalyDetector 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 CreateLogAnomalyDetectorRequest method. req, resp := client.CreateLogAnomalyDetectorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogAnomalyDetector
func (*CloudWatchLogs) CreateLogAnomalyDetectorWithContext ¶ added in v1.48.4
func (c *CloudWatchLogs) CreateLogAnomalyDetectorWithContext(ctx aws.Context, input *CreateLogAnomalyDetectorInput, opts ...request.Option) (*CreateLogAnomalyDetectorOutput, error)
CreateLogAnomalyDetectorWithContext is the same as CreateLogAnomalyDetector with the addition of the ability to pass a context and additional request options.
See CreateLogAnomalyDetector 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 (*CloudWatchLogs) CreateLogGroup ¶
func (c *CloudWatchLogs) CreateLogGroup(input *CreateLogGroupInput) (*CreateLogGroupOutput, error)
CreateLogGroup API operation for Amazon CloudWatch Logs.
Creates a log group with the specified name. You can create up to 1,000,000 log groups per Region per account.
You must use the following guidelines when naming a log group:
Log group names must be unique within a Region for an Amazon Web Services account.
Log group names can be between 1 and 512 characters long.
Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign)
Log group names can't start with the string aws/
When you create a log group, by default the log events in the log group do not expire. To set a retention policy so that events expire and are deleted after a specified time, use PutRetentionPolicy (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutRetentionPolicy.html).
If you associate an KMS key with the log group, ingested data is encrypted using the KMS key. This association is stored as long as the data encrypted with the KMS key is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested.
If you attempt to associate a KMS key with the log group but the KMS key does not exist or the KMS key is disabled, you receive an InvalidParameterException error.
CloudWatch Logs supports only symmetric KMS keys. Do not associate an asymmetric KMS key with your log group. For more information, see Using Symmetric and Asymmetric Keys (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.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 Amazon CloudWatch Logs's API operation CreateLogGroup for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
ResourceAlreadyExistsException The specified resource already exists.
LimitExceededException You have reached the maximum number of resources that can be created.
OperationAbortedException Multiple concurrent requests to update the same resource were in conflict.
ServiceUnavailableException The service cannot complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroup
func (*CloudWatchLogs) CreateLogGroupRequest ¶
func (c *CloudWatchLogs) CreateLogGroupRequest(input *CreateLogGroupInput) (req *request.Request, output *CreateLogGroupOutput)
CreateLogGroupRequest generates a "aws/request.Request" representing the client's request for the CreateLogGroup 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 CreateLogGroup for more information on using the CreateLogGroup 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 CreateLogGroupRequest method. req, resp := client.CreateLogGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroup
func (*CloudWatchLogs) CreateLogGroupWithContext ¶ added in v1.8.0
func (c *CloudWatchLogs) CreateLogGroupWithContext(ctx aws.Context, input *CreateLogGroupInput, opts ...request.Option) (*CreateLogGroupOutput, error)
CreateLogGroupWithContext is the same as CreateLogGroup with the addition of the ability to pass a context and additional request options.
See CreateLogGroup 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 (*CloudWatchLogs) CreateLogStream ¶
func (c *CloudWatchLogs) CreateLogStream(input *CreateLogStreamInput) (*CreateLogStreamOutput, error)
CreateLogStream API operation for Amazon CloudWatch Logs.
Creates a log stream for the specified log group. A log stream is a sequence of log events that originate from a single source, such as an application instance or a resource that is being monitored.
There is no limit on the number of log streams that you can create for a log group. There is a limit of 50 TPS on CreateLogStream operations, after which transactions are throttled.
You must use the following guidelines when naming a log stream:
Log stream names must be unique within the log group.
Log stream names can be between 1 and 512 characters long.
Don't use ':' (colon) or '*' (asterisk) characters.
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 Amazon CloudWatch Logs's API operation CreateLogStream for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
ResourceAlreadyExistsException The specified resource already exists.
ResourceNotFoundException The specified resource does not exist.
ServiceUnavailableException The service cannot complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStream
func (*CloudWatchLogs) CreateLogStreamRequest ¶
func (c *CloudWatchLogs) CreateLogStreamRequest(input *CreateLogStreamInput) (req *request.Request, output *CreateLogStreamOutput)
CreateLogStreamRequest generates a "aws/request.Request" representing the client's request for the CreateLogStream 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 CreateLogStream for more information on using the CreateLogStream 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 CreateLogStreamRequest method. req, resp := client.CreateLogStreamRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStream
func (*CloudWatchLogs) CreateLogStreamWithContext ¶ added in v1.8.0
func (c *CloudWatchLogs) CreateLogStreamWithContext(ctx aws.Context, input *CreateLogStreamInput, opts ...request.Option) (*CreateLogStreamOutput, error)
CreateLogStreamWithContext is the same as CreateLogStream with the addition of the ability to pass a context and additional request options.
See CreateLogStream 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 (*CloudWatchLogs) DeleteAccountPolicy ¶ added in v1.44.278
func (c *CloudWatchLogs) DeleteAccountPolicy(input *DeleteAccountPolicyInput) (*DeleteAccountPolicyOutput, error)
DeleteAccountPolicy API operation for Amazon CloudWatch Logs.
Deletes a CloudWatch Logs account policy. This stops the policy from applying to all log groups or a subset of log groups in the account. Log-group level policies will still be in effect.
To use this operation, you must be signed on with the correct permissions depending on the type of policy that you are deleting.
To delete a data protection policy, you must have the logs:DeleteDataProtectionPolicy and logs:DeleteAccountPolicy permissions.
To delete a subscription filter policy, you must have the logs:DeleteSubscriptionFilter and logs:DeleteAccountPolicy permissions.
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 Amazon CloudWatch Logs's API operation DeleteAccountPolicy for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
ResourceNotFoundException The specified resource does not exist.
ServiceUnavailableException The service cannot complete the request.
OperationAbortedException Multiple concurrent requests to update the same resource were in conflict.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteAccountPolicy
func (*CloudWatchLogs) DeleteAccountPolicyRequest ¶ added in v1.44.278
func (c *CloudWatchLogs) DeleteAccountPolicyRequest(input *DeleteAccountPolicyInput) (req *request.Request, output *DeleteAccountPolicyOutput)
DeleteAccountPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteAccountPolicy 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 DeleteAccountPolicy for more information on using the DeleteAccountPolicy 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 DeleteAccountPolicyRequest method. req, resp := client.DeleteAccountPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteAccountPolicy
func (*CloudWatchLogs) DeleteAccountPolicyWithContext ¶ added in v1.44.278
func (c *CloudWatchLogs) DeleteAccountPolicyWithContext(ctx aws.Context, input *DeleteAccountPolicyInput, opts ...request.Option) (*DeleteAccountPolicyOutput, error)
DeleteAccountPolicyWithContext is the same as DeleteAccountPolicy with the addition of the ability to pass a context and additional request options.
See DeleteAccountPolicy 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 (*CloudWatchLogs) DeleteDataProtectionPolicy ¶ added in v1.44.146
func (c *CloudWatchLogs) DeleteDataProtectionPolicy(input *DeleteDataProtectionPolicyInput) (*DeleteDataProtectionPolicyOutput, error)
DeleteDataProtectionPolicy API operation for Amazon CloudWatch Logs.
Deletes the data protection policy from the specified log group.
For more information about data protection policies, see PutDataProtectionPolicy (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDataProtectionPolicy.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 Amazon CloudWatch Logs's API operation DeleteDataProtectionPolicy for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
OperationAbortedException Multiple concurrent requests to update the same resource were in conflict.
ResourceNotFoundException The specified resource does not exist.
ServiceUnavailableException The service cannot complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDataProtectionPolicy
func (*CloudWatchLogs) DeleteDataProtectionPolicyRequest ¶ added in v1.44.146
func (c *CloudWatchLogs) DeleteDataProtectionPolicyRequest(input *DeleteDataProtectionPolicyInput) (req *request.Request, output *DeleteDataProtectionPolicyOutput)
DeleteDataProtectionPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteDataProtectionPolicy 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 DeleteDataProtectionPolicy for more information on using the DeleteDataProtectionPolicy 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 DeleteDataProtectionPolicyRequest method. req, resp := client.DeleteDataProtectionPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDataProtectionPolicy
func (*CloudWatchLogs) DeleteDataProtectionPolicyWithContext ¶ added in v1.44.146
func (c *CloudWatchLogs) DeleteDataProtectionPolicyWithContext(ctx aws.Context, input *DeleteDataProtectionPolicyInput, opts ...request.Option) (*DeleteDataProtectionPolicyOutput, error)
DeleteDataProtectionPolicyWithContext is the same as DeleteDataProtectionPolicy with the addition of the ability to pass a context and additional request options.
See DeleteDataProtectionPolicy 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 (*CloudWatchLogs) DeleteDelivery ¶ added in v1.47.8
func (c *CloudWatchLogs) DeleteDelivery(input *DeleteDeliveryInput) (*DeleteDeliveryOutput, error)
DeleteDelivery API operation for Amazon CloudWatch Logs.
Deletes s delivery. A delivery is a connection between a logical delivery source and a logical delivery destination. Deleting a delivery only deletes the connection between the delivery source and delivery destination. It does not delete the delivery destination or the delivery source.
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 Amazon CloudWatch Logs's API operation DeleteDelivery for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource does not exist.
ServiceUnavailableException The service cannot complete the request.
ConflictException This operation attempted to create a resource that already exists.
ValidationException One of the parameters for the request is not valid.
ServiceQuotaExceededException This request exceeds a service quota.
ThrottlingException The request was throttled because of quota limits.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDelivery
func (*CloudWatchLogs) DeleteDeliveryDestination ¶ added in v1.47.8
func (c *CloudWatchLogs) DeleteDeliveryDestination(input *DeleteDeliveryDestinationInput) (*DeleteDeliveryDestinationOutput, error)
DeleteDeliveryDestination API operation for Amazon CloudWatch Logs.
Deletes a delivery destination. A delivery is a connection between a logical delivery source and a logical delivery destination.
You can't delete a delivery destination if any current deliveries are associated with it. To find whether any deliveries are associated with this delivery destination, use the DescribeDeliveries (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeDeliveries.html) operation and check the deliveryDestinationArn field in the results.
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 Amazon CloudWatch Logs's API operation DeleteDeliveryDestination for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource does not exist.
ServiceUnavailableException The service cannot complete the request.
ConflictException This operation attempted to create a resource that already exists.
ValidationException One of the parameters for the request is not valid.
ServiceQuotaExceededException This request exceeds a service quota.
ThrottlingException The request was throttled because of quota limits.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDeliveryDestination
func (*CloudWatchLogs) DeleteDeliveryDestinationPolicy ¶ added in v1.47.8
func (c *CloudWatchLogs) DeleteDeliveryDestinationPolicy(input *DeleteDeliveryDestinationPolicyInput) (*DeleteDeliveryDestinationPolicyOutput, error)
DeleteDeliveryDestinationPolicy API operation for Amazon CloudWatch Logs.
Deletes a delivery destination policy. For more information about these policies, see PutDeliveryDestinationPolicy (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationPolicy.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 Amazon CloudWatch Logs's API operation DeleteDeliveryDestinationPolicy for usage and error information.
Returned Error Types:
ServiceUnavailableException The service cannot complete the request.
ValidationException One of the parameters for the request is not valid.
ResourceNotFoundException The specified resource does not exist.
ConflictException This operation attempted to create a resource that already exists.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDeliveryDestinationPolicy
func (*CloudWatchLogs) DeleteDeliveryDestinationPolicyRequest ¶ added in v1.47.8
func (c *CloudWatchLogs) DeleteDeliveryDestinationPolicyRequest(input *DeleteDeliveryDestinationPolicyInput) (req *request.Request, output *DeleteDeliveryDestinationPolicyOutput)
DeleteDeliveryDestinationPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteDeliveryDestinationPolicy 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 DeleteDeliveryDestinationPolicy for more information on using the DeleteDeliveryDestinationPolicy 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 DeleteDeliveryDestinationPolicyRequest method. req, resp := client.DeleteDeliveryDestinationPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDeliveryDestinationPolicy
func (*CloudWatchLogs) DeleteDeliveryDestinationPolicyWithContext ¶ added in v1.47.8
func (c *CloudWatchLogs) DeleteDeliveryDestinationPolicyWithContext(ctx aws.Context, input *DeleteDeliveryDestinationPolicyInput, opts ...request.Option) (*DeleteDeliveryDestinationPolicyOutput, error)
DeleteDeliveryDestinationPolicyWithContext is the same as DeleteDeliveryDestinationPolicy with the addition of the ability to pass a context and additional request options.
See DeleteDeliveryDestinationPolicy 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 (*CloudWatchLogs) DeleteDeliveryDestinationRequest ¶ added in v1.47.8
func (c *CloudWatchLogs) DeleteDeliveryDestinationRequest(input *DeleteDeliveryDestinationInput) (req *request.Request, output *DeleteDeliveryDestinationOutput)
DeleteDeliveryDestinationRequest generates a "aws/request.Request" representing the client's request for the DeleteDeliveryDestination 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 DeleteDeliveryDestination for more information on using the DeleteDeliveryDestination 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 DeleteDeliveryDestinationRequest method. req, resp := client.DeleteDeliveryDestinationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDeliveryDestination
func (*CloudWatchLogs) DeleteDeliveryDestinationWithContext ¶ added in v1.47.8
func (c *CloudWatchLogs) DeleteDeliveryDestinationWithContext(ctx aws.Context, input *DeleteDeliveryDestinationInput, opts ...request.Option) (*DeleteDeliveryDestinationOutput, error)
DeleteDeliveryDestinationWithContext is the same as DeleteDeliveryDestination with the addition of the ability to pass a context and additional request options.
See DeleteDeliveryDestination 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 (*CloudWatchLogs) DeleteDeliveryRequest ¶ added in v1.47.8
func (c *CloudWatchLogs) DeleteDeliveryRequest(input *DeleteDeliveryInput) (req *request.Request, output *DeleteDeliveryOutput)
DeleteDeliveryRequest generates a "aws/request.Request" representing the client's request for the DeleteDelivery 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 DeleteDelivery for more information on using the DeleteDelivery 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 DeleteDeliveryRequest method. req, resp := client.DeleteDeliveryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDelivery
func (*CloudWatchLogs) DeleteDeliverySource ¶ added in v1.47.8
func (c *CloudWatchLogs) DeleteDeliverySource(input *DeleteDeliverySourceInput) (*DeleteDeliverySourceOutput, error)
DeleteDeliverySource API operation for Amazon CloudWatch Logs.
Deletes a delivery source. A delivery is a connection between a logical delivery source and a logical delivery destination.
You can't delete a delivery source if any current deliveries are associated with it. To find whether any deliveries are associated with this delivery source, use the DescribeDeliveries (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeDeliveries.html) operation and check the deliverySourceName field in the results.
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 Amazon CloudWatch Logs's API operation DeleteDeliverySource for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource does not exist.
ServiceUnavailableException The service cannot complete the request.
ConflictException This operation attempted to create a resource that already exists.
ValidationException One of the parameters for the request is not valid.
ServiceQuotaExceededException This request exceeds a service quota.
ThrottlingException The request was throttled because of quota limits.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDeliverySource
func (*CloudWatchLogs) DeleteDeliverySourceRequest ¶ added in v1.47.8
func (c *CloudWatchLogs) DeleteDeliverySourceRequest(input *DeleteDeliverySourceInput) (req *request.Request, output *DeleteDeliverySourceOutput)
DeleteDeliverySourceRequest generates a "aws/request.Request" representing the client's request for the DeleteDeliverySource 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 DeleteDeliverySource for more information on using the DeleteDeliverySource 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 DeleteDeliverySourceRequest method. req, resp := client.DeleteDeliverySourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDeliverySource
func (*CloudWatchLogs) DeleteDeliverySourceWithContext ¶ added in v1.47.8
func (c *CloudWatchLogs) DeleteDeliverySourceWithContext(ctx aws.Context, input *DeleteDeliverySourceInput, opts ...request.Option) (*DeleteDeliverySourceOutput, error)
DeleteDeliverySourceWithContext is the same as DeleteDeliverySource with the addition of the ability to pass a context and additional request options.
See DeleteDeliverySource 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 (*CloudWatchLogs) DeleteDeliveryWithContext ¶ added in v1.47.8
func (c *CloudWatchLogs) DeleteDeliveryWithContext(ctx aws.Context, input *DeleteDeliveryInput, opts ...request.Option) (*DeleteDeliveryOutput, error)
DeleteDeliveryWithContext is the same as DeleteDelivery with the addition of the ability to pass a context and additional request options.
See DeleteDelivery 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 (*CloudWatchLogs) DeleteDestination ¶ added in v0.7.1
func (c *CloudWatchLogs) DeleteDestination(input *DeleteDestinationInput) (*DeleteDestinationOutput, error)
DeleteDestination API operation for Amazon CloudWatch Logs.
Deletes the specified destination, and eventually disables all the subscription filters that publish to it. This operation does not delete the physical resource encapsulated by the 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 Amazon CloudWatch Logs's API operation DeleteDestination for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
ResourceNotFoundException The specified resource does not exist.
OperationAbortedException Multiple concurrent requests to update the same resource were in conflict.
ServiceUnavailableException The service cannot complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestination
func (*CloudWatchLogs) DeleteDestinationRequest ¶ added in v0.7.1
func (c *CloudWatchLogs) DeleteDestinationRequest(input *DeleteDestinationInput) (req *request.Request, output *DeleteDestinationOutput)
DeleteDestinationRequest generates a "aws/request.Request" representing the client's request for the DeleteDestination 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 DeleteDestination for more information on using the DeleteDestination 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 DeleteDestinationRequest method. req, resp := client.DeleteDestinationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestination
func (*CloudWatchLogs) DeleteDestinationWithContext ¶ added in v1.8.0
func (c *CloudWatchLogs) DeleteDestinationWithContext(ctx aws.Context, input *DeleteDestinationInput, opts ...request.Option) (*DeleteDestinationOutput, error)
DeleteDestinationWithContext is the same as DeleteDestination with the addition of the ability to pass a context and additional request options.
See DeleteDestination 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 (*CloudWatchLogs) DeleteLogAnomalyDetector ¶ added in v1.48.4
func (c *CloudWatchLogs) DeleteLogAnomalyDetector(input *DeleteLogAnomalyDetectorInput) (*DeleteLogAnomalyDetectorOutput, error)
DeleteLogAnomalyDetector API operation for Amazon CloudWatch Logs.
Deletes the specified CloudWatch Logs anomaly detector.
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 Amazon CloudWatch Logs's API operation DeleteLogAnomalyDetector for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
ResourceNotFoundException The specified resource does not exist.
ServiceUnavailableException The service cannot complete the request.
OperationAbortedException Multiple concurrent requests to update the same resource were in conflict.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogAnomalyDetector
func (*CloudWatchLogs) DeleteLogAnomalyDetectorRequest ¶ added in v1.48.4
func (c *CloudWatchLogs) DeleteLogAnomalyDetectorRequest(input *DeleteLogAnomalyDetectorInput) (req *request.Request, output *DeleteLogAnomalyDetectorOutput)
DeleteLogAnomalyDetectorRequest generates a "aws/request.Request" representing the client's request for the DeleteLogAnomalyDetector 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 DeleteLogAnomalyDetector for more information on using the DeleteLogAnomalyDetector 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 DeleteLogAnomalyDetectorRequest method. req, resp := client.DeleteLogAnomalyDetectorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogAnomalyDetector
func (*CloudWatchLogs) DeleteLogAnomalyDetectorWithContext ¶ added in v1.48.4
func (c *CloudWatchLogs) DeleteLogAnomalyDetectorWithContext(ctx aws.Context, input *DeleteLogAnomalyDetectorInput, opts ...request.Option) (*DeleteLogAnomalyDetectorOutput, error)
DeleteLogAnomalyDetectorWithContext is the same as DeleteLogAnomalyDetector with the addition of the ability to pass a context and additional request options.
See DeleteLogAnomalyDetector 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 (*CloudWatchLogs) DeleteLogGroup ¶
func (c *CloudWatchLogs) DeleteLogGroup(input *DeleteLogGroupInput) (*DeleteLogGroupOutput, error)
DeleteLogGroup API operation for Amazon CloudWatch Logs.
Deletes the specified log group and permanently deletes all the archived log events associated with the log group.
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 Amazon CloudWatch Logs's API operation DeleteLogGroup for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
ResourceNotFoundException The specified resource does not exist.
OperationAbortedException Multiple concurrent requests to update the same resource were in conflict.
ServiceUnavailableException The service cannot complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroup
func (*CloudWatchLogs) DeleteLogGroupRequest ¶
func (c *CloudWatchLogs) DeleteLogGroupRequest(input *DeleteLogGroupInput) (req *request.Request, output *DeleteLogGroupOutput)
DeleteLogGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteLogGroup 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 DeleteLogGroup for more information on using the DeleteLogGroup 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 DeleteLogGroupRequest method. req, resp := client.DeleteLogGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroup
func (*CloudWatchLogs) DeleteLogGroupWithContext ¶ added in v1.8.0
func (c *CloudWatchLogs) DeleteLogGroupWithContext(ctx aws.Context, input *DeleteLogGroupInput, opts ...request.Option) (*DeleteLogGroupOutput, error)
DeleteLogGroupWithContext is the same as DeleteLogGroup with the addition of the ability to pass a context and additional request options.
See DeleteLogGroup 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 (*CloudWatchLogs) DeleteLogStream ¶
func (c *CloudWatchLogs) DeleteLogStream(input *DeleteLogStreamInput) (*DeleteLogStreamOutput, error)
DeleteLogStream API operation for Amazon CloudWatch Logs.
Deletes the specified log stream and permanently deletes all the archived log events associated with the log stream.
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 Amazon CloudWatch Logs's API operation DeleteLogStream for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
ResourceNotFoundException The specified resource does not exist.
OperationAbortedException Multiple concurrent requests to update the same resource were in conflict.
ServiceUnavailableException The service cannot complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStream
func (*CloudWatchLogs) DeleteLogStreamRequest ¶
func (c *CloudWatchLogs) DeleteLogStreamRequest(input *DeleteLogStreamInput) (req *request.Request, output *DeleteLogStreamOutput)
DeleteLogStreamRequest generates a "aws/request.Request" representing the client's request for the DeleteLogStream 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 DeleteLogStream for more information on using the DeleteLogStream 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 DeleteLogStreamRequest method. req, resp := client.DeleteLogStreamRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStream
func (*CloudWatchLogs) DeleteLogStreamWithContext ¶ added in v1.8.0
func (c *CloudWatchLogs) DeleteLogStreamWithContext(ctx aws.Context, input *DeleteLogStreamInput, opts ...request.Option) (*DeleteLogStreamOutput, error)
DeleteLogStreamWithContext is the same as DeleteLogStream with the addition of the ability to pass a context and additional request options.
See DeleteLogStream 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 (*CloudWatchLogs) DeleteMetricFilter ¶
func (c *CloudWatchLogs) DeleteMetricFilter(input *DeleteMetricFilterInput) (*DeleteMetricFilterOutput, error)
DeleteMetricFilter API operation for Amazon CloudWatch Logs.
Deletes the specified metric filter.
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 Amazon CloudWatch Logs's API operation DeleteMetricFilter for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
ResourceNotFoundException The specified resource does not exist.
OperationAbortedException Multiple concurrent requests to update the same resource were in conflict.
ServiceUnavailableException The service cannot complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilter
func (*CloudWatchLogs) DeleteMetricFilterRequest ¶
func (c *CloudWatchLogs) DeleteMetricFilterRequest(input *DeleteMetricFilterInput) (req *request.Request, output *DeleteMetricFilterOutput)
DeleteMetricFilterRequest generates a "aws/request.Request" representing the client's request for the DeleteMetricFilter 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 DeleteMetricFilter for more information on using the DeleteMetricFilter 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 DeleteMetricFilterRequest method. req, resp := client.DeleteMetricFilterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilter
func (*CloudWatchLogs) DeleteMetricFilterWithContext ¶ added in v1.8.0
func (c *CloudWatchLogs) DeleteMetricFilterWithContext(ctx aws.Context, input *DeleteMetricFilterInput, opts ...request.Option) (*DeleteMetricFilterOutput, error)
DeleteMetricFilterWithContext is the same as DeleteMetricFilter with the addition of the ability to pass a context and additional request options.
See DeleteMetricFilter 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 (*CloudWatchLogs) DeleteQueryDefinition ¶ added in v1.30.23
func (c *CloudWatchLogs) DeleteQueryDefinition(input *DeleteQueryDefinitionInput) (*DeleteQueryDefinitionOutput, error)
DeleteQueryDefinition API operation for Amazon CloudWatch Logs.
Deletes a saved CloudWatch Logs Insights query definition. A query definition contains details about a saved CloudWatch Logs Insights query.
Each DeleteQueryDefinition operation can delete one query definition.
You must have the logs:DeleteQueryDefinition permission to be able to perform this 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 Amazon CloudWatch Logs's API operation DeleteQueryDefinition for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
ResourceNotFoundException The specified resource does not exist.
ServiceUnavailableException The service cannot complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteQueryDefinition
func (*CloudWatchLogs) DeleteQueryDefinitionRequest ¶ added in v1.30.23
func (c *CloudWatchLogs) DeleteQueryDefinitionRequest(input *DeleteQueryDefinitionInput) (req *request.Request, output *DeleteQueryDefinitionOutput)
DeleteQueryDefinitionRequest generates a "aws/request.Request" representing the client's request for the DeleteQueryDefinition 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 DeleteQueryDefinition for more information on using the DeleteQueryDefinition 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 DeleteQueryDefinitionRequest method. req, resp := client.DeleteQueryDefinitionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteQueryDefinition
func (*CloudWatchLogs) DeleteQueryDefinitionWithContext ¶ added in v1.30.23
func (c *CloudWatchLogs) DeleteQueryDefinitionWithContext(ctx aws.Context, input *DeleteQueryDefinitionInput, opts ...request.Option) (*DeleteQueryDefinitionOutput, error)
DeleteQueryDefinitionWithContext is the same as DeleteQueryDefinition with the addition of the ability to pass a context and additional request options.
See DeleteQueryDefinition 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 (*CloudWatchLogs) DeleteResourcePolicy ¶ added in v1.10.41
func (c *CloudWatchLogs) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error)
DeleteResourcePolicy API operation for Amazon CloudWatch Logs.
Deletes a resource policy from this account. This revokes the access of the identities in that policy to put log events to this 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 Amazon CloudWatch Logs's API operation DeleteResourcePolicy for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
ResourceNotFoundException The specified resource does not exist.
ServiceUnavailableException The service cannot complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteResourcePolicy
func (*CloudWatchLogs) DeleteResourcePolicyRequest ¶ added in v1.10.41
func (c *CloudWatchLogs) 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/logs-2014-03-28/DeleteResourcePolicy
func (*CloudWatchLogs) DeleteResourcePolicyWithContext ¶ added in v1.10.41
func (c *CloudWatchLogs) 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 (*CloudWatchLogs) DeleteRetentionPolicy ¶
func (c *CloudWatchLogs) DeleteRetentionPolicy(input *DeleteRetentionPolicyInput) (*DeleteRetentionPolicyOutput, error)
DeleteRetentionPolicy API operation for Amazon CloudWatch Logs.
Deletes the specified retention policy.
Log events do not expire if they belong to log groups without a retention policy.
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 Amazon CloudWatch Logs's API operation DeleteRetentionPolicy for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
ResourceNotFoundException The specified resource does not exist.
OperationAbortedException Multiple concurrent requests to update the same resource were in conflict.
ServiceUnavailableException The service cannot complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicy
func (*CloudWatchLogs) DeleteRetentionPolicyRequest ¶
func (c *CloudWatchLogs) DeleteRetentionPolicyRequest(input *DeleteRetentionPolicyInput) (req *request.Request, output *DeleteRetentionPolicyOutput)
DeleteRetentionPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteRetentionPolicy 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 DeleteRetentionPolicy for more information on using the DeleteRetentionPolicy 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 DeleteRetentionPolicyRequest method. req, resp := client.DeleteRetentionPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicy
func (*CloudWatchLogs) DeleteRetentionPolicyWithContext ¶ added in v1.8.0
func (c *CloudWatchLogs) DeleteRetentionPolicyWithContext(ctx aws.Context, input *DeleteRetentionPolicyInput, opts ...request.Option) (*DeleteRetentionPolicyOutput, error)
DeleteRetentionPolicyWithContext is the same as DeleteRetentionPolicy with the addition of the ability to pass a context and additional request options.
See DeleteRetentionPolicy 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 (*CloudWatchLogs) DeleteSubscriptionFilter ¶ added in v0.6.1
func (c *CloudWatchLogs) DeleteSubscriptionFilter(input *DeleteSubscriptionFilterInput) (*DeleteSubscriptionFilterOutput, error)
DeleteSubscriptionFilter API operation for Amazon CloudWatch Logs.
Deletes the specified subscription filter.
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 Amazon CloudWatch Logs's API operation DeleteSubscriptionFilter for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
ResourceNotFoundException The specified resource does not exist.
OperationAbortedException Multiple concurrent requests to update the same resource were in conflict.
ServiceUnavailableException The service cannot complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilter
func (*CloudWatchLogs) DeleteSubscriptionFilterRequest ¶ added in v0.6.1
func (c *CloudWatchLogs) DeleteSubscriptionFilterRequest(input *DeleteSubscriptionFilterInput) (req *request.Request, output *DeleteSubscriptionFilterOutput)
DeleteSubscriptionFilterRequest generates a "aws/request.Request" representing the client's request for the DeleteSubscriptionFilter 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 DeleteSubscriptionFilter for more information on using the DeleteSubscriptionFilter 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 DeleteSubscriptionFilterRequest method. req, resp := client.DeleteSubscriptionFilterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilter
func (*CloudWatchLogs) DeleteSubscriptionFilterWithContext ¶ added in v1.8.0
func (c *CloudWatchLogs) DeleteSubscriptionFilterWithContext(ctx aws.Context, input *DeleteSubscriptionFilterInput, opts ...request.Option) (*DeleteSubscriptionFilterOutput, error)
DeleteSubscriptionFilterWithContext is the same as DeleteSubscriptionFilter with the addition of the ability to pass a context and additional request options.
See DeleteSubscriptionFilter 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 (*CloudWatchLogs) DescribeAccountPolicies ¶ added in v1.44.278
func (c *CloudWatchLogs) DescribeAccountPolicies(input *DescribeAccountPoliciesInput) (*DescribeAccountPoliciesOutput, error)
DescribeAccountPolicies API operation for Amazon CloudWatch Logs.
Returns a list of all CloudWatch Logs account policies in the 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 Amazon CloudWatch Logs's API operation DescribeAccountPolicies for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is specified incorrectly.
OperationAbortedException Multiple concurrent requests to update the same resource were in conflict.
ResourceNotFoundException The specified resource does not exist.
ServiceUnavailableException The service cannot complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeAccountPolicies
func (*CloudWatchLogs) DescribeAccountPoliciesRequest ¶ added in v1.44.278
func (c *CloudWatchLogs) DescribeAccountPoliciesRequest(input *DescribeAccountPoliciesInput) (req *request.Request, output *DescribeAccountPoliciesOutput)
DescribeAccountPoliciesRequest generates a "aws/request.Request" representing the client's request for the DescribeAccountPolicies 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 DescribeAccountPolicies for more information on using the DescribeAccountPolicies 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 DescribeAccountPoliciesRequest method. req, resp := client.DescribeAccountPoliciesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeAccountPolicies
func (*CloudWatchLogs) DescribeAccountPoliciesWithContext ¶ added in v1.44.278
func (c *CloudWatchLogs) DescribeAccountPoliciesWithContext(ctx aws.Context, input *DescribeAccountPoliciesInput, opts ...request.Option) (*DescribeAccountPoliciesOutput, error)
DescribeAccountPoliciesWithContext is the same as DescribeAccountPolicies with the addition of the ability to pass a context and additional request options.
See DescribeAccountPolicies 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 (*CloudWatchLogs) DescribeDeliveries ¶ added in v1.47.8
func (c *CloudWatchLogs) DescribeDeliveries(input *DescribeDeliveriesInput) (*DescribeDeliveriesOutput, error)
DescribeDeliveries API operation for Amazon CloudWatch Logs.
Retrieves a list of the deliveries that have been created in the account.
A delivery is a connection between a delivery source (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html) and a delivery destination (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestination.html).
A delivery source represents an Amazon Web Services resource that sends logs to an logs delivery destination. The destination can be CloudWatch Logs, Amazon S3, or Firehose. Only some Amazon Web Services services support being configured as a delivery source. These services are listed in Enable logging from Amazon Web Services services. (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.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 Amazon CloudWatch Logs's API operation DescribeDeliveries for usage and error information.
Returned Error Types:
ServiceUnavailableException The service cannot complete the request.
ServiceQuotaExceededException This request exceeds a service quota.
ValidationException One of the parameters for the request is not valid.
ThrottlingException The request was throttled because of quota limits.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDeliveries
func (*CloudWatchLogs) DescribeDeliveriesPages ¶ added in v1.47.8
func (c *CloudWatchLogs) DescribeDeliveriesPages(input *DescribeDeliveriesInput, fn func(*DescribeDeliveriesOutput, bool) bool) error
DescribeDeliveriesPages iterates over the pages of a DescribeDeliveries operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeDeliveries 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 DescribeDeliveries operation. pageNum := 0 err := client.DescribeDeliveriesPages(params, func(page *cloudwatchlogs.DescribeDeliveriesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CloudWatchLogs) DescribeDeliveriesPagesWithContext ¶ added in v1.47.8
func (c *CloudWatchLogs) DescribeDeliveriesPagesWithContext(ctx aws.Context, input *DescribeDeliveriesInput, fn func(*DescribeDeliveriesOutput, bool) bool, opts ...request.Option) error
DescribeDeliveriesPagesWithContext same as DescribeDeliveriesPages 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 (*CloudWatchLogs) DescribeDeliveriesRequest ¶ added in v1.47.8
func (c *CloudWatchLogs) DescribeDeliveriesRequest(input *DescribeDeliveriesInput) (req *request.Request, output *DescribeDeliveriesOutput)
DescribeDeliveriesRequest generates a "aws/request.Request" representing the client's request for the DescribeDeliveries 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 DescribeDeliveries for more information on using the DescribeDeliveries 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 DescribeDeliveriesRequest method. req, resp := client.DescribeDeliveriesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDeliveries
func (*CloudWatchLogs) DescribeDeliveriesWithContext ¶ added in v1.47.8
func (c *CloudWatchLogs) DescribeDeliveriesWithContext(ctx aws.Context, input *DescribeDeliveriesInput, opts ...request.Option) (*DescribeDeliveriesOutput, error)
DescribeDeliveriesWithContext is the same as DescribeDeliveries with the addition of the ability to pass a context and additional request options.
See DescribeDeliveries 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 (*CloudWatchLogs) DescribeDeliveryDestinations ¶ added in v1.47.8
func (c *CloudWatchLogs) DescribeDeliveryDestinations(input *DescribeDeliveryDestinationsInput) (*DescribeDeliveryDestinationsOutput, error)
DescribeDeliveryDestinations API operation for Amazon CloudWatch Logs.
Retrieves a list of the delivery destinations that have been created in the 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 Amazon CloudWatch Logs's API operation DescribeDeliveryDestinations for usage and error information.
Returned Error Types:
ServiceUnavailableException The service cannot complete the request.
ServiceQuotaExceededException This request exceeds a service quota.
ValidationException One of the parameters for the request is not valid.
ThrottlingException The request was throttled because of quota limits.
See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDeliveryDestinations
func (*CloudWatchLogs) DescribeDeliveryDestinationsPages ¶ added in v1.47.8
func (c *CloudWatchLogs) DescribeDeliveryDestinationsPages(input *DescribeDeliveryDestinationsInput, fn func(*DescribeDeliveryDestinationsOutput, bool) bool) error
DescribeDeliveryDestinationsPages iterates over the pages of a DescribeDeliveryDestinations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeDeliveryDestinations 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 DescribeDeliveryDestinations operation. pageNum := 0 err := client.DescribeDeliveryDestinationsPages(params, func(page *cloudwatchlogs.DescribeDeliveryDestinationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })