2017-10-06 00:08:03 +03:00
|
|
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
|
|
|
|
|
|
|
// Package cloudwatchevents provides the client and types for making API
|
|
|
|
// requests to Amazon CloudWatch Events.
|
|
|
|
//
|
|
|
|
// Amazon CloudWatch Events helps you to respond to state changes in your AWS
|
|
|
|
// resources. When your resources change state, they automatically send events
|
|
|
|
// into an event stream. You can create rules that match selected events in
|
|
|
|
// the stream and route them to targets to take action. You can also use rules
|
2019-03-11 19:18:55 +03:00
|
|
|
// to take action on a predetermined schedule. For example, you can configure
|
2017-10-06 00:08:03 +03:00
|
|
|
// rules to:
|
|
|
|
//
|
|
|
|
// * Automatically invoke an AWS Lambda function to update DNS entries when
|
|
|
|
// an event notifies you that Amazon EC2 instance enters the running state.
|
|
|
|
//
|
2019-03-11 19:18:55 +03:00
|
|
|
// * Direct specific API records from AWS CloudTrail to an Amazon Kinesis
|
|
|
|
// data stream for detailed analysis of potential security or availability
|
|
|
|
// risks.
|
2017-10-06 00:08:03 +03:00
|
|
|
//
|
|
|
|
// * Periodically invoke a built-in target to create a snapshot of an Amazon
|
|
|
|
// EBS volume.
|
|
|
|
//
|
|
|
|
// For more information about the features of Amazon CloudWatch Events, see
|
|
|
|
// the Amazon CloudWatch Events User Guide (http://docs.aws.amazon.com/AmazonCloudWatch/latest/events).
|
|
|
|
//
|
|
|
|
// See https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07 for more information on this service.
|
|
|
|
//
|
|
|
|
// See cloudwatchevents package documentation for more information.
|
|
|
|
// https://docs.aws.amazon.com/sdk-for-go/api/service/cloudwatchevents/
|
|
|
|
//
|
|
|
|
// Using the Client
|
|
|
|
//
|
2019-03-11 19:18:55 +03:00
|
|
|
// To contact Amazon CloudWatch Events with the SDK use the New function to create
|
2017-10-06 00:08:03 +03:00
|
|
|
// a new service client. With that client you can make API requests to the service.
|
|
|
|
// These clients are safe to use concurrently.
|
|
|
|
//
|
|
|
|
// See the SDK's documentation for more information on how to use the SDK.
|
|
|
|
// https://docs.aws.amazon.com/sdk-for-go/api/
|
|
|
|
//
|
|
|
|
// See aws.Config documentation for more information on configuring SDK clients.
|
|
|
|
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
|
|
|
//
|
|
|
|
// See the Amazon CloudWatch Events client CloudWatchEvents for more
|
|
|
|
// information on creating client for this service.
|
|
|
|
// https://docs.aws.amazon.com/sdk-for-go/api/service/cloudwatchevents/#New
|
|
|
|
package cloudwatchevents
|