// // Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). // You may not use this file except in compliance with the License. // A copy of the License is located at // // http://aws.amazon.com/apache2.0 // // or in the "license" file accompanying this file. This file is distributed // on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either // express or implied. See the License for the specific language governing // permissions and limitations under the License. // #import #import #import NS_ASSUME_NONNULL_BEGIN FOUNDATION_EXPORT NSString *const AWSLogsErrorDomain; typedef NS_ENUM(NSInteger, AWSLogsErrorType) { AWSLogsErrorUnknown, AWSLogsErrorDataAlreadyAccepted, AWSLogsErrorInvalidOperation, AWSLogsErrorInvalidParameter, AWSLogsErrorInvalidSequenceToken, AWSLogsErrorLimitExceeded, AWSLogsErrorMalformedQuery, AWSLogsErrorOperationAborted, AWSLogsErrorResourceAlreadyExists, AWSLogsErrorResourceNotFound, AWSLogsErrorServiceUnavailable, AWSLogsErrorTooManyTags, AWSLogsErrorUnrecognizedClient, }; typedef NS_ENUM(NSInteger, AWSLogsDataProtectionStatus) { AWSLogsDataProtectionStatusUnknown, AWSLogsDataProtectionStatusActivated, AWSLogsDataProtectionStatusDeleted, AWSLogsDataProtectionStatusArchived, AWSLogsDataProtectionStatusDisabled, }; typedef NS_ENUM(NSInteger, AWSLogsDistribution) { AWSLogsDistributionUnknown, AWSLogsDistributionRandom, AWSLogsDistributionByLogStream, }; typedef NS_ENUM(NSInteger, AWSLogsExportTaskStatusCode) { AWSLogsExportTaskStatusCodeUnknown, AWSLogsExportTaskStatusCodeCancelled, AWSLogsExportTaskStatusCodeCompleted, AWSLogsExportTaskStatusCodeFailed, AWSLogsExportTaskStatusCodePending, AWSLogsExportTaskStatusCodePendingCancel, AWSLogsExportTaskStatusCodeRunning, }; typedef NS_ENUM(NSInteger, AWSLogsInheritedProperty) { AWSLogsInheritedPropertyUnknown, AWSLogsInheritedPropertyAccountDataProtection, }; typedef NS_ENUM(NSInteger, AWSLogsOrderBy) { AWSLogsOrderByUnknown, AWSLogsOrderByLogStreamName, AWSLogsOrderByLastEventTime, }; typedef NS_ENUM(NSInteger, AWSLogsPolicyType) { AWSLogsPolicyTypeUnknown, AWSLogsPolicyTypeDataProtectionPolicy, }; typedef NS_ENUM(NSInteger, AWSLogsQueryStatus) { AWSLogsQueryStatusUnknown, AWSLogsQueryStatusScheduled, AWSLogsQueryStatusRunning, AWSLogsQueryStatusComplete, AWSLogsQueryStatusFailed, AWSLogsQueryStatusCancelled, AWSLogsQueryStatusTimeout, }; typedef NS_ENUM(NSInteger, AWSLogsScope) { AWSLogsScopeUnknown, AWSLogsScopeAll, }; typedef NS_ENUM(NSInteger, AWSLogsStandardUnit) { AWSLogsStandardUnitUnknown, AWSLogsStandardUnitSeconds, AWSLogsStandardUnitMicroseconds, AWSLogsStandardUnitMilliseconds, AWSLogsStandardUnitBytes, AWSLogsStandardUnitKilobytes, AWSLogsStandardUnitMegabytes, AWSLogsStandardUnitGigabytes, AWSLogsStandardUnitTerabytes, AWSLogsStandardUnitBits, AWSLogsStandardUnitKilobits, AWSLogsStandardUnitMegabits, AWSLogsStandardUnitGigabits, AWSLogsStandardUnitTerabits, AWSLogsStandardUnitPercent, AWSLogsStandardUnitCount, AWSLogsStandardUnitBytesSecond, AWSLogsStandardUnitKilobytesSecond, AWSLogsStandardUnitMegabytesSecond, AWSLogsStandardUnitGigabytesSecond, AWSLogsStandardUnitTerabytesSecond, AWSLogsStandardUnitBitsSecond, AWSLogsStandardUnitKilobitsSecond, AWSLogsStandardUnitMegabitsSecond, AWSLogsStandardUnitGigabitsSecond, AWSLogsStandardUnitTerabitsSecond, AWSLogsStandardUnitCountSecond, AWSLogsStandardUnitNone, }; @class AWSLogsAccountPolicy; @class AWSLogsAssociateKmsKeyRequest; @class AWSLogsCancelExportTaskRequest; @class AWSLogsCreateExportTaskRequest; @class AWSLogsCreateExportTaskResponse; @class AWSLogsCreateLogGroupRequest; @class AWSLogsCreateLogStreamRequest; @class AWSLogsDeleteAccountPolicyRequest; @class AWSLogsDeleteDataProtectionPolicyRequest; @class AWSLogsDeleteDestinationRequest; @class AWSLogsDeleteLogGroupRequest; @class AWSLogsDeleteLogStreamRequest; @class AWSLogsDeleteMetricFilterRequest; @class AWSLogsDeleteQueryDefinitionRequest; @class AWSLogsDeleteQueryDefinitionResponse; @class AWSLogsDeleteResourcePolicyRequest; @class AWSLogsDeleteRetentionPolicyRequest; @class AWSLogsDeleteSubscriptionFilterRequest; @class AWSLogsDescribeAccountPoliciesRequest; @class AWSLogsDescribeAccountPoliciesResponse; @class AWSLogsDescribeDestinationsRequest; @class AWSLogsDescribeDestinationsResponse; @class AWSLogsDescribeExportTasksRequest; @class AWSLogsDescribeExportTasksResponse; @class AWSLogsDescribeLogGroupsRequest; @class AWSLogsDescribeLogGroupsResponse; @class AWSLogsDescribeLogStreamsRequest; @class AWSLogsDescribeLogStreamsResponse; @class AWSLogsDescribeMetricFiltersRequest; @class AWSLogsDescribeMetricFiltersResponse; @class AWSLogsDescribeQueriesRequest; @class AWSLogsDescribeQueriesResponse; @class AWSLogsDescribeQueryDefinitionsRequest; @class AWSLogsDescribeQueryDefinitionsResponse; @class AWSLogsDescribeResourcePoliciesRequest; @class AWSLogsDescribeResourcePoliciesResponse; @class AWSLogsDescribeSubscriptionFiltersRequest; @class AWSLogsDescribeSubscriptionFiltersResponse; @class AWSLogsDestination; @class AWSLogsDisassociateKmsKeyRequest; @class AWSLogsExportTask; @class AWSLogsExportTaskExecutionInfo; @class AWSLogsExportTaskStatus; @class AWSLogsFilterLogEventsRequest; @class AWSLogsFilterLogEventsResponse; @class AWSLogsFilteredLogEvent; @class AWSLogsGetDataProtectionPolicyRequest; @class AWSLogsGetDataProtectionPolicyResponse; @class AWSLogsGetLogEventsRequest; @class AWSLogsGetLogEventsResponse; @class AWSLogsGetLogGroupFieldsRequest; @class AWSLogsGetLogGroupFieldsResponse; @class AWSLogsGetLogRecordRequest; @class AWSLogsGetLogRecordResponse; @class AWSLogsGetQueryResultsRequest; @class AWSLogsGetQueryResultsResponse; @class AWSLogsInputLogEvent; @class AWSLogsListTagsForResourceRequest; @class AWSLogsListTagsForResourceResponse; @class AWSLogsListTagsLogGroupRequest; @class AWSLogsListTagsLogGroupResponse; @class AWSLogsLogGroup; @class AWSLogsLogGroupField; @class AWSLogsLogStream; @class AWSLogsMetricFilter; @class AWSLogsMetricFilterMatchRecord; @class AWSLogsMetricTransformation; @class AWSLogsOutputLogEvent; @class AWSLogsPutAccountPolicyRequest; @class AWSLogsPutAccountPolicyResponse; @class AWSLogsPutDataProtectionPolicyRequest; @class AWSLogsPutDataProtectionPolicyResponse; @class AWSLogsPutDestinationPolicyRequest; @class AWSLogsPutDestinationRequest; @class AWSLogsPutDestinationResponse; @class AWSLogsPutLogEventsRequest; @class AWSLogsPutLogEventsResponse; @class AWSLogsPutMetricFilterRequest; @class AWSLogsPutQueryDefinitionRequest; @class AWSLogsPutQueryDefinitionResponse; @class AWSLogsPutResourcePolicyRequest; @class AWSLogsPutResourcePolicyResponse; @class AWSLogsPutRetentionPolicyRequest; @class AWSLogsPutSubscriptionFilterRequest; @class AWSLogsQueryCompileError; @class AWSLogsQueryCompileErrorLocation; @class AWSLogsQueryDefinition; @class AWSLogsQueryInfo; @class AWSLogsQueryStatistics; @class AWSLogsRejectedLogEventsInfo; @class AWSLogsResourcePolicy; @class AWSLogsResultField; @class AWSLogsSearchedLogStream; @class AWSLogsStartQueryRequest; @class AWSLogsStartQueryResponse; @class AWSLogsStopQueryRequest; @class AWSLogsStopQueryResponse; @class AWSLogsSubscriptionFilter; @class AWSLogsTagLogGroupRequest; @class AWSLogsTagResourceRequest; @class AWSLogsTestMetricFilterRequest; @class AWSLogsTestMetricFilterResponse; @class AWSLogsUntagLogGroupRequest; @class AWSLogsUntagResourceRequest; /**

A structure that contains information about one CloudWatch Logs account policy.

*/ @interface AWSLogsAccountPolicy : AWSModel /**

The Amazon Web Services account ID that the policy applies to.

*/ @property (nonatomic, strong) NSString * _Nullable accountId; /**

The date and time that this policy was most recently updated.

*/ @property (nonatomic, strong) NSNumber * _Nullable lastUpdatedTime; /**

The policy document for this account policy.

The JSON specified in policyDocument can be up to 30,720 characters.

*/ @property (nonatomic, strong) NSString * _Nullable policyDocument; /**

The name of the account policy.

*/ @property (nonatomic, strong) NSString * _Nullable policyName; /**

The type of policy for this account policy.

*/ @property (nonatomic, assign) AWSLogsPolicyType policyType; /**

The scope of the account policy.

*/ @property (nonatomic, assign) AWSLogsScope scope; @end /** */ @interface AWSLogsAssociateKmsKeyRequest : AWSRequest /**

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 and Using Symmetric and Asymmetric Keys.

*/ @property (nonatomic, strong) NSString * _Nullable kmsKeyId; /**

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.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

Specifies the target for this operation. You must specify one of the following:

  • Specify the following ARN to have future GetQueryResults 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.

*/ @property (nonatomic, strong) NSString * _Nullable resourceIdentifier; @end /** */ @interface AWSLogsCancelExportTaskRequest : AWSRequest /**

The ID of the export task.

*/ @property (nonatomic, strong) NSString * _Nullable taskId; @end /** */ @interface AWSLogsCreateExportTaskRequest : AWSRequest /**

The name of S3 bucket for the exported log data. The bucket must be in the same Amazon Web Services Region.

*/ @property (nonatomic, strong) NSString * _Nullable destination; /**

The prefix used as the start of the key for every object exported. If you don't specify a value, the default is exportedlogs.

*/ @property (nonatomic, strong) NSString * _Nullable destinationPrefix; /**

The start time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp earlier than this time are not exported.

*/ @property (nonatomic, strong) NSNumber * _Nullable from; /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter is applied.

*/ @property (nonatomic, strong) NSString * _Nullable logStreamNamePrefix; /**

The name of the export task.

*/ @property (nonatomic, strong) NSString * _Nullable taskName; /**

The end time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.

You must specify a time that is not earlier than when this log group was created.

*/ @property (nonatomic, strong) NSNumber * _Nullable to; @end /** */ @interface AWSLogsCreateExportTaskResponse : AWSModel /**

The ID of the export task.

*/ @property (nonatomic, strong) NSString * _Nullable taskId; @end /** */ @interface AWSLogsCreateLogGroupRequest : AWSRequest /**

The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data. For more information, see Amazon Resource Names.

*/ @property (nonatomic, strong) NSString * _Nullable kmsKeyId; /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

The key-value pairs to use for the tags.

You can grant users access to certain log groups while preventing them from accessing other log groups. To do so, tag your groups and use IAM policies that refer to those tags. To assign tags when you create a log group, you must have either the logs:TagResource or logs:TagLogGroup permission. For more information about tagging, see Tagging Amazon Web Services resources. For more information about using tags to control access, see Controlling access to Amazon Web Services resources using tags.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @end /** */ @interface AWSLogsCreateLogStreamRequest : AWSRequest /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

The name of the log stream.

*/ @property (nonatomic, strong) NSString * _Nullable logStreamName; @end /** */ @interface AWSLogsDeleteAccountPolicyRequest : AWSRequest /**

The name of the policy to delete.

*/ @property (nonatomic, strong) NSString * _Nullable policyName; /**

The type of policy to delete. Currently, the only valid value is DATA_PROTECTION_POLICY.

*/ @property (nonatomic, assign) AWSLogsPolicyType policyType; @end /** */ @interface AWSLogsDeleteDataProtectionPolicyRequest : AWSRequest /**

The name or ARN of the log group that you want to delete the data protection policy for.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupIdentifier; @end /** */ @interface AWSLogsDeleteDestinationRequest : AWSRequest /**

The name of the destination.

*/ @property (nonatomic, strong) NSString * _Nullable destinationName; @end /** */ @interface AWSLogsDeleteLogGroupRequest : AWSRequest /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; @end /** */ @interface AWSLogsDeleteLogStreamRequest : AWSRequest /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

The name of the log stream.

*/ @property (nonatomic, strong) NSString * _Nullable logStreamName; @end /** */ @interface AWSLogsDeleteMetricFilterRequest : AWSRequest /**

The name of the metric filter.

*/ @property (nonatomic, strong) NSString * _Nullable filterName; /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; @end /** */ @interface AWSLogsDeleteQueryDefinitionRequest : AWSRequest /**

The ID of the query definition that you want to delete. You can use DescribeQueryDefinitions to retrieve the IDs of your saved query definitions.

*/ @property (nonatomic, strong) NSString * _Nullable queryDefinitionId; @end /** */ @interface AWSLogsDeleteQueryDefinitionResponse : AWSModel /**

A value of TRUE indicates that the operation succeeded. FALSE indicates that the operation failed.

*/ @property (nonatomic, strong) NSNumber * _Nullable success; @end /** */ @interface AWSLogsDeleteResourcePolicyRequest : AWSRequest /**

The name of the policy to be revoked. This parameter is required.

*/ @property (nonatomic, strong) NSString * _Nullable policyName; @end /** */ @interface AWSLogsDeleteRetentionPolicyRequest : AWSRequest /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; @end /** */ @interface AWSLogsDeleteSubscriptionFilterRequest : AWSRequest /**

The name of the subscription filter.

*/ @property (nonatomic, strong) NSString * _Nullable filterName; /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; @end /** */ @interface AWSLogsDescribeAccountPoliciesRequest : AWSRequest /**

If you are using an account that is set up as a monitoring account for CloudWatch unified cross-account observability, you can use this to specify the account ID of a source account. If you do, the operation returns the account policy for the specified account. Currently, you can specify only one account ID in this parameter.

If you omit this parameter, only the policy in the current account is returned.

*/ @property (nonatomic, strong) NSArray * _Nullable accountIdentifiers; /**

Use this parameter to limit the returned policies to only the policy with the name that you specify.

*/ @property (nonatomic, strong) NSString * _Nullable policyName; /**

Use this parameter to limit the returned policies to only the policies that match the policy type that you specify. Currently, the only valid value is DATA_PROTECTION_POLICY.

*/ @property (nonatomic, assign) AWSLogsPolicyType policyType; @end /** */ @interface AWSLogsDescribeAccountPoliciesResponse : AWSModel /**

An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters.

*/ @property (nonatomic, strong) NSArray * _Nullable accountPolicies; @end /** */ @interface AWSLogsDescribeDestinationsRequest : AWSRequest /**

The prefix to match. If you don't specify a value, no prefix filter is applied.

*/ @property (nonatomic, strong) NSString * _Nullable destinationNamePrefix; /**

The maximum number of items returned. If you don't specify a value, the default maximum value of 50 items is used.

*/ @property (nonatomic, strong) NSNumber * _Nullable limit; /**

The token for the next set of items to return. (You received this token from a previous call.)

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSLogsDescribeDestinationsResponse : AWSModel /**

The destinations.

*/ @property (nonatomic, strong) NSArray * _Nullable destinations; /**

The token for the next set of items to return. The token expires after 24 hours.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSLogsDescribeExportTasksRequest : AWSRequest /**

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

*/ @property (nonatomic, strong) NSNumber * _Nullable limit; /**

The token for the next set of items to return. (You received this token from a previous call.)

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

The status code of the export task. Specifying a status code filters the results to zero or more export tasks.

*/ @property (nonatomic, assign) AWSLogsExportTaskStatusCode statusCode; /**

The ID of the export task. Specifying a task ID filters the results to one or zero export tasks.

*/ @property (nonatomic, strong) NSString * _Nullable taskId; @end /** */ @interface AWSLogsDescribeExportTasksResponse : AWSModel /**

The export tasks.

*/ @property (nonatomic, strong) NSArray * _Nullable exportTasks; /**

The token for the next set of items to return. The token expires after 24 hours.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSLogsDescribeLogGroupsRequest : AWSRequest /**

When includeLinkedAccounts is set to True, use this parameter to specify the list of accounts to search. You can specify as many as 20 account IDs in the array.

*/ @property (nonatomic, strong) NSArray * _Nullable accountIdentifiers; /**

If you are using a monitoring account, set this to True to have the operation return log groups in the accounts listed in accountIdentifiers.

If this parameter is set to true and accountIdentifiers contains a null value, the operation returns all log groups in the monitoring account and all log groups in all source accounts that are linked to the monitoring account.

*/ @property (nonatomic, strong) NSNumber * _Nullable includeLinkedAccounts; /**

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

*/ @property (nonatomic, strong) NSNumber * _Nullable limit; /**

If you specify a string for this parameter, the operation returns only log groups that have names that match the string based on a case-sensitive substring search. For example, if you specify Foo, log groups named FooBar, aws/Foo, and GroupFoo would match, but foo, F/o/o and Froo would not match.

If you specify logGroupNamePattern in your request, then only arn, creationTime, and logGroupName are included in the response.

logGroupNamePattern and logGroupNamePrefix are mutually exclusive. Only one of these parameters can be passed.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupNamePattern; /**

The prefix to match.

logGroupNamePrefix and logGroupNamePattern are mutually exclusive. Only one of these parameters can be passed.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupNamePrefix; /**

The token for the next set of items to return. (You received this token from a previous call.)

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSLogsDescribeLogGroupsResponse : AWSModel /**

The log groups.

If the retentionInDays value is not included for a log group, then that log group's events do not expire.

*/ @property (nonatomic, strong) NSArray * _Nullable logGroups; /**

The token for the next set of items to return. The token expires after 24 hours.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSLogsDescribeLogStreamsRequest : AWSRequest /**

If the value is true, results are returned in descending order. If the value is to false, results are returned in ascending order. The default value is false.

*/ @property (nonatomic, strong) NSNumber * _Nullable descending; /**

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

*/ @property (nonatomic, strong) NSNumber * _Nullable limit; /**

Specify either the name or ARN of the log group to view. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.

You must include either logGroupIdentifier or logGroupName, but not both.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupIdentifier; /**

The name of the log group.

You must include either logGroupIdentifier or logGroupName, but not both.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

The prefix to match.

If orderBy is LastEventTime, you cannot specify this parameter.

*/ @property (nonatomic, strong) NSString * _Nullable logStreamNamePrefix; /**

The token for the next set of items to return. (You received this token from a previous call.)

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

If the value is LogStreamName, the results are ordered by log stream name. If the value is LastEventTime, the results are ordered by the event time. The default value is LogStreamName.

If you order the results by event time, you cannot specify the logStreamNamePrefix parameter.

lastEventTimestamp represents the time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. lastEventTimestamp updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but in rare situations might take longer.

*/ @property (nonatomic, assign) AWSLogsOrderBy orderBy; @end /** */ @interface AWSLogsDescribeLogStreamsResponse : AWSModel /**

The log streams.

*/ @property (nonatomic, strong) NSArray * _Nullable logStreams; /**

The token for the next set of items to return. The token expires after 24 hours.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSLogsDescribeMetricFiltersRequest : AWSRequest /**

The prefix to match. CloudWatch Logs uses the value that you set here only if you also include the logGroupName parameter in your request.

*/ @property (nonatomic, strong) NSString * _Nullable filterNamePrefix; /**

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

*/ @property (nonatomic, strong) NSNumber * _Nullable limit; /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

Filters results to include only those with the specified metric name. If you include this parameter in your request, you must also include the metricNamespace parameter.

*/ @property (nonatomic, strong) NSString * _Nullable metricName; /**

Filters results to include only those in the specified namespace. If you include this parameter in your request, you must also include the metricName parameter.

*/ @property (nonatomic, strong) NSString * _Nullable metricNamespace; /**

The token for the next set of items to return. (You received this token from a previous call.)

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSLogsDescribeMetricFiltersResponse : AWSModel /**

The metric filters.

*/ @property (nonatomic, strong) NSArray * _Nullable metricFilters; /**

The token for the next set of items to return. The token expires after 24 hours.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSLogsDescribeQueriesRequest : AWSRequest /**

Limits the returned queries to only those for the specified log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

Limits the number of returned queries to the specified number.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

The token for the next set of items to return. The token expires after 24 hours.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

Limits the returned queries to only those that have the specified status. Valid values are Cancelled, Complete, Failed, Running, and Scheduled.

*/ @property (nonatomic, assign) AWSLogsQueryStatus status; @end /** */ @interface AWSLogsDescribeQueriesResponse : AWSModel /**

The token for the next set of items to return. The token expires after 24 hours.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

The list of queries that match the request.

*/ @property (nonatomic, strong) NSArray * _Nullable queries; @end /** */ @interface AWSLogsDescribeQueryDefinitionsRequest : AWSRequest /**

Limits the number of returned query definitions to the specified number.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

The token for the next set of items to return. The token expires after 24 hours.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

Use this parameter to filter your results to only the query definitions that have names that start with the prefix you specify.

*/ @property (nonatomic, strong) NSString * _Nullable queryDefinitionNamePrefix; @end /** */ @interface AWSLogsDescribeQueryDefinitionsResponse : AWSModel /**

The token for the next set of items to return. The token expires after 24 hours.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

The list of query definitions that match your request.

*/ @property (nonatomic, strong) NSArray * _Nullable queryDefinitions; @end /** */ @interface AWSLogsDescribeResourcePoliciesRequest : AWSRequest /**

The maximum number of resource policies to be displayed with one call of this API.

*/ @property (nonatomic, strong) NSNumber * _Nullable limit; /**

The token for the next set of items to return. The token expires after 24 hours.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSLogsDescribeResourcePoliciesResponse : AWSModel /**

The token for the next set of items to return. The token expires after 24 hours.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

The resource policies that exist in this account.

*/ @property (nonatomic, strong) NSArray * _Nullable resourcePolicies; @end /** */ @interface AWSLogsDescribeSubscriptionFiltersRequest : AWSRequest /**

The prefix to match. If you don't specify a value, no prefix filter is applied.

*/ @property (nonatomic, strong) NSString * _Nullable filterNamePrefix; /**

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

*/ @property (nonatomic, strong) NSNumber * _Nullable limit; /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

The token for the next set of items to return. (You received this token from a previous call.)

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSLogsDescribeSubscriptionFiltersResponse : AWSModel /**

The token for the next set of items to return. The token expires after 24 hours.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

The subscription filters.

*/ @property (nonatomic, strong) NSArray * _Nullable subscriptionFilters; @end /**

Represents a cross-account destination that receives subscription log events.

*/ @interface AWSLogsDestination : AWSModel /**

An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.

*/ @property (nonatomic, strong) NSString * _Nullable accessPolicy; /**

The ARN of this destination.

*/ @property (nonatomic, strong) NSString * _Nullable arn; /**

The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

*/ @property (nonatomic, strong) NSNumber * _Nullable creationTime; /**

The name of the destination.

*/ @property (nonatomic, strong) NSString * _Nullable destinationName; /**

A role for impersonation, used when delivering log events to the target.

*/ @property (nonatomic, strong) NSString * _Nullable roleArn; /**

The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).

*/ @property (nonatomic, strong) NSString * _Nullable targetArn; @end /** */ @interface AWSLogsDisassociateKmsKeyRequest : AWSRequest /**

The name of the log group.

In your DisassociateKmsKey operation, you must specify either the resourceIdentifier parameter or the logGroup parameter, but you can't specify both.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

Specifies the target for this operation. You must specify one of the following:

  • Specify the ARN of a log group to stop having CloudWatch Logs use the KMS key to encrypt log events that are ingested and stored by that log group. After you run this operation, CloudWatch Logs encrypts ingested log events with the default CloudWatch Logs method. 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

  • Specify the following ARN to stop using this key to encrypt the results of future StartQuery operations in this account. Replace REGION and ACCOUNT_ID with your Region and account ID.

    arn:aws:logs:REGION:ACCOUNT_ID:query-result:*

In your DisssociateKmsKey operation, you must specify either the resourceIdentifier parameter or the logGroup parameter, but you can't specify both.

*/ @property (nonatomic, strong) NSString * _Nullable resourceIdentifier; @end /**

Represents an export task.

*/ @interface AWSLogsExportTask : AWSModel /**

The name of the S3 bucket to which the log data was exported.

*/ @property (nonatomic, strong) NSString * _Nullable destination; /**

The prefix that was used as the start of Amazon S3 key for every object exported.

*/ @property (nonatomic, strong) NSString * _Nullable destinationPrefix; /**

Execution information about the export task.

*/ @property (nonatomic, strong) AWSLogsExportTaskExecutionInfo * _Nullable executionInfo; /**

The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this time are not exported.

*/ @property (nonatomic, strong) NSNumber * _Nullable from; /**

The name of the log group from which logs data was exported.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

The status of the export task.

*/ @property (nonatomic, strong) AWSLogsExportTaskStatus * _Nullable status; /**

The ID of the export task.

*/ @property (nonatomic, strong) NSString * _Nullable taskId; /**

The name of the export task.

*/ @property (nonatomic, strong) NSString * _Nullable taskName; /**

The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.

*/ @property (nonatomic, strong) NSNumber * _Nullable to; @end /**

Represents the status of an export task.

*/ @interface AWSLogsExportTaskExecutionInfo : AWSModel /**

The completion time of the export task, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

*/ @property (nonatomic, strong) NSNumber * _Nullable completionTime; /**

The creation time of the export task, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

*/ @property (nonatomic, strong) NSNumber * _Nullable creationTime; @end /**

Represents the status of an export task.

*/ @interface AWSLogsExportTaskStatus : AWSModel /**

The status code of the export task.

*/ @property (nonatomic, assign) AWSLogsExportTaskStatusCode code; /**

The status message related to the status code.

*/ @property (nonatomic, strong) NSString * _Nullable message; @end /** */ @interface AWSLogsFilterLogEventsRequest : AWSRequest /**

The end of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not returned.

*/ @property (nonatomic, strong) NSNumber * _Nullable endTime; /**

The filter pattern to use. For more information, see Filter and Pattern Syntax.

If not provided, all the events are matched.

*/ @property (nonatomic, strong) NSString * _Nullable filterPattern; /**

If the value is true, the operation attempts to provide responses that contain events from multiple log streams within the log group, interleaved in a single response. If the value is false, all the matched log events in the first log stream are searched first, then those in the next log stream, and so on.

Important As of June 17, 2019, this parameter is ignored and the value is assumed to be true. The response from this operation always interleaves events from multiple log streams within a log group.

*/ @property (nonatomic, strong) NSNumber * _Nullable interleaved; /**

The maximum number of events to return. The default is 10,000 events.

*/ @property (nonatomic, strong) NSNumber * _Nullable limit; /**

Specify either the name or ARN of the log group to view log events from. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.

You must include either logGroupIdentifier or logGroupName, but not both.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupIdentifier; /**

The name of the log group to search.

You must include either logGroupIdentifier or logGroupName, but not both.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

Filters the results to include only events from log streams that have names starting with this prefix.

If you specify a value for both logStreamNamePrefix and logStreamNames, but the value for logStreamNamePrefix does not match any log stream names specified in logStreamNames, the action returns an InvalidParameterException error.

*/ @property (nonatomic, strong) NSString * _Nullable logStreamNamePrefix; /**

Filters the results to only logs from the log streams in this list.

If you specify a value for both logStreamNamePrefix and logStreamNames, the action returns an InvalidParameterException error.

*/ @property (nonatomic, strong) NSArray * _Nullable logStreamNames; /**

The token for the next set of events to return. (You received this token from a previous call.)

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

The start of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this time are not returned.

*/ @property (nonatomic, strong) NSNumber * _Nullable startTime; /**

Specify true to display the log event fields with all sensitive data unmasked and visible. The default is false.

To use this operation with this parameter, you must be signed into an account with the logs:Unmask permission.

*/ @property (nonatomic, strong) NSNumber * _Nullable unmask; @end /** */ @interface AWSLogsFilterLogEventsResponse : AWSModel /**

The matched events.

*/ @property (nonatomic, strong) NSArray * _Nullable events; /**

The token to use when requesting the next set of items. The token expires after 24 hours.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

Important As of May 15, 2020, this parameter is no longer supported. This parameter returns an empty list.

Indicates which log streams have been searched and whether each has been searched completely.

*/ @property (nonatomic, strong) NSArray * _Nullable searchedLogStreams; @end /**

Represents a matched event.

*/ @interface AWSLogsFilteredLogEvent : AWSModel /**

The ID of the event.

*/ @property (nonatomic, strong) NSString * _Nullable eventId; /**

The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

*/ @property (nonatomic, strong) NSNumber * _Nullable ingestionTime; /**

The name of the log stream to which this event belongs.

*/ @property (nonatomic, strong) NSString * _Nullable logStreamName; /**

The data contained in the log event.

*/ @property (nonatomic, strong) NSString * _Nullable message; /**

The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

*/ @property (nonatomic, strong) NSNumber * _Nullable timestamp; @end /** */ @interface AWSLogsGetDataProtectionPolicyRequest : AWSRequest /**

The name or ARN of the log group that contains the data protection policy that you want to see.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupIdentifier; @end /** */ @interface AWSLogsGetDataProtectionPolicyResponse : AWSModel /**

The date and time that this policy was most recently updated.

*/ @property (nonatomic, strong) NSNumber * _Nullable lastUpdatedTime; /**

The log group name or ARN that you specified in your request.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupIdentifier; /**

The data protection policy document for this log group.

*/ @property (nonatomic, strong) NSString * _Nullable policyDocument; @end /** */ @interface AWSLogsGetLogEventsRequest : AWSRequest /**

The end of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp equal to or later than this time are not included.

*/ @property (nonatomic, strong) NSNumber * _Nullable endTime; /**

The maximum number of log events returned. If you don't specify a limit, the default is as many log events as can fit in a response size of 1 MB (up to 10,000 log events).

*/ @property (nonatomic, strong) NSNumber * _Nullable limit; /**

Specify either the name or ARN of the log group to view events from. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.

You must include either logGroupIdentifier or logGroupName, but not both.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupIdentifier; /**

The name of the log group.

You must include either logGroupIdentifier or logGroupName, but not both.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

The name of the log stream.

*/ @property (nonatomic, strong) NSString * _Nullable logStreamName; /**

The token for the next set of items to return. (You received this token from a previous call.)

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

If the value is true, the earliest log events are returned first. If the value is false, the latest log events are returned first. The default value is false.

If you are using a previous nextForwardToken value as the nextToken in this operation, you must specify true for startFromHead.

*/ @property (nonatomic, strong) NSNumber * _Nullable startFromHead; /**

The start of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp equal to this time or later than this time are included. Events with a timestamp earlier than this time are not included.

*/ @property (nonatomic, strong) NSNumber * _Nullable startTime; /**

Specify true to display the log event fields with all sensitive data unmasked and visible. The default is false.

To use this operation with this parameter, you must be signed into an account with the logs:Unmask permission.

*/ @property (nonatomic, strong) NSNumber * _Nullable unmask; @end /** */ @interface AWSLogsGetLogEventsResponse : AWSModel /**

The events.

*/ @property (nonatomic, strong) NSArray * _Nullable events; /**

The token for the next set of items in the backward direction. The token expires after 24 hours. This token is not null. If you have reached the end of the stream, it returns the same token you passed in.

*/ @property (nonatomic, strong) NSString * _Nullable nextBackwardToken; /**

The token for the next set of items in the forward direction. The token expires after 24 hours. If you have reached the end of the stream, it returns the same token you passed in.

*/ @property (nonatomic, strong) NSString * _Nullable nextForwardToken; @end /** */ @interface AWSLogsGetLogGroupFieldsRequest : AWSRequest /**

Specify either the name or ARN of the log group to view. If the log group is in a source account and you are using a monitoring account, you must specify the ARN.

You must include either logGroupIdentifier or logGroupName, but not both.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupIdentifier; /**

The name of the log group to search.

You must include either logGroupIdentifier or logGroupName, but not both.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

The time to set as the center of the query. If you specify time, the 8 minutes before and 8 minutes after this time are searched. If you omit time, the most recent 15 minutes up to the current time are searched.

The time value is specified as epoch time, which is the number of seconds since January 1, 1970, 00:00:00 UTC.

*/ @property (nonatomic, strong) NSNumber * _Nullable time; @end /** */ @interface AWSLogsGetLogGroupFieldsResponse : AWSModel /**

The array of fields found in the query. Each object in the array contains the name of the field, along with the percentage of time it appeared in the log events that were queried.

*/ @property (nonatomic, strong) NSArray * _Nullable logGroupFields; @end /** */ @interface AWSLogsGetLogRecordRequest : AWSRequest /**

The pointer corresponding to the log event record you want to retrieve. You get this from the response of a GetQueryResults operation. In that response, the value of the @ptr field for a log event is the value to use as logRecordPointer to retrieve that complete log event record.

*/ @property (nonatomic, strong) NSString * _Nullable logRecordPointer; /**

Specify true to display the log event fields with all sensitive data unmasked and visible. The default is false.

To use this operation with this parameter, you must be signed into an account with the logs:Unmask permission.

*/ @property (nonatomic, strong) NSNumber * _Nullable unmask; @end /** */ @interface AWSLogsGetLogRecordResponse : AWSModel /**

The requested log event, as a JSON string.

*/ @property (nonatomic, strong) NSDictionary * _Nullable logRecord; @end /** */ @interface AWSLogsGetQueryResultsRequest : AWSRequest /**

The ID number of the query.

*/ @property (nonatomic, strong) NSString * _Nullable queryId; @end /** */ @interface AWSLogsGetQueryResultsResponse : AWSModel /**

If you associated an KMS key with the CloudWatch Logs Insights query results in this account, this field displays the ARN of the key that's used to encrypt the query results when StartQuery stores them.

*/ @property (nonatomic, strong) NSString * _Nullable encryptionKey; /**

The log events that matched the query criteria during the most recent time it ran.

The results value is an array of arrays. Each log event is one object in the top-level array. Each of these log event objects is an array of field/value pairs.

*/ @property (nonatomic, strong) NSArray *> * _Nullable results; /**

Includes the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the scanned log events. These values reflect the full raw results of the query.

*/ @property (nonatomic, strong) AWSLogsQueryStatistics * _Nullable statistics; /**

The status of the most recent running of the query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, Timeout, and Unknown.

Queries time out after 60 minutes of runtime. To avoid having your queries time out, reduce the time range being searched or partition your query into a number of queries.

*/ @property (nonatomic, assign) AWSLogsQueryStatus status; @end /**

Represents a log event, which is a record of activity that was recorded by the application or resource being monitored.

Required parameters: [timestamp, message] */ @interface AWSLogsInputLogEvent : AWSModel /**

The raw event message. Each log event can be no larger than 256 KB.

*/ @property (nonatomic, strong) NSString * _Nullable message; /**

The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

*/ @property (nonatomic, strong) NSNumber * _Nullable timestamp; @end /** */ @interface AWSLogsListTagsForResourceRequest : AWSRequest /**

The ARN of the resource that you want to view tags for.

The ARN format of a log group is arn:aws:logs:Region:account-id:log-group:log-group-name

The ARN format of a destination is arn:aws:logs:Region:account-id:destination:destination-name

For more information about ARN format, see CloudWatch Logs resources and operations.

*/ @property (nonatomic, strong) NSString * _Nullable resourceArn; @end /** */ @interface AWSLogsListTagsForResourceResponse : AWSModel /**

The list of tags associated with the requested resource.>

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @end /** */ @interface AWSLogsListTagsLogGroupRequest : AWSRequest /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; @end /** */ @interface AWSLogsListTagsLogGroupResponse : AWSModel /**

The tags for the log group.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @end /**

Represents a log group.

*/ @interface AWSLogsLogGroup : AWSModel /**

The Amazon Resource Name (ARN) of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable arn; /**

The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

*/ @property (nonatomic, strong) NSNumber * _Nullable creationTime; /**

Displays whether this log group has a protection policy, or whether it had one in the past. For more information, see PutDataProtectionPolicy.

*/ @property (nonatomic, assign) AWSLogsDataProtectionStatus dataProtectionStatus; /**

Displays all the properties that this log group has inherited from account-level settings.

*/ @property (nonatomic, strong) NSArray * _Nullable inheritedProperties; /**

The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data.

*/ @property (nonatomic, strong) NSString * _Nullable kmsKeyId; /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

The number of metric filters.

*/ @property (nonatomic, strong) NSNumber * _Nullable metricFilterCount; /**

The number of days to retain the log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, and 3653.

To set a log group so that its log events do not expire, use DeleteRetentionPolicy.

*/ @property (nonatomic, strong) NSNumber * _Nullable retentionInDays; /**

The number of bytes stored.

*/ @property (nonatomic, strong) NSNumber * _Nullable storedBytes; @end /**

The fields contained in log events found by a GetLogGroupFields operation, along with the percentage of queried log events in which each field appears.

*/ @interface AWSLogsLogGroupField : AWSModel /**

The name of a log field.

*/ @property (nonatomic, strong) NSString * _Nullable name; /**

The percentage of log events queried that contained the field.

*/ @property (nonatomic, strong) NSNumber * _Nullable percent; @end /**

Represents a log stream, which is a sequence of log events from a single emitter of logs.

*/ @interface AWSLogsLogStream : AWSModel /**

The Amazon Resource Name (ARN) of the log stream.

*/ @property (nonatomic, strong) NSString * _Nullable arn; /**

The creation time of the stream, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

*/ @property (nonatomic, strong) NSNumber * _Nullable creationTime; /**

The time of the first event, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

*/ @property (nonatomic, strong) NSNumber * _Nullable firstEventTimestamp; /**

The time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. The lastEventTime value updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but in rare situations might take longer.

*/ @property (nonatomic, strong) NSNumber * _Nullable lastEventTimestamp; /**

The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC The lastIngestionTime value updates on an eventual consistency basis. It typically updates in less than an hour after ingestion, but in rare situations might take longer.

*/ @property (nonatomic, strong) NSNumber * _Nullable lastIngestionTime; /**

The name of the log stream.

*/ @property (nonatomic, strong) NSString * _Nullable logStreamName; /**

The number of bytes stored.

Important: As of June 17, 2019, this parameter is no longer supported for log streams, and is always reported as zero. This change applies only to log streams. The storedBytes parameter for log groups is not affected.

*/ @property (nonatomic, strong) NSNumber * _Nullable storedBytes; /**

The sequence token.

The sequence token is now ignored in PutLogEvents actions. PutLogEvents actions are always accepted regardless of receiving an invalid sequence token. You don't need to obtain uploadSequenceToken to use a PutLogEvents action.

*/ @property (nonatomic, strong) NSString * _Nullable uploadSequenceToken; @end /**

Metric filters express how CloudWatch Logs would extract metric observations from ingested log events and transform them into metric data in a CloudWatch metric.

*/ @interface AWSLogsMetricFilter : AWSModel /**

The creation time of the metric filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

*/ @property (nonatomic, strong) NSNumber * _Nullable creationTime; /**

The name of the metric filter.

*/ @property (nonatomic, strong) NSString * _Nullable filterName; /**

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.

*/ @property (nonatomic, strong) NSString * _Nullable filterPattern; /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

The metric transformations.

*/ @property (nonatomic, strong) NSArray * _Nullable metricTransformations; @end /**

Represents a matched event.

*/ @interface AWSLogsMetricFilterMatchRecord : AWSModel /**

The raw event data.

*/ @property (nonatomic, strong) NSString * _Nullable eventMessage; /**

The event number.

*/ @property (nonatomic, strong) NSNumber * _Nullable eventNumber; /**

The values extracted from the event data by the filter.

*/ @property (nonatomic, strong) NSDictionary * _Nullable extractedValues; @end /**

Indicates how to transform ingested log events to metric data in a CloudWatch metric.

Required parameters: [metricName, metricNamespace, metricValue] */ @interface AWSLogsMetricTransformation : AWSModel /**

(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.

*/ @property (nonatomic, strong) NSNumber * _Nullable defaultValue; /**

The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions.

Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.

CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges.

You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges.

*/ @property (nonatomic, strong) NSDictionary * _Nullable dimensions; /**

The name of the CloudWatch metric.

*/ @property (nonatomic, strong) NSString * _Nullable metricName; /**

A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.

*/ @property (nonatomic, strong) NSString * _Nullable metricNamespace; /**

The value to publish to the CloudWatch metric when a filter pattern matches a log event.

*/ @property (nonatomic, strong) NSString * _Nullable metricValue; /**

The unit to assign to the metric. If you omit this, the unit is set as None.

*/ @property (nonatomic, assign) AWSLogsStandardUnit unit; @end /**

Represents a log event.

*/ @interface AWSLogsOutputLogEvent : AWSModel /**

The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

*/ @property (nonatomic, strong) NSNumber * _Nullable ingestionTime; /**

The data contained in the log event.

*/ @property (nonatomic, strong) NSString * _Nullable message; /**

The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

*/ @property (nonatomic, strong) NSNumber * _Nullable timestamp; @end /** */ @interface AWSLogsPutAccountPolicyRequest : AWSRequest /**

Specify the data protection policy, in JSON.

This policy must include two JSON blocks:

  • The first block must include both a DataIdentifer array and an Operation property with an Audit action. The DataIdentifer array lists the types of sensitive data that you want to mask. For more information about the available options, see Types of data that you can mask.

    The Operation property with an Audit action is required to find the sensitive data terms. This Audit action must contain a FindingsDestination object. You can optionally use that FindingsDestination object to list one or more destinations to send audit findings to. If you specify destinations such as log groups, Kinesis Data Firehose streams, and S3 buckets, they must already exist.

  • The second block must include both a DataIdentifer array and an Operation property with an Deidentify action. The DataIdentifer array must exactly match the DataIdentifer array in the first block of the policy.

    The Operation property with the Deidentify action is what actually masks the data, and it must contain the "MaskConfig": {} object. The "MaskConfig": {} object must be empty.

For an example data protection policy, see the Examples section on this page.

The contents of the two DataIdentifer arrays must match exactly.

In addition to the two JSON blocks, the policyDocument can also include Name, Description, and Version fields. The Name is different than the operation's policyName parameter, and is used as a dimension when CloudWatch Logs reports audit findings metrics to CloudWatch.

The JSON specified in policyDocument can be up to 30,720 characters.

*/ @property (nonatomic, strong) NSString * _Nullable policyDocument; /**

A name for the policy. This must be unique within the account.

*/ @property (nonatomic, strong) NSString * _Nullable policyName; /**

Currently the only valid value for this parameter is DATA_PROTECTION_POLICY.

*/ @property (nonatomic, assign) AWSLogsPolicyType policyType; /**

Currently the only valid value for this parameter is ALL, which specifies that the data protection policy applies to all log groups in the account. If you omit this parameter, the default of ALL is used.

*/ @property (nonatomic, assign) AWSLogsScope scope; @end /** */ @interface AWSLogsPutAccountPolicyResponse : AWSModel /**

The account policy that you created.

*/ @property (nonatomic, strong) AWSLogsAccountPolicy * _Nullable accountPolicy; @end /** */ @interface AWSLogsPutDataProtectionPolicyRequest : AWSRequest /**

Specify either the log group name or log group ARN.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupIdentifier; /**

Specify the data protection policy, in JSON.

This policy must include two JSON blocks:

  • The first block must include both a DataIdentifer array and an Operation property with an Audit action. The DataIdentifer array lists the types of sensitive data that you want to mask. For more information about the available options, see Types of data that you can mask.

    The Operation property with an Audit action is required to find the sensitive data terms. This Audit action must contain a FindingsDestination object. You can optionally use that FindingsDestination object to list one or more destinations to send audit findings to. If you specify destinations such as log groups, Kinesis Data Firehose streams, and S3 buckets, they must already exist.

  • The second block must include both a DataIdentifer array and an Operation property with an Deidentify action. The DataIdentifer array must exactly match the DataIdentifer array in the first block of the policy.

    The Operation property with the Deidentify action is what actually masks the data, and it must contain the "MaskConfig": {} object. The "MaskConfig": {} object must be empty.

For an example data protection policy, see the Examples section on this page.

The contents of the two DataIdentifer arrays must match exactly.

In addition to the two JSON blocks, the policyDocument can also include Name, Description, and Version fields. The Name is used as a dimension when CloudWatch Logs reports audit findings metrics to CloudWatch.

The JSON specified in policyDocument can be up to 30,720 characters.

*/ @property (nonatomic, strong) NSString * _Nullable policyDocument; @end /** */ @interface AWSLogsPutDataProtectionPolicyResponse : AWSModel /**

The date and time that this policy was most recently updated.

*/ @property (nonatomic, strong) NSNumber * _Nullable lastUpdatedTime; /**

The log group name or ARN that you specified in your request.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupIdentifier; /**

The data protection policy used for this log group.

*/ @property (nonatomic, strong) NSString * _Nullable policyDocument; @end /** */ @interface AWSLogsPutDestinationPolicyRequest : AWSRequest /**

An IAM policy document that authorizes cross-account users to deliver their log events to the associated destination. This can be up to 5120 bytes.

*/ @property (nonatomic, strong) NSString * _Nullable accessPolicy; /**

A name for an existing destination.

*/ @property (nonatomic, strong) NSString * _Nullable destinationName; /**

Specify true if you are updating an existing destination policy to grant permission to an organization ID instead of granting permission to individual Amazon Web Services accounts. Before you update a destination policy this way, you must first update the subscription filters in the accounts that send logs to this destination. If you do not, the subscription filters might stop working. By specifying true for forceUpdate, you are affirming that you have already updated the subscription filters. For more information, see Updating an existing cross-account subscription

If you omit this parameter, the default of false is used.

*/ @property (nonatomic, strong) NSNumber * _Nullable forceUpdate; @end /** */ @interface AWSLogsPutDestinationRequest : AWSRequest /**

A name for the destination.

*/ @property (nonatomic, strong) NSString * _Nullable destinationName; /**

The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord operation on the destination stream.

*/ @property (nonatomic, strong) NSString * _Nullable roleArn; /**

An optional list of key-value pairs to associate with the resource.

For more information about tagging, see Tagging Amazon Web Services resources

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; /**

The ARN of an Amazon Kinesis stream to which to deliver matching log events.

*/ @property (nonatomic, strong) NSString * _Nullable targetArn; @end /** */ @interface AWSLogsPutDestinationResponse : AWSModel /**

The destination.

*/ @property (nonatomic, strong) AWSLogsDestination * _Nullable destination; @end /** */ @interface AWSLogsPutLogEventsRequest : AWSRequest /**

The log events.

*/ @property (nonatomic, strong) NSArray * _Nullable logEvents; /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

The name of the log stream.

*/ @property (nonatomic, strong) NSString * _Nullable logStreamName; /**

The sequence token obtained from the response of the previous PutLogEvents call.

The sequenceToken parameter is now ignored in PutLogEvents actions. PutLogEvents actions are now accepted and never return InvalidSequenceTokenException or DataAlreadyAcceptedException even if the sequence token is not valid.

*/ @property (nonatomic, strong) NSString * _Nullable sequenceToken; @end /** */ @interface AWSLogsPutLogEventsResponse : AWSModel /**

The next sequence token.

This field has been deprecated.

The sequence token is now ignored in PutLogEvents actions. PutLogEvents actions are always accepted even if the sequence token is not valid. You can use parallel PutLogEvents actions on the same log stream and you do not need to wait for the response of a previous PutLogEvents action to obtain the nextSequenceToken value.

*/ @property (nonatomic, strong) NSString * _Nullable nextSequenceToken; /**

The rejected events.

*/ @property (nonatomic, strong) AWSLogsRejectedLogEventsInfo * _Nullable rejectedLogEventsInfo; @end /** */ @interface AWSLogsPutMetricFilterRequest : AWSRequest /**

A name for the metric filter.

*/ @property (nonatomic, strong) NSString * _Nullable filterName; /**

A filter pattern for extracting metric data out of ingested log events.

*/ @property (nonatomic, strong) NSString * _Nullable filterPattern; /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

A collection of information that defines how metric data gets emitted.

*/ @property (nonatomic, strong) NSArray * _Nullable metricTransformations; @end /** */ @interface AWSLogsPutQueryDefinitionRequest : AWSRequest /**

Use this parameter to include specific log groups as part of your query definition.

If you are updating a query definition and you omit this parameter, then the updated definition will contain no log groups.

*/ @property (nonatomic, strong) NSArray * _Nullable logGroupNames; /**

A name for the query definition. If you are saving numerous query definitions, we recommend that you name them. This way, you can find the ones you want by using the first part of the name as a filter in the queryDefinitionNamePrefix parameter of DescribeQueryDefinitions.

*/ @property (nonatomic, strong) NSString * _Nullable name; /**

If you are updating a query definition, use this parameter to specify the ID of the query definition that you want to update. You can use DescribeQueryDefinitions to retrieve the IDs of your saved query definitions.

If you are creating a query definition, do not specify this parameter. CloudWatch generates a unique ID for the new query definition and include it in the response to this operation.

*/ @property (nonatomic, strong) NSString * _Nullable queryDefinitionId; /**

The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.

*/ @property (nonatomic, strong) NSString * _Nullable queryString; @end /** */ @interface AWSLogsPutQueryDefinitionResponse : AWSModel /**

The ID of the query definition.

*/ @property (nonatomic, strong) NSString * _Nullable queryDefinitionId; @end /** */ @interface AWSLogsPutResourcePolicyRequest : AWSRequest /**

Details of the new policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. This parameter is required.

The following example creates a resource policy enabling the Route 53 service to put DNS query logs in to the specified log group. Replace "logArn" with the ARN of your CloudWatch Logs resource, such as a log group or log stream.

CloudWatch Logs also supports aws:SourceArn and aws:SourceAccount condition context keys.

In the example resource policy, you would replace the value of SourceArn with the resource making the call from RouteĀ 53 to CloudWatch Logs. You would also replace the value of SourceAccount with the Amazon Web Services account ID making that call.

{ "Version": "2012-10-17", "Statement": [ { "Sid": "Route53LogsToCloudWatchLogs", "Effect": "Allow", "Principal": { "Service": [ "route53.amazonaws.com" ] }, "Action": "logs:PutLogEvents", "Resource": "logArn", "Condition": { "ArnLike": { "aws:SourceArn": "myRoute53ResourceArn" }, "StringEquals": { "aws:SourceAccount": "myAwsAccountId" } } } ] }

*/ @property (nonatomic, strong) NSString * _Nullable policyDocument; /**

Name of the new policy. This parameter is required.

*/ @property (nonatomic, strong) NSString * _Nullable policyName; @end /** */ @interface AWSLogsPutResourcePolicyResponse : AWSModel /**

The new policy.

*/ @property (nonatomic, strong) AWSLogsResourcePolicy * _Nullable resourcePolicy; @end /** */ @interface AWSLogsPutRetentionPolicyRequest : AWSRequest /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

The number of days to retain the log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, and 3653.

To set a log group so that its log events do not expire, use DeleteRetentionPolicy.

*/ @property (nonatomic, strong) NSNumber * _Nullable retentionInDays; @end /** */ @interface AWSLogsPutSubscriptionFilterRequest : AWSRequest /**

The ARN of the destination to deliver matching log events to. Currently, the supported destinations are:

  • An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery.

  • A logical destination (specified using an ARN) belonging to a different account, for cross-account delivery.

    If you're setting up a cross-account subscription, the destination must have an IAM policy associated with it. The IAM policy must allow the sender to send logs to the destination. For more information, see PutDestinationPolicy.

  • A Kinesis Data Firehose delivery stream belonging to the same account as the subscription filter, for same-account delivery.

  • A Lambda function belonging to the same account as the subscription filter, for same-account delivery.

*/ @property (nonatomic, strong) NSString * _Nullable destinationArn; /**

The method used to distribute log data to the destination. By default, log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis data stream.

*/ @property (nonatomic, assign) AWSLogsDistribution distribution; /**

A name for the subscription filter. If you are updating an existing filter, you must specify the correct name in filterName. To find the name of the filter currently associated with a log group, use DescribeSubscriptionFilters.

*/ @property (nonatomic, strong) NSString * _Nullable filterName; /**

A filter pattern for subscribing to a filtered stream of log events.

*/ @property (nonatomic, strong) NSString * _Nullable filterPattern; /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.

*/ @property (nonatomic, strong) NSString * _Nullable roleArn; @end /**

Reserved.

*/ @interface AWSLogsQueryCompileError : AWSModel /**

Reserved.

*/ @property (nonatomic, strong) AWSLogsQueryCompileErrorLocation * _Nullable location; /**

Reserved.

*/ @property (nonatomic, strong) NSString * _Nullable message; @end /**

Reserved.

*/ @interface AWSLogsQueryCompileErrorLocation : AWSModel /**

Reserved.

*/ @property (nonatomic, strong) NSNumber * _Nullable endCharOffset; /**

Reserved.

*/ @property (nonatomic, strong) NSNumber * _Nullable startCharOffset; @end /**

This structure contains details about a saved CloudWatch Logs Insights query definition.

*/ @interface AWSLogsQueryDefinition : AWSModel /**

The date that the query definition was most recently modified.

*/ @property (nonatomic, strong) NSNumber * _Nullable lastModified; /**

If this query definition contains a list of log groups that it is limited to, that list appears here.

*/ @property (nonatomic, strong) NSArray * _Nullable logGroupNames; /**

The name of the query definition.

*/ @property (nonatomic, strong) NSString * _Nullable name; /**

The unique ID of the query definition.

*/ @property (nonatomic, strong) NSString * _Nullable queryDefinitionId; /**

The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.

*/ @property (nonatomic, strong) NSString * _Nullable queryString; @end /**

Information about one CloudWatch Logs Insights query that matches the request in a DescribeQueries operation.

*/ @interface AWSLogsQueryInfo : AWSModel /**

The date and time that this query was created.

*/ @property (nonatomic, strong) NSNumber * _Nullable createTime; /**

The name of the log group scanned by this query.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

The unique ID number of this query.

*/ @property (nonatomic, strong) NSString * _Nullable queryId; /**

The query string used in this query.

*/ @property (nonatomic, strong) NSString * _Nullable queryString; /**

The status of this query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, and Unknown.

*/ @property (nonatomic, assign) AWSLogsQueryStatus status; @end /**

Contains the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the log events that were scanned.

*/ @interface AWSLogsQueryStatistics : AWSModel /**

The total number of bytes in the log events scanned during the query.

*/ @property (nonatomic, strong) NSNumber * _Nullable bytesScanned; /**

The number of log events that matched the query string.

*/ @property (nonatomic, strong) NSNumber * _Nullable recordsMatched; /**

The total number of log events scanned during the query.

*/ @property (nonatomic, strong) NSNumber * _Nullable recordsScanned; @end /**

Represents the rejected events.

*/ @interface AWSLogsRejectedLogEventsInfo : AWSModel /**

The expired log events.

*/ @property (nonatomic, strong) NSNumber * _Nullable expiredLogEventEndIndex; /**

The log events that are too new.

*/ @property (nonatomic, strong) NSNumber * _Nullable tooNewLogEventStartIndex; /**

The log events that are dated too far in the past.

*/ @property (nonatomic, strong) NSNumber * _Nullable tooOldLogEventEndIndex; @end /**

A policy enabling one or more entities to put logs to a log group in this account.

*/ @interface AWSLogsResourcePolicy : AWSModel /**

Timestamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

*/ @property (nonatomic, strong) NSNumber * _Nullable lastUpdatedTime; /**

The details of the policy.

*/ @property (nonatomic, strong) NSString * _Nullable policyDocument; /**

The name of the resource policy.

*/ @property (nonatomic, strong) NSString * _Nullable policyName; @end /**

Contains one field from one log event returned by a CloudWatch Logs Insights query, along with the value of that field.

For more information about the fields that are generated by CloudWatch logs, see Supported Logs and Discovered Fields.

*/ @interface AWSLogsResultField : AWSModel /**

The log event field.

*/ @property (nonatomic, strong) NSString * _Nullable field; /**

The value of this field.

*/ @property (nonatomic, strong) NSString * _Nullable value; @end /**

Represents the search status of a log stream.

*/ @interface AWSLogsSearchedLogStream : AWSModel /**

The name of the log stream.

*/ @property (nonatomic, strong) NSString * _Nullable logStreamName; /**

Indicates whether all the events in this log stream were searched.

*/ @property (nonatomic, strong) NSNumber * _Nullable searchedCompletely; @end /** */ @interface AWSLogsStartQueryRequest : AWSRequest /**

The end of the time range to query. The range is inclusive, so the specified end time is included in the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.

*/ @property (nonatomic, strong) NSNumber * _Nullable endTime; /**

The maximum number of log events to return in the query. If the query string uses the fields command, only the specified fields and their values are returned. The default is 1000.

*/ @property (nonatomic, strong) NSNumber * _Nullable limit; /**

The list of log groups to query. You can include up to 50 log groups.

You can specify them by the log group name or ARN. If a log group that you're querying is in a source account and you're using a monitoring account, you must specify the ARN of the log group here. The query definition must also be defined in the monitoring account.

If you specify an ARN, the ARN can't end with an asterisk (*).

A StartQuery operation must include exactly one of the following parameters: logGroupName, logGroupNames, or logGroupIdentifiers.

*/ @property (nonatomic, strong) NSArray * _Nullable logGroupIdentifiers; /**

The log group on which to perform the query.

A StartQuery operation must include exactly one of the following parameters: logGroupName, logGroupNames, or logGroupIdentifiers.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

The list of log groups to be queried. You can include up to 50 log groups.

A StartQuery operation must include exactly one of the following parameters: logGroupName, logGroupNames, or logGroupIdentifiers.

*/ @property (nonatomic, strong) NSArray * _Nullable logGroupNames; /**

The query string to use. For more information, see CloudWatch Logs Insights Query Syntax.

*/ @property (nonatomic, strong) NSString * _Nullable queryString; /**

The beginning of the time range to query. The range is inclusive, so the specified start time is included in the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.

*/ @property (nonatomic, strong) NSNumber * _Nullable startTime; @end /** */ @interface AWSLogsStartQueryResponse : AWSModel /**

The unique ID of the query.

*/ @property (nonatomic, strong) NSString * _Nullable queryId; @end /** */ @interface AWSLogsStopQueryRequest : AWSRequest /**

The ID number of the query to stop. To find this ID number, use DescribeQueries.

*/ @property (nonatomic, strong) NSString * _Nullable queryId; @end /** */ @interface AWSLogsStopQueryResponse : AWSModel /**

This is true if the query was stopped by the StopQuery operation.

*/ @property (nonatomic, strong) NSNumber * _Nullable success; @end /**

Represents a subscription filter.

*/ @interface AWSLogsSubscriptionFilter : AWSModel /**

The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

*/ @property (nonatomic, strong) NSNumber * _Nullable creationTime; /**

The Amazon Resource Name (ARN) of the destination.

*/ @property (nonatomic, strong) NSString * _Nullable destinationArn; /**

The method used to distribute log data to the destination, which can be either random or grouped by log stream.

*/ @property (nonatomic, assign) AWSLogsDistribution distribution; /**

The name of the subscription filter.

*/ @property (nonatomic, strong) NSString * _Nullable filterName; /**

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.

*/ @property (nonatomic, strong) NSString * _Nullable filterPattern; /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

*/ @property (nonatomic, strong) NSString * _Nullable roleArn; @end /** */ @interface AWSLogsTagLogGroupRequest : AWSRequest /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

The key-value pairs to use for the tags.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @end /** */ @interface AWSLogsTagResourceRequest : AWSRequest /**

The ARN of the resource that you're adding tags to.

The ARN format of a log group is arn:aws:logs:Region:account-id:log-group:log-group-name

The ARN format of a destination is arn:aws:logs:Region:account-id:destination:destination-name

For more information about ARN format, see CloudWatch Logs resources and operations.

*/ @property (nonatomic, strong) NSString * _Nullable resourceArn; /**

The list of key-value pairs to associate with the resource.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @end /** */ @interface AWSLogsTestMetricFilterRequest : AWSRequest /**

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.

*/ @property (nonatomic, strong) NSString * _Nullable filterPattern; /**

The log event messages to test.

*/ @property (nonatomic, strong) NSArray * _Nullable logEventMessages; @end /** */ @interface AWSLogsTestMetricFilterResponse : AWSModel /**

The matched events.

*/ @property (nonatomic, strong) NSArray * _Nullable matches; @end /** */ @interface AWSLogsUntagLogGroupRequest : AWSRequest /**

The name of the log group.

*/ @property (nonatomic, strong) NSString * _Nullable logGroupName; /**

The tag keys. The corresponding tags are removed from the log group.

*/ @property (nonatomic, strong) NSArray * _Nullable tags; @end /** */ @interface AWSLogsUntagResourceRequest : AWSRequest /**

The ARN of the CloudWatch Logs resource that you're removing tags from.

The ARN format of a log group is arn:aws:logs:Region:account-id:log-group:log-group-name

The ARN format of a destination is arn:aws:logs:Region:account-id:destination:destination-name

For more information about ARN format, see CloudWatch Logs resources and operations.

*/ @property (nonatomic, strong) NSString * _Nullable resourceArn; /**

The list of tag keys to remove from the resource.

*/ @property (nonatomic, strong) NSArray * _Nullable tagKeys; @end NS_ASSUME_NONNULL_END