update aws sdk to 1.4.18

This commit is contained in:
clint shryock 2016-10-17 16:21:08 -05:00
parent 94cbc37312
commit 3faaccd2a5
84 changed files with 46339 additions and 2719 deletions

View File

@ -1,22 +1,60 @@
Release v1.4.17
===
Service Model Updates
---
* `service/acm`: Update service API, and documentation.
* This change allows users to import third-party SSL/TLS certificates into ACM.
* `service/elasticbeanstalk`: Update service API, documentation, and pagination.
* Elastic Beanstalk DescribeApplicationVersions API is being updated to support pagination.
* `service/gamelift`: Update service API, and documentation.
* New APIs to protect game developer resource (builds, alias, fleets, instances, game sessions and player sessions) against abuse.
SDK Features
---
* `service/s3`: Add support for accelerate with dualstack [#887](https://github.com/aws/aws-sdk-go/issues/887)
Release v1.4.16
===
Service Model Updates
---
* `service/ecr`: Update Amazon EC2 Container Registry service model
* DescribeImages is a new api used to expose image metadata which today includes image size and image creation timestamp.
* `service/elasticache`: Update Amazon ElastiCache service model
* Elasticache is launching a new major engine release of Redis, 3.2 (providing stability updates and new command sets over 2.8), as well as ElasticSupport for enabling Redis Cluster in 3.2, which provides support for multiple node groups to horizontally scale data, as well as superior engine failover capabilities
SDK Bug Fixes
---
* `aws/session`: Skip shared config on read errors [#883](https://github.com/aws/aws-sdk-go/issues/883)
* `aws/signer/v4`: Add support for URL.EscapedPath to signer [#885](https://github.com/aws/aws-sdk-go/issues/885)
SDK Features
---
* `private/model/api`: Add docs for errors to API operations [#881](https://github.com/aws/aws-sdk-go/issues/881)
* `private/model/api`: Improve field and waiter doc strings [#879](https://github.com/aws/aws-sdk-go/issues/879)
* `service/dynamodb/dynamodbattribute`: Allow multiple struct tag elements [#886](https://github.com/aws/aws-sdk-go/issues/886)
* Add build tags to internal SDK tools [#880](https://github.com/aws/aws-sdk-go/issues/880)
Release v1.4.15
===
Service Model Updates
---
`service/cognitoidentityprovider`: Update Amazon Cognito Identity Provider service model
`service/devicefarm`: Update AWS Device Farm documentation
`service/opsworks`: Update AWS OpsWorks service model
`service/s3`: Update Amazon Simple Storage Service model
`service/waf`: Update AWS WAF service model
* `service/cognitoidentityprovider`: Update Amazon Cognito Identity Provider service model
* `service/devicefarm`: Update AWS Device Farm documentation
* `service/opsworks`: Update AWS OpsWorks service model
* `service/s3`: Update Amazon Simple Storage Service model
* `service/waf`: Update AWS WAF service model
SDK Bug Fixes
---
`aws/request`: Fix HTTP Request Body race condition #874
* `aws/request`: Fix HTTP Request Body race condition [#874](https://github.com/aws/aws-sdk-go/issues/874)
SDK Feature Updates
---
`aws/ec2metadata`: Add support for EC2 User Data #872
`aws/signer/v4`: Remove logic determining if request needs to be resigned #876
* `aws/ec2metadata`: Add support for EC2 User Data [#872](https://github.com/aws/aws-sdk-go/issues/872)
* `aws/signer/v4`: Remove logic determining if request needs to be resigned [#876](https://github.com/aws/aws-sdk-go/issues/876)
Release v1.4.14 (2016-09-29)
===

View File

@ -47,15 +47,15 @@ gen-endpoints:
build:
@echo "go build SDK and vendor packages"
@go build ${SDK_ONLY_PKGS}
@go build -tags example,codegen ${SDK_ONLY_PKGS}
unit: get-deps-tests build verify
@echo "go test SDK and vendor packages"
@go test -tags $(SDK_ONLY_PKGS)
@go test -tags example,codegen $(SDK_ONLY_PKGS)
unit-with-race-cover: get-deps-tests build verify
@echo "go test SDK and vendor packages"
@go test -tags -race -cpu=1,2,4 $(SDK_ONLY_PKGS)
@go test -tags example,codegen -race -cpu=1,2,4 $(SDK_ONLY_PKGS)
integration: get-deps-tests integ-custom smoke-tests performance

View File

@ -137,9 +137,6 @@ type Config struct {
// accelerate enabled. If the bucket is not enabled for accelerate an error
// will be returned. The bucket name must be DNS compatible to also work
// with accelerate.
//
// Not compatible with UseDualStack requests will fail if both flags are
// specified.
S3UseAccelerate *bool
// Set this to `true` to disable the EC2Metadata client from overriding the

View File

@ -34,7 +34,7 @@ var (
//
// Example of ChainProvider to be used with an EnvProvider and EC2RoleProvider.
// In this example EnvProvider will first check if any credentials are available
// vai the environment variables. If there are none ChainProvider will check
// via the environment variables. If there are none ChainProvider will check
// the next Provider in the list, EC2RoleProvider in this case. If EC2RoleProvider
// does not return any credentials ChainProvider will return the error
// ErrNoValidProvidersFoundInChain

View File

@ -2,7 +2,7 @@ package session
import (
"fmt"
"os"
"io/ioutil"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/credentials"
@ -105,12 +105,13 @@ func loadSharedConfigIniFiles(filenames []string) ([]sharedConfigFile, error) {
files := make([]sharedConfigFile, 0, len(filenames))
for _, filename := range filenames {
if _, err := os.Stat(filename); os.IsNotExist(err) {
// Trim files from the list that don't exist.
b, err := ioutil.ReadFile(filename)
if err != nil {
// Skip files which can't be opened and read for whatever reason
continue
}
f, err := ini.Load(filename)
f, err := ini.Load(b)
if err != nil {
return nil, SharedConfigLoadError{Filename: filename}
}

View File

@ -0,0 +1,24 @@
// +build go1.5
package v4
import (
"net/url"
"strings"
)
func getURIPath(u *url.URL) string {
var uri string
if len(u.Opaque) > 0 {
uri = "/" + strings.Join(strings.Split(u.Opaque, "/")[3:], "/")
} else {
uri = u.EscapedPath()
}
if len(uri) == 0 {
uri = "/"
}
return uri
}

View File

@ -0,0 +1,24 @@
// +build !go1.5
package v4
import (
"net/url"
"strings"
)
func getURIPath(u *url.URL) string {
var uri string
if len(u.Opaque) > 0 {
uri = "/" + strings.Join(strings.Split(u.Opaque, "/")[3:], "/")
} else {
uri = u.Path
}
if len(uri) == 0 {
uri = "/"
}
return uri
}

View File

@ -2,6 +2,48 @@
//
// Provides request signing for request that need to be signed with
// AWS V4 Signatures.
//
// Standalone Signer
//
// Generally using the signer outside of the SDK should not require any additional
// logic when using Go v1.5 or higher. The signer does this by taking advantage
// of the URL.EscapedPath method. If your request URI requires additional escaping
// you many need to use the URL.Opaque to define what the raw URI should be sent
// to the service as.
//
// The signer will first check the URL.Opaque field, and use its value if set.
// The signer does require the URL.Opaque field to be set in the form of:
//
// "//<hostname>/<path>"
//
// // e.g.
// "//example.com/some/path"
//
// The leading "//" and hostname are required or the URL.Opaque escaping will
// not work correctly.
//
// If URL.Opaque is not set the signer will fallback to the URL.EscapedPath()
// method and using the returned value. If you're using Go v1.4 you must set
// URL.Opaque if the URI path needs escaping. If URL.Opaque is not set with
// Go v1.5 the signer will fallback to URL.Path.
//
// AWS v4 signature validation requires that the canonical string's URI path
// element must be the URI escaped form of the HTTP request's path.
// http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
//
// The Go HTTP client will perform escaping automatically on the request. Some
// of these escaping may cause signature validation errors because the HTTP
// request differs from the URI path or query that the signature was generated.
// https://golang.org/pkg/net/url/#URL.EscapedPath
//
// Because of this, it is recommended that when using the signer outside of the
// SDK that explicitly escaping the request prior to being signed is preferable,
// and will help prevent signature validation errors. This can be done by setting
// the URL.Opaque or URL.RawPath. The SDK will use URL.Opaque first and then
// call URL.EscapedPath() if Opaque is not set.
//
// Test `TestStandaloneSign` provides a complete example of using the signer
// outside of the SDK and pre-escaping the URI path.
package v4
import (
@ -120,6 +162,15 @@ type Signer struct {
// request's query string.
DisableHeaderHoisting bool
// Disables the automatic escaping of the URI path of the request for the
// siganture's canonical string's path. For services that do not need additional
// escaping then use this to disable the signer escaping the path.
//
// S3 is an example of a service that does not need additional escaping.
//
// http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
DisableURIPathEscaping bool
// currentTimeFn returns the time value which represents the current time.
// This value should only be used for testing. If it is nil the default
// time.Now will be used.
@ -151,6 +202,8 @@ type signingCtx struct {
ExpireTime time.Duration
SignedHeaderVals http.Header
DisableURIPathEscaping bool
credValues credentials.Value
isPresign bool
formattedTime string
@ -244,6 +297,7 @@ func (v4 Signer) signWithBody(r *http.Request, body io.ReadSeeker, service, regi
isPresign: exp != 0,
ServiceName: service,
Region: region,
DisableURIPathEscaping: v4.DisableURIPathEscaping,
}
if ctx.isRequestSigned() {
@ -354,6 +408,10 @@ func signSDKRequestWithCurrTime(req *request.Request, curTimeFn func() time.Time
v4.Logger = req.Config.Logger
v4.DisableHeaderHoisting = req.NotHoist
v4.currentTimeFn = curTimeFn
if name == "s3" {
// S3 service should not have any escaping applied
v4.DisableURIPathEscaping = true
}
})
signingTime := req.Time
@ -510,17 +568,10 @@ func (ctx *signingCtx) buildCanonicalHeaders(r rule, header http.Header) {
func (ctx *signingCtx) buildCanonicalString() {
ctx.Request.URL.RawQuery = strings.Replace(ctx.Query.Encode(), "+", "%20", -1)
uri := ctx.Request.URL.Opaque
if uri != "" {
uri = "/" + strings.Join(strings.Split(uri, "/")[3:], "/")
} else {
uri = ctx.Request.URL.Path
}
if uri == "" {
uri = "/"
}
if ctx.ServiceName != "s3" {
uri := getURIPath(ctx.Request.URL)
if !ctx.DisableURIPathEscaping {
uri = rest.EscapePath(uri, false)
}

View File

@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"
// SDKVersion is the version of this SDK
const SDKVersion = "1.4.14"
const SDKVersion = "1.4.17"

View File

@ -1,7 +1,7 @@
// Package endpoints validates regional endpoints for services.
package endpoints
//go:generate go run ../model/cli/gen-endpoints/main.go endpoints.json endpoints_map.go
//go:generate go run -tags codegen ../model/cli/gen-endpoints/main.go endpoints.json endpoints_map.go
//go:generate gofmt -s -w endpoints_map.go
import (

View File

@ -1,7 +1,7 @@
// Package ec2query provides serialization of AWS EC2 requests and responses.
package ec2query
//go:generate go run ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/input/ec2.json build_test.go
//go:generate go run -tags codegen ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/input/ec2.json build_test.go
import (
"net/url"

View File

@ -1,6 +1,6 @@
package ec2query
//go:generate go run ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/output/ec2.json unmarshal_test.go
//go:generate go run -tags codegen ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/output/ec2.json unmarshal_test.go
import (
"encoding/xml"

View File

@ -2,8 +2,8 @@
// requests and responses.
package jsonrpc
//go:generate go run ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/input/json.json build_test.go
//go:generate go run ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/output/json.json unmarshal_test.go
//go:generate go run -tags codegen ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/input/json.json build_test.go
//go:generate go run -tags codegen ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/output/json.json unmarshal_test.go
import (
"encoding/json"

View File

@ -1,7 +1,7 @@
// Package query provides serialization of AWS query requests, and responses.
package query
//go:generate go run ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/input/query.json build_test.go
//go:generate go run -tags codegen ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/input/query.json build_test.go
import (
"net/url"

View File

@ -1,6 +1,6 @@
package query
//go:generate go run ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/output/query.json unmarshal_test.go
//go:generate go run -tags codegen ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/output/query.json unmarshal_test.go
import (
"encoding/xml"

View File

@ -2,8 +2,8 @@
// requests and responses.
package restjson
//go:generate go run ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/input/rest-json.json build_test.go
//go:generate go run ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/output/rest-json.json unmarshal_test.go
//go:generate go run -tags codegen ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/input/rest-json.json build_test.go
//go:generate go run -tags codegen ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/output/rest-json.json unmarshal_test.go
import (
"encoding/json"

View File

@ -2,8 +2,8 @@
// requests and responses.
package restxml
//go:generate go run ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/input/rest-xml.json build_test.go
//go:generate go run ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/output/rest-xml.json unmarshal_test.go
//go:generate go run -tags codegen ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/input/rest-xml.json build_test.go
//go:generate go run -tags codegen ../../../models/protocol_tests/generate.go ../../../models/protocol_tests/output/rest-xml.json unmarshal_test.go
import (
"bytes"

File diff suppressed because it is too large Load Diff

View File

@ -18,6 +18,8 @@ const opDeleteScalingPolicy = "DeleteScalingPolicy"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DeleteScalingPolicy for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -52,6 +54,8 @@ func (c *ApplicationAutoScaling) DeleteScalingPolicyRequest(input *DeleteScaling
return
}
// DeleteScalingPolicy API operation for Application Auto Scaling.
//
// Deletes an Application Auto Scaling scaling policy that was previously created.
// If you are no longer using a scaling policy, you can delete it with this
// operation.
@ -61,6 +65,34 @@ func (c *ApplicationAutoScaling) DeleteScalingPolicyRequest(input *DeleteScaling
// has an associated action.
//
// To create a new scaling policy or update an existing one, see PutScalingPolicy.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Application Auto Scaling's
// API operation DeleteScalingPolicy for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// An exception was thrown for a validation issue. Review the available parameters
// for the API request.
//
// * ObjectNotFoundException
// The specified object could not be found. For any Put or Register API operation,
// which depends on the existence of a scalable target, this exception is thrown
// if the scalable target with the specified service namespace, resource ID,
// and scalable dimension does not exist. For any Delete or Deregister API operation,
// this exception is thrown if the resource that is to be deleted or deregistered
// cannot be found.
//
// * ConcurrentUpdateException
// Concurrent updates caused an exception, for example, if you request an update
// to an Application Auto Scaling resource that already has a pending update.
//
// * InternalServiceException
// The service encountered an internal error.
//
func (c *ApplicationAutoScaling) DeleteScalingPolicy(input *DeleteScalingPolicyInput) (*DeleteScalingPolicyOutput, error) {
req, out := c.DeleteScalingPolicyRequest(input)
err := req.Send()
@ -74,6 +106,8 @@ const opDeregisterScalableTarget = "DeregisterScalableTarget"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DeregisterScalableTarget for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -108,12 +142,42 @@ func (c *ApplicationAutoScaling) DeregisterScalableTargetRequest(input *Deregist
return
}
// DeregisterScalableTarget API operation for Application Auto Scaling.
//
// Deregisters a scalable target that was previously registered. If you are
// no longer using a scalable target, you can delete it with this operation.
// When you deregister a scalable target, all of the scaling policies that are
// associated with that scalable target are deleted.
//
// To create a new scalable target or update an existing one, see RegisterScalableTarget.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Application Auto Scaling's
// API operation DeregisterScalableTarget for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// An exception was thrown for a validation issue. Review the available parameters
// for the API request.
//
// * ObjectNotFoundException
// The specified object could not be found. For any Put or Register API operation,
// which depends on the existence of a scalable target, this exception is thrown
// if the scalable target with the specified service namespace, resource ID,
// and scalable dimension does not exist. For any Delete or Deregister API operation,
// this exception is thrown if the resource that is to be deleted or deregistered
// cannot be found.
//
// * ConcurrentUpdateException
// Concurrent updates caused an exception, for example, if you request an update
// to an Application Auto Scaling resource that already has a pending update.
//
// * InternalServiceException
// The service encountered an internal error.
//
func (c *ApplicationAutoScaling) DeregisterScalableTarget(input *DeregisterScalableTargetInput) (*DeregisterScalableTargetOutput, error) {
req, out := c.DeregisterScalableTargetRequest(input)
err := req.Send()
@ -127,6 +191,8 @@ const opDescribeScalableTargets = "DescribeScalableTargets"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DescribeScalableTargets for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -167,6 +233,8 @@ func (c *ApplicationAutoScaling) DescribeScalableTargetsRequest(input *DescribeS
return
}
// DescribeScalableTargets API operation for Application Auto Scaling.
//
// Provides descriptive information for scalable targets with a specified service
// namespace.
//
@ -176,6 +244,29 @@ func (c *ApplicationAutoScaling) DescribeScalableTargetsRequest(input *DescribeS
// To create a new scalable target or update an existing one, see RegisterScalableTarget.
// If you are no longer using a scalable target, you can deregister it with
// DeregisterScalableTarget.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Application Auto Scaling's
// API operation DescribeScalableTargets for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// An exception was thrown for a validation issue. Review the available parameters
// for the API request.
//
// * InvalidNextTokenException
// The next token supplied was invalid.
//
// * ConcurrentUpdateException
// Concurrent updates caused an exception, for example, if you request an update
// to an Application Auto Scaling resource that already has a pending update.
//
// * InternalServiceException
// The service encountered an internal error.
//
func (c *ApplicationAutoScaling) DescribeScalableTargets(input *DescribeScalableTargetsInput) (*DescribeScalableTargetsOutput, error) {
req, out := c.DescribeScalableTargetsRequest(input)
err := req.Send()
@ -214,6 +305,8 @@ const opDescribeScalingActivities = "DescribeScalingActivities"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DescribeScalingActivities for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -254,6 +347,8 @@ func (c *ApplicationAutoScaling) DescribeScalingActivitiesRequest(input *Describ
return
}
// DescribeScalingActivities API operation for Application Auto Scaling.
//
// Provides descriptive information for scaling activities with a specified
// service namespace for the previous six weeks.
//
@ -264,6 +359,29 @@ func (c *ApplicationAutoScaling) DescribeScalingActivitiesRequest(input *Describ
// with scaling policies. To view the existing scaling policies for a service
// namespace, see DescribeScalingPolicies. To create a new scaling policy or
// update an existing one, see PutScalingPolicy.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Application Auto Scaling's
// API operation DescribeScalingActivities for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// An exception was thrown for a validation issue. Review the available parameters
// for the API request.
//
// * InvalidNextTokenException
// The next token supplied was invalid.
//
// * ConcurrentUpdateException
// Concurrent updates caused an exception, for example, if you request an update
// to an Application Auto Scaling resource that already has a pending update.
//
// * InternalServiceException
// The service encountered an internal error.
//
func (c *ApplicationAutoScaling) DescribeScalingActivities(input *DescribeScalingActivitiesInput) (*DescribeScalingActivitiesOutput, error) {
req, out := c.DescribeScalingActivitiesRequest(input)
err := req.Send()
@ -302,6 +420,8 @@ const opDescribeScalingPolicies = "DescribeScalingPolicies"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DescribeScalingPolicies for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -342,6 +462,8 @@ func (c *ApplicationAutoScaling) DescribeScalingPoliciesRequest(input *DescribeS
return
}
// DescribeScalingPolicies API operation for Application Auto Scaling.
//
// Provides descriptive information for scaling policies with a specified service
// namespace.
//
@ -350,6 +472,38 @@ func (c *ApplicationAutoScaling) DescribeScalingPoliciesRequest(input *DescribeS
//
// To create a new scaling policy or update an existing one, see PutScalingPolicy.
// If you are no longer using a scaling policy, you can delete it with DeleteScalingPolicy.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Application Auto Scaling's
// API operation DescribeScalingPolicies for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// An exception was thrown for a validation issue. Review the available parameters
// for the API request.
//
// * FailedResourceAccessException
// Failed access to resources caused an exception. This exception currently
// only applies to DescribeScalingPolicies. It is thrown when Application Auto
// Scaling is unable to retrieve the alarms associated with a scaling policy
// due to a client error, for example, if the role ARN specified for a scalable
// target does not have the proper permissions to call the CloudWatch DescribeAlarms
// (http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html)
// API operation on behalf of your account.
//
// * InvalidNextTokenException
// The next token supplied was invalid.
//
// * ConcurrentUpdateException
// Concurrent updates caused an exception, for example, if you request an update
// to an Application Auto Scaling resource that already has a pending update.
//
// * InternalServiceException
// The service encountered an internal error.
//
func (c *ApplicationAutoScaling) DescribeScalingPolicies(input *DescribeScalingPoliciesInput) (*DescribeScalingPoliciesOutput, error) {
req, out := c.DescribeScalingPoliciesRequest(input)
err := req.Send()
@ -388,6 +542,8 @@ const opPutScalingPolicy = "PutScalingPolicy"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See PutScalingPolicy for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -422,6 +578,8 @@ func (c *ApplicationAutoScaling) PutScalingPolicyRequest(input *PutScalingPolicy
return
}
// PutScalingPolicy API operation for Application Auto Scaling.
//
// Creates or updates a policy for an existing Application Auto Scaling scalable
// target. Each scalable target is identified by service namespace, a resource
// ID, and a scalable dimension, and a scaling policy applies to a scalable
@ -435,6 +593,39 @@ func (c *ApplicationAutoScaling) PutScalingPolicyRequest(input *PutScalingPolicy
// You can view the existing scaling policies for a service namespace with
// DescribeScalingPolicies. If you are no longer using a scaling policy, you
// can delete it with DeleteScalingPolicy.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Application Auto Scaling's
// API operation PutScalingPolicy for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// An exception was thrown for a validation issue. Review the available parameters
// for the API request.
//
// * LimitExceededException
// Your account exceeded a limit. This exception is thrown when a per-account
// resource limit is exceeded. For more information, see Application Auto Scaling
// Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_as-app).
//
// * ObjectNotFoundException
// The specified object could not be found. For any Put or Register API operation,
// which depends on the existence of a scalable target, this exception is thrown
// if the scalable target with the specified service namespace, resource ID,
// and scalable dimension does not exist. For any Delete or Deregister API operation,
// this exception is thrown if the resource that is to be deleted or deregistered
// cannot be found.
//
// * ConcurrentUpdateException
// Concurrent updates caused an exception, for example, if you request an update
// to an Application Auto Scaling resource that already has a pending update.
//
// * InternalServiceException
// The service encountered an internal error.
//
func (c *ApplicationAutoScaling) PutScalingPolicy(input *PutScalingPolicyInput) (*PutScalingPolicyOutput, error) {
req, out := c.PutScalingPolicyRequest(input)
err := req.Send()
@ -448,6 +639,8 @@ const opRegisterScalableTarget = "RegisterScalableTarget"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See RegisterScalableTarget for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -482,6 +675,8 @@ func (c *ApplicationAutoScaling) RegisterScalableTargetRequest(input *RegisterSc
return
}
// RegisterScalableTarget API operation for Application Auto Scaling.
//
// Registers or updates a scalable target. A scalable target is a resource that
// can be scaled out or in with Application Auto Scaling. After you have registered
// a scalable target, you can use this operation to update the minimum and maximum
@ -492,6 +687,31 @@ func (c *ApplicationAutoScaling) RegisterScalableTargetRequest(input *RegisterSc
// view the existing scaling policies for a service namespace with DescribeScalableTargets.
// If you are no longer using a scalable target, you can deregister it with
// DeregisterScalableTarget.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Application Auto Scaling's
// API operation RegisterScalableTarget for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// An exception was thrown for a validation issue. Review the available parameters
// for the API request.
//
// * LimitExceededException
// Your account exceeded a limit. This exception is thrown when a per-account
// resource limit is exceeded. For more information, see Application Auto Scaling
// Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_as-app).
//
// * ConcurrentUpdateException
// Concurrent updates caused an exception, for example, if you request an update
// to an Application Auto Scaling resource that already has a pending update.
//
// * InternalServiceException
// The service encountered an internal error.
//
func (c *ApplicationAutoScaling) RegisterScalableTarget(input *RegisterScalableTargetInput) (*RegisterScalableTargetOutput, error) {
req, out := c.RegisterScalableTargetRequest(input)
err := req.Send()
@ -503,9 +723,13 @@ type Alarm struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the alarm.
//
// AlarmARN is a required field
AlarmARN *string `type:"string" required:"true"`
// The name of the alarm.
//
// AlarmName is a required field
AlarmName *string `type:"string" required:"true"`
}
@ -523,6 +747,8 @@ type DeleteScalingPolicyInput struct {
_ struct{} `type:"structure"`
// The name of the scaling policy to delete.
//
// PolicyName is a required field
PolicyName *string `min:"1" type:"string" required:"true"`
// The resource type and unique identifier string for the resource associated
@ -530,6 +756,8 @@ type DeleteScalingPolicyInput struct {
// and the identifier is the cluster name and service name; for example, service/default/sample-webapp.
// For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request,
// and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
//
// ResourceId is a required field
ResourceId *string `min:"1" type:"string" required:"true"`
// The scalable dimension associated with the scaling policy. The scalable dimension
@ -537,11 +765,15 @@ type DeleteScalingPolicyInput struct {
// as ecs:service:DesiredCount for the desired task count of an Amazon ECS service,
// or ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon
// EC2 Spot fleet request.
//
// ScalableDimension is a required field
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
// The namespace for the AWS service that the scaling policy is associated with.
// For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
}
@ -605,6 +837,8 @@ type DeregisterScalableTargetInput struct {
// and the identifier is the cluster name and service name; for example, service/default/sample-webapp.
// For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request,
// and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
//
// ResourceId is a required field
ResourceId *string `min:"1" type:"string" required:"true"`
// The scalable dimension associated with the scalable target. The scalable
@ -612,11 +846,15 @@ type DeregisterScalableTargetInput struct {
// such as ecs:service:DesiredCount for the desired task count of an Amazon
// ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity
// of an Amazon EC2 Spot fleet request.
//
// ScalableDimension is a required field
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
// The namespace for the AWS service that the scalable target is associated
// with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
}
@ -704,6 +942,8 @@ type DescribeScalableTargetsInput struct {
// The namespace for the AWS service that the scalable target is associated
// with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
}
@ -792,6 +1032,8 @@ type DescribeScalingActivitiesInput struct {
// The namespace for the AWS service that the scaling activity is associated
// with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
}
@ -886,6 +1128,8 @@ type DescribeScalingPoliciesInput struct {
// The AWS service namespace of the scalable target that the scaling policy
// is associated with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
}
@ -942,6 +1186,8 @@ type PutScalingPolicyInput struct {
_ struct{} `type:"structure"`
// The name of the scaling policy.
//
// PolicyName is a required field
PolicyName *string `min:"1" type:"string" required:"true"`
// The policy type. If you are creating a new policy, this parameter is required.
@ -953,6 +1199,8 @@ type PutScalingPolicyInput struct {
// and the identifier is the cluster name and service name; for example, service/default/sample-webapp.
// For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request,
// and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
//
// ResourceId is a required field
ResourceId *string `min:"1" type:"string" required:"true"`
// The scalable dimension of the scalable target that this scaling policy applies
@ -960,11 +1208,15 @@ type PutScalingPolicyInput struct {
// and scaling property, such as ecs:service:DesiredCount for the desired task
// count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity
// for the target capacity of an Amazon EC2 Spot fleet request.
//
// ScalableDimension is a required field
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
// The AWS service namespace of the scalable target that this scaling policy
// applies to. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
// The configuration for the step scaling policy. If you are creating a new
@ -1021,6 +1273,8 @@ type PutScalingPolicyOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the resulting scaling policy.
//
// PolicyARN is a required field
PolicyARN *string `min:"1" type:"string" required:"true"`
}
@ -1052,6 +1306,8 @@ type RegisterScalableTargetInput struct {
// and the identifier is the cluster name and service name; for example, service/default/sample-webapp.
// For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request,
// and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
//
// ResourceId is a required field
ResourceId *string `min:"1" type:"string" required:"true"`
// The ARN of the IAM role that allows Application Auto Scaling to modify your
@ -1065,12 +1321,16 @@ type RegisterScalableTargetInput struct {
// such as ecs:service:DesiredCount for the desired task count of an Amazon
// ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity
// of an Amazon EC2 Spot fleet request.
//
// ScalableDimension is a required field
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
// The namespace for the AWS service that the scalable target is associated
// with. For Amazon ECS services, the namespace value is ecs. For more information,
// see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
}
@ -1128,14 +1388,20 @@ type ScalableTarget struct {
_ struct{} `type:"structure"`
// The Unix timestamp for when the scalable target was created.
//
// CreationTime is a required field
CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
// The maximum value for this scalable target to scale out to in response to
// scaling activities.
//
// MaxCapacity is a required field
MaxCapacity *int64 `type:"integer" required:"true"`
// The minimum value for this scalable target to scale in to in response to
// scaling activities.
//
// MinCapacity is a required field
MinCapacity *int64 `type:"integer" required:"true"`
// The resource type and unique identifier string for the resource associated
@ -1143,10 +1409,14 @@ type ScalableTarget struct {
// and the identifier is the cluster name and service name; for example, service/default/sample-webapp.
// For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request,
// and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
//
// ResourceId is a required field
ResourceId *string `min:"1" type:"string" required:"true"`
// The ARN of the IAM role that allows Application Auto Scaling to modify your
// scalable target on your behalf.
//
// RoleARN is a required field
RoleARN *string `min:"1" type:"string" required:"true"`
// The scalable dimension associated with the scalable target. The scalable
@ -1154,11 +1424,15 @@ type ScalableTarget struct {
// such as ecs:service:DesiredCount for the desired task count of an Amazon
// ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity
// of an Amazon EC2 Spot fleet request.
//
// ScalableDimension is a required field
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
// The namespace for the AWS service that the scalable target is associated
// with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
}
@ -1177,12 +1451,18 @@ type ScalingActivity struct {
_ struct{} `type:"structure"`
// The unique identifier string for the scaling activity.
//
// ActivityId is a required field
ActivityId *string `type:"string" required:"true"`
// A simple description of what caused the scaling activity to happen.
//
// Cause is a required field
Cause *string `type:"string" required:"true"`
// A simple description of what action the scaling activity intends to accomplish.
//
// Description is a required field
Description *string `type:"string" required:"true"`
// The details about the scaling activity.
@ -1197,6 +1477,8 @@ type ScalingActivity struct {
// service/default/sample-webapp. For Amazon EC2 Spot fleet requests, the resource
// type is spot-fleet-request, and the identifier is the Spot fleet request
// ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
//
// ResourceId is a required field
ResourceId *string `min:"1" type:"string" required:"true"`
// The scalable dimension associated with the scaling activity. The scalable
@ -1204,17 +1486,25 @@ type ScalingActivity struct {
// such as ecs:service:DesiredCount for the desired task count of an Amazon
// ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity
// of an Amazon EC2 Spot fleet request.
//
// ScalableDimension is a required field
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
// The namespace for the AWS service that the scaling activity is associated
// with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
// The Unix timestamp for when the scaling activity began.
//
// StartTime is a required field
StartTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
// Indicates the status of the scaling activity.
//
// StatusCode is a required field
StatusCode *string `type:"string" required:"true" enum:"ScalingActivityStatusCode"`
// A simple message about the current status of the scaling activity.
@ -1239,15 +1529,23 @@ type ScalingPolicy struct {
Alarms []*Alarm `type:"list"`
// The Unix timestamp for when the scaling policy was created.
//
// CreationTime is a required field
CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
// The Amazon Resource Name (ARN) of the scaling policy.
//
// PolicyARN is a required field
PolicyARN *string `min:"1" type:"string" required:"true"`
// The name of the scaling policy.
//
// PolicyName is a required field
PolicyName *string `min:"1" type:"string" required:"true"`
// The scaling policy type.
//
// PolicyType is a required field
PolicyType *string `type:"string" required:"true" enum:"PolicyType"`
// The resource type and unique identifier string for the resource associated
@ -1255,6 +1553,8 @@ type ScalingPolicy struct {
// and the identifier is the cluster name and service name; for example, service/default/sample-webapp.
// For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request,
// and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
//
// ResourceId is a required field
ResourceId *string `min:"1" type:"string" required:"true"`
// The scalable dimension associated with the scaling policy. The scalable dimension
@ -1262,11 +1562,15 @@ type ScalingPolicy struct {
// as ecs:service:DesiredCount for the desired task count of an Amazon ECS service,
// or ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon
// EC2 Spot fleet request.
//
// ScalableDimension is a required field
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
// The namespace for the AWS service that the scaling policy is associated with.
// For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
// The configuration for the step scaling policy.
@ -1335,6 +1639,8 @@ type StepAdjustment struct {
// The amount by which to scale, based on the specified adjustment type. A positive
// value adds to the current scalable dimension while a negative number removes
// from the current scalable dimension.
//
// ScalingAdjustment is a required field
ScalingAdjustment *int64 `type:"integer" required:"true"`
}
@ -1437,53 +1743,64 @@ func (s *StepScalingPolicyConfiguration) Validate() error {
}
const (
// @enum AdjustmentType
// AdjustmentTypeChangeInCapacity is a AdjustmentType enum value
AdjustmentTypeChangeInCapacity = "ChangeInCapacity"
// @enum AdjustmentType
// AdjustmentTypePercentChangeInCapacity is a AdjustmentType enum value
AdjustmentTypePercentChangeInCapacity = "PercentChangeInCapacity"
// @enum AdjustmentType
// AdjustmentTypeExactCapacity is a AdjustmentType enum value
AdjustmentTypeExactCapacity = "ExactCapacity"
)
const (
// @enum MetricAggregationType
// MetricAggregationTypeAverage is a MetricAggregationType enum value
MetricAggregationTypeAverage = "Average"
// @enum MetricAggregationType
// MetricAggregationTypeMinimum is a MetricAggregationType enum value
MetricAggregationTypeMinimum = "Minimum"
// @enum MetricAggregationType
// MetricAggregationTypeMaximum is a MetricAggregationType enum value
MetricAggregationTypeMaximum = "Maximum"
)
const (
// @enum PolicyType
// PolicyTypeStepScaling is a PolicyType enum value
PolicyTypeStepScaling = "StepScaling"
)
const (
// @enum ScalableDimension
// ScalableDimensionEcsServiceDesiredCount is a ScalableDimension enum value
ScalableDimensionEcsServiceDesiredCount = "ecs:service:DesiredCount"
// @enum ScalableDimension
// ScalableDimensionEc2SpotFleetRequestTargetCapacity is a ScalableDimension enum value
ScalableDimensionEc2SpotFleetRequestTargetCapacity = "ec2:spot-fleet-request:TargetCapacity"
)
const (
// @enum ScalingActivityStatusCode
// ScalingActivityStatusCodePending is a ScalingActivityStatusCode enum value
ScalingActivityStatusCodePending = "Pending"
// @enum ScalingActivityStatusCode
// ScalingActivityStatusCodeInProgress is a ScalingActivityStatusCode enum value
ScalingActivityStatusCodeInProgress = "InProgress"
// @enum ScalingActivityStatusCode
// ScalingActivityStatusCodeSuccessful is a ScalingActivityStatusCode enum value
ScalingActivityStatusCodeSuccessful = "Successful"
// @enum ScalingActivityStatusCode
// ScalingActivityStatusCodeOverridden is a ScalingActivityStatusCode enum value
ScalingActivityStatusCodeOverridden = "Overridden"
// @enum ScalingActivityStatusCode
// ScalingActivityStatusCodeUnfulfilled is a ScalingActivityStatusCode enum value
ScalingActivityStatusCodeUnfulfilled = "Unfulfilled"
// @enum ScalingActivityStatusCode
// ScalingActivityStatusCodeFailed is a ScalingActivityStatusCode enum value
ScalingActivityStatusCodeFailed = "Failed"
)
const (
// @enum ServiceNamespace
// ServiceNamespaceEcs is a ServiceNamespace enum value
ServiceNamespaceEcs = "ecs"
// @enum ServiceNamespace
// ServiceNamespaceEc2 is a ServiceNamespace enum value
ServiceNamespaceEc2 = "ec2"
)

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilGroupExists uses the Auto Scaling API operation
// DescribeAutoScalingGroups to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *AutoScaling) WaitUntilGroupExists(input *DescribeAutoScalingGroupsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeAutoScalingGroups",
@ -35,6 +39,10 @@ func (c *AutoScaling) WaitUntilGroupExists(input *DescribeAutoScalingGroupsInput
return w.Wait()
}
// WaitUntilGroupInService uses the Auto Scaling API operation
// DescribeAutoScalingGroups to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *AutoScaling) WaitUntilGroupInService(input *DescribeAutoScalingGroupsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeAutoScalingGroups",
@ -64,6 +72,10 @@ func (c *AutoScaling) WaitUntilGroupInService(input *DescribeAutoScalingGroupsIn
return w.Wait()
}
// WaitUntilGroupNotExists uses the Auto Scaling API operation
// DescribeAutoScalingGroups to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *AutoScaling) WaitUntilGroupNotExists(input *DescribeAutoScalingGroupsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeAutoScalingGroups",

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilStackCreateComplete uses the AWS CloudFormation API operation
// DescribeStacks to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *CloudFormation) WaitUntilStackCreateComplete(input *DescribeStacksInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeStacks",
@ -77,6 +81,10 @@ func (c *CloudFormation) WaitUntilStackCreateComplete(input *DescribeStacksInput
return w.Wait()
}
// WaitUntilStackDeleteComplete uses the AWS CloudFormation API operation
// DescribeStacks to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *CloudFormation) WaitUntilStackDeleteComplete(input *DescribeStacksInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeStacks",
@ -190,6 +198,10 @@ func (c *CloudFormation) WaitUntilStackDeleteComplete(input *DescribeStacksInput
return w.Wait()
}
// WaitUntilStackExists uses the AWS CloudFormation API operation
// DescribeStacks to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *CloudFormation) WaitUntilStackExists(input *DescribeStacksInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeStacks",
@ -219,6 +231,10 @@ func (c *CloudFormation) WaitUntilStackExists(input *DescribeStacksInput) error
return w.Wait()
}
// WaitUntilStackUpdateComplete uses the AWS CloudFormation API operation
// DescribeStacks to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *CloudFormation) WaitUntilStackUpdateComplete(input *DescribeStacksInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeStacks",

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilDistributionDeployed uses the CloudFront API operation
// GetDistribution to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *CloudFront) WaitUntilDistributionDeployed(input *GetDistributionInput) error {
waiterCfg := waiter.Config{
Operation: "GetDistribution",
@ -29,6 +33,10 @@ func (c *CloudFront) WaitUntilDistributionDeployed(input *GetDistributionInput)
return w.Wait()
}
// WaitUntilInvalidationCompleted uses the CloudFront API operation
// GetInvalidation to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *CloudFront) WaitUntilInvalidationCompleted(input *GetInvalidationInput) error {
waiterCfg := waiter.Config{
Operation: "GetInvalidation",
@ -52,6 +60,10 @@ func (c *CloudFront) WaitUntilInvalidationCompleted(input *GetInvalidationInput)
return w.Wait()
}
// WaitUntilStreamingDistributionDeployed uses the CloudFront API operation
// GetStreamingDistribution to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *CloudFront) WaitUntilStreamingDistributionDeployed(input *GetStreamingDistributionInput) error {
waiterCfg := waiter.Config{
Operation: "GetStreamingDistribution",

View File

@ -18,6 +18,8 @@ const opAddTags = "AddTags"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See AddTags for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -52,12 +54,66 @@ func (c *CloudTrail) AddTagsRequest(input *AddTagsInput) (req *request.Request,
return
}
// AddTags API operation for AWS CloudTrail.
//
// Adds one or more tags to a trail, up to a limit of 10. Tags must be unique
// per trail. Overwrites an existing tag's value when a new value is specified
// for an existing tag key. If you specify a key without a value, the tag will
// be created with the specified key and a value of null. You can tag a trail
// that applies to all regions only from the region in which the trail was created
// (that is, from its home region).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS CloudTrail's
// API operation AddTags for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// This exception is thrown when the specified resource is not found.
//
// * ARNInvalidException
// This exception is thrown when an operation is called with an invalid trail
// ARN. The format of a trail ARN is:
//
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
//
// * ResourceTypeNotSupportedException
// This exception is thrown when the specified resource type is not supported
// by CloudTrail.
//
// * TagsLimitExceededException
// The number of tags per trail has exceeded the permitted amount. Currently,
// the limit is 10.
//
// * InvalidTrailNameException
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
// Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
// (_), or dashes (-)
//
// Start with a letter or number, and end with a letter or number
//
// Be between 3 and 128 characters
//
// Have no adjacent periods, underscores or dashes. Names like my-_namespace
// and my--namespace are invalid.
//
// Not be in IP address format (for example, 192.168.5.4)
//
// * InvalidTagParameterException
// This exception is thrown when the key or value specified for the tag does
// not match the regular expression ^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$.
//
// * UnsupportedOperationException
// This exception is thrown when the requested operation is not supported.
//
// * OperationNotPermittedException
// This exception is thrown when the requested operation is not permitted.
//
func (c *CloudTrail) AddTags(input *AddTagsInput) (*AddTagsOutput, error) {
req, out := c.AddTagsRequest(input)
err := req.Send()
@ -71,6 +127,8 @@ const opCreateTrail = "CreateTrail"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See CreateTrail for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -105,9 +163,100 @@ func (c *CloudTrail) CreateTrailRequest(input *CreateTrailInput) (req *request.R
return
}
// CreateTrail API operation for AWS CloudTrail.
//
// Creates a trail that specifies the settings for delivery of log data to an
// Amazon S3 bucket. A maximum of five trails can exist in a region, irrespective
// of the region in which they were created.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS CloudTrail's
// API operation CreateTrail for usage and error information.
//
// Returned Error Codes:
// * MaximumNumberOfTrailsExceededException
// This exception is thrown when the maximum number of trails is reached.
//
// * TrailAlreadyExistsException
// This exception is thrown when the specified trail already exists.
//
// * S3BucketDoesNotExistException
// This exception is thrown when the specified S3 bucket does not exist.
//
// * InsufficientS3BucketPolicyException
// This exception is thrown when the policy on the S3 bucket is not sufficient.
//
// * InsufficientSnsTopicPolicyException
// This exception is thrown when the policy on the SNS topic is not sufficient.
//
// * InsufficientEncryptionPolicyException
// This exception is thrown when the policy on the S3 bucket or KMS key is not
// sufficient.
//
// * InvalidS3BucketNameException
// This exception is thrown when the provided S3 bucket name is not valid.
//
// * InvalidS3PrefixException
// This exception is thrown when the provided S3 prefix is not valid.
//
// * InvalidSnsTopicNameException
// This exception is thrown when the provided SNS topic name is not valid.
//
// * InvalidKmsKeyIdException
// This exception is thrown when the KMS key ARN is invalid.
//
// * InvalidTrailNameException
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
// Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
// (_), or dashes (-)
//
// Start with a letter or number, and end with a letter or number
//
// Be between 3 and 128 characters
//
// Have no adjacent periods, underscores or dashes. Names like my-_namespace
// and my--namespace are invalid.
//
// Not be in IP address format (for example, 192.168.5.4)
//
// * TrailNotProvidedException
// This exception is deprecated.
//
// * InvalidParameterCombinationException
// This exception is thrown when the combination of parameters provided is not
// valid.
//
// * KmsKeyNotFoundException
// This exception is thrown when the KMS key does not exist, or when the S3
// bucket and the KMS key are not in the same region.
//
// * KmsKeyDisabledException
// This exception is deprecated.
//
// * KmsException
// This exception is thrown when there is an issue with the specified KMS key
// and the trail cant be updated.
//
// * InvalidCloudWatchLogsLogGroupArnException
// This exception is thrown when the provided CloudWatch log group is not valid.
//
// * InvalidCloudWatchLogsRoleArnException
// This exception is thrown when the provided role is not valid.
//
// * CloudWatchLogsDeliveryUnavailableException
// Cannot set a CloudWatch Logs delivery for this region.
//
// * UnsupportedOperationException
// This exception is thrown when the requested operation is not supported.
//
// * OperationNotPermittedException
// This exception is thrown when the requested operation is not permitted.
//
func (c *CloudTrail) CreateTrail(input *CreateTrailInput) (*CreateTrailOutput, error) {
req, out := c.CreateTrailRequest(input)
err := req.Send()
@ -121,6 +270,8 @@ const opDeleteTrail = "DeleteTrail"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DeleteTrail for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -155,9 +306,43 @@ func (c *CloudTrail) DeleteTrailRequest(input *DeleteTrailInput) (req *request.R
return
}
// DeleteTrail API operation for AWS CloudTrail.
//
// Deletes a trail. This operation must be called from the region in which the
// trail was created. DeleteTrail cannot be called on the shadow trails (replicated
// trails in other regions) of a trail that is enabled in all regions.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS CloudTrail's
// API operation DeleteTrail for usage and error information.
//
// Returned Error Codes:
// * TrailNotFoundException
// This exception is thrown when the trail with the given name is not found.
//
// * InvalidTrailNameException
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
// Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
// (_), or dashes (-)
//
// Start with a letter or number, and end with a letter or number
//
// Be between 3 and 128 characters
//
// Have no adjacent periods, underscores or dashes. Names like my-_namespace
// and my--namespace are invalid.
//
// Not be in IP address format (for example, 192.168.5.4)
//
// * InvalidHomeRegionException
// This exception is thrown when an operation is called on a trail from a region
// other than the region in which the trail was created.
//
func (c *CloudTrail) DeleteTrail(input *DeleteTrailInput) (*DeleteTrailOutput, error) {
req, out := c.DeleteTrailRequest(input)
err := req.Send()
@ -171,6 +356,8 @@ const opDescribeTrails = "DescribeTrails"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DescribeTrails for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -205,8 +392,25 @@ func (c *CloudTrail) DescribeTrailsRequest(input *DescribeTrailsInput) (req *req
return
}
// DescribeTrails API operation for AWS CloudTrail.
//
// Retrieves settings for the trail associated with the current region for your
// account.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS CloudTrail's
// API operation DescribeTrails for usage and error information.
//
// Returned Error Codes:
// * UnsupportedOperationException
// This exception is thrown when the requested operation is not supported.
//
// * OperationNotPermittedException
// This exception is thrown when the requested operation is not permitted.
//
func (c *CloudTrail) DescribeTrails(input *DescribeTrailsInput) (*DescribeTrailsOutput, error) {
req, out := c.DescribeTrailsRequest(input)
err := req.Send()
@ -220,6 +424,8 @@ const opGetTrailStatus = "GetTrailStatus"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See GetTrailStatus for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -254,11 +460,41 @@ func (c *CloudTrail) GetTrailStatusRequest(input *GetTrailStatusInput) (req *req
return
}
// GetTrailStatus API operation for AWS CloudTrail.
//
// Returns a JSON-formatted list of information about the specified trail. Fields
// include information on delivery errors, Amazon SNS and Amazon S3 errors,
// and start and stop logging times for each trail. This operation returns trail
// status from a single region. To return trail status from all regions, you
// must call the operation on each region.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS CloudTrail's
// API operation GetTrailStatus for usage and error information.
//
// Returned Error Codes:
// * TrailNotFoundException
// This exception is thrown when the trail with the given name is not found.
//
// * InvalidTrailNameException
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
// Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
// (_), or dashes (-)
//
// Start with a letter or number, and end with a letter or number
//
// Be between 3 and 128 characters
//
// Have no adjacent periods, underscores or dashes. Names like my-_namespace
// and my--namespace are invalid.
//
// Not be in IP address format (for example, 192.168.5.4)
//
func (c *CloudTrail) GetTrailStatus(input *GetTrailStatusInput) (*GetTrailStatusOutput, error) {
req, out := c.GetTrailStatusRequest(input)
err := req.Send()
@ -272,6 +508,8 @@ const opListPublicKeys = "ListPublicKeys"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ListPublicKeys for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -306,6 +544,8 @@ func (c *CloudTrail) ListPublicKeysRequest(input *ListPublicKeysInput) (req *req
return
}
// ListPublicKeys API operation for AWS CloudTrail.
//
// Returns all public keys whose private keys were used to sign the digest files
// within the specified time range. The public key is needed to validate digest
// files that were signed with its corresponding private key.
@ -314,6 +554,28 @@ func (c *CloudTrail) ListPublicKeysRequest(input *ListPublicKeysInput) (req *req
// file is signed with a private key unique to its region. Therefore, when you
// validate a digest file from a particular region, you must look in the same
// region for its corresponding public key.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS CloudTrail's
// API operation ListPublicKeys for usage and error information.
//
// Returned Error Codes:
// * InvalidTimeRangeException
// Occurs if the timestamp values are invalid. Either the start time occurs
// after the end time or the time range is outside the range of possible values.
//
// * UnsupportedOperationException
// This exception is thrown when the requested operation is not supported.
//
// * OperationNotPermittedException
// This exception is thrown when the requested operation is not permitted.
//
// * InvalidTokenException
// Reserved for future use.
//
func (c *CloudTrail) ListPublicKeys(input *ListPublicKeysInput) (*ListPublicKeysOutput, error) {
req, out := c.ListPublicKeysRequest(input)
err := req.Send()
@ -327,6 +589,8 @@ const opListTags = "ListTags"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ListTags for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -361,7 +625,56 @@ func (c *CloudTrail) ListTagsRequest(input *ListTagsInput) (req *request.Request
return
}
// ListTags API operation for AWS CloudTrail.
//
// Lists the tags for the trail in the current region.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS CloudTrail's
// API operation ListTags for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// This exception is thrown when the specified resource is not found.
//
// * ARNInvalidException
// This exception is thrown when an operation is called with an invalid trail
// ARN. The format of a trail ARN is:
//
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
//
// * ResourceTypeNotSupportedException
// This exception is thrown when the specified resource type is not supported
// by CloudTrail.
//
// * InvalidTrailNameException
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
// Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
// (_), or dashes (-)
//
// Start with a letter or number, and end with a letter or number
//
// Be between 3 and 128 characters
//
// Have no adjacent periods, underscores or dashes. Names like my-_namespace
// and my--namespace are invalid.
//
// Not be in IP address format (for example, 192.168.5.4)
//
// * UnsupportedOperationException
// This exception is thrown when the requested operation is not supported.
//
// * OperationNotPermittedException
// This exception is thrown when the requested operation is not permitted.
//
// * InvalidTokenException
// Reserved for future use.
//
func (c *CloudTrail) ListTags(input *ListTagsInput) (*ListTagsOutput, error) {
req, out := c.ListTagsRequest(input)
err := req.Send()
@ -375,6 +688,8 @@ const opLookupEvents = "LookupEvents"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See LookupEvents for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -409,6 +724,8 @@ func (c *CloudTrail) LookupEventsRequest(input *LookupEventsInput) (req *request
return
}
// LookupEvents API operation for AWS CloudTrail.
//
// Looks up API activity events captured by CloudTrail that create, update,
// or delete resources in your account. Events for a region can be looked up
// for the times in which you had CloudTrail turned on in that region during
@ -425,6 +742,29 @@ func (c *CloudTrail) LookupEventsRequest(input *LookupEventsInput) (req *request
//
// Events that occurred during the selected time range will not be available
// for lookup if CloudTrail logging was not enabled when the events occurred.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS CloudTrail's
// API operation LookupEvents for usage and error information.
//
// Returned Error Codes:
// * InvalidLookupAttributesException
// Occurs when an invalid lookup attribute is specified.
//
// * InvalidTimeRangeException
// Occurs if the timestamp values are invalid. Either the start time occurs
// after the end time or the time range is outside the range of possible values.
//
// * InvalidMaxResultsException
// This exception is thrown if the limit specified is invalid.
//
// * InvalidNextTokenException
// Invalid token or token that was previously used in a request with different
// parameters. This exception is thrown if the token is invalid.
//
func (c *CloudTrail) LookupEvents(input *LookupEventsInput) (*LookupEventsOutput, error) {
req, out := c.LookupEventsRequest(input)
err := req.Send()
@ -438,6 +778,8 @@ const opRemoveTags = "RemoveTags"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See RemoveTags for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -472,7 +814,57 @@ func (c *CloudTrail) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Req
return
}
// RemoveTags API operation for AWS CloudTrail.
//
// Removes the specified tags from a trail.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS CloudTrail's
// API operation RemoveTags for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// This exception is thrown when the specified resource is not found.
//
// * ARNInvalidException
// This exception is thrown when an operation is called with an invalid trail
// ARN. The format of a trail ARN is:
//
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
//
// * ResourceTypeNotSupportedException
// This exception is thrown when the specified resource type is not supported
// by CloudTrail.
//
// * InvalidTrailNameException
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
// Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
// (_), or dashes (-)
//
// Start with a letter or number, and end with a letter or number
//
// Be between 3 and 128 characters
//
// Have no adjacent periods, underscores or dashes. Names like my-_namespace
// and my--namespace are invalid.
//
// Not be in IP address format (for example, 192.168.5.4)
//
// * InvalidTagParameterException
// This exception is thrown when the key or value specified for the tag does
// not match the regular expression ^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$.
//
// * UnsupportedOperationException
// This exception is thrown when the requested operation is not supported.
//
// * OperationNotPermittedException
// This exception is thrown when the requested operation is not permitted.
//
func (c *CloudTrail) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) {
req, out := c.RemoveTagsRequest(input)
err := req.Send()
@ -486,6 +878,8 @@ const opStartLogging = "StartLogging"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See StartLogging for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -520,11 +914,45 @@ func (c *CloudTrail) StartLoggingRequest(input *StartLoggingInput) (req *request
return
}
// StartLogging API operation for AWS CloudTrail.
//
// Starts the recording of AWS API calls and log file delivery for a trail.
// For a trail that is enabled in all regions, this operation must be called
// from the region in which the trail was created. This operation cannot be
// called on the shadow trails (replicated trails in other regions) of a trail
// that is enabled in all regions.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS CloudTrail's
// API operation StartLogging for usage and error information.
//
// Returned Error Codes:
// * TrailNotFoundException
// This exception is thrown when the trail with the given name is not found.
//
// * InvalidTrailNameException
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
// Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
// (_), or dashes (-)
//
// Start with a letter or number, and end with a letter or number
//
// Be between 3 and 128 characters
//
// Have no adjacent periods, underscores or dashes. Names like my-_namespace
// and my--namespace are invalid.
//
// Not be in IP address format (for example, 192.168.5.4)
//
// * InvalidHomeRegionException
// This exception is thrown when an operation is called on a trail from a region
// other than the region in which the trail was created.
//
func (c *CloudTrail) StartLogging(input *StartLoggingInput) (*StartLoggingOutput, error) {
req, out := c.StartLoggingRequest(input)
err := req.Send()
@ -538,6 +966,8 @@ const opStopLogging = "StopLogging"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See StopLogging for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -572,6 +1002,8 @@ func (c *CloudTrail) StopLoggingRequest(input *StopLoggingInput) (req *request.R
return
}
// StopLogging API operation for AWS CloudTrail.
//
// Suspends the recording of AWS API calls and log file delivery for the specified
// trail. Under most circumstances, there is no need to use this action. You
// can update a trail without stopping it first. This action is the only way
@ -579,6 +1011,38 @@ func (c *CloudTrail) StopLoggingRequest(input *StopLoggingInput) (req *request.R
// be called from the region in which the trail was created, or an InvalidHomeRegionException
// will occur. This operation cannot be called on the shadow trails (replicated
// trails in other regions) of a trail enabled in all regions.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS CloudTrail's
// API operation StopLogging for usage and error information.
//
// Returned Error Codes:
// * TrailNotFoundException
// This exception is thrown when the trail with the given name is not found.
//
// * InvalidTrailNameException
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
// Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
// (_), or dashes (-)
//
// Start with a letter or number, and end with a letter or number
//
// Be between 3 and 128 characters
//
// Have no adjacent periods, underscores or dashes. Names like my-_namespace
// and my--namespace are invalid.
//
// Not be in IP address format (for example, 192.168.5.4)
//
// * InvalidHomeRegionException
// This exception is thrown when an operation is called on a trail from a region
// other than the region in which the trail was created.
//
func (c *CloudTrail) StopLogging(input *StopLoggingInput) (*StopLoggingOutput, error) {
req, out := c.StopLoggingRequest(input)
err := req.Send()
@ -592,6 +1056,8 @@ const opUpdateTrail = "UpdateTrail"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See UpdateTrail for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -626,12 +1092,104 @@ func (c *CloudTrail) UpdateTrailRequest(input *UpdateTrailInput) (req *request.R
return
}
// UpdateTrail API operation for AWS CloudTrail.
//
// Updates the settings that specify delivery of log files. Changes to a trail
// do not require stopping the CloudTrail service. Use this action to designate
// an existing bucket for log delivery. If the existing bucket has previously
// been a target for CloudTrail log files, an IAM policy exists for the bucket.
// UpdateTrail must be called from the region in which the trail was created;
// otherwise, an InvalidHomeRegionException is thrown.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS CloudTrail's
// API operation UpdateTrail for usage and error information.
//
// Returned Error Codes:
// * S3BucketDoesNotExistException
// This exception is thrown when the specified S3 bucket does not exist.
//
// * InsufficientS3BucketPolicyException
// This exception is thrown when the policy on the S3 bucket is not sufficient.
//
// * InsufficientSnsTopicPolicyException
// This exception is thrown when the policy on the SNS topic is not sufficient.
//
// * InsufficientEncryptionPolicyException
// This exception is thrown when the policy on the S3 bucket or KMS key is not
// sufficient.
//
// * TrailNotFoundException
// This exception is thrown when the trail with the given name is not found.
//
// * InvalidS3BucketNameException
// This exception is thrown when the provided S3 bucket name is not valid.
//
// * InvalidS3PrefixException
// This exception is thrown when the provided S3 prefix is not valid.
//
// * InvalidSnsTopicNameException
// This exception is thrown when the provided SNS topic name is not valid.
//
// * InvalidKmsKeyIdException
// This exception is thrown when the KMS key ARN is invalid.
//
// * InvalidTrailNameException
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
// Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
// (_), or dashes (-)
//
// Start with a letter or number, and end with a letter or number
//
// Be between 3 and 128 characters
//
// Have no adjacent periods, underscores or dashes. Names like my-_namespace
// and my--namespace are invalid.
//
// Not be in IP address format (for example, 192.168.5.4)
//
// * TrailNotProvidedException
// This exception is deprecated.
//
// * InvalidParameterCombinationException
// This exception is thrown when the combination of parameters provided is not
// valid.
//
// * InvalidHomeRegionException
// This exception is thrown when an operation is called on a trail from a region
// other than the region in which the trail was created.
//
// * KmsKeyNotFoundException
// This exception is thrown when the KMS key does not exist, or when the S3
// bucket and the KMS key are not in the same region.
//
// * KmsKeyDisabledException
// This exception is deprecated.
//
// * KmsException
// This exception is thrown when there is an issue with the specified KMS key
// and the trail cant be updated.
//
// * InvalidCloudWatchLogsLogGroupArnException
// This exception is thrown when the provided CloudWatch log group is not valid.
//
// * InvalidCloudWatchLogsRoleArnException
// This exception is thrown when the provided role is not valid.
//
// * CloudWatchLogsDeliveryUnavailableException
// Cannot set a CloudWatch Logs delivery for this region.
//
// * UnsupportedOperationException
// This exception is thrown when the requested operation is not supported.
//
// * OperationNotPermittedException
// This exception is thrown when the requested operation is not permitted.
//
func (c *CloudTrail) UpdateTrail(input *UpdateTrailInput) (*UpdateTrailOutput, error) {
req, out := c.UpdateTrailRequest(input)
err := req.Send()
@ -646,6 +1204,8 @@ type AddTagsInput struct {
// format of a trail ARN is:
//
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
//
// ResourceId is a required field
ResourceId *string `type:"string" required:"true"`
// Contains a list of CloudTrail tags, up to a limit of 10.
@ -763,10 +1323,14 @@ type CreateTrailInput struct {
// and my--namespace are invalid.
//
// Not be in IP address format (for example, 192.168.5.4)
//
// Name is a required field
Name *string `type:"string" required:"true"`
// Specifies the name of the Amazon S3 bucket designated for publishing log
// files. See Amazon S3 Bucket Naming Requirements (http://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_naming_policy.html).
//
// S3BucketName is a required field
S3BucketName *string `type:"string" required:"true"`
// Specifies the Amazon S3 key prefix that comes after the name of the bucket
@ -881,6 +1445,8 @@ type DeleteTrailInput struct {
// format of a trail ARN is:
//
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
//
// Name is a required field
Name *string `type:"string" required:"true"`
}
@ -1027,6 +1593,8 @@ type GetTrailStatusInput struct {
// another region), you must specify its ARN. The format of a trail ARN is:
//
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
//
// Name is a required field
Name *string `type:"string" required:"true"`
}
@ -1207,6 +1775,8 @@ type ListTagsInput struct {
// limit of 20 ARNs. The format of a trail ARN is:
//
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
//
// ResourceIdList is a required field
ResourceIdList []*string `type:"list" required:"true"`
}
@ -1260,9 +1830,13 @@ type LookupAttribute struct {
_ struct{} `type:"structure"`
// Specifies an attribute on which to filter the events returned.
//
// AttributeKey is a required field
AttributeKey *string `type:"string" required:"true" enum:"LookupAttributeKey"`
// Specifies a value for the specified AttributeKey.
//
// AttributeValue is a required field
AttributeValue *string `type:"string" required:"true"`
}
@ -1419,6 +1993,8 @@ type RemoveTagsInput struct {
// of a trail ARN is:
//
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
//
// ResourceId is a required field
ResourceId *string `type:"string" required:"true"`
// Specifies a list of tags to be removed.
@ -1531,6 +2107,8 @@ type StartLoggingInput struct {
// logs AWS API calls. The format of a trail ARN is:
//
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
//
// Name is a required field
Name *string `type:"string" required:"true"`
}
@ -1582,6 +2160,8 @@ type StopLoggingInput struct {
// will stop logging AWS API calls. The format of a trail ARN is:
//
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
//
// Name is a required field
Name *string `type:"string" required:"true"`
}
@ -1630,6 +2210,8 @@ type Tag struct {
// The key in a key-value pair. The key must be must be no longer than 128 Unicode
// characters. The key must be unique for the resource to which it applies.
//
// Key is a required field
Key *string `type:"string" required:"true"`
// The value in a key-value pair of a tag. The value must be no longer than
@ -1799,6 +2381,8 @@ type UpdateTrailInput struct {
// If Name is a trail ARN, it must be in the format:
//
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
//
// Name is a required field
Name *string `type:"string" required:"true"`
// Specifies the name of the Amazon S3 bucket designated for publishing log
@ -1907,14 +2491,18 @@ func (s UpdateTrailOutput) GoString() string {
}
const (
// @enum LookupAttributeKey
// LookupAttributeKeyEventId is a LookupAttributeKey enum value
LookupAttributeKeyEventId = "EventId"
// @enum LookupAttributeKey
// LookupAttributeKeyEventName is a LookupAttributeKey enum value
LookupAttributeKeyEventName = "EventName"
// @enum LookupAttributeKey
// LookupAttributeKeyUsername is a LookupAttributeKey enum value
LookupAttributeKeyUsername = "Username"
// @enum LookupAttributeKey
// LookupAttributeKeyResourceType is a LookupAttributeKey enum value
LookupAttributeKeyResourceType = "ResourceType"
// @enum LookupAttributeKey
// LookupAttributeKeyResourceName is a LookupAttributeKey enum value
LookupAttributeKeyResourceName = "ResourceName"
)

View File

@ -20,6 +20,8 @@ const opDeleteAlarms = "DeleteAlarms"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DeleteAlarms for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -56,7 +58,21 @@ func (c *CloudWatch) DeleteAlarmsRequest(input *DeleteAlarmsInput) (req *request
return
}
// DeleteAlarms API operation for Amazon CloudWatch.
//
// Deletes all specified alarms. In the event of an error, no alarms are deleted.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch's
// API operation DeleteAlarms for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFound
// The named resource does not exist.
//
func (c *CloudWatch) DeleteAlarms(input *DeleteAlarmsInput) (*DeleteAlarmsOutput, error) {
req, out := c.DeleteAlarmsRequest(input)
err := req.Send()
@ -70,6 +86,8 @@ const opDescribeAlarmHistory = "DescribeAlarmHistory"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DescribeAlarmHistory for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -110,12 +128,26 @@ func (c *CloudWatch) DescribeAlarmHistoryRequest(input *DescribeAlarmHistoryInpu
return
}
// DescribeAlarmHistory API operation for Amazon CloudWatch.
//
// Retrieves history for the specified alarm. Filter alarms by date range or
// item type. If an alarm name is not specified, Amazon CloudWatch returns histories
// for all of the owner's alarms.
//
// Amazon CloudWatch retains the history of an alarm for two weeks, whether
// or not you delete the alarm.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch's
// API operation DescribeAlarmHistory for usage and error information.
//
// Returned Error Codes:
// * InvalidNextToken
// The next token specified is invalid.
//
func (c *CloudWatch) DescribeAlarmHistory(input *DescribeAlarmHistoryInput) (*DescribeAlarmHistoryOutput, error) {
req, out := c.DescribeAlarmHistoryRequest(input)
err := req.Send()
@ -154,6 +186,8 @@ const opDescribeAlarms = "DescribeAlarms"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DescribeAlarms for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -194,9 +228,23 @@ func (c *CloudWatch) DescribeAlarmsRequest(input *DescribeAlarmsInput) (req *req
return
}
// DescribeAlarms API operation for Amazon CloudWatch.
//
// Retrieves alarms with the specified names. If no name is specified, all alarms
// for the user are returned. Alarms can be retrieved by using only a prefix
// for the alarm name, the alarm state, or a prefix for any action.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch's
// API operation DescribeAlarms for usage and error information.
//
// Returned Error Codes:
// * InvalidNextToken
// The next token specified is invalid.
//
func (c *CloudWatch) DescribeAlarms(input *DescribeAlarmsInput) (*DescribeAlarmsOutput, error) {
req, out := c.DescribeAlarmsRequest(input)
err := req.Send()
@ -235,6 +283,8 @@ const opDescribeAlarmsForMetric = "DescribeAlarmsForMetric"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DescribeAlarmsForMetric for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -269,8 +319,17 @@ func (c *CloudWatch) DescribeAlarmsForMetricRequest(input *DescribeAlarmsForMetr
return
}
// DescribeAlarmsForMetric API operation for Amazon CloudWatch.
//
// Retrieves all alarms for a single metric. Specify a statistic, period, or
// unit to filter the set of alarms further.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch's
// API operation DescribeAlarmsForMetric for usage and error information.
func (c *CloudWatch) DescribeAlarmsForMetric(input *DescribeAlarmsForMetricInput) (*DescribeAlarmsForMetricOutput, error) {
req, out := c.DescribeAlarmsForMetricRequest(input)
err := req.Send()
@ -284,6 +343,8 @@ const opDisableAlarmActions = "DisableAlarmActions"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DisableAlarmActions for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -320,8 +381,17 @@ func (c *CloudWatch) DisableAlarmActionsRequest(input *DisableAlarmActionsInput)
return
}
// DisableAlarmActions API operation for Amazon CloudWatch.
//
// Disables actions for the specified alarms. When an alarm's actions are disabled
// the alarm's state may change, but none of the alarm's actions will execute.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch's
// API operation DisableAlarmActions for usage and error information.
func (c *CloudWatch) DisableAlarmActions(input *DisableAlarmActionsInput) (*DisableAlarmActionsOutput, error) {
req, out := c.DisableAlarmActionsRequest(input)
err := req.Send()
@ -335,6 +405,8 @@ const opEnableAlarmActions = "EnableAlarmActions"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See EnableAlarmActions for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -371,7 +443,16 @@ func (c *CloudWatch) EnableAlarmActionsRequest(input *EnableAlarmActionsInput) (
return
}
// EnableAlarmActions API operation for Amazon CloudWatch.
//
// Enables actions for the specified alarms.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch's
// API operation EnableAlarmActions for usage and error information.
func (c *CloudWatch) EnableAlarmActions(input *EnableAlarmActionsInput) (*EnableAlarmActionsOutput, error) {
req, out := c.EnableAlarmActionsRequest(input)
err := req.Send()
@ -385,6 +466,8 @@ const opGetMetricStatistics = "GetMetricStatistics"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See GetMetricStatistics for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -419,6 +502,8 @@ func (c *CloudWatch) GetMetricStatisticsRequest(input *GetMetricStatisticsInput)
return
}
// GetMetricStatistics API operation for Amazon CloudWatch.
//
// Gets statistics for the specified metric.
//
// The maximum number of data points that can be queried is 50,850, whereas
@ -451,6 +536,28 @@ func (c *CloudWatch) GetMetricStatisticsRequest(input *GetMetricStatisticsInput)
// other Amazon Web Services products use to send metrics to CloudWatch, go
// to Amazon CloudWatch Metrics, Namespaces, and Dimensions Reference (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html)
// in the Amazon CloudWatch Developer Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch's
// API operation GetMetricStatistics for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// Bad or out-of-range value was supplied for the input parameter.
//
// * MissingParameter
// An input parameter that is mandatory for processing the request is not supplied.
//
// * InvalidParameterCombination
// Parameters that must not be used together were used together.
//
// * InternalServiceError
// Indicates that the request processing has failed due to some unknown error,
// exception, or failure.
//
func (c *CloudWatch) GetMetricStatistics(input *GetMetricStatisticsInput) (*GetMetricStatisticsOutput, error) {
req, out := c.GetMetricStatisticsRequest(input)
err := req.Send()
@ -464,6 +571,8 @@ const opListMetrics = "ListMetrics"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ListMetrics for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -504,6 +613,8 @@ func (c *CloudWatch) ListMetricsRequest(input *ListMetricsInput) (req *request.R
return
}
// ListMetrics API operation for Amazon CloudWatch.
//
// Returns a list of valid metrics stored for the AWS account owner. Returned
// metrics can be used with GetMetricStatistics to obtain statistical data for
// a given metric.
@ -514,6 +625,22 @@ func (c *CloudWatch) ListMetricsRequest(input *ListMetricsInput) (req *request.R
// If you create a metric with PutMetricData, allow up to fifteen minutes
// for the metric to appear in calls to ListMetrics. Statistics about the metric,
// however, are available sooner using GetMetricStatistics.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch's
// API operation ListMetrics for usage and error information.
//
// Returned Error Codes:
// * InternalServiceError
// Indicates that the request processing has failed due to some unknown error,
// exception, or failure.
//
// * InvalidParameterValue
// Bad or out-of-range value was supplied for the input parameter.
//
func (c *CloudWatch) ListMetrics(input *ListMetricsInput) (*ListMetricsOutput, error) {
req, out := c.ListMetricsRequest(input)
err := req.Send()
@ -552,6 +679,8 @@ const opPutMetricAlarm = "PutMetricAlarm"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See PutMetricAlarm for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -588,6 +717,8 @@ func (c *CloudWatch) PutMetricAlarmRequest(input *PutMetricAlarmInput) (req *req
return
}
// PutMetricAlarm API operation for Amazon CloudWatch.
//
// Creates or updates an alarm and associates it with the specified Amazon CloudWatch
// metric. Optionally, this operation can associate one or more Amazon SNS resources
// with the alarm.
@ -628,6 +759,18 @@ func (c *CloudWatch) PutMetricAlarmRequest(input *PutMetricAlarmInput) (req *req
// If you are using temporary security credentials granted using the AWS Security
// Token Service (AWS STS), you cannot stop or terminate an Amazon EC2 instance
// using alarm actions.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch's
// API operation PutMetricAlarm for usage and error information.
//
// Returned Error Codes:
// * LimitExceeded
// The quota for alarms for this customer has already been reached.
//
func (c *CloudWatch) PutMetricAlarm(input *PutMetricAlarmInput) (*PutMetricAlarmOutput, error) {
req, out := c.PutMetricAlarmRequest(input)
err := req.Send()
@ -641,6 +784,8 @@ const opPutMetricData = "PutMetricData"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See PutMetricData for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -677,6 +822,8 @@ func (c *CloudWatch) PutMetricDataRequest(input *PutMetricDataInput) (req *reque
return
}
// PutMetricData API operation for Amazon CloudWatch.
//
// Publishes metric data points to Amazon CloudWatch. Amazon CloudWatch associates
// the data points with the specified metric. If the specified metric does not
// exist, Amazon CloudWatch creates the metric. When Amazon CloudWatch creates
@ -694,6 +841,28 @@ func (c *CloudWatch) PutMetricDataRequest(input *PutMetricDataInput) (req *reque
//
// Data that is timestamped 24 hours or more in the past may take in excess
// of 48 hours to become available from submission time using GetMetricStatistics.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch's
// API operation PutMetricData for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// Bad or out-of-range value was supplied for the input parameter.
//
// * MissingParameter
// An input parameter that is mandatory for processing the request is not supplied.
//
// * InvalidParameterCombination
// Parameters that must not be used together were used together.
//
// * InternalServiceError
// Indicates that the request processing has failed due to some unknown error,
// exception, or failure.
//
func (c *CloudWatch) PutMetricData(input *PutMetricDataInput) (*PutMetricDataOutput, error) {
req, out := c.PutMetricDataRequest(input)
err := req.Send()
@ -707,6 +876,8 @@ const opSetAlarmState = "SetAlarmState"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See SetAlarmState for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -743,6 +914,8 @@ func (c *CloudWatch) SetAlarmStateRequest(input *SetAlarmStateInput) (req *reque
return
}
// SetAlarmState API operation for Amazon CloudWatch.
//
// Temporarily sets the state of an alarm for testing purposes. When the updated
// StateValue differs from the previous value, the action configured for the
// appropriate state is invoked. For example, if your alarm is configured to
@ -751,6 +924,21 @@ func (c *CloudWatch) SetAlarmStateRequest(input *SetAlarmStateInput) (req *reque
// to its actual state (often within seconds). Because the alarm state change
// happens very quickly, it is typically only visible in the alarm's History
// tab in the Amazon CloudWatch console or through DescribeAlarmHistory.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch's
// API operation SetAlarmState for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFound
// The named resource does not exist.
//
// * InvalidFormat
// Data was not syntactically valid JSON.
//
func (c *CloudWatch) SetAlarmState(input *SetAlarmStateInput) (*SetAlarmStateOutput, error) {
req, out := c.SetAlarmStateRequest(input)
err := req.Send()
@ -832,6 +1020,8 @@ type DeleteAlarmsInput struct {
_ struct{} `type:"structure"`
// A list of alarms to be deleted.
//
// AlarmNames is a required field
AlarmNames []*string `type:"list" required:"true"`
}
@ -953,9 +1143,13 @@ type DescribeAlarmsForMetricInput struct {
Dimensions []*Dimension `type:"list"`
// The name of the metric.
//
// MetricName is a required field
MetricName *string `min:"1" type:"string" required:"true"`
// The namespace of the metric.
//
// Namespace is a required field
Namespace *string `min:"1" type:"string" required:"true"`
// The period in seconds over which the statistic is applied.
@ -1114,9 +1308,13 @@ type Dimension struct {
_ struct{} `type:"structure"`
// The name of the dimension.
//
// Name is a required field
Name *string `min:"1" type:"string" required:"true"`
// The value representing the dimension measurement
//
// Value is a required field
Value *string `min:"1" type:"string" required:"true"`
}
@ -1157,6 +1355,8 @@ type DimensionFilter struct {
_ struct{} `type:"structure"`
// The dimension name to be matched.
//
// Name is a required field
Name *string `min:"1" type:"string" required:"true"`
// The value of the dimension to be matched.
@ -1199,6 +1399,8 @@ type DisableAlarmActionsInput struct {
_ struct{} `type:"structure"`
// The names of the alarms to disable actions for.
//
// AlarmNames is a required field
AlarmNames []*string `type:"list" required:"true"`
}
@ -1244,6 +1446,8 @@ type EnableAlarmActionsInput struct {
_ struct{} `type:"structure"`
// The names of the alarms to enable actions for.
//
// AlarmNames is a required field
AlarmNames []*string `type:"list" required:"true"`
}
@ -1294,17 +1498,25 @@ type GetMetricStatisticsInput struct {
// The time stamp to use for determining the last datapoint to return. The value
// specified is exclusive; results will include datapoints up to the time stamp
// specified. The time stamp must be in ISO 8601 UTC format (e.g., 2014-09-03T23:00:00Z).
//
// EndTime is a required field
EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
// The name of the metric, with or without spaces.
//
// MetricName is a required field
MetricName *string `min:"1" type:"string" required:"true"`
// The namespace of the metric, with or without spaces.
//
// Namespace is a required field
Namespace *string `min:"1" type:"string" required:"true"`
// The granularity, in seconds, of the returned datapoints. A Period can be
// as short as one minute (60 seconds) or as long as one day (86,400 seconds),
// and must be a multiple of 60. The default value is 60.
//
// Period is a required field
Period *int64 `min:"60" type:"integer" required:"true"`
// The time stamp to use for determining the first datapoint to return. The
@ -1318,11 +1530,15 @@ type GetMetricStatisticsInput struct {
//
// Data that is timestamped 24 hours or more in the past may take in excess
// of 48 hours to become available from submission time using GetMetricStatistics.
//
// StartTime is a required field
StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
// The metric statistics to return. For information about specific statistics
// returned by GetMetricStatistics, see Statistics (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Statistic)
// in the Amazon CloudWatch Developer Guide.
//
// Statistics is a required field
Statistics []*string `min:"1" type:"list" required:"true"`
// The specific unit for a given metric. Metrics may be reported in multiple
@ -1617,6 +1833,8 @@ type MetricDatum struct {
Dimensions []*Dimension `type:"list"`
// The name of the metric.
//
// MetricName is a required field
MetricName *string `min:"1" type:"string" required:"true"`
// A set of statistical values describing the metric.
@ -1711,16 +1929,22 @@ type PutMetricAlarmInput struct {
// The descriptive name for the alarm. This name must be unique within the user's
// AWS account
//
// AlarmName is a required field
AlarmName *string `min:"1" type:"string" required:"true"`
// The arithmetic operation to use when comparing the specified Statistic and
// Threshold. The specified Statistic value is used as the first operand.
//
// ComparisonOperator is a required field
ComparisonOperator *string `type:"string" required:"true" enum:"ComparisonOperator"`
// The dimensions for the alarm's associated metric.
Dimensions []*Dimension `type:"list"`
// The number of periods over which data is compared to the specified threshold.
//
// EvaluationPeriods is a required field
EvaluationPeriods *int64 `min:"1" type:"integer" required:"true"`
// The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA
@ -1741,9 +1965,13 @@ type PutMetricAlarmInput struct {
InsufficientDataActions []*string `type:"list"`
// The name for the alarm's associated metric.
//
// MetricName is a required field
MetricName *string `min:"1" type:"string" required:"true"`
// The namespace for the alarm's associated metric.
//
// Namespace is a required field
Namespace *string `min:"1" type:"string" required:"true"`
// The list of actions to execute when this alarm transitions into an OK state
@ -1764,12 +1992,18 @@ type PutMetricAlarmInput struct {
OKActions []*string `type:"list"`
// The period in seconds over which the specified statistic is applied.
//
// Period is a required field
Period *int64 `min:"60" type:"integer" required:"true"`
// The statistic to apply to the alarm's associated metric.
//
// Statistic is a required field
Statistic *string `type:"string" required:"true" enum:"Statistic"`
// The value against which the specified statistic is compared.
//
// Threshold is a required field
Threshold *float64 `type:"double" required:"true"`
// The statistic's unit of measure. For example, the units for the Amazon EC2
@ -1873,6 +2107,8 @@ type PutMetricDataInput struct {
_ struct{} `type:"structure"`
// A list of data describing the metric.
//
// MetricData is a required field
MetricData []*MetricDatum `type:"list" required:"true"`
// The namespace for the metric data.
@ -1880,6 +2116,8 @@ type PutMetricDataInput struct {
// You cannot specify a namespace that begins with "AWS/". Namespaces that
// begin with "AWS/" are reserved for other Amazon Web Services products that
// send metrics to Amazon CloudWatch.
//
// Namespace is a required field
Namespace *string `min:"1" type:"string" required:"true"`
}
@ -1942,10 +2180,14 @@ type SetAlarmStateInput struct {
// The descriptive name for the alarm. This name must be unique within the user's
// AWS account. The maximum length is 255 characters.
//
// AlarmName is a required field
AlarmName *string `min:"1" type:"string" required:"true"`
// The reason that this alarm is set to this specific state (in human-readable
// text format)
//
// StateReason is a required field
StateReason *string `type:"string" required:"true"`
// The reason that this alarm is set to this specific state (in machine-readable
@ -1953,6 +2195,8 @@ type SetAlarmStateInput struct {
StateReasonData *string `type:"string"`
// The value of the state.
//
// StateValue is a required field
StateValue *string `type:"string" required:"true" enum:"StateValue"`
}
@ -2008,15 +2252,23 @@ type StatisticSet struct {
_ struct{} `type:"structure"`
// The maximum value of the sample set.
//
// Maximum is a required field
Maximum *float64 `type:"double" required:"true"`
// The minimum value of the sample set.
//
// Minimum is a required field
Minimum *float64 `type:"double" required:"true"`
// The number of samples used for the statistic set.
//
// SampleCount is a required field
SampleCount *float64 `type:"double" required:"true"`
// The sum of values for the sample set.
//
// Sum is a required field
Sum *float64 `type:"double" required:"true"`
}
@ -2053,100 +2305,137 @@ func (s *StatisticSet) Validate() error {
}
const (
// @enum ComparisonOperator
// ComparisonOperatorGreaterThanOrEqualToThreshold is a ComparisonOperator enum value
ComparisonOperatorGreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold"
// @enum ComparisonOperator
// ComparisonOperatorGreaterThanThreshold is a ComparisonOperator enum value
ComparisonOperatorGreaterThanThreshold = "GreaterThanThreshold"
// @enum ComparisonOperator
// ComparisonOperatorLessThanThreshold is a ComparisonOperator enum value
ComparisonOperatorLessThanThreshold = "LessThanThreshold"
// @enum ComparisonOperator
// ComparisonOperatorLessThanOrEqualToThreshold is a ComparisonOperator enum value
ComparisonOperatorLessThanOrEqualToThreshold = "LessThanOrEqualToThreshold"
)
const (
// @enum HistoryItemType
// HistoryItemTypeConfigurationUpdate is a HistoryItemType enum value
HistoryItemTypeConfigurationUpdate = "ConfigurationUpdate"
// @enum HistoryItemType
// HistoryItemTypeStateUpdate is a HistoryItemType enum value
HistoryItemTypeStateUpdate = "StateUpdate"
// @enum HistoryItemType
// HistoryItemTypeAction is a HistoryItemType enum value
HistoryItemTypeAction = "Action"
)
const (
// @enum StandardUnit
// StandardUnitSeconds is a StandardUnit enum value
StandardUnitSeconds = "Seconds"
// @enum StandardUnit
// StandardUnitMicroseconds is a StandardUnit enum value
StandardUnitMicroseconds = "Microseconds"
// @enum StandardUnit
// StandardUnitMilliseconds is a StandardUnit enum value
StandardUnitMilliseconds = "Milliseconds"
// @enum StandardUnit
// StandardUnitBytes is a StandardUnit enum value
StandardUnitBytes = "Bytes"
// @enum StandardUnit
// StandardUnitKilobytes is a StandardUnit enum value
StandardUnitKilobytes = "Kilobytes"
// @enum StandardUnit
// StandardUnitMegabytes is a StandardUnit enum value
StandardUnitMegabytes = "Megabytes"
// @enum StandardUnit
// StandardUnitGigabytes is a StandardUnit enum value
StandardUnitGigabytes = "Gigabytes"
// @enum StandardUnit
// StandardUnitTerabytes is a StandardUnit enum value
StandardUnitTerabytes = "Terabytes"
// @enum StandardUnit
// StandardUnitBits is a StandardUnit enum value
StandardUnitBits = "Bits"
// @enum StandardUnit
// StandardUnitKilobits is a StandardUnit enum value
StandardUnitKilobits = "Kilobits"
// @enum StandardUnit
// StandardUnitMegabits is a StandardUnit enum value
StandardUnitMegabits = "Megabits"
// @enum StandardUnit
// StandardUnitGigabits is a StandardUnit enum value
StandardUnitGigabits = "Gigabits"
// @enum StandardUnit
// StandardUnitTerabits is a StandardUnit enum value
StandardUnitTerabits = "Terabits"
// @enum StandardUnit
// StandardUnitPercent is a StandardUnit enum value
StandardUnitPercent = "Percent"
// @enum StandardUnit
// StandardUnitCount is a StandardUnit enum value
StandardUnitCount = "Count"
// @enum StandardUnit
// StandardUnitBytesSecond is a StandardUnit enum value
StandardUnitBytesSecond = "Bytes/Second"
// @enum StandardUnit
// StandardUnitKilobytesSecond is a StandardUnit enum value
StandardUnitKilobytesSecond = "Kilobytes/Second"
// @enum StandardUnit
// StandardUnitMegabytesSecond is a StandardUnit enum value
StandardUnitMegabytesSecond = "Megabytes/Second"
// @enum StandardUnit
// StandardUnitGigabytesSecond is a StandardUnit enum value
StandardUnitGigabytesSecond = "Gigabytes/Second"
// @enum StandardUnit
// StandardUnitTerabytesSecond is a StandardUnit enum value
StandardUnitTerabytesSecond = "Terabytes/Second"
// @enum StandardUnit
// StandardUnitBitsSecond is a StandardUnit enum value
StandardUnitBitsSecond = "Bits/Second"
// @enum StandardUnit
// StandardUnitKilobitsSecond is a StandardUnit enum value
StandardUnitKilobitsSecond = "Kilobits/Second"
// @enum StandardUnit
// StandardUnitMegabitsSecond is a StandardUnit enum value
StandardUnitMegabitsSecond = "Megabits/Second"
// @enum StandardUnit
// StandardUnitGigabitsSecond is a StandardUnit enum value
StandardUnitGigabitsSecond = "Gigabits/Second"
// @enum StandardUnit
// StandardUnitTerabitsSecond is a StandardUnit enum value
StandardUnitTerabitsSecond = "Terabits/Second"
// @enum StandardUnit
// StandardUnitCountSecond is a StandardUnit enum value
StandardUnitCountSecond = "Count/Second"
// @enum StandardUnit
// StandardUnitNone is a StandardUnit enum value
StandardUnitNone = "None"
)
const (
// @enum StateValue
// StateValueOk is a StateValue enum value
StateValueOk = "OK"
// @enum StateValue
// StateValueAlarm is a StateValue enum value
StateValueAlarm = "ALARM"
// @enum StateValue
// StateValueInsufficientData is a StateValue enum value
StateValueInsufficientData = "INSUFFICIENT_DATA"
)
const (
// @enum Statistic
// StatisticSampleCount is a Statistic enum value
StatisticSampleCount = "SampleCount"
// @enum Statistic
// StatisticAverage is a Statistic enum value
StatisticAverage = "Average"
// @enum Statistic
// StatisticSum is a Statistic enum value
StatisticSum = "Sum"
// @enum Statistic
// StatisticMinimum is a Statistic enum value
StatisticMinimum = "Minimum"
// @enum Statistic
// StatisticMaximum is a Statistic enum value
StatisticMaximum = "Maximum"
)

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilAlarmExists uses the CloudWatch API operation
// DescribeAlarms to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *CloudWatch) WaitUntilAlarmExists(input *DescribeAlarmsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeAlarms",

View File

@ -20,6 +20,8 @@ const opDeleteRule = "DeleteRule"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DeleteRule for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -56,12 +58,29 @@ func (c *CloudWatchEvents) DeleteRuleRequest(input *DeleteRuleInput) (req *reque
return
}
// DeleteRule API operation for Amazon CloudWatch Events.
//
// Deletes a rule. You must remove all targets from a rule using RemoveTargets
// before you can delete the rule.
//
// Note: When you delete a rule, incoming events might still continue to match
// to the deleted rule. Please allow a short period of time for changes to take
// effect.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch Events's
// API operation DeleteRule for usage and error information.
//
// Returned Error Codes:
// * ConcurrentModificationException
// This exception occurs if there is concurrent modification on rule or target.
//
// * InternalException
// This exception occurs due to unexpected causes.
//
func (c *CloudWatchEvents) DeleteRule(input *DeleteRuleInput) (*DeleteRuleOutput, error) {
req, out := c.DeleteRuleRequest(input)
err := req.Send()
@ -75,6 +94,8 @@ const opDescribeRule = "DescribeRule"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DescribeRule for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -109,7 +130,24 @@ func (c *CloudWatchEvents) DescribeRuleRequest(input *DescribeRuleInput) (req *r
return
}
// DescribeRule API operation for Amazon CloudWatch Events.
//
// Describes the details of the specified rule.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch Events's
// API operation DescribeRule for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// The rule does not exist.
//
// * InternalException
// This exception occurs due to unexpected causes.
//
func (c *CloudWatchEvents) DescribeRule(input *DescribeRuleInput) (*DescribeRuleOutput, error) {
req, out := c.DescribeRuleRequest(input)
err := req.Send()
@ -123,6 +161,8 @@ const opDisableRule = "DisableRule"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DisableRule for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -159,12 +199,32 @@ func (c *CloudWatchEvents) DisableRuleRequest(input *DisableRuleInput) (req *req
return
}
// DisableRule API operation for Amazon CloudWatch Events.
//
// Disables a rule. A disabled rule won't match any events, and won't self-trigger
// if it has a schedule expression.
//
// Note: When you disable a rule, incoming events might still continue to
// match to the disabled rule. Please allow a short period of time for changes
// to take effect.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch Events's
// API operation DisableRule for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// The rule does not exist.
//
// * ConcurrentModificationException
// This exception occurs if there is concurrent modification on rule or target.
//
// * InternalException
// This exception occurs due to unexpected causes.
//
func (c *CloudWatchEvents) DisableRule(input *DisableRuleInput) (*DisableRuleOutput, error) {
req, out := c.DisableRuleRequest(input)
err := req.Send()
@ -178,6 +238,8 @@ const opEnableRule = "EnableRule"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See EnableRule for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -214,11 +276,31 @@ func (c *CloudWatchEvents) EnableRuleRequest(input *EnableRuleInput) (req *reque
return
}
// EnableRule API operation for Amazon CloudWatch Events.
//
// Enables a rule. If the rule does not exist, the operation fails.
//
// Note: When you enable a rule, incoming events might not immediately start
// matching to a newly enabled rule. Please allow a short period of time for
// changes to take effect.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch Events's
// API operation EnableRule for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// The rule does not exist.
//
// * ConcurrentModificationException
// This exception occurs if there is concurrent modification on rule or target.
//
// * InternalException
// This exception occurs due to unexpected causes.
//
func (c *CloudWatchEvents) EnableRule(input *EnableRuleInput) (*EnableRuleOutput, error) {
req, out := c.EnableRuleRequest(input)
err := req.Send()
@ -232,6 +314,8 @@ const opListRuleNamesByTarget = "ListRuleNamesByTarget"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ListRuleNamesByTarget for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -266,12 +350,26 @@ func (c *CloudWatchEvents) ListRuleNamesByTargetRequest(input *ListRuleNamesByTa
return
}
// ListRuleNamesByTarget API operation for Amazon CloudWatch Events.
//
// Lists the names of the rules that the given target is put to. You can see
// which of the rules in Amazon CloudWatch Events can invoke a specific target
// in your account. If you have more rules in your account than the given limit,
// the results will be paginated. In that case, use the next token returned
// in the response and repeat ListRulesByTarget until the NextToken in the response
// is returned as null.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch Events's
// API operation ListRuleNamesByTarget for usage and error information.
//
// Returned Error Codes:
// * InternalException
// This exception occurs due to unexpected causes.
//
func (c *CloudWatchEvents) ListRuleNamesByTarget(input *ListRuleNamesByTargetInput) (*ListRuleNamesByTargetOutput, error) {
req, out := c.ListRuleNamesByTargetRequest(input)
err := req.Send()
@ -285,6 +383,8 @@ const opListRules = "ListRules"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ListRules for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -319,11 +419,25 @@ func (c *CloudWatchEvents) ListRulesRequest(input *ListRulesInput) (req *request
return
}
// ListRules API operation for Amazon CloudWatch Events.
//
// Lists the Amazon CloudWatch Events rules in your account. You can either
// list all the rules or you can provide a prefix to match to the rule names.
// If you have more rules in your account than the given limit, the results
// will be paginated. In that case, use the next token returned in the response
// and repeat ListRules until the NextToken in the response is returned as null.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch Events's
// API operation ListRules for usage and error information.
//
// Returned Error Codes:
// * InternalException
// This exception occurs due to unexpected causes.
//
func (c *CloudWatchEvents) ListRules(input *ListRulesInput) (*ListRulesOutput, error) {
req, out := c.ListRulesRequest(input)
err := req.Send()
@ -337,6 +451,8 @@ const opListTargetsByRule = "ListTargetsByRule"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ListTargetsByRule for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -371,7 +487,24 @@ func (c *CloudWatchEvents) ListTargetsByRuleRequest(input *ListTargetsByRuleInpu
return
}
// ListTargetsByRule API operation for Amazon CloudWatch Events.
//
// Lists of targets assigned to the rule.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch Events's
// API operation ListTargetsByRule for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// The rule does not exist.
//
// * InternalException
// This exception occurs due to unexpected causes.
//
func (c *CloudWatchEvents) ListTargetsByRule(input *ListTargetsByRuleInput) (*ListTargetsByRuleOutput, error) {
req, out := c.ListTargetsByRuleRequest(input)
err := req.Send()
@ -385,6 +518,8 @@ const opPutEvents = "PutEvents"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See PutEvents for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -419,8 +554,22 @@ func (c *CloudWatchEvents) PutEventsRequest(input *PutEventsInput) (req *request
return
}
// PutEvents API operation for Amazon CloudWatch Events.
//
// Sends custom events to Amazon CloudWatch Events so that they can be matched
// to rules.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch Events's
// API operation PutEvents for usage and error information.
//
// Returned Error Codes:
// * InternalException
// This exception occurs due to unexpected causes.
//
func (c *CloudWatchEvents) PutEvents(input *PutEventsInput) (*PutEventsOutput, error) {
req, out := c.PutEventsRequest(input)
err := req.Send()
@ -434,6 +583,8 @@ const opPutRule = "PutRule"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See PutRule for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -468,6 +619,8 @@ func (c *CloudWatchEvents) PutRuleRequest(input *PutRuleInput) (req *request.Req
return
}
// PutRule API operation for Amazon CloudWatch Events.
//
// Creates or updates a rule. Rules are enabled by default, or based on value
// of the State parameter. You can disable a rule using DisableRule.
//
@ -486,6 +639,28 @@ func (c *CloudWatchEvents) PutRuleRequest(input *PutRuleInput) (req *request.Req
// event patterns and rules. Be sure to use the correct ARN characters when
// creating event patterns so that they match the ARN syntax in the event you
// want to match.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch Events's
// API operation PutRule for usage and error information.
//
// Returned Error Codes:
// * InvalidEventPatternException
// The event pattern is invalid.
//
// * LimitExceededException
// This exception occurs if you try to create more rules or add more targets
// to a rule than allowed by default.
//
// * ConcurrentModificationException
// This exception occurs if there is concurrent modification on rule or target.
//
// * InternalException
// This exception occurs due to unexpected causes.
//
func (c *CloudWatchEvents) PutRule(input *PutRuleInput) (*PutRuleOutput, error) {
req, out := c.PutRuleRequest(input)
err := req.Send()
@ -499,6 +674,8 @@ const opPutTargets = "PutTargets"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See PutTargets for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -533,6 +710,8 @@ func (c *CloudWatchEvents) PutTargetsRequest(input *PutTargetsInput) (req *reque
return
}
// PutTargets API operation for Amazon CloudWatch Events.
//
// Adds target(s) to a rule. Targets are the resources that can be invoked when
// a rule is triggered. For example, AWS Lambda functions, Amazon Kinesis streams,
// and built-in targets. Updates the target(s) if they are already associated
@ -557,6 +736,28 @@ func (c *CloudWatchEvents) PutTargetsRequest(input *PutTargetsInput) (req *reque
// is overridden with this constant. Note: When you add targets to a rule,
// when the associated rule triggers, new or updated targets might not be immediately
// invoked. Please allow a short period of time for changes to take effect.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch Events's
// API operation PutTargets for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// The rule does not exist.
//
// * ConcurrentModificationException
// This exception occurs if there is concurrent modification on rule or target.
//
// * LimitExceededException
// This exception occurs if you try to create more rules or add more targets
// to a rule than allowed by default.
//
// * InternalException
// This exception occurs due to unexpected causes.
//
func (c *CloudWatchEvents) PutTargets(input *PutTargetsInput) (*PutTargetsOutput, error) {
req, out := c.PutTargetsRequest(input)
err := req.Send()
@ -570,6 +771,8 @@ const opRemoveTargets = "RemoveTargets"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See RemoveTargets for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -604,12 +807,32 @@ func (c *CloudWatchEvents) RemoveTargetsRequest(input *RemoveTargetsInput) (req
return
}
// RemoveTargets API operation for Amazon CloudWatch Events.
//
// Removes target(s) from a rule so that when the rule is triggered, those targets
// will no longer be invoked.
//
// Note: When you remove a target, when the associated rule triggers, removed
// targets might still continue to be invoked. Please allow a short period of
// time for changes to take effect.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch Events's
// API operation RemoveTargets for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// The rule does not exist.
//
// * ConcurrentModificationException
// This exception occurs if there is concurrent modification on rule or target.
//
// * InternalException
// This exception occurs due to unexpected causes.
//
func (c *CloudWatchEvents) RemoveTargets(input *RemoveTargetsInput) (*RemoveTargetsOutput, error) {
req, out := c.RemoveTargetsRequest(input)
err := req.Send()
@ -623,6 +846,8 @@ const opTestEventPattern = "TestEventPattern"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See TestEventPattern for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -657,6 +882,8 @@ func (c *CloudWatchEvents) TestEventPatternRequest(input *TestEventPatternInput)
return
}
// TestEventPattern API operation for Amazon CloudWatch Events.
//
// Tests whether an event pattern matches the provided event.
//
// Note: Most services in AWS treat : or / as the same character in Amazon
@ -664,6 +891,21 @@ func (c *CloudWatchEvents) TestEventPatternRequest(input *TestEventPatternInput)
// event patterns and rules. Be sure to use the correct ARN characters when
// creating event patterns so that they match the ARN syntax in the event you
// want to match.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch Events's
// API operation TestEventPattern for usage and error information.
//
// Returned Error Codes:
// * InvalidEventPatternException
// The event pattern is invalid.
//
// * InternalException
// This exception occurs due to unexpected causes.
//
func (c *CloudWatchEvents) TestEventPattern(input *TestEventPatternInput) (*TestEventPatternOutput, error) {
req, out := c.TestEventPatternRequest(input)
err := req.Send()
@ -675,6 +917,8 @@ type DeleteRuleInput struct {
_ struct{} `type:"structure"`
// The name of the rule to be deleted.
//
// Name is a required field
Name *string `min:"1" type:"string" required:"true"`
}
@ -723,6 +967,8 @@ type DescribeRuleInput struct {
_ struct{} `type:"structure"`
// The name of the rule you want to describe details for.
//
// Name is a required field
Name *string `min:"1" type:"string" required:"true"`
}
@ -793,6 +1039,8 @@ type DisableRuleInput struct {
_ struct{} `type:"structure"`
// The name of the rule you want to disable.
//
// Name is a required field
Name *string `min:"1" type:"string" required:"true"`
}
@ -841,6 +1089,8 @@ type EnableRuleInput struct {
_ struct{} `type:"structure"`
// The name of the rule that you want to enable.
//
// Name is a required field
Name *string `min:"1" type:"string" required:"true"`
}
@ -897,6 +1147,8 @@ type ListRuleNamesByTargetInput struct {
// The Amazon Resource Name (ARN) of the target resource that you want to list
// the rules for.
//
// TargetArn is a required field
TargetArn *string `min:"1" type:"string" required:"true"`
}
@ -1030,6 +1282,8 @@ type ListTargetsByRuleInput struct {
NextToken *string `min:"1" type:"string"`
// The name of the rule whose targets you want to list.
//
// Rule is a required field
Rule *string `min:"1" type:"string" required:"true"`
}
@ -1093,6 +1347,8 @@ type PutEventsInput struct {
// The entry that defines an event in your system. You can specify several parameters
// for the entry such as the source and type of the event, resources associated
// with the event, and so on.
//
// Entries is a required field
Entries []*PutEventsRequestEntry `min:"1" type:"list" required:"true"`
}
@ -1215,6 +1471,8 @@ type PutRuleInput struct {
EventPattern *string `type:"string"`
// The name of the rule that you are creating or updating.
//
// Name is a required field
Name *string `min:"1" type:"string" required:"true"`
// The Amazon Resource Name (ARN) of the IAM role associated with the rule.
@ -1279,9 +1537,13 @@ type PutTargetsInput struct {
_ struct{} `type:"structure"`
// The name of the rule you want to add targets to.
//
// Rule is a required field
Rule *string `min:"1" type:"string" required:"true"`
// List of targets you want to update or add to the rule.
//
// Targets is a required field
Targets []*Target `type:"list" required:"true"`
}
@ -1374,9 +1636,13 @@ type RemoveTargetsInput struct {
_ struct{} `type:"structure"`
// The list of target IDs to remove from the rule.
//
// Ids is a required field
Ids []*string `min:"1" type:"list" required:"true"`
// The name of the rule you want to remove targets from.
//
// Rule is a required field
Rule *string `min:"1" type:"string" required:"true"`
}
@ -1512,9 +1778,13 @@ type Target struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) associated of the target.
//
// Arn is a required field
Arn *string `min:"1" type:"string" required:"true"`
// The unique target assignment ID.
//
// Id is a required field
Id *string `min:"1" type:"string" required:"true"`
// Valid JSON text passed to the target. For more information about JSON text,
@ -1564,9 +1834,13 @@ type TestEventPatternInput struct {
_ struct{} `type:"structure"`
// The event in the JSON format to test against the event pattern.
//
// Event is a required field
Event *string `type:"string" required:"true"`
// The event pattern you want to test.
//
// EventPattern is a required field
EventPattern *string `type:"string" required:"true"`
}
@ -1615,8 +1889,9 @@ func (s TestEventPatternOutput) GoString() string {
}
const (
// @enum RuleState
// RuleStateEnabled is a RuleState enum value
RuleStateEnabled = "ENABLED"
// @enum RuleState
// RuleStateDisabled is a RuleState enum value
RuleStateDisabled = "DISABLED"
)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilDeploymentSuccessful uses the CodeDeploy API operation
// GetDeployment to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *CodeDeploy) WaitUntilDeploymentSuccessful(input *GetDeploymentInput) error {
waiterCfg := waiter.Config{
Operation: "GetDeployment",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilTableExists uses the DynamoDB API operation
// DescribeTable to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *DynamoDB) WaitUntilTableExists(input *DescribeTableInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeTable",
@ -35,6 +39,10 @@ func (c *DynamoDB) WaitUntilTableExists(input *DescribeTableInput) error {
return w.Wait()
}
// WaitUntilTableNotExists uses the DynamoDB API operation
// DescribeTable to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *DynamoDB) WaitUntilTableNotExists(input *DescribeTableInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeTable",

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilBundleTaskComplete uses the Amazon EC2 API operation
// DescribeBundleTasks to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilBundleTaskComplete(input *DescribeBundleTasksInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeBundleTasks",
@ -35,6 +39,10 @@ func (c *EC2) WaitUntilBundleTaskComplete(input *DescribeBundleTasksInput) error
return w.Wait()
}
// WaitUntilConversionTaskCancelled uses the Amazon EC2 API operation
// DescribeConversionTasks to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilConversionTaskCancelled(input *DescribeConversionTasksInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeConversionTasks",
@ -58,6 +66,10 @@ func (c *EC2) WaitUntilConversionTaskCancelled(input *DescribeConversionTasksInp
return w.Wait()
}
// WaitUntilConversionTaskCompleted uses the Amazon EC2 API operation
// DescribeConversionTasks to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilConversionTaskCompleted(input *DescribeConversionTasksInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeConversionTasks",
@ -93,6 +105,10 @@ func (c *EC2) WaitUntilConversionTaskCompleted(input *DescribeConversionTasksInp
return w.Wait()
}
// WaitUntilConversionTaskDeleted uses the Amazon EC2 API operation
// DescribeConversionTasks to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilConversionTaskDeleted(input *DescribeConversionTasksInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeConversionTasks",
@ -116,6 +132,10 @@ func (c *EC2) WaitUntilConversionTaskDeleted(input *DescribeConversionTasksInput
return w.Wait()
}
// WaitUntilCustomerGatewayAvailable uses the Amazon EC2 API operation
// DescribeCustomerGateways to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilCustomerGatewayAvailable(input *DescribeCustomerGatewaysInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeCustomerGateways",
@ -151,6 +171,10 @@ func (c *EC2) WaitUntilCustomerGatewayAvailable(input *DescribeCustomerGatewaysI
return w.Wait()
}
// WaitUntilExportTaskCancelled uses the Amazon EC2 API operation
// DescribeExportTasks to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilExportTaskCancelled(input *DescribeExportTasksInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeExportTasks",
@ -174,6 +198,10 @@ func (c *EC2) WaitUntilExportTaskCancelled(input *DescribeExportTasksInput) erro
return w.Wait()
}
// WaitUntilExportTaskCompleted uses the Amazon EC2 API operation
// DescribeExportTasks to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilExportTaskCompleted(input *DescribeExportTasksInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeExportTasks",
@ -197,6 +225,10 @@ func (c *EC2) WaitUntilExportTaskCompleted(input *DescribeExportTasksInput) erro
return w.Wait()
}
// WaitUntilImageAvailable uses the Amazon EC2 API operation
// DescribeImages to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilImageAvailable(input *DescribeImagesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeImages",
@ -226,6 +258,10 @@ func (c *EC2) WaitUntilImageAvailable(input *DescribeImagesInput) error {
return w.Wait()
}
// WaitUntilImageExists uses the Amazon EC2 API operation
// DescribeImages to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilImageExists(input *DescribeImagesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeImages",
@ -255,6 +291,10 @@ func (c *EC2) WaitUntilImageExists(input *DescribeImagesInput) error {
return w.Wait()
}
// WaitUntilInstanceExists uses the Amazon EC2 API operation
// DescribeInstances to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilInstanceExists(input *DescribeInstancesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeInstances",
@ -284,6 +324,10 @@ func (c *EC2) WaitUntilInstanceExists(input *DescribeInstancesInput) error {
return w.Wait()
}
// WaitUntilInstanceRunning uses the Amazon EC2 API operation
// DescribeInstances to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilInstanceRunning(input *DescribeInstancesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeInstances",
@ -331,6 +375,10 @@ func (c *EC2) WaitUntilInstanceRunning(input *DescribeInstancesInput) error {
return w.Wait()
}
// WaitUntilInstanceStatusOk uses the Amazon EC2 API operation
// DescribeInstanceStatus to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilInstanceStatusOk(input *DescribeInstanceStatusInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeInstanceStatus",
@ -360,6 +408,10 @@ func (c *EC2) WaitUntilInstanceStatusOk(input *DescribeInstanceStatusInput) erro
return w.Wait()
}
// WaitUntilInstanceStopped uses the Amazon EC2 API operation
// DescribeInstances to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilInstanceStopped(input *DescribeInstancesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeInstances",
@ -395,6 +447,10 @@ func (c *EC2) WaitUntilInstanceStopped(input *DescribeInstancesInput) error {
return w.Wait()
}
// WaitUntilInstanceTerminated uses the Amazon EC2 API operation
// DescribeInstances to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilInstanceTerminated(input *DescribeInstancesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeInstances",
@ -430,6 +486,10 @@ func (c *EC2) WaitUntilInstanceTerminated(input *DescribeInstancesInput) error {
return w.Wait()
}
// WaitUntilKeyPairExists uses the Amazon EC2 API operation
// DescribeKeyPairs to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilKeyPairExists(input *DescribeKeyPairsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeKeyPairs",
@ -459,6 +519,10 @@ func (c *EC2) WaitUntilKeyPairExists(input *DescribeKeyPairsInput) error {
return w.Wait()
}
// WaitUntilNatGatewayAvailable uses the Amazon EC2 API operation
// DescribeNatGateways to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilNatGatewayAvailable(input *DescribeNatGatewaysInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeNatGateways",
@ -506,6 +570,10 @@ func (c *EC2) WaitUntilNatGatewayAvailable(input *DescribeNatGatewaysInput) erro
return w.Wait()
}
// WaitUntilNetworkInterfaceAvailable uses the Amazon EC2 API operation
// DescribeNetworkInterfaces to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilNetworkInterfaceAvailable(input *DescribeNetworkInterfacesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeNetworkInterfaces",
@ -535,6 +603,10 @@ func (c *EC2) WaitUntilNetworkInterfaceAvailable(input *DescribeNetworkInterface
return w.Wait()
}
// WaitUntilPasswordDataAvailable uses the Amazon EC2 API operation
// GetPasswordData to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilPasswordDataAvailable(input *GetPasswordDataInput) error {
waiterCfg := waiter.Config{
Operation: "GetPasswordData",
@ -558,6 +630,10 @@ func (c *EC2) WaitUntilPasswordDataAvailable(input *GetPasswordDataInput) error
return w.Wait()
}
// WaitUntilSnapshotCompleted uses the Amazon EC2 API operation
// DescribeSnapshots to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilSnapshotCompleted(input *DescribeSnapshotsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeSnapshots",
@ -581,6 +657,10 @@ func (c *EC2) WaitUntilSnapshotCompleted(input *DescribeSnapshotsInput) error {
return w.Wait()
}
// WaitUntilSpotInstanceRequestFulfilled uses the Amazon EC2 API operation
// DescribeSpotInstanceRequests to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilSpotInstanceRequestFulfilled(input *DescribeSpotInstanceRequestsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeSpotInstanceRequests",
@ -628,6 +708,10 @@ func (c *EC2) WaitUntilSpotInstanceRequestFulfilled(input *DescribeSpotInstanceR
return w.Wait()
}
// WaitUntilSubnetAvailable uses the Amazon EC2 API operation
// DescribeSubnets to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilSubnetAvailable(input *DescribeSubnetsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeSubnets",
@ -651,6 +735,10 @@ func (c *EC2) WaitUntilSubnetAvailable(input *DescribeSubnetsInput) error {
return w.Wait()
}
// WaitUntilSystemStatusOk uses the Amazon EC2 API operation
// DescribeInstanceStatus to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilSystemStatusOk(input *DescribeInstanceStatusInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeInstanceStatus",
@ -674,6 +762,10 @@ func (c *EC2) WaitUntilSystemStatusOk(input *DescribeInstanceStatusInput) error
return w.Wait()
}
// WaitUntilVolumeAvailable uses the Amazon EC2 API operation
// DescribeVolumes to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilVolumeAvailable(input *DescribeVolumesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeVolumes",
@ -703,6 +795,10 @@ func (c *EC2) WaitUntilVolumeAvailable(input *DescribeVolumesInput) error {
return w.Wait()
}
// WaitUntilVolumeDeleted uses the Amazon EC2 API operation
// DescribeVolumes to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilVolumeDeleted(input *DescribeVolumesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeVolumes",
@ -732,6 +828,10 @@ func (c *EC2) WaitUntilVolumeDeleted(input *DescribeVolumesInput) error {
return w.Wait()
}
// WaitUntilVolumeInUse uses the Amazon EC2 API operation
// DescribeVolumes to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilVolumeInUse(input *DescribeVolumesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeVolumes",
@ -761,6 +861,10 @@ func (c *EC2) WaitUntilVolumeInUse(input *DescribeVolumesInput) error {
return w.Wait()
}
// WaitUntilVpcAvailable uses the Amazon EC2 API operation
// DescribeVpcs to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilVpcAvailable(input *DescribeVpcsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeVpcs",
@ -784,6 +888,10 @@ func (c *EC2) WaitUntilVpcAvailable(input *DescribeVpcsInput) error {
return w.Wait()
}
// WaitUntilVpcExists uses the Amazon EC2 API operation
// DescribeVpcs to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilVpcExists(input *DescribeVpcsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeVpcs",
@ -813,6 +921,10 @@ func (c *EC2) WaitUntilVpcExists(input *DescribeVpcsInput) error {
return w.Wait()
}
// WaitUntilVpcPeeringConnectionExists uses the Amazon EC2 API operation
// DescribeVpcPeeringConnections to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilVpcPeeringConnectionExists(input *DescribeVpcPeeringConnectionsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeVpcPeeringConnections",
@ -842,6 +954,10 @@ func (c *EC2) WaitUntilVpcPeeringConnectionExists(input *DescribeVpcPeeringConne
return w.Wait()
}
// WaitUntilVpnConnectionAvailable uses the Amazon EC2 API operation
// DescribeVpnConnections to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilVpnConnectionAvailable(input *DescribeVpnConnectionsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeVpnConnections",
@ -877,6 +993,10 @@ func (c *EC2) WaitUntilVpnConnectionAvailable(input *DescribeVpnConnectionsInput
return w.Wait()
}
// WaitUntilVpnConnectionDeleted uses the Amazon EC2 API operation
// DescribeVpnConnections to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EC2) WaitUntilVpnConnectionDeleted(input *DescribeVpnConnectionsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeVpnConnections",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilServicesInactive uses the Amazon ECS API operation
// DescribeServices to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *ECS) WaitUntilServicesInactive(input *DescribeServicesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeServices",
@ -35,6 +39,10 @@ func (c *ECS) WaitUntilServicesInactive(input *DescribeServicesInput) error {
return w.Wait()
}
// WaitUntilServicesStable uses the Amazon ECS API operation
// DescribeServices to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *ECS) WaitUntilServicesStable(input *DescribeServicesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeServices",
@ -76,6 +84,10 @@ func (c *ECS) WaitUntilServicesStable(input *DescribeServicesInput) error {
return w.Wait()
}
// WaitUntilTasksRunning uses the Amazon ECS API operation
// DescribeTasks to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *ECS) WaitUntilTasksRunning(input *DescribeTasksInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeTasks",
@ -111,6 +123,10 @@ func (c *ECS) WaitUntilTasksRunning(input *DescribeTasksInput) error {
return w.Wait()
}
// WaitUntilTasksStopped uses the Amazon ECS API operation
// DescribeTasks to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *ECS) WaitUntilTasksStopped(input *DescribeTasksInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeTasks",

View File

@ -20,6 +20,8 @@ const opCreateFileSystem = "CreateFileSystem"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See CreateFileSystem for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -54,6 +56,8 @@ func (c *EFS) CreateFileSystemRequest(input *CreateFileSystemInput) (req *reques
return
}
// CreateFileSystem API operation for Amazon Elastic File System.
//
// Creates a new, empty file system. The operation requires a creation token
// in the request that Amazon EFS uses to ensure idempotent creation (calling
// the operation with same creation token has no effect). If a file system does
@ -100,6 +104,30 @@ func (c *EFS) CreateFileSystemRequest(input *CreateFileSystemInput) (req *reques
//
// This operation requires permissions for the elasticfilesystem:CreateFileSystem
// action.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic File System's
// API operation CreateFileSystem for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// Returned if an error occurred on the server side.
//
// * FileSystemAlreadyExists
// Returned if the file system you are trying to create already exists, with
// the creation token you provided.
//
// * FileSystemLimitExceeded
// Returned if the AWS account has already created maximum number of file systems
// allowed per account.
//
func (c *EFS) CreateFileSystem(input *CreateFileSystemInput) (*FileSystemDescription, error) {
req, out := c.CreateFileSystemRequest(input)
err := req.Send()
@ -113,6 +141,8 @@ const opCreateMountTarget = "CreateMountTarget"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See CreateMountTarget for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -147,6 +177,8 @@ func (c *EFS) CreateMountTargetRequest(input *CreateMountTargetInput) (req *requ
return
}
// CreateMountTarget API operation for Amazon Elastic File System.
//
// Creates a mount target for a file system. You can then mount the file system
// on EC2 instances via the mount target.
//
@ -243,6 +275,62 @@ func (c *EFS) CreateMountTargetRequest(input *CreateMountTargetInput) (req *requ
// ec2:DescribeNetworkInterfaces
//
// ec2:CreateNetworkInterface
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic File System's
// API operation CreateMountTarget for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// Returned if an error occurred on the server side.
//
// * FileSystemNotFound
// Returned if the specified FileSystemId does not exist in the requester's
// AWS account.
//
// * IncorrectFileSystemLifeCycleState
// Returned if the file system's life cycle state is not "created".
//
// * MountTargetConflict
// Returned if the mount target would violate one of the specified restrictions
// based on the file system's existing mount targets.
//
// * SubnetNotFound
// Returned if there is no subnet with ID SubnetId provided in the request.
//
// * NoFreeAddressesInSubnet
// Returned if IpAddress was not specified in the request and there are no free
// IP addresses in the subnet.
//
// * IpAddressInUse
// Returned if the request specified an IpAddress that is already in use in
// the subnet.
//
// * NetworkInterfaceLimitExceeded
// The calling account has reached the ENI limit for the specific AWS region.
// Client should try to delete some ENIs or get its account limit raised. For
// more information, see Amazon VPC Limits (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html)
// in the Amazon Virtual Private Cloud User Guide (see the Network interfaces
// per VPC entry in the table).
//
// * SecurityGroupLimitExceeded
// Returned if the size of SecurityGroups specified in the request is greater
// than five.
//
// * SecurityGroupNotFound
// Returned if one of the specified security groups does not exist in the subnet's
// VPC.
//
// * UnsupportedAvailabilityZone
//
func (c *EFS) CreateMountTarget(input *CreateMountTargetInput) (*MountTargetDescription, error) {
req, out := c.CreateMountTargetRequest(input)
err := req.Send()
@ -256,6 +344,8 @@ const opCreateTags = "CreateTags"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See CreateTags for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -292,6 +382,8 @@ func (c *EFS) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, o
return
}
// CreateTags API operation for Amazon Elastic File System.
//
// Creates or overwrites tags associated with a file system. Each tag is a key-value
// pair. If a tag key specified in the request already exists on the file system,
// this operation overwrites its value with the value provided in the request.
@ -300,6 +392,26 @@ func (c *EFS) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, o
//
// This operation requires permission for the elasticfilesystem:CreateTags
// action.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic File System's
// API operation CreateTags for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// Returned if an error occurred on the server side.
//
// * FileSystemNotFound
// Returned if the specified FileSystemId does not exist in the requester's
// AWS account.
//
func (c *EFS) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error) {
req, out := c.CreateTagsRequest(input)
err := req.Send()
@ -313,6 +425,8 @@ const opDeleteFileSystem = "DeleteFileSystem"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DeleteFileSystem for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -349,6 +463,8 @@ func (c *EFS) DeleteFileSystemRequest(input *DeleteFileSystemInput) (req *reques
return
}
// DeleteFileSystem API operation for Amazon Elastic File System.
//
// Deletes a file system, permanently severing access to its contents. Upon
// return, the file system no longer exists and you can't access any contents
// of the deleted file system.
@ -365,6 +481,29 @@ func (c *EFS) DeleteFileSystemRequest(input *DeleteFileSystemInput) (req *reques
//
// This operation requires permissions for the elasticfilesystem:DeleteFileSystem
// action.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic File System's
// API operation DeleteFileSystem for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// Returned if an error occurred on the server side.
//
// * FileSystemNotFound
// Returned if the specified FileSystemId does not exist in the requester's
// AWS account.
//
// * FileSystemInUse
// Returned if a file system has mount targets.
//
func (c *EFS) DeleteFileSystem(input *DeleteFileSystemInput) (*DeleteFileSystemOutput, error) {
req, out := c.DeleteFileSystemRequest(input)
err := req.Send()
@ -378,6 +517,8 @@ const opDeleteMountTarget = "DeleteMountTarget"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DeleteMountTarget for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -414,6 +555,8 @@ func (c *EFS) DeleteMountTargetRequest(input *DeleteMountTargetInput) (req *requ
return
}
// DeleteMountTarget API operation for Amazon Elastic File System.
//
// Deletes the specified mount target.
//
// This operation forcibly breaks any mounts of the file system via the mount
@ -439,6 +582,30 @@ func (c *EFS) DeleteMountTargetRequest(input *DeleteMountTargetInput) (req *requ
// on the mount target's network interface:
//
// ec2:DeleteNetworkInterface
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic File System's
// API operation DeleteMountTarget for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// Returned if an error occurred on the server side.
//
// * DependencyTimeout
// The service timed out trying to fulfill the request, and the client should
// try the call again.
//
// * MountTargetNotFound
// Returned if there is no mount target with the specified ID found in the caller's
// account.
//
func (c *EFS) DeleteMountTarget(input *DeleteMountTargetInput) (*DeleteMountTargetOutput, error) {
req, out := c.DeleteMountTargetRequest(input)
err := req.Send()
@ -452,6 +619,8 @@ const opDeleteTags = "DeleteTags"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DeleteTags for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -488,6 +657,8 @@ func (c *EFS) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, o
return
}
// DeleteTags API operation for Amazon Elastic File System.
//
// Deletes the specified tags from a file system. If the DeleteTags request
// includes a tag key that does not exist, Amazon EFS ignores it and doesn't
// cause an error. For more information about tags and related restrictions,
@ -496,6 +667,26 @@ func (c *EFS) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, o
//
// This operation requires permissions for the elasticfilesystem:DeleteTags
// action.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic File System's
// API operation DeleteTags for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// Returned if an error occurred on the server side.
//
// * FileSystemNotFound
// Returned if the specified FileSystemId does not exist in the requester's
// AWS account.
//
func (c *EFS) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) {
req, out := c.DeleteTagsRequest(input)
err := req.Send()
@ -509,6 +700,8 @@ const opDescribeFileSystems = "DescribeFileSystems"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DescribeFileSystems for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -543,6 +736,8 @@ func (c *EFS) DescribeFileSystemsRequest(input *DescribeFileSystemsInput) (req *
return
}
// DescribeFileSystems API operation for Amazon Elastic File System.
//
// Returns the description of a specific Amazon EFS file system if either the
// file system CreationToken or the FileSystemId is provided. Otherwise, it
// returns descriptions of all file systems owned by the caller's AWS account
@ -569,6 +764,26 @@ func (c *EFS) DescribeFileSystemsRequest(input *DescribeFileSystemsInput) (req *
//
// This operation requires permissions for the elasticfilesystem:DescribeFileSystems
// action.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic File System's
// API operation DescribeFileSystems for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// Returned if an error occurred on the server side.
//
// * FileSystemNotFound
// Returned if the specified FileSystemId does not exist in the requester's
// AWS account.
//
func (c *EFS) DescribeFileSystems(input *DescribeFileSystemsInput) (*DescribeFileSystemsOutput, error) {
req, out := c.DescribeFileSystemsRequest(input)
err := req.Send()
@ -582,6 +797,8 @@ const opDescribeMountTargetSecurityGroups = "DescribeMountTargetSecurityGroups"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DescribeMountTargetSecurityGroups for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -616,6 +833,8 @@ func (c *EFS) DescribeMountTargetSecurityGroupsRequest(input *DescribeMountTarge
return
}
// DescribeMountTargetSecurityGroups API operation for Amazon Elastic File System.
//
// Returns the security groups currently in effect for a mount target. This
// operation requires that the network interface of the mount target has been
// created and the lifecycle state of the mount target is not deleted.
@ -627,6 +846,29 @@ func (c *EFS) DescribeMountTargetSecurityGroupsRequest(input *DescribeMountTarge
//
// ec2:DescribeNetworkInterfaceAttribute action on the mount target's network
// interface.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic File System's
// API operation DescribeMountTargetSecurityGroups for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// Returned if an error occurred on the server side.
//
// * MountTargetNotFound
// Returned if there is no mount target with the specified ID found in the caller's
// account.
//
// * IncorrectMountTargetState
// Returned if the mount target is not in the correct state for the operation.
//
func (c *EFS) DescribeMountTargetSecurityGroups(input *DescribeMountTargetSecurityGroupsInput) (*DescribeMountTargetSecurityGroupsOutput, error) {
req, out := c.DescribeMountTargetSecurityGroupsRequest(input)
err := req.Send()
@ -640,6 +882,8 @@ const opDescribeMountTargets = "DescribeMountTargets"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DescribeMountTargets for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -674,6 +918,8 @@ func (c *EFS) DescribeMountTargetsRequest(input *DescribeMountTargetsInput) (req
return
}
// DescribeMountTargets API operation for Amazon Elastic File System.
//
// Returns the descriptions of all the current mount targets, or a specific
// mount target, for a file system. When requesting all of the current mount
// targets, the order of mount targets returned in the response is unspecified.
@ -681,6 +927,30 @@ func (c *EFS) DescribeMountTargetsRequest(input *DescribeMountTargetsInput) (req
// This operation requires permissions for the elasticfilesystem:DescribeMountTargets
// action, on either the file system ID that you specify in FileSystemId, or
// on the file system of the mount target that you specify in MountTargetId.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic File System's
// API operation DescribeMountTargets for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// Returned if an error occurred on the server side.
//
// * FileSystemNotFound
// Returned if the specified FileSystemId does not exist in the requester's
// AWS account.
//
// * MountTargetNotFound
// Returned if there is no mount target with the specified ID found in the caller's
// account.
//
func (c *EFS) DescribeMountTargets(input *DescribeMountTargetsInput) (*DescribeMountTargetsOutput, error) {
req, out := c.DescribeMountTargetsRequest(input)
err := req.Send()
@ -694,6 +964,8 @@ const opDescribeTags = "DescribeTags"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DescribeTags for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -728,12 +1000,34 @@ func (c *EFS) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Reques
return
}
// DescribeTags API operation for Amazon Elastic File System.
//
// Returns the tags associated with a file system. The order of tags returned
// in the response of one DescribeTags call and the order of tags returned across
// the responses of a multi-call iteration (when using pagination) is unspecified.
//
// This operation requires permissions for the elasticfilesystem:DescribeTags
// action.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic File System's
// API operation DescribeTags for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// Returned if an error occurred on the server side.
//
// * FileSystemNotFound
// Returned if the specified FileSystemId does not exist in the requester's
// AWS account.
//
func (c *EFS) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) {
req, out := c.DescribeTagsRequest(input)
err := req.Send()
@ -747,6 +1041,8 @@ const opModifyMountTargetSecurityGroups = "ModifyMountTargetSecurityGroups"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ModifyMountTargetSecurityGroups for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -783,6 +1079,8 @@ func (c *EFS) ModifyMountTargetSecurityGroupsRequest(input *ModifyMountTargetSec
return
}
// ModifyMountTargetSecurityGroups API operation for Amazon Elastic File System.
//
// Modifies the set of security groups in effect for a mount target.
//
// When you create a mount target, Amazon EFS also creates a new network interface.
@ -799,6 +1097,37 @@ func (c *EFS) ModifyMountTargetSecurityGroupsRequest(input *ModifyMountTargetSec
//
// ec2:ModifyNetworkInterfaceAttribute action on the mount target's network
// interface.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic File System's
// API operation ModifyMountTargetSecurityGroups for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// Returned if an error occurred on the server side.
//
// * MountTargetNotFound
// Returned if there is no mount target with the specified ID found in the caller's
// account.
//
// * IncorrectMountTargetState
// Returned if the mount target is not in the correct state for the operation.
//
// * SecurityGroupLimitExceeded
// Returned if the size of SecurityGroups specified in the request is greater
// than five.
//
// * SecurityGroupNotFound
// Returned if one of the specified security groups does not exist in the subnet's
// VPC.
//
func (c *EFS) ModifyMountTargetSecurityGroups(input *ModifyMountTargetSecurityGroupsInput) (*ModifyMountTargetSecurityGroupsOutput, error) {
req, out := c.ModifyMountTargetSecurityGroupsRequest(input)
err := req.Send()
@ -810,6 +1139,8 @@ type CreateFileSystemInput struct {
// String of up to 64 ASCII characters. Amazon EFS uses this to ensure idempotent
// creation.
//
// CreationToken is a required field
CreationToken *string `min:"1" type:"string" required:"true"`
// The PerformanceMode of the file system. We recommend generalPurpose performance
@ -850,6 +1181,8 @@ type CreateMountTargetInput struct {
_ struct{} `type:"structure"`
// ID of the file system for which to create the mount target.
//
// FileSystemId is a required field
FileSystemId *string `type:"string" required:"true"`
// Valid IPv4 address within the address range of the specified subnet.
@ -860,6 +1193,8 @@ type CreateMountTargetInput struct {
SecurityGroups []*string `type:"list"`
// ID of the subnet to add the mount target in.
//
// SubnetId is a required field
SubnetId *string `type:"string" required:"true"`
}
@ -894,9 +1229,13 @@ type CreateTagsInput struct {
// ID of the file system whose tags you want to modify (String). This operation
// modifies the tags only, not the file system.
//
// FileSystemId is a required field
FileSystemId *string `location:"uri" locationName:"FileSystemId" type:"string" required:"true"`
// Array of Tag objects to add. Each Tag object is a key-value pair.
//
// Tags is a required field
Tags []*Tag `type:"list" required:"true"`
}
@ -954,6 +1293,8 @@ type DeleteFileSystemInput struct {
_ struct{} `type:"structure"`
// ID of the file system you want to delete.
//
// FileSystemId is a required field
FileSystemId *string `location:"uri" locationName:"FileSystemId" type:"string" required:"true"`
}
@ -998,6 +1339,8 @@ type DeleteMountTargetInput struct {
_ struct{} `type:"structure"`
// ID of the mount target to delete (String).
//
// MountTargetId is a required field
MountTargetId *string `location:"uri" locationName:"MountTargetId" type:"string" required:"true"`
}
@ -1042,9 +1385,13 @@ type DeleteTagsInput struct {
_ struct{} `type:"structure"`
// ID of the file system whose tags you want to delete (String).
//
// FileSystemId is a required field
FileSystemId *string `location:"uri" locationName:"FileSystemId" type:"string" required:"true"`
// List of tag keys to delete.
//
// TagKeys is a required field
TagKeys []*string `type:"list" required:"true"`
}
@ -1166,6 +1513,8 @@ type DescribeMountTargetSecurityGroupsInput struct {
_ struct{} `type:"structure"`
// ID of the mount target whose security groups you want to retrieve.
//
// MountTargetId is a required field
MountTargetId *string `location:"uri" locationName:"MountTargetId" type:"string" required:"true"`
}
@ -1196,6 +1545,8 @@ type DescribeMountTargetSecurityGroupsOutput struct {
_ struct{} `type:"structure"`
// Array of security groups.
//
// SecurityGroups is a required field
SecurityGroups []*string `type:"list" required:"true"`
}
@ -1284,6 +1635,8 @@ type DescribeTagsInput struct {
_ struct{} `type:"structure"`
// ID of the file system whose tag set you want to retrieve.
//
// FileSystemId is a required field
FileSystemId *string `location:"uri" locationName:"FileSystemId" type:"string" required:"true"`
// (Optional) Opaque pagination token returned from a previous DescribeTags
@ -1335,6 +1688,8 @@ type DescribeTagsOutput struct {
NextMarker *string `type:"string"`
// Returns tags associated with the file system as an array of Tag objects.
//
// Tags is a required field
Tags []*Tag `type:"list" required:"true"`
}
@ -1353,15 +1708,23 @@ type FileSystemDescription struct {
_ struct{} `type:"structure"`
// Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z).
//
// CreationTime is a required field
CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
// Opaque string specified in the request.
//
// CreationToken is a required field
CreationToken *string `min:"1" type:"string" required:"true"`
// ID of the file system, assigned by Amazon EFS.
//
// FileSystemId is a required field
FileSystemId *string `type:"string" required:"true"`
// Lifecycle phase of the file system.
//
// LifeCycleState is a required field
LifeCycleState *string `type:"string" required:"true" enum:"LifeCycleState"`
// You can add tags to a file system, including a Name tag. For more information,
@ -1371,13 +1734,19 @@ type FileSystemDescription struct {
// Current number of mount targets that the file system has. For more information,
// see CreateMountTarget.
//
// NumberOfMountTargets is a required field
NumberOfMountTargets *int64 `type:"integer" required:"true"`
// AWS account that created the file system. If the file system was created
// by an IAM user, the parent account to which the user belongs is the owner.
//
// OwnerId is a required field
OwnerId *string `type:"string" required:"true"`
// The PerformanceMode of the file system.
//
// PerformanceMode is a required field
PerformanceMode *string `type:"string" required:"true" enum:"PerformanceMode"`
// Latest known metered size (in bytes) of data stored in the file system, in
@ -1389,6 +1758,8 @@ type FileSystemDescription struct {
// actual size only if the file system is not modified for a period longer than
// a couple of hours. Otherwise, the value is not the exact size the file system
// was at any instant in time.
//
// SizeInBytes is a required field
SizeInBytes *FileSystemSize `type:"structure" required:"true"`
}
@ -1418,6 +1789,8 @@ type FileSystemSize struct {
Timestamp *time.Time `type:"timestamp" timestampFormat:"unix"`
// Latest known metered size (in bytes) of data stored in the file system.
//
// Value is a required field
Value *int64 `type:"long" required:"true"`
}
@ -1435,6 +1808,8 @@ type ModifyMountTargetSecurityGroupsInput struct {
_ struct{} `type:"structure"`
// ID of the mount target whose security groups you want to modify.
//
// MountTargetId is a required field
MountTargetId *string `location:"uri" locationName:"MountTargetId" type:"string" required:"true"`
// Array of up to five VPC security group IDs.
@ -1483,15 +1858,21 @@ type MountTargetDescription struct {
_ struct{} `type:"structure"`
// ID of the file system for which the mount target is intended.
//
// FileSystemId is a required field
FileSystemId *string `type:"string" required:"true"`
// Address at which the file system may be mounted via the mount target.
IpAddress *string `type:"string"`
// Lifecycle state of the mount target.
//
// LifeCycleState is a required field
LifeCycleState *string `type:"string" required:"true" enum:"LifeCycleState"`
// System-assigned mount target ID.
//
// MountTargetId is a required field
MountTargetId *string `type:"string" required:"true"`
// ID of the network interface that Amazon EFS created when it created the mount
@ -1502,6 +1883,8 @@ type MountTargetDescription struct {
OwnerId *string `type:"string"`
// ID of the mount target's subnet.
//
// SubnetId is a required field
SubnetId *string `type:"string" required:"true"`
}
@ -1521,9 +1904,13 @@ type Tag struct {
_ struct{} `type:"structure"`
// Tag key (String). The key can't start with aws:.
//
// Key is a required field
Key *string `min:"1" type:"string" required:"true"`
// Value of the tag key.
//
// Value is a required field
Value *string `type:"string" required:"true"`
}
@ -1557,19 +1944,23 @@ func (s *Tag) Validate() error {
}
const (
// @enum LifeCycleState
// LifeCycleStateCreating is a LifeCycleState enum value
LifeCycleStateCreating = "creating"
// @enum LifeCycleState
// LifeCycleStateAvailable is a LifeCycleState enum value
LifeCycleStateAvailable = "available"
// @enum LifeCycleState
// LifeCycleStateDeleting is a LifeCycleState enum value
LifeCycleStateDeleting = "deleting"
// @enum LifeCycleState
// LifeCycleStateDeleted is a LifeCycleState enum value
LifeCycleStateDeleted = "deleted"
)
const (
// @enum PerformanceMode
// PerformanceModeGeneralPurpose is a PerformanceMode enum value
PerformanceModeGeneralPurpose = "generalPurpose"
// @enum PerformanceMode
// PerformanceModeMaxIo is a PerformanceMode enum value
PerformanceModeMaxIo = "maxIO"
)

File diff suppressed because it is too large Load Diff

View File

@ -14,9 +14,9 @@ import (
// Amazon ElastiCache is a web service that makes it easier to set up, operate,
// and scale a distributed cache in the cloud.
//
// With ElastiCache, customers gain all of the benefits of a high-performance,
// in-memory cache with far less of the administrative burden of launching and
// managing a distributed cache. The service makes setup, scaling, and cluster
// With ElastiCache, customers get all of the benefits of a high-performance,
// in-memory cache with less of the administrative burden involved in launching
// and managing a distributed cache. The service makes setup, scaling, and cluster
// failure handling much simpler than in a self-managed cache deployment.
//
// In addition, through integration with Amazon CloudWatch, customers get enhanced

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilCacheClusterAvailable uses the Amazon ElastiCache API operation
// DescribeCacheClusters to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *ElastiCache) WaitUntilCacheClusterAvailable(input *DescribeCacheClustersInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeCacheClusters",
@ -53,6 +57,10 @@ func (c *ElastiCache) WaitUntilCacheClusterAvailable(input *DescribeCacheCluster
return w.Wait()
}
// WaitUntilCacheClusterDeleted uses the Amazon ElastiCache API operation
// DescribeCacheClusters to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *ElastiCache) WaitUntilCacheClusterDeleted(input *DescribeCacheClustersInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeCacheClusters",
@ -118,6 +126,10 @@ func (c *ElastiCache) WaitUntilCacheClusterDeleted(input *DescribeCacheClustersI
return w.Wait()
}
// WaitUntilReplicationGroupAvailable uses the Amazon ElastiCache API operation
// DescribeReplicationGroups to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *ElastiCache) WaitUntilReplicationGroupAvailable(input *DescribeReplicationGroupsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeReplicationGroups",
@ -147,6 +159,10 @@ func (c *ElastiCache) WaitUntilReplicationGroupAvailable(input *DescribeReplicat
return w.Wait()
}
// WaitUntilReplicationGroupDeleted uses the Amazon ElastiCache API operation
// DescribeReplicationGroups to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *ElastiCache) WaitUntilReplicationGroupDeleted(input *DescribeReplicationGroupsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeReplicationGroups",

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,7 @@ import (
// (http://elasticbeanstalk.s3.amazonaws.com/doc/2010-12-01/AWSElasticBeanstalk.wsdl).
// To install the Software Development Kits (SDKs), Integrated Development Environment
// (IDE) Toolkits, and command line tools that enable you to access the API,
// go to Tools for Amazon Web Services (https://aws.amazon.com/tools/).
// go to Tools for Amazon Web Services (http://aws.amazon.com/tools/).
//
// Endpoints
//

View File

@ -20,6 +20,8 @@ const opAddTags = "AddTags"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See AddTags for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -56,10 +58,37 @@ func (c *ElasticsearchService) AddTagsRequest(input *AddTagsInput) (req *request
return
}
// AddTags API operation for Amazon Elasticsearch Service.
//
// Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive
// key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging
// Amazon Elasticsearch Service Domains for more information. (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-managedomains.html#es-managedomains-awsresorcetagging"
// target="_blank)
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elasticsearch Service's
// API operation AddTags for usage and error information.
//
// Returned Error Codes:
// * BaseException
// An error occurred while processing the request.
//
// * LimitExceededException
// An exception for trying to create more than allowed resources or sub-resources.
// Gives http status code of 409.
//
// * ValidationException
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
// * InternalException
// The request processing has failed because of an unknown error, exception
// or failure (the failure is internal to the service) . Gives http status code
// of 500.
//
func (c *ElasticsearchService) AddTags(input *AddTagsInput) (*AddTagsOutput, error) {
req, out := c.AddTagsRequest(input)
err := req.Send()
@ -73,6 +102,8 @@ const opCreateElasticsearchDomain = "CreateElasticsearchDomain"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See CreateElasticsearchDomain for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -107,9 +138,48 @@ func (c *ElasticsearchService) CreateElasticsearchDomainRequest(input *CreateEla
return
}
// CreateElasticsearchDomain API operation for Amazon Elasticsearch Service.
//
// Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch
// Domains (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomains"
// target="_blank) in the Amazon Elasticsearch Service Developer Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elasticsearch Service's
// API operation CreateElasticsearchDomain for usage and error information.
//
// Returned Error Codes:
// * BaseException
// An error occurred while processing the request.
//
// * DisabledOperationException
// An error occured because the client wanted to access a not supported operation.
// Gives http status code of 409.
//
// * InternalException
// The request processing has failed because of an unknown error, exception
// or failure (the failure is internal to the service) . Gives http status code
// of 500.
//
// * InvalidTypeException
// An exception for trying to create or access sub-resource that is either invalid
// or not supported. Gives http status code of 409.
//
// * LimitExceededException
// An exception for trying to create more than allowed resources or sub-resources.
// Gives http status code of 409.
//
// * ResourceAlreadyExistsException
// An exception for creating a resource that already exists. Gives http status
// code of 400.
//
// * ValidationException
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
func (c *ElasticsearchService) CreateElasticsearchDomain(input *CreateElasticsearchDomainInput) (*CreateElasticsearchDomainOutput, error) {
req, out := c.CreateElasticsearchDomainRequest(input)
err := req.Send()
@ -123,6 +193,8 @@ const opDeleteElasticsearchDomain = "DeleteElasticsearchDomain"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DeleteElasticsearchDomain for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -157,8 +229,35 @@ func (c *ElasticsearchService) DeleteElasticsearchDomainRequest(input *DeleteEla
return
}
// DeleteElasticsearchDomain API operation for Amazon Elasticsearch Service.
//
// Permanently deletes the specified Elasticsearch domain and all of its data.
// Once a domain is deleted, it cannot be recovered.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elasticsearch Service's
// API operation DeleteElasticsearchDomain for usage and error information.
//
// Returned Error Codes:
// * BaseException
// An error occurred while processing the request.
//
// * InternalException
// The request processing has failed because of an unknown error, exception
// or failure (the failure is internal to the service) . Gives http status code
// of 500.
//
// * ResourceNotFoundException
// An exception for accessing or deleting a resource that does not exist. Gives
// http status code of 400.
//
// * ValidationException
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
func (c *ElasticsearchService) DeleteElasticsearchDomain(input *DeleteElasticsearchDomainInput) (*DeleteElasticsearchDomainOutput, error) {
req, out := c.DeleteElasticsearchDomainRequest(input)
err := req.Send()
@ -172,6 +271,8 @@ const opDescribeElasticsearchDomain = "DescribeElasticsearchDomain"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DescribeElasticsearchDomain for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -206,8 +307,35 @@ func (c *ElasticsearchService) DescribeElasticsearchDomainRequest(input *Describ
return
}
// DescribeElasticsearchDomain API operation for Amazon Elasticsearch Service.
//
// Returns domain configuration information about the specified Elasticsearch
// domain, including the domain ID, domain endpoint, and domain ARN.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elasticsearch Service's
// API operation DescribeElasticsearchDomain for usage and error information.
//
// Returned Error Codes:
// * BaseException
// An error occurred while processing the request.
//
// * InternalException
// The request processing has failed because of an unknown error, exception
// or failure (the failure is internal to the service) . Gives http status code
// of 500.
//
// * ResourceNotFoundException
// An exception for accessing or deleting a resource that does not exist. Gives
// http status code of 400.
//
// * ValidationException
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
func (c *ElasticsearchService) DescribeElasticsearchDomain(input *DescribeElasticsearchDomainInput) (*DescribeElasticsearchDomainOutput, error) {
req, out := c.DescribeElasticsearchDomainRequest(input)
err := req.Send()
@ -221,6 +349,8 @@ const opDescribeElasticsearchDomainConfig = "DescribeElasticsearchDomainConfig"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DescribeElasticsearchDomainConfig for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -255,9 +385,36 @@ func (c *ElasticsearchService) DescribeElasticsearchDomainConfigRequest(input *D
return
}
// DescribeElasticsearchDomainConfig API operation for Amazon Elasticsearch Service.
//
// Provides cluster configuration information about the specified Elasticsearch
// domain, such as the state, creation date, update version, and update date
// for cluster options.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elasticsearch Service's
// API operation DescribeElasticsearchDomainConfig for usage and error information.
//
// Returned Error Codes:
// * BaseException
// An error occurred while processing the request.
//
// * InternalException
// The request processing has failed because of an unknown error, exception
// or failure (the failure is internal to the service) . Gives http status code
// of 500.
//
// * ResourceNotFoundException
// An exception for accessing or deleting a resource that does not exist. Gives
// http status code of 400.
//
// * ValidationException
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
func (c *ElasticsearchService) DescribeElasticsearchDomainConfig(input *DescribeElasticsearchDomainConfigInput) (*DescribeElasticsearchDomainConfigOutput, error) {
req, out := c.DescribeElasticsearchDomainConfigRequest(input)
err := req.Send()
@ -271,6 +428,8 @@ const opDescribeElasticsearchDomains = "DescribeElasticsearchDomains"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DescribeElasticsearchDomains for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -305,8 +464,31 @@ func (c *ElasticsearchService) DescribeElasticsearchDomainsRequest(input *Descri
return
}
// DescribeElasticsearchDomains API operation for Amazon Elasticsearch Service.
//
// Returns domain configuration information about the specified Elasticsearch
// domains, including the domain ID, domain endpoint, and domain ARN.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elasticsearch Service's
// API operation DescribeElasticsearchDomains for usage and error information.
//
// Returned Error Codes:
// * BaseException
// An error occurred while processing the request.
//
// * InternalException
// The request processing has failed because of an unknown error, exception
// or failure (the failure is internal to the service) . Gives http status code
// of 500.
//
// * ValidationException
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
func (c *ElasticsearchService) DescribeElasticsearchDomains(input *DescribeElasticsearchDomainsInput) (*DescribeElasticsearchDomainsOutput, error) {
req, out := c.DescribeElasticsearchDomainsRequest(input)
err := req.Send()
@ -320,6 +502,8 @@ const opListDomainNames = "ListDomainNames"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ListDomainNames for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -354,8 +538,26 @@ func (c *ElasticsearchService) ListDomainNamesRequest(input *ListDomainNamesInpu
return
}
// ListDomainNames API operation for Amazon Elasticsearch Service.
//
// Returns the name of all Elasticsearch domains owned by the current user's
// account.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elasticsearch Service's
// API operation ListDomainNames for usage and error information.
//
// Returned Error Codes:
// * BaseException
// An error occurred while processing the request.
//
// * ValidationException
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
func (c *ElasticsearchService) ListDomainNames(input *ListDomainNamesInput) (*ListDomainNamesOutput, error) {
req, out := c.ListDomainNamesRequest(input)
err := req.Send()
@ -369,6 +571,8 @@ const opListTags = "ListTags"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ListTags for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -403,7 +607,34 @@ func (c *ElasticsearchService) ListTagsRequest(input *ListTagsInput) (req *reque
return
}
// ListTags API operation for Amazon Elasticsearch Service.
//
// Returns all tags for the given Elasticsearch domain.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elasticsearch Service's
// API operation ListTags for usage and error information.
//
// Returned Error Codes:
// * BaseException
// An error occurred while processing the request.
//
// * ResourceNotFoundException
// An exception for accessing or deleting a resource that does not exist. Gives
// http status code of 400.
//
// * ValidationException
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
// * InternalException
// The request processing has failed because of an unknown error, exception
// or failure (the failure is internal to the service) . Gives http status code
// of 500.
//
func (c *ElasticsearchService) ListTags(input *ListTagsInput) (*ListTagsOutput, error) {
req, out := c.ListTagsRequest(input)
err := req.Send()
@ -417,6 +648,8 @@ const opRemoveTags = "RemoveTags"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See RemoveTags for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -453,7 +686,30 @@ func (c *ElasticsearchService) RemoveTagsRequest(input *RemoveTagsInput) (req *r
return
}
// RemoveTags API operation for Amazon Elasticsearch Service.
//
// Removes the specified set of tags from the specified Elasticsearch domain.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elasticsearch Service's
// API operation RemoveTags for usage and error information.
//
// Returned Error Codes:
// * BaseException
// An error occurred while processing the request.
//
// * ValidationException
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
// * InternalException
// The request processing has failed because of an unknown error, exception
// or failure (the failure is internal to the service) . Gives http status code
// of 500.
//
func (c *ElasticsearchService) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) {
req, out := c.RemoveTagsRequest(input)
err := req.Send()
@ -467,6 +723,8 @@ const opUpdateElasticsearchDomainConfig = "UpdateElasticsearchDomainConfig"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See UpdateElasticsearchDomainConfig for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -501,8 +759,43 @@ func (c *ElasticsearchService) UpdateElasticsearchDomainConfigRequest(input *Upd
return
}
// UpdateElasticsearchDomainConfig API operation for Amazon Elasticsearch Service.
//
// Modifies the cluster configuration of the specified Elasticsearch domain,
// setting as setting the instance type and the number of instances.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elasticsearch Service's
// API operation UpdateElasticsearchDomainConfig for usage and error information.
//
// Returned Error Codes:
// * BaseException
// An error occurred while processing the request.
//
// * InternalException
// The request processing has failed because of an unknown error, exception
// or failure (the failure is internal to the service) . Gives http status code
// of 500.
//
// * InvalidTypeException
// An exception for trying to create or access sub-resource that is either invalid
// or not supported. Gives http status code of 409.
//
// * LimitExceededException
// An exception for trying to create more than allowed resources or sub-resources.
// Gives http status code of 409.
//
// * ResourceNotFoundException
// An exception for accessing or deleting a resource that does not exist. Gives
// http status code of 400.
//
// * ValidationException
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
func (c *ElasticsearchService) UpdateElasticsearchDomainConfig(input *UpdateElasticsearchDomainConfigInput) (*UpdateElasticsearchDomainConfigOutput, error) {
req, out := c.UpdateElasticsearchDomainConfigRequest(input)
err := req.Send()
@ -518,10 +811,14 @@ type AccessPoliciesStatus struct {
// may be resource-based, IP-based, or IAM-based. See Configuring Access Policies
// (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-access-policies"
// target="_blank)for more information.
//
// Options is a required field
Options *string `type:"string" required:"true"`
// The status of the access policy for the Elasticsearch domain. See OptionStatus
// for the status information that's included.
//
// Status is a required field
Status *OptionStatus `type:"structure" required:"true"`
}
@ -541,9 +838,13 @@ type AddTagsInput struct {
_ struct{} `type:"structure"`
// Specify the ARN for which you want to add the tags.
//
// ARN is a required field
ARN *string `type:"string" required:"true"`
// List of Tag that need to be added for the Elasticsearch domain.
//
// TagList is a required field
TagList []*Tag `type:"list" required:"true"`
}
@ -611,10 +912,14 @@ type AdvancedOptionsStatus struct {
// Specifies the status of advanced options for the specified Elasticsearch
// domain.
//
// Options is a required field
Options map[string]*string `type:"map" required:"true"`
// Specifies the status of OptionStatus for advanced options for the specified
// Elasticsearch domain.
//
// Status is a required field
Status *OptionStatus `type:"structure" required:"true"`
}
@ -644,6 +949,8 @@ type CreateElasticsearchDomainInput struct {
// are unique across the domains owned by an account within an AWS region. Domain
// names must start with a letter or number and can contain the following characters:
// a-z (lowercase), 0-9, and - (hyphen).
//
// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// Options to enable, disable and specify the type and size of EBS storage volumes.
@ -715,6 +1022,8 @@ type DeleteElasticsearchDomainInput struct {
_ struct{} `type:"structure"`
// The name of the Elasticsearch domain that you want to permanently delete.
//
// DomainName is a required field
DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"`
}
@ -770,6 +1079,8 @@ type DescribeElasticsearchDomainConfigInput struct {
_ struct{} `type:"structure"`
// The Elasticsearch domain that you want to get information about.
//
// DomainName is a required field
DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"`
}
@ -806,6 +1117,8 @@ type DescribeElasticsearchDomainConfigOutput struct {
// The configuration information of the domain requested in the DescribeElasticsearchDomainConfig
// request.
//
// DomainConfig is a required field
DomainConfig *ElasticsearchDomainConfig `type:"structure" required:"true"`
}
@ -824,6 +1137,8 @@ type DescribeElasticsearchDomainInput struct {
_ struct{} `type:"structure"`
// The name of the Elasticsearch domain for which you want information.
//
// DomainName is a required field
DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"`
}
@ -859,6 +1174,8 @@ type DescribeElasticsearchDomainOutput struct {
_ struct{} `type:"structure"`
// The current status of the Elasticsearch domain.
//
// DomainStatus is a required field
DomainStatus *ElasticsearchDomainStatus `type:"structure" required:"true"`
}
@ -878,6 +1195,8 @@ type DescribeElasticsearchDomainsInput struct {
_ struct{} `type:"structure"`
// The Elasticsearch domains for which you want information.
//
// DomainNames is a required field
DomainNames []*string `type:"list" required:"true"`
}
@ -910,6 +1229,8 @@ type DescribeElasticsearchDomainsOutput struct {
_ struct{} `type:"structure"`
// The status of the domains requested in the DescribeElasticsearchDomains request.
//
// DomainStatusList is a required field
DomainStatusList []*ElasticsearchDomainStatus `type:"list" required:"true"`
}
@ -974,9 +1295,13 @@ type EBSOptionsStatus struct {
_ struct{} `type:"structure"`
// Specifies the EBS options for the specified Elasticsearch domain.
//
// Options is a required field
Options *EBSOptions `type:"structure" required:"true"`
// Specifies the status of the EBS options for the specified Elasticsearch domain.
//
// Status is a required field
Status *OptionStatus `type:"structure" required:"true"`
}
@ -1033,10 +1358,14 @@ type ElasticsearchClusterConfigStatus struct {
_ struct{} `type:"structure"`
// Specifies the cluster configuration for the specified Elasticsearch domain.
//
// Options is a required field
Options *ElasticsearchClusterConfig `type:"structure" required:"true"`
// Specifies the status of the configuration for the specified Elasticsearch
// domain.
//
// Status is a required field
Status *OptionStatus `type:"structure" required:"true"`
}
@ -1092,6 +1421,8 @@ type ElasticsearchDomainStatus struct {
// The Amazon resource name (ARN) of an Elasticsearch domain. See Identifiers
// for IAM Entities (http://docs.aws.amazon.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html"
// target="_blank) in Using AWS Identity and Access Management for more information.
//
// ARN is a required field
ARN *string `type:"string" required:"true"`
// IAM access policy as a JSON-formatted string.
@ -1111,12 +1442,16 @@ type ElasticsearchDomainStatus struct {
Deleted *bool `type:"boolean"`
// The unique identifier for the specified Elasticsearch domain.
//
// DomainId is a required field
DomainId *string `min:"1" type:"string" required:"true"`
// The name of an Elasticsearch domain. Domain names are unique across the domains
// owned by an account within an AWS region. Domain names start with a letter
// or number and can contain the following characters: a-z (lowercase), 0-9,
// and - (hyphen).
//
// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// The EBSOptions for the specified domain. See Configuring EBS-based Storage
@ -1125,6 +1460,8 @@ type ElasticsearchDomainStatus struct {
EBSOptions *EBSOptions `type:"structure"`
// The type and number of instances in the domain cluster.
//
// ElasticsearchClusterConfig is a required field
ElasticsearchClusterConfig *ElasticsearchClusterConfig `type:"structure" required:"true"`
ElasticsearchVersion *string `type:"string"`
@ -1158,10 +1495,14 @@ type ElasticsearchVersionStatus struct {
_ struct{} `type:"structure"`
// Specifies the Elasticsearch version for the specified Elasticsearch domain.
//
// Options is a required field
Options *string `type:"string" required:"true"`
// Specifies the status of the Elasticsearch version options for the specified
// Elasticsearch domain.
//
// Status is a required field
Status *OptionStatus `type:"structure" required:"true"`
}
@ -1216,6 +1557,8 @@ type ListTagsInput struct {
// Specify the ARN for the Elasticsearch domain to which the tags are attached
// that you want to view.
//
// ARN is a required field
ARN *string `location:"querystring" locationName:"arn" type:"string" required:"true"`
}
@ -1266,15 +1609,21 @@ type OptionStatus struct {
_ struct{} `type:"structure"`
// Timestamp which tells the creation date for the entity.
//
// CreationDate is a required field
CreationDate *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
// Indicates whether the Elasticsearch domain is being deleted.
PendingDeletion *bool `type:"boolean"`
// Provides the OptionState for the Elasticsearch domain.
//
// State is a required field
State *string `type:"string" required:"true" enum:"OptionState"`
// Timestamp which tells the last updated time for the entity.
//
// UpdateDate is a required field
UpdateDate *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
// Specifies the latest version for the entity.
@ -1299,10 +1648,14 @@ type RemoveTagsInput struct {
// Specifies the ARN for the Elasticsearch domain from which you want to delete
// the specified tags.
//
// ARN is a required field
ARN *string `type:"string" required:"true"`
// Specifies the TagKey list which you want to remove from the Elasticsearch
// domain.
//
// TagKeys is a required field
TagKeys []*string `type:"list" required:"true"`
}
@ -1371,9 +1724,13 @@ type SnapshotOptionsStatus struct {
_ struct{} `type:"structure"`
// Specifies the daily snapshot options specified for the Elasticsearch domain.
//
// Options is a required field
Options *SnapshotOptions `type:"structure" required:"true"`
// Specifies the status of a daily automated snapshot.
//
// Status is a required field
Status *OptionStatus `type:"structure" required:"true"`
}
@ -1393,12 +1750,16 @@ type Tag struct {
// Specifies the TagKey, the name of the tag. Tag keys must be unique for the
// Elasticsearch domain to which they are attached.
//
// Key is a required field
Key *string `min:"1" type:"string" required:"true"`
// Specifies the TagValue, the value assigned to the corresponding tag key.
// Tag values can be null and do not have to be unique in a tag set. For example,
// you can have a key value pair in a tag set of project : Trinity and cost-center
// : Trinity
//
// Value is a required field
Value *string `type:"string" required:"true"`
}
@ -1446,6 +1807,8 @@ type UpdateElasticsearchDomainConfigInput struct {
AdvancedOptions map[string]*string `type:"map"`
// The name of the Elasticsearch domain that you are updating.
//
// DomainName is a required field
DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"`
// Specify the type and size of the EBS volume that you want to use.
@ -1491,6 +1854,8 @@ type UpdateElasticsearchDomainConfigOutput struct {
_ struct{} `type:"structure"`
// The status of the updated Elasticsearch domain.
//
// DomainConfig is a required field
DomainConfig *ElasticsearchDomainConfig `type:"structure" required:"true"`
}
@ -1505,43 +1870,61 @@ func (s UpdateElasticsearchDomainConfigOutput) GoString() string {
}
const (
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeM3MediumElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeM3MediumElasticsearch = "m3.medium.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeM3LargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeM3LargeElasticsearch = "m3.large.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeM3XlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeM3XlargeElasticsearch = "m3.xlarge.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeM32xlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeM32xlargeElasticsearch = "m3.2xlarge.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeM4LargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeM4LargeElasticsearch = "m4.large.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeM4XlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeM4XlargeElasticsearch = "m4.xlarge.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeM42xlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeM42xlargeElasticsearch = "m4.2xlarge.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeM44xlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeM44xlargeElasticsearch = "m4.4xlarge.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeM410xlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeM410xlargeElasticsearch = "m4.10xlarge.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeT2MicroElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeT2MicroElasticsearch = "t2.micro.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeT2SmallElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeT2SmallElasticsearch = "t2.small.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeT2MediumElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeT2MediumElasticsearch = "t2.medium.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeR3LargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeR3LargeElasticsearch = "r3.large.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeR3XlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeR3XlargeElasticsearch = "r3.xlarge.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeR32xlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeR32xlargeElasticsearch = "r3.2xlarge.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeR34xlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeR34xlargeElasticsearch = "r3.4xlarge.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeR38xlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeR38xlargeElasticsearch = "r3.8xlarge.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeI2XlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeI2XlargeElasticsearch = "i2.xlarge.elasticsearch"
// @enum ESPartitionInstanceType
// ESPartitionInstanceTypeI22xlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeI22xlargeElasticsearch = "i2.2xlarge.elasticsearch"
)
@ -1550,11 +1933,13 @@ const (
// Processing: The request change is still in-process. Active: The request
// change is processed and deployed to the Elasticsearch domain.
const (
// @enum OptionState
// OptionStateRequiresIndexDocuments is a OptionState enum value
OptionStateRequiresIndexDocuments = "RequiresIndexDocuments"
// @enum OptionState
// OptionStateProcessing is a OptionState enum value
OptionStateProcessing = "Processing"
// @enum OptionState
// OptionStateActive is a OptionState enum value
OptionStateActive = "Active"
)
@ -1562,10 +1947,12 @@ const (
// Storage (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs"
// target="_blank)for more information.
const (
// @enum VolumeType
// VolumeTypeStandard is a VolumeType enum value
VolumeTypeStandard = "standard"
// @enum VolumeType
// VolumeTypeGp2 is a VolumeType enum value
VolumeTypeGp2 = "gp2"
// @enum VolumeType
// VolumeTypeIo1 is a VolumeType enum value
VolumeTypeIo1 = "io1"
)

View File

@ -17,6 +17,8 @@ const opCancelJob = "CancelJob"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See CancelJob for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -51,11 +53,44 @@ func (c *ElasticTranscoder) CancelJobRequest(input *CancelJobInput) (req *reques
return
}
// CancelJob API operation for Amazon Elastic Transcoder.
//
// The CancelJob operation cancels an unfinished job.
//
// You can only cancel a job that has a status of Submitted. To prevent a pipeline
// from starting to process a job while you're getting the job identifier, use
// UpdatePipelineStatus to temporarily pause the pipeline.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Transcoder's
// API operation CancelJob for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
//
// * ResourceNotFoundException
// The requested resource does not exist or is not available. For example, the
// pipeline to which you're trying to add a job doesn't exist or is still being
// created.
//
// * ResourceInUseException
// The resource you are attempting to change is in use. For example, you are
// attempting to delete a pipeline that is currently in use.
//
// * AccessDeniedException
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
func (c *ElasticTranscoder) CancelJob(input *CancelJobInput) (*CancelJobOutput, error) {
req, out := c.CancelJobRequest(input)
err := req.Send()
@ -69,6 +104,8 @@ const opCreateJob = "CreateJob"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See CreateJob for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -103,6 +140,8 @@ func (c *ElasticTranscoder) CreateJobRequest(input *CreateJobInput) (req *reques
return
}
// CreateJob API operation for Amazon Elastic Transcoder.
//
// When you create a job, Elastic Transcoder returns JSON data that includes
// the values that you specified plus information about the job that is created.
//
@ -110,6 +149,37 @@ func (c *ElasticTranscoder) CreateJobRequest(input *CreateJobInput) (req *reques
// output for the Kindle Fire and another output for the Apple iPhone 4s), you
// currently must use the Elastic Transcoder API to list the jobs (as opposed
// to the AWS Console).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Transcoder's
// API operation CreateJob for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
//
// * ResourceNotFoundException
// The requested resource does not exist or is not available. For example, the
// pipeline to which you're trying to add a job doesn't exist or is still being
// created.
//
// * AccessDeniedException
// General authentication failure. The request was not signed correctly.
//
// * LimitExceededException
// Too many operations for a given AWS account. For example, the number of pipelines
// exceeds the maximum allowed.
//
// * InternalServiceException
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
func (c *ElasticTranscoder) CreateJob(input *CreateJobInput) (*CreateJobResponse, error) {
req, out := c.CreateJobRequest(input)
err := req.Send()
@ -123,6 +193,8 @@ const opCreatePipeline = "CreatePipeline"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See CreatePipeline for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -157,7 +229,40 @@ func (c *ElasticTranscoder) CreatePipelineRequest(input *CreatePipelineInput) (r
return
}
// CreatePipeline API operation for Amazon Elastic Transcoder.
//
// The CreatePipeline operation creates a pipeline with settings that you specify.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Transcoder's
// API operation CreatePipeline for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
//
// * AccessDeniedException
// General authentication failure. The request was not signed correctly.
//
// * ResourceNotFoundException
// The requested resource does not exist or is not available. For example, the
// pipeline to which you're trying to add a job doesn't exist or is still being
// created.
//
// * LimitExceededException
// Too many operations for a given AWS account. For example, the number of pipelines
// exceeds the maximum allowed.
//
// * InternalServiceException
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
func (c *ElasticTranscoder) CreatePipeline(input *CreatePipelineInput) (*CreatePipelineOutput, error) {
req, out := c.CreatePipelineRequest(input)
err := req.Send()
@ -171,6 +276,8 @@ const opCreatePreset = "CreatePreset"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See CreatePreset for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -205,6 +312,8 @@ func (c *ElasticTranscoder) CreatePresetRequest(input *CreatePresetInput) (req *
return
}
// CreatePreset API operation for Amazon Elastic Transcoder.
//
// The CreatePreset operation creates a preset with settings that you specify.
//
// Elastic Transcoder checks the CreatePreset settings to ensure that they
@ -220,6 +329,32 @@ func (c *ElasticTranscoder) CreatePresetRequest(input *CreatePresetInput) (req *
// more information, see the International Telecommunication Union publication
// Recommendation ITU-T H.264: Advanced video coding for generic audiovisual
// services.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Transcoder's
// API operation CreatePreset for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
//
// * AccessDeniedException
// General authentication failure. The request was not signed correctly.
//
// * LimitExceededException
// Too many operations for a given AWS account. For example, the number of pipelines
// exceeds the maximum allowed.
//
// * InternalServiceException
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
func (c *ElasticTranscoder) CreatePreset(input *CreatePresetInput) (*CreatePresetOutput, error) {
req, out := c.CreatePresetRequest(input)
err := req.Send()
@ -233,6 +368,8 @@ const opDeletePipeline = "DeletePipeline"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DeletePipeline for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -267,11 +404,44 @@ func (c *ElasticTranscoder) DeletePipelineRequest(input *DeletePipelineInput) (r
return
}
// DeletePipeline API operation for Amazon Elastic Transcoder.
//
// The DeletePipeline operation removes a pipeline.
//
// You can only delete a pipeline that has never been used or that is not
// currently in use (doesn't contain any active jobs). If the pipeline is currently
// in use, DeletePipeline returns an error.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Transcoder's
// API operation DeletePipeline for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
//
// * ResourceNotFoundException
// The requested resource does not exist or is not available. For example, the
// pipeline to which you're trying to add a job doesn't exist or is still being
// created.
//
// * ResourceInUseException
// The resource you are attempting to change is in use. For example, you are
// attempting to delete a pipeline that is currently in use.
//
// * AccessDeniedException
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
func (c *ElasticTranscoder) DeletePipeline(input *DeletePipelineInput) (*DeletePipelineOutput, error) {
req, out := c.DeletePipelineRequest(input)
err := req.Send()
@ -285,6 +455,8 @@ const opDeletePreset = "DeletePreset"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DeletePreset for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -319,9 +491,38 @@ func (c *ElasticTranscoder) DeletePresetRequest(input *DeletePresetInput) (req *
return
}
// DeletePreset API operation for Amazon Elastic Transcoder.
//
// The DeletePreset operation removes a preset that you've added in an AWS region.
//
// You can't delete the default presets that are included with Elastic Transcoder.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Transcoder's
// API operation DeletePreset for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
//
// * ResourceNotFoundException
// The requested resource does not exist or is not available. For example, the
// pipeline to which you're trying to add a job doesn't exist or is still being
// created.
//
// * AccessDeniedException
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
func (c *ElasticTranscoder) DeletePreset(input *DeletePresetInput) (*DeletePresetOutput, error) {
req, out := c.DeletePresetRequest(input)
err := req.Send()
@ -335,6 +536,8 @@ const opListJobsByPipeline = "ListJobsByPipeline"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ListJobsByPipeline for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -375,11 +578,40 @@ func (c *ElasticTranscoder) ListJobsByPipelineRequest(input *ListJobsByPipelineI
return
}
// ListJobsByPipeline API operation for Amazon Elastic Transcoder.
//
// The ListJobsByPipeline operation gets a list of the jobs currently in a pipeline.
//
// Elastic Transcoder returns all of the jobs currently in the specified pipeline.
// The response body contains one element for each job that satisfies the search
// criteria.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Transcoder's
// API operation ListJobsByPipeline for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
//
// * ResourceNotFoundException
// The requested resource does not exist or is not available. For example, the
// pipeline to which you're trying to add a job doesn't exist or is still being
// created.
//
// * AccessDeniedException
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
func (c *ElasticTranscoder) ListJobsByPipeline(input *ListJobsByPipelineInput) (*ListJobsByPipelineOutput, error) {
req, out := c.ListJobsByPipelineRequest(input)
err := req.Send()
@ -418,6 +650,8 @@ const opListJobsByStatus = "ListJobsByStatus"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ListJobsByStatus for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -458,9 +692,38 @@ func (c *ElasticTranscoder) ListJobsByStatusRequest(input *ListJobsByStatusInput
return
}
// ListJobsByStatus API operation for Amazon Elastic Transcoder.
//
// The ListJobsByStatus operation gets a list of jobs that have a specified
// status. The response body contains one element for each job that satisfies
// the search criteria.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Transcoder's
// API operation ListJobsByStatus for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
//
// * ResourceNotFoundException
// The requested resource does not exist or is not available. For example, the
// pipeline to which you're trying to add a job doesn't exist or is still being
// created.
//
// * AccessDeniedException
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
func (c *ElasticTranscoder) ListJobsByStatus(input *ListJobsByStatusInput) (*ListJobsByStatusOutput, error) {
req, out := c.ListJobsByStatusRequest(input)
err := req.Send()
@ -499,6 +762,8 @@ const opListPipelines = "ListPipelines"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ListPipelines for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -539,8 +804,32 @@ func (c *ElasticTranscoder) ListPipelinesRequest(input *ListPipelinesInput) (req
return
}
// ListPipelines API operation for Amazon Elastic Transcoder.
//
// The ListPipelines operation gets a list of the pipelines associated with
// the current AWS account.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Transcoder's
// API operation ListPipelines for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
//
// * AccessDeniedException
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
func (c *ElasticTranscoder) ListPipelines(input *ListPipelinesInput) (*ListPipelinesOutput, error) {
req, out := c.ListPipelinesRequest(input)
err := req.Send()
@ -579,6 +868,8 @@ const opListPresets = "ListPresets"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ListPresets for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -619,8 +910,32 @@ func (c *ElasticTranscoder) ListPresetsRequest(input *ListPresetsInput) (req *re
return
}
// ListPresets API operation for Amazon Elastic Transcoder.
//
// The ListPresets operation gets a list of the default presets included with
// Elastic Transcoder and the presets that you've added in an AWS region.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Transcoder's
// API operation ListPresets for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
//
// * AccessDeniedException
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
func (c *ElasticTranscoder) ListPresets(input *ListPresetsInput) (*ListPresetsOutput, error) {
req, out := c.ListPresetsRequest(input)
err := req.Send()
@ -659,6 +974,8 @@ const opReadJob = "ReadJob"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ReadJob for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -693,7 +1010,36 @@ func (c *ElasticTranscoder) ReadJobRequest(input *ReadJobInput) (req *request.Re
return
}
// ReadJob API operation for Amazon Elastic Transcoder.
//
// The ReadJob operation returns detailed information about a job.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Transcoder's
// API operation ReadJob for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
//
// * ResourceNotFoundException
// The requested resource does not exist or is not available. For example, the
// pipeline to which you're trying to add a job doesn't exist or is still being
// created.
//
// * AccessDeniedException
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
func (c *ElasticTranscoder) ReadJob(input *ReadJobInput) (*ReadJobOutput, error) {
req, out := c.ReadJobRequest(input)
err := req.Send()
@ -707,6 +1053,8 @@ const opReadPipeline = "ReadPipeline"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ReadPipeline for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -741,7 +1089,36 @@ func (c *ElasticTranscoder) ReadPipelineRequest(input *ReadPipelineInput) (req *
return
}
// ReadPipeline API operation for Amazon Elastic Transcoder.
//
// The ReadPipeline operation gets detailed information about a pipeline.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Transcoder's
// API operation ReadPipeline for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
//
// * ResourceNotFoundException
// The requested resource does not exist or is not available. For example, the
// pipeline to which you're trying to add a job doesn't exist or is still being
// created.
//
// * AccessDeniedException
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
func (c *ElasticTranscoder) ReadPipeline(input *ReadPipelineInput) (*ReadPipelineOutput, error) {
req, out := c.ReadPipelineRequest(input)
err := req.Send()
@ -755,6 +1132,8 @@ const opReadPreset = "ReadPreset"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ReadPreset for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -789,7 +1168,36 @@ func (c *ElasticTranscoder) ReadPresetRequest(input *ReadPresetInput) (req *requ
return
}
// ReadPreset API operation for Amazon Elastic Transcoder.
//
// The ReadPreset operation gets detailed information about a preset.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Transcoder's
// API operation ReadPreset for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
//
// * ResourceNotFoundException
// The requested resource does not exist or is not available. For example, the
// pipeline to which you're trying to add a job doesn't exist or is still being
// created.
//
// * AccessDeniedException
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
func (c *ElasticTranscoder) ReadPreset(input *ReadPresetInput) (*ReadPresetOutput, error) {
req, out := c.ReadPresetRequest(input)
err := req.Send()
@ -803,6 +1211,8 @@ const opTestRole = "TestRole"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See TestRole for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -837,6 +1247,8 @@ func (c *ElasticTranscoder) TestRoleRequest(input *TestRoleInput) (req *request.
return
}
// TestRole API operation for Amazon Elastic Transcoder.
//
// The TestRole operation tests the IAM role used to create the pipeline.
//
// The TestRole action lets you determine whether the IAM role you are using
@ -844,6 +1256,33 @@ func (c *ElasticTranscoder) TestRoleRequest(input *TestRoleInput) (req *request.
// with the transcoding process. The action attempts to assume the specified
// IAM role, checks read access to the input and output buckets, and tries to
// send a test notification to Amazon SNS topics that you specify.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Transcoder's
// API operation TestRole for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
//
// * ResourceNotFoundException
// The requested resource does not exist or is not available. For example, the
// pipeline to which you're trying to add a job doesn't exist or is still being
// created.
//
// * AccessDeniedException
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
func (c *ElasticTranscoder) TestRole(input *TestRoleInput) (*TestRoleOutput, error) {
req, out := c.TestRoleRequest(input)
err := req.Send()
@ -857,6 +1296,8 @@ const opUpdatePipeline = "UpdatePipeline"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See UpdatePipeline for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -891,11 +1332,44 @@ func (c *ElasticTranscoder) UpdatePipelineRequest(input *UpdatePipelineInput) (r
return
}
// UpdatePipeline API operation for Amazon Elastic Transcoder.
//
// Use the UpdatePipeline operation to update settings for a pipeline. When
// you change pipeline settings, your changes take effect immediately. Jobs
// that you have already submitted and that Elastic Transcoder has not started
// to process are affected in addition to jobs that you submit after you change
// settings.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Transcoder's
// API operation UpdatePipeline for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
//
// * AccessDeniedException
// General authentication failure. The request was not signed correctly.
//
// * ResourceInUseException
// The resource you are attempting to change is in use. For example, you are
// attempting to delete a pipeline that is currently in use.
//
// * ResourceNotFoundException
// The requested resource does not exist or is not available. For example, the
// pipeline to which you're trying to add a job doesn't exist or is still being
// created.
//
// * InternalServiceException
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
func (c *ElasticTranscoder) UpdatePipeline(input *UpdatePipelineInput) (*UpdatePipelineOutput, error) {
req, out := c.UpdatePipelineRequest(input)
err := req.Send()
@ -909,6 +1383,8 @@ const opUpdatePipelineNotifications = "UpdatePipelineNotifications"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See UpdatePipelineNotifications for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -943,11 +1419,44 @@ func (c *ElasticTranscoder) UpdatePipelineNotificationsRequest(input *UpdatePipe
return
}
// UpdatePipelineNotifications API operation for Amazon Elastic Transcoder.
//
// With the UpdatePipelineNotifications operation, you can update Amazon Simple
// Notification Service (Amazon SNS) notifications for a pipeline.
//
// When you update notifications for a pipeline, Elastic Transcoder returns
// the values that you specified in the request.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Transcoder's
// API operation UpdatePipelineNotifications for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
//
// * ResourceNotFoundException
// The requested resource does not exist or is not available. For example, the
// pipeline to which you're trying to add a job doesn't exist or is still being
// created.
//
// * ResourceInUseException
// The resource you are attempting to change is in use. For example, you are
// attempting to delete a pipeline that is currently in use.
//
// * AccessDeniedException
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
func (c *ElasticTranscoder) UpdatePipelineNotifications(input *UpdatePipelineNotificationsInput) (*UpdatePipelineNotificationsOutput, error) {
req, out := c.UpdatePipelineNotificationsRequest(input)
err := req.Send()
@ -961,6 +1470,8 @@ const opUpdatePipelineStatus = "UpdatePipelineStatus"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See UpdatePipelineStatus for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -995,6 +1506,8 @@ func (c *ElasticTranscoder) UpdatePipelineStatusRequest(input *UpdatePipelineSta
return
}
// UpdatePipelineStatus API operation for Amazon Elastic Transcoder.
//
// The UpdatePipelineStatus operation pauses or reactivates a pipeline, so that
// the pipeline stops or restarts the processing of jobs.
//
@ -1003,6 +1516,37 @@ func (c *ElasticTranscoder) UpdatePipelineStatusRequest(input *UpdatePipelineSta
// them; if you pause the pipeline to which you submitted the jobs, you have
// more time to get the job IDs for the jobs that you want to cancel, and to
// send a CancelJob request.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Transcoder's
// API operation UpdatePipelineStatus for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
//
// * ResourceNotFoundException
// The requested resource does not exist or is not available. For example, the
// pipeline to which you're trying to add a job doesn't exist or is still being
// created.
//
// * ResourceInUseException
// The resource you are attempting to change is in use. For example, you are
// attempting to delete a pipeline that is currently in use.
//
// * AccessDeniedException
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
func (c *ElasticTranscoder) UpdatePipelineStatus(input *UpdatePipelineStatusInput) (*UpdatePipelineStatusOutput, error) {
req, out := c.UpdatePipelineStatusRequest(input)
err := req.Send()
@ -1299,6 +1843,8 @@ type CancelJobInput struct {
//
// To get a list of the jobs (including their jobId) that have a status of
// Submitted, use the ListJobsByStatus API action.
//
// Id is a required field
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
}
@ -1557,6 +2103,8 @@ type CreateJobInput struct {
// A section of the request body that provides information about the file that
// is being transcoded.
//
// Input is a required field
Input *JobInput `type:"structure" required:"true"`
// The CreateJobOutput structure.
@ -1576,6 +2124,8 @@ type CreateJobInput struct {
// The pipeline determines several settings, including the Amazon S3 bucket
// from which Elastic Transcoder gets the files to transcode and the bucket
// into which Elastic Transcoder puts the transcoded files.
//
// PipelineId is a required field
PipelineId *string `type:"string" required:"true"`
// If you specify a preset in PresetId for which the value of Container is fmp4
@ -2015,12 +2565,16 @@ type CreatePipelineInput struct {
// The Amazon S3 bucket in which you saved the media files that you want to
// transcode.
//
// InputBucket is a required field
InputBucket *string `type:"string" required:"true"`
// The name of the pipeline. We recommend that the name be unique within the
// AWS account, but uniqueness is not enforced.
//
// Constraints: Maximum 40 characters.
//
// Name is a required field
Name *string `min:"1" type:"string" required:"true"`
// The Amazon Simple Notification Service (Amazon SNS) topic that you want to
@ -2064,6 +2618,8 @@ type CreatePipelineInput struct {
// The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder
// to use to create the pipeline.
//
// Role is a required field
Role *string `type:"string" required:"true"`
// The ThumbnailConfig object specifies several values, including the Amazon
@ -2187,6 +2743,8 @@ type CreatePresetInput struct {
// The container type for the output file. Valid values include flac, flv, fmp4,
// gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.
//
// Container is a required field
Container *string `type:"string" required:"true"`
// A description of the preset.
@ -2194,6 +2752,8 @@ type CreatePresetInput struct {
// The name of the preset. We recommend that the name be unique within the AWS
// account, but uniqueness is not enforced.
//
// Name is a required field
Name *string `min:"1" type:"string" required:"true"`
// A section of the request body that specifies the thumbnail parameters, if
@ -2268,6 +2828,8 @@ type DeletePipelineInput struct {
_ struct{} `type:"structure"`
// The identifier of the pipeline that you want to delete.
//
// Id is a required field
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
}
@ -2314,6 +2876,8 @@ type DeletePresetInput struct {
_ struct{} `type:"structure"`
// The identifier of the preset for which you want to get detailed information.
//
// Id is a required field
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
}
@ -3033,6 +3597,8 @@ type ListJobsByPipelineInput struct {
PageToken *string `location:"querystring" locationName:"PageToken" type:"string"`
// The ID of the pipeline for which you want to get job information.
//
// PipelineId is a required field
PipelineId *string `location:"uri" locationName:"PipelineId" type:"string" required:"true"`
}
@ -3097,6 +3663,8 @@ type ListJobsByStatusInput struct {
// To get information about all of the jobs associated with the current AWS
// account that have a given status, specify the following status: Submitted,
// Progressing, Complete, Canceled, or Error.
//
// Status is a required field
Status *string `location:"uri" locationName:"Status" type:"string" required:"true"`
}
@ -3894,6 +4462,8 @@ type ReadJobInput struct {
_ struct{} `type:"structure"`
// The identifier of the job for which you want to get detailed information.
//
// Id is a required field
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
}
@ -3943,6 +4513,8 @@ type ReadPipelineInput struct {
_ struct{} `type:"structure"`
// The identifier of the pipeline to read.
//
// Id is a required field
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
}
@ -4000,6 +4572,8 @@ type ReadPresetInput struct {
_ struct{} `type:"structure"`
// The identifier of the preset for which you want to get detailed information.
//
// Id is a required field
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
}
@ -4050,18 +4624,26 @@ type TestRoleInput struct {
// The Amazon S3 bucket that contains media files to be transcoded. The action
// attempts to read from this bucket.
//
// InputBucket is a required field
InputBucket *string `type:"string" required:"true"`
// The Amazon S3 bucket that Elastic Transcoder will write transcoded media
// files to. The action attempts to read from this bucket.
//
// OutputBucket is a required field
OutputBucket *string `type:"string" required:"true"`
// The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder
// to test.
//
// Role is a required field
Role *string `type:"string" required:"true"`
// The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics
// that you want the action to send a test notification to.
//
// Topics is a required field
Topics []*string `type:"list" required:"true"`
}
@ -4324,6 +4906,8 @@ type UpdatePipelineInput struct {
ContentConfig *PipelineOutputConfig `type:"structure"`
// The ID of the pipeline that you want to update.
//
// Id is a required field
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
// The Amazon S3 bucket in which you saved the media files that you want to
@ -4431,6 +5015,8 @@ type UpdatePipelineNotificationsInput struct {
// The identifier of the pipeline for which you want to change notification
// settings.
//
// Id is a required field
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
// The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic
@ -4449,6 +5035,8 @@ type UpdatePipelineNotificationsInput struct {
// The topic ARN for the Amazon SNS topic that you want to notify when Elastic
// Transcoder encounters an error condition. This is the ARN that Amazon SNS
// returned when you created the topic.
//
// Notifications is a required field
Notifications *Notifications `type:"structure" required:"true"`
}
@ -4528,12 +5116,16 @@ type UpdatePipelineStatusInput struct {
_ struct{} `type:"structure"`
// The identifier of the pipeline to update.
//
// Id is a required field
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
// The desired status of the pipeline:
//
// Active: The pipeline is processing jobs. Paused: The pipeline is not
// currently processing jobs.
//
// Status is a required field
Status *string `type:"string" required:"true"`
}

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilJobComplete uses the Amazon Elastic Transcoder API operation
// ReadJob to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *ElasticTranscoder) WaitUntilJobComplete(input *ReadJobInput) error {
waiterCfg := waiter.Config{
Operation: "ReadJob",

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilAnyInstanceInService uses the Elastic Load Balancing API operation
// DescribeInstanceHealth to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *ELB) WaitUntilAnyInstanceInService(input *DescribeInstanceHealthInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeInstanceHealth",
@ -29,6 +33,10 @@ func (c *ELB) WaitUntilAnyInstanceInService(input *DescribeInstanceHealthInput)
return w.Wait()
}
// WaitUntilInstanceDeregistered uses the Elastic Load Balancing API operation
// DescribeInstanceHealth to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *ELB) WaitUntilInstanceDeregistered(input *DescribeInstanceHealthInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeInstanceHealth",
@ -58,6 +66,10 @@ func (c *ELB) WaitUntilInstanceDeregistered(input *DescribeInstanceHealthInput)
return w.Wait()
}
// WaitUntilInstanceInService uses the Elastic Load Balancing API operation
// DescribeInstanceHealth to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *ELB) WaitUntilInstanceInService(input *DescribeInstanceHealthInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeInstanceHealth",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilClusterRunning uses the Amazon EMR API operation
// DescribeCluster to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EMR) WaitUntilClusterRunning(input *DescribeClusterInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeCluster",
@ -53,6 +57,10 @@ func (c *EMR) WaitUntilClusterRunning(input *DescribeClusterInput) error {
return w.Wait()
}
// WaitUntilStepComplete uses the Amazon EMR API operation
// DescribeStep to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *EMR) WaitUntilStepComplete(input *DescribeStepInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeStep",

View File

@ -18,6 +18,8 @@ const opCreateDeliveryStream = "CreateDeliveryStream"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See CreateDeliveryStream for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -52,6 +54,8 @@ func (c *Firehose) CreateDeliveryStreamRequest(input *CreateDeliveryStreamInput)
return
}
// CreateDeliveryStream API operation for Amazon Kinesis Firehose.
//
// Creates a delivery stream.
//
// CreateDeliveryStream is an asynchronous operation that immediately returns.
@ -102,6 +106,24 @@ func (c *Firehose) CreateDeliveryStreamRequest(input *CreateDeliveryStreamInput)
// the role should have permissions that allows the service to deliver the data.
// For more information, see Amazon S3 Bucket Access (http://docs.aws.amazon.com/firehose/latest/dev/controlling-access.html#using-iam-s3)
// in the Amazon Kinesis Firehose Developer Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Kinesis Firehose's
// API operation CreateDeliveryStream for usage and error information.
//
// Returned Error Codes:
// * InvalidArgumentException
// The specified input parameter has an value that is not valid.
//
// * LimitExceededException
// You have already reached the limit for a requested resource.
//
// * ResourceInUseException
// The resource is already in use and not available for this operation.
//
func (c *Firehose) CreateDeliveryStream(input *CreateDeliveryStreamInput) (*CreateDeliveryStreamOutput, error) {
req, out := c.CreateDeliveryStreamRequest(input)
err := req.Send()
@ -115,6 +137,8 @@ const opDeleteDeliveryStream = "DeleteDeliveryStream"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DeleteDeliveryStream for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -149,6 +173,8 @@ func (c *Firehose) DeleteDeliveryStreamRequest(input *DeleteDeliveryStreamInput)
return
}
// DeleteDeliveryStream API operation for Amazon Kinesis Firehose.
//
// Deletes a delivery stream and its data.
//
// You can delete a delivery stream only if it is in ACTIVE or DELETING state,
@ -161,6 +187,21 @@ func (c *Firehose) DeleteDeliveryStreamRequest(input *DeleteDeliveryStreamInput)
// accept the records, but the service doesn't make any guarantees with respect
// to delivering the data. Therefore, as a best practice, you should first stop
// any applications that are sending records before deleting a delivery stream.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Kinesis Firehose's
// API operation DeleteDeliveryStream for usage and error information.
//
// Returned Error Codes:
// * ResourceInUseException
// The resource is already in use and not available for this operation.
//
// * ResourceNotFoundException
// The specified resource could not be found.
//
func (c *Firehose) DeleteDeliveryStream(input *DeleteDeliveryStreamInput) (*DeleteDeliveryStreamOutput, error) {
req, out := c.DeleteDeliveryStreamRequest(input)
err := req.Send()
@ -174,6 +215,8 @@ const opDescribeDeliveryStream = "DescribeDeliveryStream"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DescribeDeliveryStream for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -208,10 +251,24 @@ func (c *Firehose) DescribeDeliveryStreamRequest(input *DescribeDeliveryStreamIn
return
}
// DescribeDeliveryStream API operation for Amazon Kinesis Firehose.
//
// Describes the specified delivery stream and gets the status. For example,
// after your delivery stream is created, call DescribeDeliveryStream to see
// if the delivery stream is ACTIVE and therefore ready for data to be sent
// to it.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Kinesis Firehose's
// API operation DescribeDeliveryStream for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// The specified resource could not be found.
//
func (c *Firehose) DescribeDeliveryStream(input *DescribeDeliveryStreamInput) (*DescribeDeliveryStreamOutput, error) {
req, out := c.DescribeDeliveryStreamRequest(input)
err := req.Send()
@ -225,6 +282,8 @@ const opListDeliveryStreams = "ListDeliveryStreams"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ListDeliveryStreams for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -259,6 +318,8 @@ func (c *Firehose) ListDeliveryStreamsRequest(input *ListDeliveryStreamsInput) (
return
}
// ListDeliveryStreams API operation for Amazon Kinesis Firehose.
//
// Lists your delivery streams.
//
// The number of delivery streams might be too large to return using a single
@ -268,6 +329,13 @@ func (c *Firehose) ListDeliveryStreamsRequest(input *ListDeliveryStreamsInput) (
// output. If there are more delivery streams to list, you can request them
// by specifying the name of the last delivery stream returned in the call in
// the ExclusiveStartDeliveryStreamName parameter of a subsequent call.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Kinesis Firehose's
// API operation ListDeliveryStreams for usage and error information.
func (c *Firehose) ListDeliveryStreams(input *ListDeliveryStreamsInput) (*ListDeliveryStreamsOutput, error) {
req, out := c.ListDeliveryStreamsRequest(input)
err := req.Send()
@ -281,6 +349,8 @@ const opPutRecord = "PutRecord"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See PutRecord for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -315,6 +385,8 @@ func (c *Firehose) PutRecordRequest(input *PutRecordInput) (req *request.Request
return
}
// PutRecord API operation for Amazon Kinesis Firehose.
//
// Writes a single data record into an Amazon Kinesis Firehose delivery stream.
// To write multiple data records into a delivery stream, use PutRecordBatch.
// Applications using these operations are referred to as producers.
@ -348,6 +420,27 @@ func (c *Firehose) PutRecordRequest(input *PutRecordInput) (req *request.Request
// are added to a delivery stream as it attempts to send the records to the
// destination. If the destination is unreachable for more than 24 hours, the
// data is no longer available.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Kinesis Firehose's
// API operation PutRecord for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// The specified resource could not be found.
//
// * InvalidArgumentException
// The specified input parameter has an value that is not valid.
//
// * ServiceUnavailableException
// The service is unavailable, back off and retry the operation. If you continue
// to see the exception, throughput limits for the delivery stream may have
// been exceeded. For more information about limits and how to request an increase,
// see Amazon Kinesis Firehose Limits (http://docs.aws.amazon.com/firehose/latest/dev/limits.html).
//
func (c *Firehose) PutRecord(input *PutRecordInput) (*PutRecordOutput, error) {
req, out := c.PutRecordRequest(input)
err := req.Send()
@ -361,6 +454,8 @@ const opPutRecordBatch = "PutRecordBatch"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See PutRecordBatch for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -395,6 +490,8 @@ func (c *Firehose) PutRecordBatchRequest(input *PutRecordBatchInput) (req *reque
return
}
// PutRecordBatch API operation for Amazon Kinesis Firehose.
//
// Writes multiple data records into a delivery stream in a single call, which
// can achieve higher throughput per producer than when writing single records.
// To write single data records into a delivery stream, use PutRecord. Applications
@ -451,6 +548,27 @@ func (c *Firehose) PutRecordBatchRequest(input *PutRecordBatchInput) (req *reque
// are added to a delivery stream as it attempts to send the records to the
// destination. If the destination is unreachable for more than 24 hours, the
// data is no longer available.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Kinesis Firehose's
// API operation PutRecordBatch for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// The specified resource could not be found.
//
// * InvalidArgumentException
// The specified input parameter has an value that is not valid.
//
// * ServiceUnavailableException
// The service is unavailable, back off and retry the operation. If you continue
// to see the exception, throughput limits for the delivery stream may have
// been exceeded. For more information about limits and how to request an increase,
// see Amazon Kinesis Firehose Limits (http://docs.aws.amazon.com/firehose/latest/dev/limits.html).
//
func (c *Firehose) PutRecordBatch(input *PutRecordBatchInput) (*PutRecordBatchOutput, error) {
req, out := c.PutRecordBatchRequest(input)
err := req.Send()
@ -464,6 +582,8 @@ const opUpdateDestination = "UpdateDestination"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See UpdateDestination for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -498,6 +618,8 @@ func (c *Firehose) UpdateDestinationRequest(input *UpdateDestinationInput) (req
return
}
// UpdateDestination API operation for Amazon Kinesis Firehose.
//
// Updates the specified destination of the specified delivery stream. Note:
// Switching between Elasticsearch and other services is not supported. For
// Elasticsearch destination, you can only update an existing Elasticsearch
@ -530,6 +652,28 @@ func (c *Firehose) UpdateDestinationRequest(input *UpdateDestinationInput) (req
// updated, which can be retrieved with the DescribeDeliveryStream operation.
// The new VersionId should be uses to set CurrentDeliveryStreamVersionId in
// the next UpdateDestination operation.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Kinesis Firehose's
// API operation UpdateDestination for usage and error information.
//
// Returned Error Codes:
// * InvalidArgumentException
// The specified input parameter has an value that is not valid.
//
// * ResourceInUseException
// The resource is already in use and not available for this operation.
//
// * ResourceNotFoundException
// The specified resource could not be found.
//
// * ConcurrentModificationException
// Another modification has already happened. Fetch VersionId again and use
// it to update the destination.
//
func (c *Firehose) UpdateDestination(input *UpdateDestinationInput) (*UpdateDestinationOutput, error) {
req, out := c.UpdateDestinationRequest(input)
err := req.Send()
@ -637,6 +781,8 @@ type CopyCommand struct {
DataTableColumns *string `type:"string"`
// The name of the target table. The table must already exist in the database.
//
// DataTableName is a required field
DataTableName *string `min:"1" type:"string" required:"true"`
}
@ -671,6 +817,8 @@ type CreateDeliveryStreamInput struct {
_ struct{} `type:"structure"`
// The name of the delivery stream.
//
// DeliveryStreamName is a required field
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
// The destination in Amazon ES. This value cannot be specified if Amazon S3
@ -752,6 +900,8 @@ type DeleteDeliveryStreamInput struct {
_ struct{} `type:"structure"`
// The name of the delivery stream.
//
// DeliveryStreamName is a required field
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
}
@ -804,18 +954,28 @@ type DeliveryStreamDescription struct {
CreateTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"`
// The Amazon Resource Name (ARN) of the delivery stream.
//
// DeliveryStreamARN is a required field
DeliveryStreamARN *string `type:"string" required:"true"`
// The name of the delivery stream.
//
// DeliveryStreamName is a required field
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
// The status of the delivery stream.
//
// DeliveryStreamStatus is a required field
DeliveryStreamStatus *string `type:"string" required:"true" enum:"DeliveryStreamStatus"`
// The destinations.
//
// Destinations is a required field
Destinations []*DestinationDescription `type:"list" required:"true"`
// Indicates whether there are more destinations available to list.
//
// HasMoreDestinations is a required field
HasMoreDestinations *bool `type:"boolean" required:"true"`
// The date and time that the delivery stream was last updated.
@ -826,6 +986,8 @@ type DeliveryStreamDescription struct {
// VersionId is required when updating the destination. This is so that the
// service knows it is applying the changes to the correct version of the delivery
// stream.
//
// VersionId is a required field
VersionId *string `min:"1" type:"string" required:"true"`
}
@ -844,6 +1006,8 @@ type DescribeDeliveryStreamInput struct {
_ struct{} `type:"structure"`
// The name of the delivery stream.
//
// DeliveryStreamName is a required field
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
// Specifies the destination ID to start returning the destination information.
@ -892,6 +1056,8 @@ type DescribeDeliveryStreamOutput struct {
_ struct{} `type:"structure"`
// Information about the delivery stream.
//
// DeliveryStreamDescription is a required field
DeliveryStreamDescription *DeliveryStreamDescription `type:"structure" required:"true"`
}
@ -910,6 +1076,8 @@ type DestinationDescription struct {
_ struct{} `type:"structure"`
// The ID of the destination.
//
// DestinationId is a required field
DestinationId *string `min:"1" type:"string" required:"true"`
// The destination in Amazon ES.
@ -990,9 +1158,13 @@ type ElasticsearchDestinationConfiguration struct {
// The ARN of the Amazon ES domain. The IAM role must have permission for DescribeElasticsearchDomain,
// DescribeElasticsearchDomains , and DescribeElasticsearchDomainConfig after
// assuming RoleARN.
//
// DomainARN is a required field
DomainARN *string `min:"1" type:"string" required:"true"`
// The Elasticsearch index name.
//
// IndexName is a required field
IndexName *string `min:"1" type:"string" required:"true"`
// The Elasticsearch index rotation period. Index rotation appends a timestamp
@ -1008,6 +1180,8 @@ type ElasticsearchDestinationConfiguration struct {
// The ARN of the IAM role to be assumed by Firehose for calling the Amazon
// ES Configuration API and for indexing documents. For more information, see
// Amazon S3 Bucket Access (http://docs.aws.amazon.com/firehose/latest/dev/controlling-access.html#using-iam-s3).
//
// RoleARN is a required field
RoleARN *string `min:"1" type:"string" required:"true"`
// Defines how documents should be delivered to Amazon S3. When set to FailedDocumentsOnly,
@ -1021,9 +1195,13 @@ type ElasticsearchDestinationConfiguration struct {
S3BackupMode *string `type:"string" enum:"ElasticsearchS3BackupMode"`
// Describes the configuration of a destination in Amazon S3.
//
// S3Configuration is a required field
S3Configuration *S3DestinationConfiguration `type:"structure" required:"true"`
// The Elasticsearch type name.
//
// TypeName is a required field
TypeName *string `min:"1" type:"string" required:"true"`
}
@ -1278,6 +1456,8 @@ type KMSEncryptionConfig struct {
// The ARN of the encryption key. Must belong to the same region as the destination
// Amazon S3 bucket.
//
// AWSKMSKeyARN is a required field
AWSKMSKeyARN *string `min:"1" type:"string" required:"true"`
}
@ -1349,9 +1529,13 @@ type ListDeliveryStreamsOutput struct {
_ struct{} `type:"structure"`
// The names of the delivery streams.
//
// DeliveryStreamNames is a required field
DeliveryStreamNames []*string `type:"list" required:"true"`
// Indicates whether there are more delivery streams available to list.
//
// HasMoreDeliveryStreams is a required field
HasMoreDeliveryStreams *bool `type:"boolean" required:"true"`
}
@ -1370,9 +1554,13 @@ type PutRecordBatchInput struct {
_ struct{} `type:"structure"`
// The name of the delivery stream.
//
// DeliveryStreamName is a required field
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
// One or more records.
//
// Records is a required field
Records []*Record `min:"1" type:"list" required:"true"`
}
@ -1423,10 +1611,14 @@ type PutRecordBatchOutput struct {
_ struct{} `type:"structure"`
// The number of unsuccessfully written records.
//
// FailedPutCount is a required field
FailedPutCount *int64 `type:"integer" required:"true"`
// The results for the individual records. The index of each element matches
// the same index in which records were sent.
//
// RequestResponses is a required field
RequestResponses []*PutRecordBatchResponseEntry `min:"1" type:"list" required:"true"`
}
@ -1472,9 +1664,13 @@ type PutRecordInput struct {
_ struct{} `type:"structure"`
// The name of the delivery stream.
//
// DeliveryStreamName is a required field
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
// The record.
//
// Record is a required field
Record *Record `type:"structure" required:"true"`
}
@ -1517,6 +1713,8 @@ type PutRecordOutput struct {
_ struct{} `type:"structure"`
// The ID of the record.
//
// RecordId is a required field
RecordId *string `min:"1" type:"string" required:"true"`
}
@ -1538,6 +1736,8 @@ type Record struct {
// size of the data blob, before base64-encoding, is 1,000 KB.
//
// Data is automatically base64 encoded/decoded by the SDK.
//
// Data is a required field
Data []byte `type:"blob" required:"true"`
}
@ -1572,12 +1772,18 @@ type RedshiftDestinationConfiguration struct {
CloudWatchLoggingOptions *CloudWatchLoggingOptions `type:"structure"`
// The database connection string.
//
// ClusterJDBCURL is a required field
ClusterJDBCURL *string `min:"1" type:"string" required:"true"`
// The COPY command.
//
// CopyCommand is a required field
CopyCommand *CopyCommand `type:"structure" required:"true"`
// The user password.
//
// Password is a required field
Password *string `min:"6" type:"string" required:"true"`
// Configures retry behavior in the event that Firehose is unable to deliver
@ -1585,6 +1791,8 @@ type RedshiftDestinationConfiguration struct {
RetryOptions *RedshiftRetryOptions `type:"structure"`
// The ARN of the AWS credentials.
//
// RoleARN is a required field
RoleARN *string `min:"1" type:"string" required:"true"`
// The S3 configuration for the intermediate location from which Amazon Redshift
@ -1593,9 +1801,13 @@ type RedshiftDestinationConfiguration struct {
// The compression formats SNAPPY or ZIP cannot be specified in RedshiftDestinationConfiguration.S3Configuration
// because the Amazon Redshift COPY operation that reads from the S3 bucket
// doesn't support these compression formats.
//
// S3Configuration is a required field
S3Configuration *S3DestinationConfiguration `type:"structure" required:"true"`
// The name of the user.
//
// Username is a required field
Username *string `min:"1" type:"string" required:"true"`
}
@ -1667,9 +1879,13 @@ type RedshiftDestinationDescription struct {
CloudWatchLoggingOptions *CloudWatchLoggingOptions `type:"structure"`
// The database connection string.
//
// ClusterJDBCURL is a required field
ClusterJDBCURL *string `min:"1" type:"string" required:"true"`
// The COPY command.
//
// CopyCommand is a required field
CopyCommand *CopyCommand `type:"structure" required:"true"`
// Configures retry behavior in the event that Firehose is unable to deliver
@ -1677,12 +1893,18 @@ type RedshiftDestinationDescription struct {
RetryOptions *RedshiftRetryOptions `type:"structure"`
// The ARN of the AWS credentials.
//
// RoleARN is a required field
RoleARN *string `min:"1" type:"string" required:"true"`
// The Amazon S3 destination.
//
// S3DestinationDescription is a required field
S3DestinationDescription *S3DestinationDescription `type:"structure" required:"true"`
// The name of the user.
//
// Username is a required field
Username *string `min:"1" type:"string" required:"true"`
}
@ -1800,6 +2022,8 @@ type S3DestinationConfiguration struct {
_ struct{} `type:"structure"`
// The ARN of the S3 bucket.
//
// BucketARN is a required field
BucketARN *string `min:"1" type:"string" required:"true"`
// The buffering option. If no value is specified, BufferingHints object default
@ -1829,6 +2053,8 @@ type S3DestinationConfiguration struct {
Prefix *string `type:"string"`
// The ARN of the AWS credentials.
//
// RoleARN is a required field
RoleARN *string `min:"1" type:"string" required:"true"`
}
@ -1879,20 +2105,28 @@ type S3DestinationDescription struct {
_ struct{} `type:"structure"`
// The ARN of the S3 bucket.
//
// BucketARN is a required field
BucketARN *string `min:"1" type:"string" required:"true"`
// The buffering option. If no value is specified, BufferingHints object default
// values are used.
//
// BufferingHints is a required field
BufferingHints *BufferingHints `type:"structure" required:"true"`
// Describes CloudWatch logging options for your delivery stream.
CloudWatchLoggingOptions *CloudWatchLoggingOptions `type:"structure"`
// The compression format. If no value is specified, the default is NOCOMPRESSION.
//
// CompressionFormat is a required field
CompressionFormat *string `type:"string" required:"true" enum:"CompressionFormat"`
// The encryption configuration. If no value is specified, the default is no
// encryption.
//
// EncryptionConfiguration is a required field
EncryptionConfiguration *EncryptionConfiguration `type:"structure" required:"true"`
// The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered
@ -1904,6 +2138,8 @@ type S3DestinationDescription struct {
Prefix *string `type:"string"`
// The ARN of the AWS credentials.
//
// RoleARN is a required field
RoleARN *string `min:"1" type:"string" required:"true"`
}
@ -2000,12 +2236,18 @@ type UpdateDestinationInput struct {
// is null, then the update destination fails. After the update is successful,
// the VersionId value is updated. The service then performs a merge of the
// old configuration with the new configuration.
//
// CurrentDeliveryStreamVersionId is a required field
CurrentDeliveryStreamVersionId *string `min:"1" type:"string" required:"true"`
// The name of the delivery stream.
//
// DeliveryStreamName is a required field
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
// The ID of the destination.
//
// DestinationId is a required field
DestinationId *string `min:"1" type:"string" required:"true"`
// Describes an update for a destination in Amazon ES.
@ -2087,46 +2329,56 @@ func (s UpdateDestinationOutput) GoString() string {
}
const (
// @enum CompressionFormat
// CompressionFormatUncompressed is a CompressionFormat enum value
CompressionFormatUncompressed = "UNCOMPRESSED"
// @enum CompressionFormat
// CompressionFormatGzip is a CompressionFormat enum value
CompressionFormatGzip = "GZIP"
// @enum CompressionFormat
// CompressionFormatZip is a CompressionFormat enum value
CompressionFormatZip = "ZIP"
// @enum CompressionFormat
// CompressionFormatSnappy is a CompressionFormat enum value
CompressionFormatSnappy = "Snappy"
)
const (
// @enum DeliveryStreamStatus
// DeliveryStreamStatusCreating is a DeliveryStreamStatus enum value
DeliveryStreamStatusCreating = "CREATING"
// @enum DeliveryStreamStatus
// DeliveryStreamStatusDeleting is a DeliveryStreamStatus enum value
DeliveryStreamStatusDeleting = "DELETING"
// @enum DeliveryStreamStatus
// DeliveryStreamStatusActive is a DeliveryStreamStatus enum value
DeliveryStreamStatusActive = "ACTIVE"
)
const (
// @enum ElasticsearchIndexRotationPeriod
// ElasticsearchIndexRotationPeriodNoRotation is a ElasticsearchIndexRotationPeriod enum value
ElasticsearchIndexRotationPeriodNoRotation = "NoRotation"
// @enum ElasticsearchIndexRotationPeriod
// ElasticsearchIndexRotationPeriodOneHour is a ElasticsearchIndexRotationPeriod enum value
ElasticsearchIndexRotationPeriodOneHour = "OneHour"
// @enum ElasticsearchIndexRotationPeriod
// ElasticsearchIndexRotationPeriodOneDay is a ElasticsearchIndexRotationPeriod enum value
ElasticsearchIndexRotationPeriodOneDay = "OneDay"
// @enum ElasticsearchIndexRotationPeriod
// ElasticsearchIndexRotationPeriodOneWeek is a ElasticsearchIndexRotationPeriod enum value
ElasticsearchIndexRotationPeriodOneWeek = "OneWeek"
// @enum ElasticsearchIndexRotationPeriod
// ElasticsearchIndexRotationPeriodOneMonth is a ElasticsearchIndexRotationPeriod enum value
ElasticsearchIndexRotationPeriodOneMonth = "OneMonth"
)
const (
// @enum ElasticsearchS3BackupMode
// ElasticsearchS3BackupModeFailedDocumentsOnly is a ElasticsearchS3BackupMode enum value
ElasticsearchS3BackupModeFailedDocumentsOnly = "FailedDocumentsOnly"
// @enum ElasticsearchS3BackupMode
// ElasticsearchS3BackupModeAllDocuments is a ElasticsearchS3BackupMode enum value
ElasticsearchS3BackupModeAllDocuments = "AllDocuments"
)
const (
// @enum NoEncryptionConfig
// NoEncryptionConfigNoEncryption is a NoEncryptionConfig enum value
NoEncryptionConfigNoEncryption = "NoEncryption"
)

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilVaultExists uses the Amazon Glacier API operation
// DescribeVault to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *Glacier) WaitUntilVaultExists(input *DescribeVaultInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeVault",
@ -35,6 +39,10 @@ func (c *Glacier) WaitUntilVaultExists(input *DescribeVaultInput) error {
return w.Wait()
}
// WaitUntilVaultNotExists uses the Amazon Glacier API operation
// DescribeVault to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *Glacier) WaitUntilVaultNotExists(input *DescribeVaultInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeVault",

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilInstanceProfileExists uses the IAM API operation
// GetInstanceProfile to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *IAM) WaitUntilInstanceProfileExists(input *GetInstanceProfileInput) error {
waiterCfg := waiter.Config{
Operation: "GetInstanceProfile",
@ -35,6 +39,10 @@ func (c *IAM) WaitUntilInstanceProfileExists(input *GetInstanceProfileInput) err
return w.Wait()
}
// WaitUntilUserExists uses the IAM API operation
// GetUser to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *IAM) WaitUntilUserExists(input *GetUserInput) error {
waiterCfg := waiter.Config{
Operation: "GetUser",

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilStreamExists uses the Kinesis API operation
// DescribeStream to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *Kinesis) WaitUntilStreamExists(input *DescribeStreamInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeStream",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilAppExists uses the AWS OpsWorks API operation
// DescribeApps to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *OpsWorks) WaitUntilAppExists(input *DescribeAppsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeApps",
@ -35,6 +39,10 @@ func (c *OpsWorks) WaitUntilAppExists(input *DescribeAppsInput) error {
return w.Wait()
}
// WaitUntilDeploymentSuccessful uses the AWS OpsWorks API operation
// DescribeDeployments to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *OpsWorks) WaitUntilDeploymentSuccessful(input *DescribeDeploymentsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeDeployments",
@ -64,6 +72,10 @@ func (c *OpsWorks) WaitUntilDeploymentSuccessful(input *DescribeDeploymentsInput
return w.Wait()
}
// WaitUntilInstanceOnline uses the AWS OpsWorks API operation
// DescribeInstances to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *OpsWorks) WaitUntilInstanceOnline(input *DescribeInstancesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeInstances",
@ -135,6 +147,10 @@ func (c *OpsWorks) WaitUntilInstanceOnline(input *DescribeInstancesInput) error
return w.Wait()
}
// WaitUntilInstanceRegistered uses the AWS OpsWorks API operation
// DescribeInstances to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *OpsWorks) WaitUntilInstanceRegistered(input *DescribeInstancesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeInstances",
@ -200,6 +216,10 @@ func (c *OpsWorks) WaitUntilInstanceRegistered(input *DescribeInstancesInput) er
return w.Wait()
}
// WaitUntilInstanceStopped uses the AWS OpsWorks API operation
// DescribeInstances to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *OpsWorks) WaitUntilInstanceStopped(input *DescribeInstancesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeInstances",
@ -277,6 +297,10 @@ func (c *OpsWorks) WaitUntilInstanceStopped(input *DescribeInstancesInput) error
return w.Wait()
}
// WaitUntilInstanceTerminated uses the AWS OpsWorks API operation
// DescribeInstances to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *OpsWorks) WaitUntilInstanceTerminated(input *DescribeInstancesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeInstances",

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilDBInstanceAvailable uses the Amazon RDS API operation
// DescribeDBInstances to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *RDS) WaitUntilDBInstanceAvailable(input *DescribeDBInstancesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeDBInstances",
@ -59,6 +63,10 @@ func (c *RDS) WaitUntilDBInstanceAvailable(input *DescribeDBInstancesInput) erro
return w.Wait()
}
// WaitUntilDBInstanceDeleted uses the Amazon RDS API operation
// DescribeDBInstances to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *RDS) WaitUntilDBInstanceDeleted(input *DescribeDBInstancesInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeDBInstances",

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilClusterAvailable uses the Amazon Redshift API operation
// DescribeClusters to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *Redshift) WaitUntilClusterAvailable(input *DescribeClustersInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeClusters",
@ -41,6 +45,10 @@ func (c *Redshift) WaitUntilClusterAvailable(input *DescribeClustersInput) error
return w.Wait()
}
// WaitUntilClusterDeleted uses the Amazon Redshift API operation
// DescribeClusters to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *Redshift) WaitUntilClusterDeleted(input *DescribeClustersInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeClusters",
@ -76,6 +84,10 @@ func (c *Redshift) WaitUntilClusterDeleted(input *DescribeClustersInput) error {
return w.Wait()
}
// WaitUntilClusterRestored uses the Amazon Redshift API operation
// DescribeClusters to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *Redshift) WaitUntilClusterRestored(input *DescribeClustersInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeClusters",
@ -105,6 +117,10 @@ func (c *Redshift) WaitUntilClusterRestored(input *DescribeClustersInput) error
return w.Wait()
}
// WaitUntilSnapshotAvailable uses the Amazon Redshift API operation
// DescribeClusterSnapshots to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *Redshift) WaitUntilSnapshotAvailable(input *DescribeClusterSnapshotsInput) error {
waiterCfg := waiter.Config{
Operation: "DescribeClusterSnapshots",

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilResourceRecordSetsChanged uses the Route 53 API operation
// GetChange to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *Route53) WaitUntilResourceRecordSetsChanged(input *GetChangeInput) error {
waiterCfg := waiter.Config{
Operation: "GetChange",

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,7 @@
package s3
import (
"bytes"
"fmt"
"net/url"
"regexp"
@ -37,14 +38,6 @@ var accelerateOpBlacklist = operationBlacklist{
func updateEndpointForS3Config(r *request.Request) {
forceHostStyle := aws.BoolValue(r.Config.S3ForcePathStyle)
accelerate := aws.BoolValue(r.Config.S3UseAccelerate)
useDualStack := aws.BoolValue(r.Config.UseDualStack)
if useDualStack && accelerate {
r.Error = awserr.New("InvalidParameterException",
fmt.Sprintf("configuration aws.Config.UseDualStack is not compatible with aws.Config.Accelerate"),
nil)
return
}
if accelerate && accelerateOpBlacklist.Continue(r) {
if forceHostStyle {
@ -75,6 +68,10 @@ func updateEndpointForHostStyle(r *request.Request) {
moveBucketToHost(r.HTTPRequest.URL, bucket)
}
var (
accelElem = []byte("s3-accelerate.dualstack.")
)
func updateEndpointForAccelerate(r *request.Request) {
bucket, ok := bucketNameFromReqParams(r.Params)
if !ok {
@ -93,6 +90,22 @@ func updateEndpointForAccelerate(r *request.Request) {
// Change endpoint from s3(-[a-z0-1-])?.amazonaws.com to s3-accelerate.amazonaws.com
r.HTTPRequest.URL.Host = replaceHostRegion(r.HTTPRequest.URL.Host, "accelerate")
if aws.BoolValue(r.Config.UseDualStack) {
host := []byte(r.HTTPRequest.URL.Host)
// Strip region from hostname
if idx := bytes.Index(host, accelElem); idx >= 0 {
start := idx + len(accelElem)
if end := bytes.IndexByte(host[start:], '.'); end >= 0 {
end += start + 1
copy(host[start:], host[end:])
host = host[:len(host)-(end-start)]
r.HTTPRequest.URL.Host = string(host)
}
}
}
moveBucketToHost(r.HTTPRequest.URL, bucket)
}

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilBucketExists uses the Amazon S3 API operation
// HeadBucket to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *S3) WaitUntilBucketExists(input *HeadBucketInput) error {
waiterCfg := waiter.Config{
Operation: "HeadBucket",
@ -47,6 +51,10 @@ func (c *S3) WaitUntilBucketExists(input *HeadBucketInput) error {
return w.Wait()
}
// WaitUntilBucketNotExists uses the Amazon S3 API operation
// HeadBucket to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *S3) WaitUntilBucketNotExists(input *HeadBucketInput) error {
waiterCfg := waiter.Config{
Operation: "HeadBucket",
@ -70,6 +78,10 @@ func (c *S3) WaitUntilBucketNotExists(input *HeadBucketInput) error {
return w.Wait()
}
// WaitUntilObjectExists uses the Amazon S3 API operation
// HeadObject to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *S3) WaitUntilObjectExists(input *HeadObjectInput) error {
waiterCfg := waiter.Config{
Operation: "HeadObject",
@ -99,6 +111,10 @@ func (c *S3) WaitUntilObjectExists(input *HeadObjectInput) error {
return w.Wait()
}
// WaitUntilObjectNotExists uses the Amazon S3 API operation
// HeadObject to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *S3) WaitUntilObjectNotExists(input *HeadObjectInput) error {
waiterCfg := waiter.Config{
Operation: "HeadObject",

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@ import (
"github.com/aws/aws-sdk-go/private/waiter"
)
// WaitUntilIdentityExists uses the Amazon SES API operation
// GetIdentityVerificationAttributes to wait for a condition to be met before returning.
// If the condition is not meet within the max attempt window an error will
// be returned.
func (c *SES) WaitUntilIdentityExists(input *GetIdentityVerificationAttributesInput) error {
waiterCfg := waiter.Config{
Operation: "GetIdentityVerificationAttributes",

View File

@ -19,6 +19,8 @@ const opBatchDeleteAttributes = "BatchDeleteAttributes"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See BatchDeleteAttributes for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -55,6 +57,8 @@ func (c *SimpleDB) BatchDeleteAttributesRequest(input *BatchDeleteAttributesInpu
return
}
// BatchDeleteAttributes API operation for Amazon SimpleDB.
//
// Performs multiple DeleteAttributes operations in a single call, which reduces
// round trips and latencies. This enables Amazon SimpleDB to optimize requests,
// which generally yields better throughput.
@ -78,6 +82,13 @@ func (c *SimpleDB) BatchDeleteAttributesRequest(input *BatchDeleteAttributesInpu
//
// The following limitations are enforced for this operation: 1 MB request
// size 25 item limit per BatchDeleteAttributes operation
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon SimpleDB's
// API operation BatchDeleteAttributes for usage and error information.
func (c *SimpleDB) BatchDeleteAttributes(input *BatchDeleteAttributesInput) (*BatchDeleteAttributesOutput, error) {
req, out := c.BatchDeleteAttributesRequest(input)
err := req.Send()
@ -91,6 +102,8 @@ const opBatchPutAttributes = "BatchPutAttributes"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See BatchPutAttributes for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -127,6 +140,8 @@ func (c *SimpleDB) BatchPutAttributesRequest(input *BatchPutAttributesInput) (re
return
}
// BatchPutAttributes API operation for Amazon SimpleDB.
//
// The BatchPutAttributes operation creates or replaces attributes within one
// or more items. By using this operation, the client can perform multiple PutAttribute
// operation with a single call. This helps yield savings in round trips and
@ -168,6 +183,42 @@ func (c *SimpleDB) BatchPutAttributesRequest(input *BatchPutAttributesInput) (re
// name-value pairs per item 1 MB request size 1 billion attributes per domain
// 10 GB of total user data storage per domain 25 item limit per BatchPutAttributes
// operation
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon SimpleDB's
// API operation BatchPutAttributes for usage and error information.
//
// Returned Error Codes:
// * DuplicateItemName
// The item name was specified more than once.
//
// * InvalidParameterValue
// The value for a parameter is invalid.
//
// * MissingParameter
// The request must contain the specified missing parameter.
//
// * NoSuchDomain
// The specified domain does not exist.
//
// * NumberItemAttributesExceeded
// Too many attributes in this item.
//
// * NumberDomainAttributesExceeded
// Too many attributes in this domain.
//
// * NumberDomainBytesExceeded
// Too many bytes in this domain.
//
// * NumberSubmittedItemsExceeded
// Too many items exist in a single call.
//
// * NumberSubmittedAttributesExceeded
// Too many attributes exist in a single call.
//
func (c *SimpleDB) BatchPutAttributes(input *BatchPutAttributesInput) (*BatchPutAttributesOutput, error) {
req, out := c.BatchPutAttributesRequest(input)
err := req.Send()
@ -181,6 +232,8 @@ const opCreateDomain = "CreateDomain"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See CreateDomain for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -217,6 +270,8 @@ func (c *SimpleDB) CreateDomainRequest(input *CreateDomainInput) (req *request.R
return
}
// CreateDomain API operation for Amazon SimpleDB.
//
// The CreateDomain operation creates a new domain. The domain name should be
// unique among the domains associated with the Access Key ID provided in the
// request. The CreateDomain operation may take 10 or more seconds to complete.
@ -227,6 +282,24 @@ func (c *SimpleDB) CreateDomainRequest(input *CreateDomainInput) (req *request.R
//
// If the client requires additional domains, go to http://aws.amazon.com/contact-us/simpledb-limit-request/
// (http://aws.amazon.com/contact-us/simpledb-limit-request/).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon SimpleDB's
// API operation CreateDomain for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// The value for a parameter is invalid.
//
// * MissingParameter
// The request must contain the specified missing parameter.
//
// * NumberDomainsExceeded
// Too many domains exist per this account.
//
func (c *SimpleDB) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) {
req, out := c.CreateDomainRequest(input)
err := req.Send()
@ -240,6 +313,8 @@ const opDeleteAttributes = "DeleteAttributes"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DeleteAttributes for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -276,6 +351,8 @@ func (c *SimpleDB) DeleteAttributesRequest(input *DeleteAttributesInput) (req *r
return
}
// DeleteAttributes API operation for Amazon SimpleDB.
//
// Deletes one or more attributes associated with an item. If all attributes
// of the item are deleted, the item is deleted.
//
@ -288,6 +365,27 @@ func (c *SimpleDB) DeleteAttributesRequest(input *DeleteAttributesInput) (req *r
// eventual consistency update model, performing a GetAttributes or Select operation
// (read) immediately after a DeleteAttributes or PutAttributes operation (write)
// might not return updated item data.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon SimpleDB's
// API operation DeleteAttributes for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// The value for a parameter is invalid.
//
// * MissingParameter
// The request must contain the specified missing parameter.
//
// * NoSuchDomain
// The specified domain does not exist.
//
// * AttributeDoesNotExist
// The specified attribute does not exist.
//
func (c *SimpleDB) DeleteAttributes(input *DeleteAttributesInput) (*DeleteAttributesOutput, error) {
req, out := c.DeleteAttributesRequest(input)
err := req.Send()
@ -301,6 +399,8 @@ const opDeleteDomain = "DeleteDomain"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DeleteDomain for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -337,12 +437,26 @@ func (c *SimpleDB) DeleteDomainRequest(input *DeleteDomainInput) (req *request.R
return
}
// DeleteDomain API operation for Amazon SimpleDB.
//
// The DeleteDomain operation deletes a domain. Any items (and their attributes)
// in the domain are deleted as well. The DeleteDomain operation might take
// 10 or more seconds to complete.
//
// Running DeleteDomain on a domain that does not exist or running the function
// multiple times using the same domain name will not result in an error response.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon SimpleDB's
// API operation DeleteDomain for usage and error information.
//
// Returned Error Codes:
// * MissingParameter
// The request must contain the specified missing parameter.
//
func (c *SimpleDB) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) {
req, out := c.DeleteDomainRequest(input)
err := req.Send()
@ -356,6 +470,8 @@ const opDomainMetadata = "DomainMetadata"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DomainMetadata for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -390,9 +506,26 @@ func (c *SimpleDB) DomainMetadataRequest(input *DomainMetadataInput) (req *reque
return
}
// DomainMetadata API operation for Amazon SimpleDB.
//
// Returns information about the domain, including when the domain was created,
// the number of items and attributes in the domain, and the size of the attribute
// names and values.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon SimpleDB's
// API operation DomainMetadata for usage and error information.
//
// Returned Error Codes:
// * MissingParameter
// The request must contain the specified missing parameter.
//
// * NoSuchDomain
// The specified domain does not exist.
//
func (c *SimpleDB) DomainMetadata(input *DomainMetadataInput) (*DomainMetadataOutput, error) {
req, out := c.DomainMetadataRequest(input)
err := req.Send()
@ -406,6 +539,8 @@ const opGetAttributes = "GetAttributes"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See GetAttributes for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -440,6 +575,8 @@ func (c *SimpleDB) GetAttributesRequest(input *GetAttributesInput) (req *request
return
}
// GetAttributes API operation for Amazon SimpleDB.
//
// Returns all of the attributes associated with the specified item. Optionally,
// the attributes returned can be limited to one or more attributes by specifying
// an attribute name parameter.
@ -450,6 +587,24 @@ func (c *SimpleDB) GetAttributesRequest(input *GetAttributesInput) (req *request
//
// If GetAttributes is called without being passed any attribute names, all
// the attributes for the item are returned.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon SimpleDB's
// API operation GetAttributes for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// The value for a parameter is invalid.
//
// * MissingParameter
// The request must contain the specified missing parameter.
//
// * NoSuchDomain
// The specified domain does not exist.
//
func (c *SimpleDB) GetAttributes(input *GetAttributesInput) (*GetAttributesOutput, error) {
req, out := c.GetAttributesRequest(input)
err := req.Send()
@ -463,6 +618,8 @@ const opListDomains = "ListDomains"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ListDomains for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -503,12 +660,29 @@ func (c *SimpleDB) ListDomainsRequest(input *ListDomainsInput) (req *request.Req
return
}
// ListDomains API operation for Amazon SimpleDB.
//
// The ListDomains operation lists all domains associated with the Access Key
// ID. It returns domain names up to the limit set by MaxNumberOfDomains (#MaxNumberOfDomains).
// A NextToken (#NextToken) is returned if there are more than MaxNumberOfDomains
// domains. Calling ListDomains successive times with the NextToken provided
// by the operation returns up to MaxNumberOfDomains more domain names with
// each successive operation call.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon SimpleDB's
// API operation ListDomains for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// The value for a parameter is invalid.
//
// * InvalidNextToken
// The specified NextToken is not valid.
//
func (c *SimpleDB) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) {
req, out := c.ListDomainsRequest(input)
err := req.Send()
@ -547,6 +721,8 @@ const opPutAttributes = "PutAttributes"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See PutAttributes for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -583,6 +759,8 @@ func (c *SimpleDB) PutAttributesRequest(input *PutAttributesInput) (req *request
return
}
// PutAttributes API operation for Amazon SimpleDB.
//
// The PutAttributes operation creates or replaces attributes in an item. The
// client may specify new attributes using a combination of the Attribute.X.Name
// and Attribute.X.Value parameters. The client specifies the first attribute
@ -614,6 +792,36 @@ func (c *SimpleDB) PutAttributesRequest(input *PutAttributesInput) (req *request
// The following limitations are enforced for this operation: 256 total attribute
// name-value pairs per item One billion attributes per domain 10 GB of total
// user data storage per domain
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon SimpleDB's
// API operation PutAttributes for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// The value for a parameter is invalid.
//
// * MissingParameter
// The request must contain the specified missing parameter.
//
// * NoSuchDomain
// The specified domain does not exist.
//
// * NumberDomainAttributesExceeded
// Too many attributes in this domain.
//
// * NumberDomainBytesExceeded
// Too many bytes in this domain.
//
// * NumberItemAttributesExceeded
// Too many attributes in this item.
//
// * AttributeDoesNotExist
// The specified attribute does not exist.
//
func (c *SimpleDB) PutAttributes(input *PutAttributesInput) (*PutAttributesOutput, error) {
req, out := c.PutAttributesRequest(input)
err := req.Send()
@ -627,6 +835,8 @@ const opSelect = "Select"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See Select for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -667,6 +877,8 @@ func (c *SimpleDB) SelectRequest(input *SelectInput) (req *request.Request, outp
return
}
// Select API operation for Amazon SimpleDB.
//
// The Select operation returns a set of attributes for ItemNames that match
// the select expression. Select is similar to the standard SQL SELECT statement.
//
@ -678,6 +890,43 @@ func (c *SimpleDB) SelectRequest(input *SelectInput) (req *request.Request, outp
//
// For information on how to construct select expressions, see Using Select
// to Create Amazon SimpleDB Queries in the Developer Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon SimpleDB's
// API operation Select for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// The value for a parameter is invalid.
//
// * InvalidNextToken
// The specified NextToken is not valid.
//
// * InvalidNumberPredicates
// Too many predicates exist in the query expression.
//
// * InvalidNumberValueTests
// Too many predicates exist in the query expression.
//
// * InvalidQueryExpression
// The specified query expression syntax is not valid.
//
// * MissingParameter
// The request must contain the specified missing parameter.
//
// * NoSuchDomain
// The specified domain does not exist.
//
// * RequestTimeout
// A timeout occurred when attempting to query the specified domain with specified
// query expression.
//
// * TooManyRequestedAttributes
// Too many attributes requested.
//
func (c *SimpleDB) Select(input *SelectInput) (*SelectOutput, error) {
req, out := c.SelectRequest(input)
err := req.Send()
@ -717,9 +966,13 @@ type Attribute struct {
AlternateValueEncoding *string `type:"string"`
// The name of the attribute.
//
// Name is a required field
Name *string `type:"string" required:"true"`
// The value of the attribute.
//
// Value is a required field
Value *string `type:"string" required:"true"`
}
@ -737,9 +990,13 @@ type BatchDeleteAttributesInput struct {
_ struct{} `type:"structure"`
// The name of the domain in which the attributes are being deleted.
//
// DomainName is a required field
DomainName *string `type:"string" required:"true"`
// A list of items on which to perform the operation.
//
// Items is a required field
Items []*DeletableItem `locationNameList:"Item" type:"list" flattened:"true" required:"true"`
}
@ -797,9 +1054,13 @@ type BatchPutAttributesInput struct {
_ struct{} `type:"structure"`
// The name of the domain in which the attributes are being stored.
//
// DomainName is a required field
DomainName *string `type:"string" required:"true"`
// A list of items on which to perform the operation.
//
// Items is a required field
Items []*ReplaceableItem `locationNameList:"Item" type:"list" flattened:"true" required:"true"`
}
@ -858,6 +1119,8 @@ type CreateDomainInput struct {
// The name of the domain to create. The name can range between 3 and 255 characters
// and can contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'.
//
// DomainName is a required field
DomainName *string `type:"string" required:"true"`
}
@ -902,6 +1165,8 @@ type DeletableAttribute struct {
_ struct{} `type:"structure"`
// The name of the attribute.
//
// Name is a required field
Name *string `type:"string" required:"true"`
// The value of the attribute.
@ -936,6 +1201,7 @@ type DeletableItem struct {
Attributes []*DeletableAttribute `locationNameList:"Attribute" type:"list" flattened:"true"`
// Name is a required field
Name *string `locationName:"ItemName" type:"string" required:"true"`
}
@ -980,6 +1246,8 @@ type DeleteAttributesInput struct {
Attributes []*DeletableAttribute `locationNameList:"Attribute" type:"list" flattened:"true"`
// The name of the domain in which to perform the operation.
//
// DomainName is a required field
DomainName *string `type:"string" required:"true"`
// The update condition which, if specified, determines whether the specified
@ -989,6 +1257,8 @@ type DeleteAttributesInput struct {
// The name of the item. Similar to rows on a spreadsheet, items represent individual
// objects that contain one or more value-attribute pairs.
//
// ItemName is a required field
ItemName *string `type:"string" required:"true"`
}
@ -1046,6 +1316,8 @@ type DeleteDomainInput struct {
_ struct{} `type:"structure"`
// The name of the domain to delete.
//
// DomainName is a required field
DomainName *string `type:"string" required:"true"`
}
@ -1090,6 +1362,8 @@ type DomainMetadataInput struct {
_ struct{} `type:"structure"`
// The name of the domain for which to display the metadata of.
//
// DomainName is a required field
DomainName *string `type:"string" required:"true"`
}
@ -1164,9 +1438,13 @@ type GetAttributesInput struct {
ConsistentRead *bool `type:"boolean"`
// The name of the domain in which to perform the operation.
//
// DomainName is a required field
DomainName *string `type:"string" required:"true"`
// The name of the item.
//
// ItemName is a required field
ItemName *string `type:"string" required:"true"`
}
@ -1219,9 +1497,13 @@ type Item struct {
AlternateNameEncoding *string `type:"string"`
// A list of attributes.
//
// Attributes is a required field
Attributes []*Attribute `locationNameList:"Attribute" type:"list" flattened:"true" required:"true"`
// The name of the item.
//
// Name is a required field
Name *string `type:"string" required:"true"`
}
@ -1282,9 +1564,13 @@ type PutAttributesInput struct {
_ struct{} `type:"structure"`
// The list of attributes.
//
// Attributes is a required field
Attributes []*ReplaceableAttribute `locationNameList:"Attribute" type:"list" flattened:"true" required:"true"`
// The name of the domain in which to perform the operation.
//
// DomainName is a required field
DomainName *string `type:"string" required:"true"`
// The update condition which, if specified, determines whether the specified
@ -1293,6 +1579,8 @@ type PutAttributesInput struct {
Expected *UpdateCondition `type:"structure"`
// The name of the item.
//
// ItemName is a required field
ItemName *string `type:"string" required:"true"`
}
@ -1353,6 +1641,8 @@ type ReplaceableAttribute struct {
_ struct{} `type:"structure"`
// The name of the replaceable attribute.
//
// Name is a required field
Name *string `type:"string" required:"true"`
// A flag specifying whether or not to replace the attribute/value pair or to
@ -1360,6 +1650,8 @@ type ReplaceableAttribute struct {
Replace *bool `type:"boolean"`
// The value of the replaceable attribute.
//
// Value is a required field
Value *string `type:"string" required:"true"`
}
@ -1393,9 +1685,13 @@ type ReplaceableItem struct {
_ struct{} `type:"structure"`
// The list of attributes for a replaceable item.
//
// Attributes is a required field
Attributes []*ReplaceableAttribute `locationNameList:"Attribute" type:"list" flattened:"true" required:"true"`
// The name of the replaceable item.
//
// Name is a required field
Name *string `locationName:"ItemName" type:"string" required:"true"`
}
@ -1448,6 +1744,8 @@ type SelectInput struct {
NextToken *string `type:"string"`
// The expression used to query the domain.
//
// SelectExpression is a required field
SelectExpression *string `type:"string" required:"true"`
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -17,6 +17,8 @@ const opAssumeRole = "AssumeRole"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See AssumeRole for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -51,6 +53,8 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o
return
}
// AssumeRole API operation for AWS Security Token Service.
//
// Returns a set of temporary security credentials (consisting of an access
// key ID, a secret access key, and a security token) that you can use to access
// AWS resources that you might not normally have access to. Typically, you
@ -140,6 +144,31 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o
// parameters. The SerialNumber value identifies the user's hardware or virtual
// MFA device. The TokenCode is the time-based one-time password (TOTP) that
// the MFA devices produces.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Security Token Service's
// API operation AssumeRole for usage and error information.
//
// Returned Error Codes:
// * MalformedPolicyDocument
// The request was rejected because the policy document was malformed. The error
// message describes the specific error.
//
// * PackedPolicyTooLarge
// The request was rejected because the policy document was too large. The error
// message describes how big the policy document is, in packed form, as a percentage
// of what the API allows.
//
// * RegionDisabledException
// STS is not activated in the requested region for the account that is being
// asked to generate credentials. The account administrator must use the IAM
// console to activate STS in that region. For more information, see Activating
// and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
// in the IAM User Guide.
//
func (c *STS) AssumeRole(input *AssumeRoleInput) (*AssumeRoleOutput, error) {
req, out := c.AssumeRoleRequest(input)
err := req.Send()
@ -153,6 +182,8 @@ const opAssumeRoleWithSAML = "AssumeRoleWithSAML"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See AssumeRoleWithSAML for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -187,6 +218,8 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re
return
}
// AssumeRoleWithSAML API operation for AWS Security Token Service.
//
// Returns a set of temporary security credentials for users who have been authenticated
// via a SAML authentication response. This operation provides a mechanism for
// tying an enterprise identity store or directory to role-based AWS access
@ -254,6 +287,46 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re
//
// Creating a Role for SAML 2.0 Federation (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_saml.html)
// in the IAM User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Security Token Service's
// API operation AssumeRoleWithSAML for usage and error information.
//
// Returned Error Codes:
// * MalformedPolicyDocument
// The request was rejected because the policy document was malformed. The error
// message describes the specific error.
//
// * PackedPolicyTooLarge
// The request was rejected because the policy document was too large. The error
// message describes how big the policy document is, in packed form, as a percentage
// of what the API allows.
//
// * IDPRejectedClaim
// The identity provider (IdP) reported that authentication failed. This might
// be because the claim is invalid.
//
// If this error is returned for the AssumeRoleWithWebIdentity operation, it
// can also mean that the claim has expired or has been explicitly revoked.
//
// * InvalidIdentityToken
// The web identity token that was passed could not be validated by AWS. Get
// a new identity token from the identity provider and then retry the request.
//
// * ExpiredTokenException
// The web identity token that was passed is expired or is not valid. Get a
// new identity token from the identity provider and then retry the request.
//
// * RegionDisabledException
// STS is not activated in the requested region for the account that is being
// asked to generate credentials. The account administrator must use the IAM
// console to activate STS in that region. For more information, see Activating
// and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
// in the IAM User Guide.
//
func (c *STS) AssumeRoleWithSAML(input *AssumeRoleWithSAMLInput) (*AssumeRoleWithSAMLOutput, error) {
req, out := c.AssumeRoleWithSAMLRequest(input)
err := req.Send()
@ -267,6 +340,8 @@ const opAssumeRoleWithWebIdentity = "AssumeRoleWithWebIdentity"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See AssumeRoleWithWebIdentity for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -301,6 +376,8 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI
return
}
// AssumeRoleWithWebIdentity API operation for AWS Security Token Service.
//
// Returns a set of temporary security credentials for users who have been authenticated
// in a mobile or web application with a web identity provider, such as Amazon
// Cognito, Login with Amazon, Facebook, Google, or any OpenID Connect-compatible
@ -386,6 +463,53 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI
// Web Identity Federation with Mobile Applications (http://aws.amazon.com/articles/4617974389850313).
// This article discusses web identity federation and shows an example of how
// to use web identity federation to get access to content in Amazon S3.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Security Token Service's
// API operation AssumeRoleWithWebIdentity for usage and error information.
//
// Returned Error Codes:
// * MalformedPolicyDocument
// The request was rejected because the policy document was malformed. The error
// message describes the specific error.
//
// * PackedPolicyTooLarge
// The request was rejected because the policy document was too large. The error
// message describes how big the policy document is, in packed form, as a percentage
// of what the API allows.
//
// * IDPRejectedClaim
// The identity provider (IdP) reported that authentication failed. This might
// be because the claim is invalid.
//
// If this error is returned for the AssumeRoleWithWebIdentity operation, it
// can also mean that the claim has expired or has been explicitly revoked.
//
// * IDPCommunicationError
// The request could not be fulfilled because the non-AWS identity provider
// (IDP) that was asked to verify the incoming identity token could not be reached.
// This is often a transient error caused by network conditions. Retry the request
// a limited number of times so that you don't exceed the request rate. If the
// error persists, the non-AWS identity provider might be down or not responding.
//
// * InvalidIdentityToken
// The web identity token that was passed could not be validated by AWS. Get
// a new identity token from the identity provider and then retry the request.
//
// * ExpiredTokenException
// The web identity token that was passed is expired or is not valid. Get a
// new identity token from the identity provider and then retry the request.
//
// * RegionDisabledException
// STS is not activated in the requested region for the account that is being
// asked to generate credentials. The account administrator must use the IAM
// console to activate STS in that region. For more information, see Activating
// and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
// in the IAM User Guide.
//
func (c *STS) AssumeRoleWithWebIdentity(input *AssumeRoleWithWebIdentityInput) (*AssumeRoleWithWebIdentityOutput, error) {
req, out := c.AssumeRoleWithWebIdentityRequest(input)
err := req.Send()
@ -399,6 +523,8 @@ const opDecodeAuthorizationMessage = "DecodeAuthorizationMessage"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See DecodeAuthorizationMessage for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -433,6 +559,8 @@ func (c *STS) DecodeAuthorizationMessageRequest(input *DecodeAuthorizationMessag
return
}
// DecodeAuthorizationMessage API operation for AWS Security Token Service.
//
// Decodes additional information about the authorization status of a request
// from an encoded message returned in response to an AWS request.
//
@ -465,6 +593,20 @@ func (c *STS) DecodeAuthorizationMessageRequest(input *DecodeAuthorizationMessag
// The requested resource.
//
// The values of condition keys in the context of the user's request.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Security Token Service's
// API operation DecodeAuthorizationMessage for usage and error information.
//
// Returned Error Codes:
// * InvalidAuthorizationMessageException
// The error returned if the message passed to DecodeAuthorizationMessage was
// invalid. This can happen if the token contains invalid characters, such as
// linebreaks.
//
func (c *STS) DecodeAuthorizationMessage(input *DecodeAuthorizationMessageInput) (*DecodeAuthorizationMessageOutput, error) {
req, out := c.DecodeAuthorizationMessageRequest(input)
err := req.Send()
@ -478,6 +620,8 @@ const opGetCallerIdentity = "GetCallerIdentity"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See GetCallerIdentity for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -512,8 +656,17 @@ func (c *STS) GetCallerIdentityRequest(input *GetCallerIdentityInput) (req *requ
return
}
// GetCallerIdentity API operation for AWS Security Token Service.
//
// Returns details about the IAM identity whose credentials are used to call
// the API.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Security Token Service's
// API operation GetCallerIdentity for usage and error information.
func (c *STS) GetCallerIdentity(input *GetCallerIdentityInput) (*GetCallerIdentityOutput, error) {
req, out := c.GetCallerIdentityRequest(input)
err := req.Send()
@ -527,6 +680,8 @@ const opGetFederationToken = "GetFederationToken"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See GetFederationToken for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -561,6 +716,8 @@ func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *re
return
}
// GetFederationToken API operation for AWS Security Token Service.
//
// Returns a set of temporary security credentials (consisting of an access
// key ID, a secret access key, and a security token) for a federated user.
// A typical use is in a proxy application that gets temporary security credentials
@ -639,6 +796,31 @@ func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *re
// For information about using GetFederationToken to create temporary security
// credentials, see GetFederationToken—Federation Through a Custom Identity
// Broker (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_getfederationtoken).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Security Token Service's
// API operation GetFederationToken for usage and error information.
//
// Returned Error Codes:
// * MalformedPolicyDocument
// The request was rejected because the policy document was malformed. The error
// message describes the specific error.
//
// * PackedPolicyTooLarge
// The request was rejected because the policy document was too large. The error
// message describes how big the policy document is, in packed form, as a percentage
// of what the API allows.
//
// * RegionDisabledException
// STS is not activated in the requested region for the account that is being
// asked to generate credentials. The account administrator must use the IAM
// console to activate STS in that region. For more information, see Activating
// and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
// in the IAM User Guide.
//
func (c *STS) GetFederationToken(input *GetFederationTokenInput) (*GetFederationTokenOutput, error) {
req, out := c.GetFederationTokenRequest(input)
err := req.Send()
@ -652,6 +834,8 @@ const opGetSessionToken = "GetSessionToken"
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See GetSessionToken for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
@ -686,6 +870,8 @@ func (c *STS) GetSessionTokenRequest(input *GetSessionTokenInput) (req *request.
return
}
// GetSessionToken API operation for AWS Security Token Service.
//
// Returns a set of temporary credentials for an AWS account or IAM user. The
// credentials consist of an access key ID, a secret access key, and a security
// token. Typically, you use GetSessionToken if you want to use MFA to protect
@ -732,6 +918,22 @@ func (c *STS) GetSessionTokenRequest(input *GetSessionTokenInput) (req *request.
// For more information about using GetSessionToken to create temporary credentials,
// go to Temporary Credentials for Users in Untrusted Environments (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_getsessiontoken)
// in the IAM User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Security Token Service's
// API operation GetSessionToken for usage and error information.
//
// Returned Error Codes:
// * RegionDisabledException
// STS is not activated in the requested region for the account that is being
// asked to generate credentials. The account administrator must use the IAM
// console to activate STS in that region. For more information, see Activating
// and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
// in the IAM User Guide.
//
func (c *STS) GetSessionToken(input *GetSessionTokenInput) (*GetSessionTokenOutput, error) {
req, out := c.GetSessionTokenRequest(input)
err := req.Send()
@ -797,6 +999,8 @@ type AssumeRoleInput struct {
Policy *string `min:"1" type:"string"`
// The Amazon Resource Name (ARN) of the role to assume.
//
// RoleArn is a required field
RoleArn *string `min:"20" type:"string" required:"true"`
// An identifier for the assumed role session.
@ -813,6 +1017,8 @@ type AssumeRoleInput struct {
// of characters consisting of upper- and lower-case alphanumeric characters
// with no spaces. You can also include underscores or any of the following
// characters: =,.@-
//
// RoleSessionName is a required field
RoleSessionName *string `min:"2" type:"string" required:"true"`
// The identification number of the MFA device that is associated with the user
@ -967,9 +1173,13 @@ type AssumeRoleWithSAMLInput struct {
// The Amazon Resource Name (ARN) of the SAML provider in IAM that describes
// the IdP.
//
// PrincipalArn is a required field
PrincipalArn *string `min:"20" type:"string" required:"true"`
// The Amazon Resource Name (ARN) of the role that the caller is assuming.
//
// RoleArn is a required field
RoleArn *string `min:"20" type:"string" required:"true"`
// The base-64 encoded SAML authentication response provided by the IdP.
@ -977,6 +1187,8 @@ type AssumeRoleWithSAMLInput struct {
// For more information, see Configuring a Relying Party and Adding Claims
// (http://docs.aws.amazon.com/IAM/latest/UserGuide/create-role-saml-IdP-tasks.html)
// in the Using IAM guide.
//
// SAMLAssertion is a required field
SAMLAssertion *string `min:"4" type:"string" required:"true"`
}
@ -1140,6 +1352,8 @@ type AssumeRoleWithWebIdentityInput struct {
ProviderId *string `min:"4" type:"string"`
// The Amazon Resource Name (ARN) of the role that the caller is assuming.
//
// RoleArn is a required field
RoleArn *string `min:"20" type:"string" required:"true"`
// An identifier for the assumed role session. Typically, you pass the name
@ -1152,12 +1366,16 @@ type AssumeRoleWithWebIdentityInput struct {
// of characters consisting of upper- and lower-case alphanumeric characters
// with no spaces. You can also include underscores or any of the following
// characters: =,.@-
//
// RoleSessionName is a required field
RoleSessionName *string `min:"2" type:"string" required:"true"`
// The OAuth 2.0 access token or OpenID Connect ID token that is provided by
// the identity provider. Your application must get this token by authenticating
// the user who is using your application with a web identity provider before
// the application makes an AssumeRoleWithWebIdentity call.
//
// WebIdentityToken is a required field
WebIdentityToken *string `min:"4" type:"string" required:"true"`
}
@ -1273,11 +1491,15 @@ type AssumedRoleUser struct {
// AssumeRole action. For more information about ARNs and how to use them in
// policies, see IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html)
// in Using IAM.
//
// Arn is a required field
Arn *string `min:"20" type:"string" required:"true"`
// A unique identifier that contains the role ID and the role session name of
// the role that is being assumed. The role ID is generated by AWS when the
// role is created.
//
// AssumedRoleId is a required field
AssumedRoleId *string `min:"2" type:"string" required:"true"`
}
@ -1296,15 +1518,23 @@ type Credentials struct {
_ struct{} `type:"structure"`
// The access key ID that identifies the temporary security credentials.
//
// AccessKeyId is a required field
AccessKeyId *string `min:"16" type:"string" required:"true"`
// The date on which the current credentials expire.
//
// Expiration is a required field
Expiration *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
// The secret access key that can be used to sign requests.
//
// SecretAccessKey is a required field
SecretAccessKey *string `type:"string" required:"true"`
// The token that users must pass to the service API to use the temporary credentials.
//
// SessionToken is a required field
SessionToken *string `type:"string" required:"true"`
}
@ -1322,6 +1552,8 @@ type DecodeAuthorizationMessageInput struct {
_ struct{} `type:"structure"`
// The encoded message that was returned with the response.
//
// EncodedMessage is a required field
EncodedMessage *string `min:"1" type:"string" required:"true"`
}
@ -1379,10 +1611,14 @@ type FederatedUser struct {
// For more information about ARNs and how to use them in policies, see IAM
// Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html)
// in Using IAM.
//
// Arn is a required field
Arn *string `min:"20" type:"string" required:"true"`
// The string that identifies the federated user associated with the credentials,
// similar to the unique ID of an IAM user.
//
// FederatedUserId is a required field
FederatedUserId *string `min:"2" type:"string" required:"true"`
}
@ -1460,6 +1696,8 @@ type GetFederationTokenInput struct {
// of characters consisting of upper- and lower-case alphanumeric characters
// with no spaces. You can also include underscores or any of the following
// characters: =,.@-
//
// Name is a required field
Name *string `min:"2" type:"string" required:"true"`
// An IAM policy in JSON format that is passed with the GetFederationToken call

File diff suppressed because it is too large Load Diff

532
vendor/vendor.json vendored
View File

@ -335,572 +335,430 @@
"revision": "4239b77079c7b5d1243b7b4736304ce8ddb6f0f2"
},
{
"checksumSHA1": "QX3gcUY0fj5Mj+h3US/JnC7/dDE=",
"checksumSHA1": "uUzIcEqMK3TgBylPKg04v+PTWDk=",
"path": "github.com/aws/aws-sdk-go",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "dq1GRxE/Qsvp1pawHFQ3vaFoYX4=",
"checksumSHA1": "nGJsEKW1/7cQKGlYCuX3XwUhUmM=",
"path": "github.com/aws/aws-sdk-go/aws",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "Y9W+4GimK4Fuxq+vyIskVYFRnX4=",
"path": "github.com/aws/aws-sdk-go/aws/awserr",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "+q4vdl3l1Wom8K1wfIpJ4jlFsbY=",
"path": "github.com/aws/aws-sdk-go/aws/awsutil",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "/232RBWA3KnT7U+wciPS2+wmvR0=",
"path": "github.com/aws/aws-sdk-go/aws/client",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "ieAJ+Cvp/PKv1LpUEnUXpc3OI6E=",
"path": "github.com/aws/aws-sdk-go/aws/client/metadata",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "c1N3Loy3AS9zD+m5CzpPNAED39U=",
"path": "github.com/aws/aws-sdk-go/aws/corehandlers",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "dNZNaOPfBPnzE2CBnfhXXZ9g9jU=",
"checksumSHA1": "zu5C95rmCZff6NYZb62lEaT5ibE=",
"path": "github.com/aws/aws-sdk-go/aws/credentials",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "KQiUK/zr3mqnAXD7x/X55/iNme0=",
"path": "github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "NUJUTWlc1sV8b7WjfiYc4JZbXl0=",
"path": "github.com/aws/aws-sdk-go/aws/credentials/endpointcreds",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "4Ipx+5xN0gso+cENC2MHMWmQlR4=",
"path": "github.com/aws/aws-sdk-go/aws/credentials/stscreds",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "DwhFsNluCFEwqzyp3hbJR3q2Wqs=",
"path": "github.com/aws/aws-sdk-go/aws/defaults",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "8E0fEBUJY/1lJOyVxzTxMGQGInk=",
"path": "github.com/aws/aws-sdk-go/aws/ec2metadata",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "5Ac22YMTBmrX/CXaEIXzWljr8UY=",
"path": "github.com/aws/aws-sdk-go/aws/request",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "BXuya7NrVg2BtHOM4ED5zAwDkg4=",
"checksumSHA1": "AFcUmKIbqHEKLdNMYB8ubtT+FHA=",
"path": "github.com/aws/aws-sdk-go/aws/session",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "OgyO1NRszPKURsDpob+zxUR157A=",
"checksumSHA1": "diXvBs1LRC0RJ9WK6sllWKdzC04=",
"path": "github.com/aws/aws-sdk-go/aws/signer/v4",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "Bm6UrYb2QCzpYseLwwgw6aetgRc=",
"checksumSHA1": "3I/Ty6X9m2NQFPYTrSf4Pdf4cfk=",
"path": "github.com/aws/aws-sdk-go/private/endpoints",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "wk7EyvDaHwb5qqoOP/4d3cV0708=",
"path": "github.com/aws/aws-sdk-go/private/protocol",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "uNmSKXAF8B9HWEciW+iyUwZ99qQ=",
"checksumSHA1": "1QmQ3FqV37w0Zi44qv8pA1GeR0A=",
"path": "github.com/aws/aws-sdk-go/private/protocol/ec2query",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "pNeF0Ey7TfBArH5LBQhKOQXQbLY=",
"path": "github.com/aws/aws-sdk-go/private/protocol/json/jsonutil",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "H9TymcQkQnXSXSVfjggiiS4bpzM=",
"checksumSHA1": "R00RL5jJXRYq1iiK1+PGvMfvXyM=",
"path": "github.com/aws/aws-sdk-go/private/protocol/jsonrpc",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "isoix7lTx4qIq2zI2xFADtti5SI=",
"checksumSHA1": "ZqY5RWavBLWTo6j9xqdyBEaNFRk=",
"path": "github.com/aws/aws-sdk-go/private/protocol/query",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "5xzix1R8prUyWxgLnzUQoxTsfik=",
"path": "github.com/aws/aws-sdk-go/private/protocol/query/queryutil",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "TW/7U+/8ormL7acf6z2rv2hDD+s=",
"path": "github.com/aws/aws-sdk-go/private/protocol/rest",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "oUOTWZIpPJiGjc9p/hntdBDvS10=",
"checksumSHA1": "Rpu8KBtHZgvhkwHxUfaky+qW+G4=",
"path": "github.com/aws/aws-sdk-go/private/protocol/restjson",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "Y6Db2GGfGD9LPpcJIPj8vXE8BbQ=",
"checksumSHA1": "ODo+ko8D6unAxZuN1jGzMcN4QCc=",
"path": "github.com/aws/aws-sdk-go/private/protocol/restxml",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "eUEkjyMPAuekKBE4ou+nM9tXEas=",
"path": "github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "F6mth+G7dXN1GI+nktaGo8Lx8aE=",
"path": "github.com/aws/aws-sdk-go/private/signer/v2",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "Eo9yODN5U99BK0pMzoqnBm7PCrY=",
"path": "github.com/aws/aws-sdk-go/private/waiter",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "Yy3DcxSa9t4hg0MJQZEYhH4PQi4=",
"checksumSHA1": "1GRM9c7nKCaKe8Mx/tTcemGKq/4=",
"path": "github.com/aws/aws-sdk-go/service/apigateway",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "WEwNL8ueG/6RTZOIDF/qu9EkwXo=",
"checksumSHA1": "G6ei4JkA8kMIK6kWohho3ZyqEy4=",
"path": "github.com/aws/aws-sdk-go/service/applicationautoscaling",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "MXY2nnlU3Qf4+6nTV4+GFxSD5Y4=",
"checksumSHA1": "RrzC2aXy/ZNSW+DjkswSkozfHQg=",
"path": "github.com/aws/aws-sdk-go/service/autoscaling",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "0rkXGU6zlND+NPCn/XgPDTuANQQ=",
"checksumSHA1": "qczOmsbnxTRlwr6/jld7iuhY1ec=",
"path": "github.com/aws/aws-sdk-go/service/cloudformation",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "IBdkYM4/ts1B7FXcTrUk9KXPpcc=",
"checksumSHA1": "LhUA6FygZFZM68UgRIKYtSqivBg=",
"path": "github.com/aws/aws-sdk-go/service/cloudfront",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "eCFTaV9GKqv/UEzwRgFFUaFz098=",
"checksumSHA1": "v/gjvG5+yfmnluXtIOXfCXPHmGk=",
"path": "github.com/aws/aws-sdk-go/service/cloudtrail",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "G9CmCfw00Bjz0TtJsEnxGE6mv/0=",
"checksumSHA1": "T368o7aYyvIQ/JrEj/EXWuZfjbk=",
"path": "github.com/aws/aws-sdk-go/service/cloudwatch",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "mWNJKpt18ASs9/RhnIjILcsGlng=",
"checksumSHA1": "CtXDIQ4si4gg4WBwF10obV7pJIk=",
"path": "github.com/aws/aws-sdk-go/service/cloudwatchevents",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "sP/qEaDICVBV3rRw2sl759YI0iw=",
"checksumSHA1": "TMUPZvpmtRRB3uWwGzwngB4Vg2w=",
"path": "github.com/aws/aws-sdk-go/service/cloudwatchlogs",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "p5a/DcdUvhTx0PCRR+/CRXk9g6c=",
"checksumSHA1": "4ejjXKR6n65oqZtjq0XhrU8ActU=",
"path": "github.com/aws/aws-sdk-go/service/codecommit",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "f1ylzOsK3qtUcXXWs8vX/02QXig=",
"checksumSHA1": "pstdsnanSdZ3M/jFMLGBOOi5L+E=",
"path": "github.com/aws/aws-sdk-go/service/codedeploy",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "i4hrcsFXLAQXzaxvWh6+BG8XcIU=",
"checksumSHA1": "JRjbBfjM9AbLaNyEHJVJ9p/EKRE=",
"path": "github.com/aws/aws-sdk-go/service/directoryservice",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "y+pZPK8hcTDwq1zHuRduWE14flw=",
"checksumSHA1": "CvlvYHZtbdwCwx7l6o0ee5Ez6BA=",
"path": "github.com/aws/aws-sdk-go/service/dynamodb",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "wo+0n7gevYlsXAb6gJmG3F/+7pg=",
"checksumSHA1": "hNyeWmtAtYlJ4xX+Vk0ZkwV+UfA=",
"path": "github.com/aws/aws-sdk-go/service/ec2",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "d5x+dDz7zdrEYAGDM9XpYnSW3FE=",
"checksumSHA1": "vIGJIbBE4GoNAsded9sC1R9oR9E=",
"path": "github.com/aws/aws-sdk-go/service/ecr",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "CvZ+vaOolbfpAdOQPAuKDn4Mmt4=",
"checksumSHA1": "D/w9j9GKvw0xNnJ21UDiSGjN6dA=",
"path": "github.com/aws/aws-sdk-go/service/ecs",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "b8uLvSIG26PqvnppVQboqDTCR2w=",
"checksumSHA1": "1OA1hi717X+c/lnu9XYEJLm4vi4=",
"path": "github.com/aws/aws-sdk-go/service/efs",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "rjSScNzMTvEHv7Lk5KcxDpNU5EE=",
"checksumSHA1": "/VZW/gbuUSkdn4cwXTSIQDdKGvQ=",
"path": "github.com/aws/aws-sdk-go/service/elasticache",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "RZF1yHtJhAqaMwbeAM/6BdLLavk=",
"checksumSHA1": "Xd1GVn0Uin/56syb2ETMxOKAI/A=",
"path": "github.com/aws/aws-sdk-go/service/elasticbeanstalk",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "VAlXnW+WxxWRcCv4xsCoox2kgE0=",
"checksumSHA1": "9vE6CgR7b01zZn0lFJzqOrve7B4=",
"path": "github.com/aws/aws-sdk-go/service/elasticsearchservice",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "qHuJHGUAuuizD9834MP3gVupfdo=",
"checksumSHA1": "OPAnsPFcq6iXH5hGng2t2mMpfaE=",
"path": "github.com/aws/aws-sdk-go/service/elastictranscoder",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "YiNiSOILzSOaKB4JwdM4SDw7daM=",
"checksumSHA1": "Hwqr2+Y5J7Oq3VXiL1Tj8231eqg=",
"path": "github.com/aws/aws-sdk-go/service/elb",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "DdsbJgngbL7Ce18ipxreRsf3lYo=",
"checksumSHA1": "cIUQhrMH0XJKIJSAf4LWpGxw7W0=",
"path": "github.com/aws/aws-sdk-go/service/elbv2",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "yyFg3ZnBFHe29W7BovH1oC92u4o=",
"checksumSHA1": "6aSvNkSZeB0dhw+vfmgsCumX0Nw=",
"path": "github.com/aws/aws-sdk-go/service/emr",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "TtIAgZ+evpkKB5bBYCB69k0wZoU=",
"checksumSHA1": "nKEvKhAFlvWxhwCFW2JPSVfb4k4=",
"path": "github.com/aws/aws-sdk-go/service/firehose",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "B1EtgBrv//gYqA+Sp6a/SK2zLO4=",
"checksumSHA1": "sv61kTARWfkfrT8ouftcpZhepZ4=",
"path": "github.com/aws/aws-sdk-go/service/glacier",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "dH2W7lR17dgn4a4OYiEzjpQH8hI=",
"checksumSHA1": "rCHIHwv4JYxTGc7XpfT9Fx70a1M=",
"path": "github.com/aws/aws-sdk-go/service/iam",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "2n5/m0ClE4OyQRNdjfLwg+nSY3o=",
"checksumSHA1": "VstNEQuAAuyaVpBh24fDQPSbZCM=",
"path": "github.com/aws/aws-sdk-go/service/kinesis",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "cE02R3i+yj4+xmiO+/eUbq4mEys=",
"checksumSHA1": "C+gqGSu7/EIGggant4O3wv8v+Yw=",
"path": "github.com/aws/aws-sdk-go/service/kms",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "Qpi347xz5FIQISq73dZSdIf47AU=",
"checksumSHA1": "R3OeBAWZe3p69aYIa37ispEz4Ys=",
"path": "github.com/aws/aws-sdk-go/service/lambda",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "IRD5ermNbvUDRXF+0mI9103AmIM=",
"checksumSHA1": "EPrM4mjeehz7nm5WXbdldZpG0BU=",
"path": "github.com/aws/aws-sdk-go/service/opsworks",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "Jxorquk7bgn6lPMr3/nUikDHWK8=",
"checksumSHA1": "h6TAgyjW5GFdt8TPKBeczyGjkKM=",
"path": "github.com/aws/aws-sdk-go/service/rds",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "hHgtebbSai1+33Y8nKZyV7IL5nY=",
"checksumSHA1": "/fWs0DLkUSTyLWGUSz/kf/maoOM=",
"path": "github.com/aws/aws-sdk-go/service/redshift",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "Dw4DpBaYfuu+aQTlywfv1TCzHCg=",
"checksumSHA1": "H2DlzddrhenFeCOQH9ssYPcFePQ=",
"path": "github.com/aws/aws-sdk-go/service/route53",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "W7044H9bJrM5zO3DGcfA+qOYThk=",
"checksumSHA1": "V3Ta5FZBZeAsIbtm1OGMkYyYmt8=",
"path": "github.com/aws/aws-sdk-go/service/s3",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "o+bjuT6ycywUf+vXY9hYK4Z3okE=",
"checksumSHA1": "UUDH3SCShP/T6+K1OsKvCc2O+VA=",
"path": "github.com/aws/aws-sdk-go/service/ses",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "DW5kDRWLA2yAgYh9vsI+0uVqq/Q=",
"checksumSHA1": "XbulhWUHjhuWqJymKeurU01uuiU=",
"path": "github.com/aws/aws-sdk-go/service/simpledb",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "QHuF2nb/DTz20LRh0rslFDzIm54=",
"checksumSHA1": "nzzjBb+KNOXxvx9racGlHA6w/SU=",
"path": "github.com/aws/aws-sdk-go/service/sns",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "oLAlquYlQzgYFS9ochS/iQ9+uXY=",
"checksumSHA1": "6wjnNcTzRa+BP7AnodnCb14J7/Q=",
"path": "github.com/aws/aws-sdk-go/service/sqs",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "Zw0GXDOn45IvrmAcCOlSHJMiljU=",
"checksumSHA1": "fiGhMDgP0uyIcRqwDlBZyfEPyn0=",
"path": "github.com/aws/aws-sdk-go/service/ssm",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "nH/itbdeFHpl4ysegdtgww9bFSA=",
"checksumSHA1": "Ko75IlSR0pVtGp7dCdZuXh1279Q=",
"path": "github.com/aws/aws-sdk-go/service/sts",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "Dx3EiCxwZzQk5ScuXa1aQYrB9kM=",
"checksumSHA1": "A7C67KQAzKQ3x+cQMvicMcM2VLs=",
"path": "github.com/aws/aws-sdk-go/service/waf",
"revision": "429750244b4773992ab16ab536447e584795b156",
"revisionTime": "2016-10-06T23:32:44Z",
"version": "v1.4.15",
"versionExact": "v1.4.15"
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
"revisionTime": "2016-10-17T19:35:59Z"
},
{
"checksumSHA1": "nqw2Qn5xUklssHTubS5HDvEL9L4=",