update aws sdk to 1.4.18
This commit is contained in:
parent
94cbc37312
commit
3faaccd2a5
|
@ -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
|
Release v1.4.15
|
||||||
===
|
===
|
||||||
|
|
||||||
Service Model Updates
|
Service Model Updates
|
||||||
---
|
---
|
||||||
`service/cognitoidentityprovider`: Update Amazon Cognito Identity Provider service model
|
* `service/cognitoidentityprovider`: Update Amazon Cognito Identity Provider service model
|
||||||
`service/devicefarm`: Update AWS Device Farm documentation
|
* `service/devicefarm`: Update AWS Device Farm documentation
|
||||||
`service/opsworks`: Update AWS OpsWorks service model
|
* `service/opsworks`: Update AWS OpsWorks service model
|
||||||
`service/s3`: Update Amazon Simple Storage Service model
|
* `service/s3`: Update Amazon Simple Storage Service model
|
||||||
`service/waf`: Update AWS WAF service model
|
* `service/waf`: Update AWS WAF service model
|
||||||
|
|
||||||
SDK Bug Fixes
|
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
|
SDK Feature Updates
|
||||||
---
|
---
|
||||||
`aws/ec2metadata`: Add support for EC2 User Data #872
|
* `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
|
* `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)
|
Release v1.4.14 (2016-09-29)
|
||||||
===
|
===
|
||||||
|
|
|
@ -47,15 +47,15 @@ gen-endpoints:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@echo "go build SDK and vendor packages"
|
@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
|
unit: get-deps-tests build verify
|
||||||
@echo "go test SDK and vendor packages"
|
@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
|
unit-with-race-cover: get-deps-tests build verify
|
||||||
@echo "go test SDK and vendor packages"
|
@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
|
integration: get-deps-tests integ-custom smoke-tests performance
|
||||||
|
|
||||||
|
|
|
@ -137,9 +137,6 @@ type Config struct {
|
||||||
// accelerate enabled. If the bucket is not enabled for accelerate an error
|
// 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
|
// will be returned. The bucket name must be DNS compatible to also work
|
||||||
// with accelerate.
|
// with accelerate.
|
||||||
//
|
|
||||||
// Not compatible with UseDualStack requests will fail if both flags are
|
|
||||||
// specified.
|
|
||||||
S3UseAccelerate *bool
|
S3UseAccelerate *bool
|
||||||
|
|
||||||
// Set this to `true` to disable the EC2Metadata client from overriding the
|
// Set this to `true` to disable the EC2Metadata client from overriding the
|
||||||
|
|
|
@ -34,7 +34,7 @@ var (
|
||||||
//
|
//
|
||||||
// Example of ChainProvider to be used with an EnvProvider and EC2RoleProvider.
|
// Example of ChainProvider to be used with an EnvProvider and EC2RoleProvider.
|
||||||
// In this example EnvProvider will first check if any credentials are available
|
// 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
|
// the next Provider in the list, EC2RoleProvider in this case. If EC2RoleProvider
|
||||||
// does not return any credentials ChainProvider will return the error
|
// does not return any credentials ChainProvider will return the error
|
||||||
// ErrNoValidProvidersFoundInChain
|
// ErrNoValidProvidersFoundInChain
|
||||||
|
|
|
@ -2,7 +2,7 @@ package session
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"io/ioutil"
|
||||||
|
|
||||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||||
"github.com/aws/aws-sdk-go/aws/credentials"
|
"github.com/aws/aws-sdk-go/aws/credentials"
|
||||||
|
@ -105,12 +105,13 @@ func loadSharedConfigIniFiles(filenames []string) ([]sharedConfigFile, error) {
|
||||||
files := make([]sharedConfigFile, 0, len(filenames))
|
files := make([]sharedConfigFile, 0, len(filenames))
|
||||||
|
|
||||||
for _, filename := range filenames {
|
for _, filename := range filenames {
|
||||||
if _, err := os.Stat(filename); os.IsNotExist(err) {
|
b, err := ioutil.ReadFile(filename)
|
||||||
// Trim files from the list that don't exist.
|
if err != nil {
|
||||||
|
// Skip files which can't be opened and read for whatever reason
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
f, err := ini.Load(filename)
|
f, err := ini.Load(b)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, SharedConfigLoadError{Filename: filename}
|
return nil, SharedConfigLoadError{Filename: filename}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
}
|
|
@ -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
|
||||||
|
}
|
|
@ -2,6 +2,48 @@
|
||||||
//
|
//
|
||||||
// Provides request signing for request that need to be signed with
|
// Provides request signing for request that need to be signed with
|
||||||
// AWS V4 Signatures.
|
// 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
|
package v4
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -120,6 +162,15 @@ type Signer struct {
|
||||||
// request's query string.
|
// request's query string.
|
||||||
DisableHeaderHoisting bool
|
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.
|
// currentTimeFn returns the time value which represents the current time.
|
||||||
// This value should only be used for testing. If it is nil the default
|
// This value should only be used for testing. If it is nil the default
|
||||||
// time.Now will be used.
|
// time.Now will be used.
|
||||||
|
@ -151,6 +202,8 @@ type signingCtx struct {
|
||||||
ExpireTime time.Duration
|
ExpireTime time.Duration
|
||||||
SignedHeaderVals http.Header
|
SignedHeaderVals http.Header
|
||||||
|
|
||||||
|
DisableURIPathEscaping bool
|
||||||
|
|
||||||
credValues credentials.Value
|
credValues credentials.Value
|
||||||
isPresign bool
|
isPresign bool
|
||||||
formattedTime string
|
formattedTime string
|
||||||
|
@ -244,6 +297,7 @@ func (v4 Signer) signWithBody(r *http.Request, body io.ReadSeeker, service, regi
|
||||||
isPresign: exp != 0,
|
isPresign: exp != 0,
|
||||||
ServiceName: service,
|
ServiceName: service,
|
||||||
Region: region,
|
Region: region,
|
||||||
|
DisableURIPathEscaping: v4.DisableURIPathEscaping,
|
||||||
}
|
}
|
||||||
|
|
||||||
if ctx.isRequestSigned() {
|
if ctx.isRequestSigned() {
|
||||||
|
@ -354,6 +408,10 @@ func signSDKRequestWithCurrTime(req *request.Request, curTimeFn func() time.Time
|
||||||
v4.Logger = req.Config.Logger
|
v4.Logger = req.Config.Logger
|
||||||
v4.DisableHeaderHoisting = req.NotHoist
|
v4.DisableHeaderHoisting = req.NotHoist
|
||||||
v4.currentTimeFn = curTimeFn
|
v4.currentTimeFn = curTimeFn
|
||||||
|
if name == "s3" {
|
||||||
|
// S3 service should not have any escaping applied
|
||||||
|
v4.DisableURIPathEscaping = true
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
signingTime := req.Time
|
signingTime := req.Time
|
||||||
|
@ -510,17 +568,10 @@ func (ctx *signingCtx) buildCanonicalHeaders(r rule, header http.Header) {
|
||||||
|
|
||||||
func (ctx *signingCtx) buildCanonicalString() {
|
func (ctx *signingCtx) buildCanonicalString() {
|
||||||
ctx.Request.URL.RawQuery = strings.Replace(ctx.Query.Encode(), "+", "%20", -1)
|
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)
|
uri = rest.EscapePath(uri, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,4 +5,4 @@ package aws
|
||||||
const SDKName = "aws-sdk-go"
|
const SDKName = "aws-sdk-go"
|
||||||
|
|
||||||
// SDKVersion is the version of this SDK
|
// SDKVersion is the version of this SDK
|
||||||
const SDKVersion = "1.4.14"
|
const SDKVersion = "1.4.17"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Package endpoints validates regional endpoints for services.
|
// Package endpoints validates regional endpoints for services.
|
||||||
package endpoints
|
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
|
//go:generate gofmt -s -w endpoints_map.go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Package ec2query provides serialization of AWS EC2 requests and responses.
|
// Package ec2query provides serialization of AWS EC2 requests and responses.
|
||||||
package ec2query
|
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 (
|
import (
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package ec2query
|
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 (
|
import (
|
||||||
"encoding/xml"
|
"encoding/xml"
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
// requests and responses.
|
// requests and responses.
|
||||||
package jsonrpc
|
package jsonrpc
|
||||||
|
|
||||||
//go:generate go run ../../../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/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/output/json.json unmarshal_test.go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Package query provides serialization of AWS query requests, and responses.
|
// Package query provides serialization of AWS query requests, and responses.
|
||||||
package query
|
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 (
|
import (
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package query
|
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 (
|
import (
|
||||||
"encoding/xml"
|
"encoding/xml"
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
// requests and responses.
|
// requests and responses.
|
||||||
package restjson
|
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 -tags codegen ../../../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/output/rest-json.json unmarshal_test.go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
// requests and responses.
|
// requests and responses.
|
||||||
package restxml
|
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 -tags codegen ../../../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/output/rest-xml.json unmarshal_test.go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -18,6 +18,8 @@ const opDeleteScalingPolicy = "DeleteScalingPolicy"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DeleteScalingPolicy for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -52,6 +54,8 @@ func (c *ApplicationAutoScaling) DeleteScalingPolicyRequest(input *DeleteScaling
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeleteScalingPolicy API operation for Application Auto Scaling.
|
||||||
|
//
|
||||||
// Deletes an Application Auto Scaling scaling policy that was previously created.
|
// 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
|
// If you are no longer using a scaling policy, you can delete it with this
|
||||||
// operation.
|
// operation.
|
||||||
|
@ -61,6 +65,34 @@ func (c *ApplicationAutoScaling) DeleteScalingPolicyRequest(input *DeleteScaling
|
||||||
// has an associated action.
|
// has an associated action.
|
||||||
//
|
//
|
||||||
// To create a new scaling policy or update an existing one, see PutScalingPolicy.
|
// 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) {
|
func (c *ApplicationAutoScaling) DeleteScalingPolicy(input *DeleteScalingPolicyInput) (*DeleteScalingPolicyOutput, error) {
|
||||||
req, out := c.DeleteScalingPolicyRequest(input)
|
req, out := c.DeleteScalingPolicyRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -74,6 +106,8 @@ const opDeregisterScalableTarget = "DeregisterScalableTarget"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DeregisterScalableTarget for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -108,12 +142,42 @@ func (c *ApplicationAutoScaling) DeregisterScalableTargetRequest(input *Deregist
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeregisterScalableTarget API operation for Application Auto Scaling.
|
||||||
|
//
|
||||||
// Deregisters a scalable target that was previously registered. If you are
|
// Deregisters a scalable target that was previously registered. If you are
|
||||||
// no longer using a scalable target, you can delete it with this operation.
|
// 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
|
// When you deregister a scalable target, all of the scaling policies that are
|
||||||
// associated with that scalable target are deleted.
|
// associated with that scalable target are deleted.
|
||||||
//
|
//
|
||||||
// To create a new scalable target or update an existing one, see RegisterScalableTarget.
|
// 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) {
|
func (c *ApplicationAutoScaling) DeregisterScalableTarget(input *DeregisterScalableTargetInput) (*DeregisterScalableTargetOutput, error) {
|
||||||
req, out := c.DeregisterScalableTargetRequest(input)
|
req, out := c.DeregisterScalableTargetRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -127,6 +191,8 @@ const opDescribeScalableTargets = "DescribeScalableTargets"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DescribeScalableTargets for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -167,6 +233,8 @@ func (c *ApplicationAutoScaling) DescribeScalableTargetsRequest(input *DescribeS
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DescribeScalableTargets API operation for Application Auto Scaling.
|
||||||
|
//
|
||||||
// Provides descriptive information for scalable targets with a specified service
|
// Provides descriptive information for scalable targets with a specified service
|
||||||
// namespace.
|
// namespace.
|
||||||
//
|
//
|
||||||
|
@ -176,6 +244,29 @@ func (c *ApplicationAutoScaling) DescribeScalableTargetsRequest(input *DescribeS
|
||||||
// To create a new scalable target or update an existing one, see RegisterScalableTarget.
|
// 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
|
// If you are no longer using a scalable target, you can deregister it with
|
||||||
// DeregisterScalableTarget.
|
// 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) {
|
func (c *ApplicationAutoScaling) DescribeScalableTargets(input *DescribeScalableTargetsInput) (*DescribeScalableTargetsOutput, error) {
|
||||||
req, out := c.DescribeScalableTargetsRequest(input)
|
req, out := c.DescribeScalableTargetsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -214,6 +305,8 @@ const opDescribeScalingActivities = "DescribeScalingActivities"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DescribeScalingActivities for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -254,6 +347,8 @@ func (c *ApplicationAutoScaling) DescribeScalingActivitiesRequest(input *Describ
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DescribeScalingActivities API operation for Application Auto Scaling.
|
||||||
|
//
|
||||||
// Provides descriptive information for scaling activities with a specified
|
// Provides descriptive information for scaling activities with a specified
|
||||||
// service namespace for the previous six weeks.
|
// 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
|
// with scaling policies. To view the existing scaling policies for a service
|
||||||
// namespace, see DescribeScalingPolicies. To create a new scaling policy or
|
// namespace, see DescribeScalingPolicies. To create a new scaling policy or
|
||||||
// update an existing one, see PutScalingPolicy.
|
// 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) {
|
func (c *ApplicationAutoScaling) DescribeScalingActivities(input *DescribeScalingActivitiesInput) (*DescribeScalingActivitiesOutput, error) {
|
||||||
req, out := c.DescribeScalingActivitiesRequest(input)
|
req, out := c.DescribeScalingActivitiesRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -302,6 +420,8 @@ const opDescribeScalingPolicies = "DescribeScalingPolicies"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DescribeScalingPolicies for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -342,6 +462,8 @@ func (c *ApplicationAutoScaling) DescribeScalingPoliciesRequest(input *DescribeS
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DescribeScalingPolicies API operation for Application Auto Scaling.
|
||||||
|
//
|
||||||
// Provides descriptive information for scaling policies with a specified service
|
// Provides descriptive information for scaling policies with a specified service
|
||||||
// namespace.
|
// namespace.
|
||||||
//
|
//
|
||||||
|
@ -350,6 +472,38 @@ func (c *ApplicationAutoScaling) DescribeScalingPoliciesRequest(input *DescribeS
|
||||||
//
|
//
|
||||||
// To create a new scaling policy or update an existing one, see PutScalingPolicy.
|
// 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.
|
// 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) {
|
func (c *ApplicationAutoScaling) DescribeScalingPolicies(input *DescribeScalingPoliciesInput) (*DescribeScalingPoliciesOutput, error) {
|
||||||
req, out := c.DescribeScalingPoliciesRequest(input)
|
req, out := c.DescribeScalingPoliciesRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -388,6 +542,8 @@ const opPutScalingPolicy = "PutScalingPolicy"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See PutScalingPolicy for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -422,6 +578,8 @@ func (c *ApplicationAutoScaling) PutScalingPolicyRequest(input *PutScalingPolicy
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// PutScalingPolicy API operation for Application Auto Scaling.
|
||||||
|
//
|
||||||
// Creates or updates a policy for an existing Application Auto Scaling scalable
|
// Creates or updates a policy for an existing Application Auto Scaling scalable
|
||||||
// target. Each scalable target is identified by service namespace, a resource
|
// target. Each scalable target is identified by service namespace, a resource
|
||||||
// ID, and a scalable dimension, and a scaling policy applies to a scalable
|
// 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
|
// You can view the existing scaling policies for a service namespace with
|
||||||
// DescribeScalingPolicies. If you are no longer using a scaling policy, you
|
// DescribeScalingPolicies. If you are no longer using a scaling policy, you
|
||||||
// can delete it with DeleteScalingPolicy.
|
// 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) {
|
func (c *ApplicationAutoScaling) PutScalingPolicy(input *PutScalingPolicyInput) (*PutScalingPolicyOutput, error) {
|
||||||
req, out := c.PutScalingPolicyRequest(input)
|
req, out := c.PutScalingPolicyRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -448,6 +639,8 @@ const opRegisterScalableTarget = "RegisterScalableTarget"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See RegisterScalableTarget for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -482,6 +675,8 @@ func (c *ApplicationAutoScaling) RegisterScalableTargetRequest(input *RegisterSc
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// RegisterScalableTarget API operation for Application Auto Scaling.
|
||||||
|
//
|
||||||
// Registers or updates a scalable target. A scalable target is a resource that
|
// 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
|
// 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
|
// 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.
|
// 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
|
// If you are no longer using a scalable target, you can deregister it with
|
||||||
// DeregisterScalableTarget.
|
// 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) {
|
func (c *ApplicationAutoScaling) RegisterScalableTarget(input *RegisterScalableTargetInput) (*RegisterScalableTargetOutput, error) {
|
||||||
req, out := c.RegisterScalableTargetRequest(input)
|
req, out := c.RegisterScalableTargetRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -503,9 +723,13 @@ type Alarm struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The Amazon Resource Name (ARN) of the alarm.
|
// The Amazon Resource Name (ARN) of the alarm.
|
||||||
|
//
|
||||||
|
// AlarmARN is a required field
|
||||||
AlarmARN *string `type:"string" required:"true"`
|
AlarmARN *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The name of the alarm.
|
// The name of the alarm.
|
||||||
|
//
|
||||||
|
// AlarmName is a required field
|
||||||
AlarmName *string `type:"string" required:"true"`
|
AlarmName *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -523,6 +747,8 @@ type DeleteScalingPolicyInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the scaling policy to delete.
|
// The name of the scaling policy to delete.
|
||||||
|
//
|
||||||
|
// PolicyName is a required field
|
||||||
PolicyName *string `min:"1" type:"string" required:"true"`
|
PolicyName *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The resource type and unique identifier string for the resource associated
|
// 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.
|
// 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,
|
// 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.
|
// 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"`
|
ResourceId *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The scalable dimension associated with the scaling policy. The scalable dimension
|
// 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,
|
// 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
|
// or ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon
|
||||||
// EC2 Spot fleet request.
|
// EC2 Spot fleet request.
|
||||||
|
//
|
||||||
|
// ScalableDimension is a required field
|
||||||
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
|
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
|
||||||
|
|
||||||
// The namespace for the AWS service that the scaling policy is associated with.
|
// 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)
|
// 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.
|
// in the Amazon Web Services General Reference.
|
||||||
|
//
|
||||||
|
// ServiceNamespace is a required field
|
||||||
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
|
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.
|
// 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,
|
// 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.
|
// 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"`
|
ResourceId *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The scalable dimension associated with the scalable target. The scalable
|
// 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
|
// 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
|
// ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity
|
||||||
// of an Amazon EC2 Spot fleet request.
|
// of an Amazon EC2 Spot fleet request.
|
||||||
|
//
|
||||||
|
// ScalableDimension is a required field
|
||||||
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
|
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
|
||||||
|
|
||||||
// The namespace for the AWS service that the scalable target is associated
|
// 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)
|
// 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.
|
// in the Amazon Web Services General Reference.
|
||||||
|
//
|
||||||
|
// ServiceNamespace is a required field
|
||||||
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
|
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
|
// 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)
|
// 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.
|
// in the Amazon Web Services General Reference.
|
||||||
|
//
|
||||||
|
// ServiceNamespace is a required field
|
||||||
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
|
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
|
// 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)
|
// 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.
|
// in the Amazon Web Services General Reference.
|
||||||
|
//
|
||||||
|
// ServiceNamespace is a required field
|
||||||
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
|
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
|
// 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)
|
// 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.
|
// in the Amazon Web Services General Reference.
|
||||||
|
//
|
||||||
|
// ServiceNamespace is a required field
|
||||||
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
|
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -942,6 +1186,8 @@ type PutScalingPolicyInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the scaling policy.
|
// The name of the scaling policy.
|
||||||
|
//
|
||||||
|
// PolicyName is a required field
|
||||||
PolicyName *string `min:"1" type:"string" required:"true"`
|
PolicyName *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The policy type. If you are creating a new policy, this parameter is required.
|
// 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.
|
// 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,
|
// 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.
|
// 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"`
|
ResourceId *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The scalable dimension of the scalable target that this scaling policy applies
|
// 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
|
// and scaling property, such as ecs:service:DesiredCount for the desired task
|
||||||
// count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity
|
// count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity
|
||||||
// for the target capacity of an Amazon EC2 Spot fleet request.
|
// for the target capacity of an Amazon EC2 Spot fleet request.
|
||||||
|
//
|
||||||
|
// ScalableDimension is a required field
|
||||||
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
|
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
|
||||||
|
|
||||||
// The AWS service namespace of the scalable target that this scaling policy
|
// 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)
|
// 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.
|
// in the Amazon Web Services General Reference.
|
||||||
|
//
|
||||||
|
// ServiceNamespace is a required field
|
||||||
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
|
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
|
||||||
|
|
||||||
// The configuration for the step scaling policy. If you are creating a new
|
// The configuration for the step scaling policy. If you are creating a new
|
||||||
|
@ -1021,6 +1273,8 @@ type PutScalingPolicyOutput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The Amazon Resource Name (ARN) of the resulting scaling policy.
|
// The Amazon Resource Name (ARN) of the resulting scaling policy.
|
||||||
|
//
|
||||||
|
// PolicyARN is a required field
|
||||||
PolicyARN *string `min:"1" type:"string" required:"true"`
|
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.
|
// 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,
|
// 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.
|
// 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"`
|
ResourceId *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The ARN of the IAM role that allows Application Auto Scaling to modify your
|
// 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
|
// 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
|
// ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity
|
||||||
// of an Amazon EC2 Spot fleet request.
|
// of an Amazon EC2 Spot fleet request.
|
||||||
|
//
|
||||||
|
// ScalableDimension is a required field
|
||||||
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
|
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
|
||||||
|
|
||||||
// The namespace for the AWS service that the scalable target is associated
|
// 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,
|
// 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)
|
// 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.
|
// in the Amazon Web Services General Reference.
|
||||||
|
//
|
||||||
|
// ServiceNamespace is a required field
|
||||||
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
|
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1128,14 +1388,20 @@ type ScalableTarget struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The Unix timestamp for when the scalable target was created.
|
// The Unix timestamp for when the scalable target was created.
|
||||||
|
//
|
||||||
|
// CreationTime is a required field
|
||||||
CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
|
CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
|
||||||
|
|
||||||
// The maximum value for this scalable target to scale out to in response to
|
// The maximum value for this scalable target to scale out to in response to
|
||||||
// scaling activities.
|
// scaling activities.
|
||||||
|
//
|
||||||
|
// MaxCapacity is a required field
|
||||||
MaxCapacity *int64 `type:"integer" required:"true"`
|
MaxCapacity *int64 `type:"integer" required:"true"`
|
||||||
|
|
||||||
// The minimum value for this scalable target to scale in to in response to
|
// The minimum value for this scalable target to scale in to in response to
|
||||||
// scaling activities.
|
// scaling activities.
|
||||||
|
//
|
||||||
|
// MinCapacity is a required field
|
||||||
MinCapacity *int64 `type:"integer" required:"true"`
|
MinCapacity *int64 `type:"integer" required:"true"`
|
||||||
|
|
||||||
// The resource type and unique identifier string for the resource associated
|
// 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.
|
// 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,
|
// 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.
|
// 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"`
|
ResourceId *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The ARN of the IAM role that allows Application Auto Scaling to modify your
|
// The ARN of the IAM role that allows Application Auto Scaling to modify your
|
||||||
// scalable target on your behalf.
|
// scalable target on your behalf.
|
||||||
|
//
|
||||||
|
// RoleARN is a required field
|
||||||
RoleARN *string `min:"1" type:"string" required:"true"`
|
RoleARN *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The scalable dimension associated with the scalable target. The scalable
|
// 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
|
// 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
|
// ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity
|
||||||
// of an Amazon EC2 Spot fleet request.
|
// of an Amazon EC2 Spot fleet request.
|
||||||
|
//
|
||||||
|
// ScalableDimension is a required field
|
||||||
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
|
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
|
||||||
|
|
||||||
// The namespace for the AWS service that the scalable target is associated
|
// 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)
|
// 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.
|
// in the Amazon Web Services General Reference.
|
||||||
|
//
|
||||||
|
// ServiceNamespace is a required field
|
||||||
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
|
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1177,12 +1451,18 @@ type ScalingActivity struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The unique identifier string for the scaling activity.
|
// The unique identifier string for the scaling activity.
|
||||||
|
//
|
||||||
|
// ActivityId is a required field
|
||||||
ActivityId *string `type:"string" required:"true"`
|
ActivityId *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// A simple description of what caused the scaling activity to happen.
|
// A simple description of what caused the scaling activity to happen.
|
||||||
|
//
|
||||||
|
// Cause is a required field
|
||||||
Cause *string `type:"string" required:"true"`
|
Cause *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// A simple description of what action the scaling activity intends to accomplish.
|
// A simple description of what action the scaling activity intends to accomplish.
|
||||||
|
//
|
||||||
|
// Description is a required field
|
||||||
Description *string `type:"string" required:"true"`
|
Description *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The details about the scaling activity.
|
// 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
|
// 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
|
// 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.
|
// 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"`
|
ResourceId *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The scalable dimension associated with the scaling activity. The scalable
|
// 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
|
// 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
|
// ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity
|
||||||
// of an Amazon EC2 Spot fleet request.
|
// of an Amazon EC2 Spot fleet request.
|
||||||
|
//
|
||||||
|
// ScalableDimension is a required field
|
||||||
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
|
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
|
||||||
|
|
||||||
// The namespace for the AWS service that the scaling activity is associated
|
// 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)
|
// 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.
|
// in the Amazon Web Services General Reference.
|
||||||
|
//
|
||||||
|
// ServiceNamespace is a required field
|
||||||
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
|
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
|
||||||
|
|
||||||
// The Unix timestamp for when the scaling activity began.
|
// The Unix timestamp for when the scaling activity began.
|
||||||
|
//
|
||||||
|
// StartTime is a required field
|
||||||
StartTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
|
StartTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
|
||||||
|
|
||||||
// Indicates the status of the scaling activity.
|
// Indicates the status of the scaling activity.
|
||||||
|
//
|
||||||
|
// StatusCode is a required field
|
||||||
StatusCode *string `type:"string" required:"true" enum:"ScalingActivityStatusCode"`
|
StatusCode *string `type:"string" required:"true" enum:"ScalingActivityStatusCode"`
|
||||||
|
|
||||||
// A simple message about the current status of the scaling activity.
|
// A simple message about the current status of the scaling activity.
|
||||||
|
@ -1239,15 +1529,23 @@ type ScalingPolicy struct {
|
||||||
Alarms []*Alarm `type:"list"`
|
Alarms []*Alarm `type:"list"`
|
||||||
|
|
||||||
// The Unix timestamp for when the scaling policy was created.
|
// The Unix timestamp for when the scaling policy was created.
|
||||||
|
//
|
||||||
|
// CreationTime is a required field
|
||||||
CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
|
CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
|
||||||
|
|
||||||
// The Amazon Resource Name (ARN) of the scaling policy.
|
// The Amazon Resource Name (ARN) of the scaling policy.
|
||||||
|
//
|
||||||
|
// PolicyARN is a required field
|
||||||
PolicyARN *string `min:"1" type:"string" required:"true"`
|
PolicyARN *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The name of the scaling policy.
|
// The name of the scaling policy.
|
||||||
|
//
|
||||||
|
// PolicyName is a required field
|
||||||
PolicyName *string `min:"1" type:"string" required:"true"`
|
PolicyName *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The scaling policy type.
|
// The scaling policy type.
|
||||||
|
//
|
||||||
|
// PolicyType is a required field
|
||||||
PolicyType *string `type:"string" required:"true" enum:"PolicyType"`
|
PolicyType *string `type:"string" required:"true" enum:"PolicyType"`
|
||||||
|
|
||||||
// The resource type and unique identifier string for the resource associated
|
// 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.
|
// 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,
|
// 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.
|
// 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"`
|
ResourceId *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The scalable dimension associated with the scaling policy. The scalable dimension
|
// 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,
|
// 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
|
// or ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon
|
||||||
// EC2 Spot fleet request.
|
// EC2 Spot fleet request.
|
||||||
|
//
|
||||||
|
// ScalableDimension is a required field
|
||||||
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
|
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
|
||||||
|
|
||||||
// The namespace for the AWS service that the scaling policy is associated with.
|
// 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)
|
// 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.
|
// in the Amazon Web Services General Reference.
|
||||||
|
//
|
||||||
|
// ServiceNamespace is a required field
|
||||||
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
|
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
|
||||||
|
|
||||||
// The configuration for the step scaling policy.
|
// 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
|
// 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
|
// value adds to the current scalable dimension while a negative number removes
|
||||||
// from the current scalable dimension.
|
// from the current scalable dimension.
|
||||||
|
//
|
||||||
|
// ScalingAdjustment is a required field
|
||||||
ScalingAdjustment *int64 `type:"integer" required:"true"`
|
ScalingAdjustment *int64 `type:"integer" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1437,53 +1743,64 @@ func (s *StepScalingPolicyConfiguration) Validate() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum AdjustmentType
|
// AdjustmentTypeChangeInCapacity is a AdjustmentType enum value
|
||||||
AdjustmentTypeChangeInCapacity = "ChangeInCapacity"
|
AdjustmentTypeChangeInCapacity = "ChangeInCapacity"
|
||||||
// @enum AdjustmentType
|
|
||||||
|
// AdjustmentTypePercentChangeInCapacity is a AdjustmentType enum value
|
||||||
AdjustmentTypePercentChangeInCapacity = "PercentChangeInCapacity"
|
AdjustmentTypePercentChangeInCapacity = "PercentChangeInCapacity"
|
||||||
// @enum AdjustmentType
|
|
||||||
|
// AdjustmentTypeExactCapacity is a AdjustmentType enum value
|
||||||
AdjustmentTypeExactCapacity = "ExactCapacity"
|
AdjustmentTypeExactCapacity = "ExactCapacity"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum MetricAggregationType
|
// MetricAggregationTypeAverage is a MetricAggregationType enum value
|
||||||
MetricAggregationTypeAverage = "Average"
|
MetricAggregationTypeAverage = "Average"
|
||||||
// @enum MetricAggregationType
|
|
||||||
|
// MetricAggregationTypeMinimum is a MetricAggregationType enum value
|
||||||
MetricAggregationTypeMinimum = "Minimum"
|
MetricAggregationTypeMinimum = "Minimum"
|
||||||
// @enum MetricAggregationType
|
|
||||||
|
// MetricAggregationTypeMaximum is a MetricAggregationType enum value
|
||||||
MetricAggregationTypeMaximum = "Maximum"
|
MetricAggregationTypeMaximum = "Maximum"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum PolicyType
|
// PolicyTypeStepScaling is a PolicyType enum value
|
||||||
PolicyTypeStepScaling = "StepScaling"
|
PolicyTypeStepScaling = "StepScaling"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum ScalableDimension
|
// ScalableDimensionEcsServiceDesiredCount is a ScalableDimension enum value
|
||||||
ScalableDimensionEcsServiceDesiredCount = "ecs:service:DesiredCount"
|
ScalableDimensionEcsServiceDesiredCount = "ecs:service:DesiredCount"
|
||||||
// @enum ScalableDimension
|
|
||||||
|
// ScalableDimensionEc2SpotFleetRequestTargetCapacity is a ScalableDimension enum value
|
||||||
ScalableDimensionEc2SpotFleetRequestTargetCapacity = "ec2:spot-fleet-request:TargetCapacity"
|
ScalableDimensionEc2SpotFleetRequestTargetCapacity = "ec2:spot-fleet-request:TargetCapacity"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum ScalingActivityStatusCode
|
// ScalingActivityStatusCodePending is a ScalingActivityStatusCode enum value
|
||||||
ScalingActivityStatusCodePending = "Pending"
|
ScalingActivityStatusCodePending = "Pending"
|
||||||
// @enum ScalingActivityStatusCode
|
|
||||||
|
// ScalingActivityStatusCodeInProgress is a ScalingActivityStatusCode enum value
|
||||||
ScalingActivityStatusCodeInProgress = "InProgress"
|
ScalingActivityStatusCodeInProgress = "InProgress"
|
||||||
// @enum ScalingActivityStatusCode
|
|
||||||
|
// ScalingActivityStatusCodeSuccessful is a ScalingActivityStatusCode enum value
|
||||||
ScalingActivityStatusCodeSuccessful = "Successful"
|
ScalingActivityStatusCodeSuccessful = "Successful"
|
||||||
// @enum ScalingActivityStatusCode
|
|
||||||
|
// ScalingActivityStatusCodeOverridden is a ScalingActivityStatusCode enum value
|
||||||
ScalingActivityStatusCodeOverridden = "Overridden"
|
ScalingActivityStatusCodeOverridden = "Overridden"
|
||||||
// @enum ScalingActivityStatusCode
|
|
||||||
|
// ScalingActivityStatusCodeUnfulfilled is a ScalingActivityStatusCode enum value
|
||||||
ScalingActivityStatusCodeUnfulfilled = "Unfulfilled"
|
ScalingActivityStatusCodeUnfulfilled = "Unfulfilled"
|
||||||
// @enum ScalingActivityStatusCode
|
|
||||||
|
// ScalingActivityStatusCodeFailed is a ScalingActivityStatusCode enum value
|
||||||
ScalingActivityStatusCodeFailed = "Failed"
|
ScalingActivityStatusCodeFailed = "Failed"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum ServiceNamespace
|
// ServiceNamespaceEcs is a ServiceNamespace enum value
|
||||||
ServiceNamespaceEcs = "ecs"
|
ServiceNamespaceEcs = "ecs"
|
||||||
// @enum ServiceNamespace
|
|
||||||
|
// ServiceNamespaceEc2 is a ServiceNamespace enum value
|
||||||
ServiceNamespaceEc2 = "ec2"
|
ServiceNamespaceEc2 = "ec2"
|
||||||
)
|
)
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *AutoScaling) WaitUntilGroupExists(input *DescribeAutoScalingGroupsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeAutoScalingGroups",
|
Operation: "DescribeAutoScalingGroups",
|
||||||
|
@ -35,6 +39,10 @@ func (c *AutoScaling) WaitUntilGroupExists(input *DescribeAutoScalingGroupsInput
|
||||||
return w.Wait()
|
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 {
|
func (c *AutoScaling) WaitUntilGroupInService(input *DescribeAutoScalingGroupsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeAutoScalingGroups",
|
Operation: "DescribeAutoScalingGroups",
|
||||||
|
@ -64,6 +72,10 @@ func (c *AutoScaling) WaitUntilGroupInService(input *DescribeAutoScalingGroupsIn
|
||||||
return w.Wait()
|
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 {
|
func (c *AutoScaling) WaitUntilGroupNotExists(input *DescribeAutoScalingGroupsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeAutoScalingGroups",
|
Operation: "DescribeAutoScalingGroups",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *CloudFormation) WaitUntilStackCreateComplete(input *DescribeStacksInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeStacks",
|
Operation: "DescribeStacks",
|
||||||
|
@ -77,6 +81,10 @@ func (c *CloudFormation) WaitUntilStackCreateComplete(input *DescribeStacksInput
|
||||||
return w.Wait()
|
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 {
|
func (c *CloudFormation) WaitUntilStackDeleteComplete(input *DescribeStacksInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeStacks",
|
Operation: "DescribeStacks",
|
||||||
|
@ -190,6 +198,10 @@ func (c *CloudFormation) WaitUntilStackDeleteComplete(input *DescribeStacksInput
|
||||||
return w.Wait()
|
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 {
|
func (c *CloudFormation) WaitUntilStackExists(input *DescribeStacksInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeStacks",
|
Operation: "DescribeStacks",
|
||||||
|
@ -219,6 +231,10 @@ func (c *CloudFormation) WaitUntilStackExists(input *DescribeStacksInput) error
|
||||||
return w.Wait()
|
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 {
|
func (c *CloudFormation) WaitUntilStackUpdateComplete(input *DescribeStacksInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeStacks",
|
Operation: "DescribeStacks",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *CloudFront) WaitUntilDistributionDeployed(input *GetDistributionInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "GetDistribution",
|
Operation: "GetDistribution",
|
||||||
|
@ -29,6 +33,10 @@ func (c *CloudFront) WaitUntilDistributionDeployed(input *GetDistributionInput)
|
||||||
return w.Wait()
|
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 {
|
func (c *CloudFront) WaitUntilInvalidationCompleted(input *GetInvalidationInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "GetInvalidation",
|
Operation: "GetInvalidation",
|
||||||
|
@ -52,6 +60,10 @@ func (c *CloudFront) WaitUntilInvalidationCompleted(input *GetInvalidationInput)
|
||||||
return w.Wait()
|
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 {
|
func (c *CloudFront) WaitUntilStreamingDistributionDeployed(input *GetStreamingDistributionInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "GetStreamingDistribution",
|
Operation: "GetStreamingDistribution",
|
||||||
|
|
|
@ -18,6 +18,8 @@ const opAddTags = "AddTags"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See AddTags for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
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
|
// 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
|
// 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
|
// 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
|
// 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 applies to all regions only from the region in which the trail was created
|
||||||
// (that is, from its home region).
|
// (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) {
|
func (c *CloudTrail) AddTags(input *AddTagsInput) (*AddTagsOutput, error) {
|
||||||
req, out := c.AddTagsRequest(input)
|
req, out := c.AddTagsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -71,6 +127,8 @@ const opCreateTrail = "CreateTrail"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See CreateTrail for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CreateTrail API operation for AWS CloudTrail.
|
||||||
|
//
|
||||||
// Creates a trail that specifies the settings for delivery of log data to an
|
// 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
|
// Amazon S3 bucket. A maximum of five trails can exist in a region, irrespective
|
||||||
// of the region in which they were created.
|
// 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 can’t 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) {
|
func (c *CloudTrail) CreateTrail(input *CreateTrailInput) (*CreateTrailOutput, error) {
|
||||||
req, out := c.CreateTrailRequest(input)
|
req, out := c.CreateTrailRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -121,6 +270,8 @@ const opDeleteTrail = "DeleteTrail"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DeleteTrail for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeleteTrail API operation for AWS CloudTrail.
|
||||||
|
//
|
||||||
// Deletes a trail. This operation must be called from the region in which the
|
// 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
|
// 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.
|
// 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) {
|
func (c *CloudTrail) DeleteTrail(input *DeleteTrailInput) (*DeleteTrailOutput, error) {
|
||||||
req, out := c.DeleteTrailRequest(input)
|
req, out := c.DeleteTrailRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -171,6 +356,8 @@ const opDescribeTrails = "DescribeTrails"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DescribeTrails for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DescribeTrails API operation for AWS CloudTrail.
|
||||||
|
//
|
||||||
// Retrieves settings for the trail associated with the current region for your
|
// Retrieves settings for the trail associated with the current region for your
|
||||||
// account.
|
// 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) {
|
func (c *CloudTrail) DescribeTrails(input *DescribeTrailsInput) (*DescribeTrailsOutput, error) {
|
||||||
req, out := c.DescribeTrailsRequest(input)
|
req, out := c.DescribeTrailsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -220,6 +424,8 @@ const opGetTrailStatus = "GetTrailStatus"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See GetTrailStatus for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetTrailStatus API operation for AWS CloudTrail.
|
||||||
|
//
|
||||||
// Returns a JSON-formatted list of information about the specified trail. Fields
|
// Returns a JSON-formatted list of information about the specified trail. Fields
|
||||||
// include information on delivery errors, Amazon SNS and Amazon S3 errors,
|
// include information on delivery errors, Amazon SNS and Amazon S3 errors,
|
||||||
// and start and stop logging times for each trail. This operation returns trail
|
// 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
|
// status from a single region. To return trail status from all regions, you
|
||||||
// must call the operation on each region.
|
// 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) {
|
func (c *CloudTrail) GetTrailStatus(input *GetTrailStatusInput) (*GetTrailStatusOutput, error) {
|
||||||
req, out := c.GetTrailStatusRequest(input)
|
req, out := c.GetTrailStatusRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -272,6 +508,8 @@ const opListPublicKeys = "ListPublicKeys"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ListPublicKeys for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ListPublicKeys API operation for AWS CloudTrail.
|
||||||
|
//
|
||||||
// Returns all public keys whose private keys were used to sign the digest files
|
// 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
|
// within the specified time range. The public key is needed to validate digest
|
||||||
// files that were signed with its corresponding private key.
|
// 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
|
// 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
|
// validate a digest file from a particular region, you must look in the same
|
||||||
// region for its corresponding public key.
|
// 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) {
|
func (c *CloudTrail) ListPublicKeys(input *ListPublicKeysInput) (*ListPublicKeysOutput, error) {
|
||||||
req, out := c.ListPublicKeysRequest(input)
|
req, out := c.ListPublicKeysRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -327,6 +589,8 @@ const opListTags = "ListTags"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ListTags for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ListTags API operation for AWS CloudTrail.
|
||||||
|
//
|
||||||
// Lists the tags for the trail in the current region.
|
// 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) {
|
func (c *CloudTrail) ListTags(input *ListTagsInput) (*ListTagsOutput, error) {
|
||||||
req, out := c.ListTagsRequest(input)
|
req, out := c.ListTagsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -375,6 +688,8 @@ const opLookupEvents = "LookupEvents"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See LookupEvents for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// LookupEvents API operation for AWS CloudTrail.
|
||||||
|
//
|
||||||
// Looks up API activity events captured by CloudTrail that create, update,
|
// 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
|
// 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
|
// 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
|
// Events that occurred during the selected time range will not be available
|
||||||
// for lookup if CloudTrail logging was not enabled when the events occurred.
|
// 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) {
|
func (c *CloudTrail) LookupEvents(input *LookupEventsInput) (*LookupEventsOutput, error) {
|
||||||
req, out := c.LookupEventsRequest(input)
|
req, out := c.LookupEventsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -438,6 +778,8 @@ const opRemoveTags = "RemoveTags"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See RemoveTags for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// RemoveTags API operation for AWS CloudTrail.
|
||||||
|
//
|
||||||
// Removes the specified tags from a trail.
|
// 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) {
|
func (c *CloudTrail) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) {
|
||||||
req, out := c.RemoveTagsRequest(input)
|
req, out := c.RemoveTagsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -486,6 +878,8 @@ const opStartLogging = "StartLogging"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See StartLogging for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// StartLogging API operation for AWS CloudTrail.
|
||||||
|
//
|
||||||
// Starts the recording of AWS API calls and log file delivery for a trail.
|
// 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
|
// 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
|
// 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
|
// called on the shadow trails (replicated trails in other regions) of a trail
|
||||||
// that is enabled in all regions.
|
// 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) {
|
func (c *CloudTrail) StartLogging(input *StartLoggingInput) (*StartLoggingOutput, error) {
|
||||||
req, out := c.StartLoggingRequest(input)
|
req, out := c.StartLoggingRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -538,6 +966,8 @@ const opStopLogging = "StopLogging"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See StopLogging for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// StopLogging API operation for AWS CloudTrail.
|
||||||
|
//
|
||||||
// Suspends the recording of AWS API calls and log file delivery for the specified
|
// 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
|
// 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
|
// 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
|
// 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
|
// will occur. This operation cannot be called on the shadow trails (replicated
|
||||||
// trails in other regions) of a trail enabled in all regions.
|
// 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) {
|
func (c *CloudTrail) StopLogging(input *StopLoggingInput) (*StopLoggingOutput, error) {
|
||||||
req, out := c.StopLoggingRequest(input)
|
req, out := c.StopLoggingRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -592,6 +1056,8 @@ const opUpdateTrail = "UpdateTrail"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See UpdateTrail for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// UpdateTrail API operation for AWS CloudTrail.
|
||||||
|
//
|
||||||
// Updates the settings that specify delivery of log files. Changes to a trail
|
// 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
|
// do not require stopping the CloudTrail service. Use this action to designate
|
||||||
// an existing bucket for log delivery. If the existing bucket has previously
|
// 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.
|
// 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;
|
// UpdateTrail must be called from the region in which the trail was created;
|
||||||
// otherwise, an InvalidHomeRegionException is thrown.
|
// 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 can’t 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) {
|
func (c *CloudTrail) UpdateTrail(input *UpdateTrailInput) (*UpdateTrailOutput, error) {
|
||||||
req, out := c.UpdateTrailRequest(input)
|
req, out := c.UpdateTrailRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -646,6 +1204,8 @@ type AddTagsInput struct {
|
||||||
// format of a trail ARN is:
|
// format of a trail ARN is:
|
||||||
//
|
//
|
||||||
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
||||||
|
//
|
||||||
|
// ResourceId is a required field
|
||||||
ResourceId *string `type:"string" required:"true"`
|
ResourceId *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// Contains a list of CloudTrail tags, up to a limit of 10.
|
// Contains a list of CloudTrail tags, up to a limit of 10.
|
||||||
|
@ -763,10 +1323,14 @@ type CreateTrailInput struct {
|
||||||
// and my--namespace are invalid.
|
// and my--namespace are invalid.
|
||||||
//
|
//
|
||||||
// Not be in IP address format (for example, 192.168.5.4)
|
// Not be in IP address format (for example, 192.168.5.4)
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `type:"string" required:"true"`
|
Name *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// Specifies the name of the Amazon S3 bucket designated for publishing log
|
// 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).
|
// 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"`
|
S3BucketName *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// Specifies the Amazon S3 key prefix that comes after the name of the bucket
|
// 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:
|
// format of a trail ARN is:
|
||||||
//
|
//
|
||||||
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `type:"string" required:"true"`
|
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:
|
// another region), you must specify its ARN. The format of a trail ARN is:
|
||||||
//
|
//
|
||||||
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `type:"string" required:"true"`
|
Name *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1207,6 +1775,8 @@ type ListTagsInput struct {
|
||||||
// limit of 20 ARNs. The format of a trail ARN is:
|
// limit of 20 ARNs. The format of a trail ARN is:
|
||||||
//
|
//
|
||||||
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
||||||
|
//
|
||||||
|
// ResourceIdList is a required field
|
||||||
ResourceIdList []*string `type:"list" required:"true"`
|
ResourceIdList []*string `type:"list" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1260,9 +1830,13 @@ type LookupAttribute struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// Specifies an attribute on which to filter the events returned.
|
// Specifies an attribute on which to filter the events returned.
|
||||||
|
//
|
||||||
|
// AttributeKey is a required field
|
||||||
AttributeKey *string `type:"string" required:"true" enum:"LookupAttributeKey"`
|
AttributeKey *string `type:"string" required:"true" enum:"LookupAttributeKey"`
|
||||||
|
|
||||||
// Specifies a value for the specified AttributeKey.
|
// Specifies a value for the specified AttributeKey.
|
||||||
|
//
|
||||||
|
// AttributeValue is a required field
|
||||||
AttributeValue *string `type:"string" required:"true"`
|
AttributeValue *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1419,6 +1993,8 @@ type RemoveTagsInput struct {
|
||||||
// of a trail ARN is:
|
// of a trail ARN is:
|
||||||
//
|
//
|
||||||
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
||||||
|
//
|
||||||
|
// ResourceId is a required field
|
||||||
ResourceId *string `type:"string" required:"true"`
|
ResourceId *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// Specifies a list of tags to be removed.
|
// 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:
|
// logs AWS API calls. The format of a trail ARN is:
|
||||||
//
|
//
|
||||||
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `type:"string" required:"true"`
|
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:
|
// will stop logging AWS API calls. The format of a trail ARN is:
|
||||||
//
|
//
|
||||||
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `type:"string" required:"true"`
|
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
|
// 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.
|
// characters. The key must be unique for the resource to which it applies.
|
||||||
|
//
|
||||||
|
// Key is a required field
|
||||||
Key *string `type:"string" required:"true"`
|
Key *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The value in a key-value pair of a tag. The value must be no longer than
|
// 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:
|
// If Name is a trail ARN, it must be in the format:
|
||||||
//
|
//
|
||||||
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `type:"string" required:"true"`
|
Name *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// Specifies the name of the Amazon S3 bucket designated for publishing log
|
// Specifies the name of the Amazon S3 bucket designated for publishing log
|
||||||
|
@ -1907,14 +2491,18 @@ func (s UpdateTrailOutput) GoString() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum LookupAttributeKey
|
// LookupAttributeKeyEventId is a LookupAttributeKey enum value
|
||||||
LookupAttributeKeyEventId = "EventId"
|
LookupAttributeKeyEventId = "EventId"
|
||||||
// @enum LookupAttributeKey
|
|
||||||
|
// LookupAttributeKeyEventName is a LookupAttributeKey enum value
|
||||||
LookupAttributeKeyEventName = "EventName"
|
LookupAttributeKeyEventName = "EventName"
|
||||||
// @enum LookupAttributeKey
|
|
||||||
|
// LookupAttributeKeyUsername is a LookupAttributeKey enum value
|
||||||
LookupAttributeKeyUsername = "Username"
|
LookupAttributeKeyUsername = "Username"
|
||||||
// @enum LookupAttributeKey
|
|
||||||
|
// LookupAttributeKeyResourceType is a LookupAttributeKey enum value
|
||||||
LookupAttributeKeyResourceType = "ResourceType"
|
LookupAttributeKeyResourceType = "ResourceType"
|
||||||
// @enum LookupAttributeKey
|
|
||||||
|
// LookupAttributeKeyResourceName is a LookupAttributeKey enum value
|
||||||
LookupAttributeKeyResourceName = "ResourceName"
|
LookupAttributeKeyResourceName = "ResourceName"
|
||||||
)
|
)
|
||||||
|
|
|
@ -20,6 +20,8 @@ const opDeleteAlarms = "DeleteAlarms"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DeleteAlarms for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeleteAlarms API operation for Amazon CloudWatch.
|
||||||
|
//
|
||||||
// Deletes all specified alarms. In the event of an error, no alarms are deleted.
|
// 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) {
|
func (c *CloudWatch) DeleteAlarms(input *DeleteAlarmsInput) (*DeleteAlarmsOutput, error) {
|
||||||
req, out := c.DeleteAlarmsRequest(input)
|
req, out := c.DeleteAlarmsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -70,6 +86,8 @@ const opDescribeAlarmHistory = "DescribeAlarmHistory"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DescribeAlarmHistory for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -110,12 +128,26 @@ func (c *CloudWatch) DescribeAlarmHistoryRequest(input *DescribeAlarmHistoryInpu
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DescribeAlarmHistory API operation for Amazon CloudWatch.
|
||||||
|
//
|
||||||
// Retrieves history for the specified alarm. Filter alarms by date range or
|
// 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
|
// item type. If an alarm name is not specified, Amazon CloudWatch returns histories
|
||||||
// for all of the owner's alarms.
|
// for all of the owner's alarms.
|
||||||
//
|
//
|
||||||
// Amazon CloudWatch retains the history of an alarm for two weeks, whether
|
// Amazon CloudWatch retains the history of an alarm for two weeks, whether
|
||||||
// or not you delete the alarm.
|
// 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) {
|
func (c *CloudWatch) DescribeAlarmHistory(input *DescribeAlarmHistoryInput) (*DescribeAlarmHistoryOutput, error) {
|
||||||
req, out := c.DescribeAlarmHistoryRequest(input)
|
req, out := c.DescribeAlarmHistoryRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -154,6 +186,8 @@ const opDescribeAlarms = "DescribeAlarms"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DescribeAlarms for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DescribeAlarms API operation for Amazon CloudWatch.
|
||||||
|
//
|
||||||
// Retrieves alarms with the specified names. If no name is specified, all alarms
|
// 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 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.
|
// 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) {
|
func (c *CloudWatch) DescribeAlarms(input *DescribeAlarmsInput) (*DescribeAlarmsOutput, error) {
|
||||||
req, out := c.DescribeAlarmsRequest(input)
|
req, out := c.DescribeAlarmsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -235,6 +283,8 @@ const opDescribeAlarmsForMetric = "DescribeAlarmsForMetric"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DescribeAlarmsForMetric for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -269,8 +319,17 @@ func (c *CloudWatch) DescribeAlarmsForMetricRequest(input *DescribeAlarmsForMetr
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DescribeAlarmsForMetric API operation for Amazon CloudWatch.
|
||||||
|
//
|
||||||
// Retrieves all alarms for a single metric. Specify a statistic, period, or
|
// Retrieves all alarms for a single metric. Specify a statistic, period, or
|
||||||
// unit to filter the set of alarms further.
|
// 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) {
|
func (c *CloudWatch) DescribeAlarmsForMetric(input *DescribeAlarmsForMetricInput) (*DescribeAlarmsForMetricOutput, error) {
|
||||||
req, out := c.DescribeAlarmsForMetricRequest(input)
|
req, out := c.DescribeAlarmsForMetricRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -284,6 +343,8 @@ const opDisableAlarmActions = "DisableAlarmActions"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DisableAlarmActions for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -320,8 +381,17 @@ func (c *CloudWatch) DisableAlarmActionsRequest(input *DisableAlarmActionsInput)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DisableAlarmActions API operation for Amazon CloudWatch.
|
||||||
|
//
|
||||||
// Disables actions for the specified alarms. When an alarm's actions are disabled
|
// 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.
|
// 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) {
|
func (c *CloudWatch) DisableAlarmActions(input *DisableAlarmActionsInput) (*DisableAlarmActionsOutput, error) {
|
||||||
req, out := c.DisableAlarmActionsRequest(input)
|
req, out := c.DisableAlarmActionsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -335,6 +405,8 @@ const opEnableAlarmActions = "EnableAlarmActions"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See EnableAlarmActions for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -371,7 +443,16 @@ func (c *CloudWatch) EnableAlarmActionsRequest(input *EnableAlarmActionsInput) (
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// EnableAlarmActions API operation for Amazon CloudWatch.
|
||||||
|
//
|
||||||
// Enables actions for the specified alarms.
|
// 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) {
|
func (c *CloudWatch) EnableAlarmActions(input *EnableAlarmActionsInput) (*EnableAlarmActionsOutput, error) {
|
||||||
req, out := c.EnableAlarmActionsRequest(input)
|
req, out := c.EnableAlarmActionsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -385,6 +466,8 @@ const opGetMetricStatistics = "GetMetricStatistics"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See GetMetricStatistics for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -419,6 +502,8 @@ func (c *CloudWatch) GetMetricStatisticsRequest(input *GetMetricStatisticsInput)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetMetricStatistics API operation for Amazon CloudWatch.
|
||||||
|
//
|
||||||
// Gets statistics for the specified metric.
|
// Gets statistics for the specified metric.
|
||||||
//
|
//
|
||||||
// The maximum number of data points that can be queried is 50,850, whereas
|
// 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
|
// 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)
|
// 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.
|
// 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) {
|
func (c *CloudWatch) GetMetricStatistics(input *GetMetricStatisticsInput) (*GetMetricStatisticsOutput, error) {
|
||||||
req, out := c.GetMetricStatisticsRequest(input)
|
req, out := c.GetMetricStatisticsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -464,6 +571,8 @@ const opListMetrics = "ListMetrics"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ListMetrics for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ListMetrics API operation for Amazon CloudWatch.
|
||||||
|
//
|
||||||
// Returns a list of valid metrics stored for the AWS account owner. Returned
|
// Returns a list of valid metrics stored for the AWS account owner. Returned
|
||||||
// metrics can be used with GetMetricStatistics to obtain statistical data for
|
// metrics can be used with GetMetricStatistics to obtain statistical data for
|
||||||
// a given metric.
|
// 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
|
// 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,
|
// for the metric to appear in calls to ListMetrics. Statistics about the metric,
|
||||||
// however, are available sooner using GetMetricStatistics.
|
// 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) {
|
func (c *CloudWatch) ListMetrics(input *ListMetricsInput) (*ListMetricsOutput, error) {
|
||||||
req, out := c.ListMetricsRequest(input)
|
req, out := c.ListMetricsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -552,6 +679,8 @@ const opPutMetricAlarm = "PutMetricAlarm"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See PutMetricAlarm for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// PutMetricAlarm API operation for Amazon CloudWatch.
|
||||||
|
//
|
||||||
// Creates or updates an alarm and associates it with the specified 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
|
// metric. Optionally, this operation can associate one or more Amazon SNS resources
|
||||||
// with the alarm.
|
// 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
|
// 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
|
// Token Service (AWS STS), you cannot stop or terminate an Amazon EC2 instance
|
||||||
// using alarm actions.
|
// 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) {
|
func (c *CloudWatch) PutMetricAlarm(input *PutMetricAlarmInput) (*PutMetricAlarmOutput, error) {
|
||||||
req, out := c.PutMetricAlarmRequest(input)
|
req, out := c.PutMetricAlarmRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -641,6 +784,8 @@ const opPutMetricData = "PutMetricData"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See PutMetricData for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// PutMetricData API operation for Amazon CloudWatch.
|
||||||
|
//
|
||||||
// Publishes metric data points to Amazon CloudWatch. Amazon CloudWatch associates
|
// Publishes metric data points to Amazon CloudWatch. Amazon CloudWatch associates
|
||||||
// the data points with the specified metric. If the specified metric does not
|
// the data points with the specified metric. If the specified metric does not
|
||||||
// exist, Amazon CloudWatch creates the metric. When Amazon CloudWatch creates
|
// 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
|
// 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.
|
// 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) {
|
func (c *CloudWatch) PutMetricData(input *PutMetricDataInput) (*PutMetricDataOutput, error) {
|
||||||
req, out := c.PutMetricDataRequest(input)
|
req, out := c.PutMetricDataRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -707,6 +876,8 @@ const opSetAlarmState = "SetAlarmState"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See SetAlarmState for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// SetAlarmState API operation for Amazon CloudWatch.
|
||||||
|
//
|
||||||
// Temporarily sets the state of an alarm for testing purposes. When the updated
|
// Temporarily sets the state of an alarm for testing purposes. When the updated
|
||||||
// StateValue differs from the previous value, the action configured for the
|
// StateValue differs from the previous value, the action configured for the
|
||||||
// appropriate state is invoked. For example, if your alarm is configured to
|
// 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
|
// 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
|
// happens very quickly, it is typically only visible in the alarm's History
|
||||||
// tab in the Amazon CloudWatch console or through DescribeAlarmHistory.
|
// 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) {
|
func (c *CloudWatch) SetAlarmState(input *SetAlarmStateInput) (*SetAlarmStateOutput, error) {
|
||||||
req, out := c.SetAlarmStateRequest(input)
|
req, out := c.SetAlarmStateRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -832,6 +1020,8 @@ type DeleteAlarmsInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// A list of alarms to be deleted.
|
// A list of alarms to be deleted.
|
||||||
|
//
|
||||||
|
// AlarmNames is a required field
|
||||||
AlarmNames []*string `type:"list" required:"true"`
|
AlarmNames []*string `type:"list" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -953,9 +1143,13 @@ type DescribeAlarmsForMetricInput struct {
|
||||||
Dimensions []*Dimension `type:"list"`
|
Dimensions []*Dimension `type:"list"`
|
||||||
|
|
||||||
// The name of the metric.
|
// The name of the metric.
|
||||||
|
//
|
||||||
|
// MetricName is a required field
|
||||||
MetricName *string `min:"1" type:"string" required:"true"`
|
MetricName *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The namespace of the metric.
|
// The namespace of the metric.
|
||||||
|
//
|
||||||
|
// Namespace is a required field
|
||||||
Namespace *string `min:"1" type:"string" required:"true"`
|
Namespace *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The period in seconds over which the statistic is applied.
|
// The period in seconds over which the statistic is applied.
|
||||||
|
@ -1114,9 +1308,13 @@ type Dimension struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the dimension.
|
// The name of the dimension.
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `min:"1" type:"string" required:"true"`
|
Name *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The value representing the dimension measurement
|
// The value representing the dimension measurement
|
||||||
|
//
|
||||||
|
// Value is a required field
|
||||||
Value *string `min:"1" type:"string" required:"true"`
|
Value *string `min:"1" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1157,6 +1355,8 @@ type DimensionFilter struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The dimension name to be matched.
|
// The dimension name to be matched.
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `min:"1" type:"string" required:"true"`
|
Name *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The value of the dimension to be matched.
|
// The value of the dimension to be matched.
|
||||||
|
@ -1199,6 +1399,8 @@ type DisableAlarmActionsInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The names of the alarms to disable actions for.
|
// The names of the alarms to disable actions for.
|
||||||
|
//
|
||||||
|
// AlarmNames is a required field
|
||||||
AlarmNames []*string `type:"list" required:"true"`
|
AlarmNames []*string `type:"list" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1244,6 +1446,8 @@ type EnableAlarmActionsInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The names of the alarms to enable actions for.
|
// The names of the alarms to enable actions for.
|
||||||
|
//
|
||||||
|
// AlarmNames is a required field
|
||||||
AlarmNames []*string `type:"list" required:"true"`
|
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
|
// 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 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).
|
// 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"`
|
EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
|
||||||
|
|
||||||
// The name of the metric, with or without spaces.
|
// The name of the metric, with or without spaces.
|
||||||
|
//
|
||||||
|
// MetricName is a required field
|
||||||
MetricName *string `min:"1" type:"string" required:"true"`
|
MetricName *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The namespace of the metric, with or without spaces.
|
// The namespace of the metric, with or without spaces.
|
||||||
|
//
|
||||||
|
// Namespace is a required field
|
||||||
Namespace *string `min:"1" type:"string" required:"true"`
|
Namespace *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The granularity, in seconds, of the returned datapoints. A Period can be
|
// 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),
|
// 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.
|
// 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"`
|
Period *int64 `min:"60" type:"integer" required:"true"`
|
||||||
|
|
||||||
// The time stamp to use for determining the first datapoint to return. The
|
// 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
|
// 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.
|
// 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"`
|
StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
|
||||||
|
|
||||||
// The metric statistics to return. For information about specific statistics
|
// 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)
|
// returned by GetMetricStatistics, see Statistics (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Statistic)
|
||||||
// in the Amazon CloudWatch Developer Guide.
|
// in the Amazon CloudWatch Developer Guide.
|
||||||
|
//
|
||||||
|
// Statistics is a required field
|
||||||
Statistics []*string `min:"1" type:"list" required:"true"`
|
Statistics []*string `min:"1" type:"list" required:"true"`
|
||||||
|
|
||||||
// The specific unit for a given metric. Metrics may be reported in multiple
|
// The specific unit for a given metric. Metrics may be reported in multiple
|
||||||
|
@ -1617,6 +1833,8 @@ type MetricDatum struct {
|
||||||
Dimensions []*Dimension `type:"list"`
|
Dimensions []*Dimension `type:"list"`
|
||||||
|
|
||||||
// The name of the metric.
|
// The name of the metric.
|
||||||
|
//
|
||||||
|
// MetricName is a required field
|
||||||
MetricName *string `min:"1" type:"string" required:"true"`
|
MetricName *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// A set of statistical values describing the metric.
|
// 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
|
// The descriptive name for the alarm. This name must be unique within the user's
|
||||||
// AWS account
|
// AWS account
|
||||||
|
//
|
||||||
|
// AlarmName is a required field
|
||||||
AlarmName *string `min:"1" type:"string" required:"true"`
|
AlarmName *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The arithmetic operation to use when comparing the specified Statistic and
|
// The arithmetic operation to use when comparing the specified Statistic and
|
||||||
// Threshold. The specified Statistic value is used as the first operand.
|
// Threshold. The specified Statistic value is used as the first operand.
|
||||||
|
//
|
||||||
|
// ComparisonOperator is a required field
|
||||||
ComparisonOperator *string `type:"string" required:"true" enum:"ComparisonOperator"`
|
ComparisonOperator *string `type:"string" required:"true" enum:"ComparisonOperator"`
|
||||||
|
|
||||||
// The dimensions for the alarm's associated metric.
|
// The dimensions for the alarm's associated metric.
|
||||||
Dimensions []*Dimension `type:"list"`
|
Dimensions []*Dimension `type:"list"`
|
||||||
|
|
||||||
// The number of periods over which data is compared to the specified threshold.
|
// 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"`
|
EvaluationPeriods *int64 `min:"1" type:"integer" required:"true"`
|
||||||
|
|
||||||
// The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA
|
// 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"`
|
InsufficientDataActions []*string `type:"list"`
|
||||||
|
|
||||||
// The name for the alarm's associated metric.
|
// The name for the alarm's associated metric.
|
||||||
|
//
|
||||||
|
// MetricName is a required field
|
||||||
MetricName *string `min:"1" type:"string" required:"true"`
|
MetricName *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The namespace for the alarm's associated metric.
|
// The namespace for the alarm's associated metric.
|
||||||
|
//
|
||||||
|
// Namespace is a required field
|
||||||
Namespace *string `min:"1" type:"string" required:"true"`
|
Namespace *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The list of actions to execute when this alarm transitions into an OK state
|
// 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"`
|
OKActions []*string `type:"list"`
|
||||||
|
|
||||||
// The period in seconds over which the specified statistic is applied.
|
// The period in seconds over which the specified statistic is applied.
|
||||||
|
//
|
||||||
|
// Period is a required field
|
||||||
Period *int64 `min:"60" type:"integer" required:"true"`
|
Period *int64 `min:"60" type:"integer" required:"true"`
|
||||||
|
|
||||||
// The statistic to apply to the alarm's associated metric.
|
// The statistic to apply to the alarm's associated metric.
|
||||||
|
//
|
||||||
|
// Statistic is a required field
|
||||||
Statistic *string `type:"string" required:"true" enum:"Statistic"`
|
Statistic *string `type:"string" required:"true" enum:"Statistic"`
|
||||||
|
|
||||||
// The value against which the specified statistic is compared.
|
// The value against which the specified statistic is compared.
|
||||||
|
//
|
||||||
|
// Threshold is a required field
|
||||||
Threshold *float64 `type:"double" required:"true"`
|
Threshold *float64 `type:"double" required:"true"`
|
||||||
|
|
||||||
// The statistic's unit of measure. For example, the units for the Amazon EC2
|
// The statistic's unit of measure. For example, the units for the Amazon EC2
|
||||||
|
@ -1873,6 +2107,8 @@ type PutMetricDataInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// A list of data describing the metric.
|
// A list of data describing the metric.
|
||||||
|
//
|
||||||
|
// MetricData is a required field
|
||||||
MetricData []*MetricDatum `type:"list" required:"true"`
|
MetricData []*MetricDatum `type:"list" required:"true"`
|
||||||
|
|
||||||
// The namespace for the metric data.
|
// The namespace for the metric data.
|
||||||
|
@ -1880,6 +2116,8 @@ type PutMetricDataInput struct {
|
||||||
// You cannot specify a namespace that begins with "AWS/". Namespaces that
|
// You cannot specify a namespace that begins with "AWS/". Namespaces that
|
||||||
// begin with "AWS/" are reserved for other Amazon Web Services products that
|
// begin with "AWS/" are reserved for other Amazon Web Services products that
|
||||||
// send metrics to Amazon CloudWatch.
|
// send metrics to Amazon CloudWatch.
|
||||||
|
//
|
||||||
|
// Namespace is a required field
|
||||||
Namespace *string `min:"1" type:"string" required:"true"`
|
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
|
// The descriptive name for the alarm. This name must be unique within the user's
|
||||||
// AWS account. The maximum length is 255 characters.
|
// AWS account. The maximum length is 255 characters.
|
||||||
|
//
|
||||||
|
// AlarmName is a required field
|
||||||
AlarmName *string `min:"1" type:"string" required:"true"`
|
AlarmName *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The reason that this alarm is set to this specific state (in human-readable
|
// The reason that this alarm is set to this specific state (in human-readable
|
||||||
// text format)
|
// text format)
|
||||||
|
//
|
||||||
|
// StateReason is a required field
|
||||||
StateReason *string `type:"string" required:"true"`
|
StateReason *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The reason that this alarm is set to this specific state (in machine-readable
|
// 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"`
|
StateReasonData *string `type:"string"`
|
||||||
|
|
||||||
// The value of the state.
|
// The value of the state.
|
||||||
|
//
|
||||||
|
// StateValue is a required field
|
||||||
StateValue *string `type:"string" required:"true" enum:"StateValue"`
|
StateValue *string `type:"string" required:"true" enum:"StateValue"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2008,15 +2252,23 @@ type StatisticSet struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The maximum value of the sample set.
|
// The maximum value of the sample set.
|
||||||
|
//
|
||||||
|
// Maximum is a required field
|
||||||
Maximum *float64 `type:"double" required:"true"`
|
Maximum *float64 `type:"double" required:"true"`
|
||||||
|
|
||||||
// The minimum value of the sample set.
|
// The minimum value of the sample set.
|
||||||
|
//
|
||||||
|
// Minimum is a required field
|
||||||
Minimum *float64 `type:"double" required:"true"`
|
Minimum *float64 `type:"double" required:"true"`
|
||||||
|
|
||||||
// The number of samples used for the statistic set.
|
// The number of samples used for the statistic set.
|
||||||
|
//
|
||||||
|
// SampleCount is a required field
|
||||||
SampleCount *float64 `type:"double" required:"true"`
|
SampleCount *float64 `type:"double" required:"true"`
|
||||||
|
|
||||||
// The sum of values for the sample set.
|
// The sum of values for the sample set.
|
||||||
|
//
|
||||||
|
// Sum is a required field
|
||||||
Sum *float64 `type:"double" required:"true"`
|
Sum *float64 `type:"double" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2053,100 +2305,137 @@ func (s *StatisticSet) Validate() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum ComparisonOperator
|
// ComparisonOperatorGreaterThanOrEqualToThreshold is a ComparisonOperator enum value
|
||||||
ComparisonOperatorGreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold"
|
ComparisonOperatorGreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold"
|
||||||
// @enum ComparisonOperator
|
|
||||||
|
// ComparisonOperatorGreaterThanThreshold is a ComparisonOperator enum value
|
||||||
ComparisonOperatorGreaterThanThreshold = "GreaterThanThreshold"
|
ComparisonOperatorGreaterThanThreshold = "GreaterThanThreshold"
|
||||||
// @enum ComparisonOperator
|
|
||||||
|
// ComparisonOperatorLessThanThreshold is a ComparisonOperator enum value
|
||||||
ComparisonOperatorLessThanThreshold = "LessThanThreshold"
|
ComparisonOperatorLessThanThreshold = "LessThanThreshold"
|
||||||
// @enum ComparisonOperator
|
|
||||||
|
// ComparisonOperatorLessThanOrEqualToThreshold is a ComparisonOperator enum value
|
||||||
ComparisonOperatorLessThanOrEqualToThreshold = "LessThanOrEqualToThreshold"
|
ComparisonOperatorLessThanOrEqualToThreshold = "LessThanOrEqualToThreshold"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum HistoryItemType
|
// HistoryItemTypeConfigurationUpdate is a HistoryItemType enum value
|
||||||
HistoryItemTypeConfigurationUpdate = "ConfigurationUpdate"
|
HistoryItemTypeConfigurationUpdate = "ConfigurationUpdate"
|
||||||
// @enum HistoryItemType
|
|
||||||
|
// HistoryItemTypeStateUpdate is a HistoryItemType enum value
|
||||||
HistoryItemTypeStateUpdate = "StateUpdate"
|
HistoryItemTypeStateUpdate = "StateUpdate"
|
||||||
// @enum HistoryItemType
|
|
||||||
|
// HistoryItemTypeAction is a HistoryItemType enum value
|
||||||
HistoryItemTypeAction = "Action"
|
HistoryItemTypeAction = "Action"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum StandardUnit
|
// StandardUnitSeconds is a StandardUnit enum value
|
||||||
StandardUnitSeconds = "Seconds"
|
StandardUnitSeconds = "Seconds"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitMicroseconds is a StandardUnit enum value
|
||||||
StandardUnitMicroseconds = "Microseconds"
|
StandardUnitMicroseconds = "Microseconds"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitMilliseconds is a StandardUnit enum value
|
||||||
StandardUnitMilliseconds = "Milliseconds"
|
StandardUnitMilliseconds = "Milliseconds"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitBytes is a StandardUnit enum value
|
||||||
StandardUnitBytes = "Bytes"
|
StandardUnitBytes = "Bytes"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitKilobytes is a StandardUnit enum value
|
||||||
StandardUnitKilobytes = "Kilobytes"
|
StandardUnitKilobytes = "Kilobytes"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitMegabytes is a StandardUnit enum value
|
||||||
StandardUnitMegabytes = "Megabytes"
|
StandardUnitMegabytes = "Megabytes"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitGigabytes is a StandardUnit enum value
|
||||||
StandardUnitGigabytes = "Gigabytes"
|
StandardUnitGigabytes = "Gigabytes"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitTerabytes is a StandardUnit enum value
|
||||||
StandardUnitTerabytes = "Terabytes"
|
StandardUnitTerabytes = "Terabytes"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitBits is a StandardUnit enum value
|
||||||
StandardUnitBits = "Bits"
|
StandardUnitBits = "Bits"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitKilobits is a StandardUnit enum value
|
||||||
StandardUnitKilobits = "Kilobits"
|
StandardUnitKilobits = "Kilobits"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitMegabits is a StandardUnit enum value
|
||||||
StandardUnitMegabits = "Megabits"
|
StandardUnitMegabits = "Megabits"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitGigabits is a StandardUnit enum value
|
||||||
StandardUnitGigabits = "Gigabits"
|
StandardUnitGigabits = "Gigabits"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitTerabits is a StandardUnit enum value
|
||||||
StandardUnitTerabits = "Terabits"
|
StandardUnitTerabits = "Terabits"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitPercent is a StandardUnit enum value
|
||||||
StandardUnitPercent = "Percent"
|
StandardUnitPercent = "Percent"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitCount is a StandardUnit enum value
|
||||||
StandardUnitCount = "Count"
|
StandardUnitCount = "Count"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitBytesSecond is a StandardUnit enum value
|
||||||
StandardUnitBytesSecond = "Bytes/Second"
|
StandardUnitBytesSecond = "Bytes/Second"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitKilobytesSecond is a StandardUnit enum value
|
||||||
StandardUnitKilobytesSecond = "Kilobytes/Second"
|
StandardUnitKilobytesSecond = "Kilobytes/Second"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitMegabytesSecond is a StandardUnit enum value
|
||||||
StandardUnitMegabytesSecond = "Megabytes/Second"
|
StandardUnitMegabytesSecond = "Megabytes/Second"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitGigabytesSecond is a StandardUnit enum value
|
||||||
StandardUnitGigabytesSecond = "Gigabytes/Second"
|
StandardUnitGigabytesSecond = "Gigabytes/Second"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitTerabytesSecond is a StandardUnit enum value
|
||||||
StandardUnitTerabytesSecond = "Terabytes/Second"
|
StandardUnitTerabytesSecond = "Terabytes/Second"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitBitsSecond is a StandardUnit enum value
|
||||||
StandardUnitBitsSecond = "Bits/Second"
|
StandardUnitBitsSecond = "Bits/Second"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitKilobitsSecond is a StandardUnit enum value
|
||||||
StandardUnitKilobitsSecond = "Kilobits/Second"
|
StandardUnitKilobitsSecond = "Kilobits/Second"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitMegabitsSecond is a StandardUnit enum value
|
||||||
StandardUnitMegabitsSecond = "Megabits/Second"
|
StandardUnitMegabitsSecond = "Megabits/Second"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitGigabitsSecond is a StandardUnit enum value
|
||||||
StandardUnitGigabitsSecond = "Gigabits/Second"
|
StandardUnitGigabitsSecond = "Gigabits/Second"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitTerabitsSecond is a StandardUnit enum value
|
||||||
StandardUnitTerabitsSecond = "Terabits/Second"
|
StandardUnitTerabitsSecond = "Terabits/Second"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitCountSecond is a StandardUnit enum value
|
||||||
StandardUnitCountSecond = "Count/Second"
|
StandardUnitCountSecond = "Count/Second"
|
||||||
// @enum StandardUnit
|
|
||||||
|
// StandardUnitNone is a StandardUnit enum value
|
||||||
StandardUnitNone = "None"
|
StandardUnitNone = "None"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum StateValue
|
// StateValueOk is a StateValue enum value
|
||||||
StateValueOk = "OK"
|
StateValueOk = "OK"
|
||||||
// @enum StateValue
|
|
||||||
|
// StateValueAlarm is a StateValue enum value
|
||||||
StateValueAlarm = "ALARM"
|
StateValueAlarm = "ALARM"
|
||||||
// @enum StateValue
|
|
||||||
|
// StateValueInsufficientData is a StateValue enum value
|
||||||
StateValueInsufficientData = "INSUFFICIENT_DATA"
|
StateValueInsufficientData = "INSUFFICIENT_DATA"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum Statistic
|
// StatisticSampleCount is a Statistic enum value
|
||||||
StatisticSampleCount = "SampleCount"
|
StatisticSampleCount = "SampleCount"
|
||||||
// @enum Statistic
|
|
||||||
|
// StatisticAverage is a Statistic enum value
|
||||||
StatisticAverage = "Average"
|
StatisticAverage = "Average"
|
||||||
// @enum Statistic
|
|
||||||
|
// StatisticSum is a Statistic enum value
|
||||||
StatisticSum = "Sum"
|
StatisticSum = "Sum"
|
||||||
// @enum Statistic
|
|
||||||
|
// StatisticMinimum is a Statistic enum value
|
||||||
StatisticMinimum = "Minimum"
|
StatisticMinimum = "Minimum"
|
||||||
// @enum Statistic
|
|
||||||
|
// StatisticMaximum is a Statistic enum value
|
||||||
StatisticMaximum = "Maximum"
|
StatisticMaximum = "Maximum"
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *CloudWatch) WaitUntilAlarmExists(input *DescribeAlarmsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeAlarms",
|
Operation: "DescribeAlarms",
|
||||||
|
|
|
@ -20,6 +20,8 @@ const opDeleteRule = "DeleteRule"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DeleteRule for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeleteRule API operation for Amazon CloudWatch Events.
|
||||||
|
//
|
||||||
// Deletes a rule. You must remove all targets from a rule using RemoveTargets
|
// Deletes a rule. You must remove all targets from a rule using RemoveTargets
|
||||||
// before you can delete the rule.
|
// before you can delete the rule.
|
||||||
//
|
//
|
||||||
// Note: When you delete a rule, incoming events might still continue to match
|
// 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
|
// to the deleted rule. Please allow a short period of time for changes to take
|
||||||
// effect.
|
// 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) {
|
func (c *CloudWatchEvents) DeleteRule(input *DeleteRuleInput) (*DeleteRuleOutput, error) {
|
||||||
req, out := c.DeleteRuleRequest(input)
|
req, out := c.DeleteRuleRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -75,6 +94,8 @@ const opDescribeRule = "DescribeRule"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DescribeRule for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DescribeRule API operation for Amazon CloudWatch Events.
|
||||||
|
//
|
||||||
// Describes the details of the specified rule.
|
// 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) {
|
func (c *CloudWatchEvents) DescribeRule(input *DescribeRuleInput) (*DescribeRuleOutput, error) {
|
||||||
req, out := c.DescribeRuleRequest(input)
|
req, out := c.DescribeRuleRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -123,6 +161,8 @@ const opDisableRule = "DisableRule"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DisableRule for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DisableRule API operation for Amazon CloudWatch Events.
|
||||||
|
//
|
||||||
// Disables a rule. A disabled rule won't match any events, and won't self-trigger
|
// Disables a rule. A disabled rule won't match any events, and won't self-trigger
|
||||||
// if it has a schedule expression.
|
// if it has a schedule expression.
|
||||||
//
|
//
|
||||||
// Note: When you disable a rule, incoming events might still continue to
|
// 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
|
// match to the disabled rule. Please allow a short period of time for changes
|
||||||
// to take effect.
|
// 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) {
|
func (c *CloudWatchEvents) DisableRule(input *DisableRuleInput) (*DisableRuleOutput, error) {
|
||||||
req, out := c.DisableRuleRequest(input)
|
req, out := c.DisableRuleRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -178,6 +238,8 @@ const opEnableRule = "EnableRule"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See EnableRule for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// EnableRule API operation for Amazon CloudWatch Events.
|
||||||
|
//
|
||||||
// Enables a rule. If the rule does not exist, the operation fails.
|
// Enables a rule. If the rule does not exist, the operation fails.
|
||||||
//
|
//
|
||||||
// Note: When you enable a rule, incoming events might not immediately start
|
// 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
|
// matching to a newly enabled rule. Please allow a short period of time for
|
||||||
// changes to take effect.
|
// 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) {
|
func (c *CloudWatchEvents) EnableRule(input *EnableRuleInput) (*EnableRuleOutput, error) {
|
||||||
req, out := c.EnableRuleRequest(input)
|
req, out := c.EnableRuleRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -232,6 +314,8 @@ const opListRuleNamesByTarget = "ListRuleNamesByTarget"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ListRuleNamesByTarget for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -266,12 +350,26 @@ func (c *CloudWatchEvents) ListRuleNamesByTargetRequest(input *ListRuleNamesByTa
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ListRuleNamesByTarget API operation for Amazon CloudWatch Events.
|
||||||
|
//
|
||||||
// Lists the names of the rules that the given target is put to. You can see
|
// 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
|
// 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,
|
// 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
|
// 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
|
// in the response and repeat ListRulesByTarget until the NextToken in the response
|
||||||
// is returned as null.
|
// 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) {
|
func (c *CloudWatchEvents) ListRuleNamesByTarget(input *ListRuleNamesByTargetInput) (*ListRuleNamesByTargetOutput, error) {
|
||||||
req, out := c.ListRuleNamesByTargetRequest(input)
|
req, out := c.ListRuleNamesByTargetRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -285,6 +383,8 @@ const opListRules = "ListRules"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ListRules for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ListRules API operation for Amazon CloudWatch Events.
|
||||||
|
//
|
||||||
// Lists the Amazon CloudWatch Events rules in your account. You can either
|
// 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.
|
// 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
|
// 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
|
// 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.
|
// 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) {
|
func (c *CloudWatchEvents) ListRules(input *ListRulesInput) (*ListRulesOutput, error) {
|
||||||
req, out := c.ListRulesRequest(input)
|
req, out := c.ListRulesRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -337,6 +451,8 @@ const opListTargetsByRule = "ListTargetsByRule"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ListTargetsByRule for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -371,7 +487,24 @@ func (c *CloudWatchEvents) ListTargetsByRuleRequest(input *ListTargetsByRuleInpu
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ListTargetsByRule API operation for Amazon CloudWatch Events.
|
||||||
|
//
|
||||||
// Lists of targets assigned to the rule.
|
// 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) {
|
func (c *CloudWatchEvents) ListTargetsByRule(input *ListTargetsByRuleInput) (*ListTargetsByRuleOutput, error) {
|
||||||
req, out := c.ListTargetsByRuleRequest(input)
|
req, out := c.ListTargetsByRuleRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -385,6 +518,8 @@ const opPutEvents = "PutEvents"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See PutEvents for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// PutEvents API operation for Amazon CloudWatch Events.
|
||||||
|
//
|
||||||
// Sends custom events to Amazon CloudWatch Events so that they can be matched
|
// Sends custom events to Amazon CloudWatch Events so that they can be matched
|
||||||
// to rules.
|
// 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) {
|
func (c *CloudWatchEvents) PutEvents(input *PutEventsInput) (*PutEventsOutput, error) {
|
||||||
req, out := c.PutEventsRequest(input)
|
req, out := c.PutEventsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -434,6 +583,8 @@ const opPutRule = "PutRule"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See PutRule for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// PutRule API operation for Amazon CloudWatch Events.
|
||||||
|
//
|
||||||
// Creates or updates a rule. Rules are enabled by default, or based on value
|
// 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.
|
// 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
|
// 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
|
// creating event patterns so that they match the ARN syntax in the event you
|
||||||
// want to match.
|
// 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) {
|
func (c *CloudWatchEvents) PutRule(input *PutRuleInput) (*PutRuleOutput, error) {
|
||||||
req, out := c.PutRuleRequest(input)
|
req, out := c.PutRuleRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -499,6 +674,8 @@ const opPutTargets = "PutTargets"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See PutTargets for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// PutTargets API operation for Amazon CloudWatch Events.
|
||||||
|
//
|
||||||
// Adds target(s) to a rule. Targets are the resources that can be invoked when
|
// 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,
|
// 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
|
// 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,
|
// 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
|
// 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.
|
// 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) {
|
func (c *CloudWatchEvents) PutTargets(input *PutTargetsInput) (*PutTargetsOutput, error) {
|
||||||
req, out := c.PutTargetsRequest(input)
|
req, out := c.PutTargetsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -570,6 +771,8 @@ const opRemoveTargets = "RemoveTargets"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See RemoveTargets for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// RemoveTargets API operation for Amazon CloudWatch Events.
|
||||||
|
//
|
||||||
// Removes target(s) from a rule so that when the rule is triggered, those targets
|
// Removes target(s) from a rule so that when the rule is triggered, those targets
|
||||||
// will no longer be invoked.
|
// will no longer be invoked.
|
||||||
//
|
//
|
||||||
// Note: When you remove a target, when the associated rule triggers, removed
|
// 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
|
// targets might still continue to be invoked. Please allow a short period of
|
||||||
// time for changes to take effect.
|
// 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) {
|
func (c *CloudWatchEvents) RemoveTargets(input *RemoveTargetsInput) (*RemoveTargetsOutput, error) {
|
||||||
req, out := c.RemoveTargetsRequest(input)
|
req, out := c.RemoveTargetsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -623,6 +846,8 @@ const opTestEventPattern = "TestEventPattern"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See TestEventPattern for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -657,6 +882,8 @@ func (c *CloudWatchEvents) TestEventPatternRequest(input *TestEventPatternInput)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TestEventPattern API operation for Amazon CloudWatch Events.
|
||||||
|
//
|
||||||
// Tests whether an event pattern matches the provided event.
|
// Tests whether an event pattern matches the provided event.
|
||||||
//
|
//
|
||||||
// Note: Most services in AWS treat : or / as the same character in Amazon
|
// 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
|
// 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
|
// creating event patterns so that they match the ARN syntax in the event you
|
||||||
// want to match.
|
// 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) {
|
func (c *CloudWatchEvents) TestEventPattern(input *TestEventPatternInput) (*TestEventPatternOutput, error) {
|
||||||
req, out := c.TestEventPatternRequest(input)
|
req, out := c.TestEventPatternRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -675,6 +917,8 @@ type DeleteRuleInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the rule to be deleted.
|
// The name of the rule to be deleted.
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `min:"1" type:"string" required:"true"`
|
Name *string `min:"1" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -723,6 +967,8 @@ type DescribeRuleInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the rule you want to describe details for.
|
// The name of the rule you want to describe details for.
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `min:"1" type:"string" required:"true"`
|
Name *string `min:"1" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -793,6 +1039,8 @@ type DisableRuleInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the rule you want to disable.
|
// The name of the rule you want to disable.
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `min:"1" type:"string" required:"true"`
|
Name *string `min:"1" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -841,6 +1089,8 @@ type EnableRuleInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the rule that you want to enable.
|
// The name of the rule that you want to enable.
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `min:"1" type:"string" required:"true"`
|
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 Amazon Resource Name (ARN) of the target resource that you want to list
|
||||||
// the rules for.
|
// the rules for.
|
||||||
|
//
|
||||||
|
// TargetArn is a required field
|
||||||
TargetArn *string `min:"1" type:"string" required:"true"`
|
TargetArn *string `min:"1" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1030,6 +1282,8 @@ type ListTargetsByRuleInput struct {
|
||||||
NextToken *string `min:"1" type:"string"`
|
NextToken *string `min:"1" type:"string"`
|
||||||
|
|
||||||
// The name of the rule whose targets you want to list.
|
// The name of the rule whose targets you want to list.
|
||||||
|
//
|
||||||
|
// Rule is a required field
|
||||||
Rule *string `min:"1" type:"string" required:"true"`
|
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
|
// 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
|
// for the entry such as the source and type of the event, resources associated
|
||||||
// with the event, and so on.
|
// with the event, and so on.
|
||||||
|
//
|
||||||
|
// Entries is a required field
|
||||||
Entries []*PutEventsRequestEntry `min:"1" type:"list" required:"true"`
|
Entries []*PutEventsRequestEntry `min:"1" type:"list" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1215,6 +1471,8 @@ type PutRuleInput struct {
|
||||||
EventPattern *string `type:"string"`
|
EventPattern *string `type:"string"`
|
||||||
|
|
||||||
// The name of the rule that you are creating or updating.
|
// The name of the rule that you are creating or updating.
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `min:"1" type:"string" required:"true"`
|
Name *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The Amazon Resource Name (ARN) of the IAM role associated with the rule.
|
// The Amazon Resource Name (ARN) of the IAM role associated with the rule.
|
||||||
|
@ -1279,9 +1537,13 @@ type PutTargetsInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the rule you want to add targets to.
|
// The name of the rule you want to add targets to.
|
||||||
|
//
|
||||||
|
// Rule is a required field
|
||||||
Rule *string `min:"1" type:"string" required:"true"`
|
Rule *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// List of targets you want to update or add to the rule.
|
// List of targets you want to update or add to the rule.
|
||||||
|
//
|
||||||
|
// Targets is a required field
|
||||||
Targets []*Target `type:"list" required:"true"`
|
Targets []*Target `type:"list" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1374,9 +1636,13 @@ type RemoveTargetsInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The list of target IDs to remove from the rule.
|
// The list of target IDs to remove from the rule.
|
||||||
|
//
|
||||||
|
// Ids is a required field
|
||||||
Ids []*string `min:"1" type:"list" required:"true"`
|
Ids []*string `min:"1" type:"list" required:"true"`
|
||||||
|
|
||||||
// The name of the rule you want to remove targets from.
|
// The name of the rule you want to remove targets from.
|
||||||
|
//
|
||||||
|
// Rule is a required field
|
||||||
Rule *string `min:"1" type:"string" required:"true"`
|
Rule *string `min:"1" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1512,9 +1778,13 @@ type Target struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The Amazon Resource Name (ARN) associated of the target.
|
// The Amazon Resource Name (ARN) associated of the target.
|
||||||
|
//
|
||||||
|
// Arn is a required field
|
||||||
Arn *string `min:"1" type:"string" required:"true"`
|
Arn *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The unique target assignment ID.
|
// The unique target assignment ID.
|
||||||
|
//
|
||||||
|
// Id is a required field
|
||||||
Id *string `min:"1" type:"string" required:"true"`
|
Id *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// Valid JSON text passed to the target. For more information about JSON text,
|
// Valid JSON text passed to the target. For more information about JSON text,
|
||||||
|
@ -1564,9 +1834,13 @@ type TestEventPatternInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The event in the JSON format to test against the event pattern.
|
// The event in the JSON format to test against the event pattern.
|
||||||
|
//
|
||||||
|
// Event is a required field
|
||||||
Event *string `type:"string" required:"true"`
|
Event *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The event pattern you want to test.
|
// The event pattern you want to test.
|
||||||
|
//
|
||||||
|
// EventPattern is a required field
|
||||||
EventPattern *string `type:"string" required:"true"`
|
EventPattern *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1615,8 +1889,9 @@ func (s TestEventPatternOutput) GoString() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum RuleState
|
// RuleStateEnabled is a RuleState enum value
|
||||||
RuleStateEnabled = "ENABLED"
|
RuleStateEnabled = "ENABLED"
|
||||||
// @enum RuleState
|
|
||||||
|
// RuleStateDisabled is a RuleState enum value
|
||||||
RuleStateDisabled = "DISABLED"
|
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
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *CodeDeploy) WaitUntilDeploymentSuccessful(input *GetDeploymentInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "GetDeployment",
|
Operation: "GetDeployment",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *DynamoDB) WaitUntilTableExists(input *DescribeTableInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeTable",
|
Operation: "DescribeTable",
|
||||||
|
@ -35,6 +39,10 @@ func (c *DynamoDB) WaitUntilTableExists(input *DescribeTableInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *DynamoDB) WaitUntilTableNotExists(input *DescribeTableInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeTable",
|
Operation: "DescribeTable",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *EC2) WaitUntilBundleTaskComplete(input *DescribeBundleTasksInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeBundleTasks",
|
Operation: "DescribeBundleTasks",
|
||||||
|
@ -35,6 +39,10 @@ func (c *EC2) WaitUntilBundleTaskComplete(input *DescribeBundleTasksInput) error
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilConversionTaskCancelled(input *DescribeConversionTasksInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeConversionTasks",
|
Operation: "DescribeConversionTasks",
|
||||||
|
@ -58,6 +66,10 @@ func (c *EC2) WaitUntilConversionTaskCancelled(input *DescribeConversionTasksInp
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilConversionTaskCompleted(input *DescribeConversionTasksInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeConversionTasks",
|
Operation: "DescribeConversionTasks",
|
||||||
|
@ -93,6 +105,10 @@ func (c *EC2) WaitUntilConversionTaskCompleted(input *DescribeConversionTasksInp
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilConversionTaskDeleted(input *DescribeConversionTasksInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeConversionTasks",
|
Operation: "DescribeConversionTasks",
|
||||||
|
@ -116,6 +132,10 @@ func (c *EC2) WaitUntilConversionTaskDeleted(input *DescribeConversionTasksInput
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilCustomerGatewayAvailable(input *DescribeCustomerGatewaysInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeCustomerGateways",
|
Operation: "DescribeCustomerGateways",
|
||||||
|
@ -151,6 +171,10 @@ func (c *EC2) WaitUntilCustomerGatewayAvailable(input *DescribeCustomerGatewaysI
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilExportTaskCancelled(input *DescribeExportTasksInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeExportTasks",
|
Operation: "DescribeExportTasks",
|
||||||
|
@ -174,6 +198,10 @@ func (c *EC2) WaitUntilExportTaskCancelled(input *DescribeExportTasksInput) erro
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilExportTaskCompleted(input *DescribeExportTasksInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeExportTasks",
|
Operation: "DescribeExportTasks",
|
||||||
|
@ -197,6 +225,10 @@ func (c *EC2) WaitUntilExportTaskCompleted(input *DescribeExportTasksInput) erro
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilImageAvailable(input *DescribeImagesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeImages",
|
Operation: "DescribeImages",
|
||||||
|
@ -226,6 +258,10 @@ func (c *EC2) WaitUntilImageAvailable(input *DescribeImagesInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilImageExists(input *DescribeImagesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeImages",
|
Operation: "DescribeImages",
|
||||||
|
@ -255,6 +291,10 @@ func (c *EC2) WaitUntilImageExists(input *DescribeImagesInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilInstanceExists(input *DescribeInstancesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeInstances",
|
Operation: "DescribeInstances",
|
||||||
|
@ -284,6 +324,10 @@ func (c *EC2) WaitUntilInstanceExists(input *DescribeInstancesInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilInstanceRunning(input *DescribeInstancesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeInstances",
|
Operation: "DescribeInstances",
|
||||||
|
@ -331,6 +375,10 @@ func (c *EC2) WaitUntilInstanceRunning(input *DescribeInstancesInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilInstanceStatusOk(input *DescribeInstanceStatusInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeInstanceStatus",
|
Operation: "DescribeInstanceStatus",
|
||||||
|
@ -360,6 +408,10 @@ func (c *EC2) WaitUntilInstanceStatusOk(input *DescribeInstanceStatusInput) erro
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilInstanceStopped(input *DescribeInstancesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeInstances",
|
Operation: "DescribeInstances",
|
||||||
|
@ -395,6 +447,10 @@ func (c *EC2) WaitUntilInstanceStopped(input *DescribeInstancesInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilInstanceTerminated(input *DescribeInstancesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeInstances",
|
Operation: "DescribeInstances",
|
||||||
|
@ -430,6 +486,10 @@ func (c *EC2) WaitUntilInstanceTerminated(input *DescribeInstancesInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilKeyPairExists(input *DescribeKeyPairsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeKeyPairs",
|
Operation: "DescribeKeyPairs",
|
||||||
|
@ -459,6 +519,10 @@ func (c *EC2) WaitUntilKeyPairExists(input *DescribeKeyPairsInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilNatGatewayAvailable(input *DescribeNatGatewaysInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeNatGateways",
|
Operation: "DescribeNatGateways",
|
||||||
|
@ -506,6 +570,10 @@ func (c *EC2) WaitUntilNatGatewayAvailable(input *DescribeNatGatewaysInput) erro
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilNetworkInterfaceAvailable(input *DescribeNetworkInterfacesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeNetworkInterfaces",
|
Operation: "DescribeNetworkInterfaces",
|
||||||
|
@ -535,6 +603,10 @@ func (c *EC2) WaitUntilNetworkInterfaceAvailable(input *DescribeNetworkInterface
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilPasswordDataAvailable(input *GetPasswordDataInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "GetPasswordData",
|
Operation: "GetPasswordData",
|
||||||
|
@ -558,6 +630,10 @@ func (c *EC2) WaitUntilPasswordDataAvailable(input *GetPasswordDataInput) error
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilSnapshotCompleted(input *DescribeSnapshotsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeSnapshots",
|
Operation: "DescribeSnapshots",
|
||||||
|
@ -581,6 +657,10 @@ func (c *EC2) WaitUntilSnapshotCompleted(input *DescribeSnapshotsInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilSpotInstanceRequestFulfilled(input *DescribeSpotInstanceRequestsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeSpotInstanceRequests",
|
Operation: "DescribeSpotInstanceRequests",
|
||||||
|
@ -628,6 +708,10 @@ func (c *EC2) WaitUntilSpotInstanceRequestFulfilled(input *DescribeSpotInstanceR
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilSubnetAvailable(input *DescribeSubnetsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeSubnets",
|
Operation: "DescribeSubnets",
|
||||||
|
@ -651,6 +735,10 @@ func (c *EC2) WaitUntilSubnetAvailable(input *DescribeSubnetsInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilSystemStatusOk(input *DescribeInstanceStatusInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeInstanceStatus",
|
Operation: "DescribeInstanceStatus",
|
||||||
|
@ -674,6 +762,10 @@ func (c *EC2) WaitUntilSystemStatusOk(input *DescribeInstanceStatusInput) error
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilVolumeAvailable(input *DescribeVolumesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeVolumes",
|
Operation: "DescribeVolumes",
|
||||||
|
@ -703,6 +795,10 @@ func (c *EC2) WaitUntilVolumeAvailable(input *DescribeVolumesInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilVolumeDeleted(input *DescribeVolumesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeVolumes",
|
Operation: "DescribeVolumes",
|
||||||
|
@ -732,6 +828,10 @@ func (c *EC2) WaitUntilVolumeDeleted(input *DescribeVolumesInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilVolumeInUse(input *DescribeVolumesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeVolumes",
|
Operation: "DescribeVolumes",
|
||||||
|
@ -761,6 +861,10 @@ func (c *EC2) WaitUntilVolumeInUse(input *DescribeVolumesInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilVpcAvailable(input *DescribeVpcsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeVpcs",
|
Operation: "DescribeVpcs",
|
||||||
|
@ -784,6 +888,10 @@ func (c *EC2) WaitUntilVpcAvailable(input *DescribeVpcsInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilVpcExists(input *DescribeVpcsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeVpcs",
|
Operation: "DescribeVpcs",
|
||||||
|
@ -813,6 +921,10 @@ func (c *EC2) WaitUntilVpcExists(input *DescribeVpcsInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilVpcPeeringConnectionExists(input *DescribeVpcPeeringConnectionsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeVpcPeeringConnections",
|
Operation: "DescribeVpcPeeringConnections",
|
||||||
|
@ -842,6 +954,10 @@ func (c *EC2) WaitUntilVpcPeeringConnectionExists(input *DescribeVpcPeeringConne
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilVpnConnectionAvailable(input *DescribeVpnConnectionsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeVpnConnections",
|
Operation: "DescribeVpnConnections",
|
||||||
|
@ -877,6 +993,10 @@ func (c *EC2) WaitUntilVpnConnectionAvailable(input *DescribeVpnConnectionsInput
|
||||||
return w.Wait()
|
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 {
|
func (c *EC2) WaitUntilVpnConnectionDeleted(input *DescribeVpnConnectionsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeVpnConnections",
|
Operation: "DescribeVpnConnections",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *ECS) WaitUntilServicesInactive(input *DescribeServicesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeServices",
|
Operation: "DescribeServices",
|
||||||
|
@ -35,6 +39,10 @@ func (c *ECS) WaitUntilServicesInactive(input *DescribeServicesInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *ECS) WaitUntilServicesStable(input *DescribeServicesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeServices",
|
Operation: "DescribeServices",
|
||||||
|
@ -76,6 +84,10 @@ func (c *ECS) WaitUntilServicesStable(input *DescribeServicesInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *ECS) WaitUntilTasksRunning(input *DescribeTasksInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeTasks",
|
Operation: "DescribeTasks",
|
||||||
|
@ -111,6 +123,10 @@ func (c *ECS) WaitUntilTasksRunning(input *DescribeTasksInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *ECS) WaitUntilTasksStopped(input *DescribeTasksInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeTasks",
|
Operation: "DescribeTasks",
|
||||||
|
|
|
@ -20,6 +20,8 @@ const opCreateFileSystem = "CreateFileSystem"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See CreateFileSystem for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CreateFileSystem API operation for Amazon Elastic File System.
|
||||||
|
//
|
||||||
// Creates a new, empty file system. The operation requires a creation token
|
// Creates a new, empty file system. The operation requires a creation token
|
||||||
// in the request that Amazon EFS uses to ensure idempotent creation (calling
|
// 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
|
// 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
|
// This operation requires permissions for the elasticfilesystem:CreateFileSystem
|
||||||
// action.
|
// 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) {
|
func (c *EFS) CreateFileSystem(input *CreateFileSystemInput) (*FileSystemDescription, error) {
|
||||||
req, out := c.CreateFileSystemRequest(input)
|
req, out := c.CreateFileSystemRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -113,6 +141,8 @@ const opCreateMountTarget = "CreateMountTarget"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See CreateMountTarget for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CreateMountTarget API operation for Amazon Elastic File System.
|
||||||
|
//
|
||||||
// Creates a mount target for a file system. You can then mount the file system
|
// Creates a mount target for a file system. You can then mount the file system
|
||||||
// on EC2 instances via the mount target.
|
// on EC2 instances via the mount target.
|
||||||
//
|
//
|
||||||
|
@ -243,6 +275,62 @@ func (c *EFS) CreateMountTargetRequest(input *CreateMountTargetInput) (req *requ
|
||||||
// ec2:DescribeNetworkInterfaces
|
// ec2:DescribeNetworkInterfaces
|
||||||
//
|
//
|
||||||
// ec2:CreateNetworkInterface
|
// 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) {
|
func (c *EFS) CreateMountTarget(input *CreateMountTargetInput) (*MountTargetDescription, error) {
|
||||||
req, out := c.CreateMountTargetRequest(input)
|
req, out := c.CreateMountTargetRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -256,6 +344,8 @@ const opCreateTags = "CreateTags"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See CreateTags for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CreateTags API operation for Amazon Elastic File System.
|
||||||
|
//
|
||||||
// Creates or overwrites tags associated with a file system. Each tag is a key-value
|
// 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,
|
// 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.
|
// 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
|
// This operation requires permission for the elasticfilesystem:CreateTags
|
||||||
// action.
|
// 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) {
|
func (c *EFS) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error) {
|
||||||
req, out := c.CreateTagsRequest(input)
|
req, out := c.CreateTagsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -313,6 +425,8 @@ const opDeleteFileSystem = "DeleteFileSystem"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DeleteFileSystem for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeleteFileSystem API operation for Amazon Elastic File System.
|
||||||
|
//
|
||||||
// Deletes a file system, permanently severing access to its contents. Upon
|
// 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
|
// return, the file system no longer exists and you can't access any contents
|
||||||
// of the deleted file system.
|
// 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
|
// This operation requires permissions for the elasticfilesystem:DeleteFileSystem
|
||||||
// action.
|
// 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) {
|
func (c *EFS) DeleteFileSystem(input *DeleteFileSystemInput) (*DeleteFileSystemOutput, error) {
|
||||||
req, out := c.DeleteFileSystemRequest(input)
|
req, out := c.DeleteFileSystemRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -378,6 +517,8 @@ const opDeleteMountTarget = "DeleteMountTarget"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DeleteMountTarget for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeleteMountTarget API operation for Amazon Elastic File System.
|
||||||
|
//
|
||||||
// Deletes the specified mount target.
|
// Deletes the specified mount target.
|
||||||
//
|
//
|
||||||
// This operation forcibly breaks any mounts of the file system via the mount
|
// 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:
|
// on the mount target's network interface:
|
||||||
//
|
//
|
||||||
// ec2:DeleteNetworkInterface
|
// 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) {
|
func (c *EFS) DeleteMountTarget(input *DeleteMountTargetInput) (*DeleteMountTargetOutput, error) {
|
||||||
req, out := c.DeleteMountTargetRequest(input)
|
req, out := c.DeleteMountTargetRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -452,6 +619,8 @@ const opDeleteTags = "DeleteTags"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DeleteTags for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeleteTags API operation for Amazon Elastic File System.
|
||||||
|
//
|
||||||
// Deletes the specified tags from a file system. If the DeleteTags request
|
// 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
|
// 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,
|
// 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
|
// This operation requires permissions for the elasticfilesystem:DeleteTags
|
||||||
// action.
|
// 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) {
|
func (c *EFS) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) {
|
||||||
req, out := c.DeleteTagsRequest(input)
|
req, out := c.DeleteTagsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -509,6 +700,8 @@ const opDescribeFileSystems = "DescribeFileSystems"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DescribeFileSystems for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DescribeFileSystems API operation for Amazon Elastic File System.
|
||||||
|
//
|
||||||
// Returns the description of a specific Amazon EFS file system if either the
|
// Returns the description of a specific Amazon EFS file system if either the
|
||||||
// file system CreationToken or the FileSystemId is provided. Otherwise, it
|
// file system CreationToken or the FileSystemId is provided. Otherwise, it
|
||||||
// returns descriptions of all file systems owned by the caller's AWS account
|
// 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
|
// This operation requires permissions for the elasticfilesystem:DescribeFileSystems
|
||||||
// action.
|
// 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) {
|
func (c *EFS) DescribeFileSystems(input *DescribeFileSystemsInput) (*DescribeFileSystemsOutput, error) {
|
||||||
req, out := c.DescribeFileSystemsRequest(input)
|
req, out := c.DescribeFileSystemsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -582,6 +797,8 @@ const opDescribeMountTargetSecurityGroups = "DescribeMountTargetSecurityGroups"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DescribeMountTargetSecurityGroups for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -616,6 +833,8 @@ func (c *EFS) DescribeMountTargetSecurityGroupsRequest(input *DescribeMountTarge
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DescribeMountTargetSecurityGroups API operation for Amazon Elastic File System.
|
||||||
|
//
|
||||||
// Returns the security groups currently in effect for a mount target. This
|
// Returns the security groups currently in effect for a mount target. This
|
||||||
// operation requires that the network interface of the mount target has been
|
// operation requires that the network interface of the mount target has been
|
||||||
// created and the lifecycle state of the mount target is not deleted.
|
// 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
|
// ec2:DescribeNetworkInterfaceAttribute action on the mount target's network
|
||||||
// interface.
|
// 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) {
|
func (c *EFS) DescribeMountTargetSecurityGroups(input *DescribeMountTargetSecurityGroupsInput) (*DescribeMountTargetSecurityGroupsOutput, error) {
|
||||||
req, out := c.DescribeMountTargetSecurityGroupsRequest(input)
|
req, out := c.DescribeMountTargetSecurityGroupsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -640,6 +882,8 @@ const opDescribeMountTargets = "DescribeMountTargets"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DescribeMountTargets for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DescribeMountTargets API operation for Amazon Elastic File System.
|
||||||
|
//
|
||||||
// Returns the descriptions of all the current mount targets, or a specific
|
// 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
|
// 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.
|
// 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
|
// This operation requires permissions for the elasticfilesystem:DescribeMountTargets
|
||||||
// action, on either the file system ID that you specify in FileSystemId, or
|
// 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.
|
// 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) {
|
func (c *EFS) DescribeMountTargets(input *DescribeMountTargetsInput) (*DescribeMountTargetsOutput, error) {
|
||||||
req, out := c.DescribeMountTargetsRequest(input)
|
req, out := c.DescribeMountTargetsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -694,6 +964,8 @@ const opDescribeTags = "DescribeTags"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DescribeTags for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DescribeTags API operation for Amazon Elastic File System.
|
||||||
|
//
|
||||||
// Returns the tags associated with a file system. The order of tags returned
|
// 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
|
// 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.
|
// the responses of a multi-call iteration (when using pagination) is unspecified.
|
||||||
//
|
//
|
||||||
// This operation requires permissions for the elasticfilesystem:DescribeTags
|
// This operation requires permissions for the elasticfilesystem:DescribeTags
|
||||||
// action.
|
// 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) {
|
func (c *EFS) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) {
|
||||||
req, out := c.DescribeTagsRequest(input)
|
req, out := c.DescribeTagsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -747,6 +1041,8 @@ const opModifyMountTargetSecurityGroups = "ModifyMountTargetSecurityGroups"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ModifyMountTargetSecurityGroups for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -783,6 +1079,8 @@ func (c *EFS) ModifyMountTargetSecurityGroupsRequest(input *ModifyMountTargetSec
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ModifyMountTargetSecurityGroups API operation for Amazon Elastic File System.
|
||||||
|
//
|
||||||
// Modifies the set of security groups in effect for a mount target.
|
// 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.
|
// 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
|
// ec2:ModifyNetworkInterfaceAttribute action on the mount target's network
|
||||||
// interface.
|
// 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) {
|
func (c *EFS) ModifyMountTargetSecurityGroups(input *ModifyMountTargetSecurityGroupsInput) (*ModifyMountTargetSecurityGroupsOutput, error) {
|
||||||
req, out := c.ModifyMountTargetSecurityGroupsRequest(input)
|
req, out := c.ModifyMountTargetSecurityGroupsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -810,6 +1139,8 @@ type CreateFileSystemInput struct {
|
||||||
|
|
||||||
// String of up to 64 ASCII characters. Amazon EFS uses this to ensure idempotent
|
// String of up to 64 ASCII characters. Amazon EFS uses this to ensure idempotent
|
||||||
// creation.
|
// creation.
|
||||||
|
//
|
||||||
|
// CreationToken is a required field
|
||||||
CreationToken *string `min:"1" type:"string" required:"true"`
|
CreationToken *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The PerformanceMode of the file system. We recommend generalPurpose performance
|
// The PerformanceMode of the file system. We recommend generalPurpose performance
|
||||||
|
@ -850,6 +1181,8 @@ type CreateMountTargetInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// ID of the file system for which to create the mount target.
|
// ID of the file system for which to create the mount target.
|
||||||
|
//
|
||||||
|
// FileSystemId is a required field
|
||||||
FileSystemId *string `type:"string" required:"true"`
|
FileSystemId *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// Valid IPv4 address within the address range of the specified subnet.
|
// Valid IPv4 address within the address range of the specified subnet.
|
||||||
|
@ -860,6 +1193,8 @@ type CreateMountTargetInput struct {
|
||||||
SecurityGroups []*string `type:"list"`
|
SecurityGroups []*string `type:"list"`
|
||||||
|
|
||||||
// ID of the subnet to add the mount target in.
|
// ID of the subnet to add the mount target in.
|
||||||
|
//
|
||||||
|
// SubnetId is a required field
|
||||||
SubnetId *string `type:"string" required:"true"`
|
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
|
// ID of the file system whose tags you want to modify (String). This operation
|
||||||
// modifies the tags only, not the file system.
|
// modifies the tags only, not the file system.
|
||||||
|
//
|
||||||
|
// FileSystemId is a required field
|
||||||
FileSystemId *string `location:"uri" locationName:"FileSystemId" type:"string" required:"true"`
|
FileSystemId *string `location:"uri" locationName:"FileSystemId" type:"string" required:"true"`
|
||||||
|
|
||||||
// Array of Tag objects to add. Each Tag object is a key-value pair.
|
// 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"`
|
Tags []*Tag `type:"list" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -954,6 +1293,8 @@ type DeleteFileSystemInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// ID of the file system you want to delete.
|
// ID of the file system you want to delete.
|
||||||
|
//
|
||||||
|
// FileSystemId is a required field
|
||||||
FileSystemId *string `location:"uri" locationName:"FileSystemId" type:"string" required:"true"`
|
FileSystemId *string `location:"uri" locationName:"FileSystemId" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -998,6 +1339,8 @@ type DeleteMountTargetInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// ID of the mount target to delete (String).
|
// ID of the mount target to delete (String).
|
||||||
|
//
|
||||||
|
// MountTargetId is a required field
|
||||||
MountTargetId *string `location:"uri" locationName:"MountTargetId" type:"string" required:"true"`
|
MountTargetId *string `location:"uri" locationName:"MountTargetId" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1042,9 +1385,13 @@ type DeleteTagsInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// ID of the file system whose tags you want to delete (String).
|
// 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"`
|
FileSystemId *string `location:"uri" locationName:"FileSystemId" type:"string" required:"true"`
|
||||||
|
|
||||||
// List of tag keys to delete.
|
// List of tag keys to delete.
|
||||||
|
//
|
||||||
|
// TagKeys is a required field
|
||||||
TagKeys []*string `type:"list" required:"true"`
|
TagKeys []*string `type:"list" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1166,6 +1513,8 @@ type DescribeMountTargetSecurityGroupsInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// ID of the mount target whose security groups you want to retrieve.
|
// 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"`
|
MountTargetId *string `location:"uri" locationName:"MountTargetId" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1196,6 +1545,8 @@ type DescribeMountTargetSecurityGroupsOutput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// Array of security groups.
|
// Array of security groups.
|
||||||
|
//
|
||||||
|
// SecurityGroups is a required field
|
||||||
SecurityGroups []*string `type:"list" required:"true"`
|
SecurityGroups []*string `type:"list" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1284,6 +1635,8 @@ type DescribeTagsInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// ID of the file system whose tag set you want to retrieve.
|
// 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"`
|
FileSystemId *string `location:"uri" locationName:"FileSystemId" type:"string" required:"true"`
|
||||||
|
|
||||||
// (Optional) Opaque pagination token returned from a previous DescribeTags
|
// (Optional) Opaque pagination token returned from a previous DescribeTags
|
||||||
|
@ -1335,6 +1688,8 @@ type DescribeTagsOutput struct {
|
||||||
NextMarker *string `type:"string"`
|
NextMarker *string `type:"string"`
|
||||||
|
|
||||||
// Returns tags associated with the file system as an array of Tag objects.
|
// Returns tags associated with the file system as an array of Tag objects.
|
||||||
|
//
|
||||||
|
// Tags is a required field
|
||||||
Tags []*Tag `type:"list" required:"true"`
|
Tags []*Tag `type:"list" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1353,15 +1708,23 @@ type FileSystemDescription struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z).
|
// 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"`
|
CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
|
||||||
|
|
||||||
// Opaque string specified in the request.
|
// Opaque string specified in the request.
|
||||||
|
//
|
||||||
|
// CreationToken is a required field
|
||||||
CreationToken *string `min:"1" type:"string" required:"true"`
|
CreationToken *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// ID of the file system, assigned by Amazon EFS.
|
// ID of the file system, assigned by Amazon EFS.
|
||||||
|
//
|
||||||
|
// FileSystemId is a required field
|
||||||
FileSystemId *string `type:"string" required:"true"`
|
FileSystemId *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// Lifecycle phase of the file system.
|
// Lifecycle phase of the file system.
|
||||||
|
//
|
||||||
|
// LifeCycleState is a required field
|
||||||
LifeCycleState *string `type:"string" required:"true" enum:"LifeCycleState"`
|
LifeCycleState *string `type:"string" required:"true" enum:"LifeCycleState"`
|
||||||
|
|
||||||
// You can add tags to a file system, including a Name tag. For more information,
|
// 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,
|
// Current number of mount targets that the file system has. For more information,
|
||||||
// see CreateMountTarget.
|
// see CreateMountTarget.
|
||||||
|
//
|
||||||
|
// NumberOfMountTargets is a required field
|
||||||
NumberOfMountTargets *int64 `type:"integer" required:"true"`
|
NumberOfMountTargets *int64 `type:"integer" required:"true"`
|
||||||
|
|
||||||
// AWS account that created the file system. If the file system was created
|
// 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.
|
// 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"`
|
OwnerId *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The PerformanceMode of the file system.
|
// The PerformanceMode of the file system.
|
||||||
|
//
|
||||||
|
// PerformanceMode is a required field
|
||||||
PerformanceMode *string `type:"string" required:"true" enum:"PerformanceMode"`
|
PerformanceMode *string `type:"string" required:"true" enum:"PerformanceMode"`
|
||||||
|
|
||||||
// Latest known metered size (in bytes) of data stored in the file system, in
|
// 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
|
// 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
|
// a couple of hours. Otherwise, the value is not the exact size the file system
|
||||||
// was at any instant in time.
|
// was at any instant in time.
|
||||||
|
//
|
||||||
|
// SizeInBytes is a required field
|
||||||
SizeInBytes *FileSystemSize `type:"structure" required:"true"`
|
SizeInBytes *FileSystemSize `type:"structure" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1418,6 +1789,8 @@ type FileSystemSize struct {
|
||||||
Timestamp *time.Time `type:"timestamp" timestampFormat:"unix"`
|
Timestamp *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||||
|
|
||||||
// Latest known metered size (in bytes) of data stored in the file system.
|
// Latest known metered size (in bytes) of data stored in the file system.
|
||||||
|
//
|
||||||
|
// Value is a required field
|
||||||
Value *int64 `type:"long" required:"true"`
|
Value *int64 `type:"long" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1435,6 +1808,8 @@ type ModifyMountTargetSecurityGroupsInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// ID of the mount target whose security groups you want to modify.
|
// 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"`
|
MountTargetId *string `location:"uri" locationName:"MountTargetId" type:"string" required:"true"`
|
||||||
|
|
||||||
// Array of up to five VPC security group IDs.
|
// Array of up to five VPC security group IDs.
|
||||||
|
@ -1483,15 +1858,21 @@ type MountTargetDescription struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// ID of the file system for which the mount target is intended.
|
// ID of the file system for which the mount target is intended.
|
||||||
|
//
|
||||||
|
// FileSystemId is a required field
|
||||||
FileSystemId *string `type:"string" required:"true"`
|
FileSystemId *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// Address at which the file system may be mounted via the mount target.
|
// Address at which the file system may be mounted via the mount target.
|
||||||
IpAddress *string `type:"string"`
|
IpAddress *string `type:"string"`
|
||||||
|
|
||||||
// Lifecycle state of the mount target.
|
// Lifecycle state of the mount target.
|
||||||
|
//
|
||||||
|
// LifeCycleState is a required field
|
||||||
LifeCycleState *string `type:"string" required:"true" enum:"LifeCycleState"`
|
LifeCycleState *string `type:"string" required:"true" enum:"LifeCycleState"`
|
||||||
|
|
||||||
// System-assigned mount target ID.
|
// System-assigned mount target ID.
|
||||||
|
//
|
||||||
|
// MountTargetId is a required field
|
||||||
MountTargetId *string `type:"string" required:"true"`
|
MountTargetId *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// ID of the network interface that Amazon EFS created when it created the mount
|
// 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"`
|
OwnerId *string `type:"string"`
|
||||||
|
|
||||||
// ID of the mount target's subnet.
|
// ID of the mount target's subnet.
|
||||||
|
//
|
||||||
|
// SubnetId is a required field
|
||||||
SubnetId *string `type:"string" required:"true"`
|
SubnetId *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1521,9 +1904,13 @@ type Tag struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// Tag key (String). The key can't start with aws:.
|
// Tag key (String). The key can't start with aws:.
|
||||||
|
//
|
||||||
|
// Key is a required field
|
||||||
Key *string `min:"1" type:"string" required:"true"`
|
Key *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// Value of the tag key.
|
// Value of the tag key.
|
||||||
|
//
|
||||||
|
// Value is a required field
|
||||||
Value *string `type:"string" required:"true"`
|
Value *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1557,19 +1944,23 @@ func (s *Tag) Validate() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum LifeCycleState
|
// LifeCycleStateCreating is a LifeCycleState enum value
|
||||||
LifeCycleStateCreating = "creating"
|
LifeCycleStateCreating = "creating"
|
||||||
// @enum LifeCycleState
|
|
||||||
|
// LifeCycleStateAvailable is a LifeCycleState enum value
|
||||||
LifeCycleStateAvailable = "available"
|
LifeCycleStateAvailable = "available"
|
||||||
// @enum LifeCycleState
|
|
||||||
|
// LifeCycleStateDeleting is a LifeCycleState enum value
|
||||||
LifeCycleStateDeleting = "deleting"
|
LifeCycleStateDeleting = "deleting"
|
||||||
// @enum LifeCycleState
|
|
||||||
|
// LifeCycleStateDeleted is a LifeCycleState enum value
|
||||||
LifeCycleStateDeleted = "deleted"
|
LifeCycleStateDeleted = "deleted"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum PerformanceMode
|
// PerformanceModeGeneralPurpose is a PerformanceMode enum value
|
||||||
PerformanceModeGeneralPurpose = "generalPurpose"
|
PerformanceModeGeneralPurpose = "generalPurpose"
|
||||||
// @enum PerformanceMode
|
|
||||||
|
// PerformanceModeMaxIo is a PerformanceMode enum value
|
||||||
PerformanceModeMaxIo = "maxIO"
|
PerformanceModeMaxIo = "maxIO"
|
||||||
)
|
)
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -14,9 +14,9 @@ import (
|
||||||
// Amazon ElastiCache is a web service that makes it easier to set up, operate,
|
// Amazon ElastiCache is a web service that makes it easier to set up, operate,
|
||||||
// and scale a distributed cache in the cloud.
|
// and scale a distributed cache in the cloud.
|
||||||
//
|
//
|
||||||
// With ElastiCache, customers gain all of the benefits of a high-performance,
|
// With ElastiCache, customers get all of the benefits of a high-performance,
|
||||||
// in-memory cache with far less of the administrative burden of launching and
|
// in-memory cache with less of the administrative burden involved in launching
|
||||||
// managing a distributed cache. The service makes setup, scaling, and cluster
|
// and managing a distributed cache. The service makes setup, scaling, and cluster
|
||||||
// failure handling much simpler than in a self-managed cache deployment.
|
// failure handling much simpler than in a self-managed cache deployment.
|
||||||
//
|
//
|
||||||
// In addition, through integration with Amazon CloudWatch, customers get enhanced
|
// In addition, through integration with Amazon CloudWatch, customers get enhanced
|
||||||
|
|
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *ElastiCache) WaitUntilCacheClusterAvailable(input *DescribeCacheClustersInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeCacheClusters",
|
Operation: "DescribeCacheClusters",
|
||||||
|
@ -53,6 +57,10 @@ func (c *ElastiCache) WaitUntilCacheClusterAvailable(input *DescribeCacheCluster
|
||||||
return w.Wait()
|
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 {
|
func (c *ElastiCache) WaitUntilCacheClusterDeleted(input *DescribeCacheClustersInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeCacheClusters",
|
Operation: "DescribeCacheClusters",
|
||||||
|
@ -118,6 +126,10 @@ func (c *ElastiCache) WaitUntilCacheClusterDeleted(input *DescribeCacheClustersI
|
||||||
return w.Wait()
|
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 {
|
func (c *ElastiCache) WaitUntilReplicationGroupAvailable(input *DescribeReplicationGroupsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeReplicationGroups",
|
Operation: "DescribeReplicationGroups",
|
||||||
|
@ -147,6 +159,10 @@ func (c *ElastiCache) WaitUntilReplicationGroupAvailable(input *DescribeReplicat
|
||||||
return w.Wait()
|
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 {
|
func (c *ElastiCache) WaitUntilReplicationGroupDeleted(input *DescribeReplicationGroupsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeReplicationGroups",
|
Operation: "DescribeReplicationGroups",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -21,7 +21,7 @@ import (
|
||||||
// (http://elasticbeanstalk.s3.amazonaws.com/doc/2010-12-01/AWSElasticBeanstalk.wsdl).
|
// (http://elasticbeanstalk.s3.amazonaws.com/doc/2010-12-01/AWSElasticBeanstalk.wsdl).
|
||||||
// To install the Software Development Kits (SDKs), Integrated Development Environment
|
// To install the Software Development Kits (SDKs), Integrated Development Environment
|
||||||
// (IDE) Toolkits, and command line tools that enable you to access the API,
|
// (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
|
// Endpoints
|
||||||
//
|
//
|
||||||
|
|
|
@ -20,6 +20,8 @@ const opAddTags = "AddTags"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See AddTags for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// AddTags API operation for Amazon Elasticsearch Service.
|
||||||
|
//
|
||||||
// Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive
|
// 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
|
// 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"
|
// Amazon Elasticsearch Service Domains for more information. (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-managedomains.html#es-managedomains-awsresorcetagging"
|
||||||
// target="_blank)
|
// 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) {
|
func (c *ElasticsearchService) AddTags(input *AddTagsInput) (*AddTagsOutput, error) {
|
||||||
req, out := c.AddTagsRequest(input)
|
req, out := c.AddTagsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -73,6 +102,8 @@ const opCreateElasticsearchDomain = "CreateElasticsearchDomain"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See CreateElasticsearchDomain for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -107,9 +138,48 @@ func (c *ElasticsearchService) CreateElasticsearchDomainRequest(input *CreateEla
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CreateElasticsearchDomain API operation for Amazon Elasticsearch Service.
|
||||||
|
//
|
||||||
// Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch
|
// 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"
|
// Domains (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomains"
|
||||||
// target="_blank) in the Amazon Elasticsearch Service Developer Guide.
|
// 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) {
|
func (c *ElasticsearchService) CreateElasticsearchDomain(input *CreateElasticsearchDomainInput) (*CreateElasticsearchDomainOutput, error) {
|
||||||
req, out := c.CreateElasticsearchDomainRequest(input)
|
req, out := c.CreateElasticsearchDomainRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -123,6 +193,8 @@ const opDeleteElasticsearchDomain = "DeleteElasticsearchDomain"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DeleteElasticsearchDomain for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -157,8 +229,35 @@ func (c *ElasticsearchService) DeleteElasticsearchDomainRequest(input *DeleteEla
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeleteElasticsearchDomain API operation for Amazon Elasticsearch Service.
|
||||||
|
//
|
||||||
// Permanently deletes the specified Elasticsearch domain and all of its data.
|
// Permanently deletes the specified Elasticsearch domain and all of its data.
|
||||||
// Once a domain is deleted, it cannot be recovered.
|
// 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) {
|
func (c *ElasticsearchService) DeleteElasticsearchDomain(input *DeleteElasticsearchDomainInput) (*DeleteElasticsearchDomainOutput, error) {
|
||||||
req, out := c.DeleteElasticsearchDomainRequest(input)
|
req, out := c.DeleteElasticsearchDomainRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -172,6 +271,8 @@ const opDescribeElasticsearchDomain = "DescribeElasticsearchDomain"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DescribeElasticsearchDomain for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -206,8 +307,35 @@ func (c *ElasticsearchService) DescribeElasticsearchDomainRequest(input *Describ
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DescribeElasticsearchDomain API operation for Amazon Elasticsearch Service.
|
||||||
|
//
|
||||||
// Returns domain configuration information about the specified Elasticsearch
|
// Returns domain configuration information about the specified Elasticsearch
|
||||||
// domain, including the domain ID, domain endpoint, and domain ARN.
|
// 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) {
|
func (c *ElasticsearchService) DescribeElasticsearchDomain(input *DescribeElasticsearchDomainInput) (*DescribeElasticsearchDomainOutput, error) {
|
||||||
req, out := c.DescribeElasticsearchDomainRequest(input)
|
req, out := c.DescribeElasticsearchDomainRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -221,6 +349,8 @@ const opDescribeElasticsearchDomainConfig = "DescribeElasticsearchDomainConfig"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DescribeElasticsearchDomainConfig for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -255,9 +385,36 @@ func (c *ElasticsearchService) DescribeElasticsearchDomainConfigRequest(input *D
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DescribeElasticsearchDomainConfig API operation for Amazon Elasticsearch Service.
|
||||||
|
//
|
||||||
// Provides cluster configuration information about the specified Elasticsearch
|
// Provides cluster configuration information about the specified Elasticsearch
|
||||||
// domain, such as the state, creation date, update version, and update date
|
// domain, such as the state, creation date, update version, and update date
|
||||||
// for cluster options.
|
// 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) {
|
func (c *ElasticsearchService) DescribeElasticsearchDomainConfig(input *DescribeElasticsearchDomainConfigInput) (*DescribeElasticsearchDomainConfigOutput, error) {
|
||||||
req, out := c.DescribeElasticsearchDomainConfigRequest(input)
|
req, out := c.DescribeElasticsearchDomainConfigRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -271,6 +428,8 @@ const opDescribeElasticsearchDomains = "DescribeElasticsearchDomains"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DescribeElasticsearchDomains for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -305,8 +464,31 @@ func (c *ElasticsearchService) DescribeElasticsearchDomainsRequest(input *Descri
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DescribeElasticsearchDomains API operation for Amazon Elasticsearch Service.
|
||||||
|
//
|
||||||
// Returns domain configuration information about the specified Elasticsearch
|
// Returns domain configuration information about the specified Elasticsearch
|
||||||
// domains, including the domain ID, domain endpoint, and domain ARN.
|
// 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) {
|
func (c *ElasticsearchService) DescribeElasticsearchDomains(input *DescribeElasticsearchDomainsInput) (*DescribeElasticsearchDomainsOutput, error) {
|
||||||
req, out := c.DescribeElasticsearchDomainsRequest(input)
|
req, out := c.DescribeElasticsearchDomainsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -320,6 +502,8 @@ const opListDomainNames = "ListDomainNames"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ListDomainNames for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -354,8 +538,26 @@ func (c *ElasticsearchService) ListDomainNamesRequest(input *ListDomainNamesInpu
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ListDomainNames API operation for Amazon Elasticsearch Service.
|
||||||
|
//
|
||||||
// Returns the name of all Elasticsearch domains owned by the current user's
|
// Returns the name of all Elasticsearch domains owned by the current user's
|
||||||
// account.
|
// 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) {
|
func (c *ElasticsearchService) ListDomainNames(input *ListDomainNamesInput) (*ListDomainNamesOutput, error) {
|
||||||
req, out := c.ListDomainNamesRequest(input)
|
req, out := c.ListDomainNamesRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -369,6 +571,8 @@ const opListTags = "ListTags"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ListTags for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ListTags API operation for Amazon Elasticsearch Service.
|
||||||
|
//
|
||||||
// Returns all tags for the given Elasticsearch domain.
|
// 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) {
|
func (c *ElasticsearchService) ListTags(input *ListTagsInput) (*ListTagsOutput, error) {
|
||||||
req, out := c.ListTagsRequest(input)
|
req, out := c.ListTagsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -417,6 +648,8 @@ const opRemoveTags = "RemoveTags"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See RemoveTags for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// RemoveTags API operation for Amazon Elasticsearch Service.
|
||||||
|
//
|
||||||
// Removes the specified set of tags from the specified Elasticsearch domain.
|
// 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) {
|
func (c *ElasticsearchService) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) {
|
||||||
req, out := c.RemoveTagsRequest(input)
|
req, out := c.RemoveTagsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -467,6 +723,8 @@ const opUpdateElasticsearchDomainConfig = "UpdateElasticsearchDomainConfig"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See UpdateElasticsearchDomainConfig for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -501,8 +759,43 @@ func (c *ElasticsearchService) UpdateElasticsearchDomainConfigRequest(input *Upd
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// UpdateElasticsearchDomainConfig API operation for Amazon Elasticsearch Service.
|
||||||
|
//
|
||||||
// Modifies the cluster configuration of the specified Elasticsearch domain,
|
// Modifies the cluster configuration of the specified Elasticsearch domain,
|
||||||
// setting as setting the instance type and the number of instances.
|
// 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) {
|
func (c *ElasticsearchService) UpdateElasticsearchDomainConfig(input *UpdateElasticsearchDomainConfigInput) (*UpdateElasticsearchDomainConfigOutput, error) {
|
||||||
req, out := c.UpdateElasticsearchDomainConfigRequest(input)
|
req, out := c.UpdateElasticsearchDomainConfigRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -518,10 +811,14 @@ type AccessPoliciesStatus struct {
|
||||||
// may be resource-based, IP-based, or IAM-based. See Configuring Access Policies
|
// 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"
|
// (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-access-policies"
|
||||||
// target="_blank)for more information.
|
// target="_blank)for more information.
|
||||||
|
//
|
||||||
|
// Options is a required field
|
||||||
Options *string `type:"string" required:"true"`
|
Options *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The status of the access policy for the Elasticsearch domain. See OptionStatus
|
// The status of the access policy for the Elasticsearch domain. See OptionStatus
|
||||||
// for the status information that's included.
|
// for the status information that's included.
|
||||||
|
//
|
||||||
|
// Status is a required field
|
||||||
Status *OptionStatus `type:"structure" required:"true"`
|
Status *OptionStatus `type:"structure" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -541,9 +838,13 @@ type AddTagsInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// Specify the ARN for which you want to add the tags.
|
// Specify the ARN for which you want to add the tags.
|
||||||
|
//
|
||||||
|
// ARN is a required field
|
||||||
ARN *string `type:"string" required:"true"`
|
ARN *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// List of Tag that need to be added for the Elasticsearch domain.
|
// List of Tag that need to be added for the Elasticsearch domain.
|
||||||
|
//
|
||||||
|
// TagList is a required field
|
||||||
TagList []*Tag `type:"list" required:"true"`
|
TagList []*Tag `type:"list" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -611,10 +912,14 @@ type AdvancedOptionsStatus struct {
|
||||||
|
|
||||||
// Specifies the status of advanced options for the specified Elasticsearch
|
// Specifies the status of advanced options for the specified Elasticsearch
|
||||||
// domain.
|
// domain.
|
||||||
|
//
|
||||||
|
// Options is a required field
|
||||||
Options map[string]*string `type:"map" required:"true"`
|
Options map[string]*string `type:"map" required:"true"`
|
||||||
|
|
||||||
// Specifies the status of OptionStatus for advanced options for the specified
|
// Specifies the status of OptionStatus for advanced options for the specified
|
||||||
// Elasticsearch domain.
|
// Elasticsearch domain.
|
||||||
|
//
|
||||||
|
// Status is a required field
|
||||||
Status *OptionStatus `type:"structure" required:"true"`
|
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
|
// 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:
|
// names must start with a letter or number and can contain the following characters:
|
||||||
// a-z (lowercase), 0-9, and - (hyphen).
|
// a-z (lowercase), 0-9, and - (hyphen).
|
||||||
|
//
|
||||||
|
// DomainName is a required field
|
||||||
DomainName *string `min:"3" type:"string" required:"true"`
|
DomainName *string `min:"3" type:"string" required:"true"`
|
||||||
|
|
||||||
// Options to enable, disable and specify the type and size of EBS storage volumes.
|
// Options to enable, disable and specify the type and size of EBS storage volumes.
|
||||||
|
@ -715,6 +1022,8 @@ type DeleteElasticsearchDomainInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the Elasticsearch domain that you want to permanently delete.
|
// 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"`
|
DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -770,6 +1079,8 @@ type DescribeElasticsearchDomainConfigInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The Elasticsearch domain that you want to get information about.
|
// 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"`
|
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
|
// The configuration information of the domain requested in the DescribeElasticsearchDomainConfig
|
||||||
// request.
|
// request.
|
||||||
|
//
|
||||||
|
// DomainConfig is a required field
|
||||||
DomainConfig *ElasticsearchDomainConfig `type:"structure" required:"true"`
|
DomainConfig *ElasticsearchDomainConfig `type:"structure" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -824,6 +1137,8 @@ type DescribeElasticsearchDomainInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the Elasticsearch domain for which you want information.
|
// 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"`
|
DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -859,6 +1174,8 @@ type DescribeElasticsearchDomainOutput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The current status of the Elasticsearch domain.
|
// The current status of the Elasticsearch domain.
|
||||||
|
//
|
||||||
|
// DomainStatus is a required field
|
||||||
DomainStatus *ElasticsearchDomainStatus `type:"structure" required:"true"`
|
DomainStatus *ElasticsearchDomainStatus `type:"structure" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -878,6 +1195,8 @@ type DescribeElasticsearchDomainsInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The Elasticsearch domains for which you want information.
|
// The Elasticsearch domains for which you want information.
|
||||||
|
//
|
||||||
|
// DomainNames is a required field
|
||||||
DomainNames []*string `type:"list" required:"true"`
|
DomainNames []*string `type:"list" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -910,6 +1229,8 @@ type DescribeElasticsearchDomainsOutput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The status of the domains requested in the DescribeElasticsearchDomains request.
|
// The status of the domains requested in the DescribeElasticsearchDomains request.
|
||||||
|
//
|
||||||
|
// DomainStatusList is a required field
|
||||||
DomainStatusList []*ElasticsearchDomainStatus `type:"list" required:"true"`
|
DomainStatusList []*ElasticsearchDomainStatus `type:"list" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -974,9 +1295,13 @@ type EBSOptionsStatus struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// Specifies the EBS options for the specified Elasticsearch domain.
|
// Specifies the EBS options for the specified Elasticsearch domain.
|
||||||
|
//
|
||||||
|
// Options is a required field
|
||||||
Options *EBSOptions `type:"structure" required:"true"`
|
Options *EBSOptions `type:"structure" required:"true"`
|
||||||
|
|
||||||
// Specifies the status of the EBS options for the specified Elasticsearch domain.
|
// Specifies the status of the EBS options for the specified Elasticsearch domain.
|
||||||
|
//
|
||||||
|
// Status is a required field
|
||||||
Status *OptionStatus `type:"structure" required:"true"`
|
Status *OptionStatus `type:"structure" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1033,10 +1358,14 @@ type ElasticsearchClusterConfigStatus struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// Specifies the cluster configuration for the specified Elasticsearch domain.
|
// Specifies the cluster configuration for the specified Elasticsearch domain.
|
||||||
|
//
|
||||||
|
// Options is a required field
|
||||||
Options *ElasticsearchClusterConfig `type:"structure" required:"true"`
|
Options *ElasticsearchClusterConfig `type:"structure" required:"true"`
|
||||||
|
|
||||||
// Specifies the status of the configuration for the specified Elasticsearch
|
// Specifies the status of the configuration for the specified Elasticsearch
|
||||||
// domain.
|
// domain.
|
||||||
|
//
|
||||||
|
// Status is a required field
|
||||||
Status *OptionStatus `type:"structure" required:"true"`
|
Status *OptionStatus `type:"structure" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1092,6 +1421,8 @@ type ElasticsearchDomainStatus struct {
|
||||||
// The Amazon resource name (ARN) of an Elasticsearch domain. See Identifiers
|
// 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"
|
// 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.
|
// target="_blank) in Using AWS Identity and Access Management for more information.
|
||||||
|
//
|
||||||
|
// ARN is a required field
|
||||||
ARN *string `type:"string" required:"true"`
|
ARN *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// IAM access policy as a JSON-formatted string.
|
// IAM access policy as a JSON-formatted string.
|
||||||
|
@ -1111,12 +1442,16 @@ type ElasticsearchDomainStatus struct {
|
||||||
Deleted *bool `type:"boolean"`
|
Deleted *bool `type:"boolean"`
|
||||||
|
|
||||||
// The unique identifier for the specified Elasticsearch domain.
|
// The unique identifier for the specified Elasticsearch domain.
|
||||||
|
//
|
||||||
|
// DomainId is a required field
|
||||||
DomainId *string `min:"1" type:"string" required:"true"`
|
DomainId *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The name of an Elasticsearch domain. Domain names are unique across the domains
|
// 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
|
// 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,
|
// or number and can contain the following characters: a-z (lowercase), 0-9,
|
||||||
// and - (hyphen).
|
// and - (hyphen).
|
||||||
|
//
|
||||||
|
// DomainName is a required field
|
||||||
DomainName *string `min:"3" type:"string" required:"true"`
|
DomainName *string `min:"3" type:"string" required:"true"`
|
||||||
|
|
||||||
// The EBSOptions for the specified domain. See Configuring EBS-based Storage
|
// The EBSOptions for the specified domain. See Configuring EBS-based Storage
|
||||||
|
@ -1125,6 +1460,8 @@ type ElasticsearchDomainStatus struct {
|
||||||
EBSOptions *EBSOptions `type:"structure"`
|
EBSOptions *EBSOptions `type:"structure"`
|
||||||
|
|
||||||
// The type and number of instances in the domain cluster.
|
// The type and number of instances in the domain cluster.
|
||||||
|
//
|
||||||
|
// ElasticsearchClusterConfig is a required field
|
||||||
ElasticsearchClusterConfig *ElasticsearchClusterConfig `type:"structure" required:"true"`
|
ElasticsearchClusterConfig *ElasticsearchClusterConfig `type:"structure" required:"true"`
|
||||||
|
|
||||||
ElasticsearchVersion *string `type:"string"`
|
ElasticsearchVersion *string `type:"string"`
|
||||||
|
@ -1158,10 +1495,14 @@ type ElasticsearchVersionStatus struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// Specifies the Elasticsearch version for the specified Elasticsearch domain.
|
// Specifies the Elasticsearch version for the specified Elasticsearch domain.
|
||||||
|
//
|
||||||
|
// Options is a required field
|
||||||
Options *string `type:"string" required:"true"`
|
Options *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// Specifies the status of the Elasticsearch version options for the specified
|
// Specifies the status of the Elasticsearch version options for the specified
|
||||||
// Elasticsearch domain.
|
// Elasticsearch domain.
|
||||||
|
//
|
||||||
|
// Status is a required field
|
||||||
Status *OptionStatus `type:"structure" required:"true"`
|
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
|
// Specify the ARN for the Elasticsearch domain to which the tags are attached
|
||||||
// that you want to view.
|
// that you want to view.
|
||||||
|
//
|
||||||
|
// ARN is a required field
|
||||||
ARN *string `location:"querystring" locationName:"arn" type:"string" required:"true"`
|
ARN *string `location:"querystring" locationName:"arn" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1266,15 +1609,21 @@ type OptionStatus struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// Timestamp which tells the creation date for the entity.
|
// Timestamp which tells the creation date for the entity.
|
||||||
|
//
|
||||||
|
// CreationDate is a required field
|
||||||
CreationDate *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
|
CreationDate *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
|
||||||
|
|
||||||
// Indicates whether the Elasticsearch domain is being deleted.
|
// Indicates whether the Elasticsearch domain is being deleted.
|
||||||
PendingDeletion *bool `type:"boolean"`
|
PendingDeletion *bool `type:"boolean"`
|
||||||
|
|
||||||
// Provides the OptionState for the Elasticsearch domain.
|
// Provides the OptionState for the Elasticsearch domain.
|
||||||
|
//
|
||||||
|
// State is a required field
|
||||||
State *string `type:"string" required:"true" enum:"OptionState"`
|
State *string `type:"string" required:"true" enum:"OptionState"`
|
||||||
|
|
||||||
// Timestamp which tells the last updated time for the entity.
|
// Timestamp which tells the last updated time for the entity.
|
||||||
|
//
|
||||||
|
// UpdateDate is a required field
|
||||||
UpdateDate *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
|
UpdateDate *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
|
||||||
|
|
||||||
// Specifies the latest version for the entity.
|
// 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
|
// Specifies the ARN for the Elasticsearch domain from which you want to delete
|
||||||
// the specified tags.
|
// the specified tags.
|
||||||
|
//
|
||||||
|
// ARN is a required field
|
||||||
ARN *string `type:"string" required:"true"`
|
ARN *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// Specifies the TagKey list which you want to remove from the Elasticsearch
|
// Specifies the TagKey list which you want to remove from the Elasticsearch
|
||||||
// domain.
|
// domain.
|
||||||
|
//
|
||||||
|
// TagKeys is a required field
|
||||||
TagKeys []*string `type:"list" required:"true"`
|
TagKeys []*string `type:"list" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1371,9 +1724,13 @@ type SnapshotOptionsStatus struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// Specifies the daily snapshot options specified for the Elasticsearch domain.
|
// Specifies the daily snapshot options specified for the Elasticsearch domain.
|
||||||
|
//
|
||||||
|
// Options is a required field
|
||||||
Options *SnapshotOptions `type:"structure" required:"true"`
|
Options *SnapshotOptions `type:"structure" required:"true"`
|
||||||
|
|
||||||
// Specifies the status of a daily automated snapshot.
|
// Specifies the status of a daily automated snapshot.
|
||||||
|
//
|
||||||
|
// Status is a required field
|
||||||
Status *OptionStatus `type:"structure" required:"true"`
|
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
|
// Specifies the TagKey, the name of the tag. Tag keys must be unique for the
|
||||||
// Elasticsearch domain to which they are attached.
|
// Elasticsearch domain to which they are attached.
|
||||||
|
//
|
||||||
|
// Key is a required field
|
||||||
Key *string `min:"1" type:"string" required:"true"`
|
Key *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// Specifies the TagValue, the value assigned to the corresponding tag key.
|
// 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,
|
// 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
|
// you can have a key value pair in a tag set of project : Trinity and cost-center
|
||||||
// : Trinity
|
// : Trinity
|
||||||
|
//
|
||||||
|
// Value is a required field
|
||||||
Value *string `type:"string" required:"true"`
|
Value *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1446,6 +1807,8 @@ type UpdateElasticsearchDomainConfigInput struct {
|
||||||
AdvancedOptions map[string]*string `type:"map"`
|
AdvancedOptions map[string]*string `type:"map"`
|
||||||
|
|
||||||
// The name of the Elasticsearch domain that you are updating.
|
// 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"`
|
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.
|
// Specify the type and size of the EBS volume that you want to use.
|
||||||
|
@ -1491,6 +1854,8 @@ type UpdateElasticsearchDomainConfigOutput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The status of the updated Elasticsearch domain.
|
// The status of the updated Elasticsearch domain.
|
||||||
|
//
|
||||||
|
// DomainConfig is a required field
|
||||||
DomainConfig *ElasticsearchDomainConfig `type:"structure" required:"true"`
|
DomainConfig *ElasticsearchDomainConfig `type:"structure" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1505,43 +1870,61 @@ func (s UpdateElasticsearchDomainConfigOutput) GoString() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum ESPartitionInstanceType
|
// ESPartitionInstanceTypeM3MediumElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeM3MediumElasticsearch = "m3.medium.elasticsearch"
|
ESPartitionInstanceTypeM3MediumElasticsearch = "m3.medium.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeM3LargeElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeM3LargeElasticsearch = "m3.large.elasticsearch"
|
ESPartitionInstanceTypeM3LargeElasticsearch = "m3.large.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeM3XlargeElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeM3XlargeElasticsearch = "m3.xlarge.elasticsearch"
|
ESPartitionInstanceTypeM3XlargeElasticsearch = "m3.xlarge.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeM32xlargeElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeM32xlargeElasticsearch = "m3.2xlarge.elasticsearch"
|
ESPartitionInstanceTypeM32xlargeElasticsearch = "m3.2xlarge.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeM4LargeElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeM4LargeElasticsearch = "m4.large.elasticsearch"
|
ESPartitionInstanceTypeM4LargeElasticsearch = "m4.large.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeM4XlargeElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeM4XlargeElasticsearch = "m4.xlarge.elasticsearch"
|
ESPartitionInstanceTypeM4XlargeElasticsearch = "m4.xlarge.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeM42xlargeElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeM42xlargeElasticsearch = "m4.2xlarge.elasticsearch"
|
ESPartitionInstanceTypeM42xlargeElasticsearch = "m4.2xlarge.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeM44xlargeElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeM44xlargeElasticsearch = "m4.4xlarge.elasticsearch"
|
ESPartitionInstanceTypeM44xlargeElasticsearch = "m4.4xlarge.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeM410xlargeElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeM410xlargeElasticsearch = "m4.10xlarge.elasticsearch"
|
ESPartitionInstanceTypeM410xlargeElasticsearch = "m4.10xlarge.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeT2MicroElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeT2MicroElasticsearch = "t2.micro.elasticsearch"
|
ESPartitionInstanceTypeT2MicroElasticsearch = "t2.micro.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeT2SmallElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeT2SmallElasticsearch = "t2.small.elasticsearch"
|
ESPartitionInstanceTypeT2SmallElasticsearch = "t2.small.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeT2MediumElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeT2MediumElasticsearch = "t2.medium.elasticsearch"
|
ESPartitionInstanceTypeT2MediumElasticsearch = "t2.medium.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeR3LargeElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeR3LargeElasticsearch = "r3.large.elasticsearch"
|
ESPartitionInstanceTypeR3LargeElasticsearch = "r3.large.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeR3XlargeElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeR3XlargeElasticsearch = "r3.xlarge.elasticsearch"
|
ESPartitionInstanceTypeR3XlargeElasticsearch = "r3.xlarge.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeR32xlargeElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeR32xlargeElasticsearch = "r3.2xlarge.elasticsearch"
|
ESPartitionInstanceTypeR32xlargeElasticsearch = "r3.2xlarge.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeR34xlargeElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeR34xlargeElasticsearch = "r3.4xlarge.elasticsearch"
|
ESPartitionInstanceTypeR34xlargeElasticsearch = "r3.4xlarge.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeR38xlargeElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeR38xlargeElasticsearch = "r3.8xlarge.elasticsearch"
|
ESPartitionInstanceTypeR38xlargeElasticsearch = "r3.8xlarge.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeI2XlargeElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeI2XlargeElasticsearch = "i2.xlarge.elasticsearch"
|
ESPartitionInstanceTypeI2XlargeElasticsearch = "i2.xlarge.elasticsearch"
|
||||||
// @enum ESPartitionInstanceType
|
|
||||||
|
// ESPartitionInstanceTypeI22xlargeElasticsearch is a ESPartitionInstanceType enum value
|
||||||
ESPartitionInstanceTypeI22xlargeElasticsearch = "i2.2xlarge.elasticsearch"
|
ESPartitionInstanceTypeI22xlargeElasticsearch = "i2.2xlarge.elasticsearch"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1550,11 +1933,13 @@ const (
|
||||||
// Processing: The request change is still in-process. Active: The request
|
// Processing: The request change is still in-process. Active: The request
|
||||||
// change is processed and deployed to the Elasticsearch domain.
|
// change is processed and deployed to the Elasticsearch domain.
|
||||||
const (
|
const (
|
||||||
// @enum OptionState
|
// OptionStateRequiresIndexDocuments is a OptionState enum value
|
||||||
OptionStateRequiresIndexDocuments = "RequiresIndexDocuments"
|
OptionStateRequiresIndexDocuments = "RequiresIndexDocuments"
|
||||||
// @enum OptionState
|
|
||||||
|
// OptionStateProcessing is a OptionState enum value
|
||||||
OptionStateProcessing = "Processing"
|
OptionStateProcessing = "Processing"
|
||||||
// @enum OptionState
|
|
||||||
|
// OptionStateActive is a OptionState enum value
|
||||||
OptionStateActive = "Active"
|
OptionStateActive = "Active"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1562,10 +1947,12 @@ const (
|
||||||
// Storage (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs"
|
// Storage (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs"
|
||||||
// target="_blank)for more information.
|
// target="_blank)for more information.
|
||||||
const (
|
const (
|
||||||
// @enum VolumeType
|
// VolumeTypeStandard is a VolumeType enum value
|
||||||
VolumeTypeStandard = "standard"
|
VolumeTypeStandard = "standard"
|
||||||
// @enum VolumeType
|
|
||||||
|
// VolumeTypeGp2 is a VolumeType enum value
|
||||||
VolumeTypeGp2 = "gp2"
|
VolumeTypeGp2 = "gp2"
|
||||||
// @enum VolumeType
|
|
||||||
|
// VolumeTypeIo1 is a VolumeType enum value
|
||||||
VolumeTypeIo1 = "io1"
|
VolumeTypeIo1 = "io1"
|
||||||
)
|
)
|
||||||
|
|
|
@ -17,6 +17,8 @@ const opCancelJob = "CancelJob"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See CancelJob for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CancelJob API operation for Amazon Elastic Transcoder.
|
||||||
|
//
|
||||||
// The CancelJob operation cancels an unfinished job.
|
// The CancelJob operation cancels an unfinished job.
|
||||||
//
|
//
|
||||||
// You can only cancel a job that has a status of Submitted. To prevent a pipeline
|
// 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
|
// from starting to process a job while you're getting the job identifier, use
|
||||||
// UpdatePipelineStatus to temporarily pause the pipeline.
|
// 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) {
|
func (c *ElasticTranscoder) CancelJob(input *CancelJobInput) (*CancelJobOutput, error) {
|
||||||
req, out := c.CancelJobRequest(input)
|
req, out := c.CancelJobRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -69,6 +104,8 @@ const opCreateJob = "CreateJob"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See CreateJob for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CreateJob API operation for Amazon Elastic Transcoder.
|
||||||
|
//
|
||||||
// When you create a job, Elastic Transcoder returns JSON data that includes
|
// 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.
|
// 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
|
// 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
|
// currently must use the Elastic Transcoder API to list the jobs (as opposed
|
||||||
// to the AWS Console).
|
// 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) {
|
func (c *ElasticTranscoder) CreateJob(input *CreateJobInput) (*CreateJobResponse, error) {
|
||||||
req, out := c.CreateJobRequest(input)
|
req, out := c.CreateJobRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -123,6 +193,8 @@ const opCreatePipeline = "CreatePipeline"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See CreatePipeline for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CreatePipeline API operation for Amazon Elastic Transcoder.
|
||||||
|
//
|
||||||
// The CreatePipeline operation creates a pipeline with settings that you specify.
|
// 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) {
|
func (c *ElasticTranscoder) CreatePipeline(input *CreatePipelineInput) (*CreatePipelineOutput, error) {
|
||||||
req, out := c.CreatePipelineRequest(input)
|
req, out := c.CreatePipelineRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -171,6 +276,8 @@ const opCreatePreset = "CreatePreset"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See CreatePreset for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CreatePreset API operation for Amazon Elastic Transcoder.
|
||||||
|
//
|
||||||
// The CreatePreset operation creates a preset with settings that you specify.
|
// The CreatePreset operation creates a preset with settings that you specify.
|
||||||
//
|
//
|
||||||
// Elastic Transcoder checks the CreatePreset settings to ensure that they
|
// 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
|
// more information, see the International Telecommunication Union publication
|
||||||
// Recommendation ITU-T H.264: Advanced video coding for generic audiovisual
|
// Recommendation ITU-T H.264: Advanced video coding for generic audiovisual
|
||||||
// services.
|
// 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) {
|
func (c *ElasticTranscoder) CreatePreset(input *CreatePresetInput) (*CreatePresetOutput, error) {
|
||||||
req, out := c.CreatePresetRequest(input)
|
req, out := c.CreatePresetRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -233,6 +368,8 @@ const opDeletePipeline = "DeletePipeline"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DeletePipeline for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeletePipeline API operation for Amazon Elastic Transcoder.
|
||||||
|
//
|
||||||
// The DeletePipeline operation removes a pipeline.
|
// The DeletePipeline operation removes a pipeline.
|
||||||
//
|
//
|
||||||
// You can only delete a pipeline that has never been used or that is not
|
// 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
|
// currently in use (doesn't contain any active jobs). If the pipeline is currently
|
||||||
// in use, DeletePipeline returns an error.
|
// 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) {
|
func (c *ElasticTranscoder) DeletePipeline(input *DeletePipelineInput) (*DeletePipelineOutput, error) {
|
||||||
req, out := c.DeletePipelineRequest(input)
|
req, out := c.DeletePipelineRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -285,6 +455,8 @@ const opDeletePreset = "DeletePreset"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DeletePreset for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeletePreset API operation for Amazon Elastic Transcoder.
|
||||||
|
//
|
||||||
// The DeletePreset operation removes a preset that you've added in an AWS region.
|
// 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.
|
// 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) {
|
func (c *ElasticTranscoder) DeletePreset(input *DeletePresetInput) (*DeletePresetOutput, error) {
|
||||||
req, out := c.DeletePresetRequest(input)
|
req, out := c.DeletePresetRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -335,6 +536,8 @@ const opListJobsByPipeline = "ListJobsByPipeline"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ListJobsByPipeline for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -375,11 +578,40 @@ func (c *ElasticTranscoder) ListJobsByPipelineRequest(input *ListJobsByPipelineI
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ListJobsByPipeline API operation for Amazon Elastic Transcoder.
|
||||||
|
//
|
||||||
// The ListJobsByPipeline operation gets a list of the jobs currently in a pipeline.
|
// 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.
|
// 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
|
// The response body contains one element for each job that satisfies the search
|
||||||
// criteria.
|
// 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) {
|
func (c *ElasticTranscoder) ListJobsByPipeline(input *ListJobsByPipelineInput) (*ListJobsByPipelineOutput, error) {
|
||||||
req, out := c.ListJobsByPipelineRequest(input)
|
req, out := c.ListJobsByPipelineRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -418,6 +650,8 @@ const opListJobsByStatus = "ListJobsByStatus"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ListJobsByStatus for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -458,9 +692,38 @@ func (c *ElasticTranscoder) ListJobsByStatusRequest(input *ListJobsByStatusInput
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ListJobsByStatus API operation for Amazon Elastic Transcoder.
|
||||||
|
//
|
||||||
// The ListJobsByStatus operation gets a list of jobs that have a specified
|
// The ListJobsByStatus operation gets a list of jobs that have a specified
|
||||||
// status. The response body contains one element for each job that satisfies
|
// status. The response body contains one element for each job that satisfies
|
||||||
// the search criteria.
|
// 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) {
|
func (c *ElasticTranscoder) ListJobsByStatus(input *ListJobsByStatusInput) (*ListJobsByStatusOutput, error) {
|
||||||
req, out := c.ListJobsByStatusRequest(input)
|
req, out := c.ListJobsByStatusRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -499,6 +762,8 @@ const opListPipelines = "ListPipelines"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ListPipelines for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ListPipelines API operation for Amazon Elastic Transcoder.
|
||||||
|
//
|
||||||
// The ListPipelines operation gets a list of the pipelines associated with
|
// The ListPipelines operation gets a list of the pipelines associated with
|
||||||
// the current AWS account.
|
// 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) {
|
func (c *ElasticTranscoder) ListPipelines(input *ListPipelinesInput) (*ListPipelinesOutput, error) {
|
||||||
req, out := c.ListPipelinesRequest(input)
|
req, out := c.ListPipelinesRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -579,6 +868,8 @@ const opListPresets = "ListPresets"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ListPresets for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ListPresets API operation for Amazon Elastic Transcoder.
|
||||||
|
//
|
||||||
// The ListPresets operation gets a list of the default presets included with
|
// 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.
|
// 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) {
|
func (c *ElasticTranscoder) ListPresets(input *ListPresetsInput) (*ListPresetsOutput, error) {
|
||||||
req, out := c.ListPresetsRequest(input)
|
req, out := c.ListPresetsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -659,6 +974,8 @@ const opReadJob = "ReadJob"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ReadJob for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ReadJob API operation for Amazon Elastic Transcoder.
|
||||||
|
//
|
||||||
// The ReadJob operation returns detailed information about a job.
|
// 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) {
|
func (c *ElasticTranscoder) ReadJob(input *ReadJobInput) (*ReadJobOutput, error) {
|
||||||
req, out := c.ReadJobRequest(input)
|
req, out := c.ReadJobRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -707,6 +1053,8 @@ const opReadPipeline = "ReadPipeline"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ReadPipeline for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ReadPipeline API operation for Amazon Elastic Transcoder.
|
||||||
|
//
|
||||||
// The ReadPipeline operation gets detailed information about a pipeline.
|
// 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) {
|
func (c *ElasticTranscoder) ReadPipeline(input *ReadPipelineInput) (*ReadPipelineOutput, error) {
|
||||||
req, out := c.ReadPipelineRequest(input)
|
req, out := c.ReadPipelineRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -755,6 +1132,8 @@ const opReadPreset = "ReadPreset"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ReadPreset for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ReadPreset API operation for Amazon Elastic Transcoder.
|
||||||
|
//
|
||||||
// The ReadPreset operation gets detailed information about a preset.
|
// 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) {
|
func (c *ElasticTranscoder) ReadPreset(input *ReadPresetInput) (*ReadPresetOutput, error) {
|
||||||
req, out := c.ReadPresetRequest(input)
|
req, out := c.ReadPresetRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -803,6 +1211,8 @@ const opTestRole = "TestRole"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See TestRole for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TestRole API operation for Amazon Elastic Transcoder.
|
||||||
|
//
|
||||||
// The TestRole operation tests the IAM role used to create the pipeline.
|
// 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
|
// 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
|
// 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
|
// 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.
|
// 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) {
|
func (c *ElasticTranscoder) TestRole(input *TestRoleInput) (*TestRoleOutput, error) {
|
||||||
req, out := c.TestRoleRequest(input)
|
req, out := c.TestRoleRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -857,6 +1296,8 @@ const opUpdatePipeline = "UpdatePipeline"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See UpdatePipeline for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// UpdatePipeline API operation for Amazon Elastic Transcoder.
|
||||||
|
//
|
||||||
// Use the UpdatePipeline operation to update settings for a pipeline. When
|
// Use the UpdatePipeline operation to update settings for a pipeline. When
|
||||||
// you change pipeline settings, your changes take effect immediately. Jobs
|
// you change pipeline settings, your changes take effect immediately. Jobs
|
||||||
// that you have already submitted and that Elastic Transcoder has not started
|
// 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
|
// to process are affected in addition to jobs that you submit after you change
|
||||||
// settings.
|
// 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) {
|
func (c *ElasticTranscoder) UpdatePipeline(input *UpdatePipelineInput) (*UpdatePipelineOutput, error) {
|
||||||
req, out := c.UpdatePipelineRequest(input)
|
req, out := c.UpdatePipelineRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -909,6 +1383,8 @@ const opUpdatePipelineNotifications = "UpdatePipelineNotifications"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See UpdatePipelineNotifications for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -943,11 +1419,44 @@ func (c *ElasticTranscoder) UpdatePipelineNotificationsRequest(input *UpdatePipe
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// UpdatePipelineNotifications API operation for Amazon Elastic Transcoder.
|
||||||
|
//
|
||||||
// With the UpdatePipelineNotifications operation, you can update Amazon Simple
|
// With the UpdatePipelineNotifications operation, you can update Amazon Simple
|
||||||
// Notification Service (Amazon SNS) notifications for a pipeline.
|
// Notification Service (Amazon SNS) notifications for a pipeline.
|
||||||
//
|
//
|
||||||
// When you update notifications for a pipeline, Elastic Transcoder returns
|
// When you update notifications for a pipeline, Elastic Transcoder returns
|
||||||
// the values that you specified in the request.
|
// 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) {
|
func (c *ElasticTranscoder) UpdatePipelineNotifications(input *UpdatePipelineNotificationsInput) (*UpdatePipelineNotificationsOutput, error) {
|
||||||
req, out := c.UpdatePipelineNotificationsRequest(input)
|
req, out := c.UpdatePipelineNotificationsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -961,6 +1470,8 @@ const opUpdatePipelineStatus = "UpdatePipelineStatus"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See UpdatePipelineStatus for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -995,6 +1506,8 @@ func (c *ElasticTranscoder) UpdatePipelineStatusRequest(input *UpdatePipelineSta
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// UpdatePipelineStatus API operation for Amazon Elastic Transcoder.
|
||||||
|
//
|
||||||
// The UpdatePipelineStatus operation pauses or reactivates a pipeline, so that
|
// The UpdatePipelineStatus operation pauses or reactivates a pipeline, so that
|
||||||
// the pipeline stops or restarts the processing of jobs.
|
// 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
|
// 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
|
// more time to get the job IDs for the jobs that you want to cancel, and to
|
||||||
// send a CancelJob request.
|
// 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) {
|
func (c *ElasticTranscoder) UpdatePipelineStatus(input *UpdatePipelineStatusInput) (*UpdatePipelineStatusOutput, error) {
|
||||||
req, out := c.UpdatePipelineStatusRequest(input)
|
req, out := c.UpdatePipelineStatusRequest(input)
|
||||||
err := req.Send()
|
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
|
// To get a list of the jobs (including their jobId) that have a status of
|
||||||
// Submitted, use the ListJobsByStatus API action.
|
// Submitted, use the ListJobsByStatus API action.
|
||||||
|
//
|
||||||
|
// Id is a required field
|
||||||
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
|
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
|
// A section of the request body that provides information about the file that
|
||||||
// is being transcoded.
|
// is being transcoded.
|
||||||
|
//
|
||||||
|
// Input is a required field
|
||||||
Input *JobInput `type:"structure" required:"true"`
|
Input *JobInput `type:"structure" required:"true"`
|
||||||
|
|
||||||
// The CreateJobOutput structure.
|
// The CreateJobOutput structure.
|
||||||
|
@ -1576,6 +2124,8 @@ type CreateJobInput struct {
|
||||||
// The pipeline determines several settings, including the Amazon S3 bucket
|
// The pipeline determines several settings, including the Amazon S3 bucket
|
||||||
// from which Elastic Transcoder gets the files to transcode and the bucket
|
// from which Elastic Transcoder gets the files to transcode and the bucket
|
||||||
// into which Elastic Transcoder puts the transcoded files.
|
// into which Elastic Transcoder puts the transcoded files.
|
||||||
|
//
|
||||||
|
// PipelineId is a required field
|
||||||
PipelineId *string `type:"string" required:"true"`
|
PipelineId *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// If you specify a preset in PresetId for which the value of Container is fmp4
|
// 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
|
// The Amazon S3 bucket in which you saved the media files that you want to
|
||||||
// transcode.
|
// transcode.
|
||||||
|
//
|
||||||
|
// InputBucket is a required field
|
||||||
InputBucket *string `type:"string" required:"true"`
|
InputBucket *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The name of the pipeline. We recommend that the name be unique within the
|
// The name of the pipeline. We recommend that the name be unique within the
|
||||||
// AWS account, but uniqueness is not enforced.
|
// AWS account, but uniqueness is not enforced.
|
||||||
//
|
//
|
||||||
// Constraints: Maximum 40 characters.
|
// Constraints: Maximum 40 characters.
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `min:"1" type:"string" required:"true"`
|
Name *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The Amazon Simple Notification Service (Amazon SNS) topic that you want to
|
// 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
|
// The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder
|
||||||
// to use to create the pipeline.
|
// to use to create the pipeline.
|
||||||
|
//
|
||||||
|
// Role is a required field
|
||||||
Role *string `type:"string" required:"true"`
|
Role *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The ThumbnailConfig object specifies several values, including the Amazon
|
// 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,
|
// The container type for the output file. Valid values include flac, flv, fmp4,
|
||||||
// gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.
|
// gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.
|
||||||
|
//
|
||||||
|
// Container is a required field
|
||||||
Container *string `type:"string" required:"true"`
|
Container *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// A description of the preset.
|
// 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
|
// The name of the preset. We recommend that the name be unique within the AWS
|
||||||
// account, but uniqueness is not enforced.
|
// account, but uniqueness is not enforced.
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `min:"1" type:"string" required:"true"`
|
Name *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// A section of the request body that specifies the thumbnail parameters, if
|
// A section of the request body that specifies the thumbnail parameters, if
|
||||||
|
@ -2268,6 +2828,8 @@ type DeletePipelineInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The identifier of the pipeline that you want to delete.
|
// 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"`
|
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2314,6 +2876,8 @@ type DeletePresetInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The identifier of the preset for which you want to get detailed information.
|
// 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"`
|
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"`
|
PageToken *string `location:"querystring" locationName:"PageToken" type:"string"`
|
||||||
|
|
||||||
// The ID of the pipeline for which you want to get job information.
|
// 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"`
|
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
|
// To get information about all of the jobs associated with the current AWS
|
||||||
// account that have a given status, specify the following status: Submitted,
|
// account that have a given status, specify the following status: Submitted,
|
||||||
// Progressing, Complete, Canceled, or Error.
|
// Progressing, Complete, Canceled, or Error.
|
||||||
|
//
|
||||||
|
// Status is a required field
|
||||||
Status *string `location:"uri" locationName:"Status" type:"string" required:"true"`
|
Status *string `location:"uri" locationName:"Status" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3894,6 +4462,8 @@ type ReadJobInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The identifier of the job for which you want to get detailed information.
|
// 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"`
|
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3943,6 +4513,8 @@ type ReadPipelineInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The identifier of the pipeline to read.
|
// The identifier of the pipeline to read.
|
||||||
|
//
|
||||||
|
// Id is a required field
|
||||||
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
|
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4000,6 +4572,8 @@ type ReadPresetInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The identifier of the preset for which you want to get detailed information.
|
// 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"`
|
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
|
// The Amazon S3 bucket that contains media files to be transcoded. The action
|
||||||
// attempts to read from this bucket.
|
// attempts to read from this bucket.
|
||||||
|
//
|
||||||
|
// InputBucket is a required field
|
||||||
InputBucket *string `type:"string" required:"true"`
|
InputBucket *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The Amazon S3 bucket that Elastic Transcoder will write transcoded media
|
// The Amazon S3 bucket that Elastic Transcoder will write transcoded media
|
||||||
// files to. The action attempts to read from this bucket.
|
// files to. The action attempts to read from this bucket.
|
||||||
|
//
|
||||||
|
// OutputBucket is a required field
|
||||||
OutputBucket *string `type:"string" required:"true"`
|
OutputBucket *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder
|
// The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder
|
||||||
// to test.
|
// to test.
|
||||||
|
//
|
||||||
|
// Role is a required field
|
||||||
Role *string `type:"string" required:"true"`
|
Role *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics
|
// The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics
|
||||||
// that you want the action to send a test notification to.
|
// that you want the action to send a test notification to.
|
||||||
|
//
|
||||||
|
// Topics is a required field
|
||||||
Topics []*string `type:"list" required:"true"`
|
Topics []*string `type:"list" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4324,6 +4906,8 @@ type UpdatePipelineInput struct {
|
||||||
ContentConfig *PipelineOutputConfig `type:"structure"`
|
ContentConfig *PipelineOutputConfig `type:"structure"`
|
||||||
|
|
||||||
// The ID of the pipeline that you want to update.
|
// 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"`
|
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
|
// 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
|
// The identifier of the pipeline for which you want to change notification
|
||||||
// settings.
|
// settings.
|
||||||
|
//
|
||||||
|
// Id is a required field
|
||||||
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
|
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
|
||||||
|
|
||||||
// The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic
|
// 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
|
// 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
|
// Transcoder encounters an error condition. This is the ARN that Amazon SNS
|
||||||
// returned when you created the topic.
|
// returned when you created the topic.
|
||||||
|
//
|
||||||
|
// Notifications is a required field
|
||||||
Notifications *Notifications `type:"structure" required:"true"`
|
Notifications *Notifications `type:"structure" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4528,12 +5116,16 @@ type UpdatePipelineStatusInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The identifier of the pipeline to update.
|
// The identifier of the pipeline to update.
|
||||||
|
//
|
||||||
|
// Id is a required field
|
||||||
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
|
Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
|
||||||
|
|
||||||
// The desired status of the pipeline:
|
// The desired status of the pipeline:
|
||||||
//
|
//
|
||||||
// Active: The pipeline is processing jobs. Paused: The pipeline is not
|
// Active: The pipeline is processing jobs. Paused: The pipeline is not
|
||||||
// currently processing jobs.
|
// currently processing jobs.
|
||||||
|
//
|
||||||
|
// Status is a required field
|
||||||
Status *string `type:"string" required:"true"`
|
Status *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *ElasticTranscoder) WaitUntilJobComplete(input *ReadJobInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "ReadJob",
|
Operation: "ReadJob",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *ELB) WaitUntilAnyInstanceInService(input *DescribeInstanceHealthInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeInstanceHealth",
|
Operation: "DescribeInstanceHealth",
|
||||||
|
@ -29,6 +33,10 @@ func (c *ELB) WaitUntilAnyInstanceInService(input *DescribeInstanceHealthInput)
|
||||||
return w.Wait()
|
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 {
|
func (c *ELB) WaitUntilInstanceDeregistered(input *DescribeInstanceHealthInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeInstanceHealth",
|
Operation: "DescribeInstanceHealth",
|
||||||
|
@ -58,6 +66,10 @@ func (c *ELB) WaitUntilInstanceDeregistered(input *DescribeInstanceHealthInput)
|
||||||
return w.Wait()
|
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 {
|
func (c *ELB) WaitUntilInstanceInService(input *DescribeInstanceHealthInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeInstanceHealth",
|
Operation: "DescribeInstanceHealth",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *EMR) WaitUntilClusterRunning(input *DescribeClusterInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeCluster",
|
Operation: "DescribeCluster",
|
||||||
|
@ -53,6 +57,10 @@ func (c *EMR) WaitUntilClusterRunning(input *DescribeClusterInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *EMR) WaitUntilStepComplete(input *DescribeStepInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeStep",
|
Operation: "DescribeStep",
|
||||||
|
|
|
@ -18,6 +18,8 @@ const opCreateDeliveryStream = "CreateDeliveryStream"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See CreateDeliveryStream for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -52,6 +54,8 @@ func (c *Firehose) CreateDeliveryStreamRequest(input *CreateDeliveryStreamInput)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CreateDeliveryStream API operation for Amazon Kinesis Firehose.
|
||||||
|
//
|
||||||
// Creates a delivery stream.
|
// Creates a delivery stream.
|
||||||
//
|
//
|
||||||
// CreateDeliveryStream is an asynchronous operation that immediately returns.
|
// 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.
|
// 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)
|
// 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.
|
// 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) {
|
func (c *Firehose) CreateDeliveryStream(input *CreateDeliveryStreamInput) (*CreateDeliveryStreamOutput, error) {
|
||||||
req, out := c.CreateDeliveryStreamRequest(input)
|
req, out := c.CreateDeliveryStreamRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -115,6 +137,8 @@ const opDeleteDeliveryStream = "DeleteDeliveryStream"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DeleteDeliveryStream for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -149,6 +173,8 @@ func (c *Firehose) DeleteDeliveryStreamRequest(input *DeleteDeliveryStreamInput)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeleteDeliveryStream API operation for Amazon Kinesis Firehose.
|
||||||
|
//
|
||||||
// Deletes a delivery stream and its data.
|
// Deletes a delivery stream and its data.
|
||||||
//
|
//
|
||||||
// You can delete a delivery stream only if it is in ACTIVE or DELETING state,
|
// 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
|
// 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
|
// to delivering the data. Therefore, as a best practice, you should first stop
|
||||||
// any applications that are sending records before deleting a delivery stream.
|
// 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) {
|
func (c *Firehose) DeleteDeliveryStream(input *DeleteDeliveryStreamInput) (*DeleteDeliveryStreamOutput, error) {
|
||||||
req, out := c.DeleteDeliveryStreamRequest(input)
|
req, out := c.DeleteDeliveryStreamRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -174,6 +215,8 @@ const opDescribeDeliveryStream = "DescribeDeliveryStream"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DescribeDeliveryStream for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -208,10 +251,24 @@ func (c *Firehose) DescribeDeliveryStreamRequest(input *DescribeDeliveryStreamIn
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DescribeDeliveryStream API operation for Amazon Kinesis Firehose.
|
||||||
|
//
|
||||||
// Describes the specified delivery stream and gets the status. For example,
|
// Describes the specified delivery stream and gets the status. For example,
|
||||||
// after your delivery stream is created, call DescribeDeliveryStream to see
|
// after your delivery stream is created, call DescribeDeliveryStream to see
|
||||||
// if the delivery stream is ACTIVE and therefore ready for data to be sent
|
// if the delivery stream is ACTIVE and therefore ready for data to be sent
|
||||||
// to it.
|
// 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) {
|
func (c *Firehose) DescribeDeliveryStream(input *DescribeDeliveryStreamInput) (*DescribeDeliveryStreamOutput, error) {
|
||||||
req, out := c.DescribeDeliveryStreamRequest(input)
|
req, out := c.DescribeDeliveryStreamRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -225,6 +282,8 @@ const opListDeliveryStreams = "ListDeliveryStreams"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ListDeliveryStreams for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -259,6 +318,8 @@ func (c *Firehose) ListDeliveryStreamsRequest(input *ListDeliveryStreamsInput) (
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ListDeliveryStreams API operation for Amazon Kinesis Firehose.
|
||||||
|
//
|
||||||
// Lists your delivery streams.
|
// Lists your delivery streams.
|
||||||
//
|
//
|
||||||
// The number of delivery streams might be too large to return using a single
|
// 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
|
// 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
|
// by specifying the name of the last delivery stream returned in the call in
|
||||||
// the ExclusiveStartDeliveryStreamName parameter of a subsequent call.
|
// 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) {
|
func (c *Firehose) ListDeliveryStreams(input *ListDeliveryStreamsInput) (*ListDeliveryStreamsOutput, error) {
|
||||||
req, out := c.ListDeliveryStreamsRequest(input)
|
req, out := c.ListDeliveryStreamsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -281,6 +349,8 @@ const opPutRecord = "PutRecord"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See PutRecord for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// PutRecord API operation for Amazon Kinesis Firehose.
|
||||||
|
//
|
||||||
// Writes a single data record into an Amazon Kinesis Firehose delivery stream.
|
// Writes a single data record into an Amazon Kinesis Firehose delivery stream.
|
||||||
// To write multiple data records into a delivery stream, use PutRecordBatch.
|
// To write multiple data records into a delivery stream, use PutRecordBatch.
|
||||||
// Applications using these operations are referred to as producers.
|
// 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
|
// 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
|
// destination. If the destination is unreachable for more than 24 hours, the
|
||||||
// data is no longer available.
|
// 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) {
|
func (c *Firehose) PutRecord(input *PutRecordInput) (*PutRecordOutput, error) {
|
||||||
req, out := c.PutRecordRequest(input)
|
req, out := c.PutRecordRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -361,6 +454,8 @@ const opPutRecordBatch = "PutRecordBatch"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See PutRecordBatch for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// PutRecordBatch API operation for Amazon Kinesis Firehose.
|
||||||
|
//
|
||||||
// Writes multiple data records into a delivery stream in a single call, which
|
// Writes multiple data records into a delivery stream in a single call, which
|
||||||
// can achieve higher throughput per producer than when writing single records.
|
// can achieve higher throughput per producer than when writing single records.
|
||||||
// To write single data records into a delivery stream, use PutRecord. Applications
|
// 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
|
// 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
|
// destination. If the destination is unreachable for more than 24 hours, the
|
||||||
// data is no longer available.
|
// 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) {
|
func (c *Firehose) PutRecordBatch(input *PutRecordBatchInput) (*PutRecordBatchOutput, error) {
|
||||||
req, out := c.PutRecordBatchRequest(input)
|
req, out := c.PutRecordBatchRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -464,6 +582,8 @@ const opUpdateDestination = "UpdateDestination"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See UpdateDestination for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// UpdateDestination API operation for Amazon Kinesis Firehose.
|
||||||
|
//
|
||||||
// Updates the specified destination of the specified delivery stream. Note:
|
// Updates the specified destination of the specified delivery stream. Note:
|
||||||
// Switching between Elasticsearch and other services is not supported. For
|
// Switching between Elasticsearch and other services is not supported. For
|
||||||
// Elasticsearch destination, you can only update an existing Elasticsearch
|
// 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.
|
// updated, which can be retrieved with the DescribeDeliveryStream operation.
|
||||||
// The new VersionId should be uses to set CurrentDeliveryStreamVersionId in
|
// The new VersionId should be uses to set CurrentDeliveryStreamVersionId in
|
||||||
// the next UpdateDestination operation.
|
// 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) {
|
func (c *Firehose) UpdateDestination(input *UpdateDestinationInput) (*UpdateDestinationOutput, error) {
|
||||||
req, out := c.UpdateDestinationRequest(input)
|
req, out := c.UpdateDestinationRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -637,6 +781,8 @@ type CopyCommand struct {
|
||||||
DataTableColumns *string `type:"string"`
|
DataTableColumns *string `type:"string"`
|
||||||
|
|
||||||
// The name of the target table. The table must already exist in the database.
|
// 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"`
|
DataTableName *string `min:"1" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -671,6 +817,8 @@ type CreateDeliveryStreamInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the delivery stream.
|
// The name of the delivery stream.
|
||||||
|
//
|
||||||
|
// DeliveryStreamName is a required field
|
||||||
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
|
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The destination in Amazon ES. This value cannot be specified if Amazon S3
|
// The destination in Amazon ES. This value cannot be specified if Amazon S3
|
||||||
|
@ -752,6 +900,8 @@ type DeleteDeliveryStreamInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the delivery stream.
|
// The name of the delivery stream.
|
||||||
|
//
|
||||||
|
// DeliveryStreamName is a required field
|
||||||
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
|
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -804,18 +954,28 @@ type DeliveryStreamDescription struct {
|
||||||
CreateTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"`
|
CreateTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||||
|
|
||||||
// The Amazon Resource Name (ARN) of the delivery stream.
|
// The Amazon Resource Name (ARN) of the delivery stream.
|
||||||
|
//
|
||||||
|
// DeliveryStreamARN is a required field
|
||||||
DeliveryStreamARN *string `type:"string" required:"true"`
|
DeliveryStreamARN *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The name of the delivery stream.
|
// The name of the delivery stream.
|
||||||
|
//
|
||||||
|
// DeliveryStreamName is a required field
|
||||||
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
|
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The status of the delivery stream.
|
// The status of the delivery stream.
|
||||||
|
//
|
||||||
|
// DeliveryStreamStatus is a required field
|
||||||
DeliveryStreamStatus *string `type:"string" required:"true" enum:"DeliveryStreamStatus"`
|
DeliveryStreamStatus *string `type:"string" required:"true" enum:"DeliveryStreamStatus"`
|
||||||
|
|
||||||
// The destinations.
|
// The destinations.
|
||||||
|
//
|
||||||
|
// Destinations is a required field
|
||||||
Destinations []*DestinationDescription `type:"list" required:"true"`
|
Destinations []*DestinationDescription `type:"list" required:"true"`
|
||||||
|
|
||||||
// Indicates whether there are more destinations available to list.
|
// Indicates whether there are more destinations available to list.
|
||||||
|
//
|
||||||
|
// HasMoreDestinations is a required field
|
||||||
HasMoreDestinations *bool `type:"boolean" required:"true"`
|
HasMoreDestinations *bool `type:"boolean" required:"true"`
|
||||||
|
|
||||||
// The date and time that the delivery stream was last updated.
|
// 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
|
// 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
|
// service knows it is applying the changes to the correct version of the delivery
|
||||||
// stream.
|
// stream.
|
||||||
|
//
|
||||||
|
// VersionId is a required field
|
||||||
VersionId *string `min:"1" type:"string" required:"true"`
|
VersionId *string `min:"1" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -844,6 +1006,8 @@ type DescribeDeliveryStreamInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the delivery stream.
|
// The name of the delivery stream.
|
||||||
|
//
|
||||||
|
// DeliveryStreamName is a required field
|
||||||
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
|
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// Specifies the destination ID to start returning the destination information.
|
// Specifies the destination ID to start returning the destination information.
|
||||||
|
@ -892,6 +1056,8 @@ type DescribeDeliveryStreamOutput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// Information about the delivery stream.
|
// Information about the delivery stream.
|
||||||
|
//
|
||||||
|
// DeliveryStreamDescription is a required field
|
||||||
DeliveryStreamDescription *DeliveryStreamDescription `type:"structure" required:"true"`
|
DeliveryStreamDescription *DeliveryStreamDescription `type:"structure" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -910,6 +1076,8 @@ type DestinationDescription struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The ID of the destination.
|
// The ID of the destination.
|
||||||
|
//
|
||||||
|
// DestinationId is a required field
|
||||||
DestinationId *string `min:"1" type:"string" required:"true"`
|
DestinationId *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The destination in Amazon ES.
|
// 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,
|
// The ARN of the Amazon ES domain. The IAM role must have permission for DescribeElasticsearchDomain,
|
||||||
// DescribeElasticsearchDomains , and DescribeElasticsearchDomainConfig after
|
// DescribeElasticsearchDomains , and DescribeElasticsearchDomainConfig after
|
||||||
// assuming RoleARN.
|
// assuming RoleARN.
|
||||||
|
//
|
||||||
|
// DomainARN is a required field
|
||||||
DomainARN *string `min:"1" type:"string" required:"true"`
|
DomainARN *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The Elasticsearch index name.
|
// The Elasticsearch index name.
|
||||||
|
//
|
||||||
|
// IndexName is a required field
|
||||||
IndexName *string `min:"1" type:"string" required:"true"`
|
IndexName *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The Elasticsearch index rotation period. Index rotation appends a timestamp
|
// 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
|
// 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
|
// 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).
|
// 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"`
|
RoleARN *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// Defines how documents should be delivered to Amazon S3. When set to FailedDocumentsOnly,
|
// 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"`
|
S3BackupMode *string `type:"string" enum:"ElasticsearchS3BackupMode"`
|
||||||
|
|
||||||
// Describes the configuration of a destination in Amazon S3.
|
// Describes the configuration of a destination in Amazon S3.
|
||||||
|
//
|
||||||
|
// S3Configuration is a required field
|
||||||
S3Configuration *S3DestinationConfiguration `type:"structure" required:"true"`
|
S3Configuration *S3DestinationConfiguration `type:"structure" required:"true"`
|
||||||
|
|
||||||
// The Elasticsearch type name.
|
// The Elasticsearch type name.
|
||||||
|
//
|
||||||
|
// TypeName is a required field
|
||||||
TypeName *string `min:"1" type:"string" required:"true"`
|
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
|
// The ARN of the encryption key. Must belong to the same region as the destination
|
||||||
// Amazon S3 bucket.
|
// Amazon S3 bucket.
|
||||||
|
//
|
||||||
|
// AWSKMSKeyARN is a required field
|
||||||
AWSKMSKeyARN *string `min:"1" type:"string" required:"true"`
|
AWSKMSKeyARN *string `min:"1" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1349,9 +1529,13 @@ type ListDeliveryStreamsOutput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The names of the delivery streams.
|
// The names of the delivery streams.
|
||||||
|
//
|
||||||
|
// DeliveryStreamNames is a required field
|
||||||
DeliveryStreamNames []*string `type:"list" required:"true"`
|
DeliveryStreamNames []*string `type:"list" required:"true"`
|
||||||
|
|
||||||
// Indicates whether there are more delivery streams available to list.
|
// Indicates whether there are more delivery streams available to list.
|
||||||
|
//
|
||||||
|
// HasMoreDeliveryStreams is a required field
|
||||||
HasMoreDeliveryStreams *bool `type:"boolean" required:"true"`
|
HasMoreDeliveryStreams *bool `type:"boolean" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1370,9 +1554,13 @@ type PutRecordBatchInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the delivery stream.
|
// The name of the delivery stream.
|
||||||
|
//
|
||||||
|
// DeliveryStreamName is a required field
|
||||||
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
|
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// One or more records.
|
// One or more records.
|
||||||
|
//
|
||||||
|
// Records is a required field
|
||||||
Records []*Record `min:"1" type:"list" required:"true"`
|
Records []*Record `min:"1" type:"list" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1423,10 +1611,14 @@ type PutRecordBatchOutput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The number of unsuccessfully written records.
|
// The number of unsuccessfully written records.
|
||||||
|
//
|
||||||
|
// FailedPutCount is a required field
|
||||||
FailedPutCount *int64 `type:"integer" required:"true"`
|
FailedPutCount *int64 `type:"integer" required:"true"`
|
||||||
|
|
||||||
// The results for the individual records. The index of each element matches
|
// The results for the individual records. The index of each element matches
|
||||||
// the same index in which records were sent.
|
// the same index in which records were sent.
|
||||||
|
//
|
||||||
|
// RequestResponses is a required field
|
||||||
RequestResponses []*PutRecordBatchResponseEntry `min:"1" type:"list" required:"true"`
|
RequestResponses []*PutRecordBatchResponseEntry `min:"1" type:"list" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1472,9 +1664,13 @@ type PutRecordInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the delivery stream.
|
// The name of the delivery stream.
|
||||||
|
//
|
||||||
|
// DeliveryStreamName is a required field
|
||||||
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
|
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The record.
|
// The record.
|
||||||
|
//
|
||||||
|
// Record is a required field
|
||||||
Record *Record `type:"structure" required:"true"`
|
Record *Record `type:"structure" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1517,6 +1713,8 @@ type PutRecordOutput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The ID of the record.
|
// The ID of the record.
|
||||||
|
//
|
||||||
|
// RecordId is a required field
|
||||||
RecordId *string `min:"1" type:"string" required:"true"`
|
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.
|
// size of the data blob, before base64-encoding, is 1,000 KB.
|
||||||
//
|
//
|
||||||
// Data is automatically base64 encoded/decoded by the SDK.
|
// Data is automatically base64 encoded/decoded by the SDK.
|
||||||
|
//
|
||||||
|
// Data is a required field
|
||||||
Data []byte `type:"blob" required:"true"`
|
Data []byte `type:"blob" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1572,12 +1772,18 @@ type RedshiftDestinationConfiguration struct {
|
||||||
CloudWatchLoggingOptions *CloudWatchLoggingOptions `type:"structure"`
|
CloudWatchLoggingOptions *CloudWatchLoggingOptions `type:"structure"`
|
||||||
|
|
||||||
// The database connection string.
|
// The database connection string.
|
||||||
|
//
|
||||||
|
// ClusterJDBCURL is a required field
|
||||||
ClusterJDBCURL *string `min:"1" type:"string" required:"true"`
|
ClusterJDBCURL *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The COPY command.
|
// The COPY command.
|
||||||
|
//
|
||||||
|
// CopyCommand is a required field
|
||||||
CopyCommand *CopyCommand `type:"structure" required:"true"`
|
CopyCommand *CopyCommand `type:"structure" required:"true"`
|
||||||
|
|
||||||
// The user password.
|
// The user password.
|
||||||
|
//
|
||||||
|
// Password is a required field
|
||||||
Password *string `min:"6" type:"string" required:"true"`
|
Password *string `min:"6" type:"string" required:"true"`
|
||||||
|
|
||||||
// Configures retry behavior in the event that Firehose is unable to deliver
|
// Configures retry behavior in the event that Firehose is unable to deliver
|
||||||
|
@ -1585,6 +1791,8 @@ type RedshiftDestinationConfiguration struct {
|
||||||
RetryOptions *RedshiftRetryOptions `type:"structure"`
|
RetryOptions *RedshiftRetryOptions `type:"structure"`
|
||||||
|
|
||||||
// The ARN of the AWS credentials.
|
// The ARN of the AWS credentials.
|
||||||
|
//
|
||||||
|
// RoleARN is a required field
|
||||||
RoleARN *string `min:"1" type:"string" required:"true"`
|
RoleARN *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The S3 configuration for the intermediate location from which Amazon Redshift
|
// 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
|
// The compression formats SNAPPY or ZIP cannot be specified in RedshiftDestinationConfiguration.S3Configuration
|
||||||
// because the Amazon Redshift COPY operation that reads from the S3 bucket
|
// because the Amazon Redshift COPY operation that reads from the S3 bucket
|
||||||
// doesn't support these compression formats.
|
// doesn't support these compression formats.
|
||||||
|
//
|
||||||
|
// S3Configuration is a required field
|
||||||
S3Configuration *S3DestinationConfiguration `type:"structure" required:"true"`
|
S3Configuration *S3DestinationConfiguration `type:"structure" required:"true"`
|
||||||
|
|
||||||
// The name of the user.
|
// The name of the user.
|
||||||
|
//
|
||||||
|
// Username is a required field
|
||||||
Username *string `min:"1" type:"string" required:"true"`
|
Username *string `min:"1" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1667,9 +1879,13 @@ type RedshiftDestinationDescription struct {
|
||||||
CloudWatchLoggingOptions *CloudWatchLoggingOptions `type:"structure"`
|
CloudWatchLoggingOptions *CloudWatchLoggingOptions `type:"structure"`
|
||||||
|
|
||||||
// The database connection string.
|
// The database connection string.
|
||||||
|
//
|
||||||
|
// ClusterJDBCURL is a required field
|
||||||
ClusterJDBCURL *string `min:"1" type:"string" required:"true"`
|
ClusterJDBCURL *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The COPY command.
|
// The COPY command.
|
||||||
|
//
|
||||||
|
// CopyCommand is a required field
|
||||||
CopyCommand *CopyCommand `type:"structure" required:"true"`
|
CopyCommand *CopyCommand `type:"structure" required:"true"`
|
||||||
|
|
||||||
// Configures retry behavior in the event that Firehose is unable to deliver
|
// Configures retry behavior in the event that Firehose is unable to deliver
|
||||||
|
@ -1677,12 +1893,18 @@ type RedshiftDestinationDescription struct {
|
||||||
RetryOptions *RedshiftRetryOptions `type:"structure"`
|
RetryOptions *RedshiftRetryOptions `type:"structure"`
|
||||||
|
|
||||||
// The ARN of the AWS credentials.
|
// The ARN of the AWS credentials.
|
||||||
|
//
|
||||||
|
// RoleARN is a required field
|
||||||
RoleARN *string `min:"1" type:"string" required:"true"`
|
RoleARN *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The Amazon S3 destination.
|
// The Amazon S3 destination.
|
||||||
|
//
|
||||||
|
// S3DestinationDescription is a required field
|
||||||
S3DestinationDescription *S3DestinationDescription `type:"structure" required:"true"`
|
S3DestinationDescription *S3DestinationDescription `type:"structure" required:"true"`
|
||||||
|
|
||||||
// The name of the user.
|
// The name of the user.
|
||||||
|
//
|
||||||
|
// Username is a required field
|
||||||
Username *string `min:"1" type:"string" required:"true"`
|
Username *string `min:"1" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1800,6 +2022,8 @@ type S3DestinationConfiguration struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The ARN of the S3 bucket.
|
// The ARN of the S3 bucket.
|
||||||
|
//
|
||||||
|
// BucketARN is a required field
|
||||||
BucketARN *string `min:"1" type:"string" required:"true"`
|
BucketARN *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The buffering option. If no value is specified, BufferingHints object default
|
// The buffering option. If no value is specified, BufferingHints object default
|
||||||
|
@ -1829,6 +2053,8 @@ type S3DestinationConfiguration struct {
|
||||||
Prefix *string `type:"string"`
|
Prefix *string `type:"string"`
|
||||||
|
|
||||||
// The ARN of the AWS credentials.
|
// The ARN of the AWS credentials.
|
||||||
|
//
|
||||||
|
// RoleARN is a required field
|
||||||
RoleARN *string `min:"1" type:"string" required:"true"`
|
RoleARN *string `min:"1" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1879,20 +2105,28 @@ type S3DestinationDescription struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The ARN of the S3 bucket.
|
// The ARN of the S3 bucket.
|
||||||
|
//
|
||||||
|
// BucketARN is a required field
|
||||||
BucketARN *string `min:"1" type:"string" required:"true"`
|
BucketARN *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The buffering option. If no value is specified, BufferingHints object default
|
// The buffering option. If no value is specified, BufferingHints object default
|
||||||
// values are used.
|
// values are used.
|
||||||
|
//
|
||||||
|
// BufferingHints is a required field
|
||||||
BufferingHints *BufferingHints `type:"structure" required:"true"`
|
BufferingHints *BufferingHints `type:"structure" required:"true"`
|
||||||
|
|
||||||
// Describes CloudWatch logging options for your delivery stream.
|
// Describes CloudWatch logging options for your delivery stream.
|
||||||
CloudWatchLoggingOptions *CloudWatchLoggingOptions `type:"structure"`
|
CloudWatchLoggingOptions *CloudWatchLoggingOptions `type:"structure"`
|
||||||
|
|
||||||
// The compression format. If no value is specified, the default is NOCOMPRESSION.
|
// 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"`
|
CompressionFormat *string `type:"string" required:"true" enum:"CompressionFormat"`
|
||||||
|
|
||||||
// The encryption configuration. If no value is specified, the default is no
|
// The encryption configuration. If no value is specified, the default is no
|
||||||
// encryption.
|
// encryption.
|
||||||
|
//
|
||||||
|
// EncryptionConfiguration is a required field
|
||||||
EncryptionConfiguration *EncryptionConfiguration `type:"structure" required:"true"`
|
EncryptionConfiguration *EncryptionConfiguration `type:"structure" required:"true"`
|
||||||
|
|
||||||
// The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered
|
// The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered
|
||||||
|
@ -1904,6 +2138,8 @@ type S3DestinationDescription struct {
|
||||||
Prefix *string `type:"string"`
|
Prefix *string `type:"string"`
|
||||||
|
|
||||||
// The ARN of the AWS credentials.
|
// The ARN of the AWS credentials.
|
||||||
|
//
|
||||||
|
// RoleARN is a required field
|
||||||
RoleARN *string `min:"1" type:"string" required:"true"`
|
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,
|
// 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
|
// the VersionId value is updated. The service then performs a merge of the
|
||||||
// old configuration with the new configuration.
|
// old configuration with the new configuration.
|
||||||
|
//
|
||||||
|
// CurrentDeliveryStreamVersionId is a required field
|
||||||
CurrentDeliveryStreamVersionId *string `min:"1" type:"string" required:"true"`
|
CurrentDeliveryStreamVersionId *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The name of the delivery stream.
|
// The name of the delivery stream.
|
||||||
|
//
|
||||||
|
// DeliveryStreamName is a required field
|
||||||
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
|
DeliveryStreamName *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// The ID of the destination.
|
// The ID of the destination.
|
||||||
|
//
|
||||||
|
// DestinationId is a required field
|
||||||
DestinationId *string `min:"1" type:"string" required:"true"`
|
DestinationId *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
// Describes an update for a destination in Amazon ES.
|
// Describes an update for a destination in Amazon ES.
|
||||||
|
@ -2087,46 +2329,56 @@ func (s UpdateDestinationOutput) GoString() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum CompressionFormat
|
// CompressionFormatUncompressed is a CompressionFormat enum value
|
||||||
CompressionFormatUncompressed = "UNCOMPRESSED"
|
CompressionFormatUncompressed = "UNCOMPRESSED"
|
||||||
// @enum CompressionFormat
|
|
||||||
|
// CompressionFormatGzip is a CompressionFormat enum value
|
||||||
CompressionFormatGzip = "GZIP"
|
CompressionFormatGzip = "GZIP"
|
||||||
// @enum CompressionFormat
|
|
||||||
|
// CompressionFormatZip is a CompressionFormat enum value
|
||||||
CompressionFormatZip = "ZIP"
|
CompressionFormatZip = "ZIP"
|
||||||
// @enum CompressionFormat
|
|
||||||
|
// CompressionFormatSnappy is a CompressionFormat enum value
|
||||||
CompressionFormatSnappy = "Snappy"
|
CompressionFormatSnappy = "Snappy"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum DeliveryStreamStatus
|
// DeliveryStreamStatusCreating is a DeliveryStreamStatus enum value
|
||||||
DeliveryStreamStatusCreating = "CREATING"
|
DeliveryStreamStatusCreating = "CREATING"
|
||||||
// @enum DeliveryStreamStatus
|
|
||||||
|
// DeliveryStreamStatusDeleting is a DeliveryStreamStatus enum value
|
||||||
DeliveryStreamStatusDeleting = "DELETING"
|
DeliveryStreamStatusDeleting = "DELETING"
|
||||||
// @enum DeliveryStreamStatus
|
|
||||||
|
// DeliveryStreamStatusActive is a DeliveryStreamStatus enum value
|
||||||
DeliveryStreamStatusActive = "ACTIVE"
|
DeliveryStreamStatusActive = "ACTIVE"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum ElasticsearchIndexRotationPeriod
|
// ElasticsearchIndexRotationPeriodNoRotation is a ElasticsearchIndexRotationPeriod enum value
|
||||||
ElasticsearchIndexRotationPeriodNoRotation = "NoRotation"
|
ElasticsearchIndexRotationPeriodNoRotation = "NoRotation"
|
||||||
// @enum ElasticsearchIndexRotationPeriod
|
|
||||||
|
// ElasticsearchIndexRotationPeriodOneHour is a ElasticsearchIndexRotationPeriod enum value
|
||||||
ElasticsearchIndexRotationPeriodOneHour = "OneHour"
|
ElasticsearchIndexRotationPeriodOneHour = "OneHour"
|
||||||
// @enum ElasticsearchIndexRotationPeriod
|
|
||||||
|
// ElasticsearchIndexRotationPeriodOneDay is a ElasticsearchIndexRotationPeriod enum value
|
||||||
ElasticsearchIndexRotationPeriodOneDay = "OneDay"
|
ElasticsearchIndexRotationPeriodOneDay = "OneDay"
|
||||||
// @enum ElasticsearchIndexRotationPeriod
|
|
||||||
|
// ElasticsearchIndexRotationPeriodOneWeek is a ElasticsearchIndexRotationPeriod enum value
|
||||||
ElasticsearchIndexRotationPeriodOneWeek = "OneWeek"
|
ElasticsearchIndexRotationPeriodOneWeek = "OneWeek"
|
||||||
// @enum ElasticsearchIndexRotationPeriod
|
|
||||||
|
// ElasticsearchIndexRotationPeriodOneMonth is a ElasticsearchIndexRotationPeriod enum value
|
||||||
ElasticsearchIndexRotationPeriodOneMonth = "OneMonth"
|
ElasticsearchIndexRotationPeriodOneMonth = "OneMonth"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum ElasticsearchS3BackupMode
|
// ElasticsearchS3BackupModeFailedDocumentsOnly is a ElasticsearchS3BackupMode enum value
|
||||||
ElasticsearchS3BackupModeFailedDocumentsOnly = "FailedDocumentsOnly"
|
ElasticsearchS3BackupModeFailedDocumentsOnly = "FailedDocumentsOnly"
|
||||||
// @enum ElasticsearchS3BackupMode
|
|
||||||
|
// ElasticsearchS3BackupModeAllDocuments is a ElasticsearchS3BackupMode enum value
|
||||||
ElasticsearchS3BackupModeAllDocuments = "AllDocuments"
|
ElasticsearchS3BackupModeAllDocuments = "AllDocuments"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// @enum NoEncryptionConfig
|
// NoEncryptionConfigNoEncryption is a NoEncryptionConfig enum value
|
||||||
NoEncryptionConfigNoEncryption = "NoEncryption"
|
NoEncryptionConfigNoEncryption = "NoEncryption"
|
||||||
)
|
)
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *Glacier) WaitUntilVaultExists(input *DescribeVaultInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeVault",
|
Operation: "DescribeVault",
|
||||||
|
@ -35,6 +39,10 @@ func (c *Glacier) WaitUntilVaultExists(input *DescribeVaultInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *Glacier) WaitUntilVaultNotExists(input *DescribeVaultInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeVault",
|
Operation: "DescribeVault",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *IAM) WaitUntilInstanceProfileExists(input *GetInstanceProfileInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "GetInstanceProfile",
|
Operation: "GetInstanceProfile",
|
||||||
|
@ -35,6 +39,10 @@ func (c *IAM) WaitUntilInstanceProfileExists(input *GetInstanceProfileInput) err
|
||||||
return w.Wait()
|
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 {
|
func (c *IAM) WaitUntilUserExists(input *GetUserInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "GetUser",
|
Operation: "GetUser",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *Kinesis) WaitUntilStreamExists(input *DescribeStreamInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeStream",
|
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
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *OpsWorks) WaitUntilAppExists(input *DescribeAppsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeApps",
|
Operation: "DescribeApps",
|
||||||
|
@ -35,6 +39,10 @@ func (c *OpsWorks) WaitUntilAppExists(input *DescribeAppsInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *OpsWorks) WaitUntilDeploymentSuccessful(input *DescribeDeploymentsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeDeployments",
|
Operation: "DescribeDeployments",
|
||||||
|
@ -64,6 +72,10 @@ func (c *OpsWorks) WaitUntilDeploymentSuccessful(input *DescribeDeploymentsInput
|
||||||
return w.Wait()
|
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 {
|
func (c *OpsWorks) WaitUntilInstanceOnline(input *DescribeInstancesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeInstances",
|
Operation: "DescribeInstances",
|
||||||
|
@ -135,6 +147,10 @@ func (c *OpsWorks) WaitUntilInstanceOnline(input *DescribeInstancesInput) error
|
||||||
return w.Wait()
|
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 {
|
func (c *OpsWorks) WaitUntilInstanceRegistered(input *DescribeInstancesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeInstances",
|
Operation: "DescribeInstances",
|
||||||
|
@ -200,6 +216,10 @@ func (c *OpsWorks) WaitUntilInstanceRegistered(input *DescribeInstancesInput) er
|
||||||
return w.Wait()
|
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 {
|
func (c *OpsWorks) WaitUntilInstanceStopped(input *DescribeInstancesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeInstances",
|
Operation: "DescribeInstances",
|
||||||
|
@ -277,6 +297,10 @@ func (c *OpsWorks) WaitUntilInstanceStopped(input *DescribeInstancesInput) error
|
||||||
return w.Wait()
|
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 {
|
func (c *OpsWorks) WaitUntilInstanceTerminated(input *DescribeInstancesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeInstances",
|
Operation: "DescribeInstances",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *RDS) WaitUntilDBInstanceAvailable(input *DescribeDBInstancesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeDBInstances",
|
Operation: "DescribeDBInstances",
|
||||||
|
@ -59,6 +63,10 @@ func (c *RDS) WaitUntilDBInstanceAvailable(input *DescribeDBInstancesInput) erro
|
||||||
return w.Wait()
|
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 {
|
func (c *RDS) WaitUntilDBInstanceDeleted(input *DescribeDBInstancesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeDBInstances",
|
Operation: "DescribeDBInstances",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *Redshift) WaitUntilClusterAvailable(input *DescribeClustersInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeClusters",
|
Operation: "DescribeClusters",
|
||||||
|
@ -41,6 +45,10 @@ func (c *Redshift) WaitUntilClusterAvailable(input *DescribeClustersInput) error
|
||||||
return w.Wait()
|
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 {
|
func (c *Redshift) WaitUntilClusterDeleted(input *DescribeClustersInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeClusters",
|
Operation: "DescribeClusters",
|
||||||
|
@ -76,6 +84,10 @@ func (c *Redshift) WaitUntilClusterDeleted(input *DescribeClustersInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *Redshift) WaitUntilClusterRestored(input *DescribeClustersInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeClusters",
|
Operation: "DescribeClusters",
|
||||||
|
@ -105,6 +117,10 @@ func (c *Redshift) WaitUntilClusterRestored(input *DescribeClustersInput) error
|
||||||
return w.Wait()
|
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 {
|
func (c *Redshift) WaitUntilSnapshotAvailable(input *DescribeClusterSnapshotsInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "DescribeClusterSnapshots",
|
Operation: "DescribeClusterSnapshots",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *Route53) WaitUntilResourceRecordSetsChanged(input *GetChangeInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "GetChange",
|
Operation: "GetChange",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,7 @@
|
||||||
package s3
|
package s3
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/url"
|
"net/url"
|
||||||
"regexp"
|
"regexp"
|
||||||
|
@ -37,14 +38,6 @@ var accelerateOpBlacklist = operationBlacklist{
|
||||||
func updateEndpointForS3Config(r *request.Request) {
|
func updateEndpointForS3Config(r *request.Request) {
|
||||||
forceHostStyle := aws.BoolValue(r.Config.S3ForcePathStyle)
|
forceHostStyle := aws.BoolValue(r.Config.S3ForcePathStyle)
|
||||||
accelerate := aws.BoolValue(r.Config.S3UseAccelerate)
|
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 accelerate && accelerateOpBlacklist.Continue(r) {
|
||||||
if forceHostStyle {
|
if forceHostStyle {
|
||||||
|
@ -75,6 +68,10 @@ func updateEndpointForHostStyle(r *request.Request) {
|
||||||
moveBucketToHost(r.HTTPRequest.URL, bucket)
|
moveBucketToHost(r.HTTPRequest.URL, bucket)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var (
|
||||||
|
accelElem = []byte("s3-accelerate.dualstack.")
|
||||||
|
)
|
||||||
|
|
||||||
func updateEndpointForAccelerate(r *request.Request) {
|
func updateEndpointForAccelerate(r *request.Request) {
|
||||||
bucket, ok := bucketNameFromReqParams(r.Params)
|
bucket, ok := bucketNameFromReqParams(r.Params)
|
||||||
if !ok {
|
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
|
// Change endpoint from s3(-[a-z0-1-])?.amazonaws.com to s3-accelerate.amazonaws.com
|
||||||
r.HTTPRequest.URL.Host = replaceHostRegion(r.HTTPRequest.URL.Host, "accelerate")
|
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)
|
moveBucketToHost(r.HTTPRequest.URL, bucket)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *S3) WaitUntilBucketExists(input *HeadBucketInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "HeadBucket",
|
Operation: "HeadBucket",
|
||||||
|
@ -47,6 +51,10 @@ func (c *S3) WaitUntilBucketExists(input *HeadBucketInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *S3) WaitUntilBucketNotExists(input *HeadBucketInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "HeadBucket",
|
Operation: "HeadBucket",
|
||||||
|
@ -70,6 +78,10 @@ func (c *S3) WaitUntilBucketNotExists(input *HeadBucketInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *S3) WaitUntilObjectExists(input *HeadObjectInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "HeadObject",
|
Operation: "HeadObject",
|
||||||
|
@ -99,6 +111,10 @@ func (c *S3) WaitUntilObjectExists(input *HeadObjectInput) error {
|
||||||
return w.Wait()
|
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 {
|
func (c *S3) WaitUntilObjectNotExists(input *HeadObjectInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "HeadObject",
|
Operation: "HeadObject",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,10 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/private/waiter"
|
"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 {
|
func (c *SES) WaitUntilIdentityExists(input *GetIdentityVerificationAttributesInput) error {
|
||||||
waiterCfg := waiter.Config{
|
waiterCfg := waiter.Config{
|
||||||
Operation: "GetIdentityVerificationAttributes",
|
Operation: "GetIdentityVerificationAttributes",
|
||||||
|
|
|
@ -19,6 +19,8 @@ const opBatchDeleteAttributes = "BatchDeleteAttributes"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See BatchDeleteAttributes for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -55,6 +57,8 @@ func (c *SimpleDB) BatchDeleteAttributesRequest(input *BatchDeleteAttributesInpu
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// BatchDeleteAttributes API operation for Amazon SimpleDB.
|
||||||
|
//
|
||||||
// Performs multiple DeleteAttributes operations in a single call, which reduces
|
// Performs multiple DeleteAttributes operations in a single call, which reduces
|
||||||
// round trips and latencies. This enables Amazon SimpleDB to optimize requests,
|
// round trips and latencies. This enables Amazon SimpleDB to optimize requests,
|
||||||
// which generally yields better throughput.
|
// 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
|
// The following limitations are enforced for this operation: 1 MB request
|
||||||
// size 25 item limit per BatchDeleteAttributes operation
|
// 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) {
|
func (c *SimpleDB) BatchDeleteAttributes(input *BatchDeleteAttributesInput) (*BatchDeleteAttributesOutput, error) {
|
||||||
req, out := c.BatchDeleteAttributesRequest(input)
|
req, out := c.BatchDeleteAttributesRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -91,6 +102,8 @@ const opBatchPutAttributes = "BatchPutAttributes"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See BatchPutAttributes for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// BatchPutAttributes API operation for Amazon SimpleDB.
|
||||||
|
//
|
||||||
// The BatchPutAttributes operation creates or replaces attributes within one
|
// The BatchPutAttributes operation creates or replaces attributes within one
|
||||||
// or more items. By using this operation, the client can perform multiple PutAttribute
|
// 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
|
// 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
|
// 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
|
// 10 GB of total user data storage per domain 25 item limit per BatchPutAttributes
|
||||||
// operation
|
// 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) {
|
func (c *SimpleDB) BatchPutAttributes(input *BatchPutAttributesInput) (*BatchPutAttributesOutput, error) {
|
||||||
req, out := c.BatchPutAttributesRequest(input)
|
req, out := c.BatchPutAttributesRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -181,6 +232,8 @@ const opCreateDomain = "CreateDomain"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See CreateDomain for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CreateDomain API operation for Amazon SimpleDB.
|
||||||
|
//
|
||||||
// The CreateDomain operation creates a new domain. The domain name should be
|
// 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
|
// 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.
|
// 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/
|
// 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/).
|
// (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) {
|
func (c *SimpleDB) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) {
|
||||||
req, out := c.CreateDomainRequest(input)
|
req, out := c.CreateDomainRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -240,6 +313,8 @@ const opDeleteAttributes = "DeleteAttributes"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DeleteAttributes for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeleteAttributes API operation for Amazon SimpleDB.
|
||||||
|
//
|
||||||
// Deletes one or more attributes associated with an item. If all attributes
|
// Deletes one or more attributes associated with an item. If all attributes
|
||||||
// of the item are deleted, the item is deleted.
|
// 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
|
// eventual consistency update model, performing a GetAttributes or Select operation
|
||||||
// (read) immediately after a DeleteAttributes or PutAttributes operation (write)
|
// (read) immediately after a DeleteAttributes or PutAttributes operation (write)
|
||||||
// might not return updated item data.
|
// 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) {
|
func (c *SimpleDB) DeleteAttributes(input *DeleteAttributesInput) (*DeleteAttributesOutput, error) {
|
||||||
req, out := c.DeleteAttributesRequest(input)
|
req, out := c.DeleteAttributesRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -301,6 +399,8 @@ const opDeleteDomain = "DeleteDomain"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DeleteDomain for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeleteDomain API operation for Amazon SimpleDB.
|
||||||
|
//
|
||||||
// The DeleteDomain operation deletes a domain. Any items (and their attributes)
|
// The DeleteDomain operation deletes a domain. Any items (and their attributes)
|
||||||
// in the domain are deleted as well. The DeleteDomain operation might take
|
// in the domain are deleted as well. The DeleteDomain operation might take
|
||||||
// 10 or more seconds to complete.
|
// 10 or more seconds to complete.
|
||||||
//
|
//
|
||||||
// Running DeleteDomain on a domain that does not exist or running the function
|
// 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.
|
// 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) {
|
func (c *SimpleDB) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) {
|
||||||
req, out := c.DeleteDomainRequest(input)
|
req, out := c.DeleteDomainRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -356,6 +470,8 @@ const opDomainMetadata = "DomainMetadata"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DomainMetadata for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DomainMetadata API operation for Amazon SimpleDB.
|
||||||
|
//
|
||||||
// Returns information about the domain, including when the domain was created,
|
// 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
|
// the number of items and attributes in the domain, and the size of the attribute
|
||||||
// names and values.
|
// 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) {
|
func (c *SimpleDB) DomainMetadata(input *DomainMetadataInput) (*DomainMetadataOutput, error) {
|
||||||
req, out := c.DomainMetadataRequest(input)
|
req, out := c.DomainMetadataRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -406,6 +539,8 @@ const opGetAttributes = "GetAttributes"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See GetAttributes for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetAttributes API operation for Amazon SimpleDB.
|
||||||
|
//
|
||||||
// Returns all of the attributes associated with the specified item. Optionally,
|
// Returns all of the attributes associated with the specified item. Optionally,
|
||||||
// the attributes returned can be limited to one or more attributes by specifying
|
// the attributes returned can be limited to one or more attributes by specifying
|
||||||
// an attribute name parameter.
|
// 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
|
// If GetAttributes is called without being passed any attribute names, all
|
||||||
// the attributes for the item are returned.
|
// 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) {
|
func (c *SimpleDB) GetAttributes(input *GetAttributesInput) (*GetAttributesOutput, error) {
|
||||||
req, out := c.GetAttributesRequest(input)
|
req, out := c.GetAttributesRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -463,6 +618,8 @@ const opListDomains = "ListDomains"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See ListDomains for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ListDomains API operation for Amazon SimpleDB.
|
||||||
|
//
|
||||||
// The ListDomains operation lists all domains associated with the Access Key
|
// The ListDomains operation lists all domains associated with the Access Key
|
||||||
// ID. It returns domain names up to the limit set by MaxNumberOfDomains (#MaxNumberOfDomains).
|
// ID. It returns domain names up to the limit set by MaxNumberOfDomains (#MaxNumberOfDomains).
|
||||||
// A NextToken (#NextToken) is returned if there are more than MaxNumberOfDomains
|
// A NextToken (#NextToken) is returned if there are more than MaxNumberOfDomains
|
||||||
// domains. Calling ListDomains successive times with the NextToken provided
|
// domains. Calling ListDomains successive times with the NextToken provided
|
||||||
// by the operation returns up to MaxNumberOfDomains more domain names with
|
// by the operation returns up to MaxNumberOfDomains more domain names with
|
||||||
// each successive operation call.
|
// 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) {
|
func (c *SimpleDB) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) {
|
||||||
req, out := c.ListDomainsRequest(input)
|
req, out := c.ListDomainsRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -547,6 +721,8 @@ const opPutAttributes = "PutAttributes"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See PutAttributes for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// PutAttributes API operation for Amazon SimpleDB.
|
||||||
|
//
|
||||||
// The PutAttributes operation creates or replaces attributes in an item. The
|
// The PutAttributes operation creates or replaces attributes in an item. The
|
||||||
// client may specify new attributes using a combination of the Attribute.X.Name
|
// client may specify new attributes using a combination of the Attribute.X.Name
|
||||||
// and Attribute.X.Value parameters. The client specifies the first attribute
|
// 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
|
// 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
|
// name-value pairs per item One billion attributes per domain 10 GB of total
|
||||||
// user data storage per domain
|
// 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) {
|
func (c *SimpleDB) PutAttributes(input *PutAttributesInput) (*PutAttributesOutput, error) {
|
||||||
req, out := c.PutAttributesRequest(input)
|
req, out := c.PutAttributesRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -627,6 +835,8 @@ const opSelect = "Select"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See Select for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Select API operation for Amazon SimpleDB.
|
||||||
|
//
|
||||||
// The Select operation returns a set of attributes for ItemNames that match
|
// The Select operation returns a set of attributes for ItemNames that match
|
||||||
// the select expression. Select is similar to the standard SQL SELECT statement.
|
// 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
|
// For information on how to construct select expressions, see Using Select
|
||||||
// to Create Amazon SimpleDB Queries in the Developer Guide.
|
// 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) {
|
func (c *SimpleDB) Select(input *SelectInput) (*SelectOutput, error) {
|
||||||
req, out := c.SelectRequest(input)
|
req, out := c.SelectRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -717,9 +966,13 @@ type Attribute struct {
|
||||||
AlternateValueEncoding *string `type:"string"`
|
AlternateValueEncoding *string `type:"string"`
|
||||||
|
|
||||||
// The name of the attribute.
|
// The name of the attribute.
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `type:"string" required:"true"`
|
Name *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The value of the attribute.
|
// The value of the attribute.
|
||||||
|
//
|
||||||
|
// Value is a required field
|
||||||
Value *string `type:"string" required:"true"`
|
Value *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -737,9 +990,13 @@ type BatchDeleteAttributesInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the domain in which the attributes are being deleted.
|
// The name of the domain in which the attributes are being deleted.
|
||||||
|
//
|
||||||
|
// DomainName is a required field
|
||||||
DomainName *string `type:"string" required:"true"`
|
DomainName *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// A list of items on which to perform the operation.
|
// 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"`
|
Items []*DeletableItem `locationNameList:"Item" type:"list" flattened:"true" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -797,9 +1054,13 @@ type BatchPutAttributesInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the domain in which the attributes are being stored.
|
// The name of the domain in which the attributes are being stored.
|
||||||
|
//
|
||||||
|
// DomainName is a required field
|
||||||
DomainName *string `type:"string" required:"true"`
|
DomainName *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// A list of items on which to perform the operation.
|
// 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"`
|
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
|
// 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 '.'.
|
// and can contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'.
|
||||||
|
//
|
||||||
|
// DomainName is a required field
|
||||||
DomainName *string `type:"string" required:"true"`
|
DomainName *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -902,6 +1165,8 @@ type DeletableAttribute struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the attribute.
|
// The name of the attribute.
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `type:"string" required:"true"`
|
Name *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The value of the attribute.
|
// The value of the attribute.
|
||||||
|
@ -936,6 +1201,7 @@ type DeletableItem struct {
|
||||||
|
|
||||||
Attributes []*DeletableAttribute `locationNameList:"Attribute" type:"list" flattened:"true"`
|
Attributes []*DeletableAttribute `locationNameList:"Attribute" type:"list" flattened:"true"`
|
||||||
|
|
||||||
|
// Name is a required field
|
||||||
Name *string `locationName:"ItemName" type:"string" required:"true"`
|
Name *string `locationName:"ItemName" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -980,6 +1246,8 @@ type DeleteAttributesInput struct {
|
||||||
Attributes []*DeletableAttribute `locationNameList:"Attribute" type:"list" flattened:"true"`
|
Attributes []*DeletableAttribute `locationNameList:"Attribute" type:"list" flattened:"true"`
|
||||||
|
|
||||||
// The name of the domain in which to perform the operation.
|
// The name of the domain in which to perform the operation.
|
||||||
|
//
|
||||||
|
// DomainName is a required field
|
||||||
DomainName *string `type:"string" required:"true"`
|
DomainName *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The update condition which, if specified, determines whether the specified
|
// 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
|
// The name of the item. Similar to rows on a spreadsheet, items represent individual
|
||||||
// objects that contain one or more value-attribute pairs.
|
// objects that contain one or more value-attribute pairs.
|
||||||
|
//
|
||||||
|
// ItemName is a required field
|
||||||
ItemName *string `type:"string" required:"true"`
|
ItemName *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1046,6 +1316,8 @@ type DeleteDomainInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the domain to delete.
|
// The name of the domain to delete.
|
||||||
|
//
|
||||||
|
// DomainName is a required field
|
||||||
DomainName *string `type:"string" required:"true"`
|
DomainName *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1090,6 +1362,8 @@ type DomainMetadataInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the domain for which to display the metadata of.
|
// The name of the domain for which to display the metadata of.
|
||||||
|
//
|
||||||
|
// DomainName is a required field
|
||||||
DomainName *string `type:"string" required:"true"`
|
DomainName *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1164,9 +1438,13 @@ type GetAttributesInput struct {
|
||||||
ConsistentRead *bool `type:"boolean"`
|
ConsistentRead *bool `type:"boolean"`
|
||||||
|
|
||||||
// The name of the domain in which to perform the operation.
|
// The name of the domain in which to perform the operation.
|
||||||
|
//
|
||||||
|
// DomainName is a required field
|
||||||
DomainName *string `type:"string" required:"true"`
|
DomainName *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The name of the item.
|
// The name of the item.
|
||||||
|
//
|
||||||
|
// ItemName is a required field
|
||||||
ItemName *string `type:"string" required:"true"`
|
ItemName *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1219,9 +1497,13 @@ type Item struct {
|
||||||
AlternateNameEncoding *string `type:"string"`
|
AlternateNameEncoding *string `type:"string"`
|
||||||
|
|
||||||
// A list of attributes.
|
// A list of attributes.
|
||||||
|
//
|
||||||
|
// Attributes is a required field
|
||||||
Attributes []*Attribute `locationNameList:"Attribute" type:"list" flattened:"true" required:"true"`
|
Attributes []*Attribute `locationNameList:"Attribute" type:"list" flattened:"true" required:"true"`
|
||||||
|
|
||||||
// The name of the item.
|
// The name of the item.
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `type:"string" required:"true"`
|
Name *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1282,9 +1564,13 @@ type PutAttributesInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The list of attributes.
|
// The list of attributes.
|
||||||
|
//
|
||||||
|
// Attributes is a required field
|
||||||
Attributes []*ReplaceableAttribute `locationNameList:"Attribute" type:"list" flattened:"true" required:"true"`
|
Attributes []*ReplaceableAttribute `locationNameList:"Attribute" type:"list" flattened:"true" required:"true"`
|
||||||
|
|
||||||
// The name of the domain in which to perform the operation.
|
// The name of the domain in which to perform the operation.
|
||||||
|
//
|
||||||
|
// DomainName is a required field
|
||||||
DomainName *string `type:"string" required:"true"`
|
DomainName *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The update condition which, if specified, determines whether the specified
|
// The update condition which, if specified, determines whether the specified
|
||||||
|
@ -1293,6 +1579,8 @@ type PutAttributesInput struct {
|
||||||
Expected *UpdateCondition `type:"structure"`
|
Expected *UpdateCondition `type:"structure"`
|
||||||
|
|
||||||
// The name of the item.
|
// The name of the item.
|
||||||
|
//
|
||||||
|
// ItemName is a required field
|
||||||
ItemName *string `type:"string" required:"true"`
|
ItemName *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1353,6 +1641,8 @@ type ReplaceableAttribute struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The name of the replaceable attribute.
|
// The name of the replaceable attribute.
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `type:"string" required:"true"`
|
Name *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// A flag specifying whether or not to replace the attribute/value pair or to
|
// 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"`
|
Replace *bool `type:"boolean"`
|
||||||
|
|
||||||
// The value of the replaceable attribute.
|
// The value of the replaceable attribute.
|
||||||
|
//
|
||||||
|
// Value is a required field
|
||||||
Value *string `type:"string" required:"true"`
|
Value *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1393,9 +1685,13 @@ type ReplaceableItem struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The list of attributes for a replaceable item.
|
// The list of attributes for a replaceable item.
|
||||||
|
//
|
||||||
|
// Attributes is a required field
|
||||||
Attributes []*ReplaceableAttribute `locationNameList:"Attribute" type:"list" flattened:"true" required:"true"`
|
Attributes []*ReplaceableAttribute `locationNameList:"Attribute" type:"list" flattened:"true" required:"true"`
|
||||||
|
|
||||||
// The name of the replaceable item.
|
// The name of the replaceable item.
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `locationName:"ItemName" type:"string" required:"true"`
|
Name *string `locationName:"ItemName" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1448,6 +1744,8 @@ type SelectInput struct {
|
||||||
NextToken *string `type:"string"`
|
NextToken *string `type:"string"`
|
||||||
|
|
||||||
// The expression used to query the domain.
|
// The expression used to query the domain.
|
||||||
|
//
|
||||||
|
// SelectExpression is a required field
|
||||||
SelectExpression *string `type:"string" required:"true"`
|
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
|
@ -17,6 +17,8 @@ const opAssumeRole = "AssumeRole"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See AssumeRole for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// AssumeRole API operation for AWS Security Token Service.
|
||||||
|
//
|
||||||
// Returns a set of temporary security credentials (consisting of an access
|
// 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
|
// 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
|
// 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
|
// parameters. The SerialNumber value identifies the user's hardware or virtual
|
||||||
// MFA device. The TokenCode is the time-based one-time password (TOTP) that
|
// MFA device. The TokenCode is the time-based one-time password (TOTP) that
|
||||||
// the MFA devices produces.
|
// 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) {
|
func (c *STS) AssumeRole(input *AssumeRoleInput) (*AssumeRoleOutput, error) {
|
||||||
req, out := c.AssumeRoleRequest(input)
|
req, out := c.AssumeRoleRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -153,6 +182,8 @@ const opAssumeRoleWithSAML = "AssumeRoleWithSAML"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See AssumeRoleWithSAML for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// AssumeRoleWithSAML API operation for AWS Security Token Service.
|
||||||
|
//
|
||||||
// Returns a set of temporary security credentials for users who have been authenticated
|
// Returns a set of temporary security credentials for users who have been authenticated
|
||||||
// via a SAML authentication response. This operation provides a mechanism for
|
// via a SAML authentication response. This operation provides a mechanism for
|
||||||
// tying an enterprise identity store or directory to role-based AWS access
|
// 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)
|
// 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.
|
// 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) {
|
func (c *STS) AssumeRoleWithSAML(input *AssumeRoleWithSAMLInput) (*AssumeRoleWithSAMLOutput, error) {
|
||||||
req, out := c.AssumeRoleWithSAMLRequest(input)
|
req, out := c.AssumeRoleWithSAMLRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -267,6 +340,8 @@ const opAssumeRoleWithWebIdentity = "AssumeRoleWithWebIdentity"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See AssumeRoleWithWebIdentity for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -301,6 +376,8 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// AssumeRoleWithWebIdentity API operation for AWS Security Token Service.
|
||||||
|
//
|
||||||
// Returns a set of temporary security credentials for users who have been authenticated
|
// 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
|
// 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
|
// 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).
|
// Web Identity Federation with Mobile Applications (http://aws.amazon.com/articles/4617974389850313).
|
||||||
// This article discusses web identity federation and shows an example of how
|
// 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.
|
// 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) {
|
func (c *STS) AssumeRoleWithWebIdentity(input *AssumeRoleWithWebIdentityInput) (*AssumeRoleWithWebIdentityOutput, error) {
|
||||||
req, out := c.AssumeRoleWithWebIdentityRequest(input)
|
req, out := c.AssumeRoleWithWebIdentityRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -399,6 +523,8 @@ const opDecodeAuthorizationMessage = "DecodeAuthorizationMessage"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See DecodeAuthorizationMessage for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// access properties on the request object before or after sending the request. If
|
||||||
|
@ -433,6 +559,8 @@ func (c *STS) DecodeAuthorizationMessageRequest(input *DecodeAuthorizationMessag
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DecodeAuthorizationMessage API operation for AWS Security Token Service.
|
||||||
|
//
|
||||||
// Decodes additional information about the authorization status of a request
|
// Decodes additional information about the authorization status of a request
|
||||||
// from an encoded message returned in response to an AWS 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 requested resource.
|
||||||
//
|
//
|
||||||
// The values of condition keys in the context of the user's request.
|
// 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) {
|
func (c *STS) DecodeAuthorizationMessage(input *DecodeAuthorizationMessageInput) (*DecodeAuthorizationMessageOutput, error) {
|
||||||
req, out := c.DecodeAuthorizationMessageRequest(input)
|
req, out := c.DecodeAuthorizationMessageRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -478,6 +620,8 @@ const opGetCallerIdentity = "GetCallerIdentity"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See GetCallerIdentity for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetCallerIdentity API operation for AWS Security Token Service.
|
||||||
|
//
|
||||||
// Returns details about the IAM identity whose credentials are used to call
|
// Returns details about the IAM identity whose credentials are used to call
|
||||||
// the API.
|
// 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) {
|
func (c *STS) GetCallerIdentity(input *GetCallerIdentityInput) (*GetCallerIdentityOutput, error) {
|
||||||
req, out := c.GetCallerIdentityRequest(input)
|
req, out := c.GetCallerIdentityRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -527,6 +680,8 @@ const opGetFederationToken = "GetFederationToken"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See GetFederationToken for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetFederationToken API operation for AWS Security Token Service.
|
||||||
|
//
|
||||||
// Returns a set of temporary security credentials (consisting of an access
|
// 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.
|
// 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
|
// 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
|
// For information about using GetFederationToken to create temporary security
|
||||||
// credentials, see GetFederationToken—Federation Through a Custom Identity
|
// credentials, see GetFederationToken—Federation Through a Custom Identity
|
||||||
// Broker (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_getfederationtoken).
|
// 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) {
|
func (c *STS) GetFederationToken(input *GetFederationTokenInput) (*GetFederationTokenOutput, error) {
|
||||||
req, out := c.GetFederationTokenRequest(input)
|
req, out := c.GetFederationTokenRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -652,6 +834,8 @@ const opGetSessionToken = "GetSessionToken"
|
||||||
// value can be used to capture response data after the request's "Send" method
|
// value can be used to capture response data after the request's "Send" method
|
||||||
// is called.
|
// is called.
|
||||||
//
|
//
|
||||||
|
// See GetSessionToken for usage and error information.
|
||||||
|
//
|
||||||
// Creating a request object using this method should be used when you want to inject
|
// 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
|
// 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
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetSessionToken API operation for AWS Security Token Service.
|
||||||
|
//
|
||||||
// Returns a set of temporary credentials for an AWS account or IAM user. The
|
// 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
|
// 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
|
// 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,
|
// 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)
|
// 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.
|
// 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) {
|
func (c *STS) GetSessionToken(input *GetSessionTokenInput) (*GetSessionTokenOutput, error) {
|
||||||
req, out := c.GetSessionTokenRequest(input)
|
req, out := c.GetSessionTokenRequest(input)
|
||||||
err := req.Send()
|
err := req.Send()
|
||||||
|
@ -797,6 +999,8 @@ type AssumeRoleInput struct {
|
||||||
Policy *string `min:"1" type:"string"`
|
Policy *string `min:"1" type:"string"`
|
||||||
|
|
||||||
// The Amazon Resource Name (ARN) of the role to assume.
|
// The Amazon Resource Name (ARN) of the role to assume.
|
||||||
|
//
|
||||||
|
// RoleArn is a required field
|
||||||
RoleArn *string `min:"20" type:"string" required:"true"`
|
RoleArn *string `min:"20" type:"string" required:"true"`
|
||||||
|
|
||||||
// An identifier for the assumed role session.
|
// An identifier for the assumed role session.
|
||||||
|
@ -813,6 +1017,8 @@ type AssumeRoleInput struct {
|
||||||
// of characters consisting of upper- and lower-case alphanumeric characters
|
// of characters consisting of upper- and lower-case alphanumeric characters
|
||||||
// with no spaces. You can also include underscores or any of the following
|
// with no spaces. You can also include underscores or any of the following
|
||||||
// characters: =,.@-
|
// characters: =,.@-
|
||||||
|
//
|
||||||
|
// RoleSessionName is a required field
|
||||||
RoleSessionName *string `min:"2" type:"string" required:"true"`
|
RoleSessionName *string `min:"2" type:"string" required:"true"`
|
||||||
|
|
||||||
// The identification number of the MFA device that is associated with the user
|
// 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 Amazon Resource Name (ARN) of the SAML provider in IAM that describes
|
||||||
// the IdP.
|
// the IdP.
|
||||||
|
//
|
||||||
|
// PrincipalArn is a required field
|
||||||
PrincipalArn *string `min:"20" type:"string" required:"true"`
|
PrincipalArn *string `min:"20" type:"string" required:"true"`
|
||||||
|
|
||||||
// The Amazon Resource Name (ARN) of the role that the caller is assuming.
|
// 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"`
|
RoleArn *string `min:"20" type:"string" required:"true"`
|
||||||
|
|
||||||
// The base-64 encoded SAML authentication response provided by the IdP.
|
// 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
|
// 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)
|
// (http://docs.aws.amazon.com/IAM/latest/UserGuide/create-role-saml-IdP-tasks.html)
|
||||||
// in the Using IAM guide.
|
// in the Using IAM guide.
|
||||||
|
//
|
||||||
|
// SAMLAssertion is a required field
|
||||||
SAMLAssertion *string `min:"4" type:"string" required:"true"`
|
SAMLAssertion *string `min:"4" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1140,6 +1352,8 @@ type AssumeRoleWithWebIdentityInput struct {
|
||||||
ProviderId *string `min:"4" type:"string"`
|
ProviderId *string `min:"4" type:"string"`
|
||||||
|
|
||||||
// The Amazon Resource Name (ARN) of the role that the caller is assuming.
|
// 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"`
|
RoleArn *string `min:"20" type:"string" required:"true"`
|
||||||
|
|
||||||
// An identifier for the assumed role session. Typically, you pass the name
|
// 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
|
// of characters consisting of upper- and lower-case alphanumeric characters
|
||||||
// with no spaces. You can also include underscores or any of the following
|
// with no spaces. You can also include underscores or any of the following
|
||||||
// characters: =,.@-
|
// characters: =,.@-
|
||||||
|
//
|
||||||
|
// RoleSessionName is a required field
|
||||||
RoleSessionName *string `min:"2" type:"string" required:"true"`
|
RoleSessionName *string `min:"2" type:"string" required:"true"`
|
||||||
|
|
||||||
// The OAuth 2.0 access token or OpenID Connect ID token that is provided by
|
// 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 identity provider. Your application must get this token by authenticating
|
||||||
// the user who is using your application with a web identity provider before
|
// the user who is using your application with a web identity provider before
|
||||||
// the application makes an AssumeRoleWithWebIdentity call.
|
// the application makes an AssumeRoleWithWebIdentity call.
|
||||||
|
//
|
||||||
|
// WebIdentityToken is a required field
|
||||||
WebIdentityToken *string `min:"4" type:"string" required:"true"`
|
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
|
// 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)
|
// policies, see IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html)
|
||||||
// in Using IAM.
|
// in Using IAM.
|
||||||
|
//
|
||||||
|
// Arn is a required field
|
||||||
Arn *string `min:"20" type:"string" required:"true"`
|
Arn *string `min:"20" type:"string" required:"true"`
|
||||||
|
|
||||||
// A unique identifier that contains the role ID and the role session name of
|
// 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
|
// the role that is being assumed. The role ID is generated by AWS when the
|
||||||
// role is created.
|
// role is created.
|
||||||
|
//
|
||||||
|
// AssumedRoleId is a required field
|
||||||
AssumedRoleId *string `min:"2" type:"string" required:"true"`
|
AssumedRoleId *string `min:"2" type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1296,15 +1518,23 @@ type Credentials struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The access key ID that identifies the temporary security credentials.
|
// The access key ID that identifies the temporary security credentials.
|
||||||
|
//
|
||||||
|
// AccessKeyId is a required field
|
||||||
AccessKeyId *string `min:"16" type:"string" required:"true"`
|
AccessKeyId *string `min:"16" type:"string" required:"true"`
|
||||||
|
|
||||||
// The date on which the current credentials expire.
|
// The date on which the current credentials expire.
|
||||||
|
//
|
||||||
|
// Expiration is a required field
|
||||||
Expiration *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
|
Expiration *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
|
||||||
|
|
||||||
// The secret access key that can be used to sign requests.
|
// The secret access key that can be used to sign requests.
|
||||||
|
//
|
||||||
|
// SecretAccessKey is a required field
|
||||||
SecretAccessKey *string `type:"string" required:"true"`
|
SecretAccessKey *string `type:"string" required:"true"`
|
||||||
|
|
||||||
// The token that users must pass to the service API to use the temporary credentials.
|
// 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"`
|
SessionToken *string `type:"string" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1322,6 +1552,8 @@ type DecodeAuthorizationMessageInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The encoded message that was returned with the response.
|
// The encoded message that was returned with the response.
|
||||||
|
//
|
||||||
|
// EncodedMessage is a required field
|
||||||
EncodedMessage *string `min:"1" type:"string" required:"true"`
|
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
|
// 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)
|
// Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html)
|
||||||
// in Using IAM.
|
// in Using IAM.
|
||||||
|
//
|
||||||
|
// Arn is a required field
|
||||||
Arn *string `min:"20" type:"string" required:"true"`
|
Arn *string `min:"20" type:"string" required:"true"`
|
||||||
|
|
||||||
// The string that identifies the federated user associated with the credentials,
|
// The string that identifies the federated user associated with the credentials,
|
||||||
// similar to the unique ID of an IAM user.
|
// similar to the unique ID of an IAM user.
|
||||||
|
//
|
||||||
|
// FederatedUserId is a required field
|
||||||
FederatedUserId *string `min:"2" type:"string" required:"true"`
|
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
|
// of characters consisting of upper- and lower-case alphanumeric characters
|
||||||
// with no spaces. You can also include underscores or any of the following
|
// with no spaces. You can also include underscores or any of the following
|
||||||
// characters: =,.@-
|
// characters: =,.@-
|
||||||
|
//
|
||||||
|
// Name is a required field
|
||||||
Name *string `min:"2" type:"string" required:"true"`
|
Name *string `min:"2" type:"string" required:"true"`
|
||||||
|
|
||||||
// An IAM policy in JSON format that is passed with the GetFederationToken call
|
// An IAM policy in JSON format that is passed with the GetFederationToken call
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -335,572 +335,430 @@
|
||||||
"revision": "4239b77079c7b5d1243b7b4736304ce8ddb6f0f2"
|
"revision": "4239b77079c7b5d1243b7b4736304ce8ddb6f0f2"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "QX3gcUY0fj5Mj+h3US/JnC7/dDE=",
|
"checksumSHA1": "uUzIcEqMK3TgBylPKg04v+PTWDk=",
|
||||||
"path": "github.com/aws/aws-sdk-go",
|
"path": "github.com/aws/aws-sdk-go",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "dq1GRxE/Qsvp1pawHFQ3vaFoYX4=",
|
"checksumSHA1": "nGJsEKW1/7cQKGlYCuX3XwUhUmM=",
|
||||||
"path": "github.com/aws/aws-sdk-go/aws",
|
"path": "github.com/aws/aws-sdk-go/aws",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "Y9W+4GimK4Fuxq+vyIskVYFRnX4=",
|
"checksumSHA1": "Y9W+4GimK4Fuxq+vyIskVYFRnX4=",
|
||||||
"path": "github.com/aws/aws-sdk-go/aws/awserr",
|
"path": "github.com/aws/aws-sdk-go/aws/awserr",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "+q4vdl3l1Wom8K1wfIpJ4jlFsbY=",
|
"checksumSHA1": "+q4vdl3l1Wom8K1wfIpJ4jlFsbY=",
|
||||||
"path": "github.com/aws/aws-sdk-go/aws/awsutil",
|
"path": "github.com/aws/aws-sdk-go/aws/awsutil",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "/232RBWA3KnT7U+wciPS2+wmvR0=",
|
"checksumSHA1": "/232RBWA3KnT7U+wciPS2+wmvR0=",
|
||||||
"path": "github.com/aws/aws-sdk-go/aws/client",
|
"path": "github.com/aws/aws-sdk-go/aws/client",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "ieAJ+Cvp/PKv1LpUEnUXpc3OI6E=",
|
"checksumSHA1": "ieAJ+Cvp/PKv1LpUEnUXpc3OI6E=",
|
||||||
"path": "github.com/aws/aws-sdk-go/aws/client/metadata",
|
"path": "github.com/aws/aws-sdk-go/aws/client/metadata",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "c1N3Loy3AS9zD+m5CzpPNAED39U=",
|
"checksumSHA1": "c1N3Loy3AS9zD+m5CzpPNAED39U=",
|
||||||
"path": "github.com/aws/aws-sdk-go/aws/corehandlers",
|
"path": "github.com/aws/aws-sdk-go/aws/corehandlers",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "dNZNaOPfBPnzE2CBnfhXXZ9g9jU=",
|
"checksumSHA1": "zu5C95rmCZff6NYZb62lEaT5ibE=",
|
||||||
"path": "github.com/aws/aws-sdk-go/aws/credentials",
|
"path": "github.com/aws/aws-sdk-go/aws/credentials",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "KQiUK/zr3mqnAXD7x/X55/iNme0=",
|
"checksumSHA1": "KQiUK/zr3mqnAXD7x/X55/iNme0=",
|
||||||
"path": "github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds",
|
"path": "github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "NUJUTWlc1sV8b7WjfiYc4JZbXl0=",
|
"checksumSHA1": "NUJUTWlc1sV8b7WjfiYc4JZbXl0=",
|
||||||
"path": "github.com/aws/aws-sdk-go/aws/credentials/endpointcreds",
|
"path": "github.com/aws/aws-sdk-go/aws/credentials/endpointcreds",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "4Ipx+5xN0gso+cENC2MHMWmQlR4=",
|
"checksumSHA1": "4Ipx+5xN0gso+cENC2MHMWmQlR4=",
|
||||||
"path": "github.com/aws/aws-sdk-go/aws/credentials/stscreds",
|
"path": "github.com/aws/aws-sdk-go/aws/credentials/stscreds",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "DwhFsNluCFEwqzyp3hbJR3q2Wqs=",
|
"checksumSHA1": "DwhFsNluCFEwqzyp3hbJR3q2Wqs=",
|
||||||
"path": "github.com/aws/aws-sdk-go/aws/defaults",
|
"path": "github.com/aws/aws-sdk-go/aws/defaults",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "8E0fEBUJY/1lJOyVxzTxMGQGInk=",
|
"checksumSHA1": "8E0fEBUJY/1lJOyVxzTxMGQGInk=",
|
||||||
"path": "github.com/aws/aws-sdk-go/aws/ec2metadata",
|
"path": "github.com/aws/aws-sdk-go/aws/ec2metadata",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "5Ac22YMTBmrX/CXaEIXzWljr8UY=",
|
"checksumSHA1": "5Ac22YMTBmrX/CXaEIXzWljr8UY=",
|
||||||
"path": "github.com/aws/aws-sdk-go/aws/request",
|
"path": "github.com/aws/aws-sdk-go/aws/request",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "BXuya7NrVg2BtHOM4ED5zAwDkg4=",
|
"checksumSHA1": "AFcUmKIbqHEKLdNMYB8ubtT+FHA=",
|
||||||
"path": "github.com/aws/aws-sdk-go/aws/session",
|
"path": "github.com/aws/aws-sdk-go/aws/session",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "OgyO1NRszPKURsDpob+zxUR157A=",
|
"checksumSHA1": "diXvBs1LRC0RJ9WK6sllWKdzC04=",
|
||||||
"path": "github.com/aws/aws-sdk-go/aws/signer/v4",
|
"path": "github.com/aws/aws-sdk-go/aws/signer/v4",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "Bm6UrYb2QCzpYseLwwgw6aetgRc=",
|
"checksumSHA1": "3I/Ty6X9m2NQFPYTrSf4Pdf4cfk=",
|
||||||
"path": "github.com/aws/aws-sdk-go/private/endpoints",
|
"path": "github.com/aws/aws-sdk-go/private/endpoints",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "wk7EyvDaHwb5qqoOP/4d3cV0708=",
|
"checksumSHA1": "wk7EyvDaHwb5qqoOP/4d3cV0708=",
|
||||||
"path": "github.com/aws/aws-sdk-go/private/protocol",
|
"path": "github.com/aws/aws-sdk-go/private/protocol",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "uNmSKXAF8B9HWEciW+iyUwZ99qQ=",
|
"checksumSHA1": "1QmQ3FqV37w0Zi44qv8pA1GeR0A=",
|
||||||
"path": "github.com/aws/aws-sdk-go/private/protocol/ec2query",
|
"path": "github.com/aws/aws-sdk-go/private/protocol/ec2query",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "pNeF0Ey7TfBArH5LBQhKOQXQbLY=",
|
"checksumSHA1": "pNeF0Ey7TfBArH5LBQhKOQXQbLY=",
|
||||||
"path": "github.com/aws/aws-sdk-go/private/protocol/json/jsonutil",
|
"path": "github.com/aws/aws-sdk-go/private/protocol/json/jsonutil",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "H9TymcQkQnXSXSVfjggiiS4bpzM=",
|
"checksumSHA1": "R00RL5jJXRYq1iiK1+PGvMfvXyM=",
|
||||||
"path": "github.com/aws/aws-sdk-go/private/protocol/jsonrpc",
|
"path": "github.com/aws/aws-sdk-go/private/protocol/jsonrpc",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "isoix7lTx4qIq2zI2xFADtti5SI=",
|
"checksumSHA1": "ZqY5RWavBLWTo6j9xqdyBEaNFRk=",
|
||||||
"path": "github.com/aws/aws-sdk-go/private/protocol/query",
|
"path": "github.com/aws/aws-sdk-go/private/protocol/query",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "5xzix1R8prUyWxgLnzUQoxTsfik=",
|
"checksumSHA1": "5xzix1R8prUyWxgLnzUQoxTsfik=",
|
||||||
"path": "github.com/aws/aws-sdk-go/private/protocol/query/queryutil",
|
"path": "github.com/aws/aws-sdk-go/private/protocol/query/queryutil",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "TW/7U+/8ormL7acf6z2rv2hDD+s=",
|
"checksumSHA1": "TW/7U+/8ormL7acf6z2rv2hDD+s=",
|
||||||
"path": "github.com/aws/aws-sdk-go/private/protocol/rest",
|
"path": "github.com/aws/aws-sdk-go/private/protocol/rest",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "oUOTWZIpPJiGjc9p/hntdBDvS10=",
|
"checksumSHA1": "Rpu8KBtHZgvhkwHxUfaky+qW+G4=",
|
||||||
"path": "github.com/aws/aws-sdk-go/private/protocol/restjson",
|
"path": "github.com/aws/aws-sdk-go/private/protocol/restjson",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "Y6Db2GGfGD9LPpcJIPj8vXE8BbQ=",
|
"checksumSHA1": "ODo+ko8D6unAxZuN1jGzMcN4QCc=",
|
||||||
"path": "github.com/aws/aws-sdk-go/private/protocol/restxml",
|
"path": "github.com/aws/aws-sdk-go/private/protocol/restxml",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "eUEkjyMPAuekKBE4ou+nM9tXEas=",
|
"checksumSHA1": "eUEkjyMPAuekKBE4ou+nM9tXEas=",
|
||||||
"path": "github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil",
|
"path": "github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "F6mth+G7dXN1GI+nktaGo8Lx8aE=",
|
"checksumSHA1": "F6mth+G7dXN1GI+nktaGo8Lx8aE=",
|
||||||
"path": "github.com/aws/aws-sdk-go/private/signer/v2",
|
"path": "github.com/aws/aws-sdk-go/private/signer/v2",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "Eo9yODN5U99BK0pMzoqnBm7PCrY=",
|
"checksumSHA1": "Eo9yODN5U99BK0pMzoqnBm7PCrY=",
|
||||||
"path": "github.com/aws/aws-sdk-go/private/waiter",
|
"path": "github.com/aws/aws-sdk-go/private/waiter",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "Yy3DcxSa9t4hg0MJQZEYhH4PQi4=",
|
"checksumSHA1": "1GRM9c7nKCaKe8Mx/tTcemGKq/4=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/apigateway",
|
"path": "github.com/aws/aws-sdk-go/service/apigateway",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "WEwNL8ueG/6RTZOIDF/qu9EkwXo=",
|
"checksumSHA1": "G6ei4JkA8kMIK6kWohho3ZyqEy4=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/applicationautoscaling",
|
"path": "github.com/aws/aws-sdk-go/service/applicationautoscaling",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "MXY2nnlU3Qf4+6nTV4+GFxSD5Y4=",
|
"checksumSHA1": "RrzC2aXy/ZNSW+DjkswSkozfHQg=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/autoscaling",
|
"path": "github.com/aws/aws-sdk-go/service/autoscaling",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "0rkXGU6zlND+NPCn/XgPDTuANQQ=",
|
"checksumSHA1": "qczOmsbnxTRlwr6/jld7iuhY1ec=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/cloudformation",
|
"path": "github.com/aws/aws-sdk-go/service/cloudformation",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "IBdkYM4/ts1B7FXcTrUk9KXPpcc=",
|
"checksumSHA1": "LhUA6FygZFZM68UgRIKYtSqivBg=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/cloudfront",
|
"path": "github.com/aws/aws-sdk-go/service/cloudfront",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "eCFTaV9GKqv/UEzwRgFFUaFz098=",
|
"checksumSHA1": "v/gjvG5+yfmnluXtIOXfCXPHmGk=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/cloudtrail",
|
"path": "github.com/aws/aws-sdk-go/service/cloudtrail",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "G9CmCfw00Bjz0TtJsEnxGE6mv/0=",
|
"checksumSHA1": "T368o7aYyvIQ/JrEj/EXWuZfjbk=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/cloudwatch",
|
"path": "github.com/aws/aws-sdk-go/service/cloudwatch",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "mWNJKpt18ASs9/RhnIjILcsGlng=",
|
"checksumSHA1": "CtXDIQ4si4gg4WBwF10obV7pJIk=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/cloudwatchevents",
|
"path": "github.com/aws/aws-sdk-go/service/cloudwatchevents",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "sP/qEaDICVBV3rRw2sl759YI0iw=",
|
"checksumSHA1": "TMUPZvpmtRRB3uWwGzwngB4Vg2w=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/cloudwatchlogs",
|
"path": "github.com/aws/aws-sdk-go/service/cloudwatchlogs",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "p5a/DcdUvhTx0PCRR+/CRXk9g6c=",
|
"checksumSHA1": "4ejjXKR6n65oqZtjq0XhrU8ActU=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/codecommit",
|
"path": "github.com/aws/aws-sdk-go/service/codecommit",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "f1ylzOsK3qtUcXXWs8vX/02QXig=",
|
"checksumSHA1": "pstdsnanSdZ3M/jFMLGBOOi5L+E=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/codedeploy",
|
"path": "github.com/aws/aws-sdk-go/service/codedeploy",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "i4hrcsFXLAQXzaxvWh6+BG8XcIU=",
|
"checksumSHA1": "JRjbBfjM9AbLaNyEHJVJ9p/EKRE=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/directoryservice",
|
"path": "github.com/aws/aws-sdk-go/service/directoryservice",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "y+pZPK8hcTDwq1zHuRduWE14flw=",
|
"checksumSHA1": "CvlvYHZtbdwCwx7l6o0ee5Ez6BA=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/dynamodb",
|
"path": "github.com/aws/aws-sdk-go/service/dynamodb",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "wo+0n7gevYlsXAb6gJmG3F/+7pg=",
|
"checksumSHA1": "hNyeWmtAtYlJ4xX+Vk0ZkwV+UfA=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/ec2",
|
"path": "github.com/aws/aws-sdk-go/service/ec2",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "d5x+dDz7zdrEYAGDM9XpYnSW3FE=",
|
"checksumSHA1": "vIGJIbBE4GoNAsded9sC1R9oR9E=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/ecr",
|
"path": "github.com/aws/aws-sdk-go/service/ecr",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "CvZ+vaOolbfpAdOQPAuKDn4Mmt4=",
|
"checksumSHA1": "D/w9j9GKvw0xNnJ21UDiSGjN6dA=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/ecs",
|
"path": "github.com/aws/aws-sdk-go/service/ecs",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "b8uLvSIG26PqvnppVQboqDTCR2w=",
|
"checksumSHA1": "1OA1hi717X+c/lnu9XYEJLm4vi4=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/efs",
|
"path": "github.com/aws/aws-sdk-go/service/efs",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "rjSScNzMTvEHv7Lk5KcxDpNU5EE=",
|
"checksumSHA1": "/VZW/gbuUSkdn4cwXTSIQDdKGvQ=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/elasticache",
|
"path": "github.com/aws/aws-sdk-go/service/elasticache",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "RZF1yHtJhAqaMwbeAM/6BdLLavk=",
|
"checksumSHA1": "Xd1GVn0Uin/56syb2ETMxOKAI/A=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/elasticbeanstalk",
|
"path": "github.com/aws/aws-sdk-go/service/elasticbeanstalk",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "VAlXnW+WxxWRcCv4xsCoox2kgE0=",
|
"checksumSHA1": "9vE6CgR7b01zZn0lFJzqOrve7B4=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/elasticsearchservice",
|
"path": "github.com/aws/aws-sdk-go/service/elasticsearchservice",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "qHuJHGUAuuizD9834MP3gVupfdo=",
|
"checksumSHA1": "OPAnsPFcq6iXH5hGng2t2mMpfaE=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/elastictranscoder",
|
"path": "github.com/aws/aws-sdk-go/service/elastictranscoder",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "YiNiSOILzSOaKB4JwdM4SDw7daM=",
|
"checksumSHA1": "Hwqr2+Y5J7Oq3VXiL1Tj8231eqg=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/elb",
|
"path": "github.com/aws/aws-sdk-go/service/elb",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "DdsbJgngbL7Ce18ipxreRsf3lYo=",
|
"checksumSHA1": "cIUQhrMH0XJKIJSAf4LWpGxw7W0=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/elbv2",
|
"path": "github.com/aws/aws-sdk-go/service/elbv2",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "yyFg3ZnBFHe29W7BovH1oC92u4o=",
|
"checksumSHA1": "6aSvNkSZeB0dhw+vfmgsCumX0Nw=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/emr",
|
"path": "github.com/aws/aws-sdk-go/service/emr",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "TtIAgZ+evpkKB5bBYCB69k0wZoU=",
|
"checksumSHA1": "nKEvKhAFlvWxhwCFW2JPSVfb4k4=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/firehose",
|
"path": "github.com/aws/aws-sdk-go/service/firehose",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "B1EtgBrv//gYqA+Sp6a/SK2zLO4=",
|
"checksumSHA1": "sv61kTARWfkfrT8ouftcpZhepZ4=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/glacier",
|
"path": "github.com/aws/aws-sdk-go/service/glacier",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "dH2W7lR17dgn4a4OYiEzjpQH8hI=",
|
"checksumSHA1": "rCHIHwv4JYxTGc7XpfT9Fx70a1M=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/iam",
|
"path": "github.com/aws/aws-sdk-go/service/iam",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "2n5/m0ClE4OyQRNdjfLwg+nSY3o=",
|
"checksumSHA1": "VstNEQuAAuyaVpBh24fDQPSbZCM=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/kinesis",
|
"path": "github.com/aws/aws-sdk-go/service/kinesis",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "cE02R3i+yj4+xmiO+/eUbq4mEys=",
|
"checksumSHA1": "C+gqGSu7/EIGggant4O3wv8v+Yw=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/kms",
|
"path": "github.com/aws/aws-sdk-go/service/kms",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "Qpi347xz5FIQISq73dZSdIf47AU=",
|
"checksumSHA1": "R3OeBAWZe3p69aYIa37ispEz4Ys=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/lambda",
|
"path": "github.com/aws/aws-sdk-go/service/lambda",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "IRD5ermNbvUDRXF+0mI9103AmIM=",
|
"checksumSHA1": "EPrM4mjeehz7nm5WXbdldZpG0BU=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/opsworks",
|
"path": "github.com/aws/aws-sdk-go/service/opsworks",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "Jxorquk7bgn6lPMr3/nUikDHWK8=",
|
"checksumSHA1": "h6TAgyjW5GFdt8TPKBeczyGjkKM=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/rds",
|
"path": "github.com/aws/aws-sdk-go/service/rds",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "hHgtebbSai1+33Y8nKZyV7IL5nY=",
|
"checksumSHA1": "/fWs0DLkUSTyLWGUSz/kf/maoOM=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/redshift",
|
"path": "github.com/aws/aws-sdk-go/service/redshift",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "Dw4DpBaYfuu+aQTlywfv1TCzHCg=",
|
"checksumSHA1": "H2DlzddrhenFeCOQH9ssYPcFePQ=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/route53",
|
"path": "github.com/aws/aws-sdk-go/service/route53",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "W7044H9bJrM5zO3DGcfA+qOYThk=",
|
"checksumSHA1": "V3Ta5FZBZeAsIbtm1OGMkYyYmt8=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/s3",
|
"path": "github.com/aws/aws-sdk-go/service/s3",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "o+bjuT6ycywUf+vXY9hYK4Z3okE=",
|
"checksumSHA1": "UUDH3SCShP/T6+K1OsKvCc2O+VA=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/ses",
|
"path": "github.com/aws/aws-sdk-go/service/ses",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "DW5kDRWLA2yAgYh9vsI+0uVqq/Q=",
|
"checksumSHA1": "XbulhWUHjhuWqJymKeurU01uuiU=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/simpledb",
|
"path": "github.com/aws/aws-sdk-go/service/simpledb",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "QHuF2nb/DTz20LRh0rslFDzIm54=",
|
"checksumSHA1": "nzzjBb+KNOXxvx9racGlHA6w/SU=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/sns",
|
"path": "github.com/aws/aws-sdk-go/service/sns",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "oLAlquYlQzgYFS9ochS/iQ9+uXY=",
|
"checksumSHA1": "6wjnNcTzRa+BP7AnodnCb14J7/Q=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/sqs",
|
"path": "github.com/aws/aws-sdk-go/service/sqs",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "Zw0GXDOn45IvrmAcCOlSHJMiljU=",
|
"checksumSHA1": "fiGhMDgP0uyIcRqwDlBZyfEPyn0=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/ssm",
|
"path": "github.com/aws/aws-sdk-go/service/ssm",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "nH/itbdeFHpl4ysegdtgww9bFSA=",
|
"checksumSHA1": "Ko75IlSR0pVtGp7dCdZuXh1279Q=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/sts",
|
"path": "github.com/aws/aws-sdk-go/service/sts",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "Dx3EiCxwZzQk5ScuXa1aQYrB9kM=",
|
"checksumSHA1": "A7C67KQAzKQ3x+cQMvicMcM2VLs=",
|
||||||
"path": "github.com/aws/aws-sdk-go/service/waf",
|
"path": "github.com/aws/aws-sdk-go/service/waf",
|
||||||
"revision": "429750244b4773992ab16ab536447e584795b156",
|
"revision": "09f8dd1eb5e719dc370b432d3d6d8f86e5bf6dbe",
|
||||||
"revisionTime": "2016-10-06T23:32:44Z",
|
"revisionTime": "2016-10-17T19:35:59Z"
|
||||||
"version": "v1.4.15",
|
|
||||||
"versionExact": "v1.4.15"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "nqw2Qn5xUklssHTubS5HDvEL9L4=",
|
"checksumSHA1": "nqw2Qn5xUklssHTubS5HDvEL9L4=",
|
||||||
|
|
Loading…
Reference in New Issue