vendor: update all dependencies to latest versions
This commit is contained in:
parent
911d121bb9
commit
b017fcfe9a
3048 changed files with 537057 additions and 189681 deletions
2
vendor/github.com/aws/aws-sdk-go/service/acm/acmiface/interface.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/acm/acmiface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS Certificate Manager.
|
||||
|
|
190
vendor/github.com/aws/aws-sdk-go/service/acm/api.go
generated
vendored
190
vendor/github.com/aws/aws-sdk-go/service/acm/api.go
generated
vendored
|
@ -17,19 +17,18 @@ const opAddTagsToCertificate = "AddTagsToCertificate"
|
|||
|
||||
// AddTagsToCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the AddTagsToCertificate operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See AddTagsToCertificate for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the AddTagsToCertificate method directly
|
||||
// instead.
|
||||
// See AddTagsToCertificate for more information on using the AddTagsToCertificate
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the AddTagsToCertificateRequest method.
|
||||
// req, resp := client.AddTagsToCertificateRequest(params)
|
||||
|
@ -126,19 +125,18 @@ const opDeleteCertificate = "DeleteCertificate"
|
|||
|
||||
// DeleteCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteCertificate operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteCertificate for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteCertificate method directly
|
||||
// instead.
|
||||
// See DeleteCertificate for more information on using the DeleteCertificate
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteCertificateRequest method.
|
||||
// req, resp := client.DeleteCertificateRequest(params)
|
||||
|
@ -224,19 +222,18 @@ const opDescribeCertificate = "DescribeCertificate"
|
|||
|
||||
// DescribeCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeCertificate operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeCertificate for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeCertificate method directly
|
||||
// instead.
|
||||
// See DescribeCertificate for more information on using the DescribeCertificate
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeCertificateRequest method.
|
||||
// req, resp := client.DescribeCertificateRequest(params)
|
||||
|
@ -308,19 +305,18 @@ const opGetCertificate = "GetCertificate"
|
|||
|
||||
// GetCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetCertificate operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetCertificate for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetCertificate method directly
|
||||
// instead.
|
||||
// See GetCertificate for more information on using the GetCertificate
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetCertificateRequest method.
|
||||
// req, resp := client.GetCertificateRequest(params)
|
||||
|
@ -404,19 +400,18 @@ const opImportCertificate = "ImportCertificate"
|
|||
|
||||
// ImportCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ImportCertificate operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ImportCertificate for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ImportCertificate method directly
|
||||
// instead.
|
||||
// See ImportCertificate for more information on using the ImportCertificate
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ImportCertificateRequest method.
|
||||
// req, resp := client.ImportCertificateRequest(params)
|
||||
|
@ -517,19 +512,18 @@ const opListCertificates = "ListCertificates"
|
|||
|
||||
// ListCertificatesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListCertificates operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListCertificates for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListCertificates method directly
|
||||
// instead.
|
||||
// See ListCertificates for more information on using the ListCertificates
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListCertificatesRequest method.
|
||||
// req, resp := client.ListCertificatesRequest(params)
|
||||
|
@ -650,19 +644,18 @@ const opListTagsForCertificate = "ListTagsForCertificate"
|
|||
|
||||
// ListTagsForCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListTagsForCertificate operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListTagsForCertificate for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListTagsForCertificate method directly
|
||||
// instead.
|
||||
// See ListTagsForCertificate for more information on using the ListTagsForCertificate
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListTagsForCertificateRequest method.
|
||||
// req, resp := client.ListTagsForCertificateRequest(params)
|
||||
|
@ -737,19 +730,18 @@ const opRemoveTagsFromCertificate = "RemoveTagsFromCertificate"
|
|||
|
||||
// RemoveTagsFromCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RemoveTagsFromCertificate operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See RemoveTagsFromCertificate for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the RemoveTagsFromCertificate method directly
|
||||
// instead.
|
||||
// See RemoveTagsFromCertificate for more information on using the RemoveTagsFromCertificate
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the RemoveTagsFromCertificateRequest method.
|
||||
// req, resp := client.RemoveTagsFromCertificateRequest(params)
|
||||
|
@ -834,19 +826,18 @@ const opRequestCertificate = "RequestCertificate"
|
|||
|
||||
// RequestCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RequestCertificate operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See RequestCertificate for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the RequestCertificate method directly
|
||||
// instead.
|
||||
// See RequestCertificate for more information on using the RequestCertificate
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the RequestCertificateRequest method.
|
||||
// req, resp := client.RequestCertificateRequest(params)
|
||||
|
@ -927,19 +918,18 @@ const opResendValidationEmail = "ResendValidationEmail"
|
|||
|
||||
// ResendValidationEmailRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ResendValidationEmail operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ResendValidationEmail for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ResendValidationEmail method directly
|
||||
// instead.
|
||||
// See ResendValidationEmail for more information on using the ResendValidationEmail
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ResendValidationEmailRequest method.
|
||||
// req, resp := client.ResendValidationEmailRequest(params)
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/acm/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/acm/doc.go
generated
vendored
|
@ -16,69 +16,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for AWS Certificate Manager you will first need
|
||||
// to create a new instance of it.
|
||||
// To AWS Certificate Manager with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := acm.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the AWS Certificate Manager client ACM for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/acm/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.AddTagsToCertificate(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("AddTagsToCertificate result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.AddTagsToCertificateWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package acm
|
||||
|
|
3031
vendor/github.com/aws/aws-sdk-go/service/apigateway/api.go
generated
vendored
3031
vendor/github.com/aws/aws-sdk-go/service/apigateway/api.go
generated
vendored
File diff suppressed because it is too large
Load diff
2
vendor/github.com/aws/aws-sdk-go/service/apigateway/apigatewayiface/interface.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/apigateway/apigatewayiface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon API Gateway.
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/apigateway/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/apigateway/doc.go
generated
vendored
|
@ -14,69 +14,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Amazon API Gateway you will first need
|
||||
// to create a new instance of it.
|
||||
// To Amazon API Gateway with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := apigateway.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon API Gateway client APIGateway for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/apigateway/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.CreateApiKey(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("CreateApiKey result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.CreateApiKeyWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package apigateway
|
||||
|
|
18
vendor/github.com/aws/aws-sdk-go/service/apigateway/errors.go
generated
vendored
18
vendor/github.com/aws/aws-sdk-go/service/apigateway/errors.go
generated
vendored
|
@ -6,29 +6,47 @@ const (
|
|||
|
||||
// ErrCodeBadRequestException for service response error code
|
||||
// "BadRequestException".
|
||||
//
|
||||
// The submitted request is not valid, for example, the input is incomplete
|
||||
// or incorrect. See the accompanying error message for details.
|
||||
ErrCodeBadRequestException = "BadRequestException"
|
||||
|
||||
// ErrCodeConflictException for service response error code
|
||||
// "ConflictException".
|
||||
//
|
||||
// The request configuration has conflicts. For details, see the accompanying
|
||||
// error message.
|
||||
ErrCodeConflictException = "ConflictException"
|
||||
|
||||
// ErrCodeLimitExceededException for service response error code
|
||||
// "LimitExceededException".
|
||||
//
|
||||
// The request exceeded the rate limit. Retry after the specified time period.
|
||||
ErrCodeLimitExceededException = "LimitExceededException"
|
||||
|
||||
// ErrCodeNotFoundException for service response error code
|
||||
// "NotFoundException".
|
||||
//
|
||||
// The requested resource is not found. Make sure that the request URI is correct.
|
||||
ErrCodeNotFoundException = "NotFoundException"
|
||||
|
||||
// ErrCodeServiceUnavailableException for service response error code
|
||||
// "ServiceUnavailableException".
|
||||
//
|
||||
// The requested service is not available. For details see the accompanying
|
||||
// error message. Retry after the specified time period.
|
||||
ErrCodeServiceUnavailableException = "ServiceUnavailableException"
|
||||
|
||||
// ErrCodeTooManyRequestsException for service response error code
|
||||
// "TooManyRequestsException".
|
||||
//
|
||||
// The request has reached its throttling limit. Retry after the specified time
|
||||
// period.
|
||||
ErrCodeTooManyRequestsException = "TooManyRequestsException"
|
||||
|
||||
// ErrCodeUnauthorizedException for service response error code
|
||||
// "UnauthorizedException".
|
||||
//
|
||||
// The request is denied because the caller has insufficient permissions.
|
||||
ErrCodeUnauthorizedException = "UnauthorizedException"
|
||||
)
|
||||
|
|
146
vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/api.go
generated
vendored
146
vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/api.go
generated
vendored
|
@ -15,19 +15,18 @@ const opDeleteScalingPolicy = "DeleteScalingPolicy"
|
|||
|
||||
// DeleteScalingPolicyRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteScalingPolicy operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteScalingPolicy for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteScalingPolicy method directly
|
||||
// instead.
|
||||
// See DeleteScalingPolicy for more information on using the DeleteScalingPolicy
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteScalingPolicyRequest method.
|
||||
// req, resp := client.DeleteScalingPolicyRequest(params)
|
||||
|
@ -117,19 +116,18 @@ const opDeregisterScalableTarget = "DeregisterScalableTarget"
|
|||
|
||||
// DeregisterScalableTargetRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeregisterScalableTarget operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeregisterScalableTarget for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeregisterScalableTarget method directly
|
||||
// instead.
|
||||
// See DeregisterScalableTarget for more information on using the DeregisterScalableTarget
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeregisterScalableTargetRequest method.
|
||||
// req, resp := client.DeregisterScalableTargetRequest(params)
|
||||
|
@ -218,19 +216,18 @@ const opDescribeScalableTargets = "DescribeScalableTargets"
|
|||
|
||||
// DescribeScalableTargetsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeScalableTargets operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeScalableTargets for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeScalableTargets method directly
|
||||
// instead.
|
||||
// See DescribeScalableTargets for more information on using the DescribeScalableTargets
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeScalableTargetsRequest method.
|
||||
// req, resp := client.DescribeScalableTargetsRequest(params)
|
||||
|
@ -372,19 +369,18 @@ const opDescribeScalingActivities = "DescribeScalingActivities"
|
|||
|
||||
// DescribeScalingActivitiesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeScalingActivities operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeScalingActivities for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeScalingActivities method directly
|
||||
// instead.
|
||||
// See DescribeScalingActivities for more information on using the DescribeScalingActivities
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeScalingActivitiesRequest method.
|
||||
// req, resp := client.DescribeScalingActivitiesRequest(params)
|
||||
|
@ -527,19 +523,18 @@ const opDescribeScalingPolicies = "DescribeScalingPolicies"
|
|||
|
||||
// DescribeScalingPoliciesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeScalingPolicies operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeScalingPolicies for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeScalingPolicies method directly
|
||||
// instead.
|
||||
// See DescribeScalingPolicies for more information on using the DescribeScalingPolicies
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeScalingPoliciesRequest method.
|
||||
// req, resp := client.DescribeScalingPoliciesRequest(params)
|
||||
|
@ -689,19 +684,18 @@ const opPutScalingPolicy = "PutScalingPolicy"
|
|||
|
||||
// PutScalingPolicyRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the PutScalingPolicy operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See PutScalingPolicy for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the PutScalingPolicy method directly
|
||||
// instead.
|
||||
// See PutScalingPolicy for more information on using the PutScalingPolicy
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the PutScalingPolicyRequest method.
|
||||
// req, resp := client.PutScalingPolicyRequest(params)
|
||||
|
@ -810,19 +804,18 @@ const opRegisterScalableTarget = "RegisterScalableTarget"
|
|||
|
||||
// RegisterScalableTargetRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RegisterScalableTarget operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See RegisterScalableTarget for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the RegisterScalableTarget method directly
|
||||
// instead.
|
||||
// See RegisterScalableTarget for more information on using the RegisterScalableTarget
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the RegisterScalableTargetRequest method.
|
||||
// req, resp := client.RegisterScalableTargetRequest(params)
|
||||
|
@ -2997,6 +2990,13 @@ type TargetTrackingScalingPolicyConfiguration struct {
|
|||
// Reserved for future use.
|
||||
CustomizedMetricSpecification *CustomizedMetricSpecification `type:"structure"`
|
||||
|
||||
// Indicates whether scale in by the target tracking policy is disabled. If
|
||||
// the value is true, scale in is disabled and the target tracking policy won't
|
||||
// remove capacity from the scalable resource. Otherwise, scale in is enabled
|
||||
// and the target tracking policy can remove capacity from the scalable resource.
|
||||
// The default value is false.
|
||||
DisableScaleIn *bool `type:"boolean"`
|
||||
|
||||
// A predefined metric.
|
||||
PredefinedMetricSpecification *PredefinedMetricSpecification `type:"structure"`
|
||||
|
||||
|
@ -3065,6 +3065,12 @@ func (s *TargetTrackingScalingPolicyConfiguration) SetCustomizedMetricSpecificat
|
|||
return s
|
||||
}
|
||||
|
||||
// SetDisableScaleIn sets the DisableScaleIn field's value.
|
||||
func (s *TargetTrackingScalingPolicyConfiguration) SetDisableScaleIn(v bool) *TargetTrackingScalingPolicyConfiguration {
|
||||
s.DisableScaleIn = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetPredefinedMetricSpecification sets the PredefinedMetricSpecification field's value.
|
||||
func (s *TargetTrackingScalingPolicyConfiguration) SetPredefinedMetricSpecification(v *PredefinedMetricSpecification) *TargetTrackingScalingPolicyConfiguration {
|
||||
s.PredefinedMetricSpecification = v
|
||||
|
|
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Application Auto Scaling.
|
||||
|
|
68
vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/doc.go
generated
vendored
68
vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/doc.go
generated
vendored
|
@ -32,8 +32,8 @@
|
|||
// in the Amazon AppStream 2.0 Developer Guide.
|
||||
//
|
||||
// * Provisioned read and write capacity for Amazon DynamoDB tables and global
|
||||
// secondary indexes. For more information, see Auto Scaling for DynamoDB
|
||||
// (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TargetTracking.html)
|
||||
// secondary indexes. For more information, see Managing Throughput Capacity
|
||||
// Automatically with DynamoDB Auto Scaling (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html)
|
||||
// in the Amazon DynamoDB Developer Guide.
|
||||
//
|
||||
// For a list of supported regions, see AWS Regions and Endpoints: Application
|
||||
|
@ -47,69 +47,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Application Auto Scaling you will first need
|
||||
// to create a new instance of it.
|
||||
// To Application Auto Scaling with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := applicationautoscaling.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Application Auto Scaling client ApplicationAutoScaling for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/applicationautoscaling/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.DeleteScalingPolicy(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("DeleteScalingPolicy result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.DeleteScalingPolicyWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package applicationautoscaling
|
||||
|
|
361
vendor/github.com/aws/aws-sdk-go/service/applicationdiscoveryservice/api.go
generated
vendored
361
vendor/github.com/aws/aws-sdk-go/service/applicationdiscoveryservice/api.go
generated
vendored
|
@ -15,19 +15,18 @@ const opAssociateConfigurationItemsToApplication = "AssociateConfigurationItemsT
|
|||
|
||||
// AssociateConfigurationItemsToApplicationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the AssociateConfigurationItemsToApplication operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See AssociateConfigurationItemsToApplication for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the AssociateConfigurationItemsToApplication method directly
|
||||
// instead.
|
||||
// See AssociateConfigurationItemsToApplication for more information on using the AssociateConfigurationItemsToApplication
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the AssociateConfigurationItemsToApplicationRequest method.
|
||||
// req, resp := client.AssociateConfigurationItemsToApplicationRequest(params)
|
||||
|
@ -106,19 +105,18 @@ const opCreateApplication = "CreateApplication"
|
|||
|
||||
// CreateApplicationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateApplication operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateApplication for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateApplication method directly
|
||||
// instead.
|
||||
// See CreateApplication for more information on using the CreateApplication
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateApplicationRequest method.
|
||||
// req, resp := client.CreateApplicationRequest(params)
|
||||
|
@ -197,19 +195,18 @@ const opCreateTags = "CreateTags"
|
|||
|
||||
// CreateTagsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateTags operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateTags for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateTags method directly
|
||||
// instead.
|
||||
// See CreateTags for more information on using the CreateTags
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateTagsRequest method.
|
||||
// req, resp := client.CreateTagsRequest(params)
|
||||
|
@ -294,19 +291,18 @@ const opDeleteApplications = "DeleteApplications"
|
|||
|
||||
// DeleteApplicationsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteApplications operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteApplications for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteApplications method directly
|
||||
// instead.
|
||||
// See DeleteApplications for more information on using the DeleteApplications
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteApplicationsRequest method.
|
||||
// req, resp := client.DeleteApplicationsRequest(params)
|
||||
|
@ -386,19 +382,18 @@ const opDeleteTags = "DeleteTags"
|
|||
|
||||
// DeleteTagsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteTags operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteTags for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteTags method directly
|
||||
// instead.
|
||||
// See DeleteTags for more information on using the DeleteTags
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteTagsRequest method.
|
||||
// req, resp := client.DeleteTagsRequest(params)
|
||||
|
@ -482,19 +477,18 @@ const opDescribeAgents = "DescribeAgents"
|
|||
|
||||
// DescribeAgentsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeAgents operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeAgents for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeAgents method directly
|
||||
// instead.
|
||||
// See DescribeAgents for more information on using the DescribeAgents
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeAgentsRequest method.
|
||||
// req, resp := client.DescribeAgentsRequest(params)
|
||||
|
@ -574,19 +568,18 @@ const opDescribeConfigurations = "DescribeConfigurations"
|
|||
|
||||
// DescribeConfigurationsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeConfigurations operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeConfigurations for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeConfigurations method directly
|
||||
// instead.
|
||||
// See DescribeConfigurations for more information on using the DescribeConfigurations
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeConfigurationsRequest method.
|
||||
// req, resp := client.DescribeConfigurationsRequest(params)
|
||||
|
@ -672,19 +665,18 @@ const opDescribeExportConfigurations = "DescribeExportConfigurations"
|
|||
|
||||
// DescribeExportConfigurationsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeExportConfigurations operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeExportConfigurations for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeExportConfigurations method directly
|
||||
// instead.
|
||||
// See DescribeExportConfigurations for more information on using the DescribeExportConfigurations
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeExportConfigurationsRequest method.
|
||||
// req, resp := client.DescribeExportConfigurationsRequest(params)
|
||||
|
@ -773,19 +765,18 @@ const opDescribeExportTasks = "DescribeExportTasks"
|
|||
|
||||
// DescribeExportTasksRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeExportTasks operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeExportTasks for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeExportTasks method directly
|
||||
// instead.
|
||||
// See DescribeExportTasks for more information on using the DescribeExportTasks
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeExportTasksRequest method.
|
||||
// req, resp := client.DescribeExportTasksRequest(params)
|
||||
|
@ -865,19 +856,18 @@ const opDescribeTags = "DescribeTags"
|
|||
|
||||
// DescribeTagsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeTags operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeTags for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeTags method directly
|
||||
// instead.
|
||||
// See DescribeTags for more information on using the DescribeTags
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeTagsRequest method.
|
||||
// req, resp := client.DescribeTagsRequest(params)
|
||||
|
@ -961,19 +951,18 @@ const opDisassociateConfigurationItemsFromApplication = "DisassociateConfigurati
|
|||
|
||||
// DisassociateConfigurationItemsFromApplicationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DisassociateConfigurationItemsFromApplication operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DisassociateConfigurationItemsFromApplication for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DisassociateConfigurationItemsFromApplication method directly
|
||||
// instead.
|
||||
// See DisassociateConfigurationItemsFromApplication for more information on using the DisassociateConfigurationItemsFromApplication
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DisassociateConfigurationItemsFromApplicationRequest method.
|
||||
// req, resp := client.DisassociateConfigurationItemsFromApplicationRequest(params)
|
||||
|
@ -1052,19 +1041,18 @@ const opExportConfigurations = "ExportConfigurations"
|
|||
|
||||
// ExportConfigurationsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ExportConfigurations operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ExportConfigurations for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ExportConfigurations method directly
|
||||
// instead.
|
||||
// See ExportConfigurations for more information on using the ExportConfigurations
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ExportConfigurationsRequest method.
|
||||
// req, resp := client.ExportConfigurationsRequest(params)
|
||||
|
@ -1155,19 +1143,18 @@ const opGetDiscoverySummary = "GetDiscoverySummary"
|
|||
|
||||
// GetDiscoverySummaryRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetDiscoverySummary operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetDiscoverySummary for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetDiscoverySummary method directly
|
||||
// instead.
|
||||
// See GetDiscoverySummary for more information on using the GetDiscoverySummary
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetDiscoverySummaryRequest method.
|
||||
// req, resp := client.GetDiscoverySummaryRequest(params)
|
||||
|
@ -1246,19 +1233,18 @@ const opListConfigurations = "ListConfigurations"
|
|||
|
||||
// ListConfigurationsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListConfigurations operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListConfigurations for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListConfigurations method directly
|
||||
// instead.
|
||||
// See ListConfigurations for more information on using the ListConfigurations
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListConfigurationsRequest method.
|
||||
// req, resp := client.ListConfigurationsRequest(params)
|
||||
|
@ -1342,19 +1328,18 @@ const opListServerNeighbors = "ListServerNeighbors"
|
|||
|
||||
// ListServerNeighborsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListServerNeighbors operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListServerNeighbors for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListServerNeighbors method directly
|
||||
// instead.
|
||||
// See ListServerNeighbors for more information on using the ListServerNeighbors
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListServerNeighborsRequest method.
|
||||
// req, resp := client.ListServerNeighborsRequest(params)
|
||||
|
@ -1434,19 +1419,18 @@ const opStartDataCollectionByAgentIds = "StartDataCollectionByAgentIds"
|
|||
|
||||
// StartDataCollectionByAgentIdsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the StartDataCollectionByAgentIds operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See StartDataCollectionByAgentIds for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the StartDataCollectionByAgentIds method directly
|
||||
// instead.
|
||||
// See StartDataCollectionByAgentIds for more information on using the StartDataCollectionByAgentIds
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the StartDataCollectionByAgentIdsRequest method.
|
||||
// req, resp := client.StartDataCollectionByAgentIdsRequest(params)
|
||||
|
@ -1525,19 +1509,18 @@ const opStartExportTask = "StartExportTask"
|
|||
|
||||
// StartExportTaskRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the StartExportTask operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See StartExportTask for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the StartExportTask method directly
|
||||
// instead.
|
||||
// See StartExportTask for more information on using the StartExportTask
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the StartExportTaskRequest method.
|
||||
// req, resp := client.StartExportTaskRequest(params)
|
||||
|
@ -1629,19 +1612,18 @@ const opStopDataCollectionByAgentIds = "StopDataCollectionByAgentIds"
|
|||
|
||||
// StopDataCollectionByAgentIdsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the StopDataCollectionByAgentIds operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See StopDataCollectionByAgentIds for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the StopDataCollectionByAgentIds method directly
|
||||
// instead.
|
||||
// See StopDataCollectionByAgentIds for more information on using the StopDataCollectionByAgentIds
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the StopDataCollectionByAgentIdsRequest method.
|
||||
// req, resp := client.StopDataCollectionByAgentIdsRequest(params)
|
||||
|
@ -1720,19 +1702,18 @@ const opUpdateApplication = "UpdateApplication"
|
|||
|
||||
// UpdateApplicationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateApplication operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateApplication for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateApplication method directly
|
||||
// instead.
|
||||
// See UpdateApplication for more information on using the UpdateApplication
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateApplicationRequest method.
|
||||
// req, resp := client.UpdateApplicationRequest(params)
|
||||
|
|
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS Application Discovery Service.
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/applicationdiscoveryservice/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/applicationdiscoveryservice/doc.go
generated
vendored
|
@ -71,69 +71,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for AWS Application Discovery Service you will first need
|
||||
// to create a new instance of it.
|
||||
// To AWS Application Discovery Service with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := applicationdiscoveryservice.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the AWS Application Discovery Service client ApplicationDiscoveryService for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/applicationdiscoveryservice/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.AssociateConfigurationItemsToApplication(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("AssociateConfigurationItemsToApplication result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.AssociateConfigurationItemsToApplicationWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package applicationdiscoveryservice
|
||||
|
|
3062
vendor/github.com/aws/aws-sdk-go/service/appstream/api.go
generated
vendored
3062
vendor/github.com/aws/aws-sdk-go/service/appstream/api.go
generated
vendored
File diff suppressed because it is too large
Load diff
46
vendor/github.com/aws/aws-sdk-go/service/appstream/appstreamiface/interface.go
generated
vendored
46
vendor/github.com/aws/aws-sdk-go/service/appstream/appstreamiface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon AppStream.
|
||||
|
@ -64,10 +64,22 @@ type AppStreamAPI interface {
|
|||
AssociateFleetWithContext(aws.Context, *appstream.AssociateFleetInput, ...request.Option) (*appstream.AssociateFleetOutput, error)
|
||||
AssociateFleetRequest(*appstream.AssociateFleetInput) (*request.Request, *appstream.AssociateFleetOutput)
|
||||
|
||||
CreateDirectoryConfig(*appstream.CreateDirectoryConfigInput) (*appstream.CreateDirectoryConfigOutput, error)
|
||||
CreateDirectoryConfigWithContext(aws.Context, *appstream.CreateDirectoryConfigInput, ...request.Option) (*appstream.CreateDirectoryConfigOutput, error)
|
||||
CreateDirectoryConfigRequest(*appstream.CreateDirectoryConfigInput) (*request.Request, *appstream.CreateDirectoryConfigOutput)
|
||||
|
||||
CreateFleet(*appstream.CreateFleetInput) (*appstream.CreateFleetOutput, error)
|
||||
CreateFleetWithContext(aws.Context, *appstream.CreateFleetInput, ...request.Option) (*appstream.CreateFleetOutput, error)
|
||||
CreateFleetRequest(*appstream.CreateFleetInput) (*request.Request, *appstream.CreateFleetOutput)
|
||||
|
||||
CreateImageBuilder(*appstream.CreateImageBuilderInput) (*appstream.CreateImageBuilderOutput, error)
|
||||
CreateImageBuilderWithContext(aws.Context, *appstream.CreateImageBuilderInput, ...request.Option) (*appstream.CreateImageBuilderOutput, error)
|
||||
CreateImageBuilderRequest(*appstream.CreateImageBuilderInput) (*request.Request, *appstream.CreateImageBuilderOutput)
|
||||
|
||||
CreateImageBuilderStreamingURL(*appstream.CreateImageBuilderStreamingURLInput) (*appstream.CreateImageBuilderStreamingURLOutput, error)
|
||||
CreateImageBuilderStreamingURLWithContext(aws.Context, *appstream.CreateImageBuilderStreamingURLInput, ...request.Option) (*appstream.CreateImageBuilderStreamingURLOutput, error)
|
||||
CreateImageBuilderStreamingURLRequest(*appstream.CreateImageBuilderStreamingURLInput) (*request.Request, *appstream.CreateImageBuilderStreamingURLOutput)
|
||||
|
||||
CreateStack(*appstream.CreateStackInput) (*appstream.CreateStackOutput, error)
|
||||
CreateStackWithContext(aws.Context, *appstream.CreateStackInput, ...request.Option) (*appstream.CreateStackOutput, error)
|
||||
CreateStackRequest(*appstream.CreateStackInput) (*request.Request, *appstream.CreateStackOutput)
|
||||
|
@ -76,18 +88,38 @@ type AppStreamAPI interface {
|
|||
CreateStreamingURLWithContext(aws.Context, *appstream.CreateStreamingURLInput, ...request.Option) (*appstream.CreateStreamingURLOutput, error)
|
||||
CreateStreamingURLRequest(*appstream.CreateStreamingURLInput) (*request.Request, *appstream.CreateStreamingURLOutput)
|
||||
|
||||
DeleteDirectoryConfig(*appstream.DeleteDirectoryConfigInput) (*appstream.DeleteDirectoryConfigOutput, error)
|
||||
DeleteDirectoryConfigWithContext(aws.Context, *appstream.DeleteDirectoryConfigInput, ...request.Option) (*appstream.DeleteDirectoryConfigOutput, error)
|
||||
DeleteDirectoryConfigRequest(*appstream.DeleteDirectoryConfigInput) (*request.Request, *appstream.DeleteDirectoryConfigOutput)
|
||||
|
||||
DeleteFleet(*appstream.DeleteFleetInput) (*appstream.DeleteFleetOutput, error)
|
||||
DeleteFleetWithContext(aws.Context, *appstream.DeleteFleetInput, ...request.Option) (*appstream.DeleteFleetOutput, error)
|
||||
DeleteFleetRequest(*appstream.DeleteFleetInput) (*request.Request, *appstream.DeleteFleetOutput)
|
||||
|
||||
DeleteImage(*appstream.DeleteImageInput) (*appstream.DeleteImageOutput, error)
|
||||
DeleteImageWithContext(aws.Context, *appstream.DeleteImageInput, ...request.Option) (*appstream.DeleteImageOutput, error)
|
||||
DeleteImageRequest(*appstream.DeleteImageInput) (*request.Request, *appstream.DeleteImageOutput)
|
||||
|
||||
DeleteImageBuilder(*appstream.DeleteImageBuilderInput) (*appstream.DeleteImageBuilderOutput, error)
|
||||
DeleteImageBuilderWithContext(aws.Context, *appstream.DeleteImageBuilderInput, ...request.Option) (*appstream.DeleteImageBuilderOutput, error)
|
||||
DeleteImageBuilderRequest(*appstream.DeleteImageBuilderInput) (*request.Request, *appstream.DeleteImageBuilderOutput)
|
||||
|
||||
DeleteStack(*appstream.DeleteStackInput) (*appstream.DeleteStackOutput, error)
|
||||
DeleteStackWithContext(aws.Context, *appstream.DeleteStackInput, ...request.Option) (*appstream.DeleteStackOutput, error)
|
||||
DeleteStackRequest(*appstream.DeleteStackInput) (*request.Request, *appstream.DeleteStackOutput)
|
||||
|
||||
DescribeDirectoryConfigs(*appstream.DescribeDirectoryConfigsInput) (*appstream.DescribeDirectoryConfigsOutput, error)
|
||||
DescribeDirectoryConfigsWithContext(aws.Context, *appstream.DescribeDirectoryConfigsInput, ...request.Option) (*appstream.DescribeDirectoryConfigsOutput, error)
|
||||
DescribeDirectoryConfigsRequest(*appstream.DescribeDirectoryConfigsInput) (*request.Request, *appstream.DescribeDirectoryConfigsOutput)
|
||||
|
||||
DescribeFleets(*appstream.DescribeFleetsInput) (*appstream.DescribeFleetsOutput, error)
|
||||
DescribeFleetsWithContext(aws.Context, *appstream.DescribeFleetsInput, ...request.Option) (*appstream.DescribeFleetsOutput, error)
|
||||
DescribeFleetsRequest(*appstream.DescribeFleetsInput) (*request.Request, *appstream.DescribeFleetsOutput)
|
||||
|
||||
DescribeImageBuilders(*appstream.DescribeImageBuildersInput) (*appstream.DescribeImageBuildersOutput, error)
|
||||
DescribeImageBuildersWithContext(aws.Context, *appstream.DescribeImageBuildersInput, ...request.Option) (*appstream.DescribeImageBuildersOutput, error)
|
||||
DescribeImageBuildersRequest(*appstream.DescribeImageBuildersInput) (*request.Request, *appstream.DescribeImageBuildersOutput)
|
||||
|
||||
DescribeImages(*appstream.DescribeImagesInput) (*appstream.DescribeImagesOutput, error)
|
||||
DescribeImagesWithContext(aws.Context, *appstream.DescribeImagesInput, ...request.Option) (*appstream.DescribeImagesOutput, error)
|
||||
DescribeImagesRequest(*appstream.DescribeImagesInput) (*request.Request, *appstream.DescribeImagesOutput)
|
||||
|
@ -120,10 +152,22 @@ type AppStreamAPI interface {
|
|||
StartFleetWithContext(aws.Context, *appstream.StartFleetInput, ...request.Option) (*appstream.StartFleetOutput, error)
|
||||
StartFleetRequest(*appstream.StartFleetInput) (*request.Request, *appstream.StartFleetOutput)
|
||||
|
||||
StartImageBuilder(*appstream.StartImageBuilderInput) (*appstream.StartImageBuilderOutput, error)
|
||||
StartImageBuilderWithContext(aws.Context, *appstream.StartImageBuilderInput, ...request.Option) (*appstream.StartImageBuilderOutput, error)
|
||||
StartImageBuilderRequest(*appstream.StartImageBuilderInput) (*request.Request, *appstream.StartImageBuilderOutput)
|
||||
|
||||
StopFleet(*appstream.StopFleetInput) (*appstream.StopFleetOutput, error)
|
||||
StopFleetWithContext(aws.Context, *appstream.StopFleetInput, ...request.Option) (*appstream.StopFleetOutput, error)
|
||||
StopFleetRequest(*appstream.StopFleetInput) (*request.Request, *appstream.StopFleetOutput)
|
||||
|
||||
StopImageBuilder(*appstream.StopImageBuilderInput) (*appstream.StopImageBuilderOutput, error)
|
||||
StopImageBuilderWithContext(aws.Context, *appstream.StopImageBuilderInput, ...request.Option) (*appstream.StopImageBuilderOutput, error)
|
||||
StopImageBuilderRequest(*appstream.StopImageBuilderInput) (*request.Request, *appstream.StopImageBuilderOutput)
|
||||
|
||||
UpdateDirectoryConfig(*appstream.UpdateDirectoryConfigInput) (*appstream.UpdateDirectoryConfigOutput, error)
|
||||
UpdateDirectoryConfigWithContext(aws.Context, *appstream.UpdateDirectoryConfigInput, ...request.Option) (*appstream.UpdateDirectoryConfigOutput, error)
|
||||
UpdateDirectoryConfigRequest(*appstream.UpdateDirectoryConfigInput) (*request.Request, *appstream.UpdateDirectoryConfigOutput)
|
||||
|
||||
UpdateFleet(*appstream.UpdateFleetInput) (*appstream.UpdateFleetOutput, error)
|
||||
UpdateFleetWithContext(aws.Context, *appstream.UpdateFleetInput, ...request.Option) (*appstream.UpdateFleetOutput, error)
|
||||
UpdateFleetRequest(*appstream.UpdateFleetInput) (*request.Request, *appstream.UpdateFleetOutput)
|
||||
|
|
67
vendor/github.com/aws/aws-sdk-go/service/appstream/doc.go
generated
vendored
67
vendor/github.com/aws/aws-sdk-go/service/appstream/doc.go
generated
vendored
|
@ -3,7 +3,8 @@
|
|||
// Package appstream provides the client and types for making API
|
||||
// requests to Amazon AppStream.
|
||||
//
|
||||
// API documentation for Amazon AppStream 2.0.
|
||||
// You can use Amazon AppStream 2.0 to stream desktop applications to any device
|
||||
// running a web browser, without rewriting them.
|
||||
//
|
||||
// See https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01 for more information on this service.
|
||||
//
|
||||
|
@ -12,69 +13,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Amazon AppStream you will first need
|
||||
// to create a new instance of it.
|
||||
// To Amazon AppStream with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := appstream.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon AppStream client AppStream for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/appstream/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.AssociateFleet(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("AssociateFleet result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.AssociateFleetWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package appstream
|
||||
|
|
16
vendor/github.com/aws/aws-sdk-go/service/appstream/waiters.go
generated
vendored
16
vendor/github.com/aws/aws-sdk-go/service/appstream/waiters.go
generated
vendored
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
// WaitUntilFleetStarted uses the Amazon AppStream API operation
|
||||
// DescribeFleets to wait for a condition to be met before returning.
|
||||
// If the condition is not meet within the max attempt window an error will
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *AppStream) WaitUntilFleetStarted(input *DescribeFleetsInput) error {
|
||||
return c.WaitUntilFleetStartedWithContext(aws.BackgroundContext(), input)
|
||||
|
@ -33,17 +33,17 @@ func (c *AppStream) WaitUntilFleetStartedWithContext(ctx aws.Context, input *Des
|
|||
Acceptors: []request.WaiterAcceptor{
|
||||
{
|
||||
State: request.SuccessWaiterState,
|
||||
Matcher: request.PathAllWaiterMatch, Argument: "fleets[].state",
|
||||
Matcher: request.PathAllWaiterMatch, Argument: "Fleets[].State",
|
||||
Expected: "ACTIVE",
|
||||
},
|
||||
{
|
||||
State: request.FailureWaiterState,
|
||||
Matcher: request.PathAnyWaiterMatch, Argument: "fleets[].state",
|
||||
Matcher: request.PathAnyWaiterMatch, Argument: "Fleets[].State",
|
||||
Expected: "PENDING_DEACTIVATE",
|
||||
},
|
||||
{
|
||||
State: request.FailureWaiterState,
|
||||
Matcher: request.PathAnyWaiterMatch, Argument: "fleets[].state",
|
||||
Matcher: request.PathAnyWaiterMatch, Argument: "Fleets[].State",
|
||||
Expected: "INACTIVE",
|
||||
},
|
||||
},
|
||||
|
@ -67,7 +67,7 @@ func (c *AppStream) WaitUntilFleetStartedWithContext(ctx aws.Context, input *Des
|
|||
|
||||
// WaitUntilFleetStopped uses the Amazon AppStream API operation
|
||||
// DescribeFleets to wait for a condition to be met before returning.
|
||||
// If the condition is not meet within the max attempt window an error will
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *AppStream) WaitUntilFleetStopped(input *DescribeFleetsInput) error {
|
||||
return c.WaitUntilFleetStoppedWithContext(aws.BackgroundContext(), input)
|
||||
|
@ -89,17 +89,17 @@ func (c *AppStream) WaitUntilFleetStoppedWithContext(ctx aws.Context, input *Des
|
|||
Acceptors: []request.WaiterAcceptor{
|
||||
{
|
||||
State: request.SuccessWaiterState,
|
||||
Matcher: request.PathAllWaiterMatch, Argument: "fleets[].state",
|
||||
Matcher: request.PathAllWaiterMatch, Argument: "Fleets[].State",
|
||||
Expected: "INACTIVE",
|
||||
},
|
||||
{
|
||||
State: request.FailureWaiterState,
|
||||
Matcher: request.PathAnyWaiterMatch, Argument: "fleets[].state",
|
||||
Matcher: request.PathAnyWaiterMatch, Argument: "Fleets[].State",
|
||||
Expected: "PENDING_ACTIVATE",
|
||||
},
|
||||
{
|
||||
State: request.FailureWaiterState,
|
||||
Matcher: request.PathAnyWaiterMatch, Argument: "fleets[].state",
|
||||
Matcher: request.PathAnyWaiterMatch, Argument: "Fleets[].State",
|
||||
Expected: "ACTIVE",
|
||||
},
|
||||
},
|
||||
|
|
209
vendor/github.com/aws/aws-sdk-go/service/athena/api.go
generated
vendored
209
vendor/github.com/aws/aws-sdk-go/service/athena/api.go
generated
vendored
|
@ -14,19 +14,18 @@ const opBatchGetNamedQuery = "BatchGetNamedQuery"
|
|||
|
||||
// BatchGetNamedQueryRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the BatchGetNamedQuery operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See BatchGetNamedQuery for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the BatchGetNamedQuery method directly
|
||||
// instead.
|
||||
// See BatchGetNamedQuery for more information on using the BatchGetNamedQuery
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the BatchGetNamedQueryRequest method.
|
||||
// req, resp := client.BatchGetNamedQueryRequest(params)
|
||||
|
@ -105,19 +104,18 @@ const opBatchGetQueryExecution = "BatchGetQueryExecution"
|
|||
|
||||
// BatchGetQueryExecutionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the BatchGetQueryExecution operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See BatchGetQueryExecution for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the BatchGetQueryExecution method directly
|
||||
// instead.
|
||||
// See BatchGetQueryExecution for more information on using the BatchGetQueryExecution
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the BatchGetQueryExecutionRequest method.
|
||||
// req, resp := client.BatchGetQueryExecutionRequest(params)
|
||||
|
@ -194,19 +192,18 @@ const opCreateNamedQuery = "CreateNamedQuery"
|
|||
|
||||
// CreateNamedQueryRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateNamedQuery operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateNamedQuery for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateNamedQuery method directly
|
||||
// instead.
|
||||
// See CreateNamedQuery for more information on using the CreateNamedQuery
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateNamedQueryRequest method.
|
||||
// req, resp := client.CreateNamedQueryRequest(params)
|
||||
|
@ -283,19 +280,18 @@ const opDeleteNamedQuery = "DeleteNamedQuery"
|
|||
|
||||
// DeleteNamedQueryRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteNamedQuery operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteNamedQuery for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteNamedQuery method directly
|
||||
// instead.
|
||||
// See DeleteNamedQuery for more information on using the DeleteNamedQuery
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteNamedQueryRequest method.
|
||||
// req, resp := client.DeleteNamedQueryRequest(params)
|
||||
|
@ -372,19 +368,18 @@ const opGetNamedQuery = "GetNamedQuery"
|
|||
|
||||
// GetNamedQueryRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetNamedQuery operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetNamedQuery for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetNamedQuery method directly
|
||||
// instead.
|
||||
// See GetNamedQuery for more information on using the GetNamedQuery
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetNamedQueryRequest method.
|
||||
// req, resp := client.GetNamedQueryRequest(params)
|
||||
|
@ -457,19 +452,18 @@ const opGetQueryExecution = "GetQueryExecution"
|
|||
|
||||
// GetQueryExecutionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetQueryExecution operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetQueryExecution for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetQueryExecution method directly
|
||||
// instead.
|
||||
// See GetQueryExecution for more information on using the GetQueryExecution
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetQueryExecutionRequest method.
|
||||
// req, resp := client.GetQueryExecutionRequest(params)
|
||||
|
@ -543,19 +537,18 @@ const opGetQueryResults = "GetQueryResults"
|
|||
|
||||
// GetQueryResultsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetQueryResults operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetQueryResults for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetQueryResults method directly
|
||||
// instead.
|
||||
// See GetQueryResults for more information on using the GetQueryResults
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetQueryResultsRequest method.
|
||||
// req, resp := client.GetQueryResultsRequest(params)
|
||||
|
@ -686,19 +679,18 @@ const opListNamedQueries = "ListNamedQueries"
|
|||
|
||||
// ListNamedQueriesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListNamedQueries operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListNamedQueries for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListNamedQueries method directly
|
||||
// instead.
|
||||
// See ListNamedQueries for more information on using the ListNamedQueries
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListNamedQueriesRequest method.
|
||||
// req, resp := client.ListNamedQueriesRequest(params)
|
||||
|
@ -831,19 +823,18 @@ const opListQueryExecutions = "ListQueryExecutions"
|
|||
|
||||
// ListQueryExecutionsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListQueryExecutions operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListQueryExecutions for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListQueryExecutions method directly
|
||||
// instead.
|
||||
// See ListQueryExecutions for more information on using the ListQueryExecutions
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListQueryExecutionsRequest method.
|
||||
// req, resp := client.ListQueryExecutionsRequest(params)
|
||||
|
@ -976,19 +967,18 @@ const opStartQueryExecution = "StartQueryExecution"
|
|||
|
||||
// StartQueryExecutionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the StartQueryExecution operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See StartQueryExecution for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the StartQueryExecution method directly
|
||||
// instead.
|
||||
// See StartQueryExecution for more information on using the StartQueryExecution
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the StartQueryExecutionRequest method.
|
||||
// req, resp := client.StartQueryExecutionRequest(params)
|
||||
|
@ -1068,19 +1058,18 @@ const opStopQueryExecution = "StopQueryExecution"
|
|||
|
||||
// StopQueryExecutionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the StopQueryExecution operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See StopQueryExecution for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the StopQueryExecution method directly
|
||||
// instead.
|
||||
// See StopQueryExecution for more information on using the StopQueryExecution
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the StopQueryExecutionRequest method.
|
||||
// req, resp := client.StopQueryExecutionRequest(params)
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/service/athena/athenaiface/interface.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/athena/athenaiface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon Athena.
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/athena/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/athena/doc.go
generated
vendored
|
@ -23,69 +23,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Amazon Athena you will first need
|
||||
// to create a new instance of it.
|
||||
// To Amazon Athena with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := athena.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon Athena client Athena for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/athena/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.BatchGetNamedQuery(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("BatchGetNamedQuery result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.BatchGetNamedQueryWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package athena
|
||||
|
|
1343
vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go
generated
vendored
1343
vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go
generated
vendored
File diff suppressed because it is too large
Load diff
2
vendor/github.com/aws/aws-sdk-go/service/autoscaling/autoscalingiface/interface.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/autoscaling/autoscalingiface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Auto Scaling.
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/autoscaling/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/autoscaling/doc.go
generated
vendored
|
@ -14,69 +14,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Auto Scaling you will first need
|
||||
// to create a new instance of it.
|
||||
// To Auto Scaling with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := autoscaling.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Auto Scaling client AutoScaling for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/autoscaling/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.AttachInstances(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("AttachInstances result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.AttachInstancesWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package autoscaling
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/autoscaling/waiters.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/autoscaling/waiters.go
generated
vendored
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
// 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
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *AutoScaling) WaitUntilGroupExists(input *DescribeAutoScalingGroupsInput) error {
|
||||
return c.WaitUntilGroupExistsWithContext(aws.BackgroundContext(), input)
|
||||
|
@ -62,7 +62,7 @@ func (c *AutoScaling) WaitUntilGroupExistsWithContext(ctx aws.Context, input *De
|
|||
|
||||
// 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
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *AutoScaling) WaitUntilGroupInService(input *DescribeAutoScalingGroupsInput) error {
|
||||
return c.WaitUntilGroupInServiceWithContext(aws.BackgroundContext(), input)
|
||||
|
@ -113,7 +113,7 @@ func (c *AutoScaling) WaitUntilGroupInServiceWithContext(ctx aws.Context, input
|
|||
|
||||
// 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
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *AutoScaling) WaitUntilGroupNotExists(input *DescribeAutoScalingGroupsInput) error {
|
||||
return c.WaitUntilGroupNotExistsWithContext(aws.BackgroundContext(), input)
|
||||
|
|
408
vendor/github.com/aws/aws-sdk-go/service/batch/api.go
generated
vendored
408
vendor/github.com/aws/aws-sdk-go/service/batch/api.go
generated
vendored
|
@ -14,19 +14,18 @@ const opCancelJob = "CancelJob"
|
|||
|
||||
// CancelJobRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CancelJob operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CancelJob for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CancelJob method directly
|
||||
// instead.
|
||||
// See CancelJob for more information on using the CancelJob
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CancelJobRequest method.
|
||||
// req, resp := client.CancelJobRequest(params)
|
||||
|
@ -103,19 +102,18 @@ const opCreateComputeEnvironment = "CreateComputeEnvironment"
|
|||
|
||||
// CreateComputeEnvironmentRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateComputeEnvironment operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateComputeEnvironment for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateComputeEnvironment method directly
|
||||
// instead.
|
||||
// See CreateComputeEnvironment for more information on using the CreateComputeEnvironment
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateComputeEnvironmentRequest method.
|
||||
// req, resp := client.CreateComputeEnvironmentRequest(params)
|
||||
|
@ -149,11 +147,11 @@ func (c *Batch) CreateComputeEnvironmentRequest(input *CreateComputeEnvironmentI
|
|||
//
|
||||
// In a managed compute environment, AWS Batch manages the compute resources
|
||||
// within the environment, based on the compute resources that you specify.
|
||||
// Instances launched into a managed compute environment use the latest Amazon
|
||||
// ECS-optimized AMI. You can choose to use Amazon EC2 On-Demand instances in
|
||||
// your managed compute environment, or you can use Amazon EC2 Spot instances
|
||||
// that only launch when the Spot bid price is below a specified percentage
|
||||
// of the On-Demand price.
|
||||
// Instances launched into a managed compute environment use a recent, approved
|
||||
// version of the Amazon ECS-optimized AMI. You can choose to use Amazon EC2
|
||||
// On-Demand instances in your managed compute environment, or you can use Amazon
|
||||
// EC2 Spot instances that only launch when the Spot bid price is below a specified
|
||||
// percentage of the On-Demand price.
|
||||
//
|
||||
// In an unmanaged compute environment, you can manage your own compute resources.
|
||||
// This provides more compute resource configuration options, such as using
|
||||
|
@ -209,19 +207,18 @@ const opCreateJobQueue = "CreateJobQueue"
|
|||
|
||||
// CreateJobQueueRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateJobQueue operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateJobQueue for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateJobQueue method directly
|
||||
// instead.
|
||||
// See CreateJobQueue for more information on using the CreateJobQueue
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateJobQueueRequest method.
|
||||
// req, resp := client.CreateJobQueueRequest(params)
|
||||
|
@ -302,19 +299,18 @@ const opDeleteComputeEnvironment = "DeleteComputeEnvironment"
|
|||
|
||||
// DeleteComputeEnvironmentRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteComputeEnvironment operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteComputeEnvironment for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteComputeEnvironment method directly
|
||||
// instead.
|
||||
// See DeleteComputeEnvironment for more information on using the DeleteComputeEnvironment
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteComputeEnvironmentRequest method.
|
||||
// req, resp := client.DeleteComputeEnvironmentRequest(params)
|
||||
|
@ -391,19 +387,18 @@ const opDeleteJobQueue = "DeleteJobQueue"
|
|||
|
||||
// DeleteJobQueueRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteJobQueue operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteJobQueue for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteJobQueue method directly
|
||||
// instead.
|
||||
// See DeleteJobQueue for more information on using the DeleteJobQueue
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteJobQueueRequest method.
|
||||
// req, resp := client.DeleteJobQueueRequest(params)
|
||||
|
@ -433,8 +428,8 @@ func (c *Batch) DeleteJobQueueRequest(input *DeleteJobQueueInput) (req *request.
|
|||
// DeleteJobQueue API operation for AWS Batch.
|
||||
//
|
||||
// Deletes the specified job queue. You must first disable submissions for a
|
||||
// queue with the UpdateJobQueue operation and terminate any jobs that have
|
||||
// not completed with the TerminateJob.
|
||||
// queue with the UpdateJobQueue operation. All jobs in the queue are terminated
|
||||
// when you delete a job queue.
|
||||
//
|
||||
// It is not necessary to disassociate compute environments from a queue before
|
||||
// submitting a DeleteJobQueue request.
|
||||
|
@ -481,19 +476,18 @@ const opDeregisterJobDefinition = "DeregisterJobDefinition"
|
|||
|
||||
// DeregisterJobDefinitionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeregisterJobDefinition operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeregisterJobDefinition for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeregisterJobDefinition method directly
|
||||
// instead.
|
||||
// See DeregisterJobDefinition for more information on using the DeregisterJobDefinition
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeregisterJobDefinitionRequest method.
|
||||
// req, resp := client.DeregisterJobDefinitionRequest(params)
|
||||
|
@ -566,19 +560,18 @@ const opDescribeComputeEnvironments = "DescribeComputeEnvironments"
|
|||
|
||||
// DescribeComputeEnvironmentsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeComputeEnvironments operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeComputeEnvironments for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeComputeEnvironments method directly
|
||||
// instead.
|
||||
// See DescribeComputeEnvironments for more information on using the DescribeComputeEnvironments
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeComputeEnvironmentsRequest method.
|
||||
// req, resp := client.DescribeComputeEnvironmentsRequest(params)
|
||||
|
@ -655,19 +648,18 @@ const opDescribeJobDefinitions = "DescribeJobDefinitions"
|
|||
|
||||
// DescribeJobDefinitionsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeJobDefinitions operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeJobDefinitions for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeJobDefinitions method directly
|
||||
// instead.
|
||||
// See DescribeJobDefinitions for more information on using the DescribeJobDefinitions
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeJobDefinitionsRequest method.
|
||||
// req, resp := client.DescribeJobDefinitionsRequest(params)
|
||||
|
@ -741,19 +733,18 @@ const opDescribeJobQueues = "DescribeJobQueues"
|
|||
|
||||
// DescribeJobQueuesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeJobQueues operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeJobQueues for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeJobQueues method directly
|
||||
// instead.
|
||||
// See DescribeJobQueues for more information on using the DescribeJobQueues
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeJobQueuesRequest method.
|
||||
// req, resp := client.DescribeJobQueuesRequest(params)
|
||||
|
@ -826,19 +817,18 @@ const opDescribeJobs = "DescribeJobs"
|
|||
|
||||
// DescribeJobsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeJobs operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeJobs for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeJobs method directly
|
||||
// instead.
|
||||
// See DescribeJobs for more information on using the DescribeJobs
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeJobsRequest method.
|
||||
// req, resp := client.DescribeJobsRequest(params)
|
||||
|
@ -911,19 +901,18 @@ const opListJobs = "ListJobs"
|
|||
|
||||
// ListJobsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListJobs operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListJobs for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListJobs method directly
|
||||
// instead.
|
||||
// See ListJobs for more information on using the ListJobs
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListJobsRequest method.
|
||||
// req, resp := client.ListJobsRequest(params)
|
||||
|
@ -953,7 +942,8 @@ func (c *Batch) ListJobsRequest(input *ListJobsInput) (req *request.Request, out
|
|||
// ListJobs API operation for AWS Batch.
|
||||
//
|
||||
// Returns a list of task jobs for a specified job queue. You can filter the
|
||||
// results by job status with the jobStatus parameter.
|
||||
// results by job status with the jobStatus parameter. If you do not specify
|
||||
// a status, only RUNNING jobs 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
|
||||
|
@ -997,19 +987,18 @@ const opRegisterJobDefinition = "RegisterJobDefinition"
|
|||
|
||||
// RegisterJobDefinitionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RegisterJobDefinition operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See RegisterJobDefinition for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the RegisterJobDefinition method directly
|
||||
// instead.
|
||||
// See RegisterJobDefinition for more information on using the RegisterJobDefinition
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the RegisterJobDefinitionRequest method.
|
||||
// req, resp := client.RegisterJobDefinitionRequest(params)
|
||||
|
@ -1082,19 +1071,18 @@ const opSubmitJob = "SubmitJob"
|
|||
|
||||
// SubmitJobRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the SubmitJob operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See SubmitJob for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the SubmitJob method directly
|
||||
// instead.
|
||||
// See SubmitJob for more information on using the SubmitJob
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the SubmitJobRequest method.
|
||||
// req, resp := client.SubmitJobRequest(params)
|
||||
|
@ -1168,19 +1156,18 @@ const opTerminateJob = "TerminateJob"
|
|||
|
||||
// TerminateJobRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the TerminateJob operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See TerminateJob for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the TerminateJob method directly
|
||||
// instead.
|
||||
// See TerminateJob for more information on using the TerminateJob
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the TerminateJobRequest method.
|
||||
// req, resp := client.TerminateJobRequest(params)
|
||||
|
@ -1255,19 +1242,18 @@ const opUpdateComputeEnvironment = "UpdateComputeEnvironment"
|
|||
|
||||
// UpdateComputeEnvironmentRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateComputeEnvironment operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateComputeEnvironment for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateComputeEnvironment method directly
|
||||
// instead.
|
||||
// See UpdateComputeEnvironment for more information on using the UpdateComputeEnvironment
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateComputeEnvironmentRequest method.
|
||||
// req, resp := client.UpdateComputeEnvironmentRequest(params)
|
||||
|
@ -1340,19 +1326,18 @@ const opUpdateJobQueue = "UpdateJobQueue"
|
|||
|
||||
// UpdateJobQueueRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateJobQueue operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateJobQueue for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateJobQueue method directly
|
||||
// instead.
|
||||
// See UpdateJobQueue for more information on using the UpdateJobQueue
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateJobQueueRequest method.
|
||||
// req, resp := client.UpdateJobQueueRequest(params)
|
||||
|
@ -1433,6 +1418,11 @@ type AttemptContainerDetail struct {
|
|||
// The exit code for the job attempt. A non-zero exit code is considered a failure.
|
||||
ExitCode *int64 `locationName:"exitCode" type:"integer"`
|
||||
|
||||
// The name of the CloudWatch Logs log stream associated with the container.
|
||||
// The log group for AWS Batch jobs is /aws/batch/job. Each container attempt
|
||||
// receives a log stream name when they reach the RUNNING status.
|
||||
LogStreamName *string `locationName:"logStreamName" type:"string"`
|
||||
|
||||
// A short (255 max characters) human-readable string to provide additional
|
||||
// details about a running or stopped container.
|
||||
Reason *string `locationName:"reason" type:"string"`
|
||||
|
@ -1464,6 +1454,12 @@ func (s *AttemptContainerDetail) SetExitCode(v int64) *AttemptContainerDetail {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetLogStreamName sets the LogStreamName field's value.
|
||||
func (s *AttemptContainerDetail) SetLogStreamName(v string) *AttemptContainerDetail {
|
||||
s.LogStreamName = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetReason sets the Reason field's value.
|
||||
func (s *AttemptContainerDetail) SetReason(v string) *AttemptContainerDetail {
|
||||
s.Reason = &v
|
||||
|
@ -1787,8 +1783,11 @@ type ComputeResource struct {
|
|||
// environment.
|
||||
ImageId *string `locationName:"imageId" type:"string"`
|
||||
|
||||
// The Amazon ECS instance role applied to Amazon EC2 instances in a compute
|
||||
// environment.
|
||||
// The Amazon ECS instance profile applied to Amazon EC2 instances in a compute
|
||||
// environment. You can specify the short name or full Amazon Resource Name
|
||||
// (ARN) of an instance profile. For example, ecsInstanceRole or arn:aws:iam::<aws_account_id>:instance-profile/ecsInstanceRole.
|
||||
// For more information, see Amazon ECS Instance Role (http://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html)
|
||||
// in the AWS Batch User Guide.
|
||||
//
|
||||
// InstanceRole is a required field
|
||||
InstanceRole *string `locationName:"instanceRole" type:"string" required:"true"`
|
||||
|
@ -2020,6 +2019,11 @@ type ContainerDetail struct {
|
|||
// The Amazon Resource Name (ARN) associated with the job upon execution.
|
||||
JobRoleArn *string `locationName:"jobRoleArn" type:"string"`
|
||||
|
||||
// The name of the CloudWatch Logs log stream associated with the container.
|
||||
// The log group for AWS Batch jobs is /aws/batch/job. Each container attempt
|
||||
// receives a log stream name when they reach the RUNNING status.
|
||||
LogStreamName *string `locationName:"logStreamName" type:"string"`
|
||||
|
||||
// The number of MiB of memory reserved for the job.
|
||||
Memory *int64 `locationName:"memory" type:"integer"`
|
||||
|
||||
|
@ -2101,6 +2105,12 @@ func (s *ContainerDetail) SetJobRoleArn(v string) *ContainerDetail {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetLogStreamName sets the LogStreamName field's value.
|
||||
func (s *ContainerDetail) SetLogStreamName(v string) *ContainerDetail {
|
||||
s.LogStreamName = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetMemory sets the Memory field's value.
|
||||
func (s *ContainerDetail) SetMemory(v int64) *ContainerDetail {
|
||||
s.Memory = &v
|
||||
|
@ -2275,6 +2285,7 @@ type ContainerProperties struct {
|
|||
// parameter maps to Memory in the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container)
|
||||
// section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/)
|
||||
// and the --memory option to docker run (https://docs.docker.com/engine/reference/run/).
|
||||
// You must specify at least 4 MiB of memory for a job.
|
||||
//
|
||||
// Memory is a required field
|
||||
Memory *int64 `locationName:"memory" type:"integer" required:"true"`
|
||||
|
@ -2315,7 +2326,8 @@ type ContainerProperties struct {
|
|||
// in the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container)
|
||||
// section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/)
|
||||
// and the --cpu-shares option to docker run (https://docs.docker.com/engine/reference/run/).
|
||||
// Each vCPU is equivalent to 1,024 CPU shares.
|
||||
// Each vCPU is equivalent to 1,024 CPU shares. You must specify at least 1
|
||||
// vCPU.
|
||||
//
|
||||
// Vcpus is a required field
|
||||
Vcpus *int64 `locationName:"vcpus" type:"integer" required:"true"`
|
||||
|
@ -2452,6 +2464,16 @@ type CreateComputeEnvironmentInput struct {
|
|||
// The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch
|
||||
// to make calls to other AWS services on your behalf.
|
||||
//
|
||||
// If your specified role has a path other than /, then you must either specify
|
||||
// the full role ARN (this is recommended) or prefix the role name with the
|
||||
// path.
|
||||
//
|
||||
// Depending on how you created your AWS Batch service role, its ARN may contain
|
||||
// the service-role path prefix. When you only specify the name of the service
|
||||
// role, AWS Batch assumes that your ARN does not use the service-role path
|
||||
// prefix. Because of this, we recommend that you specify the full ARN of your
|
||||
// service role when you create compute environments.
|
||||
//
|
||||
// ServiceRole is a required field
|
||||
ServiceRole *string `locationName:"serviceRole" type:"string" required:"true"`
|
||||
|
||||
|
@ -2581,11 +2603,11 @@ type CreateJobQueueInput struct {
|
|||
// JobQueueName is a required field
|
||||
JobQueueName *string `locationName:"jobQueueName" type:"string" required:"true"`
|
||||
|
||||
// The priority of the job queue. Job queues with a higher priority (or a lower
|
||||
// The priority of the job queue. Job queues with a higher priority (or a higher
|
||||
// integer value for the priority parameter) are evaluated first when associated
|
||||
// with same compute environment. Priority is determined in ascending order,
|
||||
// for example, a job queue with a priority value of 1 is given scheduling preference
|
||||
// over a job queue with a priority value of 10.
|
||||
// with same compute environment. Priority is determined in descending order,
|
||||
// for example, a job queue with a priority value of 10 is given scheduling
|
||||
// preference over a job queue with a priority value of 1.
|
||||
//
|
||||
// Priority is a required field
|
||||
Priority *int64 `locationName:"priority" type:"integer" required:"true"`
|
||||
|
@ -3713,7 +3735,8 @@ type ListJobsInput struct {
|
|||
// JobQueue is a required field
|
||||
JobQueue *string `locationName:"jobQueue" type:"string" required:"true"`
|
||||
|
||||
// The job status with which to filter jobs in the specified queue.
|
||||
// The job status with which to filter jobs in the specified queue. If you do
|
||||
// not specify a status, only RUNNING jobs are returned.
|
||||
JobStatus *string `locationName:"jobStatus" type:"string" enum:"JobStatus"`
|
||||
|
||||
// The maximum number of results returned by ListJobs in paginated output. When
|
||||
|
@ -3873,7 +3896,8 @@ type RegisterJobDefinitionInput struct {
|
|||
// parameter is required if the type parameter is container.
|
||||
ContainerProperties *ContainerProperties `locationName:"containerProperties" type:"structure"`
|
||||
|
||||
// The name of the job definition to register.
|
||||
// The name of the job definition to register. Up to 128 letters (uppercase
|
||||
// and lowercase), numbers, hyphens, and underscores are allowed.
|
||||
//
|
||||
// JobDefinitionName is a required field
|
||||
JobDefinitionName *string `locationName:"jobDefinitionName" type:"string" required:"true"`
|
||||
|
@ -4044,7 +4068,7 @@ type SubmitJobInput struct {
|
|||
ContainerOverrides *ContainerOverrides `locationName:"containerOverrides" type:"structure"`
|
||||
|
||||
// A list of job IDs on which this job depends. A job can depend upon a maximum
|
||||
// of 100 jobs.
|
||||
// of 20 jobs.
|
||||
DependsOn []*JobDependency `locationName:"dependsOn" type:"list"`
|
||||
|
||||
// The job definition used by this job. This value can be either a name:revision
|
||||
|
@ -4053,9 +4077,9 @@ type SubmitJobInput struct {
|
|||
// JobDefinition is a required field
|
||||
JobDefinition *string `locationName:"jobDefinition" type:"string" required:"true"`
|
||||
|
||||
// The name of the job. A name must be 1 to 128 characters in length.
|
||||
//
|
||||
// Pattern: ^[a-zA-Z0-9_]+$
|
||||
// The name of the job. The first character must be alphanumeric, and up to
|
||||
// 128 letters (uppercase and lowercase), numbers, hyphens, and underscores
|
||||
// are allowed.
|
||||
//
|
||||
// JobName is a required field
|
||||
JobName *string `locationName:"jobName" type:"string" required:"true"`
|
||||
|
@ -4338,8 +4362,18 @@ type UpdateComputeEnvironmentInput struct {
|
|||
// for a managed compute environment.
|
||||
ComputeResources *ComputeResourceUpdate `locationName:"computeResources" type:"structure"`
|
||||
|
||||
// The name or full Amazon Resource Name (ARN) of the IAM role that allows AWS
|
||||
// Batch to make calls to ECS, Auto Scaling, and EC2 on your behalf.
|
||||
// The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch
|
||||
// to make calls to other AWS services on your behalf.
|
||||
//
|
||||
// If your specified role has a path other than /, then you must either specify
|
||||
// the full role ARN (this is recommended) or prefix the role name with the
|
||||
// path.
|
||||
//
|
||||
// Depending on how you created your AWS Batch service role, its ARN may contain
|
||||
// the service-role path prefix. When you only specify the name of the service
|
||||
// role, AWS Batch assumes that your ARN does not use the service-role path
|
||||
// prefix. Because of this, we recommend that you specify the full ARN of your
|
||||
// service role when you create compute environments.
|
||||
ServiceRole *string `locationName:"serviceRole" type:"string"`
|
||||
|
||||
// The state of the compute environment. Compute environments in the ENABLED
|
||||
|
@ -4442,11 +4476,11 @@ type UpdateJobQueueInput struct {
|
|||
// JobQueue is a required field
|
||||
JobQueue *string `locationName:"jobQueue" type:"string" required:"true"`
|
||||
|
||||
// The priority of the job queue. Job queues with a higher priority (or a lower
|
||||
// The priority of the job queue. Job queues with a higher priority (or a higher
|
||||
// integer value for the priority parameter) are evaluated first when associated
|
||||
// with same compute environment. Priority is determined in ascending order,
|
||||
// for example, a job queue with a priority value of 1 is given scheduling preference
|
||||
// over a job queue with a priority value of 10.
|
||||
// with same compute environment. Priority is determined in descending order,
|
||||
// for example, a job queue with a priority value of 10 is given scheduling
|
||||
// preference over a job queue with a priority value of 1.
|
||||
Priority *int64 `locationName:"priority" type:"integer"`
|
||||
|
||||
// Describes the queue's ability to accept new jobs.
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/service/batch/batchiface/interface.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/batch/batchiface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS Batch.
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/batch/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/batch/doc.go
generated
vendored
|
@ -28,69 +28,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for AWS Batch you will first need
|
||||
// to create a new instance of it.
|
||||
// To AWS Batch with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := batch.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the AWS Batch client Batch for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/batch/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.CancelJob(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("CancelJob result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.CancelJobWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package batch
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go/service/batch/examples_test.go
generated
vendored
4
vendor/github.com/aws/aws-sdk-go/service/batch/examples_test.go
generated
vendored
|
@ -192,7 +192,7 @@ func ExampleBatch_CreateJobQueue_shared00() {
|
|||
},
|
||||
},
|
||||
JobQueueName: aws.String("LowPriority"),
|
||||
Priority: aws.Int64(10),
|
||||
Priority: aws.Int64(1),
|
||||
State: aws.String("ENABLED"),
|
||||
}
|
||||
|
||||
|
@ -237,7 +237,7 @@ func ExampleBatch_CreateJobQueue_shared01() {
|
|||
},
|
||||
},
|
||||
JobQueueName: aws.String("HighPriority"),
|
||||
Priority: aws.Int64(1),
|
||||
Priority: aws.Int64(10),
|
||||
State: aws.String("ENABLED"),
|
||||
}
|
||||
|
||||
|
|
314
vendor/github.com/aws/aws-sdk-go/service/budgets/api.go
generated
vendored
314
vendor/github.com/aws/aws-sdk-go/service/budgets/api.go
generated
vendored
|
@ -15,19 +15,18 @@ const opCreateBudget = "CreateBudget"
|
|||
|
||||
// CreateBudgetRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateBudget operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateBudget for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateBudget method directly
|
||||
// instead.
|
||||
// See CreateBudget for more information on using the CreateBudget
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateBudgetRequest method.
|
||||
// req, resp := client.CreateBudgetRequest(params)
|
||||
|
@ -104,19 +103,18 @@ const opCreateNotification = "CreateNotification"
|
|||
|
||||
// CreateNotificationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateNotification operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateNotification for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateNotification method directly
|
||||
// instead.
|
||||
// See CreateNotification for more information on using the CreateNotification
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateNotificationRequest method.
|
||||
// req, resp := client.CreateNotificationRequest(params)
|
||||
|
@ -197,19 +195,18 @@ const opCreateSubscriber = "CreateSubscriber"
|
|||
|
||||
// CreateSubscriberRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateSubscriber operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateSubscriber for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateSubscriber method directly
|
||||
// instead.
|
||||
// See CreateSubscriber for more information on using the CreateSubscriber
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateSubscriberRequest method.
|
||||
// req, resp := client.CreateSubscriberRequest(params)
|
||||
|
@ -290,19 +287,18 @@ const opDeleteBudget = "DeleteBudget"
|
|||
|
||||
// DeleteBudgetRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteBudget operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteBudget for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteBudget method directly
|
||||
// instead.
|
||||
// See DeleteBudget for more information on using the DeleteBudget
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteBudgetRequest method.
|
||||
// req, resp := client.DeleteBudgetRequest(params)
|
||||
|
@ -375,19 +371,18 @@ const opDeleteNotification = "DeleteNotification"
|
|||
|
||||
// DeleteNotificationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteNotification operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteNotification for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteNotification method directly
|
||||
// instead.
|
||||
// See DeleteNotification for more information on using the DeleteNotification
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteNotificationRequest method.
|
||||
// req, resp := client.DeleteNotificationRequest(params)
|
||||
|
@ -460,19 +455,18 @@ const opDeleteSubscriber = "DeleteSubscriber"
|
|||
|
||||
// DeleteSubscriberRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteSubscriber operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteSubscriber for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteSubscriber method directly
|
||||
// instead.
|
||||
// See DeleteSubscriber for more information on using the DeleteSubscriber
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteSubscriberRequest method.
|
||||
// req, resp := client.DeleteSubscriberRequest(params)
|
||||
|
@ -545,19 +539,18 @@ const opDescribeBudget = "DescribeBudget"
|
|||
|
||||
// DescribeBudgetRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeBudget operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeBudget for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeBudget method directly
|
||||
// instead.
|
||||
// See DescribeBudget for more information on using the DescribeBudget
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeBudgetRequest method.
|
||||
// req, resp := client.DescribeBudgetRequest(params)
|
||||
|
@ -630,19 +623,18 @@ const opDescribeBudgets = "DescribeBudgets"
|
|||
|
||||
// DescribeBudgetsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeBudgets operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeBudgets for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeBudgets method directly
|
||||
// instead.
|
||||
// See DescribeBudgets for more information on using the DescribeBudgets
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeBudgetsRequest method.
|
||||
// req, resp := client.DescribeBudgetsRequest(params)
|
||||
|
@ -722,19 +714,18 @@ const opDescribeNotificationsForBudget = "DescribeNotificationsForBudget"
|
|||
|
||||
// DescribeNotificationsForBudgetRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeNotificationsForBudget operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeNotificationsForBudget for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeNotificationsForBudget method directly
|
||||
// instead.
|
||||
// See DescribeNotificationsForBudget for more information on using the DescribeNotificationsForBudget
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeNotificationsForBudgetRequest method.
|
||||
// req, resp := client.DescribeNotificationsForBudgetRequest(params)
|
||||
|
@ -814,19 +805,18 @@ const opDescribeSubscribersForNotification = "DescribeSubscribersForNotification
|
|||
|
||||
// DescribeSubscribersForNotificationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeSubscribersForNotification operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeSubscribersForNotification for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeSubscribersForNotification method directly
|
||||
// instead.
|
||||
// See DescribeSubscribersForNotification for more information on using the DescribeSubscribersForNotification
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeSubscribersForNotificationRequest method.
|
||||
// req, resp := client.DescribeSubscribersForNotificationRequest(params)
|
||||
|
@ -906,19 +896,18 @@ const opUpdateBudget = "UpdateBudget"
|
|||
|
||||
// UpdateBudgetRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateBudget operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateBudget for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateBudget method directly
|
||||
// instead.
|
||||
// See UpdateBudget for more information on using the UpdateBudget
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateBudgetRequest method.
|
||||
// req, resp := client.UpdateBudgetRequest(params)
|
||||
|
@ -991,19 +980,18 @@ const opUpdateNotification = "UpdateNotification"
|
|||
|
||||
// UpdateNotificationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateNotification operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateNotification for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateNotification method directly
|
||||
// instead.
|
||||
// See UpdateNotification for more information on using the UpdateNotification
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateNotificationRequest method.
|
||||
// req, resp := client.UpdateNotificationRequest(params)
|
||||
|
@ -1051,6 +1039,10 @@ func (c *Budgets) UpdateNotificationRequest(input *UpdateNotificationInput) (req
|
|||
// This exception is thrown if a requested entity is not found. E.g., if a budget
|
||||
// id doesn't exist for an account ID.
|
||||
//
|
||||
// * ErrCodeDuplicateRecordException "DuplicateRecordException"
|
||||
// The exception is thrown when customer tries to create a record (e.g. budget)
|
||||
// that already exists.
|
||||
//
|
||||
func (c *Budgets) UpdateNotification(input *UpdateNotificationInput) (*UpdateNotificationOutput, error) {
|
||||
req, out := c.UpdateNotificationRequest(input)
|
||||
return out, req.Send()
|
||||
|
@ -1076,19 +1068,18 @@ const opUpdateSubscriber = "UpdateSubscriber"
|
|||
|
||||
// UpdateSubscriberRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateSubscriber operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateSubscriber for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateSubscriber method directly
|
||||
// instead.
|
||||
// See UpdateSubscriber for more information on using the UpdateSubscriber
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateSubscriberRequest method.
|
||||
// req, resp := client.UpdateSubscriberRequest(params)
|
||||
|
@ -1136,6 +1127,10 @@ func (c *Budgets) UpdateSubscriberRequest(input *UpdateSubscriberInput) (req *re
|
|||
// This exception is thrown if a requested entity is not found. E.g., if a budget
|
||||
// id doesn't exist for an account ID.
|
||||
//
|
||||
// * ErrCodeDuplicateRecordException "DuplicateRecordException"
|
||||
// The exception is thrown when customer tries to create a record (e.g. budget)
|
||||
// that already exists.
|
||||
//
|
||||
func (c *Budgets) UpdateSubscriber(input *UpdateSubscriberInput) (*UpdateSubscriberOutput, error) {
|
||||
req, out := c.UpdateSubscriberRequest(input)
|
||||
return out, req.Send()
|
||||
|
@ -1161,8 +1156,8 @@ func (c *Budgets) UpdateSubscriberWithContext(ctx aws.Context, input *UpdateSubs
|
|||
type Budget struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// A structure represent either a cost spend or usage spend. Contains an amount
|
||||
// and a unit.
|
||||
// A structure that represents either a cost spend or usage spend. Contains
|
||||
// an amount and a unit.
|
||||
//
|
||||
// BudgetLimit is a required field
|
||||
BudgetLimit *Spend `type:"structure" required:"true"`
|
||||
|
@ -1177,10 +1172,10 @@ type Budget struct {
|
|||
// BudgetType is a required field
|
||||
BudgetType *string `type:"string" required:"true" enum:"BudgetType"`
|
||||
|
||||
// A structure holds the actual and forecasted spend for a budget.
|
||||
// A structure that holds the actual and forecasted spend for a budget.
|
||||
CalculatedSpend *CalculatedSpend `type:"structure"`
|
||||
|
||||
// A map represents the cost filters applied to the budget.
|
||||
// A map that represents the cost filters applied to the budget.
|
||||
CostFilters map[string][]*string `type:"map"`
|
||||
|
||||
// This includes the options for getting the cost of a budget.
|
||||
|
@ -1188,7 +1183,7 @@ type Budget struct {
|
|||
// CostTypes is a required field
|
||||
CostTypes *CostTypes `type:"structure" required:"true"`
|
||||
|
||||
// A time period indicated the start date and end date of a budget.
|
||||
// A time period indicating the start date and end date of a budget.
|
||||
//
|
||||
// TimePeriod is a required field
|
||||
TimePeriod *TimePeriod `type:"structure" required:"true"`
|
||||
|
@ -1305,18 +1300,18 @@ func (s *Budget) SetTimeUnit(v string) *Budget {
|
|||
return s
|
||||
}
|
||||
|
||||
// A structure holds the actual and forecasted spend for a budget.
|
||||
// A structure that holds the actual and forecasted spend for a budget.
|
||||
type CalculatedSpend struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// A structure represent either a cost spend or usage spend. Contains an amount
|
||||
// and a unit.
|
||||
// A structure that represents either a cost spend or usage spend. Contains
|
||||
// an amount and a unit.
|
||||
//
|
||||
// ActualSpend is a required field
|
||||
ActualSpend *Spend `type:"structure" required:"true"`
|
||||
|
||||
// A structure represent either a cost spend or usage spend. Contains an amount
|
||||
// and a unit.
|
||||
// A structure that represents either a cost spend or usage spend. Contains
|
||||
// an amount and a unit.
|
||||
ForecastedSpend *Spend `type:"structure"`
|
||||
}
|
||||
|
||||
|
@ -2118,8 +2113,8 @@ type DescribeBudgetsInput struct {
|
|||
// AccountId is a required field
|
||||
AccountId *string `min:"12" type:"string" required:"true"`
|
||||
|
||||
// An integer to represent how many entries should a pagianted response contains.
|
||||
// Maxium is set to 100.
|
||||
// An integer to represent how many entries a paginated response contains. Maximum
|
||||
// is set to 100.
|
||||
MaxResults *int64 `min:"1" type:"integer"`
|
||||
|
||||
// A generic String.
|
||||
|
@ -2220,8 +2215,8 @@ type DescribeNotificationsForBudgetInput struct {
|
|||
// BudgetName is a required field
|
||||
BudgetName *string `type:"string" required:"true"`
|
||||
|
||||
// An integer to represent how many entries should a pagianted response contains.
|
||||
// Maxium is set to 100.
|
||||
// An integer to represent how many entries a paginated response contains. Maximum
|
||||
// is set to 100.
|
||||
MaxResults *int64 `min:"1" type:"integer"`
|
||||
|
||||
// A generic String.
|
||||
|
@ -2331,8 +2326,8 @@ type DescribeSubscribersForNotificationInput struct {
|
|||
// BudgetName is a required field
|
||||
BudgetName *string `type:"string" required:"true"`
|
||||
|
||||
// An integer to represent how many entries should a pagianted response contains.
|
||||
// Maxium is set to 100.
|
||||
// An integer to represent how many entries a paginated response contains. Maximum
|
||||
// is set to 100.
|
||||
MaxResults *int64 `min:"1" type:"integer"`
|
||||
|
||||
// A generic String.
|
||||
|
@ -2464,11 +2459,13 @@ type Notification struct {
|
|||
// NotificationType is a required field
|
||||
NotificationType *string `type:"string" required:"true" enum:"NotificationType"`
|
||||
|
||||
// The threshold of the a notification. It should be a number between 0 and
|
||||
// 100.
|
||||
// The threshold of a notification. It should be a number between 0 and 1,000,000,000.
|
||||
//
|
||||
// Threshold is a required field
|
||||
Threshold *float64 `min:"0.1" type:"double" required:"true"`
|
||||
|
||||
// The type of threshold for a notification. It can be PERCENTAGE or ABSOLUTE_VALUE.
|
||||
ThresholdType *string `type:"string" enum:"ThresholdType"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
|
@ -2521,6 +2518,12 @@ func (s *Notification) SetThreshold(v float64) *Notification {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetThresholdType sets the ThresholdType field's value.
|
||||
func (s *Notification) SetThresholdType(v string) *Notification {
|
||||
s.ThresholdType = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// A structure to relate notification and a list of subscribers who belong to
|
||||
// the notification.
|
||||
type NotificationWithSubscribers struct {
|
||||
|
@ -2594,8 +2597,8 @@ func (s *NotificationWithSubscribers) SetSubscribers(v []*Subscriber) *Notificat
|
|||
return s
|
||||
}
|
||||
|
||||
// A structure represent either a cost spend or usage spend. Contains an amount
|
||||
// and a unit.
|
||||
// A structure that represents either a cost spend or usage spend. Contains
|
||||
// an amount and a unit.
|
||||
type Spend struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2705,7 +2708,7 @@ func (s *Subscriber) SetSubscriptionType(v string) *Subscriber {
|
|||
return s
|
||||
}
|
||||
|
||||
// A time period indicated the start date and end date of a budget.
|
||||
// A time period indicating the start date and end date of a budget.
|
||||
type TimePeriod struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3119,6 +3122,15 @@ const (
|
|||
SubscriptionTypeEmail = "EMAIL"
|
||||
)
|
||||
|
||||
// The type of threshold for a notification. It can be PERCENTAGE or ABSOLUTE_VALUE.
|
||||
const (
|
||||
// ThresholdTypePercentage is a ThresholdType enum value
|
||||
ThresholdTypePercentage = "PERCENTAGE"
|
||||
|
||||
// ThresholdTypeAbsoluteValue is a ThresholdType enum value
|
||||
ThresholdTypeAbsoluteValue = "ABSOLUTE_VALUE"
|
||||
)
|
||||
|
||||
// The time unit of the budget. e.g. MONTHLY, QUARTERLY, etc.
|
||||
const (
|
||||
// TimeUnitDaily is a TimeUnit enum value
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/service/budgets/budgetsiface/interface.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/budgets/budgetsiface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS Budgets.
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/budgets/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/budgets/doc.go
generated
vendored
|
@ -10,69 +10,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for AWS Budgets you will first need
|
||||
// to create a new instance of it.
|
||||
// To AWS Budgets with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := budgets.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the AWS Budgets client Budgets for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/budgets/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.CreateBudget(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("CreateBudget result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.CreateBudgetWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package budgets
|
||||
|
|
3134
vendor/github.com/aws/aws-sdk-go/service/clouddirectory/api.go
generated
vendored
3134
vendor/github.com/aws/aws-sdk-go/service/clouddirectory/api.go
generated
vendored
File diff suppressed because it is too large
Load diff
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon CloudDirectory.
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/clouddirectory/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/clouddirectory/doc.go
generated
vendored
|
@ -17,69 +17,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Amazon CloudDirectory you will first need
|
||||
// to create a new instance of it.
|
||||
// To Amazon CloudDirectory with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := clouddirectory.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon CloudDirectory client CloudDirectory for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/clouddirectory/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.AddFacetToObject(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("AddFacetToObject result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.AddFacetToObjectWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package clouddirectory
|
||||
|
|
4763
vendor/github.com/aws/aws-sdk-go/service/cloudformation/api.go
generated
vendored
4763
vendor/github.com/aws/aws-sdk-go/service/cloudformation/api.go
generated
vendored
File diff suppressed because it is too large
Load diff
58
vendor/github.com/aws/aws-sdk-go/service/cloudformation/cloudformationiface/interface.go
generated
vendored
58
vendor/github.com/aws/aws-sdk-go/service/cloudformation/cloudformationiface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS CloudFormation.
|
||||
|
@ -76,6 +76,14 @@ type CloudFormationAPI interface {
|
|||
CreateStackWithContext(aws.Context, *cloudformation.CreateStackInput, ...request.Option) (*cloudformation.CreateStackOutput, error)
|
||||
CreateStackRequest(*cloudformation.CreateStackInput) (*request.Request, *cloudformation.CreateStackOutput)
|
||||
|
||||
CreateStackInstances(*cloudformation.CreateStackInstancesInput) (*cloudformation.CreateStackInstancesOutput, error)
|
||||
CreateStackInstancesWithContext(aws.Context, *cloudformation.CreateStackInstancesInput, ...request.Option) (*cloudformation.CreateStackInstancesOutput, error)
|
||||
CreateStackInstancesRequest(*cloudformation.CreateStackInstancesInput) (*request.Request, *cloudformation.CreateStackInstancesOutput)
|
||||
|
||||
CreateStackSet(*cloudformation.CreateStackSetInput) (*cloudformation.CreateStackSetOutput, error)
|
||||
CreateStackSetWithContext(aws.Context, *cloudformation.CreateStackSetInput, ...request.Option) (*cloudformation.CreateStackSetOutput, error)
|
||||
CreateStackSetRequest(*cloudformation.CreateStackSetInput) (*request.Request, *cloudformation.CreateStackSetOutput)
|
||||
|
||||
DeleteChangeSet(*cloudformation.DeleteChangeSetInput) (*cloudformation.DeleteChangeSetOutput, error)
|
||||
DeleteChangeSetWithContext(aws.Context, *cloudformation.DeleteChangeSetInput, ...request.Option) (*cloudformation.DeleteChangeSetOutput, error)
|
||||
DeleteChangeSetRequest(*cloudformation.DeleteChangeSetInput) (*request.Request, *cloudformation.DeleteChangeSetOutput)
|
||||
|
@ -84,6 +92,14 @@ type CloudFormationAPI interface {
|
|||
DeleteStackWithContext(aws.Context, *cloudformation.DeleteStackInput, ...request.Option) (*cloudformation.DeleteStackOutput, error)
|
||||
DeleteStackRequest(*cloudformation.DeleteStackInput) (*request.Request, *cloudformation.DeleteStackOutput)
|
||||
|
||||
DeleteStackInstances(*cloudformation.DeleteStackInstancesInput) (*cloudformation.DeleteStackInstancesOutput, error)
|
||||
DeleteStackInstancesWithContext(aws.Context, *cloudformation.DeleteStackInstancesInput, ...request.Option) (*cloudformation.DeleteStackInstancesOutput, error)
|
||||
DeleteStackInstancesRequest(*cloudformation.DeleteStackInstancesInput) (*request.Request, *cloudformation.DeleteStackInstancesOutput)
|
||||
|
||||
DeleteStackSet(*cloudformation.DeleteStackSetInput) (*cloudformation.DeleteStackSetOutput, error)
|
||||
DeleteStackSetWithContext(aws.Context, *cloudformation.DeleteStackSetInput, ...request.Option) (*cloudformation.DeleteStackSetOutput, error)
|
||||
DeleteStackSetRequest(*cloudformation.DeleteStackSetInput) (*request.Request, *cloudformation.DeleteStackSetOutput)
|
||||
|
||||
DescribeAccountLimits(*cloudformation.DescribeAccountLimitsInput) (*cloudformation.DescribeAccountLimitsOutput, error)
|
||||
DescribeAccountLimitsWithContext(aws.Context, *cloudformation.DescribeAccountLimitsInput, ...request.Option) (*cloudformation.DescribeAccountLimitsOutput, error)
|
||||
DescribeAccountLimitsRequest(*cloudformation.DescribeAccountLimitsInput) (*request.Request, *cloudformation.DescribeAccountLimitsOutput)
|
||||
|
@ -99,6 +115,10 @@ type CloudFormationAPI interface {
|
|||
DescribeStackEventsPages(*cloudformation.DescribeStackEventsInput, func(*cloudformation.DescribeStackEventsOutput, bool) bool) error
|
||||
DescribeStackEventsPagesWithContext(aws.Context, *cloudformation.DescribeStackEventsInput, func(*cloudformation.DescribeStackEventsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeStackInstance(*cloudformation.DescribeStackInstanceInput) (*cloudformation.DescribeStackInstanceOutput, error)
|
||||
DescribeStackInstanceWithContext(aws.Context, *cloudformation.DescribeStackInstanceInput, ...request.Option) (*cloudformation.DescribeStackInstanceOutput, error)
|
||||
DescribeStackInstanceRequest(*cloudformation.DescribeStackInstanceInput) (*request.Request, *cloudformation.DescribeStackInstanceOutput)
|
||||
|
||||
DescribeStackResource(*cloudformation.DescribeStackResourceInput) (*cloudformation.DescribeStackResourceOutput, error)
|
||||
DescribeStackResourceWithContext(aws.Context, *cloudformation.DescribeStackResourceInput, ...request.Option) (*cloudformation.DescribeStackResourceOutput, error)
|
||||
DescribeStackResourceRequest(*cloudformation.DescribeStackResourceInput) (*request.Request, *cloudformation.DescribeStackResourceOutput)
|
||||
|
@ -107,6 +127,14 @@ type CloudFormationAPI interface {
|
|||
DescribeStackResourcesWithContext(aws.Context, *cloudformation.DescribeStackResourcesInput, ...request.Option) (*cloudformation.DescribeStackResourcesOutput, error)
|
||||
DescribeStackResourcesRequest(*cloudformation.DescribeStackResourcesInput) (*request.Request, *cloudformation.DescribeStackResourcesOutput)
|
||||
|
||||
DescribeStackSet(*cloudformation.DescribeStackSetInput) (*cloudformation.DescribeStackSetOutput, error)
|
||||
DescribeStackSetWithContext(aws.Context, *cloudformation.DescribeStackSetInput, ...request.Option) (*cloudformation.DescribeStackSetOutput, error)
|
||||
DescribeStackSetRequest(*cloudformation.DescribeStackSetInput) (*request.Request, *cloudformation.DescribeStackSetOutput)
|
||||
|
||||
DescribeStackSetOperation(*cloudformation.DescribeStackSetOperationInput) (*cloudformation.DescribeStackSetOperationOutput, error)
|
||||
DescribeStackSetOperationWithContext(aws.Context, *cloudformation.DescribeStackSetOperationInput, ...request.Option) (*cloudformation.DescribeStackSetOperationOutput, error)
|
||||
DescribeStackSetOperationRequest(*cloudformation.DescribeStackSetOperationInput) (*request.Request, *cloudformation.DescribeStackSetOperationOutput)
|
||||
|
||||
DescribeStacks(*cloudformation.DescribeStacksInput) (*cloudformation.DescribeStacksOutput, error)
|
||||
DescribeStacksWithContext(aws.Context, *cloudformation.DescribeStacksInput, ...request.Option) (*cloudformation.DescribeStacksOutput, error)
|
||||
DescribeStacksRequest(*cloudformation.DescribeStacksInput) (*request.Request, *cloudformation.DescribeStacksOutput)
|
||||
|
@ -152,6 +180,10 @@ type CloudFormationAPI interface {
|
|||
ListImportsPages(*cloudformation.ListImportsInput, func(*cloudformation.ListImportsOutput, bool) bool) error
|
||||
ListImportsPagesWithContext(aws.Context, *cloudformation.ListImportsInput, func(*cloudformation.ListImportsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
ListStackInstances(*cloudformation.ListStackInstancesInput) (*cloudformation.ListStackInstancesOutput, error)
|
||||
ListStackInstancesWithContext(aws.Context, *cloudformation.ListStackInstancesInput, ...request.Option) (*cloudformation.ListStackInstancesOutput, error)
|
||||
ListStackInstancesRequest(*cloudformation.ListStackInstancesInput) (*request.Request, *cloudformation.ListStackInstancesOutput)
|
||||
|
||||
ListStackResources(*cloudformation.ListStackResourcesInput) (*cloudformation.ListStackResourcesOutput, error)
|
||||
ListStackResourcesWithContext(aws.Context, *cloudformation.ListStackResourcesInput, ...request.Option) (*cloudformation.ListStackResourcesOutput, error)
|
||||
ListStackResourcesRequest(*cloudformation.ListStackResourcesInput) (*request.Request, *cloudformation.ListStackResourcesOutput)
|
||||
|
@ -159,6 +191,18 @@ type CloudFormationAPI interface {
|
|||
ListStackResourcesPages(*cloudformation.ListStackResourcesInput, func(*cloudformation.ListStackResourcesOutput, bool) bool) error
|
||||
ListStackResourcesPagesWithContext(aws.Context, *cloudformation.ListStackResourcesInput, func(*cloudformation.ListStackResourcesOutput, bool) bool, ...request.Option) error
|
||||
|
||||
ListStackSetOperationResults(*cloudformation.ListStackSetOperationResultsInput) (*cloudformation.ListStackSetOperationResultsOutput, error)
|
||||
ListStackSetOperationResultsWithContext(aws.Context, *cloudformation.ListStackSetOperationResultsInput, ...request.Option) (*cloudformation.ListStackSetOperationResultsOutput, error)
|
||||
ListStackSetOperationResultsRequest(*cloudformation.ListStackSetOperationResultsInput) (*request.Request, *cloudformation.ListStackSetOperationResultsOutput)
|
||||
|
||||
ListStackSetOperations(*cloudformation.ListStackSetOperationsInput) (*cloudformation.ListStackSetOperationsOutput, error)
|
||||
ListStackSetOperationsWithContext(aws.Context, *cloudformation.ListStackSetOperationsInput, ...request.Option) (*cloudformation.ListStackSetOperationsOutput, error)
|
||||
ListStackSetOperationsRequest(*cloudformation.ListStackSetOperationsInput) (*request.Request, *cloudformation.ListStackSetOperationsOutput)
|
||||
|
||||
ListStackSets(*cloudformation.ListStackSetsInput) (*cloudformation.ListStackSetsOutput, error)
|
||||
ListStackSetsWithContext(aws.Context, *cloudformation.ListStackSetsInput, ...request.Option) (*cloudformation.ListStackSetsOutput, error)
|
||||
ListStackSetsRequest(*cloudformation.ListStackSetsInput) (*request.Request, *cloudformation.ListStackSetsOutput)
|
||||
|
||||
ListStacks(*cloudformation.ListStacksInput) (*cloudformation.ListStacksOutput, error)
|
||||
ListStacksWithContext(aws.Context, *cloudformation.ListStacksInput, ...request.Option) (*cloudformation.ListStacksOutput, error)
|
||||
ListStacksRequest(*cloudformation.ListStacksInput) (*request.Request, *cloudformation.ListStacksOutput)
|
||||
|
@ -174,10 +218,22 @@ type CloudFormationAPI interface {
|
|||
SignalResourceWithContext(aws.Context, *cloudformation.SignalResourceInput, ...request.Option) (*cloudformation.SignalResourceOutput, error)
|
||||
SignalResourceRequest(*cloudformation.SignalResourceInput) (*request.Request, *cloudformation.SignalResourceOutput)
|
||||
|
||||
StopStackSetOperation(*cloudformation.StopStackSetOperationInput) (*cloudformation.StopStackSetOperationOutput, error)
|
||||
StopStackSetOperationWithContext(aws.Context, *cloudformation.StopStackSetOperationInput, ...request.Option) (*cloudformation.StopStackSetOperationOutput, error)
|
||||
StopStackSetOperationRequest(*cloudformation.StopStackSetOperationInput) (*request.Request, *cloudformation.StopStackSetOperationOutput)
|
||||
|
||||
UpdateStack(*cloudformation.UpdateStackInput) (*cloudformation.UpdateStackOutput, error)
|
||||
UpdateStackWithContext(aws.Context, *cloudformation.UpdateStackInput, ...request.Option) (*cloudformation.UpdateStackOutput, error)
|
||||
UpdateStackRequest(*cloudformation.UpdateStackInput) (*request.Request, *cloudformation.UpdateStackOutput)
|
||||
|
||||
UpdateStackSet(*cloudformation.UpdateStackSetInput) (*cloudformation.UpdateStackSetOutput, error)
|
||||
UpdateStackSetWithContext(aws.Context, *cloudformation.UpdateStackSetInput, ...request.Option) (*cloudformation.UpdateStackSetOutput, error)
|
||||
UpdateStackSetRequest(*cloudformation.UpdateStackSetInput) (*request.Request, *cloudformation.UpdateStackSetOutput)
|
||||
|
||||
UpdateTerminationProtection(*cloudformation.UpdateTerminationProtectionInput) (*cloudformation.UpdateTerminationProtectionOutput, error)
|
||||
UpdateTerminationProtectionWithContext(aws.Context, *cloudformation.UpdateTerminationProtectionInput, ...request.Option) (*cloudformation.UpdateTerminationProtectionOutput, error)
|
||||
UpdateTerminationProtectionRequest(*cloudformation.UpdateTerminationProtectionInput) (*request.Request, *cloudformation.UpdateTerminationProtectionOutput)
|
||||
|
||||
ValidateTemplate(*cloudformation.ValidateTemplateInput) (*cloudformation.ValidateTemplateOutput, error)
|
||||
ValidateTemplateWithContext(aws.Context, *cloudformation.ValidateTemplateInput, ...request.Option) (*cloudformation.ValidateTemplateOutput, error)
|
||||
ValidateTemplateRequest(*cloudformation.ValidateTemplateInput) (*request.Request, *cloudformation.ValidateTemplateOutput)
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/cloudformation/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/cloudformation/doc.go
generated
vendored
|
@ -30,69 +30,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for AWS CloudFormation you will first need
|
||||
// to create a new instance of it.
|
||||
// To AWS CloudFormation with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := cloudformation.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the AWS CloudFormation client CloudFormation for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/cloudformation/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.CancelUpdateStack(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("CancelUpdateStack result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.CancelUpdateStackWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package cloudformation
|
||||
|
|
76
vendor/github.com/aws/aws-sdk-go/service/cloudformation/errors.go
generated
vendored
76
vendor/github.com/aws/aws-sdk-go/service/cloudformation/errors.go
generated
vendored
|
@ -7,7 +7,7 @@ const (
|
|||
// ErrCodeAlreadyExistsException for service response error code
|
||||
// "AlreadyExistsException".
|
||||
//
|
||||
// Resource with the name requested already exists.
|
||||
// The resource with the name requested already exists.
|
||||
ErrCodeAlreadyExistsException = "AlreadyExistsException"
|
||||
|
||||
// ErrCodeChangeSetNotFoundException for service response error code
|
||||
|
@ -17,27 +17,93 @@ const (
|
|||
// for a stack, use the ListChangeSets action.
|
||||
ErrCodeChangeSetNotFoundException = "ChangeSetNotFound"
|
||||
|
||||
// ErrCodeCreatedButModifiedException for service response error code
|
||||
// "CreatedButModifiedException".
|
||||
//
|
||||
// The specified resource exists, but has been changed.
|
||||
ErrCodeCreatedButModifiedException = "CreatedButModifiedException"
|
||||
|
||||
// ErrCodeInsufficientCapabilitiesException for service response error code
|
||||
// "InsufficientCapabilitiesException".
|
||||
//
|
||||
// The template contains resources with capabilities that were not specified
|
||||
// The template contains resources with capabilities that weren't specified
|
||||
// in the Capabilities parameter.
|
||||
ErrCodeInsufficientCapabilitiesException = "InsufficientCapabilitiesException"
|
||||
|
||||
// ErrCodeInvalidChangeSetStatusException for service response error code
|
||||
// "InvalidChangeSetStatus".
|
||||
//
|
||||
// The specified change set cannot be used to update the stack. For example,
|
||||
// the change set status might be CREATE_IN_PROGRESS or the stack status might
|
||||
// The specified change set can't be used to update the stack. For example,
|
||||
// the change set status might be CREATE_IN_PROGRESS, or the stack status might
|
||||
// be UPDATE_IN_PROGRESS.
|
||||
ErrCodeInvalidChangeSetStatusException = "InvalidChangeSetStatus"
|
||||
|
||||
// ErrCodeInvalidOperationException for service response error code
|
||||
// "InvalidOperationException".
|
||||
//
|
||||
// The specified operation isn't valid.
|
||||
ErrCodeInvalidOperationException = "InvalidOperationException"
|
||||
|
||||
// ErrCodeLimitExceededException for service response error code
|
||||
// "LimitExceededException".
|
||||
//
|
||||
// Quota for the resource has already been reached.
|
||||
// The quota for the resource has already been reached.
|
||||
//
|
||||
// For information on stack set limitations, see Limitations of StackSets (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-limitations.html).
|
||||
ErrCodeLimitExceededException = "LimitExceededException"
|
||||
|
||||
// ErrCodeNameAlreadyExistsException for service response error code
|
||||
// "NameAlreadyExistsException".
|
||||
//
|
||||
// The specified name is already in use.
|
||||
ErrCodeNameAlreadyExistsException = "NameAlreadyExistsException"
|
||||
|
||||
// ErrCodeOperationIdAlreadyExistsException for service response error code
|
||||
// "OperationIdAlreadyExistsException".
|
||||
//
|
||||
// The specified operation ID already exists.
|
||||
ErrCodeOperationIdAlreadyExistsException = "OperationIdAlreadyExistsException"
|
||||
|
||||
// ErrCodeOperationInProgressException for service response error code
|
||||
// "OperationInProgressException".
|
||||
//
|
||||
// Another operation is currently in progress for this stack set. Only one operation
|
||||
// can be performed for a stack set at a given time.
|
||||
ErrCodeOperationInProgressException = "OperationInProgressException"
|
||||
|
||||
// ErrCodeOperationNotFoundException for service response error code
|
||||
// "OperationNotFoundException".
|
||||
//
|
||||
// The specified ID refers to an operation that doesn't exist.
|
||||
ErrCodeOperationNotFoundException = "OperationNotFoundException"
|
||||
|
||||
// ErrCodeStackInstanceNotFoundException for service response error code
|
||||
// "StackInstanceNotFoundException".
|
||||
//
|
||||
// The specified stack instance doesn't exist.
|
||||
ErrCodeStackInstanceNotFoundException = "StackInstanceNotFoundException"
|
||||
|
||||
// ErrCodeStackSetNotEmptyException for service response error code
|
||||
// "StackSetNotEmptyException".
|
||||
//
|
||||
// You can't yet delete this stack set, because it still contains one or more
|
||||
// stack instances. Delete all stack instances from the stack set before deleting
|
||||
// the stack set.
|
||||
ErrCodeStackSetNotEmptyException = "StackSetNotEmptyException"
|
||||
|
||||
// ErrCodeStackSetNotFoundException for service response error code
|
||||
// "StackSetNotFoundException".
|
||||
//
|
||||
// The specified stack set doesn't exist.
|
||||
ErrCodeStackSetNotFoundException = "StackSetNotFoundException"
|
||||
|
||||
// ErrCodeStaleRequestException for service response error code
|
||||
// "StaleRequestException".
|
||||
//
|
||||
// Another operation has been performed on this stack set since the specified
|
||||
// operation was performed.
|
||||
ErrCodeStaleRequestException = "StaleRequestException"
|
||||
|
||||
// ErrCodeTokenAlreadyExistsException for service response error code
|
||||
// "TokenAlreadyExistsException".
|
||||
//
|
||||
|
|
10
vendor/github.com/aws/aws-sdk-go/service/cloudformation/waiters.go
generated
vendored
10
vendor/github.com/aws/aws-sdk-go/service/cloudformation/waiters.go
generated
vendored
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
// WaitUntilChangeSetCreateComplete uses the AWS CloudFormation API operation
|
||||
// DescribeChangeSet to wait for a condition to be met before returning.
|
||||
// If the condition is not meet within the max attempt window an error will
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *CloudFormation) WaitUntilChangeSetCreateComplete(input *DescribeChangeSetInput) error {
|
||||
return c.WaitUntilChangeSetCreateCompleteWithContext(aws.BackgroundContext(), input)
|
||||
|
@ -67,7 +67,7 @@ func (c *CloudFormation) WaitUntilChangeSetCreateCompleteWithContext(ctx aws.Con
|
|||
|
||||
// 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
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *CloudFormation) WaitUntilStackCreateComplete(input *DescribeStacksInput) error {
|
||||
return c.WaitUntilStackCreateCompleteWithContext(aws.BackgroundContext(), input)
|
||||
|
@ -143,7 +143,7 @@ func (c *CloudFormation) WaitUntilStackCreateCompleteWithContext(ctx aws.Context
|
|||
|
||||
// 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
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *CloudFormation) WaitUntilStackDeleteComplete(input *DescribeStacksInput) error {
|
||||
return c.WaitUntilStackDeleteCompleteWithContext(aws.BackgroundContext(), input)
|
||||
|
@ -219,7 +219,7 @@ func (c *CloudFormation) WaitUntilStackDeleteCompleteWithContext(ctx aws.Context
|
|||
|
||||
// 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
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *CloudFormation) WaitUntilStackExists(input *DescribeStacksInput) error {
|
||||
return c.WaitUntilStackExistsWithContext(aws.BackgroundContext(), input)
|
||||
|
@ -270,7 +270,7 @@ func (c *CloudFormation) WaitUntilStackExistsWithContext(ctx aws.Context, input
|
|||
|
||||
// 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
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *CloudFormation) WaitUntilStackUpdateComplete(input *DescribeStacksInput) error {
|
||||
return c.WaitUntilStackUpdateCompleteWithContext(aws.BackgroundContext(), input)
|
||||
|
|
513
vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go
generated
vendored
513
vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go
generated
vendored
|
@ -17,19 +17,18 @@ const opCreateCloudFrontOriginAccessIdentity = "CreateCloudFrontOriginAccessIden
|
|||
|
||||
// CreateCloudFrontOriginAccessIdentityRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateCloudFrontOriginAccessIdentity operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateCloudFrontOriginAccessIdentity for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateCloudFrontOriginAccessIdentity method directly
|
||||
// instead.
|
||||
// See CreateCloudFrontOriginAccessIdentity for more information on using the CreateCloudFrontOriginAccessIdentity
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateCloudFrontOriginAccessIdentityRequest method.
|
||||
// req, resp := client.CreateCloudFrontOriginAccessIdentityRequest(params)
|
||||
|
@ -119,19 +118,18 @@ const opCreateDistribution = "CreateDistribution2017_03_25"
|
|||
|
||||
// CreateDistributionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateDistribution operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateDistribution for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateDistribution method directly
|
||||
// instead.
|
||||
// See CreateDistribution for more information on using the CreateDistribution
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateDistributionRequest method.
|
||||
// req, resp := client.CreateDistributionRequest(params)
|
||||
|
@ -315,19 +313,18 @@ const opCreateDistributionWithTags = "CreateDistributionWithTags2017_03_25"
|
|||
|
||||
// CreateDistributionWithTagsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateDistributionWithTags operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateDistributionWithTags for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateDistributionWithTags method directly
|
||||
// instead.
|
||||
// See CreateDistributionWithTags for more information on using the CreateDistributionWithTags
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateDistributionWithTagsRequest method.
|
||||
// req, resp := client.CreateDistributionWithTagsRequest(params)
|
||||
|
@ -512,19 +509,18 @@ const opCreateInvalidation = "CreateInvalidation2017_03_25"
|
|||
|
||||
// CreateInvalidationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateInvalidation operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateInvalidation for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateInvalidation method directly
|
||||
// instead.
|
||||
// See CreateInvalidation for more information on using the CreateInvalidation
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateInvalidationRequest method.
|
||||
// req, resp := client.CreateInvalidationRequest(params)
|
||||
|
@ -611,19 +607,18 @@ const opCreateStreamingDistribution = "CreateStreamingDistribution2017_03_25"
|
|||
|
||||
// CreateStreamingDistributionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateStreamingDistribution operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateStreamingDistribution for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateStreamingDistribution method directly
|
||||
// instead.
|
||||
// See CreateStreamingDistribution for more information on using the CreateStreamingDistribution
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateStreamingDistributionRequest method.
|
||||
// req, resp := client.CreateStreamingDistributionRequest(params)
|
||||
|
@ -751,19 +746,18 @@ const opCreateStreamingDistributionWithTags = "CreateStreamingDistributionWithTa
|
|||
|
||||
// CreateStreamingDistributionWithTagsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateStreamingDistributionWithTags operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateStreamingDistributionWithTags for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateStreamingDistributionWithTags method directly
|
||||
// instead.
|
||||
// See CreateStreamingDistributionWithTags for more information on using the CreateStreamingDistributionWithTags
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateStreamingDistributionWithTagsRequest method.
|
||||
// req, resp := client.CreateStreamingDistributionWithTagsRequest(params)
|
||||
|
@ -866,19 +860,18 @@ const opDeleteCloudFrontOriginAccessIdentity = "DeleteCloudFrontOriginAccessIden
|
|||
|
||||
// DeleteCloudFrontOriginAccessIdentityRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteCloudFrontOriginAccessIdentity operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteCloudFrontOriginAccessIdentity for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteCloudFrontOriginAccessIdentity method directly
|
||||
// instead.
|
||||
// See DeleteCloudFrontOriginAccessIdentity for more information on using the DeleteCloudFrontOriginAccessIdentity
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteCloudFrontOriginAccessIdentityRequest method.
|
||||
// req, resp := client.DeleteCloudFrontOriginAccessIdentityRequest(params)
|
||||
|
@ -960,19 +953,18 @@ const opDeleteDistribution = "DeleteDistribution2017_03_25"
|
|||
|
||||
// DeleteDistributionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteDistribution operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteDistribution for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteDistribution method directly
|
||||
// instead.
|
||||
// See DeleteDistribution for more information on using the DeleteDistribution
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteDistributionRequest method.
|
||||
// req, resp := client.DeleteDistributionRequest(params)
|
||||
|
@ -1054,19 +1046,18 @@ const opDeleteStreamingDistribution = "DeleteStreamingDistribution2017_03_25"
|
|||
|
||||
// DeleteStreamingDistributionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteStreamingDistribution operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteStreamingDistribution for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteStreamingDistribution method directly
|
||||
// instead.
|
||||
// See DeleteStreamingDistribution for more information on using the DeleteStreamingDistribution
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteStreamingDistributionRequest method.
|
||||
// req, resp := client.DeleteStreamingDistributionRequest(params)
|
||||
|
@ -1183,19 +1174,18 @@ const opGetCloudFrontOriginAccessIdentity = "GetCloudFrontOriginAccessIdentity20
|
|||
|
||||
// GetCloudFrontOriginAccessIdentityRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetCloudFrontOriginAccessIdentity operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetCloudFrontOriginAccessIdentity for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetCloudFrontOriginAccessIdentity method directly
|
||||
// instead.
|
||||
// See GetCloudFrontOriginAccessIdentity for more information on using the GetCloudFrontOriginAccessIdentity
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetCloudFrontOriginAccessIdentityRequest method.
|
||||
// req, resp := client.GetCloudFrontOriginAccessIdentityRequest(params)
|
||||
|
@ -1266,19 +1256,18 @@ const opGetCloudFrontOriginAccessIdentityConfig = "GetCloudFrontOriginAccessIden
|
|||
|
||||
// GetCloudFrontOriginAccessIdentityConfigRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetCloudFrontOriginAccessIdentityConfig operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetCloudFrontOriginAccessIdentityConfig for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetCloudFrontOriginAccessIdentityConfig method directly
|
||||
// instead.
|
||||
// See GetCloudFrontOriginAccessIdentityConfig for more information on using the GetCloudFrontOriginAccessIdentityConfig
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetCloudFrontOriginAccessIdentityConfigRequest method.
|
||||
// req, resp := client.GetCloudFrontOriginAccessIdentityConfigRequest(params)
|
||||
|
@ -1349,19 +1338,18 @@ const opGetDistribution = "GetDistribution2017_03_25"
|
|||
|
||||
// GetDistributionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetDistribution operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetDistribution for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetDistribution method directly
|
||||
// instead.
|
||||
// See GetDistribution for more information on using the GetDistribution
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetDistributionRequest method.
|
||||
// req, resp := client.GetDistributionRequest(params)
|
||||
|
@ -1432,19 +1420,18 @@ const opGetDistributionConfig = "GetDistributionConfig2017_03_25"
|
|||
|
||||
// GetDistributionConfigRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetDistributionConfig operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetDistributionConfig for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetDistributionConfig method directly
|
||||
// instead.
|
||||
// See GetDistributionConfig for more information on using the GetDistributionConfig
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetDistributionConfigRequest method.
|
||||
// req, resp := client.GetDistributionConfigRequest(params)
|
||||
|
@ -1515,19 +1502,18 @@ const opGetInvalidation = "GetInvalidation2017_03_25"
|
|||
|
||||
// GetInvalidationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetInvalidation operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetInvalidation for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetInvalidation method directly
|
||||
// instead.
|
||||
// See GetInvalidation for more information on using the GetInvalidation
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetInvalidationRequest method.
|
||||
// req, resp := client.GetInvalidationRequest(params)
|
||||
|
@ -1601,19 +1587,18 @@ const opGetStreamingDistribution = "GetStreamingDistribution2017_03_25"
|
|||
|
||||
// GetStreamingDistributionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetStreamingDistribution operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetStreamingDistribution for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetStreamingDistribution method directly
|
||||
// instead.
|
||||
// See GetStreamingDistribution for more information on using the GetStreamingDistribution
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetStreamingDistributionRequest method.
|
||||
// req, resp := client.GetStreamingDistributionRequest(params)
|
||||
|
@ -1685,19 +1670,18 @@ const opGetStreamingDistributionConfig = "GetStreamingDistributionConfig2017_03_
|
|||
|
||||
// GetStreamingDistributionConfigRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetStreamingDistributionConfig operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetStreamingDistributionConfig for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetStreamingDistributionConfig method directly
|
||||
// instead.
|
||||
// See GetStreamingDistributionConfig for more information on using the GetStreamingDistributionConfig
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetStreamingDistributionConfigRequest method.
|
||||
// req, resp := client.GetStreamingDistributionConfigRequest(params)
|
||||
|
@ -1768,19 +1752,18 @@ const opListCloudFrontOriginAccessIdentities = "ListCloudFrontOriginAccessIdenti
|
|||
|
||||
// ListCloudFrontOriginAccessIdentitiesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListCloudFrontOriginAccessIdentities operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListCloudFrontOriginAccessIdentities for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListCloudFrontOriginAccessIdentities method directly
|
||||
// instead.
|
||||
// See ListCloudFrontOriginAccessIdentities for more information on using the ListCloudFrontOriginAccessIdentities
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListCloudFrontOriginAccessIdentitiesRequest method.
|
||||
// req, resp := client.ListCloudFrontOriginAccessIdentitiesRequest(params)
|
||||
|
@ -1904,19 +1887,18 @@ const opListDistributions = "ListDistributions2017_03_25"
|
|||
|
||||
// ListDistributionsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListDistributions operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListDistributions for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListDistributions method directly
|
||||
// instead.
|
||||
// See ListDistributions for more information on using the ListDistributions
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListDistributionsRequest method.
|
||||
// req, resp := client.ListDistributionsRequest(params)
|
||||
|
@ -2040,19 +2022,18 @@ const opListDistributionsByWebACLId = "ListDistributionsByWebACLId2017_03_25"
|
|||
|
||||
// ListDistributionsByWebACLIdRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListDistributionsByWebACLId operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListDistributionsByWebACLId for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListDistributionsByWebACLId method directly
|
||||
// instead.
|
||||
// See ListDistributionsByWebACLId for more information on using the ListDistributionsByWebACLId
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListDistributionsByWebACLIdRequest method.
|
||||
// req, resp := client.ListDistributionsByWebACLIdRequest(params)
|
||||
|
@ -2122,19 +2103,18 @@ const opListInvalidations = "ListInvalidations2017_03_25"
|
|||
|
||||
// ListInvalidationsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListInvalidations operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListInvalidations for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListInvalidations method directly
|
||||
// instead.
|
||||
// See ListInvalidations for more information on using the ListInvalidations
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListInvalidationsRequest method.
|
||||
// req, resp := client.ListInvalidationsRequest(params)
|
||||
|
@ -2264,19 +2244,18 @@ const opListStreamingDistributions = "ListStreamingDistributions2017_03_25"
|
|||
|
||||
// ListStreamingDistributionsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListStreamingDistributions operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListStreamingDistributions for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListStreamingDistributions method directly
|
||||
// instead.
|
||||
// See ListStreamingDistributions for more information on using the ListStreamingDistributions
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListStreamingDistributionsRequest method.
|
||||
// req, resp := client.ListStreamingDistributionsRequest(params)
|
||||
|
@ -2400,19 +2379,18 @@ const opListTagsForResource = "ListTagsForResource2017_03_25"
|
|||
|
||||
// ListTagsForResourceRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListTagsForResource operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListTagsForResource for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListTagsForResource method directly
|
||||
// instead.
|
||||
// See ListTagsForResource for more information on using the ListTagsForResource
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListTagsForResourceRequest method.
|
||||
// req, resp := client.ListTagsForResourceRequest(params)
|
||||
|
@ -2487,19 +2465,18 @@ const opTagResource = "TagResource2017_03_25"
|
|||
|
||||
// TagResourceRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the TagResource operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See TagResource for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the TagResource method directly
|
||||
// instead.
|
||||
// See TagResource for more information on using the TagResource
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the TagResourceRequest method.
|
||||
// req, resp := client.TagResourceRequest(params)
|
||||
|
@ -2576,19 +2553,18 @@ const opUntagResource = "UntagResource2017_03_25"
|
|||
|
||||
// UntagResourceRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UntagResource operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UntagResource for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UntagResource method directly
|
||||
// instead.
|
||||
// See UntagResource for more information on using the UntagResource
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UntagResourceRequest method.
|
||||
// req, resp := client.UntagResourceRequest(params)
|
||||
|
@ -2665,19 +2641,18 @@ const opUpdateCloudFrontOriginAccessIdentity = "UpdateCloudFrontOriginAccessIden
|
|||
|
||||
// UpdateCloudFrontOriginAccessIdentityRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateCloudFrontOriginAccessIdentity operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateCloudFrontOriginAccessIdentity for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateCloudFrontOriginAccessIdentity method directly
|
||||
// instead.
|
||||
// See UpdateCloudFrontOriginAccessIdentity for more information on using the UpdateCloudFrontOriginAccessIdentity
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateCloudFrontOriginAccessIdentityRequest method.
|
||||
// req, resp := client.UpdateCloudFrontOriginAccessIdentityRequest(params)
|
||||
|
@ -2768,19 +2743,18 @@ const opUpdateDistribution = "UpdateDistribution2017_03_25"
|
|||
|
||||
// UpdateDistributionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateDistribution operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateDistribution for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateDistribution method directly
|
||||
// instead.
|
||||
// See UpdateDistribution for more information on using the UpdateDistribution
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateDistributionRequest method.
|
||||
// req, resp := client.UpdateDistributionRequest(params)
|
||||
|
@ -3009,19 +2983,18 @@ const opUpdateStreamingDistribution = "UpdateStreamingDistribution2017_03_25"
|
|||
|
||||
// UpdateStreamingDistributionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateStreamingDistribution operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateStreamingDistribution for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateStreamingDistribution method directly
|
||||
// instead.
|
||||
// See UpdateStreamingDistribution for more information on using the UpdateStreamingDistribution
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateStreamingDistributionRequest method.
|
||||
// req, resp := client.UpdateStreamingDistributionRequest(params)
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/service/cloudfront/cloudfrontiface/interface.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/cloudfront/cloudfrontiface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon CloudFront.
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/cloudfront/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/cloudfront/doc.go
generated
vendored
|
@ -15,69 +15,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Amazon CloudFront you will first need
|
||||
// to create a new instance of it.
|
||||
// To Amazon CloudFront with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := cloudfront.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon CloudFront client CloudFront for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/cloudfront/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.CreateCloudFrontOriginAccessIdentity(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("CreateCloudFrontOriginAccessIdentity result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.CreateCloudFrontOriginAccessIdentityWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package cloudfront
|
||||
|
|
82
vendor/github.com/aws/aws-sdk-go/service/cloudfront/sign/sign_cookie_test.go
generated
vendored
82
vendor/github.com/aws/aws-sdk-go/service/cloudfront/sign/sign_cookie_test.go
generated
vendored
|
@ -4,8 +4,6 @@ import (
|
|||
"crypto/rsa"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestNewCookieSigner(t *testing.T) {
|
||||
|
@ -15,26 +13,42 @@ func TestNewCookieSigner(t *testing.T) {
|
|||
}
|
||||
|
||||
signer := NewCookieSigner("keyID", privKey)
|
||||
assert.Equal(t, "keyID", signer.keyID)
|
||||
assert.Equal(t, privKey, signer.privKey)
|
||||
if e, a := "keyID", signer.keyID; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
if e, a := privKey, signer.privKey; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSignCookie(t *testing.T) {
|
||||
privKey, err := rsa.GenerateKey(randReader, 1024)
|
||||
assert.NoError(t, err)
|
||||
if err != nil {
|
||||
t.Errorf("expect no error, got %v", err)
|
||||
}
|
||||
|
||||
signer := NewCookieSigner("keyID", privKey)
|
||||
cookies, err := signer.Sign("http*://*", time.Now().Add(1*time.Hour))
|
||||
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, CookiePolicyName, cookies[0].Name)
|
||||
assert.Equal(t, CookieSignatureName, cookies[1].Name)
|
||||
assert.Equal(t, CookieKeyIDName, cookies[2].Name)
|
||||
if err != nil {
|
||||
t.Errorf("expect no error, got %v", err)
|
||||
}
|
||||
if e, a := CookiePolicyName, cookies[0].Name; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
if e, a := CookieSignatureName, cookies[1].Name; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
if e, a := CookieKeyIDName, cookies[2].Name; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSignCookie_WithPolicy(t *testing.T) {
|
||||
privKey, err := rsa.GenerateKey(randReader, 1024)
|
||||
assert.NoError(t, err)
|
||||
if err != nil {
|
||||
t.Errorf("expect no error, got %v", err)
|
||||
}
|
||||
|
||||
p := &Policy{
|
||||
Statements: []Statement{
|
||||
|
@ -50,15 +64,25 @@ func TestSignCookie_WithPolicy(t *testing.T) {
|
|||
signer := NewCookieSigner("keyID", privKey)
|
||||
cookies, err := signer.SignWithPolicy(p)
|
||||
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, CookiePolicyName, cookies[0].Name)
|
||||
assert.Equal(t, CookieSignatureName, cookies[1].Name)
|
||||
assert.Equal(t, CookieKeyIDName, cookies[2].Name)
|
||||
if err != nil {
|
||||
t.Errorf("expect no error, got %v", err)
|
||||
}
|
||||
if e, a := CookiePolicyName, cookies[0].Name; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
if e, a := CookieSignatureName, cookies[1].Name; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
if e, a := CookieKeyIDName, cookies[2].Name; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSignCookie_WithCookieOptions(t *testing.T) {
|
||||
privKey, err := rsa.GenerateKey(randReader, 1024)
|
||||
assert.NoError(t, err)
|
||||
if err != nil {
|
||||
t.Errorf("expect no error, got %v", err)
|
||||
}
|
||||
|
||||
expires := time.Now().Add(1 * time.Hour)
|
||||
|
||||
|
@ -70,14 +94,28 @@ func TestSignCookie_WithCookieOptions(t *testing.T) {
|
|||
|
||||
})
|
||||
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, CookiePolicyName, cookies[0].Name)
|
||||
assert.Equal(t, CookieSignatureName, cookies[1].Name)
|
||||
assert.Equal(t, CookieKeyIDName, cookies[2].Name)
|
||||
if err != nil {
|
||||
t.Errorf("expect no error, got %v", err)
|
||||
}
|
||||
if e, a := CookiePolicyName, cookies[0].Name; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
if e, a := CookieSignatureName, cookies[1].Name; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
if e, a := CookieKeyIDName, cookies[2].Name; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
|
||||
for _, c := range cookies {
|
||||
assert.Equal(t, "/", c.Path)
|
||||
assert.Equal(t, ".example.com", c.Domain)
|
||||
assert.True(t, c.Secure)
|
||||
if e, a := "/", c.Path; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
if e, a := ".example.com", c.Domain; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
if !c.Secure {
|
||||
t.Errorf("expect to be true")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/cloudfront/waiters.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/cloudfront/waiters.go
generated
vendored
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
// 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
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *CloudFront) WaitUntilDistributionDeployed(input *GetDistributionInput) error {
|
||||
return c.WaitUntilDistributionDeployedWithContext(aws.BackgroundContext(), input)
|
||||
|
@ -57,7 +57,7 @@ func (c *CloudFront) WaitUntilDistributionDeployedWithContext(ctx aws.Context, i
|
|||
|
||||
// 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
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *CloudFront) WaitUntilInvalidationCompleted(input *GetInvalidationInput) error {
|
||||
return c.WaitUntilInvalidationCompletedWithContext(aws.BackgroundContext(), input)
|
||||
|
@ -103,7 +103,7 @@ func (c *CloudFront) WaitUntilInvalidationCompletedWithContext(ctx aws.Context,
|
|||
|
||||
// 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
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *CloudFront) WaitUntilStreamingDistributionDeployed(input *GetStreamingDistributionInput) error {
|
||||
return c.WaitUntilStreamingDistributionDeployedWithContext(aws.BackgroundContext(), input)
|
||||
|
|
380
vendor/github.com/aws/aws-sdk-go/service/cloudhsm/api.go
generated
vendored
380
vendor/github.com/aws/aws-sdk-go/service/cloudhsm/api.go
generated
vendored
|
@ -14,19 +14,18 @@ const opAddTagsToResource = "AddTagsToResource"
|
|||
|
||||
// AddTagsToResourceRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the AddTagsToResource operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See AddTagsToResource for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the AddTagsToResource method directly
|
||||
// instead.
|
||||
// See AddTagsToResource for more information on using the AddTagsToResource
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the AddTagsToResourceRequest method.
|
||||
// req, resp := client.AddTagsToResourceRequest(params)
|
||||
|
@ -102,19 +101,18 @@ const opCreateHapg = "CreateHapg"
|
|||
|
||||
// CreateHapgRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateHapg operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateHapg for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateHapg method directly
|
||||
// instead.
|
||||
// See CreateHapg for more information on using the CreateHapg
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateHapgRequest method.
|
||||
// req, resp := client.CreateHapgRequest(params)
|
||||
|
@ -189,19 +187,18 @@ const opCreateHsm = "CreateHsm"
|
|||
|
||||
// CreateHsmRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateHsm operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateHsm for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateHsm method directly
|
||||
// instead.
|
||||
// See CreateHsm for more information on using the CreateHsm
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateHsmRequest method.
|
||||
// req, resp := client.CreateHsmRequest(params)
|
||||
|
@ -285,19 +282,18 @@ const opCreateLunaClient = "CreateLunaClient"
|
|||
|
||||
// CreateLunaClientRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateLunaClient operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateLunaClient for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateLunaClient method directly
|
||||
// instead.
|
||||
// See CreateLunaClient for more information on using the CreateLunaClient
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateLunaClientRequest method.
|
||||
// req, resp := client.CreateLunaClientRequest(params)
|
||||
|
@ -371,19 +367,18 @@ const opDeleteHapg = "DeleteHapg"
|
|||
|
||||
// DeleteHapgRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteHapg operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteHapg for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteHapg method directly
|
||||
// instead.
|
||||
// See DeleteHapg for more information on using the DeleteHapg
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteHapgRequest method.
|
||||
// req, resp := client.DeleteHapgRequest(params)
|
||||
|
@ -457,19 +452,18 @@ const opDeleteHsm = "DeleteHsm"
|
|||
|
||||
// DeleteHsmRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteHsm operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteHsm for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteHsm method directly
|
||||
// instead.
|
||||
// See DeleteHsm for more information on using the DeleteHsm
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteHsmRequest method.
|
||||
// req, resp := client.DeleteHsmRequest(params)
|
||||
|
@ -544,19 +538,18 @@ const opDeleteLunaClient = "DeleteLunaClient"
|
|||
|
||||
// DeleteLunaClientRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteLunaClient operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteLunaClient for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteLunaClient method directly
|
||||
// instead.
|
||||
// See DeleteLunaClient for more information on using the DeleteLunaClient
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteLunaClientRequest method.
|
||||
// req, resp := client.DeleteLunaClientRequest(params)
|
||||
|
@ -630,19 +623,18 @@ const opDescribeHapg = "DescribeHapg"
|
|||
|
||||
// DescribeHapgRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeHapg operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeHapg for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeHapg method directly
|
||||
// instead.
|
||||
// See DescribeHapg for more information on using the DescribeHapg
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeHapgRequest method.
|
||||
// req, resp := client.DescribeHapgRequest(params)
|
||||
|
@ -716,19 +708,18 @@ const opDescribeHsm = "DescribeHsm"
|
|||
|
||||
// DescribeHsmRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeHsm operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeHsm for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeHsm method directly
|
||||
// instead.
|
||||
// See DescribeHsm for more information on using the DescribeHsm
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeHsmRequest method.
|
||||
// req, resp := client.DescribeHsmRequest(params)
|
||||
|
@ -803,19 +794,18 @@ const opDescribeLunaClient = "DescribeLunaClient"
|
|||
|
||||
// DescribeLunaClientRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeLunaClient operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeLunaClient for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeLunaClient method directly
|
||||
// instead.
|
||||
// See DescribeLunaClient for more information on using the DescribeLunaClient
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeLunaClientRequest method.
|
||||
// req, resp := client.DescribeLunaClientRequest(params)
|
||||
|
@ -889,19 +879,18 @@ const opGetConfig = "GetConfig"
|
|||
|
||||
// GetConfigRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetConfig operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetConfig for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetConfig method directly
|
||||
// instead.
|
||||
// See GetConfig for more information on using the GetConfig
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetConfigRequest method.
|
||||
// req, resp := client.GetConfigRequest(params)
|
||||
|
@ -976,19 +965,18 @@ const opListAvailableZones = "ListAvailableZones"
|
|||
|
||||
// ListAvailableZonesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListAvailableZones operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListAvailableZones for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListAvailableZones method directly
|
||||
// instead.
|
||||
// See ListAvailableZones for more information on using the ListAvailableZones
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListAvailableZonesRequest method.
|
||||
// req, resp := client.ListAvailableZonesRequest(params)
|
||||
|
@ -1062,19 +1050,18 @@ const opListHapgs = "ListHapgs"
|
|||
|
||||
// ListHapgsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListHapgs operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListHapgs for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListHapgs method directly
|
||||
// instead.
|
||||
// See ListHapgs for more information on using the ListHapgs
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListHapgsRequest method.
|
||||
// req, resp := client.ListHapgsRequest(params)
|
||||
|
@ -1153,19 +1140,18 @@ const opListHsms = "ListHsms"
|
|||
|
||||
// ListHsmsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListHsms operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListHsms for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListHsms method directly
|
||||
// instead.
|
||||
// See ListHsms for more information on using the ListHsms
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListHsmsRequest method.
|
||||
// req, resp := client.ListHsmsRequest(params)
|
||||
|
@ -1245,19 +1231,18 @@ const opListLunaClients = "ListLunaClients"
|
|||
|
||||
// ListLunaClientsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListLunaClients operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListLunaClients for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListLunaClients method directly
|
||||
// instead.
|
||||
// See ListLunaClients for more information on using the ListLunaClients
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListLunaClientsRequest method.
|
||||
// req, resp := client.ListLunaClientsRequest(params)
|
||||
|
@ -1336,19 +1321,18 @@ const opListTagsForResource = "ListTagsForResource"
|
|||
|
||||
// ListTagsForResourceRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListTagsForResource operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListTagsForResource for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListTagsForResource method directly
|
||||
// instead.
|
||||
// See ListTagsForResource for more information on using the ListTagsForResource
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListTagsForResourceRequest method.
|
||||
// req, resp := client.ListTagsForResourceRequest(params)
|
||||
|
@ -1422,19 +1406,18 @@ const opModifyHapg = "ModifyHapg"
|
|||
|
||||
// ModifyHapgRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ModifyHapg operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ModifyHapg for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ModifyHapg method directly
|
||||
// instead.
|
||||
// See ModifyHapg for more information on using the ModifyHapg
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ModifyHapgRequest method.
|
||||
// req, resp := client.ModifyHapgRequest(params)
|
||||
|
@ -1508,19 +1491,18 @@ const opModifyHsm = "ModifyHsm"
|
|||
|
||||
// ModifyHsmRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ModifyHsm operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ModifyHsm for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ModifyHsm method directly
|
||||
// instead.
|
||||
// See ModifyHsm for more information on using the ModifyHsm
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ModifyHsmRequest method.
|
||||
// req, resp := client.ModifyHsmRequest(params)
|
||||
|
@ -1600,19 +1582,18 @@ const opModifyLunaClient = "ModifyLunaClient"
|
|||
|
||||
// ModifyLunaClientRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ModifyLunaClient operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ModifyLunaClient for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ModifyLunaClient method directly
|
||||
// instead.
|
||||
// See ModifyLunaClient for more information on using the ModifyLunaClient
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ModifyLunaClientRequest method.
|
||||
// req, resp := client.ModifyLunaClientRequest(params)
|
||||
|
@ -1683,19 +1664,18 @@ const opRemoveTagsFromResource = "RemoveTagsFromResource"
|
|||
|
||||
// RemoveTagsFromResourceRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RemoveTagsFromResource operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See RemoveTagsFromResource for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the RemoveTagsFromResource method directly
|
||||
// instead.
|
||||
// See RemoveTagsFromResource for more information on using the RemoveTagsFromResource
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the RemoveTagsFromResourceRequest method.
|
||||
// req, resp := client.RemoveTagsFromResourceRequest(params)
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/service/cloudhsm/cloudhsmiface/interface.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/cloudhsm/cloudhsmiface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon CloudHSM.
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/cloudhsm/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/cloudhsm/doc.go
generated
vendored
|
@ -12,69 +12,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Amazon CloudHSM you will first need
|
||||
// to create a new instance of it.
|
||||
// To Amazon CloudHSM with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := cloudhsm.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon CloudHSM client CloudHSM for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/cloudhsm/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.AddTagsToResource(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("AddTagsToResource result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.AddTagsToResourceWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package cloudhsm
|
||||
|
|
2503
vendor/github.com/aws/aws-sdk-go/service/cloudhsmv2/api.go
generated
vendored
Normal file
2503
vendor/github.com/aws/aws-sdk-go/service/cloudhsmv2/api.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
113
vendor/github.com/aws/aws-sdk-go/service/cloudhsmv2/cloudhsmv2iface/interface.go
generated
vendored
Normal file
113
vendor/github.com/aws/aws-sdk-go/service/cloudhsmv2/cloudhsmv2iface/interface.go
generated
vendored
Normal file
|
@ -0,0 +1,113 @@
|
|||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package cloudhsmv2iface provides an interface to enable mocking the AWS CloudHSM V2 service client
|
||||
// for testing your code.
|
||||
//
|
||||
// It is important to note that this interface will have breaking changes
|
||||
// when the service model is updated and adds new API operations, paginators,
|
||||
// and waiters.
|
||||
package cloudhsmv2iface
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/service/cloudhsmv2"
|
||||
)
|
||||
|
||||
// CloudHSMV2API provides an interface to enable mocking the
|
||||
// cloudhsmv2.CloudHSMV2 service client's API operation,
|
||||
// paginators, and waiters. This make unit testing your code that calls out
|
||||
// to the SDK's service client's calls easier.
|
||||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS CloudHSM V2.
|
||||
// func myFunc(svc cloudhsmv2iface.CloudHSMV2API) bool {
|
||||
// // Make svc.CreateCluster request
|
||||
// }
|
||||
//
|
||||
// func main() {
|
||||
// sess := session.New()
|
||||
// svc := cloudhsmv2.New(sess)
|
||||
//
|
||||
// myFunc(svc)
|
||||
// }
|
||||
//
|
||||
// In your _test.go file:
|
||||
//
|
||||
// // Define a mock struct to be used in your unit tests of myFunc.
|
||||
// type mockCloudHSMV2Client struct {
|
||||
// cloudhsmv2iface.CloudHSMV2API
|
||||
// }
|
||||
// func (m *mockCloudHSMV2Client) CreateCluster(input *cloudhsmv2.CreateClusterInput) (*cloudhsmv2.CreateClusterOutput, error) {
|
||||
// // mock response/functionality
|
||||
// }
|
||||
//
|
||||
// func TestMyFunc(t *testing.T) {
|
||||
// // Setup Test
|
||||
// mockSvc := &mockCloudHSMV2Client{}
|
||||
//
|
||||
// myfunc(mockSvc)
|
||||
//
|
||||
// // Verify myFunc's functionality
|
||||
// }
|
||||
//
|
||||
// It is important to note that this interface will have breaking changes
|
||||
// when the service model is updated and adds new API operations, paginators,
|
||||
// and waiters. Its suggested to use the pattern above for testing, or using
|
||||
// tooling to generate mocks to satisfy the interfaces.
|
||||
type CloudHSMV2API interface {
|
||||
CreateCluster(*cloudhsmv2.CreateClusterInput) (*cloudhsmv2.CreateClusterOutput, error)
|
||||
CreateClusterWithContext(aws.Context, *cloudhsmv2.CreateClusterInput, ...request.Option) (*cloudhsmv2.CreateClusterOutput, error)
|
||||
CreateClusterRequest(*cloudhsmv2.CreateClusterInput) (*request.Request, *cloudhsmv2.CreateClusterOutput)
|
||||
|
||||
CreateHsm(*cloudhsmv2.CreateHsmInput) (*cloudhsmv2.CreateHsmOutput, error)
|
||||
CreateHsmWithContext(aws.Context, *cloudhsmv2.CreateHsmInput, ...request.Option) (*cloudhsmv2.CreateHsmOutput, error)
|
||||
CreateHsmRequest(*cloudhsmv2.CreateHsmInput) (*request.Request, *cloudhsmv2.CreateHsmOutput)
|
||||
|
||||
DeleteCluster(*cloudhsmv2.DeleteClusterInput) (*cloudhsmv2.DeleteClusterOutput, error)
|
||||
DeleteClusterWithContext(aws.Context, *cloudhsmv2.DeleteClusterInput, ...request.Option) (*cloudhsmv2.DeleteClusterOutput, error)
|
||||
DeleteClusterRequest(*cloudhsmv2.DeleteClusterInput) (*request.Request, *cloudhsmv2.DeleteClusterOutput)
|
||||
|
||||
DeleteHsm(*cloudhsmv2.DeleteHsmInput) (*cloudhsmv2.DeleteHsmOutput, error)
|
||||
DeleteHsmWithContext(aws.Context, *cloudhsmv2.DeleteHsmInput, ...request.Option) (*cloudhsmv2.DeleteHsmOutput, error)
|
||||
DeleteHsmRequest(*cloudhsmv2.DeleteHsmInput) (*request.Request, *cloudhsmv2.DeleteHsmOutput)
|
||||
|
||||
DescribeBackups(*cloudhsmv2.DescribeBackupsInput) (*cloudhsmv2.DescribeBackupsOutput, error)
|
||||
DescribeBackupsWithContext(aws.Context, *cloudhsmv2.DescribeBackupsInput, ...request.Option) (*cloudhsmv2.DescribeBackupsOutput, error)
|
||||
DescribeBackupsRequest(*cloudhsmv2.DescribeBackupsInput) (*request.Request, *cloudhsmv2.DescribeBackupsOutput)
|
||||
|
||||
DescribeBackupsPages(*cloudhsmv2.DescribeBackupsInput, func(*cloudhsmv2.DescribeBackupsOutput, bool) bool) error
|
||||
DescribeBackupsPagesWithContext(aws.Context, *cloudhsmv2.DescribeBackupsInput, func(*cloudhsmv2.DescribeBackupsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeClusters(*cloudhsmv2.DescribeClustersInput) (*cloudhsmv2.DescribeClustersOutput, error)
|
||||
DescribeClustersWithContext(aws.Context, *cloudhsmv2.DescribeClustersInput, ...request.Option) (*cloudhsmv2.DescribeClustersOutput, error)
|
||||
DescribeClustersRequest(*cloudhsmv2.DescribeClustersInput) (*request.Request, *cloudhsmv2.DescribeClustersOutput)
|
||||
|
||||
DescribeClustersPages(*cloudhsmv2.DescribeClustersInput, func(*cloudhsmv2.DescribeClustersOutput, bool) bool) error
|
||||
DescribeClustersPagesWithContext(aws.Context, *cloudhsmv2.DescribeClustersInput, func(*cloudhsmv2.DescribeClustersOutput, bool) bool, ...request.Option) error
|
||||
|
||||
InitializeCluster(*cloudhsmv2.InitializeClusterInput) (*cloudhsmv2.InitializeClusterOutput, error)
|
||||
InitializeClusterWithContext(aws.Context, *cloudhsmv2.InitializeClusterInput, ...request.Option) (*cloudhsmv2.InitializeClusterOutput, error)
|
||||
InitializeClusterRequest(*cloudhsmv2.InitializeClusterInput) (*request.Request, *cloudhsmv2.InitializeClusterOutput)
|
||||
|
||||
ListTags(*cloudhsmv2.ListTagsInput) (*cloudhsmv2.ListTagsOutput, error)
|
||||
ListTagsWithContext(aws.Context, *cloudhsmv2.ListTagsInput, ...request.Option) (*cloudhsmv2.ListTagsOutput, error)
|
||||
ListTagsRequest(*cloudhsmv2.ListTagsInput) (*request.Request, *cloudhsmv2.ListTagsOutput)
|
||||
|
||||
ListTagsPages(*cloudhsmv2.ListTagsInput, func(*cloudhsmv2.ListTagsOutput, bool) bool) error
|
||||
ListTagsPagesWithContext(aws.Context, *cloudhsmv2.ListTagsInput, func(*cloudhsmv2.ListTagsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
TagResource(*cloudhsmv2.TagResourceInput) (*cloudhsmv2.TagResourceOutput, error)
|
||||
TagResourceWithContext(aws.Context, *cloudhsmv2.TagResourceInput, ...request.Option) (*cloudhsmv2.TagResourceOutput, error)
|
||||
TagResourceRequest(*cloudhsmv2.TagResourceInput) (*request.Request, *cloudhsmv2.TagResourceOutput)
|
||||
|
||||
UntagResource(*cloudhsmv2.UntagResourceInput) (*cloudhsmv2.UntagResourceOutput, error)
|
||||
UntagResourceWithContext(aws.Context, *cloudhsmv2.UntagResourceInput, ...request.Option) (*cloudhsmv2.UntagResourceOutput, error)
|
||||
UntagResourceRequest(*cloudhsmv2.UntagResourceInput) (*request.Request, *cloudhsmv2.UntagResourceOutput)
|
||||
}
|
||||
|
||||
var _ CloudHSMV2API = (*cloudhsmv2.CloudHSMV2)(nil)
|
29
vendor/github.com/aws/aws-sdk-go/service/cloudhsmv2/doc.go
generated
vendored
Normal file
29
vendor/github.com/aws/aws-sdk-go/service/cloudhsmv2/doc.go
generated
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package cloudhsmv2 provides the client and types for making API
|
||||
// requests to AWS CloudHSM V2.
|
||||
//
|
||||
// For more information about AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/)
|
||||
// and the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/).
|
||||
//
|
||||
// See https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28 for more information on this service.
|
||||
//
|
||||
// See cloudhsmv2 package documentation for more information.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/cloudhsmv2/
|
||||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To AWS CloudHSM V2 with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the AWS CloudHSM V2 client CloudHSMV2 for more
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/cloudhsmv2/#New
|
||||
package cloudhsmv2
|
38
vendor/github.com/aws/aws-sdk-go/service/cloudhsmv2/errors.go
generated
vendored
Normal file
38
vendor/github.com/aws/aws-sdk-go/service/cloudhsmv2/errors.go
generated
vendored
Normal file
|
@ -0,0 +1,38 @@
|
|||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package cloudhsmv2
|
||||
|
||||
const (
|
||||
|
||||
// ErrCodeCloudHsmAccessDeniedException for service response error code
|
||||
// "CloudHsmAccessDeniedException".
|
||||
//
|
||||
// The request was rejected because the requester does not have permission to
|
||||
// perform the requested operation.
|
||||
ErrCodeCloudHsmAccessDeniedException = "CloudHsmAccessDeniedException"
|
||||
|
||||
// ErrCodeCloudHsmInternalFailureException for service response error code
|
||||
// "CloudHsmInternalFailureException".
|
||||
//
|
||||
// The request was rejected because of an AWS CloudHSM internal failure. The
|
||||
// request can be retried.
|
||||
ErrCodeCloudHsmInternalFailureException = "CloudHsmInternalFailureException"
|
||||
|
||||
// ErrCodeCloudHsmInvalidRequestException for service response error code
|
||||
// "CloudHsmInvalidRequestException".
|
||||
//
|
||||
// The request was rejected because it is not a valid request.
|
||||
ErrCodeCloudHsmInvalidRequestException = "CloudHsmInvalidRequestException"
|
||||
|
||||
// ErrCodeCloudHsmResourceNotFoundException for service response error code
|
||||
// "CloudHsmResourceNotFoundException".
|
||||
//
|
||||
// The request was rejected because it refers to a resource that cannot be found.
|
||||
ErrCodeCloudHsmResourceNotFoundException = "CloudHsmResourceNotFoundException"
|
||||
|
||||
// ErrCodeCloudHsmServiceException for service response error code
|
||||
// "CloudHsmServiceException".
|
||||
//
|
||||
// The request was rejected because an error occurred.
|
||||
ErrCodeCloudHsmServiceException = "CloudHsmServiceException"
|
||||
)
|
98
vendor/github.com/aws/aws-sdk-go/service/cloudhsmv2/service.go
generated
vendored
Normal file
98
vendor/github.com/aws/aws-sdk-go/service/cloudhsmv2/service.go
generated
vendored
Normal file
|
@ -0,0 +1,98 @@
|
|||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package cloudhsmv2
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/client"
|
||||
"github.com/aws/aws-sdk-go/aws/client/metadata"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/aws/signer/v4"
|
||||
"github.com/aws/aws-sdk-go/private/protocol/jsonrpc"
|
||||
)
|
||||
|
||||
// CloudHSMV2 provides the API operation methods for making requests to
|
||||
// AWS CloudHSM V2. See this package's package overview docs
|
||||
// for details on the service.
|
||||
//
|
||||
// CloudHSMV2 methods are safe to use concurrently. It is not safe to
|
||||
// modify mutate any of the struct's properties though.
|
||||
type CloudHSMV2 struct {
|
||||
*client.Client
|
||||
}
|
||||
|
||||
// Used for custom client initialization logic
|
||||
var initClient func(*client.Client)
|
||||
|
||||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "cloudhsmv2" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudHSMV2 client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
// aws.Config parameter to add your extra config.
|
||||
//
|
||||
// Example:
|
||||
// // Create a CloudHSMV2 client from just a session.
|
||||
// svc := cloudhsmv2.New(mySession)
|
||||
//
|
||||
// // Create a CloudHSMV2 client with additional configuration
|
||||
// svc := cloudhsmv2.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudHSMV2 {
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
// newClient creates, initializes and returns a new service client instance.
|
||||
func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *CloudHSMV2 {
|
||||
if len(signingName) == 0 {
|
||||
signingName = "cloudhsm"
|
||||
}
|
||||
svc := &CloudHSMV2{
|
||||
Client: client.New(
|
||||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
APIVersion: "2017-04-28",
|
||||
JSONVersion: "1.1",
|
||||
TargetPrefix: "BaldrApiService",
|
||||
},
|
||||
handlers,
|
||||
),
|
||||
}
|
||||
|
||||
// Handlers
|
||||
svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler)
|
||||
svc.Handlers.Build.PushBackNamed(jsonrpc.BuildHandler)
|
||||
svc.Handlers.Unmarshal.PushBackNamed(jsonrpc.UnmarshalHandler)
|
||||
svc.Handlers.UnmarshalMeta.PushBackNamed(jsonrpc.UnmarshalMetaHandler)
|
||||
svc.Handlers.UnmarshalError.PushBackNamed(jsonrpc.UnmarshalErrorHandler)
|
||||
|
||||
// Run custom client initialization if present
|
||||
if initClient != nil {
|
||||
initClient(svc.Client)
|
||||
}
|
||||
|
||||
return svc
|
||||
}
|
||||
|
||||
// newRequest creates a new request for a CloudHSMV2 operation and runs any
|
||||
// custom request initialization.
|
||||
func (c *CloudHSMV2) newRequest(op *request.Operation, params, data interface{}) *request.Request {
|
||||
req := c.NewRequest(op, params, data)
|
||||
|
||||
// Run custom request initialization if present
|
||||
if initRequest != nil {
|
||||
initRequest(req)
|
||||
}
|
||||
|
||||
return req
|
||||
}
|
456
vendor/github.com/aws/aws-sdk-go/service/cloudsearch/api.go
generated
vendored
456
vendor/github.com/aws/aws-sdk-go/service/cloudsearch/api.go
generated
vendored
|
@ -14,19 +14,18 @@ const opBuildSuggesters = "BuildSuggesters"
|
|||
|
||||
// BuildSuggestersRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the BuildSuggesters operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See BuildSuggesters for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the BuildSuggesters method directly
|
||||
// instead.
|
||||
// See BuildSuggesters for more information on using the BuildSuggesters
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the BuildSuggestersRequest method.
|
||||
// req, resp := client.BuildSuggestersRequest(params)
|
||||
|
@ -101,19 +100,18 @@ const opCreateDomain = "CreateDomain"
|
|||
|
||||
// CreateDomainRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateDomain operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateDomain for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateDomain method directly
|
||||
// instead.
|
||||
// See CreateDomain for more information on using the CreateDomain
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateDomainRequest method.
|
||||
// req, resp := client.CreateDomainRequest(params)
|
||||
|
@ -187,19 +185,18 @@ const opDefineAnalysisScheme = "DefineAnalysisScheme"
|
|||
|
||||
// DefineAnalysisSchemeRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DefineAnalysisScheme operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DefineAnalysisScheme for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DefineAnalysisScheme method directly
|
||||
// instead.
|
||||
// See DefineAnalysisScheme for more information on using the DefineAnalysisScheme
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DefineAnalysisSchemeRequest method.
|
||||
// req, resp := client.DefineAnalysisSchemeRequest(params)
|
||||
|
@ -281,19 +278,18 @@ const opDefineExpression = "DefineExpression"
|
|||
|
||||
// DefineExpressionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DefineExpression operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DefineExpression for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DefineExpression method directly
|
||||
// instead.
|
||||
// See DefineExpression for more information on using the DefineExpression
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DefineExpressionRequest method.
|
||||
// req, resp := client.DefineExpressionRequest(params)
|
||||
|
@ -375,19 +371,18 @@ const opDefineIndexField = "DefineIndexField"
|
|||
|
||||
// DefineIndexFieldRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DefineIndexField operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DefineIndexField for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DefineIndexField method directly
|
||||
// instead.
|
||||
// See DefineIndexField for more information on using the DefineIndexField
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DefineIndexFieldRequest method.
|
||||
// req, resp := client.DefineIndexFieldRequest(params)
|
||||
|
@ -473,19 +468,18 @@ const opDefineSuggester = "DefineSuggester"
|
|||
|
||||
// DefineSuggesterRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DefineSuggester operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DefineSuggester for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DefineSuggester method directly
|
||||
// instead.
|
||||
// See DefineSuggester for more information on using the DefineSuggester
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DefineSuggesterRequest method.
|
||||
// req, resp := client.DefineSuggesterRequest(params)
|
||||
|
@ -569,19 +563,18 @@ const opDeleteAnalysisScheme = "DeleteAnalysisScheme"
|
|||
|
||||
// DeleteAnalysisSchemeRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteAnalysisScheme operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteAnalysisScheme for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteAnalysisScheme method directly
|
||||
// instead.
|
||||
// See DeleteAnalysisScheme for more information on using the DeleteAnalysisScheme
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteAnalysisSchemeRequest method.
|
||||
// req, resp := client.DeleteAnalysisSchemeRequest(params)
|
||||
|
@ -659,19 +652,18 @@ const opDeleteDomain = "DeleteDomain"
|
|||
|
||||
// DeleteDomainRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteDomain operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteDomain for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteDomain method directly
|
||||
// instead.
|
||||
// See DeleteDomain for more information on using the DeleteDomain
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteDomainRequest method.
|
||||
// req, resp := client.DeleteDomainRequest(params)
|
||||
|
@ -743,19 +735,18 @@ const opDeleteExpression = "DeleteExpression"
|
|||
|
||||
// DeleteExpressionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteExpression operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteExpression for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteExpression method directly
|
||||
// instead.
|
||||
// See DeleteExpression for more information on using the DeleteExpression
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteExpressionRequest method.
|
||||
// req, resp := client.DeleteExpressionRequest(params)
|
||||
|
@ -833,19 +824,18 @@ const opDeleteIndexField = "DeleteIndexField"
|
|||
|
||||
// DeleteIndexFieldRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteIndexField operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteIndexField for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteIndexField method directly
|
||||
// instead.
|
||||
// See DeleteIndexField for more information on using the DeleteIndexField
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteIndexFieldRequest method.
|
||||
// req, resp := client.DeleteIndexFieldRequest(params)
|
||||
|
@ -923,19 +913,18 @@ const opDeleteSuggester = "DeleteSuggester"
|
|||
|
||||
// DeleteSuggesterRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteSuggester operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteSuggester for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteSuggester method directly
|
||||
// instead.
|
||||
// See DeleteSuggester for more information on using the DeleteSuggester
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteSuggesterRequest method.
|
||||
// req, resp := client.DeleteSuggesterRequest(params)
|
||||
|
@ -1013,19 +1002,18 @@ const opDescribeAnalysisSchemes = "DescribeAnalysisSchemes"
|
|||
|
||||
// DescribeAnalysisSchemesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeAnalysisSchemes operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeAnalysisSchemes for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeAnalysisSchemes method directly
|
||||
// instead.
|
||||
// See DescribeAnalysisSchemes for more information on using the DescribeAnalysisSchemes
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeAnalysisSchemesRequest method.
|
||||
// req, resp := client.DescribeAnalysisSchemesRequest(params)
|
||||
|
@ -1104,19 +1092,18 @@ const opDescribeAvailabilityOptions = "DescribeAvailabilityOptions"
|
|||
|
||||
// DescribeAvailabilityOptionsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeAvailabilityOptions operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeAvailabilityOptions for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeAvailabilityOptions method directly
|
||||
// instead.
|
||||
// See DescribeAvailabilityOptions for more information on using the DescribeAvailabilityOptions
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeAvailabilityOptionsRequest method.
|
||||
// req, resp := client.DescribeAvailabilityOptionsRequest(params)
|
||||
|
@ -1202,19 +1189,18 @@ const opDescribeDomains = "DescribeDomains"
|
|||
|
||||
// DescribeDomainsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeDomains operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeDomains for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeDomains method directly
|
||||
// instead.
|
||||
// See DescribeDomains for more information on using the DescribeDomains
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeDomainsRequest method.
|
||||
// req, resp := client.DescribeDomainsRequest(params)
|
||||
|
@ -1288,19 +1274,18 @@ const opDescribeExpressions = "DescribeExpressions"
|
|||
|
||||
// DescribeExpressionsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeExpressions operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeExpressions for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeExpressions method directly
|
||||
// instead.
|
||||
// See DescribeExpressions for more information on using the DescribeExpressions
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeExpressionsRequest method.
|
||||
// req, resp := client.DescribeExpressionsRequest(params)
|
||||
|
@ -1378,19 +1363,18 @@ const opDescribeIndexFields = "DescribeIndexFields"
|
|||
|
||||
// DescribeIndexFieldsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeIndexFields operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeIndexFields for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeIndexFields method directly
|
||||
// instead.
|
||||
// See DescribeIndexFields for more information on using the DescribeIndexFields
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeIndexFieldsRequest method.
|
||||
// req, resp := client.DescribeIndexFieldsRequest(params)
|
||||
|
@ -1468,19 +1452,18 @@ const opDescribeScalingParameters = "DescribeScalingParameters"
|
|||
|
||||
// DescribeScalingParametersRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeScalingParameters operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeScalingParameters for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeScalingParameters method directly
|
||||
// instead.
|
||||
// See DescribeScalingParameters for more information on using the DescribeScalingParameters
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeScalingParametersRequest method.
|
||||
// req, resp := client.DescribeScalingParametersRequest(params)
|
||||
|
@ -1556,19 +1539,18 @@ const opDescribeServiceAccessPolicies = "DescribeServiceAccessPolicies"
|
|||
|
||||
// DescribeServiceAccessPoliciesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeServiceAccessPolicies operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeServiceAccessPolicies for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeServiceAccessPolicies method directly
|
||||
// instead.
|
||||
// See DescribeServiceAccessPolicies for more information on using the DescribeServiceAccessPolicies
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeServiceAccessPoliciesRequest method.
|
||||
// req, resp := client.DescribeServiceAccessPoliciesRequest(params)
|
||||
|
@ -1646,19 +1628,18 @@ const opDescribeSuggesters = "DescribeSuggesters"
|
|||
|
||||
// DescribeSuggestersRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeSuggesters operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeSuggesters for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeSuggesters method directly
|
||||
// instead.
|
||||
// See DescribeSuggesters for more information on using the DescribeSuggesters
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeSuggestersRequest method.
|
||||
// req, resp := client.DescribeSuggestersRequest(params)
|
||||
|
@ -1737,19 +1718,18 @@ const opIndexDocuments = "IndexDocuments"
|
|||
|
||||
// IndexDocumentsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the IndexDocuments operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See IndexDocuments for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the IndexDocuments method directly
|
||||
// instead.
|
||||
// See IndexDocuments for more information on using the IndexDocuments
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the IndexDocumentsRequest method.
|
||||
// req, resp := client.IndexDocumentsRequest(params)
|
||||
|
@ -1824,19 +1804,18 @@ const opListDomainNames = "ListDomainNames"
|
|||
|
||||
// ListDomainNamesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListDomainNames operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListDomainNames for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListDomainNames method directly
|
||||
// instead.
|
||||
// See ListDomainNames for more information on using the ListDomainNames
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListDomainNamesRequest method.
|
||||
// req, resp := client.ListDomainNamesRequest(params)
|
||||
|
@ -1901,19 +1880,18 @@ const opUpdateAvailabilityOptions = "UpdateAvailabilityOptions"
|
|||
|
||||
// UpdateAvailabilityOptionsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateAvailabilityOptions operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateAvailabilityOptions for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateAvailabilityOptions method directly
|
||||
// instead.
|
||||
// See UpdateAvailabilityOptions for more information on using the UpdateAvailabilityOptions
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateAvailabilityOptionsRequest method.
|
||||
// req, resp := client.UpdateAvailabilityOptionsRequest(params)
|
||||
|
@ -2000,19 +1978,18 @@ const opUpdateScalingParameters = "UpdateScalingParameters"
|
|||
|
||||
// UpdateScalingParametersRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateScalingParameters operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateScalingParameters for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateScalingParameters method directly
|
||||
// instead.
|
||||
// See UpdateScalingParameters for more information on using the UpdateScalingParameters
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateScalingParametersRequest method.
|
||||
// req, resp := client.UpdateScalingParametersRequest(params)
|
||||
|
@ -2098,19 +2075,18 @@ const opUpdateServiceAccessPolicies = "UpdateServiceAccessPolicies"
|
|||
|
||||
// UpdateServiceAccessPoliciesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateServiceAccessPolicies operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateServiceAccessPolicies for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateServiceAccessPolicies method directly
|
||||
// instead.
|
||||
// See UpdateServiceAccessPolicies for more information on using the UpdateServiceAccessPolicies
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateServiceAccessPoliciesRequest method.
|
||||
// req, resp := client.UpdateServiceAccessPoliciesRequest(params)
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/service/cloudsearch/cloudsearchiface/interface.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/cloudsearch/cloudsearchiface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon CloudSearch.
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/cloudsearch/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/cloudsearch/doc.go
generated
vendored
|
@ -17,69 +17,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Amazon CloudSearch you will first need
|
||||
// to create a new instance of it.
|
||||
// To Amazon CloudSearch with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := cloudsearch.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon CloudSearch client CloudSearch for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/cloudsearch/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.BuildSuggesters(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("BuildSuggesters result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.BuildSuggestersWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package cloudsearch
|
||||
|
|
57
vendor/github.com/aws/aws-sdk-go/service/cloudsearchdomain/api.go
generated
vendored
57
vendor/github.com/aws/aws-sdk-go/service/cloudsearchdomain/api.go
generated
vendored
|
@ -14,19 +14,18 @@ const opSearch = "Search"
|
|||
|
||||
// SearchRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the Search operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See Search for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the Search method directly
|
||||
// instead.
|
||||
// See Search for more information on using the Search
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the SearchRequest method.
|
||||
// req, resp := client.SearchRequest(params)
|
||||
|
@ -111,19 +110,18 @@ const opSuggest = "Suggest"
|
|||
|
||||
// SuggestRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the Suggest operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See Suggest for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the Suggest method directly
|
||||
// instead.
|
||||
// See Suggest for more information on using the Suggest
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the SuggestRequest method.
|
||||
// req, resp := client.SuggestRequest(params)
|
||||
|
@ -204,19 +202,18 @@ const opUploadDocuments = "UploadDocuments"
|
|||
|
||||
// UploadDocumentsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UploadDocuments operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UploadDocuments for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UploadDocuments method directly
|
||||
// instead.
|
||||
// See UploadDocuments for more information on using the UploadDocuments
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UploadDocumentsRequest method.
|
||||
// req, resp := client.UploadDocumentsRequest(params)
|
||||
|
|
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon CloudSearch Domain.
|
||||
|
|
34
vendor/github.com/aws/aws-sdk-go/service/cloudsearchdomain/customizations_test.go
generated
vendored
34
vendor/github.com/aws/aws-sdk-go/service/cloudsearchdomain/customizations_test.go
generated
vendored
|
@ -3,8 +3,6 @@ package cloudsearchdomain_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/awstesting/unit"
|
||||
"github.com/aws/aws-sdk-go/service/cloudsearchdomain"
|
||||
|
@ -18,9 +16,15 @@ func TestRequireEndpointIfRegionProvided(t *testing.T) {
|
|||
req, _ := svc.SearchRequest(nil)
|
||||
err := req.Build()
|
||||
|
||||
assert.Equal(t, "", svc.Endpoint)
|
||||
assert.Error(t, err)
|
||||
assert.Equal(t, aws.ErrMissingEndpoint, err)
|
||||
if e, a := "", svc.Endpoint; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
if err == nil {
|
||||
t.Errorf("expect error, got none")
|
||||
}
|
||||
if e, a := aws.ErrMissingEndpoint, err; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestRequireEndpointIfNoRegionProvided(t *testing.T) {
|
||||
|
@ -30,9 +34,15 @@ func TestRequireEndpointIfNoRegionProvided(t *testing.T) {
|
|||
req, _ := svc.SearchRequest(nil)
|
||||
err := req.Build()
|
||||
|
||||
assert.Equal(t, "", svc.Endpoint)
|
||||
assert.Error(t, err)
|
||||
assert.Equal(t, aws.ErrMissingEndpoint, err)
|
||||
if e, a := "", svc.Endpoint; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
if err == nil {
|
||||
t.Errorf("expect error, got none")
|
||||
}
|
||||
if e, a := aws.ErrMissingEndpoint, err; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestRequireEndpointUsed(t *testing.T) {
|
||||
|
@ -44,6 +54,10 @@ func TestRequireEndpointUsed(t *testing.T) {
|
|||
req, _ := svc.SearchRequest(nil)
|
||||
err := req.Build()
|
||||
|
||||
assert.Equal(t, "https://endpoint", svc.Endpoint)
|
||||
assert.NoError(t, err)
|
||||
if e, a := "https://endpoint", svc.Endpoint; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
if err != nil {
|
||||
t.Errorf("expect no error, got %v", err)
|
||||
}
|
||||
}
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/cloudsearchdomain/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/cloudsearchdomain/doc.go
generated
vendored
|
@ -19,69 +19,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Amazon CloudSearch Domain you will first need
|
||||
// to create a new instance of it.
|
||||
// To Amazon CloudSearch Domain with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := cloudsearchdomain.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon CloudSearch Domain client CloudSearchDomain for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/cloudsearchdomain/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.Search(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("Search result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.SearchWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package cloudsearchdomain
|
||||
|
|
266
vendor/github.com/aws/aws-sdk-go/service/cloudtrail/api.go
generated
vendored
266
vendor/github.com/aws/aws-sdk-go/service/cloudtrail/api.go
generated
vendored
|
@ -15,19 +15,18 @@ const opAddTags = "AddTags"
|
|||
|
||||
// AddTagsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the AddTags operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See AddTags for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the AddTags method directly
|
||||
// instead.
|
||||
// See AddTags for more information on using the AddTags
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the AddTagsRequest method.
|
||||
// req, resp := client.AddTagsRequest(params)
|
||||
|
@ -140,19 +139,18 @@ const opCreateTrail = "CreateTrail"
|
|||
|
||||
// CreateTrailRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateTrail operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateTrail for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateTrail method directly
|
||||
// instead.
|
||||
// See CreateTrail for more information on using the CreateTrail
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateTrailRequest method.
|
||||
// req, resp := client.CreateTrailRequest(params)
|
||||
|
@ -299,19 +297,18 @@ const opDeleteTrail = "DeleteTrail"
|
|||
|
||||
// DeleteTrailRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteTrail operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteTrail for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteTrail method directly
|
||||
// instead.
|
||||
// See DeleteTrail for more information on using the DeleteTrail
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteTrailRequest method.
|
||||
// req, resp := client.DeleteTrailRequest(params)
|
||||
|
@ -401,19 +398,18 @@ const opDescribeTrails = "DescribeTrails"
|
|||
|
||||
// DescribeTrailsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeTrails operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeTrails for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeTrails method directly
|
||||
// instead.
|
||||
// See DescribeTrails for more information on using the DescribeTrails
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeTrailsRequest method.
|
||||
// req, resp := client.DescribeTrailsRequest(params)
|
||||
|
@ -485,19 +481,18 @@ const opGetEventSelectors = "GetEventSelectors"
|
|||
|
||||
// GetEventSelectorsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetEventSelectors operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetEventSelectors for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetEventSelectors method directly
|
||||
// instead.
|
||||
// See GetEventSelectors for more information on using the GetEventSelectors
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetEventSelectorsRequest method.
|
||||
// req, resp := client.GetEventSelectorsRequest(params)
|
||||
|
@ -599,19 +594,18 @@ const opGetTrailStatus = "GetTrailStatus"
|
|||
|
||||
// GetTrailStatusRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetTrailStatus operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetTrailStatus for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetTrailStatus method directly
|
||||
// instead.
|
||||
// See GetTrailStatus for more information on using the GetTrailStatus
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetTrailStatusRequest method.
|
||||
// req, resp := client.GetTrailStatusRequest(params)
|
||||
|
@ -699,19 +693,18 @@ const opListPublicKeys = "ListPublicKeys"
|
|||
|
||||
// ListPublicKeysRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListPublicKeys operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListPublicKeys for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListPublicKeys method directly
|
||||
// instead.
|
||||
// See ListPublicKeys for more information on using the ListPublicKeys
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListPublicKeysRequest method.
|
||||
// req, resp := client.ListPublicKeysRequest(params)
|
||||
|
@ -796,19 +789,18 @@ const opListTags = "ListTags"
|
|||
|
||||
// ListTagsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListTags operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListTags for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListTags method directly
|
||||
// instead.
|
||||
// See ListTags for more information on using the ListTags
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListTagsRequest method.
|
||||
// req, resp := client.ListTagsRequest(params)
|
||||
|
@ -911,19 +903,18 @@ const opLookupEvents = "LookupEvents"
|
|||
|
||||
// LookupEventsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the LookupEvents operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See LookupEvents for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the LookupEvents method directly
|
||||
// instead.
|
||||
// See LookupEvents for more information on using the LookupEvents
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the LookupEventsRequest method.
|
||||
// req, resp := client.LookupEventsRequest(params)
|
||||
|
@ -1083,19 +1074,18 @@ const opPutEventSelectors = "PutEventSelectors"
|
|||
|
||||
// PutEventSelectorsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the PutEventSelectors operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See PutEventSelectors for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the PutEventSelectors method directly
|
||||
// instead.
|
||||
// See PutEventSelectors for more information on using the PutEventSelectors
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the PutEventSelectorsRequest method.
|
||||
// req, resp := client.PutEventSelectorsRequest(params)
|
||||
|
@ -1228,19 +1218,18 @@ const opRemoveTags = "RemoveTags"
|
|||
|
||||
// RemoveTagsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RemoveTags operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See RemoveTags for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the RemoveTags method directly
|
||||
// instead.
|
||||
// See RemoveTags for more information on using the RemoveTags
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the RemoveTagsRequest method.
|
||||
// req, resp := client.RemoveTagsRequest(params)
|
||||
|
@ -1344,19 +1333,18 @@ const opStartLogging = "StartLogging"
|
|||
|
||||
// StartLoggingRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the StartLogging operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See StartLogging for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the StartLogging method directly
|
||||
// instead.
|
||||
// See StartLogging for more information on using the StartLogging
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the StartLoggingRequest method.
|
||||
// req, resp := client.StartLoggingRequest(params)
|
||||
|
@ -1448,19 +1436,18 @@ const opStopLogging = "StopLogging"
|
|||
|
||||
// StopLoggingRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the StopLogging operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See StopLogging for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the StopLogging method directly
|
||||
// instead.
|
||||
// See StopLogging for more information on using the StopLogging
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the StopLoggingRequest method.
|
||||
// req, resp := client.StopLoggingRequest(params)
|
||||
|
@ -1554,19 +1541,18 @@ const opUpdateTrail = "UpdateTrail"
|
|||
|
||||
// UpdateTrailRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateTrail operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateTrail for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateTrail method directly
|
||||
// instead.
|
||||
// See UpdateTrail for more information on using the UpdateTrail
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateTrailRequest method.
|
||||
// req, resp := client.UpdateTrailRequest(params)
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/service/cloudtrail/cloudtrailiface/interface.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/cloudtrail/cloudtrailiface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS CloudTrail.
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/cloudtrail/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/cloudtrail/doc.go
generated
vendored
|
@ -32,69 +32,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for AWS CloudTrail you will first need
|
||||
// to create a new instance of it.
|
||||
// To AWS CloudTrail with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := cloudtrail.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the AWS CloudTrail client CloudTrail for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/cloudtrail/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.AddTags(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("AddTags result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.AddTagsWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package cloudtrail
|
||||
|
|
405
vendor/github.com/aws/aws-sdk-go/service/cloudwatch/api.go
generated
vendored
405
vendor/github.com/aws/aws-sdk-go/service/cloudwatch/api.go
generated
vendored
|
@ -17,19 +17,18 @@ const opDeleteAlarms = "DeleteAlarms"
|
|||
|
||||
// DeleteAlarmsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteAlarms operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteAlarms for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteAlarms method directly
|
||||
// instead.
|
||||
// See DeleteAlarms for more information on using the DeleteAlarms
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteAlarmsRequest method.
|
||||
// req, resp := client.DeleteAlarmsRequest(params)
|
||||
|
@ -99,19 +98,18 @@ const opDeleteDashboards = "DeleteDashboards"
|
|||
|
||||
// DeleteDashboardsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteDashboards operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteDashboards for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteDashboards method directly
|
||||
// instead.
|
||||
// See DeleteDashboards for more information on using the DeleteDashboards
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteDashboardsRequest method.
|
||||
// req, resp := client.DeleteDashboardsRequest(params)
|
||||
|
@ -186,19 +184,18 @@ const opDescribeAlarmHistory = "DescribeAlarmHistory"
|
|||
|
||||
// DescribeAlarmHistoryRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeAlarmHistory operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeAlarmHistory for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeAlarmHistory method directly
|
||||
// instead.
|
||||
// See DescribeAlarmHistory for more information on using the DescribeAlarmHistory
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeAlarmHistoryRequest method.
|
||||
// req, resp := client.DescribeAlarmHistoryRequest(params)
|
||||
|
@ -326,19 +323,18 @@ const opDescribeAlarms = "DescribeAlarms"
|
|||
|
||||
// DescribeAlarmsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeAlarms operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeAlarms for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeAlarms method directly
|
||||
// instead.
|
||||
// See DescribeAlarms for more information on using the DescribeAlarms
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeAlarmsRequest method.
|
||||
// req, resp := client.DescribeAlarmsRequest(params)
|
||||
|
@ -464,19 +460,18 @@ const opDescribeAlarmsForMetric = "DescribeAlarmsForMetric"
|
|||
|
||||
// DescribeAlarmsForMetricRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeAlarmsForMetric operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeAlarmsForMetric for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeAlarmsForMetric method directly
|
||||
// instead.
|
||||
// See DescribeAlarmsForMetric for more information on using the DescribeAlarmsForMetric
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeAlarmsForMetricRequest method.
|
||||
// req, resp := client.DescribeAlarmsForMetricRequest(params)
|
||||
|
@ -540,19 +535,18 @@ const opDisableAlarmActions = "DisableAlarmActions"
|
|||
|
||||
// DisableAlarmActionsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DisableAlarmActions operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DisableAlarmActions for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DisableAlarmActions method directly
|
||||
// instead.
|
||||
// See DisableAlarmActions for more information on using the DisableAlarmActions
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DisableAlarmActionsRequest method.
|
||||
// req, resp := client.DisableAlarmActionsRequest(params)
|
||||
|
@ -618,19 +612,18 @@ const opEnableAlarmActions = "EnableAlarmActions"
|
|||
|
||||
// EnableAlarmActionsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the EnableAlarmActions operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See EnableAlarmActions for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the EnableAlarmActions method directly
|
||||
// instead.
|
||||
// See EnableAlarmActions for more information on using the EnableAlarmActions
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the EnableAlarmActionsRequest method.
|
||||
// req, resp := client.EnableAlarmActionsRequest(params)
|
||||
|
@ -695,19 +688,18 @@ const opGetDashboard = "GetDashboard"
|
|||
|
||||
// GetDashboardRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetDashboard operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetDashboard for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetDashboard method directly
|
||||
// instead.
|
||||
// See GetDashboard for more information on using the GetDashboard
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetDashboardRequest method.
|
||||
// req, resp := client.GetDashboardRequest(params)
|
||||
|
@ -785,19 +777,18 @@ const opGetMetricStatistics = "GetMetricStatistics"
|
|||
|
||||
// GetMetricStatisticsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetMetricStatistics operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetMetricStatistics for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetMetricStatistics method directly
|
||||
// instead.
|
||||
// See GetMetricStatistics for more information on using the GetMetricStatistics
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetMetricStatisticsRequest method.
|
||||
// req, resp := client.GetMetricStatisticsRequest(params)
|
||||
|
@ -828,26 +819,11 @@ func (c *CloudWatch) GetMetricStatisticsRequest(input *GetMetricStatisticsInput)
|
|||
//
|
||||
// Gets statistics for the specified metric.
|
||||
//
|
||||
// Amazon CloudWatch retains metric data as follows:
|
||||
//
|
||||
// * Data points with a period of 60 seconds (1-minute) are available for
|
||||
// 15 days
|
||||
//
|
||||
// * Data points with a period of 300 seconds (5-minute) are available for
|
||||
// 63 days
|
||||
//
|
||||
// * Data points with a period of 3600 seconds (1 hour) are available for
|
||||
// 455 days (15 months)
|
||||
//
|
||||
// CloudWatch started retaining 5-minute and 1-hour metric data as of July 9,
|
||||
// 2016.
|
||||
//
|
||||
// The maximum number of data points returned from a single call is 1,440. If
|
||||
// you request more than 1,440 data points, CloudWatch returns an error. To
|
||||
// reduce the number of data points, you can narrow the specified time range
|
||||
// and make multiple requests across adjacent time ranges, or you can increase
|
||||
// the specified period. A period can be as short as one minute (60 seconds).
|
||||
// Data points are not returned in chronological order.
|
||||
// the specified period. Data points are not returned in chronological order.
|
||||
//
|
||||
// CloudWatch aggregates data points based on the length of the period that
|
||||
// you specify. For example, if you request statistics with a one-hour period,
|
||||
|
@ -863,8 +839,34 @@ func (c *CloudWatch) GetMetricStatisticsRequest(input *GetMetricStatisticsInput)
|
|||
//
|
||||
// * The Min and the Max values of the statistic set are equal.
|
||||
//
|
||||
// For a list of metrics and dimensions supported by AWS services, see the Amazon
|
||||
// CloudWatch Metrics and Dimensions Reference (http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CW_Support_For_AWS.html)
|
||||
// Amazon CloudWatch retains metric data as follows:
|
||||
//
|
||||
// * Data points with a period of less than 60 seconds are available for
|
||||
// 3 hours. These data points are high-resolution metrics and are available
|
||||
// only for custom metrics that have been defined with a StorageResolution
|
||||
// of 1.
|
||||
//
|
||||
// * Data points with a period of 60 seconds (1-minute) are available for
|
||||
// 15 days.
|
||||
//
|
||||
// * Data points with a period of 300 seconds (5-minute) are available for
|
||||
// 63 days.
|
||||
//
|
||||
// * Data points with a period of 3600 seconds (1 hour) are available for
|
||||
// 455 days (15 months).
|
||||
//
|
||||
// Data points that are initially published with a shorter period are aggregated
|
||||
// together for long-term storage. For example, if you collect data using a
|
||||
// period of 1 minute, the data remains available for 15 days with 1-minute
|
||||
// resolution. After 15 days, this data is still available, but is aggregated
|
||||
// and retrievable only with a resolution of 5 minutes. After 63 days, the data
|
||||
// is further aggregated and is available with a resolution of 1 hour.
|
||||
//
|
||||
// CloudWatch started retaining 5-minute and 1-hour metric data as of July 9,
|
||||
// 2016.
|
||||
//
|
||||
// For information about metrics and dimensions supported by AWS services, see
|
||||
// the Amazon CloudWatch Metrics and Dimensions Reference (http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CW_Support_For_AWS.html)
|
||||
// in the Amazon CloudWatch User Guide.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
|
@ -913,19 +915,18 @@ const opListDashboards = "ListDashboards"
|
|||
|
||||
// ListDashboardsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListDashboards operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListDashboards for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListDashboards method directly
|
||||
// instead.
|
||||
// See ListDashboards for more information on using the ListDashboards
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListDashboardsRequest method.
|
||||
// req, resp := client.ListDashboardsRequest(params)
|
||||
|
@ -998,19 +999,18 @@ const opListMetrics = "ListMetrics"
|
|||
|
||||
// ListMetricsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListMetrics operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListMetrics for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListMetrics method directly
|
||||
// instead.
|
||||
// See ListMetrics for more information on using the ListMetrics
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListMetricsRequest method.
|
||||
// req, resp := client.ListMetricsRequest(params)
|
||||
|
@ -1145,19 +1145,18 @@ const opPutDashboard = "PutDashboard"
|
|||
|
||||
// PutDashboardRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the PutDashboard operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See PutDashboard for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the PutDashboard method directly
|
||||
// instead.
|
||||
// See PutDashboard for more information on using the PutDashboard
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the PutDashboardRequest method.
|
||||
// req, resp := client.PutDashboardRequest(params)
|
||||
|
@ -1193,9 +1192,18 @@ func (c *CloudWatch) PutDashboardRequest(input *PutDashboardInput) (req *request
|
|||
// You can have up to 500 dashboards per account. All dashboards in your account
|
||||
// are global, not region-specific.
|
||||
//
|
||||
// To copy an existing dashboard, use GetDashboard, and then use the data returned
|
||||
// within DashboardBody as the template for the new dashboard when you call
|
||||
// PutDashboard to create the copy.
|
||||
// A simple way to create a dashboard using PutDashboard is to copy an existing
|
||||
// dashboard. To copy an existing dashboard using the console, you can load
|
||||
// the dashboard and then use the View/edit source command in the Actions menu
|
||||
// to display the JSON block for that dashboard. Another way to copy a dashboard
|
||||
// is to use GetDashboard, and then use the data returned within DashboardBody
|
||||
// as the template for the new dashboard when you call PutDashboard.
|
||||
//
|
||||
// When you create a dashboard with PutDashboard, a good practice is to add
|
||||
// a text widget at the top of the dashboard with a message that the dashboard
|
||||
// was created by script and should not be changed in the console. This message
|
||||
// could also point console users to the location of the DashboardBody script
|
||||
// or the CloudFormation template used to create the dashboard.
|
||||
//
|
||||
// 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
|
||||
|
@ -1237,19 +1245,18 @@ const opPutMetricAlarm = "PutMetricAlarm"
|
|||
|
||||
// PutMetricAlarmRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the PutMetricAlarm operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See PutMetricAlarm for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the PutMetricAlarm method directly
|
||||
// instead.
|
||||
// See PutMetricAlarm for more information on using the PutMetricAlarm
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the PutMetricAlarmRequest method.
|
||||
// req, resp := client.PutMetricAlarmRequest(params)
|
||||
|
@ -1358,19 +1365,18 @@ const opPutMetricData = "PutMetricData"
|
|||
|
||||
// PutMetricDataRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the PutMetricData operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See PutMetricData for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the PutMetricData method directly
|
||||
// instead.
|
||||
// See PutMetricData for more information on using the PutMetricData
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the PutMetricDataRequest method.
|
||||
// req, resp := client.PutMetricDataRequest(params)
|
||||
|
@ -1477,19 +1483,18 @@ const opSetAlarmState = "SetAlarmState"
|
|||
|
||||
// SetAlarmStateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the SetAlarmState operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See SetAlarmState for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the SetAlarmState method directly
|
||||
// instead.
|
||||
// See SetAlarmState for more information on using the SetAlarmState
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the SetAlarmStateRequest method.
|
||||
// req, resp := client.SetAlarmStateRequest(params)
|
||||
|
@ -2611,13 +2616,20 @@ type GetMetricStatisticsInput struct {
|
|||
// Namespace is a required field
|
||||
Namespace *string `min:"1" type:"string" required:"true"`
|
||||
|
||||
// The granularity, in seconds, of the returned data points. A period can be
|
||||
// as short as one minute (60 seconds) and must be a multiple of 60.
|
||||
// The granularity, in seconds, of the returned data points. For metrics with
|
||||
// regular resolution, a period can be as short as one minute (60 seconds) and
|
||||
// must be a multiple of 60. For high-resolution metrics that are collected
|
||||
// at intervals of less than one minute, the period can be 1, 5, 10, 30, 60,
|
||||
// or any multiple of 60. High-resolution metrics are those metrics stored by
|
||||
// a PutMetricData call that includes a StorageResolution of 1 second.
|
||||
//
|
||||
// If the StartTime parameter specifies a time stamp that is greater than 15
|
||||
// days ago, you must specify the period as follows or no data points in that
|
||||
// If the StartTime parameter specifies a time stamp that is greater than 3
|
||||
// hours ago, you must specify the period as follows or no data points in that
|
||||
// time range is returned:
|
||||
//
|
||||
// * Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds
|
||||
// (1 minute).
|
||||
//
|
||||
// * Start time between 15 and 63 days ago - Use a multiple of 300 seconds
|
||||
// (5 minutes).
|
||||
//
|
||||
|
@ -2644,6 +2656,14 @@ type GetMetricStatisticsInput struct {
|
|||
// * Start time greater than 63 days ago - Round down to the nearest 1-hour
|
||||
// clock interval. For example, 12:32:34 is rounded down to 12:00:00.
|
||||
//
|
||||
// If you set Period to 5, 10, or 30, the start time of your request is rounded
|
||||
// down to the nearest time that corresponds to even 5-, 10-, or 30-second divisions
|
||||
// of a minute. For example, if you make a query at (HH:mm:ss) 01:05:23 for
|
||||
// the previous 10-second period, the start time of your request is rounded
|
||||
// down and you receive data from 01:05:10 to 01:05:20. If you make a query
|
||||
// at 15:07:17 for the previous 5 minutes of data, using a period of 5 seconds,
|
||||
// you receive data timestamped between 15:02:15 and 15:07:15.
|
||||
//
|
||||
// StartTime is a required field
|
||||
StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
|
||||
|
||||
|
@ -3062,8 +3082,8 @@ type MetricAlarm struct {
|
|||
|
||||
// Used only for alarms based on percentiles. If ignore, the alarm state does
|
||||
// not change during periods with too few data points to be statistically significant.
|
||||
// If evaluate or this parameter is not used, the alarm will always be evaluated
|
||||
// and possibly change state no matter how many data points are available.
|
||||
// If evaluate or this parameter is not used, the alarm is always evaluated
|
||||
// and possibly changes state no matter how many data points are available.
|
||||
EvaluateLowSampleCountPercentile *string `min:"1" type:"string"`
|
||||
|
||||
// The number of periods over which data is compared to the specified threshold.
|
||||
|
@ -3289,6 +3309,15 @@ type MetricDatum struct {
|
|||
// The statistical values for the metric.
|
||||
StatisticValues *StatisticSet `type:"structure"`
|
||||
|
||||
// Valid values are 1 and 60. Setting this to 1 specifies this metric as a high-resolution
|
||||
// metric, so that CloudWatch stores the metric with sub-minute resolution down
|
||||
// to one second. Setting this to 60 specifies this metric as a regular-resolution
|
||||
// metric, which CloudWatch stores at 1-minute resolution. Currently, high resolution
|
||||
// is available only for custom metrics. For more information about high-resolution
|
||||
// metrics, see High-Resolution Metrics (http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html#high-resolution-metrics)
|
||||
// in the Amazon CloudWatch User Guide.
|
||||
//
|
||||
// This field is optional, if you do not specify it the default of 60 is used.
|
||||
StorageResolution *int64 `min:"1" type:"integer"`
|
||||
|
||||
// The time the metric data was received, expressed as the number of milliseconds
|
||||
|
@ -3407,7 +3436,7 @@ type PutDashboardInput struct {
|
|||
// The name of the dashboard. If a dashboard with this name already exists,
|
||||
// this call modifies that dashboard, replacing its current contents. Otherwise,
|
||||
// a new dashboard is created. The maximum length is 255, and valid characters
|
||||
// are A-Z, a-z, 0-9, ".", "-", and "_".
|
||||
// are A-Z, a-z, 0-9, "-", and "_".
|
||||
DashboardName *string `type:"string"`
|
||||
}
|
||||
|
||||
|
@ -3513,7 +3542,7 @@ type PutMetricAlarmInput struct {
|
|||
|
||||
// The number of periods over which data is compared to the specified threshold.
|
||||
// An alarm's total current evaluation period can be no longer than one day,
|
||||
// so this number multiplied by Period must be 86,400 or less.
|
||||
// so this number multiplied by Period cannot be more than 86,400 seconds.
|
||||
//
|
||||
// EvaluationPeriods is a required field
|
||||
EvaluationPeriods *int64 `min:"1" type:"integer" required:"true"`
|
||||
|
@ -3555,9 +3584,21 @@ type PutMetricAlarmInput struct {
|
|||
// | arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Reboot/1.0
|
||||
OKActions []*string `type:"list"`
|
||||
|
||||
// The period, in seconds, over which the specified statistic is applied. An
|
||||
// alarm's total current evaluation period can be no longer than one day, so
|
||||
// this number multiplied by EvaluationPeriods must be 86,400 or less.
|
||||
// The period, in seconds, over which the specified statistic is applied. Valid
|
||||
// values are 10, 30, and any multiple of 60.
|
||||
//
|
||||
// Be sure to specify 10 or 30 only for metrics that are stored by a PutMetricData
|
||||
// call with a StorageResolution of 1. If you specify a Period of 10 or 30 for
|
||||
// a metric that does not have sub-minute resolution, the alarm still attempts
|
||||
// to gather data at the period rate that you specify. In this case, it does
|
||||
// not receive data for the attempts that do not correspond to a one-minute
|
||||
// data resolution, and the alarm may often lapse into INSUFFICENT_DATA status.
|
||||
// Specifying 10 or 30 also sets this alarm as a high-resolution alarm, which
|
||||
// has a higher charge than other alarms. For more information about pricing,
|
||||
// see Amazon CloudWatch Pricing (https://aws.amazon.com/cloudwatch/pricing/).
|
||||
//
|
||||
// An alarm's total current evaluation period can be no longer than one day,
|
||||
// so Period multiplied by EvaluationPeriods cannot be more than 86,400 seconds.
|
||||
//
|
||||
// Period is a required field
|
||||
Period *int64 `min:"1" type:"integer" required:"true"`
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/service/cloudwatch/cloudwatchiface/interface.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/cloudwatch/cloudwatchiface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon CloudWatch.
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/cloudwatch/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/cloudwatch/doc.go
generated
vendored
|
@ -26,69 +26,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Amazon CloudWatch you will first need
|
||||
// to create a new instance of it.
|
||||
// To Amazon CloudWatch with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := cloudwatch.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon CloudWatch client CloudWatch for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/cloudwatch/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.DeleteAlarms(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("DeleteAlarms result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.DeleteAlarmsWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package cloudwatch
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/service/cloudwatch/waiters.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/cloudwatch/waiters.go
generated
vendored
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
// 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
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *CloudWatch) WaitUntilAlarmExists(input *DescribeAlarmsInput) error {
|
||||
return c.WaitUntilAlarmExistsWithContext(aws.BackgroundContext(), input)
|
||||
|
|
313
vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/api.go
generated
vendored
313
vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/api.go
generated
vendored
|
@ -17,19 +17,18 @@ const opDeleteRule = "DeleteRule"
|
|||
|
||||
// DeleteRuleRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteRule operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteRule for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteRule method directly
|
||||
// instead.
|
||||
// See DeleteRule for more information on using the DeleteRule
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteRuleRequest method.
|
||||
// req, resp := client.DeleteRuleRequest(params)
|
||||
|
@ -108,19 +107,18 @@ const opDescribeEventBus = "DescribeEventBus"
|
|||
|
||||
// DescribeEventBusRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeEventBus operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeEventBus for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeEventBus method directly
|
||||
// instead.
|
||||
// See DescribeEventBus for more information on using the DescribeEventBus
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeEventBusRequest method.
|
||||
// req, resp := client.DescribeEventBusRequest(params)
|
||||
|
@ -193,19 +191,18 @@ const opDescribeRule = "DescribeRule"
|
|||
|
||||
// DescribeRuleRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeRule operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeRule for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeRule method directly
|
||||
// instead.
|
||||
// See DescribeRule for more information on using the DescribeRule
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeRuleRequest method.
|
||||
// req, resp := client.DescribeRuleRequest(params)
|
||||
|
@ -276,19 +273,18 @@ const opDisableRule = "DisableRule"
|
|||
|
||||
// DisableRuleRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DisableRule operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DisableRule for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DisableRule method directly
|
||||
// instead.
|
||||
// See DisableRule for more information on using the DisableRule
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DisableRuleRequest method.
|
||||
// req, resp := client.DisableRuleRequest(params)
|
||||
|
@ -368,19 +364,18 @@ const opEnableRule = "EnableRule"
|
|||
|
||||
// EnableRuleRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the EnableRule operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See EnableRule for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the EnableRule method directly
|
||||
// instead.
|
||||
// See EnableRule for more information on using the EnableRule
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the EnableRuleRequest method.
|
||||
// req, resp := client.EnableRuleRequest(params)
|
||||
|
@ -460,19 +455,18 @@ const opListRuleNamesByTarget = "ListRuleNamesByTarget"
|
|||
|
||||
// ListRuleNamesByTargetRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListRuleNamesByTarget operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListRuleNamesByTarget for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListRuleNamesByTarget method directly
|
||||
// instead.
|
||||
// See ListRuleNamesByTarget for more information on using the ListRuleNamesByTarget
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListRuleNamesByTargetRequest method.
|
||||
// req, resp := client.ListRuleNamesByTargetRequest(params)
|
||||
|
@ -541,19 +535,18 @@ const opListRules = "ListRules"
|
|||
|
||||
// ListRulesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListRules operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListRules for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListRules method directly
|
||||
// instead.
|
||||
// See ListRules for more information on using the ListRules
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListRulesRequest method.
|
||||
// req, resp := client.ListRulesRequest(params)
|
||||
|
@ -622,19 +615,18 @@ const opListTargetsByRule = "ListTargetsByRule"
|
|||
|
||||
// ListTargetsByRuleRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListTargetsByRule operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListTargetsByRule for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListTargetsByRule method directly
|
||||
// instead.
|
||||
// See ListTargetsByRule for more information on using the ListTargetsByRule
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListTargetsByRuleRequest method.
|
||||
// req, resp := client.ListTargetsByRuleRequest(params)
|
||||
|
@ -705,19 +697,18 @@ const opPutEvents = "PutEvents"
|
|||
|
||||
// PutEventsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the PutEvents operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See PutEvents for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the PutEvents method directly
|
||||
// instead.
|
||||
// See PutEvents for more information on using the PutEvents
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the PutEventsRequest method.
|
||||
// req, resp := client.PutEventsRequest(params)
|
||||
|
@ -786,19 +777,18 @@ const opPutPermission = "PutPermission"
|
|||
|
||||
// PutPermissionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the PutPermission operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See PutPermission for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the PutPermission method directly
|
||||
// instead.
|
||||
// See PutPermission for more information on using the PutPermission
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the PutPermissionRequest method.
|
||||
// req, resp := client.PutPermissionRequest(params)
|
||||
|
@ -840,6 +830,8 @@ func (c *CloudWatchEvents) PutPermissionRequest(input *PutPermissionInput) (req
|
|||
// To enable multiple AWS accounts to put events to your default event bus,
|
||||
// run PutPermission once for each of these accounts.
|
||||
//
|
||||
// The permission policy on the default event bus cannot exceed 10KB in size.
|
||||
//
|
||||
// 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.
|
||||
|
@ -857,6 +849,9 @@ func (c *CloudWatchEvents) PutPermissionRequest(input *PutPermissionInput) (req
|
|||
// * ErrCodeInternalException "InternalException"
|
||||
// This exception occurs due to unexpected causes.
|
||||
//
|
||||
// * ErrCodeConcurrentModificationException "ConcurrentModificationException"
|
||||
// There is concurrent modification on a rule or target.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPermission
|
||||
func (c *CloudWatchEvents) PutPermission(input *PutPermissionInput) (*PutPermissionOutput, error) {
|
||||
req, out := c.PutPermissionRequest(input)
|
||||
|
@ -883,19 +878,18 @@ const opPutRule = "PutRule"
|
|||
|
||||
// PutRuleRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the PutRule operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See PutRule for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the PutRule method directly
|
||||
// instead.
|
||||
// See PutRule for more information on using the PutRule
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the PutRuleRequest method.
|
||||
// req, resp := client.PutRuleRequest(params)
|
||||
|
@ -988,19 +982,18 @@ const opPutTargets = "PutTargets"
|
|||
|
||||
// PutTargetsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the PutTargets operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See PutTargets for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the PutTargets method directly
|
||||
// instead.
|
||||
// See PutTargets for more information on using the PutTargets
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the PutTargetsRequest method.
|
||||
// req, resp := client.PutTargetsRequest(params)
|
||||
|
@ -1048,10 +1041,16 @@ func (c *CloudWatchEvents) PutTargetsRequest(input *PutTargetsInput) (req *reque
|
|||
//
|
||||
// * AWS Step Functions state machines
|
||||
//
|
||||
// * Pipelines in Amazon Code Pipeline
|
||||
//
|
||||
// * Amazon Inspector assessment templates
|
||||
//
|
||||
// * Amazon SNS topics
|
||||
//
|
||||
// * Amazon SQS queues
|
||||
//
|
||||
// * The default event bus of another AWS account
|
||||
//
|
||||
// Note that creating rules with built-in targets is supported only in the AWS
|
||||
// Management Console.
|
||||
//
|
||||
|
@ -1070,10 +1069,16 @@ func (c *CloudWatchEvents) PutTargetsRequest(input *PutTargetsInput) (req *reque
|
|||
// in the Amazon CloudWatch Events User Guide.
|
||||
//
|
||||
// If another AWS account is in the same region and has granted you permission
|
||||
// (using PutPermission), you can set that account's event bus as a target of
|
||||
// the rules in your account. To send the matched events to the other account,
|
||||
// specify that account's event bus as the Arn when you run PutTargets. For
|
||||
// more information about enabling cross-account events, see PutPermission.
|
||||
// (using PutPermission), you can send events to that account by setting that
|
||||
// account's event bus as a target of the rules in your account. To send the
|
||||
// matched events to the other account, specify that account's event bus as
|
||||
// the Arn when you run PutTargets. If your account sends events to another
|
||||
// account, your account is charged for each sent event. Each event sent to
|
||||
// antoher account is charged as a custom event. The account receiving the event
|
||||
// is not charged. For more information on pricing, see Amazon CloudWatch Pricing
|
||||
// (https://aws.amazon.com/cloudwatch/pricing/).
|
||||
//
|
||||
// For more information about enabling cross-account events, see PutPermission.
|
||||
//
|
||||
// Input, InputPath and InputTransformer are mutually exclusive and optional
|
||||
// parameters of a target. When a rule is triggered due to a matched event:
|
||||
|
@ -1152,19 +1157,18 @@ const opRemovePermission = "RemovePermission"
|
|||
|
||||
// RemovePermissionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RemovePermission operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See RemovePermission for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the RemovePermission method directly
|
||||
// instead.
|
||||
// See RemovePermission for more information on using the RemovePermission
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the RemovePermissionRequest method.
|
||||
// req, resp := client.RemovePermissionRequest(params)
|
||||
|
@ -1214,6 +1218,9 @@ func (c *CloudWatchEvents) RemovePermissionRequest(input *RemovePermissionInput)
|
|||
// * ErrCodeInternalException "InternalException"
|
||||
// This exception occurs due to unexpected causes.
|
||||
//
|
||||
// * ErrCodeConcurrentModificationException "ConcurrentModificationException"
|
||||
// There is concurrent modification on a rule or target.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemovePermission
|
||||
func (c *CloudWatchEvents) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error) {
|
||||
req, out := c.RemovePermissionRequest(input)
|
||||
|
@ -1240,19 +1247,18 @@ const opRemoveTargets = "RemoveTargets"
|
|||
|
||||
// RemoveTargetsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RemoveTargets operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See RemoveTargets for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the RemoveTargets method directly
|
||||
// instead.
|
||||
// See RemoveTargets for more information on using the RemoveTargets
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the RemoveTargetsRequest method.
|
||||
// req, resp := client.RemoveTargetsRequest(params)
|
||||
|
@ -1336,19 +1342,18 @@ const opTestEventPattern = "TestEventPattern"
|
|||
|
||||
// TestEventPatternRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the TestEventPattern operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See TestEventPattern for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the TestEventPattern method directly
|
||||
// instead.
|
||||
// See TestEventPattern for more information on using the TestEventPattern
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the TestEventPatternRequest method.
|
||||
// req, resp := client.TestEventPatternRequest(params)
|
||||
|
|
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon CloudWatch Events.
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/doc.go
generated
vendored
|
@ -29,69 +29,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Amazon CloudWatch Events you will first need
|
||||
// to create a new instance of it.
|
||||
// To Amazon CloudWatch Events with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := cloudwatchevents.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon CloudWatch Events client CloudWatchEvents for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/cloudwatchevents/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.DeleteRule(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("DeleteRule result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.DeleteRuleWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package cloudwatchevents
|
||||
|
|
1577
vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/api.go
generated
vendored
1577
vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/api.go
generated
vendored
File diff suppressed because it is too large
Load diff
26
vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/cloudwatchlogsiface/interface.go
generated
vendored
26
vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/cloudwatchlogsiface/interface.go
generated
vendored
|
@ -21,12 +21,12 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon CloudWatch Logs.
|
||||
// func myFunc(svc cloudwatchlogsiface.CloudWatchLogsAPI) bool {
|
||||
// // Make svc.CancelExportTask request
|
||||
// // Make svc.AssociateKmsKey request
|
||||
// }
|
||||
//
|
||||
// func main() {
|
||||
|
@ -42,7 +42,7 @@ import (
|
|||
// type mockCloudWatchLogsClient struct {
|
||||
// cloudwatchlogsiface.CloudWatchLogsAPI
|
||||
// }
|
||||
// func (m *mockCloudWatchLogsClient) CancelExportTask(input *cloudwatchlogs.CancelExportTaskInput) (*cloudwatchlogs.CancelExportTaskOutput, error) {
|
||||
// func (m *mockCloudWatchLogsClient) AssociateKmsKey(input *cloudwatchlogs.AssociateKmsKeyInput) (*cloudwatchlogs.AssociateKmsKeyOutput, error) {
|
||||
// // mock response/functionality
|
||||
// }
|
||||
//
|
||||
|
@ -60,6 +60,10 @@ import (
|
|||
// and waiters. Its suggested to use the pattern above for testing, or using
|
||||
// tooling to generate mocks to satisfy the interfaces.
|
||||
type CloudWatchLogsAPI interface {
|
||||
AssociateKmsKey(*cloudwatchlogs.AssociateKmsKeyInput) (*cloudwatchlogs.AssociateKmsKeyOutput, error)
|
||||
AssociateKmsKeyWithContext(aws.Context, *cloudwatchlogs.AssociateKmsKeyInput, ...request.Option) (*cloudwatchlogs.AssociateKmsKeyOutput, error)
|
||||
AssociateKmsKeyRequest(*cloudwatchlogs.AssociateKmsKeyInput) (*request.Request, *cloudwatchlogs.AssociateKmsKeyOutput)
|
||||
|
||||
CancelExportTask(*cloudwatchlogs.CancelExportTaskInput) (*cloudwatchlogs.CancelExportTaskOutput, error)
|
||||
CancelExportTaskWithContext(aws.Context, *cloudwatchlogs.CancelExportTaskInput, ...request.Option) (*cloudwatchlogs.CancelExportTaskOutput, error)
|
||||
CancelExportTaskRequest(*cloudwatchlogs.CancelExportTaskInput) (*request.Request, *cloudwatchlogs.CancelExportTaskOutput)
|
||||
|
@ -92,6 +96,10 @@ type CloudWatchLogsAPI interface {
|
|||
DeleteMetricFilterWithContext(aws.Context, *cloudwatchlogs.DeleteMetricFilterInput, ...request.Option) (*cloudwatchlogs.DeleteMetricFilterOutput, error)
|
||||
DeleteMetricFilterRequest(*cloudwatchlogs.DeleteMetricFilterInput) (*request.Request, *cloudwatchlogs.DeleteMetricFilterOutput)
|
||||
|
||||
DeleteResourcePolicy(*cloudwatchlogs.DeleteResourcePolicyInput) (*cloudwatchlogs.DeleteResourcePolicyOutput, error)
|
||||
DeleteResourcePolicyWithContext(aws.Context, *cloudwatchlogs.DeleteResourcePolicyInput, ...request.Option) (*cloudwatchlogs.DeleteResourcePolicyOutput, error)
|
||||
DeleteResourcePolicyRequest(*cloudwatchlogs.DeleteResourcePolicyInput) (*request.Request, *cloudwatchlogs.DeleteResourcePolicyOutput)
|
||||
|
||||
DeleteRetentionPolicy(*cloudwatchlogs.DeleteRetentionPolicyInput) (*cloudwatchlogs.DeleteRetentionPolicyOutput, error)
|
||||
DeleteRetentionPolicyWithContext(aws.Context, *cloudwatchlogs.DeleteRetentionPolicyInput, ...request.Option) (*cloudwatchlogs.DeleteRetentionPolicyOutput, error)
|
||||
DeleteRetentionPolicyRequest(*cloudwatchlogs.DeleteRetentionPolicyInput) (*request.Request, *cloudwatchlogs.DeleteRetentionPolicyOutput)
|
||||
|
@ -132,6 +140,10 @@ type CloudWatchLogsAPI interface {
|
|||
DescribeMetricFiltersPages(*cloudwatchlogs.DescribeMetricFiltersInput, func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool) error
|
||||
DescribeMetricFiltersPagesWithContext(aws.Context, *cloudwatchlogs.DescribeMetricFiltersInput, func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeResourcePolicies(*cloudwatchlogs.DescribeResourcePoliciesInput) (*cloudwatchlogs.DescribeResourcePoliciesOutput, error)
|
||||
DescribeResourcePoliciesWithContext(aws.Context, *cloudwatchlogs.DescribeResourcePoliciesInput, ...request.Option) (*cloudwatchlogs.DescribeResourcePoliciesOutput, error)
|
||||
DescribeResourcePoliciesRequest(*cloudwatchlogs.DescribeResourcePoliciesInput) (*request.Request, *cloudwatchlogs.DescribeResourcePoliciesOutput)
|
||||
|
||||
DescribeSubscriptionFilters(*cloudwatchlogs.DescribeSubscriptionFiltersInput) (*cloudwatchlogs.DescribeSubscriptionFiltersOutput, error)
|
||||
DescribeSubscriptionFiltersWithContext(aws.Context, *cloudwatchlogs.DescribeSubscriptionFiltersInput, ...request.Option) (*cloudwatchlogs.DescribeSubscriptionFiltersOutput, error)
|
||||
DescribeSubscriptionFiltersRequest(*cloudwatchlogs.DescribeSubscriptionFiltersInput) (*request.Request, *cloudwatchlogs.DescribeSubscriptionFiltersOutput)
|
||||
|
@ -139,6 +151,10 @@ type CloudWatchLogsAPI interface {
|
|||
DescribeSubscriptionFiltersPages(*cloudwatchlogs.DescribeSubscriptionFiltersInput, func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool) error
|
||||
DescribeSubscriptionFiltersPagesWithContext(aws.Context, *cloudwatchlogs.DescribeSubscriptionFiltersInput, func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DisassociateKmsKey(*cloudwatchlogs.DisassociateKmsKeyInput) (*cloudwatchlogs.DisassociateKmsKeyOutput, error)
|
||||
DisassociateKmsKeyWithContext(aws.Context, *cloudwatchlogs.DisassociateKmsKeyInput, ...request.Option) (*cloudwatchlogs.DisassociateKmsKeyOutput, error)
|
||||
DisassociateKmsKeyRequest(*cloudwatchlogs.DisassociateKmsKeyInput) (*request.Request, *cloudwatchlogs.DisassociateKmsKeyOutput)
|
||||
|
||||
FilterLogEvents(*cloudwatchlogs.FilterLogEventsInput) (*cloudwatchlogs.FilterLogEventsOutput, error)
|
||||
FilterLogEventsWithContext(aws.Context, *cloudwatchlogs.FilterLogEventsInput, ...request.Option) (*cloudwatchlogs.FilterLogEventsOutput, error)
|
||||
FilterLogEventsRequest(*cloudwatchlogs.FilterLogEventsInput) (*request.Request, *cloudwatchlogs.FilterLogEventsOutput)
|
||||
|
@ -173,6 +189,10 @@ type CloudWatchLogsAPI interface {
|
|||
PutMetricFilterWithContext(aws.Context, *cloudwatchlogs.PutMetricFilterInput, ...request.Option) (*cloudwatchlogs.PutMetricFilterOutput, error)
|
||||
PutMetricFilterRequest(*cloudwatchlogs.PutMetricFilterInput) (*request.Request, *cloudwatchlogs.PutMetricFilterOutput)
|
||||
|
||||
PutResourcePolicy(*cloudwatchlogs.PutResourcePolicyInput) (*cloudwatchlogs.PutResourcePolicyOutput, error)
|
||||
PutResourcePolicyWithContext(aws.Context, *cloudwatchlogs.PutResourcePolicyInput, ...request.Option) (*cloudwatchlogs.PutResourcePolicyOutput, error)
|
||||
PutResourcePolicyRequest(*cloudwatchlogs.PutResourcePolicyInput) (*request.Request, *cloudwatchlogs.PutResourcePolicyOutput)
|
||||
|
||||
PutRetentionPolicy(*cloudwatchlogs.PutRetentionPolicyInput) (*cloudwatchlogs.PutRetentionPolicyOutput, error)
|
||||
PutRetentionPolicyWithContext(aws.Context, *cloudwatchlogs.PutRetentionPolicyInput, ...request.Option) (*cloudwatchlogs.PutRetentionPolicyOutput, error)
|
||||
PutRetentionPolicyRequest(*cloudwatchlogs.PutRetentionPolicyInput) (*request.Request, *cloudwatchlogs.PutRetentionPolicyOutput)
|
||||
|
|
86
vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/doc.go
generated
vendored
86
vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/doc.go
generated
vendored
|
@ -4,30 +4,30 @@
|
|||
// requests to Amazon CloudWatch Logs.
|
||||
//
|
||||
// You can use Amazon CloudWatch Logs to monitor, store, and access your log
|
||||
// files from EC2 instances, Amazon CloudTrail, or other sources. You can then
|
||||
// retrieve the associated log data from CloudWatch Logs using the Amazon CloudWatch
|
||||
// console, the CloudWatch Logs commands in the AWS CLI, the CloudWatch Logs
|
||||
// API, or the CloudWatch Logs SDK.
|
||||
// files from Amazon EC2 instances, AWS CloudTrail, or other sources. You can
|
||||
// then retrieve the associated log data from CloudWatch Logs using the CloudWatch
|
||||
// console, CloudWatch Logs commands in the AWS CLI, CloudWatch Logs API, or
|
||||
// CloudWatch Logs SDK.
|
||||
//
|
||||
// You can use CloudWatch Logs to:
|
||||
//
|
||||
// * Monitor Logs from Amazon EC2 Instances in Real-time: You can use CloudWatch
|
||||
// * Monitor logs from EC2 instances in real-time: You can use CloudWatch
|
||||
// Logs to monitor applications and systems using log data. For example,
|
||||
// CloudWatch Logs can track the number of errors that occur in your application
|
||||
// logs and send you a notification whenever the rate of errors exceeds a
|
||||
// threshold you specify. CloudWatch Logs uses your log data for monitoring;
|
||||
// threshold that you specify. CloudWatch Logs uses your log data for monitoring;
|
||||
// so, no code changes are required. For example, you can monitor application
|
||||
// logs for specific literal terms (such as "NullReferenceException") or
|
||||
// count the number of occurrences of a literal term at a particular position
|
||||
// in log data (such as "404" status codes in an Apache access log). When
|
||||
// the term you are searching for is found, CloudWatch Logs reports the data
|
||||
// to a Amazon CloudWatch metric that you specify.
|
||||
// to a CloudWatch metric that you specify.
|
||||
//
|
||||
// * Monitor Amazon CloudTrail Logged Events: You can create alarms in Amazon
|
||||
// CloudWatch and receive notifications of particular API activity as captured
|
||||
// by CloudTrail and use the notification to perform troubleshooting.
|
||||
// * Monitor AWS CloudTrail logged events: You can create alarms in CloudWatch
|
||||
// and receive notifications of particular API activity as captured by CloudTrail
|
||||
// and use the notification to perform troubleshooting.
|
||||
//
|
||||
// * Archive Log Data: You can use CloudWatch Logs to store your log data
|
||||
// * Archive log data: You can use CloudWatch Logs to store your log data
|
||||
// in highly durable storage. You can change the log retention setting so
|
||||
// that any log events older than this setting are automatically deleted.
|
||||
// The CloudWatch Logs agent makes it easy to quickly send both rotated and
|
||||
|
@ -41,69 +41,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Amazon CloudWatch Logs you will first need
|
||||
// to create a new instance of it.
|
||||
// To Amazon CloudWatch Logs with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := cloudwatchlogs.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon CloudWatch Logs client CloudWatchLogs for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/cloudwatchlogs/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.CancelExportTask(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("CancelExportTask result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.CancelExportTaskWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package cloudwatchlogs
|
||||
|
|
807
vendor/github.com/aws/aws-sdk-go/service/codebuild/api.go
generated
vendored
807
vendor/github.com/aws/aws-sdk-go/service/codebuild/api.go
generated
vendored
File diff suppressed because it is too large
Load diff
18
vendor/github.com/aws/aws-sdk-go/service/codebuild/codebuildiface/interface.go
generated
vendored
18
vendor/github.com/aws/aws-sdk-go/service/codebuild/codebuildiface/interface.go
generated
vendored
|
@ -21,12 +21,12 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS CodeBuild.
|
||||
// func myFunc(svc codebuildiface.CodeBuildAPI) bool {
|
||||
// // Make svc.BatchGetBuilds request
|
||||
// // Make svc.BatchDeleteBuilds request
|
||||
// }
|
||||
//
|
||||
// func main() {
|
||||
|
@ -42,7 +42,7 @@ import (
|
|||
// type mockCodeBuildClient struct {
|
||||
// codebuildiface.CodeBuildAPI
|
||||
// }
|
||||
// func (m *mockCodeBuildClient) BatchGetBuilds(input *codebuild.BatchGetBuildsInput) (*codebuild.BatchGetBuildsOutput, error) {
|
||||
// func (m *mockCodeBuildClient) BatchDeleteBuilds(input *codebuild.BatchDeleteBuildsInput) (*codebuild.BatchDeleteBuildsOutput, error) {
|
||||
// // mock response/functionality
|
||||
// }
|
||||
//
|
||||
|
@ -60,6 +60,10 @@ import (
|
|||
// and waiters. Its suggested to use the pattern above for testing, or using
|
||||
// tooling to generate mocks to satisfy the interfaces.
|
||||
type CodeBuildAPI interface {
|
||||
BatchDeleteBuilds(*codebuild.BatchDeleteBuildsInput) (*codebuild.BatchDeleteBuildsOutput, error)
|
||||
BatchDeleteBuildsWithContext(aws.Context, *codebuild.BatchDeleteBuildsInput, ...request.Option) (*codebuild.BatchDeleteBuildsOutput, error)
|
||||
BatchDeleteBuildsRequest(*codebuild.BatchDeleteBuildsInput) (*request.Request, *codebuild.BatchDeleteBuildsOutput)
|
||||
|
||||
BatchGetBuilds(*codebuild.BatchGetBuildsInput) (*codebuild.BatchGetBuildsOutput, error)
|
||||
BatchGetBuildsWithContext(aws.Context, *codebuild.BatchGetBuildsInput, ...request.Option) (*codebuild.BatchGetBuildsOutput, error)
|
||||
BatchGetBuildsRequest(*codebuild.BatchGetBuildsInput) (*request.Request, *codebuild.BatchGetBuildsOutput)
|
||||
|
@ -72,10 +76,18 @@ type CodeBuildAPI interface {
|
|||
CreateProjectWithContext(aws.Context, *codebuild.CreateProjectInput, ...request.Option) (*codebuild.CreateProjectOutput, error)
|
||||
CreateProjectRequest(*codebuild.CreateProjectInput) (*request.Request, *codebuild.CreateProjectOutput)
|
||||
|
||||
CreateWebhook(*codebuild.CreateWebhookInput) (*codebuild.CreateWebhookOutput, error)
|
||||
CreateWebhookWithContext(aws.Context, *codebuild.CreateWebhookInput, ...request.Option) (*codebuild.CreateWebhookOutput, error)
|
||||
CreateWebhookRequest(*codebuild.CreateWebhookInput) (*request.Request, *codebuild.CreateWebhookOutput)
|
||||
|
||||
DeleteProject(*codebuild.DeleteProjectInput) (*codebuild.DeleteProjectOutput, error)
|
||||
DeleteProjectWithContext(aws.Context, *codebuild.DeleteProjectInput, ...request.Option) (*codebuild.DeleteProjectOutput, error)
|
||||
DeleteProjectRequest(*codebuild.DeleteProjectInput) (*request.Request, *codebuild.DeleteProjectOutput)
|
||||
|
||||
DeleteWebhook(*codebuild.DeleteWebhookInput) (*codebuild.DeleteWebhookOutput, error)
|
||||
DeleteWebhookWithContext(aws.Context, *codebuild.DeleteWebhookInput, ...request.Option) (*codebuild.DeleteWebhookOutput, error)
|
||||
DeleteWebhookRequest(*codebuild.DeleteWebhookInput) (*request.Request, *codebuild.DeleteWebhookOutput)
|
||||
|
||||
ListBuilds(*codebuild.ListBuildsInput) (*codebuild.ListBuildsOutput, error)
|
||||
ListBuildsWithContext(aws.Context, *codebuild.ListBuildsInput, ...request.Option) (*codebuild.ListBuildsOutput, error)
|
||||
ListBuildsRequest(*codebuild.ListBuildsInput) (*request.Request, *codebuild.ListBuildsOutput)
|
||||
|
|
78
vendor/github.com/aws/aws-sdk-go/service/codebuild/doc.go
generated
vendored
78
vendor/github.com/aws/aws-sdk-go/service/codebuild/doc.go
generated
vendored
|
@ -7,7 +7,7 @@
|
|||
// compiles your source code, runs unit tests, and produces artifacts that are
|
||||
// ready to deploy. AWS CodeBuild eliminates the need to provision, manage,
|
||||
// and scale your own build servers. It provides prepackaged build environments
|
||||
// for the most popular programming languages and build tools, such as Apach
|
||||
// for the most popular programming languages and build tools, such as Apache
|
||||
// Maven, Gradle, and more. You can also fully customize build environments
|
||||
// in AWS CodeBuild to use your own build tools. AWS CodeBuild scales automatically
|
||||
// to meet peak build requests, and you pay only for the build time you consume.
|
||||
|
@ -15,6 +15,8 @@
|
|||
//
|
||||
// AWS CodeBuild supports these operations:
|
||||
//
|
||||
// * BatchDeleteBuilds: Deletes one or more builds.
|
||||
//
|
||||
// * BatchGetProjects: Gets information about one or more build projects.
|
||||
// A build project defines how AWS CodeBuild will run a build. This includes
|
||||
// information such as where to get the source code to build, the build environment
|
||||
|
@ -26,8 +28,18 @@
|
|||
//
|
||||
// * CreateProject: Creates a build project.
|
||||
//
|
||||
// * CreateWebhook: For an existing AWS CodeBuild build project that has
|
||||
// its source code stored in a GitHub repository, enables AWS CodeBuild to
|
||||
// begin automatically rebuilding the source code every time a code change
|
||||
// is pushed to the repository.
|
||||
//
|
||||
// * DeleteProject: Deletes a build project.
|
||||
//
|
||||
// * DeleteWebhook: For an existing AWS CodeBuild build project that has
|
||||
// its source code stored in a GitHub repository, stops AWS CodeBuild from
|
||||
// automatically rebuilding the source code every time a code change is pushed
|
||||
// to the repository.
|
||||
//
|
||||
// * ListProjects: Gets a list of build project names, with each build project
|
||||
// name representing a single build project.
|
||||
//
|
||||
|
@ -55,69 +67,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for AWS CodeBuild you will first need
|
||||
// to create a new instance of it.
|
||||
// To AWS CodeBuild with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := codebuild.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the AWS CodeBuild client CodeBuild for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/codebuild/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.BatchGetBuilds(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("BatchGetBuilds result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.BatchGetBuildsWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package codebuild
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/codebuild/errors.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/codebuild/errors.go
generated
vendored
|
@ -16,6 +16,12 @@ const (
|
|||
// The input value that was provided is not valid.
|
||||
ErrCodeInvalidInputException = "InvalidInputException"
|
||||
|
||||
// ErrCodeOAuthProviderException for service response error code
|
||||
// "OAuthProviderException".
|
||||
//
|
||||
// There was a problem with the underlying OAuth provider.
|
||||
ErrCodeOAuthProviderException = "OAuthProviderException"
|
||||
|
||||
// ErrCodeResourceAlreadyExistsException for service response error code
|
||||
// "ResourceAlreadyExistsException".
|
||||
//
|
||||
|
|
58
vendor/github.com/aws/aws-sdk-go/service/codebuild/examples_test.go
generated
vendored
Normal file
58
vendor/github.com/aws/aws-sdk-go/service/codebuild/examples_test.go
generated
vendored
Normal file
|
@ -0,0 +1,58 @@
|
|||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package codebuild_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||
"github.com/aws/aws-sdk-go/aws/session"
|
||||
"github.com/aws/aws-sdk-go/service/codebuild"
|
||||
)
|
||||
|
||||
var _ time.Duration
|
||||
var _ strings.Reader
|
||||
var _ aws.Config
|
||||
|
||||
func parseTime(layout, value string) *time.Time {
|
||||
t, err := time.Parse(layout, value)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
return &t
|
||||
}
|
||||
|
||||
// To get information about builds
|
||||
//
|
||||
// The following example gets information about builds with the specified build IDs.
|
||||
func ExampleCodeBuild_BatchGetBuilds_shared00() {
|
||||
svc := codebuild.New(session.New())
|
||||
input := &codebuild.BatchGetBuildsInput{
|
||||
Ids: []*string{
|
||||
aws.String("codebuild-demo-project:9b0ac37f-d19e-4254-9079-f47e9a389eEX"),
|
||||
aws.String("codebuild-demo-project:b79a46f7-1473-4636-a23f-da9c45c208EX"),
|
||||
},
|
||||
}
|
||||
|
||||
result, err := svc.BatchGetBuilds(input)
|
||||
if err != nil {
|
||||
if aerr, ok := err.(awserr.Error); ok {
|
||||
switch aerr.Code() {
|
||||
case codebuild.ErrCodeInvalidInputException:
|
||||
fmt.Println(codebuild.ErrCodeInvalidInputException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
} else {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Println(result)
|
||||
}
|
323
vendor/github.com/aws/aws-sdk-go/service/codecommit/api.go
generated
vendored
323
vendor/github.com/aws/aws-sdk-go/service/codecommit/api.go
generated
vendored
|
@ -17,19 +17,18 @@ const opBatchGetRepositories = "BatchGetRepositories"
|
|||
|
||||
// BatchGetRepositoriesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the BatchGetRepositories operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See BatchGetRepositories for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the BatchGetRepositories method directly
|
||||
// instead.
|
||||
// See BatchGetRepositories for more information on using the BatchGetRepositories
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the BatchGetRepositoriesRequest method.
|
||||
// req, resp := client.BatchGetRepositoriesRequest(params)
|
||||
|
@ -129,19 +128,18 @@ const opCreateBranch = "CreateBranch"
|
|||
|
||||
// CreateBranchRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateBranch operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateBranch for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateBranch method directly
|
||||
// instead.
|
||||
// See CreateBranch for more information on using the CreateBranch
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateBranchRequest method.
|
||||
// req, resp := client.CreateBranchRequest(params)
|
||||
|
@ -258,19 +256,18 @@ const opCreateRepository = "CreateRepository"
|
|||
|
||||
// CreateRepositoryRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateRepository operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateRepository for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateRepository method directly
|
||||
// instead.
|
||||
// See CreateRepository for more information on using the CreateRepository
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateRepositoryRequest method.
|
||||
// req, resp := client.CreateRepositoryRequest(params)
|
||||
|
@ -369,19 +366,18 @@ const opDeleteRepository = "DeleteRepository"
|
|||
|
||||
// DeleteRepositoryRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteRepository operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteRepository for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteRepository method directly
|
||||
// instead.
|
||||
// See DeleteRepository for more information on using the DeleteRepository
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteRepositoryRequest method.
|
||||
// req, resp := client.DeleteRepositoryRequest(params)
|
||||
|
@ -476,19 +472,18 @@ const opGetBlob = "GetBlob"
|
|||
|
||||
// GetBlobRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetBlob operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetBlob for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetBlob method directly
|
||||
// instead.
|
||||
// See GetBlob for more information on using the GetBlob
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetBlobRequest method.
|
||||
// req, resp := client.GetBlobRequest(params)
|
||||
|
@ -595,19 +590,18 @@ const opGetBranch = "GetBranch"
|
|||
|
||||
// GetBranchRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetBranch operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetBranch for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetBranch method directly
|
||||
// instead.
|
||||
// See GetBranch for more information on using the GetBranch
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetBranchRequest method.
|
||||
// req, resp := client.GetBranchRequest(params)
|
||||
|
@ -710,19 +704,18 @@ const opGetCommit = "GetCommit"
|
|||
|
||||
// GetCommitRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetCommit operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetCommit for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetCommit method directly
|
||||
// instead.
|
||||
// See GetCommit for more information on using the GetCommit
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetCommitRequest method.
|
||||
// req, resp := client.GetCommitRequest(params)
|
||||
|
@ -825,19 +818,18 @@ const opGetDifferences = "GetDifferences"
|
|||
|
||||
// GetDifferencesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetDifferences operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetDifferences for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetDifferences method directly
|
||||
// instead.
|
||||
// See GetDifferences for more information on using the GetDifferences
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetDifferencesRequest method.
|
||||
// req, resp := client.GetDifferencesRequest(params)
|
||||
|
@ -1013,19 +1005,18 @@ const opGetRepository = "GetRepository"
|
|||
|
||||
// GetRepositoryRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetRepository operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetRepository for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetRepository method directly
|
||||
// instead.
|
||||
// See GetRepository for more information on using the GetRepository
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetRepositoryRequest method.
|
||||
// req, resp := client.GetRepositoryRequest(params)
|
||||
|
@ -1124,19 +1115,18 @@ const opGetRepositoryTriggers = "GetRepositoryTriggers"
|
|||
|
||||
// GetRepositoryTriggersRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetRepositoryTriggers operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetRepositoryTriggers for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetRepositoryTriggers method directly
|
||||
// instead.
|
||||
// See GetRepositoryTriggers for more information on using the GetRepositoryTriggers
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetRepositoryTriggersRequest method.
|
||||
// req, resp := client.GetRepositoryTriggersRequest(params)
|
||||
|
@ -1229,19 +1219,18 @@ const opListBranches = "ListBranches"
|
|||
|
||||
// ListBranchesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListBranches operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListBranches for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListBranches method directly
|
||||
// instead.
|
||||
// See ListBranches for more information on using the ListBranches
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListBranchesRequest method.
|
||||
// req, resp := client.ListBranchesRequest(params)
|
||||
|
@ -1393,19 +1382,18 @@ const opListRepositories = "ListRepositories"
|
|||
|
||||
// ListRepositoriesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListRepositories operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListRepositories for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListRepositories method directly
|
||||
// instead.
|
||||
// See ListRepositories for more information on using the ListRepositories
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListRepositoriesRequest method.
|
||||
// req, resp := client.ListRepositoriesRequest(params)
|
||||
|
@ -1535,19 +1523,18 @@ const opPutRepositoryTriggers = "PutRepositoryTriggers"
|
|||
|
||||
// PutRepositoryTriggersRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the PutRepositoryTriggers operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See PutRepositoryTriggers for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the PutRepositoryTriggers method directly
|
||||
// instead.
|
||||
// See PutRepositoryTriggers for more information on using the PutRepositoryTriggers
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the PutRepositoryTriggersRequest method.
|
||||
// req, resp := client.PutRepositoryTriggersRequest(params)
|
||||
|
@ -1686,19 +1673,18 @@ const opTestRepositoryTriggers = "TestRepositoryTriggers"
|
|||
|
||||
// TestRepositoryTriggersRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the TestRepositoryTriggers operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See TestRepositoryTriggers for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the TestRepositoryTriggers method directly
|
||||
// instead.
|
||||
// See TestRepositoryTriggers for more information on using the TestRepositoryTriggers
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the TestRepositoryTriggersRequest method.
|
||||
// req, resp := client.TestRepositoryTriggersRequest(params)
|
||||
|
@ -1839,19 +1825,18 @@ const opUpdateDefaultBranch = "UpdateDefaultBranch"
|
|||
|
||||
// UpdateDefaultBranchRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateDefaultBranch operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateDefaultBranch for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateDefaultBranch method directly
|
||||
// instead.
|
||||
// See UpdateDefaultBranch for more information on using the UpdateDefaultBranch
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateDefaultBranchRequest method.
|
||||
// req, resp := client.UpdateDefaultBranchRequest(params)
|
||||
|
@ -1959,19 +1944,18 @@ const opUpdateRepositoryDescription = "UpdateRepositoryDescription"
|
|||
|
||||
// UpdateRepositoryDescriptionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateRepositoryDescription operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateRepositoryDescription for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateRepositoryDescription method directly
|
||||
// instead.
|
||||
// See UpdateRepositoryDescription for more information on using the UpdateRepositoryDescription
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateRepositoryDescriptionRequest method.
|
||||
// req, resp := client.UpdateRepositoryDescriptionRequest(params)
|
||||
|
@ -2075,19 +2059,18 @@ const opUpdateRepositoryName = "UpdateRepositoryName"
|
|||
|
||||
// UpdateRepositoryNameRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateRepositoryName operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateRepositoryName for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateRepositoryName method directly
|
||||
// instead.
|
||||
// See UpdateRepositoryName for more information on using the UpdateRepositoryName
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateRepositoryNameRequest method.
|
||||
// req, resp := client.UpdateRepositoryNameRequest(params)
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/service/codecommit/codecommitiface/interface.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/codecommit/codecommitiface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS CodeCommit.
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/codecommit/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/codecommit/doc.go
generated
vendored
|
@ -73,69 +73,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for AWS CodeCommit you will first need
|
||||
// to create a new instance of it.
|
||||
// To AWS CodeCommit with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := codecommit.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the AWS CodeCommit client CodeCommit for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/codecommit/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.BatchGetRepositories(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("BatchGetRepositories result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.BatchGetRepositoriesWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package codecommit
|
||||
|
|
951
vendor/github.com/aws/aws-sdk-go/service/codedeploy/api.go
generated
vendored
951
vendor/github.com/aws/aws-sdk-go/service/codedeploy/api.go
generated
vendored
File diff suppressed because it is too large
Load diff
2
vendor/github.com/aws/aws-sdk-go/service/codedeploy/codedeployiface/interface.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/codedeploy/codedeployiface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS CodeDeploy.
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/codedeploy/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/codedeploy/doc.go
generated
vendored
|
@ -65,69 +65,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for AWS CodeDeploy you will first need
|
||||
// to create a new instance of it.
|
||||
// To AWS CodeDeploy with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := codedeploy.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the AWS CodeDeploy client CodeDeploy for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/codedeploy/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.AddTagsToOnPremisesInstances(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("AddTagsToOnPremisesInstances result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.AddTagsToOnPremisesInstancesWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package codedeploy
|
||||
|
|
21
vendor/github.com/aws/aws-sdk-go/service/codedeploy/errors.go
generated
vendored
21
vendor/github.com/aws/aws-sdk-go/service/codedeploy/errors.go
generated
vendored
|
@ -305,6 +305,13 @@ const (
|
|||
// and "WITHOUT_TRAFFIC_CONTROL".
|
||||
ErrCodeInvalidDeploymentStyleException = "InvalidDeploymentStyleException"
|
||||
|
||||
// ErrCodeInvalidEC2TagCombinationException for service response error code
|
||||
// "InvalidEC2TagCombinationException".
|
||||
//
|
||||
// A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but
|
||||
// only one of these data types can be used in a single call.
|
||||
ErrCodeInvalidEC2TagCombinationException = "InvalidEC2TagCombinationException"
|
||||
|
||||
// ErrCodeInvalidEC2TagException for service response error code
|
||||
// "InvalidEC2TagException".
|
||||
//
|
||||
|
@ -376,6 +383,13 @@ const (
|
|||
// The next token was specified in an invalid format.
|
||||
ErrCodeInvalidNextTokenException = "InvalidNextTokenException"
|
||||
|
||||
// ErrCodeInvalidOnPremisesTagCombinationException for service response error code
|
||||
// "InvalidOnPremisesTagCombinationException".
|
||||
//
|
||||
// A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet,
|
||||
// but only one of these data types can be used in a single call.
|
||||
ErrCodeInvalidOnPremisesTagCombinationException = "InvalidOnPremisesTagCombinationException"
|
||||
|
||||
// ErrCodeInvalidOperationException for service response error code
|
||||
// "InvalidOperationException".
|
||||
//
|
||||
|
@ -503,6 +517,13 @@ const (
|
|||
// A tag was not specified.
|
||||
ErrCodeTagRequiredException = "TagRequiredException"
|
||||
|
||||
// ErrCodeTagSetListLimitExceededException for service response error code
|
||||
// "TagSetListLimitExceededException".
|
||||
//
|
||||
// The number of tag groups included in the tag set list exceeded the maximum
|
||||
// allowed limit of 3.
|
||||
ErrCodeTagSetListLimitExceededException = "TagSetListLimitExceededException"
|
||||
|
||||
// ErrCodeTriggerTargetsLimitExceededException for service response error code
|
||||
// "TriggerTargetsLimitExceededException".
|
||||
//
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/service/codedeploy/waiters.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/codedeploy/waiters.go
generated
vendored
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
// 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
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *CodeDeploy) WaitUntilDeploymentSuccessful(input *GetDeploymentInput) error {
|
||||
return c.WaitUntilDeploymentSuccessfulWithContext(aws.BackgroundContext(), input)
|
||||
|
|
749
vendor/github.com/aws/aws-sdk-go/service/codepipeline/api.go
generated
vendored
749
vendor/github.com/aws/aws-sdk-go/service/codepipeline/api.go
generated
vendored
File diff suppressed because it is too large
Load diff
2
vendor/github.com/aws/aws-sdk-go/service/codepipeline/codepipelineiface/interface.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/codepipeline/codepipelineiface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS CodePipeline.
|
||||
|
|
70
vendor/github.com/aws/aws-sdk-go/service/codepipeline/doc.go
generated
vendored
70
vendor/github.com/aws/aws-sdk-go/service/codepipeline/doc.go
generated
vendored
|
@ -22,7 +22,8 @@
|
|||
//
|
||||
// * DeletePipeline, which deletes the specified pipeline.
|
||||
//
|
||||
// * GetPipeline, which returns information about a pipeline structure.
|
||||
// * GetPipeline, which returns information about the pipeline structure
|
||||
// and pipeline metadata, including the pipeline Amazon Resource Name (ARN).
|
||||
//
|
||||
// * GetPipelineExecution, which returns information about a specific execution
|
||||
// of a pipeline.
|
||||
|
@ -33,6 +34,9 @@
|
|||
// * ListPipelines, which gets a summary of all of the pipelines associated
|
||||
// with your account.
|
||||
//
|
||||
// * ListPipelineExecutions, which gets a summary of the most recent executions
|
||||
// for a pipeline.
|
||||
//
|
||||
// * StartPipelineExecution, which runs the the most recent revision of an
|
||||
// artifact through the pipeline.
|
||||
//
|
||||
|
@ -120,69 +124,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for AWS CodePipeline you will first need
|
||||
// to create a new instance of it.
|
||||
// To AWS CodePipeline with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := codepipeline.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the AWS CodePipeline client CodePipeline for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/codepipeline/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.AcknowledgeJob(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("AcknowledgeJob result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.AcknowledgeJobWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package codepipeline
|
||||
|
|
804
vendor/github.com/aws/aws-sdk-go/service/codestar/api.go
generated
vendored
804
vendor/github.com/aws/aws-sdk-go/service/codestar/api.go
generated
vendored
|
@ -14,19 +14,18 @@ const opAssociateTeamMember = "AssociateTeamMember"
|
|||
|
||||
// AssociateTeamMemberRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the AssociateTeamMember operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See AssociateTeamMember for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the AssociateTeamMember method directly
|
||||
// instead.
|
||||
// See AssociateTeamMember for more information on using the AssociateTeamMember
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the AssociateTeamMemberRequest method.
|
||||
// req, resp := client.AssociateTeamMemberRequest(params)
|
||||
|
@ -113,19 +112,18 @@ const opCreateProject = "CreateProject"
|
|||
|
||||
// CreateProjectRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateProject operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateProject for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateProject method directly
|
||||
// instead.
|
||||
// See CreateProject for more information on using the CreateProject
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateProjectRequest method.
|
||||
// req, resp := client.CreateProjectRequest(params)
|
||||
|
@ -216,19 +214,18 @@ const opCreateUserProfile = "CreateUserProfile"
|
|||
|
||||
// CreateUserProfileRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateUserProfile operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateUserProfile for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateUserProfile method directly
|
||||
// instead.
|
||||
// See CreateUserProfile for more information on using the CreateUserProfile
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateUserProfileRequest method.
|
||||
// req, resp := client.CreateUserProfileRequest(params)
|
||||
|
@ -305,19 +302,18 @@ const opDeleteProject = "DeleteProject"
|
|||
|
||||
// DeleteProjectRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteProject operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteProject for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteProject method directly
|
||||
// instead.
|
||||
// See DeleteProject for more information on using the DeleteProject
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteProjectRequest method.
|
||||
// req, resp := client.DeleteProjectRequest(params)
|
||||
|
@ -394,19 +390,18 @@ const opDeleteUserProfile = "DeleteUserProfile"
|
|||
|
||||
// DeleteUserProfileRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteUserProfile operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteUserProfile for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteUserProfile method directly
|
||||
// instead.
|
||||
// See DeleteUserProfile for more information on using the DeleteUserProfile
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteUserProfileRequest method.
|
||||
// req, resp := client.DeleteUserProfileRequest(params)
|
||||
|
@ -477,19 +472,18 @@ const opDescribeProject = "DescribeProject"
|
|||
|
||||
// DescribeProjectRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeProject operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeProject for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeProject method directly
|
||||
// instead.
|
||||
// See DescribeProject for more information on using the DescribeProject
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeProjectRequest method.
|
||||
// req, resp := client.DescribeProjectRequest(params)
|
||||
|
@ -570,19 +564,18 @@ const opDescribeUserProfile = "DescribeUserProfile"
|
|||
|
||||
// DescribeUserProfileRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeUserProfile operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeUserProfile for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeUserProfile method directly
|
||||
// instead.
|
||||
// See DescribeUserProfile for more information on using the DescribeUserProfile
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeUserProfileRequest method.
|
||||
// req, resp := client.DescribeUserProfileRequest(params)
|
||||
|
@ -653,19 +646,18 @@ const opDisassociateTeamMember = "DisassociateTeamMember"
|
|||
|
||||
// DisassociateTeamMemberRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DisassociateTeamMember operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DisassociateTeamMember for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DisassociateTeamMember method directly
|
||||
// instead.
|
||||
// See DisassociateTeamMember for more information on using the DisassociateTeamMember
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DisassociateTeamMemberRequest method.
|
||||
// req, resp := client.DisassociateTeamMemberRequest(params)
|
||||
|
@ -746,19 +738,18 @@ const opListProjects = "ListProjects"
|
|||
|
||||
// ListProjectsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListProjects operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListProjects for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListProjects method directly
|
||||
// instead.
|
||||
// See ListProjects for more information on using the ListProjects
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListProjectsRequest method.
|
||||
// req, resp := client.ListProjectsRequest(params)
|
||||
|
@ -829,19 +820,18 @@ const opListResources = "ListResources"
|
|||
|
||||
// ListResourcesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListResources operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListResources for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListResources method directly
|
||||
// instead.
|
||||
// See ListResources for more information on using the ListResources
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListResourcesRequest method.
|
||||
// req, resp := client.ListResourcesRequest(params)
|
||||
|
@ -911,23 +901,107 @@ func (c *CodeStar) ListResourcesWithContext(ctx aws.Context, input *ListResource
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opListTagsForProject = "ListTagsForProject"
|
||||
|
||||
// ListTagsForProjectRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListTagsForProject operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// See ListTagsForProject for more information on using the ListTagsForProject
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
//
|
||||
// // Example sending a request using the ListTagsForProjectRequest method.
|
||||
// req, resp := client.ListTagsForProjectRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProject
|
||||
func (c *CodeStar) ListTagsForProjectRequest(input *ListTagsForProjectInput) (req *request.Request, output *ListTagsForProjectOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListTagsForProject,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &ListTagsForProjectInput{}
|
||||
}
|
||||
|
||||
output = &ListTagsForProjectOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
return
|
||||
}
|
||||
|
||||
// ListTagsForProject API operation for AWS CodeStar.
|
||||
//
|
||||
// Gets the tags for a project.
|
||||
//
|
||||
// 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 CodeStar's
|
||||
// API operation ListTagsForProject for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeProjectNotFoundException "ProjectNotFoundException"
|
||||
// The specified AWS CodeStar project was not found.
|
||||
//
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// The specified input is either not valid, or it could not be validated.
|
||||
//
|
||||
// * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
|
||||
// The next token is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProject
|
||||
func (c *CodeStar) ListTagsForProject(input *ListTagsForProjectInput) (*ListTagsForProjectOutput, error) {
|
||||
req, out := c.ListTagsForProjectRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// ListTagsForProjectWithContext is the same as ListTagsForProject with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See ListTagsForProject for details on how to use this API operation.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *CodeStar) ListTagsForProjectWithContext(ctx aws.Context, input *ListTagsForProjectInput, opts ...request.Option) (*ListTagsForProjectOutput, error) {
|
||||
req, out := c.ListTagsForProjectRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opListTeamMembers = "ListTeamMembers"
|
||||
|
||||
// ListTeamMembersRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListTeamMembers operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListTeamMembers for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListTeamMembers method directly
|
||||
// instead.
|
||||
// See ListTeamMembers for more information on using the ListTeamMembers
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListTeamMembersRequest method.
|
||||
// req, resp := client.ListTeamMembersRequest(params)
|
||||
|
@ -1001,19 +1075,18 @@ const opListUserProfiles = "ListUserProfiles"
|
|||
|
||||
// ListUserProfilesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListUserProfiles operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListUserProfiles for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListUserProfiles method directly
|
||||
// instead.
|
||||
// See ListUserProfiles for more information on using the ListUserProfiles
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListUserProfilesRequest method.
|
||||
// req, resp := client.ListUserProfilesRequest(params)
|
||||
|
@ -1080,23 +1153,200 @@ func (c *CodeStar) ListUserProfilesWithContext(ctx aws.Context, input *ListUserP
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opTagProject = "TagProject"
|
||||
|
||||
// TagProjectRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the TagProject operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// See TagProject for more information on using the TagProject
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
//
|
||||
// // Example sending a request using the TagProjectRequest method.
|
||||
// req, resp := client.TagProjectRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProject
|
||||
func (c *CodeStar) TagProjectRequest(input *TagProjectInput) (req *request.Request, output *TagProjectOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opTagProject,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &TagProjectInput{}
|
||||
}
|
||||
|
||||
output = &TagProjectOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
return
|
||||
}
|
||||
|
||||
// TagProject API operation for AWS CodeStar.
|
||||
//
|
||||
// Adds tags to a project.
|
||||
//
|
||||
// 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 CodeStar's
|
||||
// API operation TagProject for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeProjectNotFoundException "ProjectNotFoundException"
|
||||
// The specified AWS CodeStar project was not found.
|
||||
//
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// The specified input is either not valid, or it could not be validated.
|
||||
//
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// A resource limit has been exceeded.
|
||||
//
|
||||
// * ErrCodeConcurrentModificationException "ConcurrentModificationException"
|
||||
// Another modification is being made. That modification must complete before
|
||||
// you can make your change.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProject
|
||||
func (c *CodeStar) TagProject(input *TagProjectInput) (*TagProjectOutput, error) {
|
||||
req, out := c.TagProjectRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// TagProjectWithContext is the same as TagProject with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See TagProject for details on how to use this API operation.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *CodeStar) TagProjectWithContext(ctx aws.Context, input *TagProjectInput, opts ...request.Option) (*TagProjectOutput, error) {
|
||||
req, out := c.TagProjectRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opUntagProject = "UntagProject"
|
||||
|
||||
// UntagProjectRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UntagProject operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// See UntagProject for more information on using the UntagProject
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
//
|
||||
// // Example sending a request using the UntagProjectRequest method.
|
||||
// req, resp := client.UntagProjectRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProject
|
||||
func (c *CodeStar) UntagProjectRequest(input *UntagProjectInput) (req *request.Request, output *UntagProjectOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUntagProject,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &UntagProjectInput{}
|
||||
}
|
||||
|
||||
output = &UntagProjectOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
return
|
||||
}
|
||||
|
||||
// UntagProject API operation for AWS CodeStar.
|
||||
//
|
||||
// Removes tags from a project.
|
||||
//
|
||||
// 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 CodeStar's
|
||||
// API operation UntagProject for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeProjectNotFoundException "ProjectNotFoundException"
|
||||
// The specified AWS CodeStar project was not found.
|
||||
//
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// The specified input is either not valid, or it could not be validated.
|
||||
//
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// A resource limit has been exceeded.
|
||||
//
|
||||
// * ErrCodeConcurrentModificationException "ConcurrentModificationException"
|
||||
// Another modification is being made. That modification must complete before
|
||||
// you can make your change.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProject
|
||||
func (c *CodeStar) UntagProject(input *UntagProjectInput) (*UntagProjectOutput, error) {
|
||||
req, out := c.UntagProjectRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// UntagProjectWithContext is the same as UntagProject with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See UntagProject for details on how to use this API operation.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *CodeStar) UntagProjectWithContext(ctx aws.Context, input *UntagProjectInput, opts ...request.Option) (*UntagProjectOutput, error) {
|
||||
req, out := c.UntagProjectRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opUpdateProject = "UpdateProject"
|
||||
|
||||
// UpdateProjectRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateProject operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateProject for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateProject method directly
|
||||
// instead.
|
||||
// See UpdateProject for more information on using the UpdateProject
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateProjectRequest method.
|
||||
// req, resp := client.UpdateProjectRequest(params)
|
||||
|
@ -1167,19 +1417,18 @@ const opUpdateTeamMember = "UpdateTeamMember"
|
|||
|
||||
// UpdateTeamMemberRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateTeamMember operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateTeamMember for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateTeamMember method directly
|
||||
// instead.
|
||||
// See UpdateTeamMember for more information on using the UpdateTeamMember
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateTeamMemberRequest method.
|
||||
// req, resp := client.UpdateTeamMemberRequest(params)
|
||||
|
@ -1268,19 +1517,18 @@ const opUpdateUserProfile = "UpdateUserProfile"
|
|||
|
||||
// UpdateUserProfileRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateUserProfile operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateUserProfile for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateUserProfile method directly
|
||||
// instead.
|
||||
// See UpdateUserProfile for more information on using the UpdateUserProfile
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateUserProfileRequest method.
|
||||
// req, resp := client.UpdateUserProfileRequest(params)
|
||||
|
@ -1373,8 +1621,8 @@ type AssociateTeamMemberInput struct {
|
|||
// to remotely access project resources, for example Amazon EC2 instances.
|
||||
RemoteAccessAllowed *bool `locationName:"remoteAccessAllowed" type:"boolean"`
|
||||
|
||||
// The Amazon Resource Name (ARN) for the IAM user you want to add to the DevHub
|
||||
// project.
|
||||
// The Amazon Resource Name (ARN) for the IAM user you want to add to the AWS
|
||||
// CodeStar project.
|
||||
//
|
||||
// UserArn is a required field
|
||||
UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"`
|
||||
|
@ -2365,7 +2613,7 @@ func (s *ListProjectsOutput) SetProjects(v []*ProjectSummary) *ListProjectsOutpu
|
|||
type ListResourcesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// he maximum amount of data that can be contained in a single set of results.
|
||||
// The maximum amount of data that can be contained in a single set of results.
|
||||
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
|
||||
|
||||
// The continuation token for the next set of results, if the results cannot
|
||||
|
@ -2462,6 +2710,105 @@ func (s *ListResourcesOutput) SetResources(v []*Resource) *ListResourcesOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProjectRequest
|
||||
type ListTagsForProjectInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The ID of the project to get tags for.
|
||||
//
|
||||
// Id is a required field
|
||||
Id *string `locationName:"id" min:"2" type:"string" required:"true"`
|
||||
|
||||
// Reserved for future use.
|
||||
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
|
||||
|
||||
// Reserved for future use.
|
||||
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s ListTagsForProjectInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s ListTagsForProjectInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *ListTagsForProjectInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "ListTagsForProjectInput"}
|
||||
if s.Id == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("Id"))
|
||||
}
|
||||
if s.Id != nil && len(*s.Id) < 2 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("Id", 2))
|
||||
}
|
||||
if s.MaxResults != nil && *s.MaxResults < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
|
||||
}
|
||||
if s.NextToken != nil && len(*s.NextToken) < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetId sets the Id field's value.
|
||||
func (s *ListTagsForProjectInput) SetId(v string) *ListTagsForProjectInput {
|
||||
s.Id = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetMaxResults sets the MaxResults field's value.
|
||||
func (s *ListTagsForProjectInput) SetMaxResults(v int64) *ListTagsForProjectInput {
|
||||
s.MaxResults = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetNextToken sets the NextToken field's value.
|
||||
func (s *ListTagsForProjectInput) SetNextToken(v string) *ListTagsForProjectInput {
|
||||
s.NextToken = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProjectResult
|
||||
type ListTagsForProjectOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Reserved for future use.
|
||||
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
|
||||
|
||||
// The tags for the project.
|
||||
Tags map[string]*string `locationName:"tags" type:"map"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s ListTagsForProjectOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s ListTagsForProjectOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetNextToken sets the NextToken field's value.
|
||||
func (s *ListTagsForProjectOutput) SetNextToken(v string) *ListTagsForProjectOutput {
|
||||
s.NextToken = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetTags sets the Tags field's value.
|
||||
func (s *ListTagsForProjectOutput) SetTags(v map[string]*string) *ListTagsForProjectOutput {
|
||||
s.Tags = v
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTeamMembersRequest
|
||||
type ListTeamMembersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
@ -2712,6 +3059,86 @@ func (s *Resource) SetId(v string) *Resource {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProjectRequest
|
||||
type TagProjectInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The ID of the project you want to add a tag to.
|
||||
//
|
||||
// Id is a required field
|
||||
Id *string `locationName:"id" min:"2" type:"string" required:"true"`
|
||||
|
||||
// The tags you want to add to the project.
|
||||
//
|
||||
// Tags is a required field
|
||||
Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s TagProjectInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s TagProjectInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *TagProjectInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "TagProjectInput"}
|
||||
if s.Id == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("Id"))
|
||||
}
|
||||
if s.Id != nil && len(*s.Id) < 2 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("Id", 2))
|
||||
}
|
||||
if s.Tags == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("Tags"))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetId sets the Id field's value.
|
||||
func (s *TagProjectInput) SetId(v string) *TagProjectInput {
|
||||
s.Id = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetTags sets the Tags field's value.
|
||||
func (s *TagProjectInput) SetTags(v map[string]*string) *TagProjectInput {
|
||||
s.Tags = v
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProjectResult
|
||||
type TagProjectOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The tags for the project.
|
||||
Tags map[string]*string `locationName:"tags" type:"map"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s TagProjectOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s TagProjectOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetTags sets the Tags field's value.
|
||||
func (s *TagProjectOutput) SetTags(v map[string]*string) *TagProjectOutput {
|
||||
s.Tags = v
|
||||
return s
|
||||
}
|
||||
|
||||
// Information about a team member in a project.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TeamMember
|
||||
type TeamMember struct {
|
||||
|
@ -2762,6 +3189,77 @@ func (s *TeamMember) SetUserArn(v string) *TeamMember {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProjectRequest
|
||||
type UntagProjectInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The ID of the project to remove tags from.
|
||||
//
|
||||
// Id is a required field
|
||||
Id *string `locationName:"id" min:"2" type:"string" required:"true"`
|
||||
|
||||
// The tags to remove from the project.
|
||||
//
|
||||
// Tags is a required field
|
||||
Tags []*string `locationName:"tags" type:"list" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s UntagProjectInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s UntagProjectInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *UntagProjectInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "UntagProjectInput"}
|
||||
if s.Id == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("Id"))
|
||||
}
|
||||
if s.Id != nil && len(*s.Id) < 2 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("Id", 2))
|
||||
}
|
||||
if s.Tags == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("Tags"))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetId sets the Id field's value.
|
||||
func (s *UntagProjectInput) SetId(v string) *UntagProjectInput {
|
||||
s.Id = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetTags sets the Tags field's value.
|
||||
func (s *UntagProjectInput) SetTags(v []*string) *UntagProjectInput {
|
||||
s.Tags = v
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProjectResult
|
||||
type UntagProjectOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s UntagProjectOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s UntagProjectOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateProjectRequest
|
||||
type UpdateProjectInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
|
14
vendor/github.com/aws/aws-sdk-go/service/codestar/codestariface/interface.go
generated
vendored
14
vendor/github.com/aws/aws-sdk-go/service/codestar/codestariface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS CodeStar.
|
||||
|
@ -100,6 +100,10 @@ type CodeStarAPI interface {
|
|||
ListResourcesWithContext(aws.Context, *codestar.ListResourcesInput, ...request.Option) (*codestar.ListResourcesOutput, error)
|
||||
ListResourcesRequest(*codestar.ListResourcesInput) (*request.Request, *codestar.ListResourcesOutput)
|
||||
|
||||
ListTagsForProject(*codestar.ListTagsForProjectInput) (*codestar.ListTagsForProjectOutput, error)
|
||||
ListTagsForProjectWithContext(aws.Context, *codestar.ListTagsForProjectInput, ...request.Option) (*codestar.ListTagsForProjectOutput, error)
|
||||
ListTagsForProjectRequest(*codestar.ListTagsForProjectInput) (*request.Request, *codestar.ListTagsForProjectOutput)
|
||||
|
||||
ListTeamMembers(*codestar.ListTeamMembersInput) (*codestar.ListTeamMembersOutput, error)
|
||||
ListTeamMembersWithContext(aws.Context, *codestar.ListTeamMembersInput, ...request.Option) (*codestar.ListTeamMembersOutput, error)
|
||||
ListTeamMembersRequest(*codestar.ListTeamMembersInput) (*request.Request, *codestar.ListTeamMembersOutput)
|
||||
|
@ -108,6 +112,14 @@ type CodeStarAPI interface {
|
|||
ListUserProfilesWithContext(aws.Context, *codestar.ListUserProfilesInput, ...request.Option) (*codestar.ListUserProfilesOutput, error)
|
||||
ListUserProfilesRequest(*codestar.ListUserProfilesInput) (*request.Request, *codestar.ListUserProfilesOutput)
|
||||
|
||||
TagProject(*codestar.TagProjectInput) (*codestar.TagProjectOutput, error)
|
||||
TagProjectWithContext(aws.Context, *codestar.TagProjectInput, ...request.Option) (*codestar.TagProjectOutput, error)
|
||||
TagProjectRequest(*codestar.TagProjectInput) (*request.Request, *codestar.TagProjectOutput)
|
||||
|
||||
UntagProject(*codestar.UntagProjectInput) (*codestar.UntagProjectOutput, error)
|
||||
UntagProjectWithContext(aws.Context, *codestar.UntagProjectInput, ...request.Option) (*codestar.UntagProjectOutput, error)
|
||||
UntagProjectRequest(*codestar.UntagProjectInput) (*request.Request, *codestar.UntagProjectOutput)
|
||||
|
||||
UpdateProject(*codestar.UpdateProjectInput) (*codestar.UpdateProjectOutput, error)
|
||||
UpdateProjectWithContext(aws.Context, *codestar.UpdateProjectInput, ...request.Option) (*codestar.UpdateProjectOutput, error)
|
||||
UpdateProjectRequest(*codestar.UpdateProjectInput) (*request.Request, *codestar.UpdateProjectOutput)
|
||||
|
|
99
vendor/github.com/aws/aws-sdk-go/service/codestar/doc.go
generated
vendored
99
vendor/github.com/aws/aws-sdk-go/service/codestar/doc.go
generated
vendored
|
@ -11,42 +11,47 @@
|
|||
//
|
||||
// Projects and their resources, by calling the following:
|
||||
//
|
||||
// * DeleteProject, which deletes a project in AWS CodeStar.
|
||||
// * DeleteProject, which deletes a project.
|
||||
//
|
||||
// * DescribeProject, which lists the attributes of a project.
|
||||
//
|
||||
// * ListProjects, which lists all AWS CodeStar projects associated with
|
||||
// your AWS account.
|
||||
// * ListProjects, which lists all projects associated with your AWS account.
|
||||
//
|
||||
// * ListResources, which lists the resources associated with an AWS CodeStar
|
||||
// project.
|
||||
// * ListResources, which lists the resources associated with a project.
|
||||
//
|
||||
// * UpdateProject, which updates the attributes of an AWS CodeStar project.
|
||||
// * ListTagsForProject, which lists the tags associated with a project.
|
||||
//
|
||||
// * TagProject, which adds tags to a project.
|
||||
//
|
||||
// * UntagProject, which removes tags from a project.
|
||||
//
|
||||
// * UpdateProject, which updates the attributes of a project.
|
||||
//
|
||||
// Teams and team members, by calling the following:
|
||||
//
|
||||
// * AssociateTeamMember, which adds an IAM user to the team for an AWS CodeStar
|
||||
// project.
|
||||
// * AssociateTeamMember, which adds an IAM user to the team for a project.
|
||||
//
|
||||
// * DisassociateTeamMember, which removes an IAM user from the team for
|
||||
// an AWS CodeStar project.
|
||||
// a project.
|
||||
//
|
||||
// * ListTeamMembers, which lists all the IAM users in the team for an AWS
|
||||
// CodeStar project, including their roles and attributes.
|
||||
// * ListTeamMembers, which lists all the IAM users in the team for a project,
|
||||
// including their roles and attributes.
|
||||
//
|
||||
// * UpdateTeamMember, which updates a team member's attributes in a project.
|
||||
//
|
||||
// Users, by calling the following:
|
||||
//
|
||||
// * CreateUserProfile, which creates a user profile that contains data associated
|
||||
// with the user across all AWS CodeStar projects.
|
||||
// with the user across all projects.
|
||||
//
|
||||
// * DeleteUserProfile, which deletes all user profile information across
|
||||
// all AWS CodeStar projects.
|
||||
// all projects.
|
||||
//
|
||||
// * DescribeUserProfile, which describes the profile of a user.
|
||||
//
|
||||
// * ListUserProfiles, which lists all AWS CodeStar user profiles.
|
||||
// * ListUserProfiles, which lists all user profiles.
|
||||
//
|
||||
// * UpdateUserProfile, which updates the profile for an AWS CodeStar user.
|
||||
// * UpdateUserProfile, which updates the profile for a user.
|
||||
//
|
||||
// See https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19 for more information on this service.
|
||||
//
|
||||
|
@ -55,69 +60,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for AWS CodeStar you will first need
|
||||
// to create a new instance of it.
|
||||
// To AWS CodeStar with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := codestar.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the AWS CodeStar client CodeStar for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/codestar/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.AssociateTeamMember(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("AssociateTeamMember result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.AssociateTeamMemberWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package codestar
|
||||
|
|
342
vendor/github.com/aws/aws-sdk-go/service/cognitoidentity/api.go
generated
vendored
342
vendor/github.com/aws/aws-sdk-go/service/cognitoidentity/api.go
generated
vendored
|
@ -17,19 +17,18 @@ const opCreateIdentityPool = "CreateIdentityPool"
|
|||
|
||||
// CreateIdentityPoolRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateIdentityPool operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateIdentityPool for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateIdentityPool method directly
|
||||
// instead.
|
||||
// See CreateIdentityPool for more information on using the CreateIdentityPool
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateIdentityPoolRequest method.
|
||||
// req, resp := client.CreateIdentityPoolRequest(params)
|
||||
|
@ -127,19 +126,18 @@ const opDeleteIdentities = "DeleteIdentities"
|
|||
|
||||
// DeleteIdentitiesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteIdentities operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteIdentities for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteIdentities method directly
|
||||
// instead.
|
||||
// See DeleteIdentities for more information on using the DeleteIdentities
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteIdentitiesRequest method.
|
||||
// req, resp := client.DeleteIdentitiesRequest(params)
|
||||
|
@ -216,19 +214,18 @@ const opDeleteIdentityPool = "DeleteIdentityPool"
|
|||
|
||||
// DeleteIdentityPoolRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteIdentityPool operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteIdentityPool for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteIdentityPool method directly
|
||||
// instead.
|
||||
// See DeleteIdentityPool for more information on using the DeleteIdentityPool
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteIdentityPoolRequest method.
|
||||
// req, resp := client.DeleteIdentityPoolRequest(params)
|
||||
|
@ -314,19 +311,18 @@ const opDescribeIdentity = "DescribeIdentity"
|
|||
|
||||
// DescribeIdentityRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeIdentity operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeIdentity for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeIdentity method directly
|
||||
// instead.
|
||||
// See DescribeIdentity for more information on using the DescribeIdentity
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeIdentityRequest method.
|
||||
// req, resp := client.DescribeIdentityRequest(params)
|
||||
|
@ -410,19 +406,18 @@ const opDescribeIdentityPool = "DescribeIdentityPool"
|
|||
|
||||
// DescribeIdentityPoolRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeIdentityPool operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeIdentityPool for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeIdentityPool method directly
|
||||
// instead.
|
||||
// See DescribeIdentityPool for more information on using the DescribeIdentityPool
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeIdentityPoolRequest method.
|
||||
// req, resp := client.DescribeIdentityPoolRequest(params)
|
||||
|
@ -506,19 +501,18 @@ const opGetCredentialsForIdentity = "GetCredentialsForIdentity"
|
|||
|
||||
// GetCredentialsForIdentityRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetCredentialsForIdentity operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetCredentialsForIdentity for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetCredentialsForIdentity method directly
|
||||
// instead.
|
||||
// See GetCredentialsForIdentity for more information on using the GetCredentialsForIdentity
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetCredentialsForIdentityRequest method.
|
||||
// req, resp := client.GetCredentialsForIdentityRequest(params)
|
||||
|
@ -616,19 +610,18 @@ const opGetId = "GetId"
|
|||
|
||||
// GetIdRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetId operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetId for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetId method directly
|
||||
// instead.
|
||||
// See GetId for more information on using the GetId
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetIdRequest method.
|
||||
// req, resp := client.GetIdRequest(params)
|
||||
|
@ -723,19 +716,18 @@ const opGetIdentityPoolRoles = "GetIdentityPoolRoles"
|
|||
|
||||
// GetIdentityPoolRolesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetIdentityPoolRoles operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetIdentityPoolRoles for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetIdentityPoolRoles method directly
|
||||
// instead.
|
||||
// See GetIdentityPoolRoles for more information on using the GetIdentityPoolRoles
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetIdentityPoolRolesRequest method.
|
||||
// req, resp := client.GetIdentityPoolRolesRequest(params)
|
||||
|
@ -822,19 +814,18 @@ const opGetOpenIdToken = "GetOpenIdToken"
|
|||
|
||||
// GetOpenIdTokenRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetOpenIdToken operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetOpenIdToken for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetOpenIdToken method directly
|
||||
// instead.
|
||||
// See GetOpenIdToken for more information on using the GetOpenIdToken
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetOpenIdTokenRequest method.
|
||||
// req, resp := client.GetOpenIdTokenRequest(params)
|
||||
|
@ -929,19 +920,18 @@ const opGetOpenIdTokenForDeveloperIdentity = "GetOpenIdTokenForDeveloperIdentity
|
|||
|
||||
// GetOpenIdTokenForDeveloperIdentityRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetOpenIdTokenForDeveloperIdentity operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetOpenIdTokenForDeveloperIdentity for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetOpenIdTokenForDeveloperIdentity method directly
|
||||
// instead.
|
||||
// See GetOpenIdTokenForDeveloperIdentity for more information on using the GetOpenIdTokenForDeveloperIdentity
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetOpenIdTokenForDeveloperIdentityRequest method.
|
||||
// req, resp := client.GetOpenIdTokenForDeveloperIdentityRequest(params)
|
||||
|
@ -1045,19 +1035,18 @@ const opListIdentities = "ListIdentities"
|
|||
|
||||
// ListIdentitiesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListIdentities operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListIdentities for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListIdentities method directly
|
||||
// instead.
|
||||
// See ListIdentities for more information on using the ListIdentities
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListIdentitiesRequest method.
|
||||
// req, resp := client.ListIdentitiesRequest(params)
|
||||
|
@ -1140,19 +1129,18 @@ const opListIdentityPools = "ListIdentityPools"
|
|||
|
||||
// ListIdentityPoolsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListIdentityPools operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListIdentityPools for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListIdentityPools method directly
|
||||
// instead.
|
||||
// See ListIdentityPools for more information on using the ListIdentityPools
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListIdentityPoolsRequest method.
|
||||
// req, resp := client.ListIdentityPoolsRequest(params)
|
||||
|
@ -1231,19 +1219,18 @@ const opLookupDeveloperIdentity = "LookupDeveloperIdentity"
|
|||
|
||||
// LookupDeveloperIdentityRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the LookupDeveloperIdentity operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See LookupDeveloperIdentity for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the LookupDeveloperIdentity method directly
|
||||
// instead.
|
||||
// See LookupDeveloperIdentity for more information on using the LookupDeveloperIdentity
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the LookupDeveloperIdentityRequest method.
|
||||
// req, resp := client.LookupDeveloperIdentityRequest(params)
|
||||
|
@ -1337,19 +1324,18 @@ const opMergeDeveloperIdentities = "MergeDeveloperIdentities"
|
|||
|
||||
// MergeDeveloperIdentitiesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the MergeDeveloperIdentities operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See MergeDeveloperIdentities for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the MergeDeveloperIdentities method directly
|
||||
// instead.
|
||||
// See MergeDeveloperIdentities for more information on using the MergeDeveloperIdentities
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the MergeDeveloperIdentitiesRequest method.
|
||||
// req, resp := client.MergeDeveloperIdentitiesRequest(params)
|
||||
|
@ -1442,19 +1428,18 @@ const opSetIdentityPoolRoles = "SetIdentityPoolRoles"
|
|||
|
||||
// SetIdentityPoolRolesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the SetIdentityPoolRoles operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See SetIdentityPoolRoles for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the SetIdentityPoolRoles method directly
|
||||
// instead.
|
||||
// See SetIdentityPoolRoles for more information on using the SetIdentityPoolRoles
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the SetIdentityPoolRolesRequest method.
|
||||
// req, resp := client.SetIdentityPoolRolesRequest(params)
|
||||
|
@ -1547,19 +1532,18 @@ const opUnlinkDeveloperIdentity = "UnlinkDeveloperIdentity"
|
|||
|
||||
// UnlinkDeveloperIdentityRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UnlinkDeveloperIdentity operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UnlinkDeveloperIdentity for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UnlinkDeveloperIdentity method directly
|
||||
// instead.
|
||||
// See UnlinkDeveloperIdentity for more information on using the UnlinkDeveloperIdentity
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UnlinkDeveloperIdentityRequest method.
|
||||
// req, resp := client.UnlinkDeveloperIdentityRequest(params)
|
||||
|
@ -1651,19 +1635,18 @@ const opUnlinkIdentity = "UnlinkIdentity"
|
|||
|
||||
// UnlinkIdentityRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UnlinkIdentity operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UnlinkIdentity for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UnlinkIdentity method directly
|
||||
// instead.
|
||||
// See UnlinkIdentity for more information on using the UnlinkIdentity
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UnlinkIdentityRequest method.
|
||||
// req, resp := client.UnlinkIdentityRequest(params)
|
||||
|
@ -1758,19 +1741,18 @@ const opUpdateIdentityPool = "UpdateIdentityPool"
|
|||
|
||||
// UpdateIdentityPoolRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateIdentityPool operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateIdentityPool for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateIdentityPool method directly
|
||||
// instead.
|
||||
// See UpdateIdentityPool for more information on using the UpdateIdentityPool
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateIdentityPoolRequest method.
|
||||
// req, resp := client.UpdateIdentityPoolRequest(params)
|
||||
|
|
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon Cognito Identity.
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/cognitoidentity/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/cognitoidentity/doc.go
generated
vendored
|
@ -43,69 +43,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Amazon Cognito Identity you will first need
|
||||
// to create a new instance of it.
|
||||
// To Amazon Cognito Identity with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := cognitoidentity.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon Cognito Identity client CognitoIdentity for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/cognitoidentity/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.CreateIdentityPool(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("CreateIdentityPool result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.CreateIdentityPoolWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package cognitoidentity
|
||||
|
|
3628
vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/api.go
generated
vendored
3628
vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/api.go
generated
vendored
File diff suppressed because it is too large
Load diff
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon Cognito Identity Provider.
|
||||
|
@ -84,6 +84,10 @@ type CognitoIdentityProviderAPI interface {
|
|||
AdminDeleteUserAttributesWithContext(aws.Context, *cognitoidentityprovider.AdminDeleteUserAttributesInput, ...request.Option) (*cognitoidentityprovider.AdminDeleteUserAttributesOutput, error)
|
||||
AdminDeleteUserAttributesRequest(*cognitoidentityprovider.AdminDeleteUserAttributesInput) (*request.Request, *cognitoidentityprovider.AdminDeleteUserAttributesOutput)
|
||||
|
||||
AdminDisableProviderForUser(*cognitoidentityprovider.AdminDisableProviderForUserInput) (*cognitoidentityprovider.AdminDisableProviderForUserOutput, error)
|
||||
AdminDisableProviderForUserWithContext(aws.Context, *cognitoidentityprovider.AdminDisableProviderForUserInput, ...request.Option) (*cognitoidentityprovider.AdminDisableProviderForUserOutput, error)
|
||||
AdminDisableProviderForUserRequest(*cognitoidentityprovider.AdminDisableProviderForUserInput) (*request.Request, *cognitoidentityprovider.AdminDisableProviderForUserOutput)
|
||||
|
||||
AdminDisableUser(*cognitoidentityprovider.AdminDisableUserInput) (*cognitoidentityprovider.AdminDisableUserOutput, error)
|
||||
AdminDisableUserWithContext(aws.Context, *cognitoidentityprovider.AdminDisableUserInput, ...request.Option) (*cognitoidentityprovider.AdminDisableUserOutput, error)
|
||||
AdminDisableUserRequest(*cognitoidentityprovider.AdminDisableUserInput) (*request.Request, *cognitoidentityprovider.AdminDisableUserOutput)
|
||||
|
@ -108,6 +112,10 @@ type CognitoIdentityProviderAPI interface {
|
|||
AdminInitiateAuthWithContext(aws.Context, *cognitoidentityprovider.AdminInitiateAuthInput, ...request.Option) (*cognitoidentityprovider.AdminInitiateAuthOutput, error)
|
||||
AdminInitiateAuthRequest(*cognitoidentityprovider.AdminInitiateAuthInput) (*request.Request, *cognitoidentityprovider.AdminInitiateAuthOutput)
|
||||
|
||||
AdminLinkProviderForUser(*cognitoidentityprovider.AdminLinkProviderForUserInput) (*cognitoidentityprovider.AdminLinkProviderForUserOutput, error)
|
||||
AdminLinkProviderForUserWithContext(aws.Context, *cognitoidentityprovider.AdminLinkProviderForUserInput, ...request.Option) (*cognitoidentityprovider.AdminLinkProviderForUserOutput, error)
|
||||
AdminLinkProviderForUserRequest(*cognitoidentityprovider.AdminLinkProviderForUserInput) (*request.Request, *cognitoidentityprovider.AdminLinkProviderForUserOutput)
|
||||
|
||||
AdminListDevices(*cognitoidentityprovider.AdminListDevicesInput) (*cognitoidentityprovider.AdminListDevicesOutput, error)
|
||||
AdminListDevicesWithContext(aws.Context, *cognitoidentityprovider.AdminListDevicesInput, ...request.Option) (*cognitoidentityprovider.AdminListDevicesOutput, error)
|
||||
AdminListDevicesRequest(*cognitoidentityprovider.AdminListDevicesInput) (*request.Request, *cognitoidentityprovider.AdminListDevicesOutput)
|
||||
|
@ -168,6 +176,10 @@ type CognitoIdentityProviderAPI interface {
|
|||
CreateIdentityProviderWithContext(aws.Context, *cognitoidentityprovider.CreateIdentityProviderInput, ...request.Option) (*cognitoidentityprovider.CreateIdentityProviderOutput, error)
|
||||
CreateIdentityProviderRequest(*cognitoidentityprovider.CreateIdentityProviderInput) (*request.Request, *cognitoidentityprovider.CreateIdentityProviderOutput)
|
||||
|
||||
CreateResourceServer(*cognitoidentityprovider.CreateResourceServerInput) (*cognitoidentityprovider.CreateResourceServerOutput, error)
|
||||
CreateResourceServerWithContext(aws.Context, *cognitoidentityprovider.CreateResourceServerInput, ...request.Option) (*cognitoidentityprovider.CreateResourceServerOutput, error)
|
||||
CreateResourceServerRequest(*cognitoidentityprovider.CreateResourceServerInput) (*request.Request, *cognitoidentityprovider.CreateResourceServerOutput)
|
||||
|
||||
CreateUserImportJob(*cognitoidentityprovider.CreateUserImportJobInput) (*cognitoidentityprovider.CreateUserImportJobOutput, error)
|
||||
CreateUserImportJobWithContext(aws.Context, *cognitoidentityprovider.CreateUserImportJobInput, ...request.Option) (*cognitoidentityprovider.CreateUserImportJobOutput, error)
|
||||
CreateUserImportJobRequest(*cognitoidentityprovider.CreateUserImportJobInput) (*request.Request, *cognitoidentityprovider.CreateUserImportJobOutput)
|
||||
|
@ -192,6 +204,10 @@ type CognitoIdentityProviderAPI interface {
|
|||
DeleteIdentityProviderWithContext(aws.Context, *cognitoidentityprovider.DeleteIdentityProviderInput, ...request.Option) (*cognitoidentityprovider.DeleteIdentityProviderOutput, error)
|
||||
DeleteIdentityProviderRequest(*cognitoidentityprovider.DeleteIdentityProviderInput) (*request.Request, *cognitoidentityprovider.DeleteIdentityProviderOutput)
|
||||
|
||||
DeleteResourceServer(*cognitoidentityprovider.DeleteResourceServerInput) (*cognitoidentityprovider.DeleteResourceServerOutput, error)
|
||||
DeleteResourceServerWithContext(aws.Context, *cognitoidentityprovider.DeleteResourceServerInput, ...request.Option) (*cognitoidentityprovider.DeleteResourceServerOutput, error)
|
||||
DeleteResourceServerRequest(*cognitoidentityprovider.DeleteResourceServerInput) (*request.Request, *cognitoidentityprovider.DeleteResourceServerOutput)
|
||||
|
||||
DeleteUser(*cognitoidentityprovider.DeleteUserInput) (*cognitoidentityprovider.DeleteUserOutput, error)
|
||||
DeleteUserWithContext(aws.Context, *cognitoidentityprovider.DeleteUserInput, ...request.Option) (*cognitoidentityprovider.DeleteUserOutput, error)
|
||||
DeleteUserRequest(*cognitoidentityprovider.DeleteUserInput) (*request.Request, *cognitoidentityprovider.DeleteUserOutput)
|
||||
|
@ -216,6 +232,10 @@ type CognitoIdentityProviderAPI interface {
|
|||
DescribeIdentityProviderWithContext(aws.Context, *cognitoidentityprovider.DescribeIdentityProviderInput, ...request.Option) (*cognitoidentityprovider.DescribeIdentityProviderOutput, error)
|
||||
DescribeIdentityProviderRequest(*cognitoidentityprovider.DescribeIdentityProviderInput) (*request.Request, *cognitoidentityprovider.DescribeIdentityProviderOutput)
|
||||
|
||||
DescribeResourceServer(*cognitoidentityprovider.DescribeResourceServerInput) (*cognitoidentityprovider.DescribeResourceServerOutput, error)
|
||||
DescribeResourceServerWithContext(aws.Context, *cognitoidentityprovider.DescribeResourceServerInput, ...request.Option) (*cognitoidentityprovider.DescribeResourceServerOutput, error)
|
||||
DescribeResourceServerRequest(*cognitoidentityprovider.DescribeResourceServerInput) (*request.Request, *cognitoidentityprovider.DescribeResourceServerOutput)
|
||||
|
||||
DescribeUserImportJob(*cognitoidentityprovider.DescribeUserImportJobInput) (*cognitoidentityprovider.DescribeUserImportJobOutput, error)
|
||||
DescribeUserImportJobWithContext(aws.Context, *cognitoidentityprovider.DescribeUserImportJobInput, ...request.Option) (*cognitoidentityprovider.DescribeUserImportJobOutput, error)
|
||||
DescribeUserImportJobRequest(*cognitoidentityprovider.DescribeUserImportJobInput) (*request.Request, *cognitoidentityprovider.DescribeUserImportJobOutput)
|
||||
|
@ -256,6 +276,10 @@ type CognitoIdentityProviderAPI interface {
|
|||
GetIdentityProviderByIdentifierWithContext(aws.Context, *cognitoidentityprovider.GetIdentityProviderByIdentifierInput, ...request.Option) (*cognitoidentityprovider.GetIdentityProviderByIdentifierOutput, error)
|
||||
GetIdentityProviderByIdentifierRequest(*cognitoidentityprovider.GetIdentityProviderByIdentifierInput) (*request.Request, *cognitoidentityprovider.GetIdentityProviderByIdentifierOutput)
|
||||
|
||||
GetUICustomization(*cognitoidentityprovider.GetUICustomizationInput) (*cognitoidentityprovider.GetUICustomizationOutput, error)
|
||||
GetUICustomizationWithContext(aws.Context, *cognitoidentityprovider.GetUICustomizationInput, ...request.Option) (*cognitoidentityprovider.GetUICustomizationOutput, error)
|
||||
GetUICustomizationRequest(*cognitoidentityprovider.GetUICustomizationInput) (*request.Request, *cognitoidentityprovider.GetUICustomizationOutput)
|
||||
|
||||
GetUser(*cognitoidentityprovider.GetUserInput) (*cognitoidentityprovider.GetUserOutput, error)
|
||||
GetUserWithContext(aws.Context, *cognitoidentityprovider.GetUserInput, ...request.Option) (*cognitoidentityprovider.GetUserOutput, error)
|
||||
GetUserRequest(*cognitoidentityprovider.GetUserInput) (*request.Request, *cognitoidentityprovider.GetUserOutput)
|
||||
|
@ -284,6 +308,10 @@ type CognitoIdentityProviderAPI interface {
|
|||
ListIdentityProvidersWithContext(aws.Context, *cognitoidentityprovider.ListIdentityProvidersInput, ...request.Option) (*cognitoidentityprovider.ListIdentityProvidersOutput, error)
|
||||
ListIdentityProvidersRequest(*cognitoidentityprovider.ListIdentityProvidersInput) (*request.Request, *cognitoidentityprovider.ListIdentityProvidersOutput)
|
||||
|
||||
ListResourceServers(*cognitoidentityprovider.ListResourceServersInput) (*cognitoidentityprovider.ListResourceServersOutput, error)
|
||||
ListResourceServersWithContext(aws.Context, *cognitoidentityprovider.ListResourceServersInput, ...request.Option) (*cognitoidentityprovider.ListResourceServersOutput, error)
|
||||
ListResourceServersRequest(*cognitoidentityprovider.ListResourceServersInput) (*request.Request, *cognitoidentityprovider.ListResourceServersOutput)
|
||||
|
||||
ListUserImportJobs(*cognitoidentityprovider.ListUserImportJobsInput) (*cognitoidentityprovider.ListUserImportJobsOutput, error)
|
||||
ListUserImportJobsWithContext(aws.Context, *cognitoidentityprovider.ListUserImportJobsInput, ...request.Option) (*cognitoidentityprovider.ListUserImportJobsOutput, error)
|
||||
ListUserImportJobsRequest(*cognitoidentityprovider.ListUserImportJobsInput) (*request.Request, *cognitoidentityprovider.ListUserImportJobsOutput)
|
||||
|
@ -312,6 +340,10 @@ type CognitoIdentityProviderAPI interface {
|
|||
RespondToAuthChallengeWithContext(aws.Context, *cognitoidentityprovider.RespondToAuthChallengeInput, ...request.Option) (*cognitoidentityprovider.RespondToAuthChallengeOutput, error)
|
||||
RespondToAuthChallengeRequest(*cognitoidentityprovider.RespondToAuthChallengeInput) (*request.Request, *cognitoidentityprovider.RespondToAuthChallengeOutput)
|
||||
|
||||
SetUICustomization(*cognitoidentityprovider.SetUICustomizationInput) (*cognitoidentityprovider.SetUICustomizationOutput, error)
|
||||
SetUICustomizationWithContext(aws.Context, *cognitoidentityprovider.SetUICustomizationInput, ...request.Option) (*cognitoidentityprovider.SetUICustomizationOutput, error)
|
||||
SetUICustomizationRequest(*cognitoidentityprovider.SetUICustomizationInput) (*request.Request, *cognitoidentityprovider.SetUICustomizationOutput)
|
||||
|
||||
SetUserSettings(*cognitoidentityprovider.SetUserSettingsInput) (*cognitoidentityprovider.SetUserSettingsOutput, error)
|
||||
SetUserSettingsWithContext(aws.Context, *cognitoidentityprovider.SetUserSettingsInput, ...request.Option) (*cognitoidentityprovider.SetUserSettingsOutput, error)
|
||||
SetUserSettingsRequest(*cognitoidentityprovider.SetUserSettingsInput) (*request.Request, *cognitoidentityprovider.SetUserSettingsOutput)
|
||||
|
@ -340,6 +372,10 @@ type CognitoIdentityProviderAPI interface {
|
|||
UpdateIdentityProviderWithContext(aws.Context, *cognitoidentityprovider.UpdateIdentityProviderInput, ...request.Option) (*cognitoidentityprovider.UpdateIdentityProviderOutput, error)
|
||||
UpdateIdentityProviderRequest(*cognitoidentityprovider.UpdateIdentityProviderInput) (*request.Request, *cognitoidentityprovider.UpdateIdentityProviderOutput)
|
||||
|
||||
UpdateResourceServer(*cognitoidentityprovider.UpdateResourceServerInput) (*cognitoidentityprovider.UpdateResourceServerOutput, error)
|
||||
UpdateResourceServerWithContext(aws.Context, *cognitoidentityprovider.UpdateResourceServerInput, ...request.Option) (*cognitoidentityprovider.UpdateResourceServerOutput, error)
|
||||
UpdateResourceServerRequest(*cognitoidentityprovider.UpdateResourceServerInput) (*request.Request, *cognitoidentityprovider.UpdateResourceServerOutput)
|
||||
|
||||
UpdateUserAttributes(*cognitoidentityprovider.UpdateUserAttributesInput) (*cognitoidentityprovider.UpdateUserAttributesOutput, error)
|
||||
UpdateUserAttributesWithContext(aws.Context, *cognitoidentityprovider.UpdateUserAttributesInput, ...request.Option) (*cognitoidentityprovider.UpdateUserAttributesOutput, error)
|
||||
UpdateUserAttributesRequest(*cognitoidentityprovider.UpdateUserAttributesInput) (*request.Request, *cognitoidentityprovider.UpdateUserAttributesOutput)
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/doc.go
generated
vendored
|
@ -19,69 +19,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Amazon Cognito Identity Provider you will first need
|
||||
// to create a new instance of it.
|
||||
// To Amazon Cognito Identity Provider with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := cognitoidentityprovider.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon Cognito Identity Provider client CognitoIdentityProvider for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/cognitoidentityprovider/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.AddCustomAttributes(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("AddCustomAttributes result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.AddCustomAttributesWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package cognitoidentityprovider
|
||||
|
|
323
vendor/github.com/aws/aws-sdk-go/service/cognitosync/api.go
generated
vendored
323
vendor/github.com/aws/aws-sdk-go/service/cognitosync/api.go
generated
vendored
|
@ -17,19 +17,18 @@ const opBulkPublish = "BulkPublish"
|
|||
|
||||
// BulkPublishRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the BulkPublish operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See BulkPublish for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the BulkPublish method directly
|
||||
// instead.
|
||||
// See BulkPublish for more information on using the BulkPublish
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the BulkPublishRequest method.
|
||||
// req, resp := client.BulkPublishRequest(params)
|
||||
|
@ -120,19 +119,18 @@ const opDeleteDataset = "DeleteDataset"
|
|||
|
||||
// DeleteDatasetRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteDataset operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteDataset for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteDataset method directly
|
||||
// instead.
|
||||
// See DeleteDataset for more information on using the DeleteDataset
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteDatasetRequest method.
|
||||
// req, resp := client.DeleteDatasetRequest(params)
|
||||
|
@ -222,19 +220,18 @@ const opDescribeDataset = "DescribeDataset"
|
|||
|
||||
// DescribeDatasetRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeDataset operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeDataset for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeDataset method directly
|
||||
// instead.
|
||||
// See DescribeDataset for more information on using the DescribeDataset
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeDatasetRequest method.
|
||||
// req, resp := client.DescribeDatasetRequest(params)
|
||||
|
@ -320,19 +317,18 @@ const opDescribeIdentityPoolUsage = "DescribeIdentityPoolUsage"
|
|||
|
||||
// DescribeIdentityPoolUsageRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeIdentityPoolUsage operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeIdentityPoolUsage for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeIdentityPoolUsage method directly
|
||||
// instead.
|
||||
// See DescribeIdentityPoolUsage for more information on using the DescribeIdentityPoolUsage
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeIdentityPoolUsageRequest method.
|
||||
// req, resp := client.DescribeIdentityPoolUsageRequest(params)
|
||||
|
@ -416,19 +412,18 @@ const opDescribeIdentityUsage = "DescribeIdentityUsage"
|
|||
|
||||
// DescribeIdentityUsageRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeIdentityUsage operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeIdentityUsage for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeIdentityUsage method directly
|
||||
// instead.
|
||||
// See DescribeIdentityUsage for more information on using the DescribeIdentityUsage
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeIdentityUsageRequest method.
|
||||
// req, resp := client.DescribeIdentityUsageRequest(params)
|
||||
|
@ -512,19 +507,18 @@ const opGetBulkPublishDetails = "GetBulkPublishDetails"
|
|||
|
||||
// GetBulkPublishDetailsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetBulkPublishDetails operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetBulkPublishDetails for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetBulkPublishDetails method directly
|
||||
// instead.
|
||||
// See GetBulkPublishDetails for more information on using the GetBulkPublishDetails
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetBulkPublishDetailsRequest method.
|
||||
// req, resp := client.GetBulkPublishDetailsRequest(params)
|
||||
|
@ -604,19 +598,18 @@ const opGetCognitoEvents = "GetCognitoEvents"
|
|||
|
||||
// GetCognitoEventsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetCognitoEvents operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetCognitoEvents for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetCognitoEvents method directly
|
||||
// instead.
|
||||
// See GetCognitoEvents for more information on using the GetCognitoEvents
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetCognitoEventsRequest method.
|
||||
// req, resp := client.GetCognitoEventsRequest(params)
|
||||
|
@ -700,19 +693,18 @@ const opGetIdentityPoolConfiguration = "GetIdentityPoolConfiguration"
|
|||
|
||||
// GetIdentityPoolConfigurationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetIdentityPoolConfiguration operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetIdentityPoolConfiguration for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetIdentityPoolConfiguration method directly
|
||||
// instead.
|
||||
// See GetIdentityPoolConfiguration for more information on using the GetIdentityPoolConfiguration
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetIdentityPoolConfigurationRequest method.
|
||||
// req, resp := client.GetIdentityPoolConfigurationRequest(params)
|
||||
|
@ -795,19 +787,18 @@ const opListDatasets = "ListDatasets"
|
|||
|
||||
// ListDatasetsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListDatasets operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListDatasets for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListDatasets method directly
|
||||
// instead.
|
||||
// See ListDatasets for more information on using the ListDatasets
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListDatasetsRequest method.
|
||||
// req, resp := client.ListDatasetsRequest(params)
|
||||
|
@ -890,19 +881,18 @@ const opListIdentityPoolUsage = "ListIdentityPoolUsage"
|
|||
|
||||
// ListIdentityPoolUsageRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListIdentityPoolUsage operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListIdentityPoolUsage for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListIdentityPoolUsage method directly
|
||||
// instead.
|
||||
// See ListIdentityPoolUsage for more information on using the ListIdentityPoolUsage
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListIdentityPoolUsageRequest method.
|
||||
// req, resp := client.ListIdentityPoolUsageRequest(params)
|
||||
|
@ -983,19 +973,18 @@ const opListRecords = "ListRecords"
|
|||
|
||||
// ListRecordsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListRecords operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListRecords for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListRecords method directly
|
||||
// instead.
|
||||
// See ListRecords for more information on using the ListRecords
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListRecordsRequest method.
|
||||
// req, resp := client.ListRecordsRequest(params)
|
||||
|
@ -1079,19 +1068,18 @@ const opRegisterDevice = "RegisterDevice"
|
|||
|
||||
// RegisterDeviceRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RegisterDevice operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See RegisterDevice for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the RegisterDevice method directly
|
||||
// instead.
|
||||
// See RegisterDevice for more information on using the RegisterDevice
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the RegisterDeviceRequest method.
|
||||
// req, resp := client.RegisterDeviceRequest(params)
|
||||
|
@ -1176,19 +1164,18 @@ const opSetCognitoEvents = "SetCognitoEvents"
|
|||
|
||||
// SetCognitoEventsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the SetCognitoEvents operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See SetCognitoEvents for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the SetCognitoEvents method directly
|
||||
// instead.
|
||||
// See SetCognitoEvents for more information on using the SetCognitoEvents
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the SetCognitoEventsRequest method.
|
||||
// req, resp := client.SetCognitoEventsRequest(params)
|
||||
|
@ -1276,19 +1263,18 @@ const opSetIdentityPoolConfiguration = "SetIdentityPoolConfiguration"
|
|||
|
||||
// SetIdentityPoolConfigurationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the SetIdentityPoolConfiguration operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See SetIdentityPoolConfiguration for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the SetIdentityPoolConfiguration method directly
|
||||
// instead.
|
||||
// See SetIdentityPoolConfiguration for more information on using the SetIdentityPoolConfiguration
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the SetIdentityPoolConfigurationRequest method.
|
||||
// req, resp := client.SetIdentityPoolConfigurationRequest(params)
|
||||
|
@ -1374,19 +1360,18 @@ const opSubscribeToDataset = "SubscribeToDataset"
|
|||
|
||||
// SubscribeToDatasetRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the SubscribeToDataset operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See SubscribeToDataset for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the SubscribeToDataset method directly
|
||||
// instead.
|
||||
// See SubscribeToDataset for more information on using the SubscribeToDataset
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the SubscribeToDatasetRequest method.
|
||||
// req, resp := client.SubscribeToDatasetRequest(params)
|
||||
|
@ -1472,19 +1457,18 @@ const opUnsubscribeFromDataset = "UnsubscribeFromDataset"
|
|||
|
||||
// UnsubscribeFromDatasetRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UnsubscribeFromDataset operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UnsubscribeFromDataset for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UnsubscribeFromDataset method directly
|
||||
// instead.
|
||||
// See UnsubscribeFromDataset for more information on using the UnsubscribeFromDataset
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UnsubscribeFromDatasetRequest method.
|
||||
// req, resp := client.UnsubscribeFromDatasetRequest(params)
|
||||
|
@ -1570,19 +1554,18 @@ const opUpdateRecords = "UpdateRecords"
|
|||
|
||||
// UpdateRecordsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateRecords operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateRecords for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateRecords method directly
|
||||
// instead.
|
||||
// See UpdateRecords for more information on using the UpdateRecords
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateRecordsRequest method.
|
||||
// req, resp := client.UpdateRecordsRequest(params)
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/service/cognitosync/cognitosynciface/interface.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/cognitosync/cognitosynciface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon Cognito Sync.
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/cognitosync/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/cognitosync/doc.go
generated
vendored
|
@ -29,69 +29,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Amazon Cognito Sync you will first need
|
||||
// to create a new instance of it.
|
||||
// To Amazon Cognito Sync with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := cognitosync.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon Cognito Sync client CognitoSync for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/cognitosync/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.BulkPublish(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("BulkPublish result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.BulkPublishWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package cognitosync
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue