Classes

The following classes are available globally.

  • Declaration

    Objective-C

    @interface AWSLogsAssociateKmsKeyRequest

    Swift

    class AWSLogsAssociateKmsKeyRequest
  • Declaration

    Objective-C

    @interface AWSLogsCancelExportTaskRequest

    Swift

    class AWSLogsCancelExportTaskRequest
  • Declaration

    Objective-C

    @interface AWSLogsCreateExportTaskRequest

    Swift

    class AWSLogsCreateExportTaskRequest
  • Declaration

    Objective-C

    @interface AWSLogsCreateExportTaskResponse

    Swift

    class AWSLogsCreateExportTaskResponse
  • Declaration

    Objective-C

    @interface AWSLogsCreateLogGroupRequest

    Swift

    class AWSLogsCreateLogGroupRequest
  • Declaration

    Objective-C

    @interface AWSLogsCreateLogStreamRequest

    Swift

    class AWSLogsCreateLogStreamRequest
  • Declaration

    Objective-C

    @interface AWSLogsDeleteDestinationRequest

    Swift

    class AWSLogsDeleteDestinationRequest
  • Declaration

    Objective-C

    @interface AWSLogsDeleteLogGroupRequest

    Swift

    class AWSLogsDeleteLogGroupRequest
  • Declaration

    Objective-C

    @interface AWSLogsDeleteLogStreamRequest

    Swift

    class AWSLogsDeleteLogStreamRequest
  • Declaration

    Objective-C

    @interface AWSLogsDeleteMetricFilterRequest

    Swift

    class AWSLogsDeleteMetricFilterRequest
  • Declaration

    Objective-C

    @interface AWSLogsDeleteQueryDefinitionRequest

    Swift

    class AWSLogsDeleteQueryDefinitionRequest
  • Declaration

    Objective-C

    @interface AWSLogsDeleteQueryDefinitionResponse

    Swift

    class AWSLogsDeleteQueryDefinitionResponse
  • Declaration

    Objective-C

    @interface AWSLogsDeleteResourcePolicyRequest

    Swift

    class AWSLogsDeleteResourcePolicyRequest
  • Declaration

    Objective-C

    @interface AWSLogsDeleteRetentionPolicyRequest

    Swift

    class AWSLogsDeleteRetentionPolicyRequest
  • Declaration

    Objective-C

    @interface AWSLogsDeleteSubscriptionFilterRequest

    Swift

    class AWSLogsDeleteSubscriptionFilterRequest
  • Declaration

    Objective-C

    @interface AWSLogsDescribeDestinationsRequest

    Swift

    class AWSLogsDescribeDestinationsRequest
  • Declaration

    Objective-C

    @interface AWSLogsDescribeDestinationsResponse

    Swift

    class AWSLogsDescribeDestinationsResponse
  • Declaration

    Objective-C

    @interface AWSLogsDescribeExportTasksRequest

    Swift

    class AWSLogsDescribeExportTasksRequest
  • Declaration

    Objective-C

    @interface AWSLogsDescribeExportTasksResponse

    Swift

    class AWSLogsDescribeExportTasksResponse
  • Declaration

    Objective-C

    @interface AWSLogsDescribeLogGroupsRequest

    Swift

    class AWSLogsDescribeLogGroupsRequest
  • Declaration

    Objective-C

    @interface AWSLogsDescribeLogGroupsResponse

    Swift

    class AWSLogsDescribeLogGroupsResponse
  • Declaration

    Objective-C

    @interface AWSLogsDescribeLogStreamsRequest

    Swift

    class AWSLogsDescribeLogStreamsRequest
  • Declaration

    Objective-C

    @interface AWSLogsDescribeLogStreamsResponse

    Swift

    class AWSLogsDescribeLogStreamsResponse
  • Declaration

    Objective-C

    @interface AWSLogsDescribeMetricFiltersRequest

    Swift

    class AWSLogsDescribeMetricFiltersRequest
  • Declaration

    Objective-C

    @interface AWSLogsDescribeMetricFiltersResponse

    Swift

    class AWSLogsDescribeMetricFiltersResponse
  • Declaration

    Objective-C

    @interface AWSLogsDescribeQueriesRequest

    Swift

    class AWSLogsDescribeQueriesRequest
  • Declaration

    Objective-C

    @interface AWSLogsDescribeQueriesResponse

    Swift

    class AWSLogsDescribeQueriesResponse
  • Declaration

    Objective-C

    @interface AWSLogsDescribeQueryDefinitionsRequest

    Swift

    class AWSLogsDescribeQueryDefinitionsRequest
  • Declaration

    Objective-C

    @interface AWSLogsDescribeQueryDefinitionsResponse

    Swift

    class AWSLogsDescribeQueryDefinitionsResponse
  • Declaration

    Objective-C

    @interface AWSLogsDescribeResourcePoliciesRequest

    Swift

    class AWSLogsDescribeResourcePoliciesRequest
  • Declaration

    Objective-C

    @interface AWSLogsDescribeResourcePoliciesResponse

    Swift

    class AWSLogsDescribeResourcePoliciesResponse
  • Declaration

    Objective-C

    @interface AWSLogsDescribeSubscriptionFiltersRequest

    Swift

    class AWSLogsDescribeSubscriptionFiltersRequest
  • Declaration

    Objective-C

    @interface AWSLogsDescribeSubscriptionFiltersResponse

    Swift

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

    See more

    Declaration

    Objective-C

    @interface AWSLogsDestination

    Swift

    class AWSLogsDestination
  • Declaration

    Objective-C

    @interface AWSLogsDisassociateKmsKeyRequest

    Swift

    class AWSLogsDisassociateKmsKeyRequest
  • Represents an export task.

    See more

    Declaration

    Objective-C

    @interface AWSLogsExportTask

    Swift

    class AWSLogsExportTask
  • Represents the status of an export task.

    See more

    Declaration

    Objective-C

    @interface AWSLogsExportTaskExecutionInfo

    Swift

    class AWSLogsExportTaskExecutionInfo
  • Represents the status of an export task.

    See more

    Declaration

    Objective-C

    @interface AWSLogsExportTaskStatus

    Swift

    class AWSLogsExportTaskStatus
  • Declaration

    Objective-C

    @interface AWSLogsFilterLogEventsRequest

    Swift

    class AWSLogsFilterLogEventsRequest
  • Declaration

    Objective-C

    @interface AWSLogsFilterLogEventsResponse

    Swift

    class AWSLogsFilterLogEventsResponse
  • Represents a matched event.

    See more

    Declaration

    Objective-C

    @interface AWSLogsFilteredLogEvent

    Swift

    class AWSLogsFilteredLogEvent
  • Declaration

    Objective-C

    @interface AWSLogsGetLogEventsRequest

    Swift

    class AWSLogsGetLogEventsRequest
  • Declaration

    Objective-C

    @interface AWSLogsGetLogEventsResponse

    Swift

    class AWSLogsGetLogEventsResponse
  • Declaration

    Objective-C

    @interface AWSLogsGetLogGroupFieldsRequest

    Swift

    class AWSLogsGetLogGroupFieldsRequest
  • Declaration

    Objective-C

    @interface AWSLogsGetLogGroupFieldsResponse

    Swift

    class AWSLogsGetLogGroupFieldsResponse
  • Declaration

    Objective-C

    @interface AWSLogsGetLogRecordRequest

    Swift

    class AWSLogsGetLogRecordRequest
  • Declaration

    Objective-C

    @interface AWSLogsGetLogRecordResponse

    Swift

    class AWSLogsGetLogRecordResponse
  • Declaration

    Objective-C

    @interface AWSLogsGetQueryResultsRequest

    Swift

    class AWSLogsGetQueryResultsRequest
  • Declaration

    Objective-C

    @interface AWSLogsGetQueryResultsResponse

    Swift

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

    Required parameters: [timestamp, message]

    See more

    Declaration

    Objective-C

    @interface AWSLogsInputLogEvent

    Swift

    class AWSLogsInputLogEvent
  • Declaration

    Objective-C

    @interface AWSLogsListTagsLogGroupRequest

    Swift

    class AWSLogsListTagsLogGroupRequest
  • Declaration

    Objective-C

    @interface AWSLogsListTagsLogGroupResponse

    Swift

    class AWSLogsListTagsLogGroupResponse
  • Represents a log group.

    See more

    Declaration

    Objective-C

    @interface AWSLogsLogGroup

    Swift

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

    See more

    Declaration

    Objective-C

    @interface AWSLogsLogGroupField

    Swift

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

    See more

    Declaration

    Objective-C

    @interface AWSLogsLogStream

    Swift

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

    See more

    Declaration

    Objective-C

    @interface AWSLogsMetricFilter

    Swift

    class AWSLogsMetricFilter
  • Represents a matched event.

    See more

    Declaration

    Objective-C

    @interface AWSLogsMetricFilterMatchRecord

    Swift

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

    Required parameters: [metricName, metricNamespace, metricValue]

    See more

    Declaration

    Objective-C

    @interface AWSLogsMetricTransformation

    Swift

    class AWSLogsMetricTransformation
  • Represents a log event.

    See more

    Declaration

    Objective-C

    @interface AWSLogsOutputLogEvent

    Swift

    class AWSLogsOutputLogEvent
  • Declaration

    Objective-C

    @interface AWSLogsPutDestinationPolicyRequest

    Swift

    class AWSLogsPutDestinationPolicyRequest
  • Declaration

    Objective-C

    @interface AWSLogsPutDestinationRequest

    Swift

    class AWSLogsPutDestinationRequest
  • Declaration

    Objective-C

    @interface AWSLogsPutDestinationResponse

    Swift

    class AWSLogsPutDestinationResponse
  • Declaration

    Objective-C

    @interface AWSLogsPutLogEventsRequest

    Swift

    class AWSLogsPutLogEventsRequest
  • Declaration

    Objective-C

    @interface AWSLogsPutLogEventsResponse

    Swift

    class AWSLogsPutLogEventsResponse
  • Declaration

    Objective-C

    @interface AWSLogsPutMetricFilterRequest

    Swift

    class AWSLogsPutMetricFilterRequest
  • Declaration

    Objective-C

    @interface AWSLogsPutQueryDefinitionRequest

    Swift

    class AWSLogsPutQueryDefinitionRequest
  • Declaration

    Objective-C

    @interface AWSLogsPutQueryDefinitionResponse

    Swift

    class AWSLogsPutQueryDefinitionResponse
  • Declaration

    Objective-C

    @interface AWSLogsPutResourcePolicyRequest

    Swift

    class AWSLogsPutResourcePolicyRequest
  • Declaration

    Objective-C

    @interface AWSLogsPutResourcePolicyResponse

    Swift

    class AWSLogsPutResourcePolicyResponse
  • Declaration

    Objective-C

    @interface AWSLogsPutRetentionPolicyRequest

    Swift

    class AWSLogsPutRetentionPolicyRequest
  • Declaration

    Objective-C

    @interface AWSLogsPutSubscriptionFilterRequest

    Swift

    class AWSLogsPutSubscriptionFilterRequest
  • Reserved.

    See more

    Declaration

    Objective-C

    @interface AWSLogsQueryCompileError

    Swift

    class AWSLogsQueryCompileError
  • Reserved.

    See more

    Declaration

    Objective-C

    @interface AWSLogsQueryCompileErrorLocation

    Swift

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

    See more

    Declaration

    Objective-C

    @interface AWSLogsQueryDefinition

    Swift

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

    See more

    Declaration

    Objective-C

    @interface AWSLogsQueryInfo

    Swift

    class AWSLogsQueryInfo
  • 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.

    See more

    Declaration

    Objective-C

    @interface AWSLogsQueryStatistics

    Swift

    class AWSLogsQueryStatistics
  • Represents the rejected events.

    See more

    Declaration

    Objective-C

    @interface AWSLogsRejectedLogEventsInfo

    Swift

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

    See more

    Declaration

    Objective-C

    @interface AWSLogsResourcePolicy

    Swift

    class AWSLogsResourcePolicy
  • 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.

    See more

    Declaration

    Objective-C

    @interface AWSLogsResultField

    Swift

    class AWSLogsResultField
  • Represents the search status of a log stream.

    See more

    Declaration

    Objective-C

    @interface AWSLogsSearchedLogStream

    Swift

    class AWSLogsSearchedLogStream
  • Declaration

    Objective-C

    @interface AWSLogsStartQueryRequest

    Swift

    class AWSLogsStartQueryRequest
  • Declaration

    Objective-C

    @interface AWSLogsStartQueryResponse

    Swift

    class AWSLogsStartQueryResponse
  • Declaration

    Objective-C

    @interface AWSLogsStopQueryRequest

    Swift

    class AWSLogsStopQueryRequest
  • Declaration

    Objective-C

    @interface AWSLogsStopQueryResponse

    Swift

    class AWSLogsStopQueryResponse
  • Represents a subscription filter.

    See more

    Declaration

    Objective-C

    @interface AWSLogsSubscriptionFilter

    Swift

    class AWSLogsSubscriptionFilter
  • Declaration

    Objective-C

    @interface AWSLogsTagLogGroupRequest

    Swift

    class AWSLogsTagLogGroupRequest
  • Declaration

    Objective-C

    @interface AWSLogsTestMetricFilterRequest

    Swift

    class AWSLogsTestMetricFilterRequest
  • Declaration

    Objective-C

    @interface AWSLogsTestMetricFilterResponse

    Swift

    class AWSLogsTestMetricFilterResponse
  • Declaration

    Objective-C

    @interface AWSLogsUntagLogGroupRequest

    Swift

    class AWSLogsUntagLogGroupRequest
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface AWSLogsResources : NSObject
    
    + (instancetype)sharedInstance;
    
    - (NSDictionary *)JSONObject;
    
    @end

    Swift

    class AWSLogsResources : NSObject
  • 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, 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 and 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”) or 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 older than this setting are automatically deleted. The CloudWatch Logs agent makes it easy 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 more

    Declaration

    Objective-C

    @interface AWSLogs

    Swift

    class AWSLogs