provider/aws: Bump SDK version to 1.6.9 (#10993)
There is 1 breaking change. The OpsWorks Update API no longer supports `tenancy` as an update. So that has to be marked as ForceNew: true ``` % make testacc TEST=./builtin/providers/aws % TESTARGS='-run=TestAccAWSOpsworksInstance' % 2 ↵ ✹ ✭ ==> Checking that code complies with gofmt requirements... go generate $(go list ./... | grep -v /terraform/vendor/) 2017/01/02 17:11:29 Generated command/internal_plugin_list.go TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSOpsworksInstance -timeout 120m === RUN TestAccAWSOpsworksInstance --- PASS: TestAccAWSOpsworksInstance (99.89s) PASS ok github.com/hashicorp/terraform/builtin/providers/aws99.911s ```
This commit is contained in:
parent
0b7e3957ba
commit
d9088d8cc0
|
@ -280,6 +280,7 @@ func resourceAwsOpsworksInstance() *schema.Resource {
|
|||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
ForceNew: true,
|
||||
ValidateFunc: validateTenancy,
|
||||
},
|
||||
|
||||
|
@ -821,10 +822,6 @@ func resourceAwsOpsworksInstanceUpdate(d *schema.ResourceData, meta interface{})
|
|||
req.SshKeyName = aws.String(v.(string))
|
||||
}
|
||||
|
||||
if v, ok := d.GetOk("tenancy"); ok {
|
||||
req.Tenancy = aws.String(v.(string))
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Updating OpsWorks instance: %s", d.Id())
|
||||
|
||||
_, err = client.UpdateInstance(req)
|
||||
|
|
|
@ -1,3 +1,76 @@
|
|||
Release v1.6.9 (2016-12-30)
|
||||
===
|
||||
|
||||
Service Client Updates
|
||||
---
|
||||
* `service/codedeploy`: Updates service API and documentation
|
||||
* CodeDeploy will support Iam Session Arns in addition to Iam User Arns for on premise host authentication.
|
||||
* `service/ecs`: Updates service API and documentation
|
||||
* Amazon EC2 Container Service (ECS) now supports the ability to customize the placement of tasks on container instances.
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
|
||||
Release v1.6.8 (2016-12-22)
|
||||
===
|
||||
|
||||
Service Client Updates
|
||||
---
|
||||
* `service/apigateway`: Updates service API and documentation
|
||||
* Amazon API Gateway is adding support for generating SDKs in more languages. This update introduces two new operations used to dynamically discover these SDK types and what configuration each type accepts.
|
||||
* `service/directoryservice`: Updates service documentation
|
||||
* Added code snippets for the DS SDKs
|
||||
* `service/elasticbeanstalk`: Updates service API and documentation
|
||||
* `service/iam`: Updates service API and documentation
|
||||
* Adds service-specific credentials to IAM service to make it easier to onboard CodeCommit customers. These are username/password credentials that work with a single service.
|
||||
* `service/kms`: Updates service API, documentation, and examples
|
||||
* Update docs and add SDK examples
|
||||
|
||||
Release v1.6.7 (2016-12-22)
|
||||
===
|
||||
|
||||
Service Client Updates
|
||||
---
|
||||
* `service/ecr`: Updates service API and documentation
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/rds`: Updates service API and documentation
|
||||
* Cross Region Encrypted Snapshot Copying (CopyDBSnapshot)
|
||||
|
||||
Release v1.6.6 (2016-12-20)
|
||||
===
|
||||
|
||||
Service Client Updates
|
||||
---
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/firehose`: Updates service API, documentation, and examples
|
||||
* Processing feature enables users to process and modify records before Amazon Firehose delivers them to destinations.
|
||||
* `service/route53`: Updates service API and documentation
|
||||
* Enum updates for eu-west-2 and ca-central-1
|
||||
* `service/storagegateway`: Updates service API, documentation, and examples
|
||||
* File gateway is a new mode in the AWS Storage Gateway that support a file interface into S3, alongside the current block-based volume and VTL storage. File gateway combines a service and virtual software appliance, enabling you to store and retrieve objects in Amazon S3 using industry standard file protocols such as NFS. The software appliance, or gateway, is deployed into your on-premises environment as a virtual machine (VM) running on VMware ESXi. The gateway provides access to objects in S3 as files on a Network File System (NFS) mount point.
|
||||
|
||||
Release v1.6.5 (2016-12-19)
|
||||
===
|
||||
|
||||
Service Client Updates
|
||||
---
|
||||
* `service/cloudformation`: Updates service documentation
|
||||
* Minor doc update for CloudFormation.
|
||||
* `service/cloudtrail`: Updates service paginators
|
||||
* `service/cognitoidentity`: Updates service API and documentation
|
||||
* We are adding Groups to Cognito user pools. Developers can perform CRUD operations on groups, add and remove users from groups, list users in groups, etc. We are adding fine-grained role-based access control for Cognito identity pools. Developers can configure an identity pool to get the IAM role from an authenticated user's token, or they can configure rules that will map a user to a different role
|
||||
* `service/applicationdiscoveryservice`: Updates service API and documentation
|
||||
* Adds new APIs to group discovered servers into Applications with get summary and neighbors. Includes additional filters for ListConfigurations and DescribeAgents API.
|
||||
* `service/inspector`: Updates service API, documentation, and examples
|
||||
* Doc-only Update for Inspector: Adding SDK code snippets for Inspector
|
||||
* `service/sqs`: Updates service documentation
|
||||
|
||||
SDK Bug Fixes
|
||||
---
|
||||
* `aws/request`: Add PriorRequestNotComplete to throttle retry codes (#1011)
|
||||
* Fixes: Not retrying when PriorRequestNotComplete #1009
|
||||
|
||||
SDK Feature
|
||||
---
|
||||
* `private/model/api`: Adds crosslinking to service documentation (#1010)
|
||||
Release v1.6.4 (2016-12-15)
|
||||
===
|
||||
|
||||
|
|
|
@ -937,6 +937,7 @@ var awsPartition = partition{
|
|||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
|
@ -1042,8 +1043,14 @@ var awsPartition = partition{
|
|||
"metering.marketplace": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-east-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"mobileanalytics": service{
|
||||
|
@ -1267,8 +1274,10 @@ var awsPartition = partition{
|
|||
"ap-northeast-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"ca-central-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
|
|
|
@ -5,4 +5,4 @@ package aws
|
|||
const SDKName = "aws-sdk-go"
|
||||
|
||||
// SDKVersion is the version of this SDK
|
||||
const SDKVersion = "1.6.4"
|
||||
const SDKVersion = "1.6.9"
|
||||
|
|
|
@ -98,6 +98,9 @@ func buildStruct(value reflect.Value, buf *bytes.Buffer, tag reflect.StructTag)
|
|||
if field.Tag.Get("location") != "" {
|
||||
continue // ignore non-body elements
|
||||
}
|
||||
if field.Tag.Get("ignore") != "" {
|
||||
continue
|
||||
}
|
||||
|
||||
if protocol.CanSetIdempotencyToken(member, field) {
|
||||
token := protocol.GetIdempotencyToken()
|
||||
|
|
|
@ -76,6 +76,10 @@ func (q *queryParser) parseStruct(v url.Values, value reflect.Value, prefix stri
|
|||
if field.PkgPath != "" {
|
||||
continue // ignore unexported fields
|
||||
}
|
||||
if field.Tag.Get("ignore") != "" {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
if protocol.CanSetIdempotencyToken(value.Field(i), field) {
|
||||
token := protocol.GetIdempotencyToken()
|
||||
|
|
|
@ -88,6 +88,9 @@ func buildLocationElements(r *request.Request, v reflect.Value, buildGETQuery bo
|
|||
if !m.IsValid() {
|
||||
continue
|
||||
}
|
||||
if field.Tag.Get("ignore") != "" {
|
||||
continue
|
||||
}
|
||||
|
||||
var err error
|
||||
switch field.Tag.Get("location") {
|
||||
|
|
|
@ -127,6 +127,10 @@ func (b *xmlBuilder) buildStruct(value reflect.Value, current *XMLNode, tag refl
|
|||
if field.PkgPath != "" {
|
||||
continue // ignore unexported fields
|
||||
}
|
||||
if field.Tag.Get("ignore") != "" {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
mTag := field.Tag
|
||||
if mTag.Get("location") != "" { // skip non-body members
|
||||
|
|
|
@ -39,6 +39,7 @@ const opAddTagsToCertificate = "AddTagsToCertificate"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificate
|
||||
func (c *ACM) AddTagsToCertificateRequest(input *AddTagsToCertificateInput) (req *request.Request, output *AddTagsToCertificateOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opAddTagsToCertificate,
|
||||
|
@ -100,6 +101,7 @@ func (c *ACM) AddTagsToCertificateRequest(input *AddTagsToCertificateInput) (req
|
|||
// * TooManyTagsException
|
||||
// The request contains too many tags. Try the request again with fewer tags.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificate
|
||||
func (c *ACM) AddTagsToCertificate(input *AddTagsToCertificateInput) (*AddTagsToCertificateOutput, error) {
|
||||
req, out := c.AddTagsToCertificateRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -132,6 +134,7 @@ const opDeleteCertificate = "DeleteCertificate"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificate
|
||||
func (c *ACM) DeleteCertificateRequest(input *DeleteCertificateInput) (req *request.Request, output *DeleteCertificateOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteCertificate,
|
||||
|
@ -182,6 +185,7 @@ func (c *ACM) DeleteCertificateRequest(input *DeleteCertificateInput) (req *requ
|
|||
// * InvalidArnException
|
||||
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificate
|
||||
func (c *ACM) DeleteCertificate(input *DeleteCertificateInput) (*DeleteCertificateOutput, error) {
|
||||
req, out := c.DeleteCertificateRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -214,6 +218,7 @@ const opDescribeCertificate = "DescribeCertificate"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificate
|
||||
func (c *ACM) DescribeCertificateRequest(input *DescribeCertificateInput) (req *request.Request, output *DescribeCertificateOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeCertificate,
|
||||
|
@ -254,6 +259,7 @@ func (c *ACM) DescribeCertificateRequest(input *DescribeCertificateInput) (req *
|
|||
// * InvalidArnException
|
||||
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificate
|
||||
func (c *ACM) DescribeCertificate(input *DescribeCertificateInput) (*DescribeCertificateOutput, error) {
|
||||
req, out := c.DescribeCertificateRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -286,6 +292,7 @@ const opGetCertificate = "GetCertificate"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificate
|
||||
func (c *ACM) GetCertificateRequest(input *GetCertificateInput) (req *request.Request, output *GetCertificateOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetCertificate,
|
||||
|
@ -334,6 +341,7 @@ func (c *ACM) GetCertificateRequest(input *GetCertificateInput) (req *request.Re
|
|||
// * InvalidArnException
|
||||
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificate
|
||||
func (c *ACM) GetCertificate(input *GetCertificateInput) (*GetCertificateOutput, error) {
|
||||
req, out := c.GetCertificateRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -366,6 +374,7 @@ const opImportCertificate = "ImportCertificate"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificate
|
||||
func (c *ACM) ImportCertificateRequest(input *ImportCertificateInput) (req *request.Request, output *ImportCertificateOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opImportCertificate,
|
||||
|
@ -431,6 +440,7 @@ func (c *ACM) ImportCertificateRequest(input *ImportCertificateInput) (req *requ
|
|||
// violated. For more information about ACM limits, see the Limits (http://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html)
|
||||
// topic.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificate
|
||||
func (c *ACM) ImportCertificate(input *ImportCertificateInput) (*ImportCertificateOutput, error) {
|
||||
req, out := c.ImportCertificateRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -463,6 +473,7 @@ const opListCertificates = "ListCertificates"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificates
|
||||
func (c *ACM) ListCertificatesRequest(input *ListCertificatesInput) (req *request.Request, output *ListCertificatesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListCertificates,
|
||||
|
@ -498,6 +509,7 @@ func (c *ACM) ListCertificatesRequest(input *ListCertificatesInput) (req *reques
|
|||
//
|
||||
// See the AWS API reference guide for AWS Certificate Manager's
|
||||
// API operation ListCertificates for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificates
|
||||
func (c *ACM) ListCertificates(input *ListCertificatesInput) (*ListCertificatesOutput, error) {
|
||||
req, out := c.ListCertificatesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -555,6 +567,7 @@ const opListTagsForCertificate = "ListTagsForCertificate"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificate
|
||||
func (c *ACM) ListTagsForCertificateRequest(input *ListTagsForCertificateInput) (req *request.Request, output *ListTagsForCertificateOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListTagsForCertificate,
|
||||
|
@ -594,6 +607,7 @@ func (c *ACM) ListTagsForCertificateRequest(input *ListTagsForCertificateInput)
|
|||
// * InvalidArnException
|
||||
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificate
|
||||
func (c *ACM) ListTagsForCertificate(input *ListTagsForCertificateInput) (*ListTagsForCertificateOutput, error) {
|
||||
req, out := c.ListTagsForCertificateRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -626,6 +640,7 @@ const opRemoveTagsFromCertificate = "RemoveTagsFromCertificate"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificate
|
||||
func (c *ACM) RemoveTagsFromCertificateRequest(input *RemoveTagsFromCertificateInput) (req *request.Request, output *RemoveTagsFromCertificateOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opRemoveTagsFromCertificate,
|
||||
|
@ -675,6 +690,7 @@ func (c *ACM) RemoveTagsFromCertificateRequest(input *RemoveTagsFromCertificateI
|
|||
// One or both of the values that make up the key-value pair is not valid. For
|
||||
// example, you cannot specify a tag value that begins with aws:.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificate
|
||||
func (c *ACM) RemoveTagsFromCertificate(input *RemoveTagsFromCertificateInput) (*RemoveTagsFromCertificateOutput, error) {
|
||||
req, out := c.RemoveTagsFromCertificateRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -707,6 +723,7 @@ const opRequestCertificate = "RequestCertificate"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificate
|
||||
func (c *ACM) RequestCertificateRequest(input *RequestCertificateInput) (req *request.Request, output *RequestCertificateOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opRequestCertificate,
|
||||
|
@ -752,6 +769,7 @@ func (c *ACM) RequestCertificateRequest(input *RequestCertificateInput) (req *re
|
|||
// * InvalidDomainValidationOptionsException
|
||||
// One or more values in the DomainValidationOption structure is incorrect.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificate
|
||||
func (c *ACM) RequestCertificate(input *RequestCertificateInput) (*RequestCertificateOutput, error) {
|
||||
req, out := c.RequestCertificateRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -784,6 +802,7 @@ const opResendValidationEmail = "ResendValidationEmail"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmail
|
||||
func (c *ACM) ResendValidationEmailRequest(input *ResendValidationEmailInput) (req *request.Request, output *ResendValidationEmailOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opResendValidationEmail,
|
||||
|
@ -839,12 +858,14 @@ func (c *ACM) ResendValidationEmailRequest(input *ResendValidationEmailInput) (r
|
|||
// * InvalidDomainValidationOptionsException
|
||||
// One or more values in the DomainValidationOption structure is incorrect.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmail
|
||||
func (c *ACM) ResendValidationEmail(input *ResendValidationEmailInput) (*ResendValidationEmailOutput, error) {
|
||||
req, out := c.ResendValidationEmailRequest(input)
|
||||
err := req.Send()
|
||||
return out, err
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificateRequest
|
||||
type AddTagsToCertificateInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -919,6 +940,7 @@ func (s *AddTagsToCertificateInput) SetTags(v []*Tag) *AddTagsToCertificateInput
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificateOutput
|
||||
type AddTagsToCertificateOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -935,6 +957,7 @@ func (s AddTagsToCertificateOutput) GoString() string {
|
|||
|
||||
// Contains detailed metadata about an ACM Certificate. This structure is returned
|
||||
// in the response to a DescribeCertificate request.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/CertificateDetail
|
||||
type CertificateDetail struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1155,6 +1178,7 @@ func (s *CertificateDetail) SetType(v string) *CertificateDetail {
|
|||
}
|
||||
|
||||
// This structure is returned in the response object of ListCertificates action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/CertificateSummary
|
||||
type CertificateSummary struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1193,6 +1217,7 @@ func (s *CertificateSummary) SetDomainName(v string) *CertificateSummary {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificateRequest
|
||||
type DeleteCertificateInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1240,6 +1265,7 @@ func (s *DeleteCertificateInput) SetCertificateArn(v string) *DeleteCertificateI
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificateOutput
|
||||
type DeleteCertificateOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1254,6 +1280,7 @@ func (s DeleteCertificateOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificateRequest
|
||||
type DescribeCertificateInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1300,6 +1327,7 @@ func (s *DescribeCertificateInput) SetCertificateArn(v string) *DescribeCertific
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificateResponse
|
||||
type DescribeCertificateOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1326,6 +1354,7 @@ func (s *DescribeCertificateOutput) SetCertificate(v *CertificateDetail) *Descri
|
|||
// Structure that contains the domain name, the base validation domain to which
|
||||
// validation email is sent, and the email addresses used to validate the domain
|
||||
// identity.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DomainValidation
|
||||
type DomainValidation struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1371,6 +1400,7 @@ func (s *DomainValidation) SetValidationEmails(v []*string) *DomainValidation {
|
|||
}
|
||||
|
||||
// This structure is used in the request object of the RequestCertificate action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DomainValidationOption
|
||||
type DomainValidationOption struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1445,6 +1475,7 @@ func (s *DomainValidationOption) SetValidationDomain(v string) *DomainValidation
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificateRequest
|
||||
type GetCertificateInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1491,6 +1522,7 @@ func (s *GetCertificateInput) SetCertificateArn(v string) *GetCertificateInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificateResponse
|
||||
type GetCertificateOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1525,6 +1557,7 @@ func (s *GetCertificateOutput) SetCertificateChain(v string) *GetCertificateOutp
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificateRequest
|
||||
type ImportCertificateInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1629,6 +1662,7 @@ func (s *ImportCertificateInput) SetPrivateKey(v []byte) *ImportCertificateInput
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificateResponse
|
||||
type ImportCertificateOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1653,6 +1687,7 @@ func (s *ImportCertificateOutput) SetCertificateArn(v string) *ImportCertificate
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificatesRequest
|
||||
type ListCertificatesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1715,6 +1750,7 @@ func (s *ListCertificatesInput) SetNextToken(v string) *ListCertificatesInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificatesResponse
|
||||
type ListCertificatesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1748,6 +1784,7 @@ func (s *ListCertificatesOutput) SetNextToken(v string) *ListCertificatesOutput
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificateRequest
|
||||
type ListTagsForCertificateInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1795,6 +1832,7 @@ func (s *ListTagsForCertificateInput) SetCertificateArn(v string) *ListTagsForCe
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificateResponse
|
||||
type ListTagsForCertificateOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1818,6 +1856,7 @@ func (s *ListTagsForCertificateOutput) SetTags(v []*Tag) *ListTagsForCertificate
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificateRequest
|
||||
type RemoveTagsFromCertificateInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1892,6 +1931,7 @@ func (s *RemoveTagsFromCertificateInput) SetTags(v []*Tag) *RemoveTagsFromCertif
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificateOutput
|
||||
type RemoveTagsFromCertificateOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1906,6 +1946,7 @@ func (s RemoveTagsFromCertificateOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificateRequest
|
||||
type RequestCertificateInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2019,6 +2060,7 @@ func (s *RequestCertificateInput) SetSubjectAlternativeNames(v []*string) *Reque
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificateResponse
|
||||
type RequestCertificateOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2045,6 +2087,7 @@ func (s *RequestCertificateOutput) SetCertificateArn(v string) *RequestCertifica
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmailRequest
|
||||
type ResendValidationEmailInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2143,6 +2186,7 @@ func (s *ResendValidationEmailInput) SetValidationDomain(v string) *ResendValida
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmailOutput
|
||||
type ResendValidationEmailOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2158,6 +2202,7 @@ func (s ResendValidationEmailOutput) GoString() string {
|
|||
}
|
||||
|
||||
// A key-value pair that identifies or specifies metadata about an ACM resource.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/Tag
|
||||
type Tag struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -16,8 +16,9 @@ import (
|
|||
// You can use ACM to manage SSL/TLS certificates for your AWS-based websites
|
||||
// and applications. For general information about using ACM, see the AWS Certificate
|
||||
// Manager User Guide (http://docs.aws.amazon.com/acm/latest/userguide/).
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08
|
||||
type ACM struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -28,8 +29,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "acm"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "acm" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ACM client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -42,7 +46,7 @@ const ServiceName = "acm"
|
|||
// // Create a ACM client with additional configuration
|
||||
// svc := acm.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ACM {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -16,7 +16,7 @@ import (
|
|||
// to securely connect mobile and web applications to APIs that run on AWS Lambda,
|
||||
// Amazon EC2, or other publicly addressable web services that are hosted outside
|
||||
// of AWS.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
type APIGateway struct {
|
||||
*client.Client
|
||||
|
@ -28,8 +28,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "apigateway"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "apigateway" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the APIGateway client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -42,7 +45,7 @@ const ServiceName = "apigateway"
|
|||
// // Create a APIGateway client with additional configuration
|
||||
// svc := apigateway.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *APIGateway {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@ const opDeleteScalingPolicy = "DeleteScalingPolicy"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy
|
||||
func (c *ApplicationAutoScaling) DeleteScalingPolicyRequest(input *DeleteScalingPolicyInput) (req *request.Request, output *DeleteScalingPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteScalingPolicy,
|
||||
|
@ -91,6 +92,7 @@ func (c *ApplicationAutoScaling) DeleteScalingPolicyRequest(input *DeleteScaling
|
|||
// * InternalServiceException
|
||||
// The service encountered an internal error.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy
|
||||
func (c *ApplicationAutoScaling) DeleteScalingPolicy(input *DeleteScalingPolicyInput) (*DeleteScalingPolicyOutput, error) {
|
||||
req, out := c.DeleteScalingPolicyRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -123,6 +125,7 @@ const opDeregisterScalableTarget = "DeregisterScalableTarget"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget
|
||||
func (c *ApplicationAutoScaling) DeregisterScalableTargetRequest(input *DeregisterScalableTargetInput) (req *request.Request, output *DeregisterScalableTargetOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeregisterScalableTarget,
|
||||
|
@ -176,6 +179,7 @@ func (c *ApplicationAutoScaling) DeregisterScalableTargetRequest(input *Deregist
|
|||
// * InternalServiceException
|
||||
// The service encountered an internal error.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget
|
||||
func (c *ApplicationAutoScaling) DeregisterScalableTarget(input *DeregisterScalableTargetInput) (*DeregisterScalableTargetOutput, error) {
|
||||
req, out := c.DeregisterScalableTargetRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -208,6 +212,7 @@ const opDescribeScalableTargets = "DescribeScalableTargets"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargets
|
||||
func (c *ApplicationAutoScaling) DescribeScalableTargetsRequest(input *DescribeScalableTargetsInput) (req *request.Request, output *DescribeScalableTargetsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeScalableTargets,
|
||||
|
@ -264,6 +269,7 @@ func (c *ApplicationAutoScaling) DescribeScalableTargetsRequest(input *DescribeS
|
|||
// * InternalServiceException
|
||||
// The service encountered an internal error.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargets
|
||||
func (c *ApplicationAutoScaling) DescribeScalableTargets(input *DescribeScalableTargetsInput) (*DescribeScalableTargetsOutput, error) {
|
||||
req, out := c.DescribeScalableTargetsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -321,6 +327,7 @@ const opDescribeScalingActivities = "DescribeScalingActivities"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivities
|
||||
func (c *ApplicationAutoScaling) DescribeScalingActivitiesRequest(input *DescribeScalingActivitiesInput) (req *request.Request, output *DescribeScalingActivitiesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeScalingActivities,
|
||||
|
@ -378,6 +385,7 @@ func (c *ApplicationAutoScaling) DescribeScalingActivitiesRequest(input *Describ
|
|||
// * InternalServiceException
|
||||
// The service encountered an internal error.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivities
|
||||
func (c *ApplicationAutoScaling) DescribeScalingActivities(input *DescribeScalingActivitiesInput) (*DescribeScalingActivitiesOutput, error) {
|
||||
req, out := c.DescribeScalingActivitiesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -435,6 +443,7 @@ const opDescribeScalingPolicies = "DescribeScalingPolicies"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingPolicies
|
||||
func (c *ApplicationAutoScaling) DescribeScalingPoliciesRequest(input *DescribeScalingPoliciesInput) (req *request.Request, output *DescribeScalingPoliciesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeScalingPolicies,
|
||||
|
@ -500,6 +509,7 @@ func (c *ApplicationAutoScaling) DescribeScalingPoliciesRequest(input *DescribeS
|
|||
// * InternalServiceException
|
||||
// The service encountered an internal error.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingPolicies
|
||||
func (c *ApplicationAutoScaling) DescribeScalingPolicies(input *DescribeScalingPoliciesInput) (*DescribeScalingPoliciesOutput, error) {
|
||||
req, out := c.DescribeScalingPoliciesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -557,6 +567,7 @@ const opPutScalingPolicy = "PutScalingPolicy"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicy
|
||||
func (c *ApplicationAutoScaling) PutScalingPolicyRequest(input *PutScalingPolicyInput) (req *request.Request, output *PutScalingPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutScalingPolicy,
|
||||
|
@ -622,6 +633,7 @@ func (c *ApplicationAutoScaling) PutScalingPolicyRequest(input *PutScalingPolicy
|
|||
// * InternalServiceException
|
||||
// The service encountered an internal error.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicy
|
||||
func (c *ApplicationAutoScaling) PutScalingPolicy(input *PutScalingPolicyInput) (*PutScalingPolicyOutput, error) {
|
||||
req, out := c.PutScalingPolicyRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -654,6 +666,7 @@ const opRegisterScalableTarget = "RegisterScalableTarget"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTarget
|
||||
func (c *ApplicationAutoScaling) RegisterScalableTargetRequest(input *RegisterScalableTargetInput) (req *request.Request, output *RegisterScalableTargetOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opRegisterScalableTarget,
|
||||
|
@ -707,6 +720,7 @@ func (c *ApplicationAutoScaling) RegisterScalableTargetRequest(input *RegisterSc
|
|||
// * InternalServiceException
|
||||
// The service encountered an internal error.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTarget
|
||||
func (c *ApplicationAutoScaling) RegisterScalableTarget(input *RegisterScalableTargetInput) (*RegisterScalableTargetOutput, error) {
|
||||
req, out := c.RegisterScalableTargetRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -714,6 +728,7 @@ func (c *ApplicationAutoScaling) RegisterScalableTarget(input *RegisterScalableT
|
|||
}
|
||||
|
||||
// Represents a CloudWatch alarm associated with a scaling policy.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/Alarm
|
||||
type Alarm struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -750,6 +765,7 @@ func (s *Alarm) SetAlarmName(v string) *Alarm {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicyRequest
|
||||
type DeleteScalingPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -857,6 +873,7 @@ func (s *DeleteScalingPolicyInput) SetServiceNamespace(v string) *DeleteScalingP
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicyResponse
|
||||
type DeleteScalingPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -871,6 +888,7 @@ func (s DeleteScalingPolicyOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTargetRequest
|
||||
type DeregisterScalableTargetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -961,6 +979,7 @@ func (s *DeregisterScalableTargetInput) SetServiceNamespace(v string) *Deregiste
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTargetResponse
|
||||
type DeregisterScalableTargetOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -975,6 +994,7 @@ func (s DeregisterScalableTargetOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargetsRequest
|
||||
type DescribeScalableTargetsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1078,6 +1098,7 @@ func (s *DescribeScalableTargetsInput) SetServiceNamespace(v string) *DescribeSc
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargetsResponse
|
||||
type DescribeScalableTargetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1111,6 +1132,7 @@ func (s *DescribeScalableTargetsOutput) SetScalableTargets(v []*ScalableTarget)
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivitiesRequest
|
||||
type DescribeScalingActivitiesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1217,6 +1239,7 @@ func (s *DescribeScalingActivitiesInput) SetServiceNamespace(v string) *Describe
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivitiesResponse
|
||||
type DescribeScalingActivitiesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1250,6 +1273,7 @@ func (s *DescribeScalingActivitiesOutput) SetScalingActivities(v []*ScalingActiv
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingPoliciesRequest
|
||||
type DescribeScalingPoliciesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1365,6 +1389,7 @@ func (s *DescribeScalingPoliciesInput) SetServiceNamespace(v string) *DescribeSc
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingPoliciesResponse
|
||||
type DescribeScalingPoliciesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1398,6 +1423,7 @@ func (s *DescribeScalingPoliciesOutput) SetScalingPolicies(v []*ScalingPolicy) *
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicyRequest
|
||||
type PutScalingPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1532,6 +1558,7 @@ func (s *PutScalingPolicyInput) SetStepScalingPolicyConfiguration(v *StepScaling
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicyResponse
|
||||
type PutScalingPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1557,6 +1584,7 @@ func (s *PutScalingPolicyOutput) SetPolicyARN(v string) *PutScalingPolicyOutput
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTargetRequest
|
||||
type RegisterScalableTargetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1683,6 +1711,7 @@ func (s *RegisterScalableTargetInput) SetServiceNamespace(v string) *RegisterSca
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTargetResponse
|
||||
type RegisterScalableTargetOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1698,6 +1727,7 @@ func (s RegisterScalableTargetOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Represents a scalable target.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScalableTarget
|
||||
type ScalableTarget struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1812,6 +1842,7 @@ func (s *ScalableTarget) SetServiceNamespace(v string) *ScalableTarget {
|
|||
}
|
||||
|
||||
// Represents a scaling activity.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScalingActivity
|
||||
type ScalingActivity struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1963,6 +1994,7 @@ func (s *ScalingActivity) SetStatusMessage(v string) *ScalingActivity {
|
|||
}
|
||||
|
||||
// Represents a scaling policy.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScalingPolicy
|
||||
type ScalingPolicy struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2121,6 +2153,7 @@ func (s *ScalingPolicy) SetStepScalingPolicyConfiguration(v *StepScalingPolicyCo
|
|||
// with a null upper bound.
|
||||
//
|
||||
// * The upper and lower bound can't be null in the same step adjustment.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/StepAdjustment
|
||||
type StepAdjustment struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2191,6 +2224,7 @@ func (s *StepAdjustment) SetScalingAdjustment(v int64) *StepAdjustment {
|
|||
}
|
||||
|
||||
// Represents a step scaling policy configuration.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/StepScalingPolicyConfiguration
|
||||
type StepScalingPolicyConfiguration struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -38,8 +38,9 @@ import (
|
|||
// For a list of supported regions, see AWS Regions and Endpoints: Application
|
||||
// Auto Scaling (http://docs.aws.amazon.com/general/latest/gr/rande.html#as-app_region)
|
||||
// in the AWS General Reference.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06
|
||||
type ApplicationAutoScaling struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -50,8 +51,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "autoscaling"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "autoscaling" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = "application-autoscaling" // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ApplicationAutoScaling client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -64,7 +68,7 @@ const ServiceName = "autoscaling"
|
|||
// // Create a ApplicationAutoScaling client with additional configuration
|
||||
// svc := applicationautoscaling.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ApplicationAutoScaling {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -14,8 +14,9 @@ import (
|
|||
// Auto Scaling is designed to automatically launch or terminate EC2 instances
|
||||
// based on user-defined policies, schedules, and health checks. Use this service
|
||||
// in conjunction with the Amazon CloudWatch and Elastic Load Balancing services.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01
|
||||
type AutoScaling struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -26,8 +27,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "autoscaling"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "autoscaling" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the AutoScaling client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -40,7 +44,7 @@ const ServiceName = "autoscaling"
|
|||
// // Create a AutoScaling client with additional configuration
|
||||
// svc := autoscaling.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *AutoScaling {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ const opCancelUpdateStack = "CancelUpdateStack"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStack
|
||||
func (c *CloudFormation) CancelUpdateStackRequest(input *CancelUpdateStackInput) (req *request.Request, output *CancelUpdateStackOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCancelUpdateStack,
|
||||
|
@ -70,6 +71,7 @@ func (c *CloudFormation) CancelUpdateStackRequest(input *CancelUpdateStackInput)
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation CancelUpdateStack for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStack
|
||||
func (c *CloudFormation) CancelUpdateStack(input *CancelUpdateStackInput) (*CancelUpdateStackOutput, error) {
|
||||
req, out := c.CancelUpdateStackRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -102,6 +104,7 @@ const opContinueUpdateRollback = "ContinueUpdateRollback"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollback
|
||||
func (c *CloudFormation) ContinueUpdateRollbackRequest(input *ContinueUpdateRollbackInput) (req *request.Request, output *ContinueUpdateRollbackOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opContinueUpdateRollback,
|
||||
|
@ -141,6 +144,7 @@ func (c *CloudFormation) ContinueUpdateRollbackRequest(input *ContinueUpdateRoll
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation ContinueUpdateRollback for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollback
|
||||
func (c *CloudFormation) ContinueUpdateRollback(input *ContinueUpdateRollbackInput) (*ContinueUpdateRollbackOutput, error) {
|
||||
req, out := c.ContinueUpdateRollbackRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -173,6 +177,7 @@ const opCreateChangeSet = "CreateChangeSet"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet
|
||||
func (c *CloudFormation) CreateChangeSetRequest(input *CreateChangeSetInput) (req *request.Request, output *CreateChangeSetOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateChangeSet,
|
||||
|
@ -225,6 +230,7 @@ func (c *CloudFormation) CreateChangeSetRequest(input *CreateChangeSetInput) (re
|
|||
// * LimitExceededException
|
||||
// Quota for the resource has already been reached.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet
|
||||
func (c *CloudFormation) CreateChangeSet(input *CreateChangeSetInput) (*CreateChangeSetOutput, error) {
|
||||
req, out := c.CreateChangeSetRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -257,6 +263,7 @@ const opCreateStack = "CreateStack"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStack
|
||||
func (c *CloudFormation) CreateStackRequest(input *CreateStackInput) (req *request.Request, output *CreateStackOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateStack,
|
||||
|
@ -298,6 +305,7 @@ func (c *CloudFormation) CreateStackRequest(input *CreateStackInput) (req *reque
|
|||
// The template contains resources with capabilities that were not specified
|
||||
// in the Capabilities parameter.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStack
|
||||
func (c *CloudFormation) CreateStack(input *CreateStackInput) (*CreateStackOutput, error) {
|
||||
req, out := c.CreateStackRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -330,6 +338,7 @@ const opDeleteChangeSet = "DeleteChangeSet"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSet
|
||||
func (c *CloudFormation) DeleteChangeSetRequest(input *DeleteChangeSetInput) (req *request.Request, output *DeleteChangeSetOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteChangeSet,
|
||||
|
@ -368,6 +377,7 @@ func (c *CloudFormation) DeleteChangeSetRequest(input *DeleteChangeSetInput) (re
|
|||
// the change set status might be CREATE_IN_PROGRESS or the stack status might
|
||||
// be UPDATE_IN_PROGRESS.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSet
|
||||
func (c *CloudFormation) DeleteChangeSet(input *DeleteChangeSetInput) (*DeleteChangeSetOutput, error) {
|
||||
req, out := c.DeleteChangeSetRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -400,6 +410,7 @@ const opDeleteStack = "DeleteStack"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStack
|
||||
func (c *CloudFormation) DeleteStackRequest(input *DeleteStackInput) (req *request.Request, output *DeleteStackOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteStack,
|
||||
|
@ -431,6 +442,7 @@ func (c *CloudFormation) DeleteStackRequest(input *DeleteStackInput) (req *reque
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation DeleteStack for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStack
|
||||
func (c *CloudFormation) DeleteStack(input *DeleteStackInput) (*DeleteStackOutput, error) {
|
||||
req, out := c.DeleteStackRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -463,6 +475,7 @@ const opDescribeAccountLimits = "DescribeAccountLimits"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimits
|
||||
func (c *CloudFormation) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) (req *request.Request, output *DescribeAccountLimitsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeAccountLimits,
|
||||
|
@ -491,6 +504,7 @@ func (c *CloudFormation) DescribeAccountLimitsRequest(input *DescribeAccountLimi
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation DescribeAccountLimits for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimits
|
||||
func (c *CloudFormation) DescribeAccountLimits(input *DescribeAccountLimitsInput) (*DescribeAccountLimitsOutput, error) {
|
||||
req, out := c.DescribeAccountLimitsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -523,6 +537,7 @@ const opDescribeChangeSet = "DescribeChangeSet"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSet
|
||||
func (c *CloudFormation) DescribeChangeSetRequest(input *DescribeChangeSetInput) (req *request.Request, output *DescribeChangeSetOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeChangeSet,
|
||||
|
@ -559,6 +574,7 @@ func (c *CloudFormation) DescribeChangeSetRequest(input *DescribeChangeSetInput)
|
|||
// The specified change set name or ID doesn't exit. To view valid change sets
|
||||
// for a stack, use the ListChangeSets action.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSet
|
||||
func (c *CloudFormation) DescribeChangeSet(input *DescribeChangeSetInput) (*DescribeChangeSetOutput, error) {
|
||||
req, out := c.DescribeChangeSetRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -591,6 +607,7 @@ const opDescribeStackEvents = "DescribeStackEvents"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEvents
|
||||
func (c *CloudFormation) DescribeStackEventsRequest(input *DescribeStackEventsInput) (req *request.Request, output *DescribeStackEventsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeStackEvents,
|
||||
|
@ -629,6 +646,7 @@ func (c *CloudFormation) DescribeStackEventsRequest(input *DescribeStackEventsIn
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation DescribeStackEvents for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEvents
|
||||
func (c *CloudFormation) DescribeStackEvents(input *DescribeStackEventsInput) (*DescribeStackEventsOutput, error) {
|
||||
req, out := c.DescribeStackEventsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -686,6 +704,7 @@ const opDescribeStackResource = "DescribeStackResource"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResource
|
||||
func (c *CloudFormation) DescribeStackResourceRequest(input *DescribeStackResourceInput) (req *request.Request, output *DescribeStackResourceOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeStackResource,
|
||||
|
@ -716,6 +735,7 @@ func (c *CloudFormation) DescribeStackResourceRequest(input *DescribeStackResour
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation DescribeStackResource for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResource
|
||||
func (c *CloudFormation) DescribeStackResource(input *DescribeStackResourceInput) (*DescribeStackResourceOutput, error) {
|
||||
req, out := c.DescribeStackResourceRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -748,6 +768,7 @@ const opDescribeStackResources = "DescribeStackResources"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResources
|
||||
func (c *CloudFormation) DescribeStackResourcesRequest(input *DescribeStackResourcesInput) (req *request.Request, output *DescribeStackResourcesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeStackResources,
|
||||
|
@ -792,6 +813,7 @@ func (c *CloudFormation) DescribeStackResourcesRequest(input *DescribeStackResou
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation DescribeStackResources for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResources
|
||||
func (c *CloudFormation) DescribeStackResources(input *DescribeStackResourcesInput) (*DescribeStackResourcesOutput, error) {
|
||||
req, out := c.DescribeStackResourcesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -824,6 +846,7 @@ const opDescribeStacks = "DescribeStacks"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacks
|
||||
func (c *CloudFormation) DescribeStacksRequest(input *DescribeStacksInput) (req *request.Request, output *DescribeStacksOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeStacks,
|
||||
|
@ -860,6 +883,7 @@ func (c *CloudFormation) DescribeStacksRequest(input *DescribeStacksInput) (req
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation DescribeStacks for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacks
|
||||
func (c *CloudFormation) DescribeStacks(input *DescribeStacksInput) (*DescribeStacksOutput, error) {
|
||||
req, out := c.DescribeStacksRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -917,6 +941,7 @@ const opEstimateTemplateCost = "EstimateTemplateCost"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCost
|
||||
func (c *CloudFormation) EstimateTemplateCostRequest(input *EstimateTemplateCostInput) (req *request.Request, output *EstimateTemplateCostOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opEstimateTemplateCost,
|
||||
|
@ -946,6 +971,7 @@ func (c *CloudFormation) EstimateTemplateCostRequest(input *EstimateTemplateCost
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation EstimateTemplateCost for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCost
|
||||
func (c *CloudFormation) EstimateTemplateCost(input *EstimateTemplateCostInput) (*EstimateTemplateCostOutput, error) {
|
||||
req, out := c.EstimateTemplateCostRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -978,6 +1004,7 @@ const opExecuteChangeSet = "ExecuteChangeSet"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSet
|
||||
func (c *CloudFormation) ExecuteChangeSetRequest(input *ExecuteChangeSetInput) (req *request.Request, output *ExecuteChangeSetOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opExecuteChangeSet,
|
||||
|
@ -1031,6 +1058,7 @@ func (c *CloudFormation) ExecuteChangeSetRequest(input *ExecuteChangeSetInput) (
|
|||
// The template contains resources with capabilities that were not specified
|
||||
// in the Capabilities parameter.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSet
|
||||
func (c *CloudFormation) ExecuteChangeSet(input *ExecuteChangeSetInput) (*ExecuteChangeSetOutput, error) {
|
||||
req, out := c.ExecuteChangeSetRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1063,6 +1091,7 @@ const opGetStackPolicy = "GetStackPolicy"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicy
|
||||
func (c *CloudFormation) GetStackPolicyRequest(input *GetStackPolicyInput) (req *request.Request, output *GetStackPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetStackPolicy,
|
||||
|
@ -1091,6 +1120,7 @@ func (c *CloudFormation) GetStackPolicyRequest(input *GetStackPolicyInput) (req
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation GetStackPolicy for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicy
|
||||
func (c *CloudFormation) GetStackPolicy(input *GetStackPolicyInput) (*GetStackPolicyOutput, error) {
|
||||
req, out := c.GetStackPolicyRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1123,6 +1153,7 @@ const opGetTemplate = "GetTemplate"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplate
|
||||
func (c *CloudFormation) GetTemplateRequest(input *GetTemplateInput) (req *request.Request, output *GetTemplateOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetTemplate,
|
||||
|
@ -1162,6 +1193,7 @@ func (c *CloudFormation) GetTemplateRequest(input *GetTemplateInput) (req *reque
|
|||
// The specified change set name or ID doesn't exit. To view valid change sets
|
||||
// for a stack, use the ListChangeSets action.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplate
|
||||
func (c *CloudFormation) GetTemplate(input *GetTemplateInput) (*GetTemplateOutput, error) {
|
||||
req, out := c.GetTemplateRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1194,6 +1226,7 @@ const opGetTemplateSummary = "GetTemplateSummary"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummary
|
||||
func (c *CloudFormation) GetTemplateSummaryRequest(input *GetTemplateSummaryInput) (req *request.Request, output *GetTemplateSummaryOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetTemplateSummary,
|
||||
|
@ -1230,6 +1263,7 @@ func (c *CloudFormation) GetTemplateSummaryRequest(input *GetTemplateSummaryInpu
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation GetTemplateSummary for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummary
|
||||
func (c *CloudFormation) GetTemplateSummary(input *GetTemplateSummaryInput) (*GetTemplateSummaryOutput, error) {
|
||||
req, out := c.GetTemplateSummaryRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1262,6 +1296,7 @@ const opListChangeSets = "ListChangeSets"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSets
|
||||
func (c *CloudFormation) ListChangeSetsRequest(input *ListChangeSetsInput) (req *request.Request, output *ListChangeSetsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListChangeSets,
|
||||
|
@ -1291,6 +1326,7 @@ func (c *CloudFormation) ListChangeSetsRequest(input *ListChangeSetsInput) (req
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation ListChangeSets for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSets
|
||||
func (c *CloudFormation) ListChangeSets(input *ListChangeSetsInput) (*ListChangeSetsOutput, error) {
|
||||
req, out := c.ListChangeSetsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1323,6 +1359,7 @@ const opListExports = "ListExports"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExports
|
||||
func (c *CloudFormation) ListExportsRequest(input *ListExportsInput) (req *request.Request, output *ListExportsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListExports,
|
||||
|
@ -1356,6 +1393,7 @@ func (c *CloudFormation) ListExportsRequest(input *ListExportsInput) (req *reque
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation ListExports for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExports
|
||||
func (c *CloudFormation) ListExports(input *ListExportsInput) (*ListExportsOutput, error) {
|
||||
req, out := c.ListExportsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1388,6 +1426,7 @@ const opListImports = "ListImports"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImports
|
||||
func (c *CloudFormation) ListImportsRequest(input *ListImportsInput) (req *request.Request, output *ListImportsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListImports,
|
||||
|
@ -1421,6 +1460,7 @@ func (c *CloudFormation) ListImportsRequest(input *ListImportsInput) (req *reque
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation ListImports for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImports
|
||||
func (c *CloudFormation) ListImports(input *ListImportsInput) (*ListImportsOutput, error) {
|
||||
req, out := c.ListImportsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1453,6 +1493,7 @@ const opListStackResources = "ListStackResources"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResources
|
||||
func (c *CloudFormation) ListStackResourcesRequest(input *ListStackResourcesInput) (req *request.Request, output *ListStackResourcesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListStackResources,
|
||||
|
@ -1489,6 +1530,7 @@ func (c *CloudFormation) ListStackResourcesRequest(input *ListStackResourcesInpu
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation ListStackResources for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResources
|
||||
func (c *CloudFormation) ListStackResources(input *ListStackResourcesInput) (*ListStackResourcesOutput, error) {
|
||||
req, out := c.ListStackResourcesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1546,6 +1588,7 @@ const opListStacks = "ListStacks"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacks
|
||||
func (c *CloudFormation) ListStacksRequest(input *ListStacksInput) (req *request.Request, output *ListStacksOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListStacks,
|
||||
|
@ -1583,6 +1626,7 @@ func (c *CloudFormation) ListStacksRequest(input *ListStacksInput) (req *request
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation ListStacks for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacks
|
||||
func (c *CloudFormation) ListStacks(input *ListStacksInput) (*ListStacksOutput, error) {
|
||||
req, out := c.ListStacksRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1640,6 +1684,7 @@ const opSetStackPolicy = "SetStackPolicy"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicy
|
||||
func (c *CloudFormation) SetStackPolicyRequest(input *SetStackPolicyInput) (req *request.Request, output *SetStackPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSetStackPolicy,
|
||||
|
@ -1669,6 +1714,7 @@ func (c *CloudFormation) SetStackPolicyRequest(input *SetStackPolicyInput) (req
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation SetStackPolicy for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicy
|
||||
func (c *CloudFormation) SetStackPolicy(input *SetStackPolicyInput) (*SetStackPolicyOutput, error) {
|
||||
req, out := c.SetStackPolicyRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1701,6 +1747,7 @@ const opSignalResource = "SignalResource"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResource
|
||||
func (c *CloudFormation) SignalResourceRequest(input *SignalResourceInput) (req *request.Request, output *SignalResourceOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSignalResource,
|
||||
|
@ -1735,6 +1782,7 @@ func (c *CloudFormation) SignalResourceRequest(input *SignalResourceInput) (req
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation SignalResource for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResource
|
||||
func (c *CloudFormation) SignalResource(input *SignalResourceInput) (*SignalResourceOutput, error) {
|
||||
req, out := c.SignalResourceRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1767,6 +1815,7 @@ const opUpdateStack = "UpdateStack"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStack
|
||||
func (c *CloudFormation) UpdateStackRequest(input *UpdateStackInput) (req *request.Request, output *UpdateStackOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdateStack,
|
||||
|
@ -1808,6 +1857,7 @@ func (c *CloudFormation) UpdateStackRequest(input *UpdateStackInput) (req *reque
|
|||
// The template contains resources with capabilities that were not specified
|
||||
// in the Capabilities parameter.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStack
|
||||
func (c *CloudFormation) UpdateStack(input *UpdateStackInput) (*UpdateStackOutput, error) {
|
||||
req, out := c.UpdateStackRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1840,6 +1890,7 @@ const opValidateTemplate = "ValidateTemplate"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplate
|
||||
func (c *CloudFormation) ValidateTemplateRequest(input *ValidateTemplateInput) (req *request.Request, output *ValidateTemplateOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opValidateTemplate,
|
||||
|
@ -1870,6 +1921,7 @@ func (c *CloudFormation) ValidateTemplateRequest(input *ValidateTemplateInput) (
|
|||
//
|
||||
// See the AWS API reference guide for AWS CloudFormation's
|
||||
// API operation ValidateTemplate for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplate
|
||||
func (c *CloudFormation) ValidateTemplate(input *ValidateTemplateInput) (*ValidateTemplateOutput, error) {
|
||||
req, out := c.ValidateTemplateRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1877,6 +1929,7 @@ func (c *CloudFormation) ValidateTemplate(input *ValidateTemplateInput) (*Valida
|
|||
}
|
||||
|
||||
// The AccountLimit data type.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/AccountLimit
|
||||
type AccountLimit struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1910,6 +1963,7 @@ func (s *AccountLimit) SetValue(v int64) *AccountLimit {
|
|||
}
|
||||
|
||||
// The input for the CancelUpdateStack action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStackInput
|
||||
type CancelUpdateStackInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1948,6 +2002,7 @@ func (s *CancelUpdateStackInput) SetStackName(v string) *CancelUpdateStackInput
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStackOutput
|
||||
type CancelUpdateStackOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1964,6 +2019,7 @@ func (s CancelUpdateStackOutput) GoString() string {
|
|||
|
||||
// The Change structure describes the changes AWS CloudFormation will perform
|
||||
// if you execute the change set.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Change
|
||||
type Change struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2000,6 +2056,7 @@ func (s *Change) SetType(v string) *Change {
|
|||
|
||||
// The ChangeSetSummary structure describes a change set, its status, and the
|
||||
// stack with which it's associated.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ChangeSetSummary
|
||||
type ChangeSetSummary struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2102,6 +2159,7 @@ func (s *ChangeSetSummary) SetStatusReason(v string) *ChangeSetSummary {
|
|||
}
|
||||
|
||||
// The input for the ContinueUpdateRollback action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollbackInput
|
||||
type ContinueUpdateRollbackInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2206,6 +2264,7 @@ func (s *ContinueUpdateRollbackInput) SetStackName(v string) *ContinueUpdateRoll
|
|||
}
|
||||
|
||||
// The output for a ContinueUpdateRollback action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollbackOutput
|
||||
type ContinueUpdateRollbackOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2221,6 +2280,7 @@ func (s ContinueUpdateRollbackOutput) GoString() string {
|
|||
}
|
||||
|
||||
// The input for the CreateChangeSet action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSetInput
|
||||
type CreateChangeSetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2483,6 +2543,7 @@ func (s *CreateChangeSetInput) SetUsePreviousTemplate(v bool) *CreateChangeSetIn
|
|||
}
|
||||
|
||||
// The output for the CreateChangeSet action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSetOutput
|
||||
type CreateChangeSetOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2516,6 +2577,7 @@ func (s *CreateChangeSetOutput) SetStackId(v string) *CreateChangeSetOutput {
|
|||
}
|
||||
|
||||
// The input for CreateStack action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInput
|
||||
type CreateStackInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2774,6 +2836,7 @@ func (s *CreateStackInput) SetTimeoutInMinutes(v int64) *CreateStackInput {
|
|||
}
|
||||
|
||||
// The output for a CreateStack action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackOutput
|
||||
type CreateStackOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2798,6 +2861,7 @@ func (s *CreateStackOutput) SetStackId(v string) *CreateStackOutput {
|
|||
}
|
||||
|
||||
// The input for the DeleteChangeSet action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSetInput
|
||||
type DeleteChangeSetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2854,6 +2918,7 @@ func (s *DeleteChangeSetInput) SetStackName(v string) *DeleteChangeSetInput {
|
|||
}
|
||||
|
||||
// The output for the DeleteChangeSet action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSetOutput
|
||||
type DeleteChangeSetOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2869,6 +2934,7 @@ func (s DeleteChangeSetOutput) GoString() string {
|
|||
}
|
||||
|
||||
// The input for DeleteStack action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInput
|
||||
type DeleteStackInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2939,6 +3005,7 @@ func (s *DeleteStackInput) SetStackName(v string) *DeleteStackInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackOutput
|
||||
type DeleteStackOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2954,6 +3021,7 @@ func (s DeleteStackOutput) GoString() string {
|
|||
}
|
||||
|
||||
// The input for the DescribeAccountLimits action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimitsInput
|
||||
type DescribeAccountLimitsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2991,6 +3059,7 @@ func (s *DescribeAccountLimitsInput) SetNextToken(v string) *DescribeAccountLimi
|
|||
}
|
||||
|
||||
// The output for the DescribeAccountLimits action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimitsOutput
|
||||
type DescribeAccountLimitsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3026,6 +3095,7 @@ func (s *DescribeAccountLimitsOutput) SetNextToken(v string) *DescribeAccountLim
|
|||
}
|
||||
|
||||
// The input for the DescribeChangeSet action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetInput
|
||||
type DescribeChangeSetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3095,6 +3165,7 @@ func (s *DescribeChangeSetInput) SetStackName(v string) *DescribeChangeSetInput
|
|||
}
|
||||
|
||||
// The output for the DescribeChangeSet action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetOutput
|
||||
type DescribeChangeSetOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3259,6 +3330,7 @@ func (s *DescribeChangeSetOutput) SetTags(v []*Tag) *DescribeChangeSetOutput {
|
|||
}
|
||||
|
||||
// The input for DescribeStackEvents action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEventsInput
|
||||
type DescribeStackEventsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3313,6 +3385,7 @@ func (s *DescribeStackEventsInput) SetStackName(v string) *DescribeStackEventsIn
|
|||
}
|
||||
|
||||
// The output for a DescribeStackEvents action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEventsOutput
|
||||
type DescribeStackEventsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3347,6 +3420,7 @@ func (s *DescribeStackEventsOutput) SetStackEvents(v []*StackEvent) *DescribeSta
|
|||
}
|
||||
|
||||
// The input for DescribeStackResource action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceInput
|
||||
type DescribeStackResourceInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3410,6 +3484,7 @@ func (s *DescribeStackResourceInput) SetStackName(v string) *DescribeStackResour
|
|||
}
|
||||
|
||||
// The output for a DescribeStackResource action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceOutput
|
||||
type DescribeStackResourceOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3435,6 +3510,7 @@ func (s *DescribeStackResourceOutput) SetStackResourceDetail(v *StackResourceDet
|
|||
}
|
||||
|
||||
// The input for DescribeStackResources action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourcesInput
|
||||
type DescribeStackResourcesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3501,6 +3577,7 @@ func (s *DescribeStackResourcesInput) SetStackName(v string) *DescribeStackResou
|
|||
}
|
||||
|
||||
// The output for a DescribeStackResources action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourcesOutput
|
||||
type DescribeStackResourcesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3525,6 +3602,7 @@ func (s *DescribeStackResourcesOutput) SetStackResources(v []*StackResource) *De
|
|||
}
|
||||
|
||||
// The input for DescribeStacks action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacksInput
|
||||
type DescribeStacksInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3579,6 +3657,7 @@ func (s *DescribeStacksInput) SetStackName(v string) *DescribeStacksInput {
|
|||
}
|
||||
|
||||
// The output for a DescribeStacks action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacksOutput
|
||||
type DescribeStacksOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3613,6 +3692,7 @@ func (s *DescribeStacksOutput) SetStacks(v []*Stack) *DescribeStacksOutput {
|
|||
}
|
||||
|
||||
// The input for an EstimateTemplateCost action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCostInput
|
||||
type EstimateTemplateCostInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3683,6 +3763,7 @@ func (s *EstimateTemplateCostInput) SetTemplateURL(v string) *EstimateTemplateCo
|
|||
}
|
||||
|
||||
// The output for a EstimateTemplateCost action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCostOutput
|
||||
type EstimateTemplateCostOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3708,6 +3789,7 @@ func (s *EstimateTemplateCostOutput) SetUrl(v string) *EstimateTemplateCostOutpu
|
|||
}
|
||||
|
||||
// The input for the ExecuteChangeSet action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSetInput
|
||||
type ExecuteChangeSetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3764,6 +3846,7 @@ func (s *ExecuteChangeSetInput) SetStackName(v string) *ExecuteChangeSetInput {
|
|||
}
|
||||
|
||||
// The output for the ExecuteChangeSet action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSetOutput
|
||||
type ExecuteChangeSetOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3779,6 +3862,7 @@ func (s ExecuteChangeSetOutput) GoString() string {
|
|||
}
|
||||
|
||||
// The Export structure describes the exported output values for a stack.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Export
|
||||
type Export struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3824,6 +3908,7 @@ func (s *Export) SetValue(v string) *Export {
|
|||
}
|
||||
|
||||
// The input for the GetStackPolicy action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicyInput
|
||||
type GetStackPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3864,6 +3949,7 @@ func (s *GetStackPolicyInput) SetStackName(v string) *GetStackPolicyInput {
|
|||
}
|
||||
|
||||
// The output for the GetStackPolicy action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicyOutput
|
||||
type GetStackPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3890,6 +3976,7 @@ func (s *GetStackPolicyOutput) SetStackPolicyBody(v string) *GetStackPolicyOutpu
|
|||
}
|
||||
|
||||
// The input for a GetTemplate action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateInput
|
||||
type GetTemplateInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3961,6 +4048,7 @@ func (s *GetTemplateInput) SetTemplateStage(v string) *GetTemplateInput {
|
|||
}
|
||||
|
||||
// The output for GetTemplate action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateOutput
|
||||
type GetTemplateOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4002,6 +4090,7 @@ func (s *GetTemplateOutput) SetTemplateBody(v string) *GetTemplateOutput {
|
|||
}
|
||||
|
||||
// The input for the GetTemplateSummary action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummaryInput
|
||||
type GetTemplateSummaryInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4081,6 +4170,7 @@ func (s *GetTemplateSummaryInput) SetTemplateURL(v string) *GetTemplateSummaryIn
|
|||
}
|
||||
|
||||
// The output for the GetTemplateSummary action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummaryOutput
|
||||
type GetTemplateSummaryOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4179,6 +4269,7 @@ func (s *GetTemplateSummaryOutput) SetVersion(v string) *GetTemplateSummaryOutpu
|
|||
}
|
||||
|
||||
// The input for the ListChangeSets action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSetsInput
|
||||
type ListChangeSetsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4235,6 +4326,7 @@ func (s *ListChangeSetsInput) SetStackName(v string) *ListChangeSetsInput {
|
|||
}
|
||||
|
||||
// The output for the ListChangeSets action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSetsOutput
|
||||
type ListChangeSetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4269,6 +4361,7 @@ func (s *ListChangeSetsOutput) SetSummaries(v []*ChangeSetSummary) *ListChangeSe
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExportsInput
|
||||
type ListExportsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4306,6 +4399,7 @@ func (s *ListExportsInput) SetNextToken(v string) *ListExportsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExportsOutput
|
||||
type ListExportsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4339,6 +4433,7 @@ func (s *ListExportsOutput) SetNextToken(v string) *ListExportsOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImportsInput
|
||||
type ListImportsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4391,6 +4486,7 @@ func (s *ListImportsInput) SetNextToken(v string) *ListImportsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImportsOutput
|
||||
type ListImportsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4425,6 +4521,7 @@ func (s *ListImportsOutput) SetNextToken(v string) *ListImportsOutput {
|
|||
}
|
||||
|
||||
// The input for the ListStackResource action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResourcesInput
|
||||
type ListStackResourcesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4485,6 +4582,7 @@ func (s *ListStackResourcesInput) SetStackName(v string) *ListStackResourcesInpu
|
|||
}
|
||||
|
||||
// The output for a ListStackResources action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResourcesOutput
|
||||
type ListStackResourcesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4519,6 +4617,7 @@ func (s *ListStackResourcesOutput) SetStackResourceSummaries(v []*StackResourceS
|
|||
}
|
||||
|
||||
// The input for ListStacks action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacksInput
|
||||
type ListStacksInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4567,6 +4666,7 @@ func (s *ListStacksInput) SetStackStatusFilter(v []*string) *ListStacksInput {
|
|||
}
|
||||
|
||||
// The output for ListStacks action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacksOutput
|
||||
type ListStacksOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4602,6 +4702,7 @@ func (s *ListStacksOutput) SetStackSummaries(v []*StackSummary) *ListStacksOutpu
|
|||
}
|
||||
|
||||
// The Output data type.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Output
|
||||
type Output struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4644,6 +4745,7 @@ func (s *Output) SetOutputValue(v string) *Output {
|
|||
}
|
||||
|
||||
// The Parameter data type.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Parameter
|
||||
type Parameter struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4692,6 +4794,7 @@ func (s *Parameter) SetUsePreviousValue(v bool) *Parameter {
|
|||
// A set of criteria that AWS CloudFormation uses to validate parameter values.
|
||||
// Although other constraints might be defined in the stack template, AWS CloudFormation
|
||||
// returns only the AllowedValues property.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ParameterConstraints
|
||||
type ParameterConstraints struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4716,6 +4819,7 @@ func (s *ParameterConstraints) SetAllowedValues(v []*string) *ParameterConstrain
|
|||
}
|
||||
|
||||
// The ParameterDeclaration data type.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ParameterDeclaration
|
||||
type ParameterDeclaration struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4787,6 +4891,7 @@ func (s *ParameterDeclaration) SetParameterType(v string) *ParameterDeclaration
|
|||
|
||||
// The ResourceChange structure describes the resource and the action that AWS
|
||||
// CloudFormation will perform on it if you execute this change set.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceChange
|
||||
type ResourceChange struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4881,6 +4986,7 @@ func (s *ResourceChange) SetScope(v []*string) *ResourceChange {
|
|||
|
||||
// For a resource with Modify as the action, the ResourceChange structure describes
|
||||
// the changes AWS CloudFormation will make to that resource.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceChangeDetail
|
||||
type ResourceChangeDetail struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4974,6 +5080,7 @@ func (s *ResourceChangeDetail) SetTarget(v *ResourceTargetDefinition) *ResourceC
|
|||
|
||||
// The field that AWS CloudFormation will change, such as the name of a resource's
|
||||
// property, and whether the resource will be recreated.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceTargetDefinition
|
||||
type ResourceTargetDefinition struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5022,6 +5129,7 @@ func (s *ResourceTargetDefinition) SetRequiresRecreation(v string) *ResourceTarg
|
|||
}
|
||||
|
||||
// The input for the SetStackPolicy action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicyInput
|
||||
type SetStackPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5090,6 +5198,7 @@ func (s *SetStackPolicyInput) SetStackPolicyURL(v string) *SetStackPolicyInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicyOutput
|
||||
type SetStackPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5105,6 +5214,7 @@ func (s SetStackPolicyOutput) GoString() string {
|
|||
}
|
||||
|
||||
// The input for the SignalResource action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResourceInput
|
||||
type SignalResourceInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5197,6 +5307,7 @@ func (s *SignalResourceInput) SetUniqueId(v string) *SignalResourceInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResourceOutput
|
||||
type SignalResourceOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5212,6 +5323,7 @@ func (s SignalResourceOutput) GoString() string {
|
|||
}
|
||||
|
||||
// The Stack data type.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Stack
|
||||
type Stack struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5384,6 +5496,7 @@ func (s *Stack) SetTimeoutInMinutes(v int64) *Stack {
|
|||
}
|
||||
|
||||
// The StackEvent data type.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackEvent
|
||||
type StackEvent struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5500,6 +5613,7 @@ func (s *StackEvent) SetTimestamp(v time.Time) *StackEvent {
|
|||
}
|
||||
|
||||
// The StackResource data type.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResource
|
||||
type StackResource struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5607,6 +5721,7 @@ func (s *StackResource) SetTimestamp(v time.Time) *StackResource {
|
|||
}
|
||||
|
||||
// Contains detailed information about the specified stack resource.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceDetail
|
||||
type StackResourceDetail struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5725,6 +5840,7 @@ func (s *StackResourceDetail) SetStackName(v string) *StackResourceDetail {
|
|||
}
|
||||
|
||||
// Contains high-level information about the specified stack resource.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceSummary
|
||||
type StackResourceSummary struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5805,6 +5921,7 @@ func (s *StackResourceSummary) SetResourceType(v string) *StackResourceSummary {
|
|||
}
|
||||
|
||||
// The StackSummary Data Type
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSummary
|
||||
type StackSummary struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5900,6 +6017,7 @@ func (s *StackSummary) SetTemplateDescription(v string) *StackSummary {
|
|||
|
||||
// The Tag type enables you to specify a key-value pair that can be used to
|
||||
// store information about an AWS CloudFormation stack.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Tag
|
||||
type Tag struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5936,6 +6054,7 @@ func (s *Tag) SetValue(v string) *Tag {
|
|||
}
|
||||
|
||||
// The TemplateParameter data type.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TemplateParameter
|
||||
type TemplateParameter struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5988,6 +6107,7 @@ func (s *TemplateParameter) SetParameterKey(v string) *TemplateParameter {
|
|||
}
|
||||
|
||||
// The input for an UpdateStack action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInput
|
||||
type UpdateStackInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6254,6 +6374,7 @@ func (s *UpdateStackInput) SetUsePreviousTemplate(v bool) *UpdateStackInput {
|
|||
}
|
||||
|
||||
// The output for an UpdateStack action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackOutput
|
||||
type UpdateStackOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6278,6 +6399,7 @@ func (s *UpdateStackOutput) SetStackId(v string) *UpdateStackOutput {
|
|||
}
|
||||
|
||||
// The input for ValidateTemplate action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplateInput
|
||||
type ValidateTemplateInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6339,6 +6461,7 @@ func (s *ValidateTemplateInput) SetTemplateURL(v string) *ValidateTemplateInput
|
|||
}
|
||||
|
||||
// The output for ValidateTemplate action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplateOutput
|
||||
type ValidateTemplateOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -27,11 +27,12 @@ import (
|
|||
// For more information about AWS CloudFormation, see the AWS CloudFormation
|
||||
// Product Page (http://aws.amazon.com/cloudformation/).
|
||||
//
|
||||
// Amazon CloudFormation makes use of other AWS products. If you need additional
|
||||
// technical information about a specific AWS product, you can find the product's
|
||||
// technical documentation at http://docs.aws.amazon.com/ (http://docs.aws.amazon.com/http:/docs.aws.amazon.com/).
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// Amazon CloudFormation makes use of other AWS products. For additional technical
|
||||
// information about a specific AWS product, see its technical documentation
|
||||
// (http://docs.aws.amazon.com/).
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15
|
||||
type CloudFormation struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -42,8 +43,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "cloudformation"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "cloudformation" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudFormation client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -56,7 +60,7 @@ const ServiceName = "cloudformation"
|
|||
// // Create a CloudFormation client with additional configuration
|
||||
// svc := cloudformation.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudFormation {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -15,8 +15,9 @@ import (
|
|||
// who need detailed information about the CloudFront API actions, data types,
|
||||
// and errors. For detailed information about CloudFront features and their
|
||||
// associated API calls, see the Amazon CloudFront Developer Guide.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2016-11-25
|
||||
type CloudFront struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -27,8 +28,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "cloudfront"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "cloudfront" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudFront client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -41,7 +45,7 @@ const ServiceName = "cloudfront"
|
|||
// // Create a CloudFront client with additional configuration
|
||||
// svc := cloudfront.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudFront {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@ const opAddTags = "AddTags"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTags
|
||||
func (c *CloudTrail) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opAddTags,
|
||||
|
@ -114,6 +115,7 @@ func (c *CloudTrail) AddTagsRequest(input *AddTagsInput) (req *request.Request,
|
|||
// * OperationNotPermittedException
|
||||
// This exception is thrown when the requested operation is not permitted.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTags
|
||||
func (c *CloudTrail) AddTags(input *AddTagsInput) (*AddTagsOutput, error) {
|
||||
req, out := c.AddTagsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -146,6 +148,7 @@ const opCreateTrail = "CreateTrail"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrail
|
||||
func (c *CloudTrail) CreateTrailRequest(input *CreateTrailInput) (req *request.Request, output *CreateTrailOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateTrail,
|
||||
|
@ -257,6 +260,7 @@ func (c *CloudTrail) CreateTrailRequest(input *CreateTrailInput) (req *request.R
|
|||
// * OperationNotPermittedException
|
||||
// This exception is thrown when the requested operation is not permitted.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrail
|
||||
func (c *CloudTrail) CreateTrail(input *CreateTrailInput) (*CreateTrailOutput, error) {
|
||||
req, out := c.CreateTrailRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -289,6 +293,7 @@ const opDeleteTrail = "DeleteTrail"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrail
|
||||
func (c *CloudTrail) DeleteTrailRequest(input *DeleteTrailInput) (req *request.Request, output *DeleteTrailOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteTrail,
|
||||
|
@ -343,6 +348,7 @@ func (c *CloudTrail) DeleteTrailRequest(input *DeleteTrailInput) (req *request.R
|
|||
// This exception is thrown when an operation is called on a trail from a region
|
||||
// other than the region in which the trail was created.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrail
|
||||
func (c *CloudTrail) DeleteTrail(input *DeleteTrailInput) (*DeleteTrailOutput, error) {
|
||||
req, out := c.DeleteTrailRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -375,6 +381,7 @@ const opDescribeTrails = "DescribeTrails"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrails
|
||||
func (c *CloudTrail) DescribeTrailsRequest(input *DescribeTrailsInput) (req *request.Request, output *DescribeTrailsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeTrails,
|
||||
|
@ -411,6 +418,7 @@ func (c *CloudTrail) DescribeTrailsRequest(input *DescribeTrailsInput) (req *req
|
|||
// * OperationNotPermittedException
|
||||
// This exception is thrown when the requested operation is not permitted.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrails
|
||||
func (c *CloudTrail) DescribeTrails(input *DescribeTrailsInput) (*DescribeTrailsOutput, error) {
|
||||
req, out := c.DescribeTrailsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -443,6 +451,7 @@ const opGetEventSelectors = "GetEventSelectors"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectors
|
||||
func (c *CloudTrail) GetEventSelectorsRequest(input *GetEventSelectorsInput) (req *request.Request, output *GetEventSelectorsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetEventSelectors,
|
||||
|
@ -508,6 +517,7 @@ func (c *CloudTrail) GetEventSelectorsRequest(input *GetEventSelectorsInput) (re
|
|||
// * OperationNotPermittedException
|
||||
// This exception is thrown when the requested operation is not permitted.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectors
|
||||
func (c *CloudTrail) GetEventSelectors(input *GetEventSelectorsInput) (*GetEventSelectorsOutput, error) {
|
||||
req, out := c.GetEventSelectorsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -540,6 +550,7 @@ const opGetTrailStatus = "GetTrailStatus"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatus
|
||||
func (c *CloudTrail) GetTrailStatusRequest(input *GetTrailStatusInput) (req *request.Request, output *GetTrailStatusOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetTrailStatus,
|
||||
|
@ -592,6 +603,7 @@ func (c *CloudTrail) GetTrailStatusRequest(input *GetTrailStatusInput) (req *req
|
|||
//
|
||||
// * Not be in IP address format (for example, 192.168.5.4)
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatus
|
||||
func (c *CloudTrail) GetTrailStatus(input *GetTrailStatusInput) (*GetTrailStatusOutput, error) {
|
||||
req, out := c.GetTrailStatusRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -624,6 +636,7 @@ const opListPublicKeys = "ListPublicKeys"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeys
|
||||
func (c *CloudTrail) ListPublicKeysRequest(input *ListPublicKeysInput) (req *request.Request, output *ListPublicKeysOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListPublicKeys,
|
||||
|
@ -673,6 +686,7 @@ func (c *CloudTrail) ListPublicKeysRequest(input *ListPublicKeysInput) (req *req
|
|||
// * InvalidTokenException
|
||||
// Reserved for future use.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeys
|
||||
func (c *CloudTrail) ListPublicKeys(input *ListPublicKeysInput) (*ListPublicKeysOutput, error) {
|
||||
req, out := c.ListPublicKeysRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -705,6 +719,7 @@ const opListTags = "ListTags"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTags
|
||||
func (c *CloudTrail) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListTags,
|
||||
|
@ -772,6 +787,7 @@ func (c *CloudTrail) ListTagsRequest(input *ListTagsInput) (req *request.Request
|
|||
// * InvalidTokenException
|
||||
// Reserved for future use.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTags
|
||||
func (c *CloudTrail) ListTags(input *ListTagsInput) (*ListTagsOutput, error) {
|
||||
req, out := c.ListTagsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -804,11 +820,18 @@ const opLookupEvents = "LookupEvents"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEvents
|
||||
func (c *CloudTrail) LookupEventsRequest(input *LookupEventsInput) (req *request.Request, output *LookupEventsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opLookupEvents,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
Paginator: &request.Paginator{
|
||||
InputTokens: []string{"NextToken"},
|
||||
OutputTokens: []string{"NextToken"},
|
||||
LimitToken: "MaxResults",
|
||||
TruncationToken: "",
|
||||
},
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
|
@ -870,12 +893,38 @@ func (c *CloudTrail) LookupEventsRequest(input *LookupEventsInput) (req *request
|
|||
// Invalid token or token that was previously used in a request with different
|
||||
// parameters. This exception is thrown if the token is invalid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEvents
|
||||
func (c *CloudTrail) LookupEvents(input *LookupEventsInput) (*LookupEventsOutput, error) {
|
||||
req, out := c.LookupEventsRequest(input)
|
||||
err := req.Send()
|
||||
return out, err
|
||||
}
|
||||
|
||||
// LookupEventsPages iterates over the pages of a LookupEvents operation,
|
||||
// calling the "fn" function with the response data for each page. To stop
|
||||
// iterating, return false from the fn function.
|
||||
//
|
||||
// See LookupEvents method for more information on how to use this operation.
|
||||
//
|
||||
// Note: This operation can generate multiple requests to a service.
|
||||
//
|
||||
// // Example iterating over at most 3 pages of a LookupEvents operation.
|
||||
// pageNum := 0
|
||||
// err := client.LookupEventsPages(params,
|
||||
// func(page *LookupEventsOutput, lastPage bool) bool {
|
||||
// pageNum++
|
||||
// fmt.Println(page)
|
||||
// return pageNum <= 3
|
||||
// })
|
||||
//
|
||||
func (c *CloudTrail) LookupEventsPages(input *LookupEventsInput, fn func(p *LookupEventsOutput, lastPage bool) (shouldContinue bool)) error {
|
||||
page, _ := c.LookupEventsRequest(input)
|
||||
page.Handlers.Build.PushBack(request.MakeAddToUserAgentFreeFormHandler("Paginator"))
|
||||
return page.EachPage(func(p interface{}, lastPage bool) bool {
|
||||
return fn(p.(*LookupEventsOutput), lastPage)
|
||||
})
|
||||
}
|
||||
|
||||
const opPutEventSelectors = "PutEventSelectors"
|
||||
|
||||
// PutEventSelectorsRequest generates a "aws/request.Request" representing the
|
||||
|
@ -902,6 +951,7 @@ const opPutEventSelectors = "PutEventSelectors"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectors
|
||||
func (c *CloudTrail) PutEventSelectorsRequest(input *PutEventSelectorsInput) (req *request.Request, output *PutEventSelectorsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutEventSelectors,
|
||||
|
@ -999,6 +1049,7 @@ func (c *CloudTrail) PutEventSelectorsRequest(input *PutEventSelectorsInput) (re
|
|||
// * OperationNotPermittedException
|
||||
// This exception is thrown when the requested operation is not permitted.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectors
|
||||
func (c *CloudTrail) PutEventSelectors(input *PutEventSelectorsInput) (*PutEventSelectorsOutput, error) {
|
||||
req, out := c.PutEventSelectorsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1031,6 +1082,7 @@ const opRemoveTags = "RemoveTags"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTags
|
||||
func (c *CloudTrail) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opRemoveTags,
|
||||
|
@ -1099,6 +1151,7 @@ func (c *CloudTrail) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Req
|
|||
// * OperationNotPermittedException
|
||||
// This exception is thrown when the requested operation is not permitted.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTags
|
||||
func (c *CloudTrail) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) {
|
||||
req, out := c.RemoveTagsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1131,6 +1184,7 @@ const opStartLogging = "StartLogging"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLogging
|
||||
func (c *CloudTrail) StartLoggingRequest(input *StartLoggingInput) (req *request.Request, output *StartLoggingOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opStartLogging,
|
||||
|
@ -1187,6 +1241,7 @@ func (c *CloudTrail) StartLoggingRequest(input *StartLoggingInput) (req *request
|
|||
// This exception is thrown when an operation is called on a trail from a region
|
||||
// other than the region in which the trail was created.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLogging
|
||||
func (c *CloudTrail) StartLogging(input *StartLoggingInput) (*StartLoggingOutput, error) {
|
||||
req, out := c.StartLoggingRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1219,6 +1274,7 @@ const opStopLogging = "StopLogging"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLogging
|
||||
func (c *CloudTrail) StopLoggingRequest(input *StopLoggingInput) (req *request.Request, output *StopLoggingOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opStopLogging,
|
||||
|
@ -1277,6 +1333,7 @@ func (c *CloudTrail) StopLoggingRequest(input *StopLoggingInput) (req *request.R
|
|||
// This exception is thrown when an operation is called on a trail from a region
|
||||
// other than the region in which the trail was created.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLogging
|
||||
func (c *CloudTrail) StopLogging(input *StopLoggingInput) (*StopLoggingOutput, error) {
|
||||
req, out := c.StopLoggingRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1309,6 +1366,7 @@ const opUpdateTrail = "UpdateTrail"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrail
|
||||
func (c *CloudTrail) UpdateTrailRequest(input *UpdateTrailInput) (req *request.Request, output *UpdateTrailOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdateTrail,
|
||||
|
@ -1424,6 +1482,7 @@ func (c *CloudTrail) UpdateTrailRequest(input *UpdateTrailInput) (req *request.R
|
|||
// * OperationNotPermittedException
|
||||
// This exception is thrown when the requested operation is not permitted.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrail
|
||||
func (c *CloudTrail) UpdateTrail(input *UpdateTrailInput) (*UpdateTrailOutput, error) {
|
||||
req, out := c.UpdateTrailRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1431,6 +1490,7 @@ func (c *CloudTrail) UpdateTrail(input *UpdateTrailInput) (*UpdateTrailOutput, e
|
|||
}
|
||||
|
||||
// Specifies the tags to add to a trail.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTagsRequest
|
||||
type AddTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1493,6 +1553,7 @@ func (s *AddTagsInput) SetTagsList(v []*Tag) *AddTagsInput {
|
|||
|
||||
// Returns the objects or data listed below if successful. Otherwise, returns
|
||||
// an error.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTagsResponse
|
||||
type AddTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1508,6 +1569,7 @@ func (s AddTagsOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Specifies the settings for each trail.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrailRequest
|
||||
type CreateTrailInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1678,6 +1740,7 @@ func (s *CreateTrailInput) SetSnsTopicName(v string) *CreateTrailInput {
|
|||
|
||||
// Returns the objects or data listed below if successful. Otherwise, returns
|
||||
// an error.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrailResponse
|
||||
type CreateTrailOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1834,6 +1897,7 @@ func (s *CreateTrailOutput) SetTrailARN(v string) *CreateTrailOutput {
|
|||
//
|
||||
// The event occurs on an object in an S3 bucket that you didn't specify in
|
||||
// the event selector. The trail doesn’t log the event.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DataResource
|
||||
type DataResource struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1876,6 +1940,7 @@ func (s *DataResource) SetValues(v []*string) *DataResource {
|
|||
}
|
||||
|
||||
// The request that specifies the name of a trail to delete.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrailRequest
|
||||
type DeleteTrailInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1917,6 +1982,7 @@ func (s *DeleteTrailInput) SetName(v string) *DeleteTrailInput {
|
|||
|
||||
// Returns the objects or data listed below if successful. Otherwise, returns
|
||||
// an error.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrailResponse
|
||||
type DeleteTrailOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1932,6 +1998,7 @@ func (s DeleteTrailOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Returns information about the trail.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrailsRequest
|
||||
type DescribeTrailsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1986,6 +2053,7 @@ func (s *DescribeTrailsInput) SetTrailNameList(v []*string) *DescribeTrailsInput
|
|||
|
||||
// Returns the objects or data listed below if successful. Otherwise, returns
|
||||
// an error.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrailsResponse
|
||||
type DescribeTrailsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2011,6 +2079,7 @@ func (s *DescribeTrailsOutput) SetTrailList(v []*Trail) *DescribeTrailsOutput {
|
|||
|
||||
// Contains information about an event that was returned by a lookup request.
|
||||
// The result includes a representation of a CloudTrail event.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Event
|
||||
type Event struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2096,6 +2165,7 @@ func (s *Event) SetUsername(v string) *Event {
|
|||
// selector, the trail doesn't log the event.
|
||||
//
|
||||
// You can configure up to five event selectors for a trail.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/EventSelector
|
||||
type EventSelector struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2151,6 +2221,7 @@ func (s *EventSelector) SetReadWriteType(v string) *EventSelector {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectorsRequest
|
||||
type GetEventSelectorsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2191,6 +2262,7 @@ func (s *GetEventSelectorsInput) SetTrailName(v string) *GetEventSelectorsInput
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectorsResponse
|
||||
type GetEventSelectorsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2224,6 +2296,7 @@ func (s *GetEventSelectorsOutput) SetTrailARN(v string) *GetEventSelectorsOutput
|
|||
}
|
||||
|
||||
// The name of a trail about which you want the current status.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatusRequest
|
||||
type GetTrailStatusInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2268,6 +2341,7 @@ func (s *GetTrailStatusInput) SetName(v string) *GetTrailStatusInput {
|
|||
|
||||
// Returns the objects or data listed below if successful. Otherwise, returns
|
||||
// an error.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatusResponse
|
||||
type GetTrailStatusOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2461,6 +2535,7 @@ func (s *GetTrailStatusOutput) SetTimeLoggingStopped(v string) *GetTrailStatusOu
|
|||
}
|
||||
|
||||
// Requests the public keys for a specified time range.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeysRequest
|
||||
type ListPublicKeysInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2507,6 +2582,7 @@ func (s *ListPublicKeysInput) SetStartTime(v time.Time) *ListPublicKeysInput {
|
|||
|
||||
// Returns the objects or data listed below if successful. Otherwise, returns
|
||||
// an error.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeysResponse
|
||||
type ListPublicKeysOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2542,6 +2618,7 @@ func (s *ListPublicKeysOutput) SetPublicKeyList(v []*PublicKey) *ListPublicKeysO
|
|||
}
|
||||
|
||||
// Specifies a list of trail tags to return.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTagsRequest
|
||||
type ListTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2594,6 +2671,7 @@ func (s *ListTagsInput) SetResourceIdList(v []*string) *ListTagsInput {
|
|||
|
||||
// Returns the objects or data listed below if successful. Otherwise, returns
|
||||
// an error.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTagsResponse
|
||||
type ListTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2627,6 +2705,7 @@ func (s *ListTagsOutput) SetResourceTagList(v []*ResourceTag) *ListTagsOutput {
|
|||
}
|
||||
|
||||
// Specifies an attribute and value that filter the events returned.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupAttribute
|
||||
type LookupAttribute struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2680,6 +2759,7 @@ func (s *LookupAttribute) SetAttributeValue(v string) *LookupAttribute {
|
|||
}
|
||||
|
||||
// Contains a request for LookupEvents.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEventsRequest
|
||||
type LookupEventsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2773,6 +2853,7 @@ func (s *LookupEventsInput) SetStartTime(v time.Time) *LookupEventsInput {
|
|||
}
|
||||
|
||||
// Contains a response to a LookupEvents action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEventsResponse
|
||||
type LookupEventsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2812,6 +2893,7 @@ func (s *LookupEventsOutput) SetNextToken(v string) *LookupEventsOutput {
|
|||
}
|
||||
|
||||
// Contains information about a returned public key.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PublicKey
|
||||
type PublicKey struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2864,6 +2946,7 @@ func (s *PublicKey) SetValue(v []byte) *PublicKey {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectorsRequest
|
||||
type PutEventSelectorsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2914,6 +2997,7 @@ func (s *PutEventSelectorsInput) SetTrailName(v string) *PutEventSelectorsInput
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectorsResponse
|
||||
type PutEventSelectorsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2950,6 +3034,7 @@ func (s *PutEventSelectorsOutput) SetTrailARN(v string) *PutEventSelectorsOutput
|
|||
}
|
||||
|
||||
// Specifies the tags to remove from a trail.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTagsRequest
|
||||
type RemoveTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3012,6 +3097,7 @@ func (s *RemoveTagsInput) SetTagsList(v []*Tag) *RemoveTagsInput {
|
|||
|
||||
// Returns the objects or data listed below if successful. Otherwise, returns
|
||||
// an error.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTagsResponse
|
||||
type RemoveTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3027,6 +3113,7 @@ func (s RemoveTagsOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Specifies the type and name of a resource referenced by an event.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Resource
|
||||
type Resource struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3067,6 +3154,7 @@ func (s *Resource) SetResourceType(v string) *Resource {
|
|||
}
|
||||
|
||||
// A resource tag.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ResourceTag
|
||||
type ResourceTag struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3100,6 +3188,7 @@ func (s *ResourceTag) SetTagsList(v []*Tag) *ResourceTag {
|
|||
}
|
||||
|
||||
// The request to CloudTrail to start logging AWS API calls for an account.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLoggingRequest
|
||||
type StartLoggingInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3143,6 +3232,7 @@ func (s *StartLoggingInput) SetName(v string) *StartLoggingInput {
|
|||
|
||||
// Returns the objects or data listed below if successful. Otherwise, returns
|
||||
// an error.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLoggingResponse
|
||||
type StartLoggingOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3159,6 +3249,7 @@ func (s StartLoggingOutput) GoString() string {
|
|||
|
||||
// Passes the request to CloudTrail to stop logging AWS API calls for the specified
|
||||
// account.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLoggingRequest
|
||||
type StopLoggingInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3202,6 +3293,7 @@ func (s *StopLoggingInput) SetName(v string) *StopLoggingInput {
|
|||
|
||||
// Returns the objects or data listed below if successful. Otherwise, returns
|
||||
// an error.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLoggingResponse
|
||||
type StopLoggingOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3217,6 +3309,7 @@ func (s StopLoggingOutput) GoString() string {
|
|||
}
|
||||
|
||||
// A custom key-value pair associated with a resource such as a CloudTrail trail.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Tag
|
||||
type Tag struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3267,6 +3360,7 @@ func (s *Tag) SetValue(v string) *Tag {
|
|||
}
|
||||
|
||||
// The settings for a trail.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Trail
|
||||
type Trail struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3423,6 +3517,7 @@ func (s *Trail) SetTrailARN(v string) *Trail {
|
|||
}
|
||||
|
||||
// Specifies settings to update for the trail.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrailRequest
|
||||
type UpdateTrailInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3596,6 +3691,7 @@ func (s *UpdateTrailInput) SetSnsTopicName(v string) *UpdateTrailInput {
|
|||
|
||||
// Returns the objects or data listed below if successful. Otherwise, returns
|
||||
// an error.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrailResponse
|
||||
type UpdateTrailOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -32,8 +32,9 @@ import (
|
|||
// See the AWS CloudTrail User Guide (http://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-user-guide.html)
|
||||
// for information about the data that is included with each AWS API call listed
|
||||
// in the log files.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01
|
||||
type CloudTrail struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -44,8 +45,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "cloudtrail"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "cloudtrail" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudTrail client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -58,7 +62,7 @@ const ServiceName = "cloudtrail"
|
|||
// // Create a CloudTrail client with additional configuration
|
||||
// svc := cloudtrail.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudTrail {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@ const opDeleteAlarms = "DeleteAlarms"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarms
|
||||
func (c *CloudWatch) DeleteAlarmsRequest(input *DeleteAlarmsInput) (req *request.Request, output *DeleteAlarmsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteAlarms,
|
||||
|
@ -73,6 +74,7 @@ func (c *CloudWatch) DeleteAlarmsRequest(input *DeleteAlarmsInput) (req *request
|
|||
// * ResourceNotFound
|
||||
// The named resource does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarms
|
||||
func (c *CloudWatch) DeleteAlarms(input *DeleteAlarmsInput) (*DeleteAlarmsOutput, error) {
|
||||
req, out := c.DeleteAlarmsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -105,6 +107,7 @@ const opDescribeAlarmHistory = "DescribeAlarmHistory"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmHistory
|
||||
func (c *CloudWatch) DescribeAlarmHistoryRequest(input *DescribeAlarmHistoryInput) (req *request.Request, output *DescribeAlarmHistoryOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeAlarmHistory,
|
||||
|
@ -148,6 +151,7 @@ func (c *CloudWatch) DescribeAlarmHistoryRequest(input *DescribeAlarmHistoryInpu
|
|||
// * InvalidNextToken
|
||||
// The next token specified is invalid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmHistory
|
||||
func (c *CloudWatch) DescribeAlarmHistory(input *DescribeAlarmHistoryInput) (*DescribeAlarmHistoryOutput, error) {
|
||||
req, out := c.DescribeAlarmHistoryRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -205,6 +209,7 @@ const opDescribeAlarms = "DescribeAlarms"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarms
|
||||
func (c *CloudWatch) DescribeAlarmsRequest(input *DescribeAlarmsInput) (req *request.Request, output *DescribeAlarmsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeAlarms,
|
||||
|
@ -245,6 +250,7 @@ func (c *CloudWatch) DescribeAlarmsRequest(input *DescribeAlarmsInput) (req *req
|
|||
// * InvalidNextToken
|
||||
// The next token specified is invalid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarms
|
||||
func (c *CloudWatch) DescribeAlarms(input *DescribeAlarmsInput) (*DescribeAlarmsOutput, error) {
|
||||
req, out := c.DescribeAlarmsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -302,6 +308,7 @@ const opDescribeAlarmsForMetric = "DescribeAlarmsForMetric"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetric
|
||||
func (c *CloudWatch) DescribeAlarmsForMetricRequest(input *DescribeAlarmsForMetricInput) (req *request.Request, output *DescribeAlarmsForMetricOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeAlarmsForMetric,
|
||||
|
@ -330,6 +337,7 @@ func (c *CloudWatch) DescribeAlarmsForMetricRequest(input *DescribeAlarmsForMetr
|
|||
//
|
||||
// See the AWS API reference guide for Amazon CloudWatch's
|
||||
// API operation DescribeAlarmsForMetric for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetric
|
||||
func (c *CloudWatch) DescribeAlarmsForMetric(input *DescribeAlarmsForMetricInput) (*DescribeAlarmsForMetricOutput, error) {
|
||||
req, out := c.DescribeAlarmsForMetricRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -362,6 +370,7 @@ const opDisableAlarmActions = "DisableAlarmActions"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DisableAlarmActions
|
||||
func (c *CloudWatch) DisableAlarmActionsRequest(input *DisableAlarmActionsInput) (req *request.Request, output *DisableAlarmActionsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDisableAlarmActions,
|
||||
|
@ -392,6 +401,7 @@ func (c *CloudWatch) DisableAlarmActionsRequest(input *DisableAlarmActionsInput)
|
|||
//
|
||||
// See the AWS API reference guide for Amazon CloudWatch's
|
||||
// API operation DisableAlarmActions for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DisableAlarmActions
|
||||
func (c *CloudWatch) DisableAlarmActions(input *DisableAlarmActionsInput) (*DisableAlarmActionsOutput, error) {
|
||||
req, out := c.DisableAlarmActionsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -424,6 +434,7 @@ const opEnableAlarmActions = "EnableAlarmActions"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/EnableAlarmActions
|
||||
func (c *CloudWatch) EnableAlarmActionsRequest(input *EnableAlarmActionsInput) (req *request.Request, output *EnableAlarmActionsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opEnableAlarmActions,
|
||||
|
@ -453,6 +464,7 @@ func (c *CloudWatch) EnableAlarmActionsRequest(input *EnableAlarmActionsInput) (
|
|||
//
|
||||
// See the AWS API reference guide for Amazon CloudWatch's
|
||||
// API operation EnableAlarmActions for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/EnableAlarmActions
|
||||
func (c *CloudWatch) EnableAlarmActions(input *EnableAlarmActionsInput) (*EnableAlarmActionsOutput, error) {
|
||||
req, out := c.EnableAlarmActionsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -485,6 +497,7 @@ const opGetMetricStatistics = "GetMetricStatistics"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStatistics
|
||||
func (c *CloudWatch) GetMetricStatisticsRequest(input *GetMetricStatisticsInput) (req *request.Request, output *GetMetricStatisticsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetMetricStatistics,
|
||||
|
@ -557,6 +570,7 @@ func (c *CloudWatch) GetMetricStatisticsRequest(input *GetMetricStatisticsInput)
|
|||
// * InternalServiceError
|
||||
// Request processing has failed due to some unknown error, exception, or failure.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStatistics
|
||||
func (c *CloudWatch) GetMetricStatistics(input *GetMetricStatisticsInput) (*GetMetricStatisticsOutput, error) {
|
||||
req, out := c.GetMetricStatisticsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -589,6 +603,7 @@ const opListMetrics = "ListMetrics"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetrics
|
||||
func (c *CloudWatch) ListMetricsRequest(input *ListMetricsInput) (req *request.Request, output *ListMetricsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListMetrics,
|
||||
|
@ -638,6 +653,7 @@ func (c *CloudWatch) ListMetricsRequest(input *ListMetricsInput) (req *request.R
|
|||
// * InvalidParameterValue
|
||||
// The value of an input parameter is bad or out-of-range.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetrics
|
||||
func (c *CloudWatch) ListMetrics(input *ListMetricsInput) (*ListMetricsOutput, error) {
|
||||
req, out := c.ListMetricsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -695,6 +711,7 @@ const opPutMetricAlarm = "PutMetricAlarm"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarm
|
||||
func (c *CloudWatch) PutMetricAlarmRequest(input *PutMetricAlarmInput) (req *request.Request, output *PutMetricAlarmOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutMetricAlarm,
|
||||
|
@ -770,6 +787,7 @@ func (c *CloudWatch) PutMetricAlarmRequest(input *PutMetricAlarmInput) (req *req
|
|||
// * LimitExceeded
|
||||
// The quota for alarms for this customer has already been reached.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarm
|
||||
func (c *CloudWatch) PutMetricAlarm(input *PutMetricAlarmInput) (*PutMetricAlarmOutput, error) {
|
||||
req, out := c.PutMetricAlarmRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -802,6 +820,7 @@ const opPutMetricData = "PutMetricData"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricData
|
||||
func (c *CloudWatch) PutMetricDataRequest(input *PutMetricDataInput) (req *request.Request, output *PutMetricDataOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutMetricData,
|
||||
|
@ -862,6 +881,7 @@ func (c *CloudWatch) PutMetricDataRequest(input *PutMetricDataInput) (req *reque
|
|||
// * InternalServiceError
|
||||
// Request processing has failed due to some unknown error, exception, or failure.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricData
|
||||
func (c *CloudWatch) PutMetricData(input *PutMetricDataInput) (*PutMetricDataOutput, error) {
|
||||
req, out := c.PutMetricDataRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -894,6 +914,7 @@ const opSetAlarmState = "SetAlarmState"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/SetAlarmState
|
||||
func (c *CloudWatch) SetAlarmStateRequest(input *SetAlarmStateInput) (req *request.Request, output *SetAlarmStateOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSetAlarmState,
|
||||
|
@ -938,6 +959,7 @@ func (c *CloudWatch) SetAlarmStateRequest(input *SetAlarmStateInput) (req *reque
|
|||
// * InvalidFormat
|
||||
// Data was not syntactically valid JSON.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/SetAlarmState
|
||||
func (c *CloudWatch) SetAlarmState(input *SetAlarmStateInput) (*SetAlarmStateOutput, error) {
|
||||
req, out := c.SetAlarmStateRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -945,6 +967,7 @@ func (c *CloudWatch) SetAlarmState(input *SetAlarmStateInput) (*SetAlarmStateOut
|
|||
}
|
||||
|
||||
// Represents the history of a specific alarm.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/AlarmHistoryItem
|
||||
type AlarmHistoryItem struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1006,6 +1029,7 @@ func (s *AlarmHistoryItem) SetTimestamp(v time.Time) *AlarmHistoryItem {
|
|||
|
||||
// Encapsulates the statistical data that Amazon CloudWatch computes from metric
|
||||
// data.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/Datapoint
|
||||
type Datapoint struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1093,6 +1117,7 @@ func (s *Datapoint) SetUnit(v string) *Datapoint {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarmsInput
|
||||
type DeleteAlarmsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1131,6 +1156,7 @@ func (s *DeleteAlarmsInput) SetAlarmNames(v []*string) *DeleteAlarmsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarmsOutput
|
||||
type DeleteAlarmsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1145,6 +1171,7 @@ func (s DeleteAlarmsOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmHistoryInput
|
||||
type DescribeAlarmHistoryInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1230,6 +1257,7 @@ func (s *DescribeAlarmHistoryInput) SetStartDate(v time.Time) *DescribeAlarmHist
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmHistoryOutput
|
||||
type DescribeAlarmHistoryOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1262,6 +1290,7 @@ func (s *DescribeAlarmHistoryOutput) SetNextToken(v string) *DescribeAlarmHistor
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetricInput
|
||||
type DescribeAlarmsForMetricInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1381,6 +1410,7 @@ func (s *DescribeAlarmsForMetricInput) SetUnit(v string) *DescribeAlarmsForMetri
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetricOutput
|
||||
type DescribeAlarmsForMetricOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1404,6 +1434,7 @@ func (s *DescribeAlarmsForMetricOutput) SetMetricAlarms(v []*MetricAlarm) *Descr
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsInput
|
||||
type DescribeAlarmsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1493,6 +1524,7 @@ func (s *DescribeAlarmsInput) SetStateValue(v string) *DescribeAlarmsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsOutput
|
||||
type DescribeAlarmsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1526,6 +1558,7 @@ func (s *DescribeAlarmsOutput) SetNextToken(v string) *DescribeAlarmsOutput {
|
|||
}
|
||||
|
||||
// Expands the identity of a metric.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/Dimension
|
||||
type Dimension struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1585,6 +1618,7 @@ func (s *Dimension) SetValue(v string) *Dimension {
|
|||
}
|
||||
|
||||
// Represents filters for a dimension.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DimensionFilter
|
||||
type DimensionFilter struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1638,6 +1672,7 @@ func (s *DimensionFilter) SetValue(v string) *DimensionFilter {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DisableAlarmActionsInput
|
||||
type DisableAlarmActionsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1676,6 +1711,7 @@ func (s *DisableAlarmActionsInput) SetAlarmNames(v []*string) *DisableAlarmActio
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DisableAlarmActionsOutput
|
||||
type DisableAlarmActionsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1690,6 +1726,7 @@ func (s DisableAlarmActionsOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/EnableAlarmActionsInput
|
||||
type EnableAlarmActionsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1728,6 +1765,7 @@ func (s *EnableAlarmActionsInput) SetAlarmNames(v []*string) *EnableAlarmActions
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/EnableAlarmActionsOutput
|
||||
type EnableAlarmActionsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1742,6 +1780,7 @@ func (s EnableAlarmActionsOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStatisticsInput
|
||||
type GetMetricStatisticsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1937,6 +1976,7 @@ func (s *GetMetricStatisticsInput) SetUnit(v string) *GetMetricStatisticsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStatisticsOutput
|
||||
type GetMetricStatisticsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1969,6 +2009,7 @@ func (s *GetMetricStatisticsOutput) SetLabel(v string) *GetMetricStatisticsOutpu
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricsInput
|
||||
type ListMetricsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2046,6 +2087,7 @@ func (s *ListMetricsInput) SetNextToken(v string) *ListMetricsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricsOutput
|
||||
type ListMetricsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2079,6 +2121,7 @@ func (s *ListMetricsOutput) SetNextToken(v string) *ListMetricsOutput {
|
|||
}
|
||||
|
||||
// Represents a specific metric.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/Metric
|
||||
type Metric struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2121,6 +2164,7 @@ func (s *Metric) SetNamespace(v string) *Metric {
|
|||
}
|
||||
|
||||
// Represents an alarm.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricAlarm
|
||||
type MetricAlarm struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2343,6 +2387,7 @@ func (s *MetricAlarm) SetUnit(v string) *MetricAlarm {
|
|||
|
||||
// Encapsulates the information sent to either create a metric or add new values
|
||||
// to be aggregated into an existing metric.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricDatum
|
||||
type MetricDatum struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2451,6 +2496,7 @@ func (s *MetricDatum) SetValue(v float64) *MetricDatum {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarmInput
|
||||
type PutMetricAlarmInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2717,6 +2763,7 @@ func (s *PutMetricAlarmInput) SetUnit(v string) *PutMetricAlarmInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarmOutput
|
||||
type PutMetricAlarmOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2731,6 +2778,7 @@ func (s PutMetricAlarmOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricDataInput
|
||||
type PutMetricDataInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2799,6 +2847,7 @@ func (s *PutMetricDataInput) SetNamespace(v string) *PutMetricDataInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricDataOutput
|
||||
type PutMetricDataOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2813,6 +2862,7 @@ func (s PutMetricDataOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/SetAlarmStateInput
|
||||
type SetAlarmStateInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2892,6 +2942,7 @@ func (s *SetAlarmStateInput) SetStateValue(v string) *SetAlarmStateInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/SetAlarmStateOutput
|
||||
type SetAlarmStateOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2907,6 +2958,7 @@ func (s SetAlarmStateOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Represents a set of statistics that describes a specific metric.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/StatisticSet
|
||||
type StatisticSet struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -26,8 +26,9 @@ import (
|
|||
// In addition to monitoring the built-in metrics that come with AWS, you can
|
||||
// monitor your own custom metrics. With CloudWatch, you gain system-wide visibility
|
||||
// into resource utilization, application performance, and operational health.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01
|
||||
type CloudWatch struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -38,8 +39,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "monitoring"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "monitoring" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudWatch client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -52,7 +56,7 @@ const ServiceName = "monitoring"
|
|||
// // Create a CloudWatch client with additional configuration
|
||||
// svc := cloudwatch.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudWatch {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@ const opDeleteRule = "DeleteRule"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteRule
|
||||
func (c *CloudWatchEvents) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, output *DeleteRuleOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteRule,
|
||||
|
@ -81,6 +82,7 @@ func (c *CloudWatchEvents) DeleteRuleRequest(input *DeleteRuleInput) (req *reque
|
|||
// * InternalException
|
||||
// This exception occurs due to unexpected causes.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteRule
|
||||
func (c *CloudWatchEvents) DeleteRule(input *DeleteRuleInput) (*DeleteRuleOutput, error) {
|
||||
req, out := c.DeleteRuleRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -113,6 +115,7 @@ const opDescribeRule = "DescribeRule"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeRule
|
||||
func (c *CloudWatchEvents) DescribeRuleRequest(input *DescribeRuleInput) (req *request.Request, output *DescribeRuleOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeRule,
|
||||
|
@ -148,6 +151,7 @@ func (c *CloudWatchEvents) DescribeRuleRequest(input *DescribeRuleInput) (req *r
|
|||
// * InternalException
|
||||
// This exception occurs due to unexpected causes.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeRule
|
||||
func (c *CloudWatchEvents) DescribeRule(input *DescribeRuleInput) (*DescribeRuleOutput, error) {
|
||||
req, out := c.DescribeRuleRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -180,6 +184,7 @@ const opDisableRule = "DisableRule"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DisableRule
|
||||
func (c *CloudWatchEvents) DisableRuleRequest(input *DisableRuleInput) (req *request.Request, output *DisableRuleOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDisableRule,
|
||||
|
@ -225,6 +230,7 @@ func (c *CloudWatchEvents) DisableRuleRequest(input *DisableRuleInput) (req *req
|
|||
// * InternalException
|
||||
// This exception occurs due to unexpected causes.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DisableRule
|
||||
func (c *CloudWatchEvents) DisableRule(input *DisableRuleInput) (*DisableRuleOutput, error) {
|
||||
req, out := c.DisableRuleRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -257,6 +263,7 @@ const opEnableRule = "EnableRule"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EnableRule
|
||||
func (c *CloudWatchEvents) EnableRuleRequest(input *EnableRuleInput) (req *request.Request, output *EnableRuleOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opEnableRule,
|
||||
|
@ -301,6 +308,7 @@ func (c *CloudWatchEvents) EnableRuleRequest(input *EnableRuleInput) (req *reque
|
|||
// * InternalException
|
||||
// This exception occurs due to unexpected causes.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EnableRule
|
||||
func (c *CloudWatchEvents) EnableRule(input *EnableRuleInput) (*EnableRuleOutput, error) {
|
||||
req, out := c.EnableRuleRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -333,6 +341,7 @@ const opListRuleNamesByTarget = "ListRuleNamesByTarget"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRuleNamesByTarget
|
||||
func (c *CloudWatchEvents) ListRuleNamesByTargetRequest(input *ListRuleNamesByTargetInput) (req *request.Request, output *ListRuleNamesByTargetOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListRuleNamesByTarget,
|
||||
|
@ -370,6 +379,7 @@ func (c *CloudWatchEvents) ListRuleNamesByTargetRequest(input *ListRuleNamesByTa
|
|||
// * InternalException
|
||||
// This exception occurs due to unexpected causes.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRuleNamesByTarget
|
||||
func (c *CloudWatchEvents) ListRuleNamesByTarget(input *ListRuleNamesByTargetInput) (*ListRuleNamesByTargetOutput, error) {
|
||||
req, out := c.ListRuleNamesByTargetRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -402,6 +412,7 @@ const opListRules = "ListRules"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules
|
||||
func (c *CloudWatchEvents) ListRulesRequest(input *ListRulesInput) (req *request.Request, output *ListRulesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListRules,
|
||||
|
@ -438,6 +449,7 @@ func (c *CloudWatchEvents) ListRulesRequest(input *ListRulesInput) (req *request
|
|||
// * InternalException
|
||||
// This exception occurs due to unexpected causes.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules
|
||||
func (c *CloudWatchEvents) ListRules(input *ListRulesInput) (*ListRulesOutput, error) {
|
||||
req, out := c.ListRulesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -470,6 +482,7 @@ const opListTargetsByRule = "ListTargetsByRule"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRule
|
||||
func (c *CloudWatchEvents) ListTargetsByRuleRequest(input *ListTargetsByRuleInput) (req *request.Request, output *ListTargetsByRuleOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListTargetsByRule,
|
||||
|
@ -505,6 +518,7 @@ func (c *CloudWatchEvents) ListTargetsByRuleRequest(input *ListTargetsByRuleInpu
|
|||
// * InternalException
|
||||
// This exception occurs due to unexpected causes.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRule
|
||||
func (c *CloudWatchEvents) ListTargetsByRule(input *ListTargetsByRuleInput) (*ListTargetsByRuleOutput, error) {
|
||||
req, out := c.ListTargetsByRuleRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -537,6 +551,7 @@ const opPutEvents = "PutEvents"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEvents
|
||||
func (c *CloudWatchEvents) PutEventsRequest(input *PutEventsInput) (req *request.Request, output *PutEventsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutEvents,
|
||||
|
@ -570,6 +585,7 @@ func (c *CloudWatchEvents) PutEventsRequest(input *PutEventsInput) (req *request
|
|||
// * InternalException
|
||||
// This exception occurs due to unexpected causes.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEvents
|
||||
func (c *CloudWatchEvents) PutEvents(input *PutEventsInput) (*PutEventsOutput, error) {
|
||||
req, out := c.PutEventsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -602,6 +618,7 @@ const opPutRule = "PutRule"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutRule
|
||||
func (c *CloudWatchEvents) PutRuleRequest(input *PutRuleInput) (req *request.Request, output *PutRuleOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutRule,
|
||||
|
@ -660,6 +677,7 @@ func (c *CloudWatchEvents) PutRuleRequest(input *PutRuleInput) (req *request.Req
|
|||
// * InternalException
|
||||
// This exception occurs due to unexpected causes.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutRule
|
||||
func (c *CloudWatchEvents) PutRule(input *PutRuleInput) (*PutRuleOutput, error) {
|
||||
req, out := c.PutRuleRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -692,6 +710,7 @@ const opPutTargets = "PutTargets"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargets
|
||||
func (c *CloudWatchEvents) PutTargetsRequest(input *PutTargetsInput) (req *request.Request, output *PutTargetsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutTargets,
|
||||
|
@ -759,6 +778,7 @@ func (c *CloudWatchEvents) PutTargetsRequest(input *PutTargetsInput) (req *reque
|
|||
// * InternalException
|
||||
// This exception occurs due to unexpected causes.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargets
|
||||
func (c *CloudWatchEvents) PutTargets(input *PutTargetsInput) (*PutTargetsOutput, error) {
|
||||
req, out := c.PutTargetsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -791,6 +811,7 @@ const opRemoveTargets = "RemoveTargets"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargets
|
||||
func (c *CloudWatchEvents) RemoveTargetsRequest(input *RemoveTargetsInput) (req *request.Request, output *RemoveTargetsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opRemoveTargets,
|
||||
|
@ -834,6 +855,7 @@ func (c *CloudWatchEvents) RemoveTargetsRequest(input *RemoveTargetsInput) (req
|
|||
// * InternalException
|
||||
// This exception occurs due to unexpected causes.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargets
|
||||
func (c *CloudWatchEvents) RemoveTargets(input *RemoveTargetsInput) (*RemoveTargetsOutput, error) {
|
||||
req, out := c.RemoveTargetsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -866,6 +888,7 @@ const opTestEventPattern = "TestEventPattern"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TestEventPattern
|
||||
func (c *CloudWatchEvents) TestEventPatternRequest(input *TestEventPatternInput) (req *request.Request, output *TestEventPatternOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opTestEventPattern,
|
||||
|
@ -906,6 +929,7 @@ func (c *CloudWatchEvents) TestEventPatternRequest(input *TestEventPatternInput)
|
|||
// * InternalException
|
||||
// This exception occurs due to unexpected causes.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TestEventPattern
|
||||
func (c *CloudWatchEvents) TestEventPattern(input *TestEventPatternInput) (*TestEventPatternOutput, error) {
|
||||
req, out := c.TestEventPatternRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -913,6 +937,7 @@ func (c *CloudWatchEvents) TestEventPattern(input *TestEventPatternInput) (*Test
|
|||
}
|
||||
|
||||
// Container for the parameters to the DeleteRule operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteRuleRequest
|
||||
type DeleteRuleInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -954,6 +979,7 @@ func (s *DeleteRuleInput) SetName(v string) *DeleteRuleInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteRuleOutput
|
||||
type DeleteRuleOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -969,6 +995,7 @@ func (s DeleteRuleOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Container for the parameters to the DescribeRule operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeRuleRequest
|
||||
type DescribeRuleInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1011,6 +1038,7 @@ func (s *DescribeRuleInput) SetName(v string) *DescribeRuleInput {
|
|||
}
|
||||
|
||||
// The result of the DescribeRule operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeRuleResponse
|
||||
type DescribeRuleOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1089,6 +1117,7 @@ func (s *DescribeRuleOutput) SetState(v string) *DescribeRuleOutput {
|
|||
}
|
||||
|
||||
// Container for the parameters to the DisableRule operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DisableRuleRequest
|
||||
type DisableRuleInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1130,6 +1159,7 @@ func (s *DisableRuleInput) SetName(v string) *DisableRuleInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DisableRuleOutput
|
||||
type DisableRuleOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1145,6 +1175,7 @@ func (s DisableRuleOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Container for the parameters to the EnableRule operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EnableRuleRequest
|
||||
type EnableRuleInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1186,6 +1217,7 @@ func (s *EnableRuleInput) SetName(v string) *EnableRuleInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EnableRuleOutput
|
||||
type EnableRuleOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1201,6 +1233,7 @@ func (s EnableRuleOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Container for the parameters to the ListRuleNamesByTarget operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRuleNamesByTargetRequest
|
||||
type ListRuleNamesByTargetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1269,6 +1302,7 @@ func (s *ListRuleNamesByTargetInput) SetTargetArn(v string) *ListRuleNamesByTarg
|
|||
}
|
||||
|
||||
// The result of the ListRuleNamesByTarget operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRuleNamesByTargetResponse
|
||||
type ListRuleNamesByTargetOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1302,6 +1336,7 @@ func (s *ListRuleNamesByTargetOutput) SetRuleNames(v []*string) *ListRuleNamesBy
|
|||
}
|
||||
|
||||
// Container for the parameters to the ListRules operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRulesRequest
|
||||
type ListRulesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1364,6 +1399,7 @@ func (s *ListRulesInput) SetNextToken(v string) *ListRulesInput {
|
|||
}
|
||||
|
||||
// The result of the ListRules operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRulesResponse
|
||||
type ListRulesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1397,6 +1433,7 @@ func (s *ListRulesOutput) SetRules(v []*Rule) *ListRulesOutput {
|
|||
}
|
||||
|
||||
// Container for the parameters to the ListTargetsByRule operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRuleRequest
|
||||
type ListTargetsByRuleInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1464,6 +1501,7 @@ func (s *ListTargetsByRuleInput) SetRule(v string) *ListTargetsByRuleInput {
|
|||
}
|
||||
|
||||
// The result of the ListTargetsByRule operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRuleResponse
|
||||
type ListTargetsByRuleOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1497,6 +1535,7 @@ func (s *ListTargetsByRuleOutput) SetTargets(v []*Target) *ListTargetsByRuleOutp
|
|||
}
|
||||
|
||||
// Container for the parameters to the PutEvents operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEventsRequest
|
||||
type PutEventsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1541,6 +1580,7 @@ func (s *PutEventsInput) SetEntries(v []*PutEventsRequestEntry) *PutEventsInput
|
|||
}
|
||||
|
||||
// The result of the PutEvents operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEventsResponse
|
||||
type PutEventsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1577,6 +1617,7 @@ func (s *PutEventsOutput) SetFailedEntryCount(v int64) *PutEventsOutput {
|
|||
}
|
||||
|
||||
// Contains information about the event to be used in PutEvents.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEventsRequestEntry
|
||||
type PutEventsRequestEntry struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1641,6 +1682,7 @@ func (s *PutEventsRequestEntry) SetTime(v time.Time) *PutEventsRequestEntry {
|
|||
}
|
||||
|
||||
// A PutEventsResult contains a list of PutEventsResultEntry.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEventsResultEntry
|
||||
type PutEventsResultEntry struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1683,6 +1725,7 @@ func (s *PutEventsResultEntry) SetEventId(v string) *PutEventsResultEntry {
|
|||
}
|
||||
|
||||
// Container for the parameters to the PutRule operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutRuleRequest
|
||||
type PutRuleInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1773,6 +1816,7 @@ func (s *PutRuleInput) SetState(v string) *PutRuleInput {
|
|||
}
|
||||
|
||||
// The result of the PutRule operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutRuleResponse
|
||||
type PutRuleOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1797,6 +1841,7 @@ func (s *PutRuleOutput) SetRuleArn(v string) *PutRuleOutput {
|
|||
}
|
||||
|
||||
// Container for the parameters to the PutTargets operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargetsRequest
|
||||
type PutTargetsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1863,6 +1908,7 @@ func (s *PutTargetsInput) SetTargets(v []*Target) *PutTargetsInput {
|
|||
}
|
||||
|
||||
// The result of the PutTargets operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargetsResponse
|
||||
type PutTargetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1896,6 +1942,7 @@ func (s *PutTargetsOutput) SetFailedEntryCount(v int64) *PutTargetsOutput {
|
|||
}
|
||||
|
||||
// A PutTargetsResult contains a list of PutTargetsResultEntry.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargetsResultEntry
|
||||
type PutTargetsResultEntry struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1938,6 +1985,7 @@ func (s *PutTargetsResultEntry) SetTargetId(v string) *PutTargetsResultEntry {
|
|||
}
|
||||
|
||||
// Container for the parameters to the RemoveTargets operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargetsRequest
|
||||
type RemoveTargetsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1997,6 +2045,7 @@ func (s *RemoveTargetsInput) SetRule(v string) *RemoveTargetsInput {
|
|||
}
|
||||
|
||||
// The result of the RemoveTargets operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargetsResponse
|
||||
type RemoveTargetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2031,6 +2080,7 @@ func (s *RemoveTargetsOutput) SetFailedEntryCount(v int64) *RemoveTargetsOutput
|
|||
|
||||
// The ID of the target requested to be removed from the rule by Amazon CloudWatch
|
||||
// Events.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargetsResultEntry
|
||||
type RemoveTargetsResultEntry struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2074,6 +2124,7 @@ func (s *RemoveTargetsResultEntry) SetTargetId(v string) *RemoveTargetsResultEnt
|
|||
|
||||
// Contains information about a rule in Amazon CloudWatch Events. A ListRulesResult
|
||||
// contains a list of Rules.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/Rule
|
||||
type Rule struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2165,6 +2216,7 @@ func (s *Rule) SetState(v string) *Rule {
|
|||
// (e.g. only the detail part of the event is passed).
|
||||
// * Input is specified in the form of a valid JSON, then the matched event
|
||||
// is overridden with this constant.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/Target
|
||||
type Target struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2245,6 +2297,7 @@ func (s *Target) SetInputPath(v string) *Target {
|
|||
}
|
||||
|
||||
// Container for the parameters to the TestEventPattern operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TestEventPatternRequest
|
||||
type TestEventPatternInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2298,6 +2351,7 @@ func (s *TestEventPatternInput) SetEventPattern(v string) *TestEventPatternInput
|
|||
}
|
||||
|
||||
// The result of the TestEventPattern operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TestEventPatternResponse
|
||||
type TestEventPatternOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -27,8 +27,9 @@ import (
|
|||
// EBS volume.
|
||||
// For more information about Amazon CloudWatch Events features, see the Amazon
|
||||
// CloudWatch Developer Guide (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide).
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07
|
||||
type CloudWatchEvents struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -39,8 +40,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "events"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "events" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudWatchEvents client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -53,7 +57,7 @@ const ServiceName = "events"
|
|||
// // Create a CloudWatchEvents client with additional configuration
|
||||
// svc := cloudwatchevents.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudWatchEvents {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ const opCancelExportTask = "CancelExportTask"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTask
|
||||
func (c *CloudWatchLogs) CancelExportTaskRequest(input *CancelExportTaskInput) (req *request.Request, output *CancelExportTaskOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCancelExportTask,
|
||||
|
@ -83,6 +84,7 @@ func (c *CloudWatchLogs) CancelExportTaskRequest(input *CancelExportTaskInput) (
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTask
|
||||
func (c *CloudWatchLogs) CancelExportTask(input *CancelExportTaskInput) (*CancelExportTaskOutput, error) {
|
||||
req, out := c.CancelExportTaskRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -115,6 +117,7 @@ const opCreateExportTask = "CreateExportTask"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTask
|
||||
func (c *CloudWatchLogs) CreateExportTaskRequest(input *CreateExportTaskInput) (req *request.Request, output *CreateExportTaskOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateExportTask,
|
||||
|
@ -173,6 +176,7 @@ func (c *CloudWatchLogs) CreateExportTaskRequest(input *CreateExportTaskInput) (
|
|||
// * ResourceAlreadyExistsException
|
||||
// The specified resource already exists.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTask
|
||||
func (c *CloudWatchLogs) CreateExportTask(input *CreateExportTaskInput) (*CreateExportTaskOutput, error) {
|
||||
req, out := c.CreateExportTaskRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -205,6 +209,7 @@ const opCreateLogGroup = "CreateLogGroup"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroup
|
||||
func (c *CloudWatchLogs) CreateLogGroupRequest(input *CreateLogGroupInput) (req *request.Request, output *CreateLogGroupOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateLogGroup,
|
||||
|
@ -262,6 +267,7 @@ func (c *CloudWatchLogs) CreateLogGroupRequest(input *CreateLogGroupInput) (req
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroup
|
||||
func (c *CloudWatchLogs) CreateLogGroup(input *CreateLogGroupInput) (*CreateLogGroupOutput, error) {
|
||||
req, out := c.CreateLogGroupRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -294,6 +300,7 @@ const opCreateLogStream = "CreateLogStream"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStream
|
||||
func (c *CloudWatchLogs) CreateLogStreamRequest(input *CreateLogStreamInput) (req *request.Request, output *CreateLogStreamOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateLogStream,
|
||||
|
@ -348,6 +355,7 @@ func (c *CloudWatchLogs) CreateLogStreamRequest(input *CreateLogStreamInput) (re
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStream
|
||||
func (c *CloudWatchLogs) CreateLogStream(input *CreateLogStreamInput) (*CreateLogStreamOutput, error) {
|
||||
req, out := c.CreateLogStreamRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -380,6 +388,7 @@ const opDeleteDestination = "DeleteDestination"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestination
|
||||
func (c *CloudWatchLogs) DeleteDestinationRequest(input *DeleteDestinationInput) (req *request.Request, output *DeleteDestinationOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteDestination,
|
||||
|
@ -425,6 +434,7 @@ func (c *CloudWatchLogs) DeleteDestinationRequest(input *DeleteDestinationInput)
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestination
|
||||
func (c *CloudWatchLogs) DeleteDestination(input *DeleteDestinationInput) (*DeleteDestinationOutput, error) {
|
||||
req, out := c.DeleteDestinationRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -457,6 +467,7 @@ const opDeleteLogGroup = "DeleteLogGroup"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroup
|
||||
func (c *CloudWatchLogs) DeleteLogGroupRequest(input *DeleteLogGroupInput) (req *request.Request, output *DeleteLogGroupOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteLogGroup,
|
||||
|
@ -501,6 +512,7 @@ func (c *CloudWatchLogs) DeleteLogGroupRequest(input *DeleteLogGroupInput) (req
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroup
|
||||
func (c *CloudWatchLogs) DeleteLogGroup(input *DeleteLogGroupInput) (*DeleteLogGroupOutput, error) {
|
||||
req, out := c.DeleteLogGroupRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -533,6 +545,7 @@ const opDeleteLogStream = "DeleteLogStream"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStream
|
||||
func (c *CloudWatchLogs) DeleteLogStreamRequest(input *DeleteLogStreamInput) (req *request.Request, output *DeleteLogStreamOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteLogStream,
|
||||
|
@ -577,6 +590,7 @@ func (c *CloudWatchLogs) DeleteLogStreamRequest(input *DeleteLogStreamInput) (re
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStream
|
||||
func (c *CloudWatchLogs) DeleteLogStream(input *DeleteLogStreamInput) (*DeleteLogStreamOutput, error) {
|
||||
req, out := c.DeleteLogStreamRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -609,6 +623,7 @@ const opDeleteMetricFilter = "DeleteMetricFilter"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilter
|
||||
func (c *CloudWatchLogs) DeleteMetricFilterRequest(input *DeleteMetricFilterInput) (req *request.Request, output *DeleteMetricFilterOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteMetricFilter,
|
||||
|
@ -652,6 +667,7 @@ func (c *CloudWatchLogs) DeleteMetricFilterRequest(input *DeleteMetricFilterInpu
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilter
|
||||
func (c *CloudWatchLogs) DeleteMetricFilter(input *DeleteMetricFilterInput) (*DeleteMetricFilterOutput, error) {
|
||||
req, out := c.DeleteMetricFilterRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -684,6 +700,7 @@ const opDeleteRetentionPolicy = "DeleteRetentionPolicy"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicy
|
||||
func (c *CloudWatchLogs) DeleteRetentionPolicyRequest(input *DeleteRetentionPolicyInput) (req *request.Request, output *DeleteRetentionPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteRetentionPolicy,
|
||||
|
@ -730,6 +747,7 @@ func (c *CloudWatchLogs) DeleteRetentionPolicyRequest(input *DeleteRetentionPoli
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicy
|
||||
func (c *CloudWatchLogs) DeleteRetentionPolicy(input *DeleteRetentionPolicyInput) (*DeleteRetentionPolicyOutput, error) {
|
||||
req, out := c.DeleteRetentionPolicyRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -762,6 +780,7 @@ const opDeleteSubscriptionFilter = "DeleteSubscriptionFilter"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilter
|
||||
func (c *CloudWatchLogs) DeleteSubscriptionFilterRequest(input *DeleteSubscriptionFilterInput) (req *request.Request, output *DeleteSubscriptionFilterOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteSubscriptionFilter,
|
||||
|
@ -805,6 +824,7 @@ func (c *CloudWatchLogs) DeleteSubscriptionFilterRequest(input *DeleteSubscripti
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilter
|
||||
func (c *CloudWatchLogs) DeleteSubscriptionFilter(input *DeleteSubscriptionFilterInput) (*DeleteSubscriptionFilterOutput, error) {
|
||||
req, out := c.DeleteSubscriptionFilterRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -837,6 +857,7 @@ const opDescribeDestinations = "DescribeDestinations"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDestinations
|
||||
func (c *CloudWatchLogs) DescribeDestinationsRequest(input *DescribeDestinationsInput) (req *request.Request, output *DescribeDestinationsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeDestinations,
|
||||
|
@ -879,6 +900,7 @@ func (c *CloudWatchLogs) DescribeDestinationsRequest(input *DescribeDestinations
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDestinations
|
||||
func (c *CloudWatchLogs) DescribeDestinations(input *DescribeDestinationsInput) (*DescribeDestinationsOutput, error) {
|
||||
req, out := c.DescribeDestinationsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -936,6 +958,7 @@ const opDescribeExportTasks = "DescribeExportTasks"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeExportTasks
|
||||
func (c *CloudWatchLogs) DescribeExportTasksRequest(input *DescribeExportTasksInput) (req *request.Request, output *DescribeExportTasksOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeExportTasks,
|
||||
|
@ -972,6 +995,7 @@ func (c *CloudWatchLogs) DescribeExportTasksRequest(input *DescribeExportTasksIn
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeExportTasks
|
||||
func (c *CloudWatchLogs) DescribeExportTasks(input *DescribeExportTasksInput) (*DescribeExportTasksOutput, error) {
|
||||
req, out := c.DescribeExportTasksRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1004,6 +1028,7 @@ const opDescribeLogGroups = "DescribeLogGroups"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroups
|
||||
func (c *CloudWatchLogs) DescribeLogGroupsRequest(input *DescribeLogGroupsInput) (req *request.Request, output *DescribeLogGroupsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeLogGroups,
|
||||
|
@ -1046,6 +1071,7 @@ func (c *CloudWatchLogs) DescribeLogGroupsRequest(input *DescribeLogGroupsInput)
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroups
|
||||
func (c *CloudWatchLogs) DescribeLogGroups(input *DescribeLogGroupsInput) (*DescribeLogGroupsOutput, error) {
|
||||
req, out := c.DescribeLogGroupsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1103,6 +1129,7 @@ const opDescribeLogStreams = "DescribeLogStreams"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogStreams
|
||||
func (c *CloudWatchLogs) DescribeLogStreamsRequest(input *DescribeLogStreamsInput) (req *request.Request, output *DescribeLogStreamsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeLogStreams,
|
||||
|
@ -1152,6 +1179,7 @@ func (c *CloudWatchLogs) DescribeLogStreamsRequest(input *DescribeLogStreamsInpu
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogStreams
|
||||
func (c *CloudWatchLogs) DescribeLogStreams(input *DescribeLogStreamsInput) (*DescribeLogStreamsOutput, error) {
|
||||
req, out := c.DescribeLogStreamsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1209,6 +1237,7 @@ const opDescribeMetricFilters = "DescribeMetricFilters"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFilters
|
||||
func (c *CloudWatchLogs) DescribeMetricFiltersRequest(input *DescribeMetricFiltersInput) (req *request.Request, output *DescribeMetricFiltersOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeMetricFilters,
|
||||
|
@ -1255,6 +1284,7 @@ func (c *CloudWatchLogs) DescribeMetricFiltersRequest(input *DescribeMetricFilte
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFilters
|
||||
func (c *CloudWatchLogs) DescribeMetricFilters(input *DescribeMetricFiltersInput) (*DescribeMetricFiltersOutput, error) {
|
||||
req, out := c.DescribeMetricFiltersRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1312,6 +1342,7 @@ const opDescribeSubscriptionFilters = "DescribeSubscriptionFilters"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeSubscriptionFilters
|
||||
func (c *CloudWatchLogs) DescribeSubscriptionFiltersRequest(input *DescribeSubscriptionFiltersInput) (req *request.Request, output *DescribeSubscriptionFiltersOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeSubscriptionFilters,
|
||||
|
@ -1358,6 +1389,7 @@ func (c *CloudWatchLogs) DescribeSubscriptionFiltersRequest(input *DescribeSubsc
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeSubscriptionFilters
|
||||
func (c *CloudWatchLogs) DescribeSubscriptionFilters(input *DescribeSubscriptionFiltersInput) (*DescribeSubscriptionFiltersOutput, error) {
|
||||
req, out := c.DescribeSubscriptionFiltersRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1415,6 +1447,7 @@ const opFilterLogEvents = "FilterLogEvents"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEvents
|
||||
func (c *CloudWatchLogs) FilterLogEventsRequest(input *FilterLogEventsInput) (req *request.Request, output *FilterLogEventsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opFilterLogEvents,
|
||||
|
@ -1467,6 +1500,7 @@ func (c *CloudWatchLogs) FilterLogEventsRequest(input *FilterLogEventsInput) (re
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEvents
|
||||
func (c *CloudWatchLogs) FilterLogEvents(input *FilterLogEventsInput) (*FilterLogEventsOutput, error) {
|
||||
req, out := c.FilterLogEventsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1524,6 +1558,7 @@ const opGetLogEvents = "GetLogEvents"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEvents
|
||||
func (c *CloudWatchLogs) GetLogEventsRequest(input *GetLogEventsInput) (req *request.Request, output *GetLogEventsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetLogEvents,
|
||||
|
@ -1574,6 +1609,7 @@ func (c *CloudWatchLogs) GetLogEventsRequest(input *GetLogEventsInput) (req *req
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEvents
|
||||
func (c *CloudWatchLogs) GetLogEvents(input *GetLogEventsInput) (*GetLogEventsOutput, error) {
|
||||
req, out := c.GetLogEventsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1631,6 +1667,7 @@ const opListTagsLogGroup = "ListTagsLogGroup"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroup
|
||||
func (c *CloudWatchLogs) ListTagsLogGroupRequest(input *ListTagsLogGroupInput) (req *request.Request, output *ListTagsLogGroupOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListTagsLogGroup,
|
||||
|
@ -1668,6 +1705,7 @@ func (c *CloudWatchLogs) ListTagsLogGroupRequest(input *ListTagsLogGroupInput) (
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroup
|
||||
func (c *CloudWatchLogs) ListTagsLogGroup(input *ListTagsLogGroupInput) (*ListTagsLogGroupOutput, error) {
|
||||
req, out := c.ListTagsLogGroupRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1700,6 +1738,7 @@ const opPutDestination = "PutDestination"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestination
|
||||
func (c *CloudWatchLogs) PutDestinationRequest(input *PutDestinationInput) (req *request.Request, output *PutDestinationOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutDestination,
|
||||
|
@ -1748,6 +1787,7 @@ func (c *CloudWatchLogs) PutDestinationRequest(input *PutDestinationInput) (req
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestination
|
||||
func (c *CloudWatchLogs) PutDestination(input *PutDestinationInput) (*PutDestinationOutput, error) {
|
||||
req, out := c.PutDestinationRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1780,6 +1820,7 @@ const opPutDestinationPolicy = "PutDestinationPolicy"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicy
|
||||
func (c *CloudWatchLogs) PutDestinationPolicyRequest(input *PutDestinationPolicyInput) (req *request.Request, output *PutDestinationPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutDestinationPolicy,
|
||||
|
@ -1823,6 +1864,7 @@ func (c *CloudWatchLogs) PutDestinationPolicyRequest(input *PutDestinationPolicy
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicy
|
||||
func (c *CloudWatchLogs) PutDestinationPolicy(input *PutDestinationPolicyInput) (*PutDestinationPolicyOutput, error) {
|
||||
req, out := c.PutDestinationPolicyRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1855,6 +1897,7 @@ const opPutLogEvents = "PutLogEvents"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEvents
|
||||
func (c *CloudWatchLogs) PutLogEventsRequest(input *PutLogEventsInput) (req *request.Request, output *PutLogEventsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutLogEvents,
|
||||
|
@ -1924,6 +1967,7 @@ func (c *CloudWatchLogs) PutLogEventsRequest(input *PutLogEventsInput) (req *req
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEvents
|
||||
func (c *CloudWatchLogs) PutLogEvents(input *PutLogEventsInput) (*PutLogEventsOutput, error) {
|
||||
req, out := c.PutLogEventsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1956,6 +2000,7 @@ const opPutMetricFilter = "PutMetricFilter"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilter
|
||||
func (c *CloudWatchLogs) PutMetricFilterRequest(input *PutMetricFilterInput) (req *request.Request, output *PutMetricFilterOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutMetricFilter,
|
||||
|
@ -2007,6 +2052,7 @@ func (c *CloudWatchLogs) PutMetricFilterRequest(input *PutMetricFilterInput) (re
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilter
|
||||
func (c *CloudWatchLogs) PutMetricFilter(input *PutMetricFilterInput) (*PutMetricFilterOutput, error) {
|
||||
req, out := c.PutMetricFilterRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2039,6 +2085,7 @@ const opPutRetentionPolicy = "PutRetentionPolicy"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicy
|
||||
func (c *CloudWatchLogs) PutRetentionPolicyRequest(input *PutRetentionPolicyInput) (req *request.Request, output *PutRetentionPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutRetentionPolicy,
|
||||
|
@ -2084,6 +2131,7 @@ func (c *CloudWatchLogs) PutRetentionPolicyRequest(input *PutRetentionPolicyInpu
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicy
|
||||
func (c *CloudWatchLogs) PutRetentionPolicy(input *PutRetentionPolicyInput) (*PutRetentionPolicyOutput, error) {
|
||||
req, out := c.PutRetentionPolicyRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2116,6 +2164,7 @@ const opPutSubscriptionFilter = "PutSubscriptionFilter"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilter
|
||||
func (c *CloudWatchLogs) PutSubscriptionFilterRequest(input *PutSubscriptionFilterInput) (req *request.Request, output *PutSubscriptionFilterOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutSubscriptionFilter,
|
||||
|
@ -2179,6 +2228,7 @@ func (c *CloudWatchLogs) PutSubscriptionFilterRequest(input *PutSubscriptionFilt
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilter
|
||||
func (c *CloudWatchLogs) PutSubscriptionFilter(input *PutSubscriptionFilterInput) (*PutSubscriptionFilterOutput, error) {
|
||||
req, out := c.PutSubscriptionFilterRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2211,6 +2261,7 @@ const opTagLogGroup = "TagLogGroup"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagLogGroup
|
||||
func (c *CloudWatchLogs) TagLogGroupRequest(input *TagLogGroupInput) (req *request.Request, output *TagLogGroupOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opTagLogGroup,
|
||||
|
@ -2255,6 +2306,7 @@ func (c *CloudWatchLogs) TagLogGroupRequest(input *TagLogGroupInput) (req *reque
|
|||
// * InvalidParameterException
|
||||
// A parameter is specified incorrectly.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagLogGroup
|
||||
func (c *CloudWatchLogs) TagLogGroup(input *TagLogGroupInput) (*TagLogGroupOutput, error) {
|
||||
req, out := c.TagLogGroupRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2287,6 +2339,7 @@ const opTestMetricFilter = "TestMetricFilter"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TestMetricFilter
|
||||
func (c *CloudWatchLogs) TestMetricFilterRequest(input *TestMetricFilterInput) (req *request.Request, output *TestMetricFilterOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opTestMetricFilter,
|
||||
|
@ -2324,6 +2377,7 @@ func (c *CloudWatchLogs) TestMetricFilterRequest(input *TestMetricFilterInput) (
|
|||
// * ServiceUnavailableException
|
||||
// The service cannot complete the request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TestMetricFilter
|
||||
func (c *CloudWatchLogs) TestMetricFilter(input *TestMetricFilterInput) (*TestMetricFilterOutput, error) {
|
||||
req, out := c.TestMetricFilterRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2356,6 +2410,7 @@ const opUntagLogGroup = "UntagLogGroup"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UntagLogGroup
|
||||
func (c *CloudWatchLogs) UntagLogGroupRequest(input *UntagLogGroupInput) (req *request.Request, output *UntagLogGroupOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUntagLogGroup,
|
||||
|
@ -2393,12 +2448,14 @@ func (c *CloudWatchLogs) UntagLogGroupRequest(input *UntagLogGroupInput) (req *r
|
|||
// * ResourceNotFoundException
|
||||
// The specified resource does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UntagLogGroup
|
||||
func (c *CloudWatchLogs) UntagLogGroup(input *UntagLogGroupInput) (*UntagLogGroupOutput, error) {
|
||||
req, out := c.UntagLogGroupRequest(input)
|
||||
err := req.Send()
|
||||
return out, err
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTaskRequest
|
||||
type CancelExportTaskInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2440,6 +2497,7 @@ func (s *CancelExportTaskInput) SetTaskId(v string) *CancelExportTaskInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTaskOutput
|
||||
type CancelExportTaskOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2454,6 +2512,7 @@ func (s CancelExportTaskOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTaskRequest
|
||||
type CreateExportTaskInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2580,6 +2639,7 @@ func (s *CreateExportTaskInput) SetTo(v int64) *CreateExportTaskInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTaskResponse
|
||||
type CreateExportTaskOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2603,6 +2663,7 @@ func (s *CreateExportTaskOutput) SetTaskId(v string) *CreateExportTaskOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroupRequest
|
||||
type CreateLogGroupInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2656,6 +2717,7 @@ func (s *CreateLogGroupInput) SetTags(v map[string]*string) *CreateLogGroupInput
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroupOutput
|
||||
type CreateLogGroupOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2670,6 +2732,7 @@ func (s CreateLogGroupOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStreamRequest
|
||||
type CreateLogStreamInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2728,6 +2791,7 @@ func (s *CreateLogStreamInput) SetLogStreamName(v string) *CreateLogStreamInput
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStreamOutput
|
||||
type CreateLogStreamOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2742,6 +2806,7 @@ func (s CreateLogStreamOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestinationRequest
|
||||
type DeleteDestinationInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2783,6 +2848,7 @@ func (s *DeleteDestinationInput) SetDestinationName(v string) *DeleteDestination
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestinationOutput
|
||||
type DeleteDestinationOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2797,6 +2863,7 @@ func (s DeleteDestinationOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroupRequest
|
||||
type DeleteLogGroupInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2838,6 +2905,7 @@ func (s *DeleteLogGroupInput) SetLogGroupName(v string) *DeleteLogGroupInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroupOutput
|
||||
type DeleteLogGroupOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2852,6 +2920,7 @@ func (s DeleteLogGroupOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStreamRequest
|
||||
type DeleteLogStreamInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2910,6 +2979,7 @@ func (s *DeleteLogStreamInput) SetLogStreamName(v string) *DeleteLogStreamInput
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStreamOutput
|
||||
type DeleteLogStreamOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2924,6 +2994,7 @@ func (s DeleteLogStreamOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilterRequest
|
||||
type DeleteMetricFilterInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2982,6 +3053,7 @@ func (s *DeleteMetricFilterInput) SetLogGroupName(v string) *DeleteMetricFilterI
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilterOutput
|
||||
type DeleteMetricFilterOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2996,6 +3068,7 @@ func (s DeleteMetricFilterOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicyRequest
|
||||
type DeleteRetentionPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3037,6 +3110,7 @@ func (s *DeleteRetentionPolicyInput) SetLogGroupName(v string) *DeleteRetentionP
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicyOutput
|
||||
type DeleteRetentionPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3051,6 +3125,7 @@ func (s DeleteRetentionPolicyOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilterRequest
|
||||
type DeleteSubscriptionFilterInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3109,6 +3184,7 @@ func (s *DeleteSubscriptionFilterInput) SetLogGroupName(v string) *DeleteSubscri
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilterOutput
|
||||
type DeleteSubscriptionFilterOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3123,6 +3199,7 @@ func (s DeleteSubscriptionFilterOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDestinationsRequest
|
||||
type DescribeDestinationsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3185,6 +3262,7 @@ func (s *DescribeDestinationsInput) SetNextToken(v string) *DescribeDestinations
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDestinationsResponse
|
||||
type DescribeDestinationsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3218,6 +3296,7 @@ func (s *DescribeDestinationsOutput) SetNextToken(v string) *DescribeDestination
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeExportTasksRequest
|
||||
type DescribeExportTasksInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3291,6 +3370,7 @@ func (s *DescribeExportTasksInput) SetTaskId(v string) *DescribeExportTasksInput
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeExportTasksResponse
|
||||
type DescribeExportTasksOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3324,6 +3404,7 @@ func (s *DescribeExportTasksOutput) SetNextToken(v string) *DescribeExportTasksO
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroupsRequest
|
||||
type DescribeLogGroupsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3386,6 +3467,7 @@ func (s *DescribeLogGroupsInput) SetNextToken(v string) *DescribeLogGroupsInput
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroupsResponse
|
||||
type DescribeLogGroupsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3419,6 +3501,7 @@ func (s *DescribeLogGroupsOutput) SetNextToken(v string) *DescribeLogGroupsOutpu
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogStreamsRequest
|
||||
type DescribeLogStreamsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3525,6 +3608,7 @@ func (s *DescribeLogStreamsInput) SetOrderBy(v string) *DescribeLogStreamsInput
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogStreamsResponse
|
||||
type DescribeLogStreamsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3558,6 +3642,7 @@ func (s *DescribeLogStreamsOutput) SetNextToken(v string) *DescribeLogStreamsOut
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFiltersRequest
|
||||
type DescribeMetricFiltersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3650,6 +3735,7 @@ func (s *DescribeMetricFiltersInput) SetNextToken(v string) *DescribeMetricFilte
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFiltersResponse
|
||||
type DescribeMetricFiltersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3683,6 +3769,7 @@ func (s *DescribeMetricFiltersOutput) SetNextToken(v string) *DescribeMetricFilt
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeSubscriptionFiltersRequest
|
||||
type DescribeSubscriptionFiltersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3762,6 +3849,7 @@ func (s *DescribeSubscriptionFiltersInput) SetNextToken(v string) *DescribeSubsc
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeSubscriptionFiltersResponse
|
||||
type DescribeSubscriptionFiltersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3796,6 +3884,7 @@ func (s *DescribeSubscriptionFiltersOutput) SetSubscriptionFilters(v []*Subscrip
|
|||
}
|
||||
|
||||
// Represents a cross-account destination that receives subscription log events.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/Destination
|
||||
type Destination struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3867,6 +3956,7 @@ func (s *Destination) SetTargetArn(v string) *Destination {
|
|||
}
|
||||
|
||||
// Represents an export task.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ExportTask
|
||||
type ExportTask struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3965,6 +4055,7 @@ func (s *ExportTask) SetTo(v int64) *ExportTask {
|
|||
}
|
||||
|
||||
// Represents the status of an export task.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ExportTaskExecutionInfo
|
||||
type ExportTaskExecutionInfo struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3998,6 +4089,7 @@ func (s *ExportTaskExecutionInfo) SetCreationTime(v int64) *ExportTaskExecutionI
|
|||
}
|
||||
|
||||
// Represents the status of an export task.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ExportTaskStatus
|
||||
type ExportTaskStatus struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4030,6 +4122,7 @@ func (s *ExportTaskStatus) SetMessage(v string) *ExportTaskStatus {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEventsRequest
|
||||
type FilterLogEventsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4152,6 +4245,7 @@ func (s *FilterLogEventsInput) SetStartTime(v int64) *FilterLogEventsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEventsResponse
|
||||
type FilterLogEventsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4196,6 +4290,7 @@ func (s *FilterLogEventsOutput) SetSearchedLogStreams(v []*SearchedLogStream) *F
|
|||
}
|
||||
|
||||
// Represents a matched event.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilteredLogEvent
|
||||
type FilteredLogEvent struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4256,6 +4351,7 @@ func (s *FilteredLogEvent) SetTimestamp(v int64) *FilteredLogEvent {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEventsRequest
|
||||
type GetLogEventsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4374,6 +4470,7 @@ func (s *GetLogEventsInput) SetStartTime(v int64) *GetLogEventsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEventsResponse
|
||||
type GetLogEventsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4419,6 +4516,7 @@ func (s *GetLogEventsOutput) SetNextForwardToken(v string) *GetLogEventsOutput {
|
|||
|
||||
// Represents a log event, which is a record of activity that was recorded by
|
||||
// the application or resource being monitored.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/InputLogEvent
|
||||
type InputLogEvent struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4475,6 +4573,7 @@ func (s *InputLogEvent) SetTimestamp(v int64) *InputLogEvent {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroupRequest
|
||||
type ListTagsLogGroupInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4516,6 +4615,7 @@ func (s *ListTagsLogGroupInput) SetLogGroupName(v string) *ListTagsLogGroupInput
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroupResponse
|
||||
type ListTagsLogGroupOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4540,6 +4640,7 @@ func (s *ListTagsLogGroupOutput) SetTags(v map[string]*string) *ListTagsLogGroup
|
|||
}
|
||||
|
||||
// Represents a log group.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LogGroup
|
||||
type LogGroup struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4612,6 +4713,7 @@ func (s *LogGroup) SetStoredBytes(v int64) *LogGroup {
|
|||
|
||||
// Represents a log stream, which is a sequence of log events from a single
|
||||
// emitter of logs.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LogStream
|
||||
type LogStream struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4703,6 +4805,7 @@ func (s *LogStream) SetUploadSequenceToken(v string) *LogStream {
|
|||
// Metric filters express how CloudWatch Logs would extract metric observations
|
||||
// from ingested log events and transform them into metric data in a CloudWatch
|
||||
// metric.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/MetricFilter
|
||||
type MetricFilter struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4766,6 +4869,7 @@ func (s *MetricFilter) SetMetricTransformations(v []*MetricTransformation) *Metr
|
|||
}
|
||||
|
||||
// Represents a matched event.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/MetricFilterMatchRecord
|
||||
type MetricFilterMatchRecord struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4809,6 +4913,7 @@ func (s *MetricFilterMatchRecord) SetExtractedValues(v map[string]*string) *Metr
|
|||
|
||||
// Indicates how to transform ingested log events into metric data in a CloudWatch
|
||||
// metric.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/MetricTransformation
|
||||
type MetricTransformation struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4887,6 +4992,7 @@ func (s *MetricTransformation) SetMetricValue(v string) *MetricTransformation {
|
|||
}
|
||||
|
||||
// Represents a log event.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/OutputLogEvent
|
||||
type OutputLogEvent struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4929,6 +5035,7 @@ func (s *OutputLogEvent) SetTimestamp(v int64) *OutputLogEvent {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationRequest
|
||||
type PutDestinationInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5005,6 +5112,7 @@ func (s *PutDestinationInput) SetTargetArn(v string) *PutDestinationInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationResponse
|
||||
type PutDestinationOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5028,6 +5136,7 @@ func (s *PutDestinationOutput) SetDestination(v *Destination) *PutDestinationOut
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicyRequest
|
||||
type PutDestinationPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5087,6 +5196,7 @@ func (s *PutDestinationPolicyInput) SetDestinationName(v string) *PutDestination
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicyOutput
|
||||
type PutDestinationPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5101,6 +5211,7 @@ func (s PutDestinationPolicyOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEventsRequest
|
||||
type PutLogEventsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5198,6 +5309,7 @@ func (s *PutLogEventsInput) SetSequenceToken(v string) *PutLogEventsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEventsResponse
|
||||
type PutLogEventsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5230,6 +5342,7 @@ func (s *PutLogEventsOutput) SetRejectedLogEventsInfo(v *RejectedLogEventsInfo)
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilterRequest
|
||||
type PutMetricFilterInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5329,6 +5442,7 @@ func (s *PutMetricFilterInput) SetMetricTransformations(v []*MetricTransformatio
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilterOutput
|
||||
type PutMetricFilterOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5343,6 +5457,7 @@ func (s PutMetricFilterOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicyRequest
|
||||
type PutRetentionPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5400,6 +5515,7 @@ func (s *PutRetentionPolicyInput) SetRetentionInDays(v int64) *PutRetentionPolic
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicyOutput
|
||||
type PutRetentionPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5414,6 +5530,7 @@ func (s PutRetentionPolicyOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilterRequest
|
||||
type PutSubscriptionFilterInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5542,6 +5659,7 @@ func (s *PutSubscriptionFilterInput) SetRoleArn(v string) *PutSubscriptionFilter
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilterOutput
|
||||
type PutSubscriptionFilterOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5557,6 +5675,7 @@ func (s PutSubscriptionFilterOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Represents the rejected events.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/RejectedLogEventsInfo
|
||||
type RejectedLogEventsInfo struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5599,6 +5718,7 @@ func (s *RejectedLogEventsInfo) SetTooOldLogEventEndIndex(v int64) *RejectedLogE
|
|||
}
|
||||
|
||||
// Represents the search status of a log stream.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/SearchedLogStream
|
||||
type SearchedLogStream struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5632,6 +5752,7 @@ func (s *SearchedLogStream) SetSearchedCompletely(v bool) *SearchedLogStream {
|
|||
}
|
||||
|
||||
// Represents a subscription filter.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/SubscriptionFilter
|
||||
type SubscriptionFilter struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5712,6 +5833,7 @@ func (s *SubscriptionFilter) SetRoleArn(v string) *SubscriptionFilter {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagLogGroupRequest
|
||||
type TagLogGroupInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5770,6 +5892,7 @@ func (s *TagLogGroupInput) SetTags(v map[string]*string) *TagLogGroupInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagLogGroupOutput
|
||||
type TagLogGroupOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5784,6 +5907,7 @@ func (s TagLogGroupOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TestMetricFilterRequest
|
||||
type TestMetricFilterInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5842,6 +5966,7 @@ func (s *TestMetricFilterInput) SetLogEventMessages(v []*string) *TestMetricFilt
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TestMetricFilterResponse
|
||||
type TestMetricFilterOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5865,6 +5990,7 @@ func (s *TestMetricFilterOutput) SetMatches(v []*MetricFilterMatchRecord) *TestM
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UntagLogGroupRequest
|
||||
type UntagLogGroupInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5923,6 +6049,7 @@ func (s *UntagLogGroupInput) SetTags(v []*string) *UntagLogGroupInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UntagLogGroupOutput
|
||||
type UntagLogGroupOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
|
|
@ -41,8 +41,9 @@ import (
|
|||
// The CloudWatch Logs agent makes it easy to quickly send both rotated and
|
||||
// non-rotated log data off of a host and into the log service. You can then
|
||||
// access the raw log data when you need it.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28
|
||||
type CloudWatchLogs struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -53,8 +54,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "logs"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "logs" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudWatchLogs client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -67,7 +71,7 @@ const ServiceName = "logs"
|
|||
// // Create a CloudWatchLogs client with additional configuration
|
||||
// svc := cloudwatchlogs.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudWatchLogs {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ const opBatchGetRepositories = "BatchGetRepositories"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositories
|
||||
func (c *CodeCommit) BatchGetRepositoriesRequest(input *BatchGetRepositoriesInput) (req *request.Request, output *BatchGetRepositoriesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opBatchGetRepositories,
|
||||
|
@ -102,6 +103,7 @@ func (c *CodeCommit) BatchGetRepositoriesRequest(input *BatchGetRepositoriesInpu
|
|||
// * EncryptionKeyUnavailableException
|
||||
// The encryption key is not available.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositories
|
||||
func (c *CodeCommit) BatchGetRepositories(input *BatchGetRepositoriesInput) (*BatchGetRepositoriesOutput, error) {
|
||||
req, out := c.BatchGetRepositoriesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -134,6 +136,7 @@ const opCreateBranch = "CreateBranch"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranch
|
||||
func (c *CodeCommit) CreateBranchRequest(input *CreateBranchInput) (req *request.Request, output *CreateBranchOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateBranch,
|
||||
|
@ -215,6 +218,7 @@ func (c *CodeCommit) CreateBranchRequest(input *CreateBranchInput) (req *request
|
|||
// * EncryptionKeyUnavailableException
|
||||
// The encryption key is not available.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranch
|
||||
func (c *CodeCommit) CreateBranch(input *CreateBranchInput) (*CreateBranchOutput, error) {
|
||||
req, out := c.CreateBranchRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -247,6 +251,7 @@ const opCreateRepository = "CreateRepository"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepository
|
||||
func (c *CodeCommit) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateRepository,
|
||||
|
@ -310,6 +315,7 @@ func (c *CodeCommit) CreateRepositoryRequest(input *CreateRepositoryInput) (req
|
|||
// * EncryptionKeyUnavailableException
|
||||
// The encryption key is not available.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepository
|
||||
func (c *CodeCommit) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error) {
|
||||
req, out := c.CreateRepositoryRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -342,6 +348,7 @@ const opDeleteRepository = "DeleteRepository"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository
|
||||
func (c *CodeCommit) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteRepository,
|
||||
|
@ -401,6 +408,7 @@ func (c *CodeCommit) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req
|
|||
// * EncryptionKeyUnavailableException
|
||||
// The encryption key is not available.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository
|
||||
func (c *CodeCommit) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error) {
|
||||
req, out := c.DeleteRepositoryRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -433,6 +441,7 @@ const opGetBranch = "GetBranch"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch
|
||||
func (c *CodeCommit) GetBranchRequest(input *GetBranchInput) (req *request.Request, output *GetBranchOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetBranch,
|
||||
|
@ -500,6 +509,7 @@ func (c *CodeCommit) GetBranchRequest(input *GetBranchInput) (req *request.Reque
|
|||
// * EncryptionKeyUnavailableException
|
||||
// The encryption key is not available.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch
|
||||
func (c *CodeCommit) GetBranch(input *GetBranchInput) (*GetBranchOutput, error) {
|
||||
req, out := c.GetBranchRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -532,6 +542,7 @@ const opGetCommit = "GetCommit"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit
|
||||
func (c *CodeCommit) GetCommitRequest(input *GetCommitInput) (req *request.Request, output *GetCommitOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetCommit,
|
||||
|
@ -599,6 +610,7 @@ func (c *CodeCommit) GetCommitRequest(input *GetCommitInput) (req *request.Reque
|
|||
// * EncryptionKeyUnavailableException
|
||||
// The encryption key is not available.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit
|
||||
func (c *CodeCommit) GetCommit(input *GetCommitInput) (*GetCommitOutput, error) {
|
||||
req, out := c.GetCommitRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -631,6 +643,7 @@ const opGetRepository = "GetRepository"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository
|
||||
func (c *CodeCommit) GetRepositoryRequest(input *GetRepositoryInput) (req *request.Request, output *GetRepositoryOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetRepository,
|
||||
|
@ -694,6 +707,7 @@ func (c *CodeCommit) GetRepositoryRequest(input *GetRepositoryInput) (req *reque
|
|||
// * EncryptionKeyUnavailableException
|
||||
// The encryption key is not available.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository
|
||||
func (c *CodeCommit) GetRepository(input *GetRepositoryInput) (*GetRepositoryOutput, error) {
|
||||
req, out := c.GetRepositoryRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -726,6 +740,7 @@ const opGetRepositoryTriggers = "GetRepositoryTriggers"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers
|
||||
func (c *CodeCommit) GetRepositoryTriggersRequest(input *GetRepositoryTriggersInput) (req *request.Request, output *GetRepositoryTriggersOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetRepositoryTriggers,
|
||||
|
@ -783,6 +798,7 @@ func (c *CodeCommit) GetRepositoryTriggersRequest(input *GetRepositoryTriggersIn
|
|||
// * EncryptionKeyUnavailableException
|
||||
// The encryption key is not available.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers
|
||||
func (c *CodeCommit) GetRepositoryTriggers(input *GetRepositoryTriggersInput) (*GetRepositoryTriggersOutput, error) {
|
||||
req, out := c.GetRepositoryTriggersRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -815,6 +831,7 @@ const opListBranches = "ListBranches"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches
|
||||
func (c *CodeCommit) ListBranchesRequest(input *ListBranchesInput) (req *request.Request, output *ListBranchesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListBranches,
|
||||
|
@ -881,6 +898,7 @@ func (c *CodeCommit) ListBranchesRequest(input *ListBranchesInput) (req *request
|
|||
// * InvalidContinuationTokenException
|
||||
// The specified continuation token is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches
|
||||
func (c *CodeCommit) ListBranches(input *ListBranchesInput) (*ListBranchesOutput, error) {
|
||||
req, out := c.ListBranchesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -938,6 +956,7 @@ const opListRepositories = "ListRepositories"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories
|
||||
func (c *CodeCommit) ListRepositoriesRequest(input *ListRepositoriesInput) (req *request.Request, output *ListRepositoriesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListRepositories,
|
||||
|
@ -982,6 +1001,7 @@ func (c *CodeCommit) ListRepositoriesRequest(input *ListRepositoriesInput) (req
|
|||
// * InvalidContinuationTokenException
|
||||
// The specified continuation token is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories
|
||||
func (c *CodeCommit) ListRepositories(input *ListRepositoriesInput) (*ListRepositoriesOutput, error) {
|
||||
req, out := c.ListRepositoriesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1039,6 +1059,7 @@ const opPutRepositoryTriggers = "PutRepositoryTriggers"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers
|
||||
func (c *CodeCommit) PutRepositoryTriggersRequest(input *PutRepositoryTriggersInput) (req *request.Request, output *PutRepositoryTriggersOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutRepositoryTriggers,
|
||||
|
@ -1142,6 +1163,7 @@ func (c *CodeCommit) PutRepositoryTriggersRequest(input *PutRepositoryTriggersIn
|
|||
// * EncryptionKeyUnavailableException
|
||||
// The encryption key is not available.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers
|
||||
func (c *CodeCommit) PutRepositoryTriggers(input *PutRepositoryTriggersInput) (*PutRepositoryTriggersOutput, error) {
|
||||
req, out := c.PutRepositoryTriggersRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1174,6 +1196,7 @@ const opTestRepositoryTriggers = "TestRepositoryTriggers"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers
|
||||
func (c *CodeCommit) TestRepositoryTriggersRequest(input *TestRepositoryTriggersInput) (req *request.Request, output *TestRepositoryTriggersOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opTestRepositoryTriggers,
|
||||
|
@ -1279,6 +1302,7 @@ func (c *CodeCommit) TestRepositoryTriggersRequest(input *TestRepositoryTriggers
|
|||
// * EncryptionKeyUnavailableException
|
||||
// The encryption key is not available.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers
|
||||
func (c *CodeCommit) TestRepositoryTriggers(input *TestRepositoryTriggersInput) (*TestRepositoryTriggersOutput, error) {
|
||||
req, out := c.TestRepositoryTriggersRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1311,6 +1335,7 @@ const opUpdateDefaultBranch = "UpdateDefaultBranch"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch
|
||||
func (c *CodeCommit) UpdateDefaultBranchRequest(input *UpdateDefaultBranchInput) (req *request.Request, output *UpdateDefaultBranchOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdateDefaultBranch,
|
||||
|
@ -1383,6 +1408,7 @@ func (c *CodeCommit) UpdateDefaultBranchRequest(input *UpdateDefaultBranchInput)
|
|||
// * EncryptionKeyUnavailableException
|
||||
// The encryption key is not available.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch
|
||||
func (c *CodeCommit) UpdateDefaultBranch(input *UpdateDefaultBranchInput) (*UpdateDefaultBranchOutput, error) {
|
||||
req, out := c.UpdateDefaultBranchRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1415,6 +1441,7 @@ const opUpdateRepositoryDescription = "UpdateRepositoryDescription"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription
|
||||
func (c *CodeCommit) UpdateRepositoryDescriptionRequest(input *UpdateRepositoryDescriptionInput) (req *request.Request, output *UpdateRepositoryDescriptionOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdateRepositoryDescription,
|
||||
|
@ -1483,6 +1510,7 @@ func (c *CodeCommit) UpdateRepositoryDescriptionRequest(input *UpdateRepositoryD
|
|||
// * EncryptionKeyUnavailableException
|
||||
// The encryption key is not available.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription
|
||||
func (c *CodeCommit) UpdateRepositoryDescription(input *UpdateRepositoryDescriptionInput) (*UpdateRepositoryDescriptionOutput, error) {
|
||||
req, out := c.UpdateRepositoryDescriptionRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1515,6 +1543,7 @@ const opUpdateRepositoryName = "UpdateRepositoryName"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName
|
||||
func (c *CodeCommit) UpdateRepositoryNameRequest(input *UpdateRepositoryNameInput) (req *request.Request, output *UpdateRepositoryNameOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdateRepositoryName,
|
||||
|
@ -1567,6 +1596,7 @@ func (c *CodeCommit) UpdateRepositoryNameRequest(input *UpdateRepositoryNameInpu
|
|||
// Other exceptions occur when a required repository parameter is missing, or
|
||||
// when a specified repository does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName
|
||||
func (c *CodeCommit) UpdateRepositoryName(input *UpdateRepositoryNameInput) (*UpdateRepositoryNameOutput, error) {
|
||||
req, out := c.UpdateRepositoryNameRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1574,6 +1604,7 @@ func (c *CodeCommit) UpdateRepositoryName(input *UpdateRepositoryNameInput) (*Up
|
|||
}
|
||||
|
||||
// Represents the input of a batch get repositories operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositoriesInput
|
||||
type BatchGetRepositoriesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1613,6 +1644,7 @@ func (s *BatchGetRepositoriesInput) SetRepositoryNames(v []*string) *BatchGetRep
|
|||
}
|
||||
|
||||
// Represents the output of a batch get repositories operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositoriesOutput
|
||||
type BatchGetRepositoriesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1646,6 +1678,7 @@ func (s *BatchGetRepositoriesOutput) SetRepositoriesNotFound(v []*string) *Batch
|
|||
}
|
||||
|
||||
// Returns information about a branch.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchInfo
|
||||
type BranchInfo struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1679,6 +1712,7 @@ func (s *BranchInfo) SetCommitId(v string) *BranchInfo {
|
|||
}
|
||||
|
||||
// Returns information about a specific commit.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Commit
|
||||
type Commit struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1751,6 +1785,7 @@ func (s *Commit) SetTreeId(v string) *Commit {
|
|||
}
|
||||
|
||||
// Represents the input of a create branch operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranchInput
|
||||
type CreateBranchInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1823,6 +1858,7 @@ func (s *CreateBranchInput) SetRepositoryName(v string) *CreateBranchInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranchOutput
|
||||
type CreateBranchOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1838,6 +1874,7 @@ func (s CreateBranchOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Represents the input of a create repository operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepositoryInput
|
||||
type CreateRepositoryInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1901,6 +1938,7 @@ func (s *CreateRepositoryInput) SetRepositoryName(v string) *CreateRepositoryInp
|
|||
}
|
||||
|
||||
// Represents the output of a create repository operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepositoryOutput
|
||||
type CreateRepositoryOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1925,6 +1963,7 @@ func (s *CreateRepositoryOutput) SetRepositoryMetadata(v *RepositoryMetadata) *C
|
|||
}
|
||||
|
||||
// Represents the input of a delete repository operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepositoryInput
|
||||
type DeleteRepositoryInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1967,6 +2006,7 @@ func (s *DeleteRepositoryInput) SetRepositoryName(v string) *DeleteRepositoryInp
|
|||
}
|
||||
|
||||
// Represents the output of a delete repository operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepositoryOutput
|
||||
type DeleteRepositoryOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1991,6 +2031,7 @@ func (s *DeleteRepositoryOutput) SetRepositoryId(v string) *DeleteRepositoryOutp
|
|||
}
|
||||
|
||||
// Represents the input of a get branch operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranchInput
|
||||
type GetBranchInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2041,6 +2082,7 @@ func (s *GetBranchInput) SetRepositoryName(v string) *GetBranchInput {
|
|||
}
|
||||
|
||||
// Represents the output of a get branch operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranchOutput
|
||||
type GetBranchOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2065,6 +2107,7 @@ func (s *GetBranchOutput) SetBranch(v *BranchInfo) *GetBranchOutput {
|
|||
}
|
||||
|
||||
// Represents the input of a get commit operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommitInput
|
||||
type GetCommitInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2121,6 +2164,7 @@ func (s *GetCommitInput) SetRepositoryName(v string) *GetCommitInput {
|
|||
}
|
||||
|
||||
// Represents the output of a get commit operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommitOutput
|
||||
type GetCommitOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2147,6 +2191,7 @@ func (s *GetCommitOutput) SetCommit(v *Commit) *GetCommitOutput {
|
|||
}
|
||||
|
||||
// Represents the input of a get repository operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryInput
|
||||
type GetRepositoryInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2189,6 +2234,7 @@ func (s *GetRepositoryInput) SetRepositoryName(v string) *GetRepositoryInput {
|
|||
}
|
||||
|
||||
// Represents the output of a get repository operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryOutput
|
||||
type GetRepositoryOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2213,6 +2259,7 @@ func (s *GetRepositoryOutput) SetRepositoryMetadata(v *RepositoryMetadata) *GetR
|
|||
}
|
||||
|
||||
// Represents the input of a get repository triggers operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggersInput
|
||||
type GetRepositoryTriggersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2250,6 +2297,7 @@ func (s *GetRepositoryTriggersInput) SetRepositoryName(v string) *GetRepositoryT
|
|||
}
|
||||
|
||||
// Represents the output of a get repository triggers operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggersOutput
|
||||
type GetRepositoryTriggersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2283,6 +2331,7 @@ func (s *GetRepositoryTriggersOutput) SetTriggers(v []*RepositoryTrigger) *GetRe
|
|||
}
|
||||
|
||||
// Represents the input of a list branches operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranchesInput
|
||||
type ListBranchesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2334,6 +2383,7 @@ func (s *ListBranchesInput) SetRepositoryName(v string) *ListBranchesInput {
|
|||
}
|
||||
|
||||
// Represents the output of a list branches operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranchesOutput
|
||||
type ListBranchesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2367,6 +2417,7 @@ func (s *ListBranchesOutput) SetNextToken(v string) *ListBranchesOutput {
|
|||
}
|
||||
|
||||
// Represents the input of a list repositories operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesInput
|
||||
type ListRepositoriesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2412,6 +2463,7 @@ func (s *ListRepositoriesInput) SetSortBy(v string) *ListRepositoriesInput {
|
|||
}
|
||||
|
||||
// Represents the output of a list repositories operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesOutput
|
||||
type ListRepositoriesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2448,6 +2500,7 @@ func (s *ListRepositoriesOutput) SetRepositories(v []*RepositoryNameIdPair) *Lis
|
|||
}
|
||||
|
||||
// Represents the input ofa put repository triggers operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggersInput
|
||||
type PutRepositoryTriggersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2494,6 +2547,7 @@ func (s *PutRepositoryTriggersInput) SetTriggers(v []*RepositoryTrigger) *PutRep
|
|||
}
|
||||
|
||||
// Represents the output of a put repository triggers operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggersOutput
|
||||
type PutRepositoryTriggersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2518,6 +2572,7 @@ func (s *PutRepositoryTriggersOutput) SetConfigurationId(v string) *PutRepositor
|
|||
}
|
||||
|
||||
// Information about a repository.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryMetadata
|
||||
type RepositoryMetadata struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2623,6 +2678,7 @@ func (s *RepositoryMetadata) SetRepositoryName(v string) *RepositoryMetadata {
|
|||
}
|
||||
|
||||
// Information about a repository name and ID.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNameIdPair
|
||||
type RepositoryNameIdPair struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2656,6 +2712,7 @@ func (s *RepositoryNameIdPair) SetRepositoryName(v string) *RepositoryNameIdPair
|
|||
}
|
||||
|
||||
// Information about a trigger for a repository.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTrigger
|
||||
type RepositoryTrigger struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2722,6 +2779,7 @@ func (s *RepositoryTrigger) SetName(v string) *RepositoryTrigger {
|
|||
}
|
||||
|
||||
// A trigger failed to run.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerExecutionFailure
|
||||
type RepositoryTriggerExecutionFailure struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2755,6 +2813,7 @@ func (s *RepositoryTriggerExecutionFailure) SetTrigger(v string) *RepositoryTrig
|
|||
}
|
||||
|
||||
// Represents the input of a test repository triggers operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggersInput
|
||||
type TestRepositoryTriggersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2801,6 +2860,7 @@ func (s *TestRepositoryTriggersInput) SetTriggers(v []*RepositoryTrigger) *TestR
|
|||
}
|
||||
|
||||
// Represents the output of a test repository triggers operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggersOutput
|
||||
type TestRepositoryTriggersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2836,6 +2896,7 @@ func (s *TestRepositoryTriggersOutput) SetSuccessfulExecutions(v []*string) *Tes
|
|||
}
|
||||
|
||||
// Represents the input of an update default branch operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranchInput
|
||||
type UpdateDefaultBranchInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2894,6 +2955,7 @@ func (s *UpdateDefaultBranchInput) SetRepositoryName(v string) *UpdateDefaultBra
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranchOutput
|
||||
type UpdateDefaultBranchOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2909,6 +2971,7 @@ func (s UpdateDefaultBranchOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Represents the input of an update repository description operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescriptionInput
|
||||
type UpdateRepositoryDescriptionInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2960,6 +3023,7 @@ func (s *UpdateRepositoryDescriptionInput) SetRepositoryName(v string) *UpdateRe
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescriptionOutput
|
||||
type UpdateRepositoryDescriptionOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2975,6 +3039,7 @@ func (s UpdateRepositoryDescriptionOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Represents the input of an update repository description operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryNameInput
|
||||
type UpdateRepositoryNameInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3033,6 +3098,7 @@ func (s *UpdateRepositoryNameInput) SetOldName(v string) *UpdateRepositoryNameIn
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryNameOutput
|
||||
type UpdateRepositoryNameOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3048,6 +3114,7 @@ func (s UpdateRepositoryNameOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Information about the user who made a specified commit.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UserInfo
|
||||
type UserInfo struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -49,8 +49,9 @@ import (
|
|||
//
|
||||
// For information about how to use AWS CodeCommit, see the AWS CodeCommit User
|
||||
// Guide (http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html).
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13
|
||||
type CodeCommit struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -61,8 +62,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "codecommit"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "codecommit" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CodeCommit client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -75,7 +79,7 @@ const ServiceName = "codecommit"
|
|||
// // Create a CodeCommit client with additional configuration
|
||||
// svc := codecommit.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeCommit {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -64,8 +64,9 @@ import (
|
|||
//
|
||||
// You can use the AWS CodeDeploy APIs to get, list, and register application
|
||||
// revisions.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06
|
||||
type CodeDeploy struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -76,8 +77,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "codedeploy"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "codedeploy" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CodeDeploy client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -90,7 +94,7 @@ const ServiceName = "codedeploy"
|
|||
// // Create a CodeDeploy client with additional configuration
|
||||
// svc := codedeploy.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeDeploy {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -11,11 +11,22 @@ import (
|
|||
"github.com/aws/aws-sdk-go/private/protocol/jsonrpc"
|
||||
)
|
||||
|
||||
// This is the AWS Directory Service API Reference. This guide provides detailed
|
||||
// AWS Directory Service is a web service that makes it easy for you to setup
|
||||
// and run directories in the AWS cloud, or connect your AWS resources with
|
||||
// an existing on-premises Microsoft Active Directory. This guide provides detailed
|
||||
// information about AWS Directory Service operations, data types, parameters,
|
||||
// and errors.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// and errors. For information about AWS Directory Services features, see AWS
|
||||
// Directory Service (https://aws.amazon.com/directoryservice/) and the AWS
|
||||
// Directory Service Administration Guide (http://docs.aws.amazon.com/directoryservice/latest/admin-guide/what_is.html).
|
||||
//
|
||||
// AWS provides SDKs that consist of libraries and sample code for various programming
|
||||
// languages and platforms (Java, Ruby, .Net, iOS, Android, etc.). The SDKs
|
||||
// provide a convenient way to create programmatic access to AWS Directory Service
|
||||
// and other AWS services. For more information about the AWS SDKs, including
|
||||
// how to download and install them, see Tools for Amazon Web Services (http://aws.amazon.com/tools/).
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16
|
||||
type DirectoryService struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -26,8 +37,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "ds"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "ds" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the DirectoryService client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -40,7 +54,7 @@ const ServiceName = "ds"
|
|||
// // Create a DirectoryService client with additional configuration
|
||||
// svc := directoryservice.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *DirectoryService {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@ const opBatchGetItem = "BatchGetItem"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItem
|
||||
func (c *DynamoDB) BatchGetItemRequest(input *BatchGetItemInput) (req *request.Request, output *BatchGetItemOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opBatchGetItem,
|
||||
|
@ -135,6 +136,7 @@ func (c *DynamoDB) BatchGetItemRequest(input *BatchGetItemInput) (req *request.R
|
|||
// * InternalServerError
|
||||
// An error occurred on the server side.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItem
|
||||
func (c *DynamoDB) BatchGetItem(input *BatchGetItemInput) (*BatchGetItemOutput, error) {
|
||||
req, out := c.BatchGetItemRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -192,6 +194,7 @@ const opBatchWriteItem = "BatchWriteItem"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItem
|
||||
func (c *DynamoDB) BatchWriteItemRequest(input *BatchWriteItemInput) (req *request.Request, output *BatchWriteItemOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opBatchWriteItem,
|
||||
|
@ -308,6 +311,7 @@ func (c *DynamoDB) BatchWriteItemRequest(input *BatchWriteItemInput) (req *reque
|
|||
// * InternalServerError
|
||||
// An error occurred on the server side.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItem
|
||||
func (c *DynamoDB) BatchWriteItem(input *BatchWriteItemInput) (*BatchWriteItemOutput, error) {
|
||||
req, out := c.BatchWriteItemRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -340,6 +344,7 @@ const opCreateTable = "CreateTable"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable
|
||||
func (c *DynamoDB) CreateTableRequest(input *CreateTableInput) (req *request.Request, output *CreateTableOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateTable,
|
||||
|
@ -401,6 +406,7 @@ func (c *DynamoDB) CreateTableRequest(input *CreateTableInput) (req *request.Req
|
|||
// * InternalServerError
|
||||
// An error occurred on the server side.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable
|
||||
func (c *DynamoDB) CreateTable(input *CreateTableInput) (*CreateTableOutput, error) {
|
||||
req, out := c.CreateTableRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -433,6 +439,7 @@ const opDeleteItem = "DeleteItem"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItem
|
||||
func (c *DynamoDB) DeleteItemRequest(input *DeleteItemInput) (req *request.Request, output *DeleteItemOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteItem,
|
||||
|
@ -497,6 +504,7 @@ func (c *DynamoDB) DeleteItemRequest(input *DeleteItemInput) (req *request.Reque
|
|||
// * InternalServerError
|
||||
// An error occurred on the server side.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItem
|
||||
func (c *DynamoDB) DeleteItem(input *DeleteItemInput) (*DeleteItemOutput, error) {
|
||||
req, out := c.DeleteItemRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -529,6 +537,7 @@ const opDeleteTable = "DeleteTable"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable
|
||||
func (c *DynamoDB) DeleteTableRequest(input *DeleteTableInput) (req *request.Request, output *DeleteTableOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteTable,
|
||||
|
@ -597,6 +606,7 @@ func (c *DynamoDB) DeleteTableRequest(input *DeleteTableInput) (req *request.Req
|
|||
// * InternalServerError
|
||||
// An error occurred on the server side.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable
|
||||
func (c *DynamoDB) DeleteTable(input *DeleteTableInput) (*DeleteTableOutput, error) {
|
||||
req, out := c.DeleteTableRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -629,6 +639,7 @@ const opDescribeLimits = "DescribeLimits"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimits
|
||||
func (c *DynamoDB) DescribeLimitsRequest(input *DescribeLimitsInput) (req *request.Request, output *DescribeLimitsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeLimits,
|
||||
|
@ -717,6 +728,7 @@ func (c *DynamoDB) DescribeLimitsRequest(input *DescribeLimitsInput) (req *reque
|
|||
// * InternalServerError
|
||||
// An error occurred on the server side.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimits
|
||||
func (c *DynamoDB) DescribeLimits(input *DescribeLimitsInput) (*DescribeLimitsOutput, error) {
|
||||
req, out := c.DescribeLimitsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -749,6 +761,7 @@ const opDescribeTable = "DescribeTable"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTable
|
||||
func (c *DynamoDB) DescribeTableRequest(input *DescribeTableInput) (req *request.Request, output *DescribeTableOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeTable,
|
||||
|
@ -793,6 +806,7 @@ func (c *DynamoDB) DescribeTableRequest(input *DescribeTableInput) (req *request
|
|||
// * InternalServerError
|
||||
// An error occurred on the server side.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTable
|
||||
func (c *DynamoDB) DescribeTable(input *DescribeTableInput) (*DescribeTableOutput, error) {
|
||||
req, out := c.DescribeTableRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -825,6 +839,7 @@ const opGetItem = "GetItem"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItem
|
||||
func (c *DynamoDB) GetItemRequest(input *GetItemInput) (req *request.Request, output *GetItemOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetItem,
|
||||
|
@ -875,6 +890,7 @@ func (c *DynamoDB) GetItemRequest(input *GetItemInput) (req *request.Request, ou
|
|||
// * InternalServerError
|
||||
// An error occurred on the server side.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItem
|
||||
func (c *DynamoDB) GetItem(input *GetItemInput) (*GetItemOutput, error) {
|
||||
req, out := c.GetItemRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -907,6 +923,7 @@ const opListTables = "ListTables"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTables
|
||||
func (c *DynamoDB) ListTablesRequest(input *ListTablesInput) (req *request.Request, output *ListTablesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListTables,
|
||||
|
@ -947,6 +964,7 @@ func (c *DynamoDB) ListTablesRequest(input *ListTablesInput) (req *request.Reque
|
|||
// * InternalServerError
|
||||
// An error occurred on the server side.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTables
|
||||
func (c *DynamoDB) ListTables(input *ListTablesInput) (*ListTablesOutput, error) {
|
||||
req, out := c.ListTablesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1004,6 +1022,7 @@ const opPutItem = "PutItem"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItem
|
||||
func (c *DynamoDB) PutItemRequest(input *PutItemInput) (req *request.Request, output *PutItemOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutItem,
|
||||
|
@ -1081,6 +1100,7 @@ func (c *DynamoDB) PutItemRequest(input *PutItemInput) (req *request.Request, ou
|
|||
// * InternalServerError
|
||||
// An error occurred on the server side.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItem
|
||||
func (c *DynamoDB) PutItem(input *PutItemInput) (*PutItemOutput, error) {
|
||||
req, out := c.PutItemRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1113,6 +1133,7 @@ const opQuery = "Query"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Query
|
||||
func (c *DynamoDB) QueryRequest(input *QueryInput) (req *request.Request, output *QueryOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opQuery,
|
||||
|
@ -1188,6 +1209,7 @@ func (c *DynamoDB) QueryRequest(input *QueryInput) (req *request.Request, output
|
|||
// * InternalServerError
|
||||
// An error occurred on the server side.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Query
|
||||
func (c *DynamoDB) Query(input *QueryInput) (*QueryOutput, error) {
|
||||
req, out := c.QueryRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1245,6 +1267,7 @@ const opScan = "Scan"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Scan
|
||||
func (c *DynamoDB) ScanRequest(input *ScanInput) (req *request.Request, output *ScanOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opScan,
|
||||
|
@ -1315,6 +1338,7 @@ func (c *DynamoDB) ScanRequest(input *ScanInput) (req *request.Request, output *
|
|||
// * InternalServerError
|
||||
// An error occurred on the server side.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Scan
|
||||
func (c *DynamoDB) Scan(input *ScanInput) (*ScanOutput, error) {
|
||||
req, out := c.ScanRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1372,6 +1396,7 @@ const opUpdateItem = "UpdateItem"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItem
|
||||
func (c *DynamoDB) UpdateItemRequest(input *UpdateItemInput) (req *request.Request, output *UpdateItemOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdateItem,
|
||||
|
@ -1430,6 +1455,7 @@ func (c *DynamoDB) UpdateItemRequest(input *UpdateItemInput) (req *request.Reque
|
|||
// * InternalServerError
|
||||
// An error occurred on the server side.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItem
|
||||
func (c *DynamoDB) UpdateItem(input *UpdateItemInput) (*UpdateItemOutput, error) {
|
||||
req, out := c.UpdateItemRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1462,6 +1488,7 @@ const opUpdateTable = "UpdateTable"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable
|
||||
func (c *DynamoDB) UpdateTableRequest(input *UpdateTableInput) (req *request.Request, output *UpdateTableOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdateTable,
|
||||
|
@ -1530,6 +1557,7 @@ func (c *DynamoDB) UpdateTableRequest(input *UpdateTableInput) (req *request.Req
|
|||
// * InternalServerError
|
||||
// An error occurred on the server side.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable
|
||||
func (c *DynamoDB) UpdateTable(input *UpdateTableInput) (*UpdateTableOutput, error) {
|
||||
req, out := c.UpdateTableRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1537,6 +1565,7 @@ func (c *DynamoDB) UpdateTable(input *UpdateTableInput) (*UpdateTableOutput, err
|
|||
}
|
||||
|
||||
// Represents an attribute for describing the key schema for the table and indexes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AttributeDefinition
|
||||
type AttributeDefinition struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1605,6 +1634,7 @@ func (s *AttributeDefinition) SetAttributeType(v string) *AttributeDefinition {
|
|||
// or multi-valued set. For example, a book item can have title and authors
|
||||
// attributes. Each book has one title but can have many authors. The multi-valued
|
||||
// attribute is a set; duplicate values are not allowed.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AttributeValue
|
||||
type AttributeValue struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1721,6 +1751,7 @@ func (s *AttributeValue) SetSS(v []*string) *AttributeValue {
|
|||
// Attribute values cannot be null; string and binary type attributes must have
|
||||
// lengths greater than zero; and set type attributes must not be empty. Requests
|
||||
// with empty values will be rejected with a ValidationException exception.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AttributeValueUpdate
|
||||
type AttributeValueUpdate struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1822,6 +1853,7 @@ func (s *AttributeValueUpdate) SetValue(v *AttributeValue) *AttributeValueUpdate
|
|||
}
|
||||
|
||||
// Represents the input of a BatchGetItem operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItemInput
|
||||
type BatchGetItemInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1976,6 +2008,7 @@ func (s *BatchGetItemInput) SetReturnConsumedCapacity(v string) *BatchGetItemInp
|
|||
}
|
||||
|
||||
// Represents the output of a BatchGetItem operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItemOutput
|
||||
type BatchGetItemOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2045,6 +2078,7 @@ func (s *BatchGetItemOutput) SetUnprocessedKeys(v map[string]*KeysAndAttributes)
|
|||
}
|
||||
|
||||
// Represents the input of a BatchWriteItem operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItemInput
|
||||
type BatchWriteItemInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2147,6 +2181,7 @@ func (s *BatchWriteItemInput) SetReturnItemCollectionMetrics(v string) *BatchWri
|
|||
}
|
||||
|
||||
// Represents the output of a BatchWriteItem operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItemOutput
|
||||
type BatchWriteItemOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2242,6 +2277,7 @@ func (s *BatchWriteItemOutput) SetUnprocessedItems(v map[string][]*WriteRequest)
|
|||
|
||||
// Represents the amount of provisioned throughput capacity consumed on a table
|
||||
// or an index.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Capacity
|
||||
type Capacity struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2278,6 +2314,7 @@ func (s *Capacity) SetCapacityUnits(v float64) *Capacity {
|
|||
//
|
||||
// * For a Scan operation, Condition is used in a ScanFilter, which evaluates
|
||||
// the scan results and returns only the desired values.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Condition
|
||||
type Condition struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2381,6 +2418,7 @@ func (s *Condition) SetComparisonOperator(v string) *Condition {
|
|||
// if the request asked for it. For more information, see Provisioned Throughput
|
||||
// (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html)
|
||||
// in the Amazon DynamoDB Developer Guide.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ConsumedCapacity
|
||||
type ConsumedCapacity struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2441,6 +2479,7 @@ func (s *ConsumedCapacity) SetTableName(v string) *ConsumedCapacity {
|
|||
}
|
||||
|
||||
// Represents a new global secondary index to be added to an existing table.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalSecondaryIndexAction
|
||||
type CreateGlobalSecondaryIndexAction struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2555,6 +2594,7 @@ func (s *CreateGlobalSecondaryIndexAction) SetProvisionedThroughput(v *Provision
|
|||
}
|
||||
|
||||
// Represents the input of a CreateTable operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTableInput
|
||||
type CreateTableInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2830,6 +2870,7 @@ func (s *CreateTableInput) SetTableName(v string) *CreateTableInput {
|
|||
}
|
||||
|
||||
// Represents the output of a CreateTable operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTableOutput
|
||||
type CreateTableOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2854,6 +2895,7 @@ func (s *CreateTableOutput) SetTableDescription(v *TableDescription) *CreateTabl
|
|||
}
|
||||
|
||||
// Represents a global secondary index to be deleted from an existing table.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteGlobalSecondaryIndexAction
|
||||
type DeleteGlobalSecondaryIndexAction struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2896,6 +2938,7 @@ func (s *DeleteGlobalSecondaryIndexAction) SetIndexName(v string) *DeleteGlobalS
|
|||
}
|
||||
|
||||
// Represents the input of a DeleteItem operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItemInput
|
||||
type DeleteItemInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3252,6 +3295,7 @@ func (s *DeleteItemInput) SetTableName(v string) *DeleteItemInput {
|
|||
}
|
||||
|
||||
// Represents the output of a DeleteItem operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItemOutput
|
||||
type DeleteItemOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3319,6 +3363,7 @@ func (s *DeleteItemOutput) SetItemCollectionMetrics(v *ItemCollectionMetrics) *D
|
|||
}
|
||||
|
||||
// Represents a request to perform a DeleteItem operation on an item.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteRequest
|
||||
type DeleteRequest struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3347,6 +3392,7 @@ func (s *DeleteRequest) SetKey(v map[string]*AttributeValue) *DeleteRequest {
|
|||
}
|
||||
|
||||
// Represents the input of a DeleteTable operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTableInput
|
||||
type DeleteTableInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3389,6 +3435,7 @@ func (s *DeleteTableInput) SetTableName(v string) *DeleteTableInput {
|
|||
}
|
||||
|
||||
// Represents the output of a DeleteTable operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTableOutput
|
||||
type DeleteTableOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3413,6 +3460,7 @@ func (s *DeleteTableOutput) SetTableDescription(v *TableDescription) *DeleteTabl
|
|||
}
|
||||
|
||||
// Represents the input of a DescribeLimits operation. Has no content.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimitsInput
|
||||
type DescribeLimitsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3428,6 +3476,7 @@ func (s DescribeLimitsInput) GoString() string {
|
|||
}
|
||||
|
||||
// Represents the output of a DescribeLimits operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimitsOutput
|
||||
type DescribeLimitsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3485,6 +3534,7 @@ func (s *DescribeLimitsOutput) SetTableMaxWriteCapacityUnits(v int64) *DescribeL
|
|||
}
|
||||
|
||||
// Represents the input of a DescribeTable operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableInput
|
||||
type DescribeTableInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3527,6 +3577,7 @@ func (s *DescribeTableInput) SetTableName(v string) *DescribeTableInput {
|
|||
}
|
||||
|
||||
// Represents the output of a DescribeTable operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableOutput
|
||||
type DescribeTableOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3570,6 +3621,7 @@ func (s *DescribeTableOutput) SetTable(v *TableDescription) *DescribeTableOutput
|
|||
// Value and Exists are incompatible with AttributeValueList and ComparisonOperator.
|
||||
// Note that if you use both sets of parameters at once, DynamoDB will return
|
||||
// a ValidationException exception.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExpectedAttributeValue
|
||||
type ExpectedAttributeValue struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3701,6 +3753,7 @@ func (s *ExpectedAttributeValue) SetValue(v *AttributeValue) *ExpectedAttributeV
|
|||
}
|
||||
|
||||
// Represents the input of a GetItem operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItemInput
|
||||
type GetItemInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3886,6 +3939,7 @@ func (s *GetItemInput) SetTableName(v string) *GetItemInput {
|
|||
}
|
||||
|
||||
// Represents the output of a GetItem operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItemOutput
|
||||
type GetItemOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3924,6 +3978,7 @@ func (s *GetItemOutput) SetItem(v map[string]*AttributeValue) *GetItemOutput {
|
|||
}
|
||||
|
||||
// Represents the properties of a global secondary index.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndex
|
||||
type GlobalSecondaryIndex struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4053,6 +4108,7 @@ func (s *GlobalSecondaryIndex) SetProvisionedThroughput(v *ProvisionedThroughput
|
|||
}
|
||||
|
||||
// Represents the properties of a global secondary index.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndexDescription
|
||||
type GlobalSecondaryIndexDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4192,6 +4248,7 @@ func (s *GlobalSecondaryIndexDescription) SetProvisionedThroughput(v *Provisione
|
|||
// index.
|
||||
//
|
||||
// * An existing global secondary index to be removed from an existing table.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndexUpdate
|
||||
type GlobalSecondaryIndexUpdate struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4274,6 +4331,7 @@ func (s *GlobalSecondaryIndexUpdate) SetUpdate(v *UpdateGlobalSecondaryIndexActi
|
|||
// ItemCollectionMetrics is only returned if the request asked for it. If the
|
||||
// table does not have any local secondary indexes, this information is not
|
||||
// returned in the response.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ItemCollectionMetrics
|
||||
type ItemCollectionMetrics struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4326,6 +4384,7 @@ func (s *ItemCollectionMetrics) SetSizeEstimateRangeGB(v []*float64) *ItemCollec
|
|||
// A KeySchemaElement must be a scalar, top-level attribute (not a nested attribute).
|
||||
// The data type must be one of String, Number, or Binary. The attribute cannot
|
||||
// be nested within a List or a Map.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KeySchemaElement
|
||||
type KeySchemaElement struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4401,6 +4460,7 @@ func (s *KeySchemaElement) SetKeyType(v string) *KeySchemaElement {
|
|||
// with a simple primary key, you only need to provide the partition key. For
|
||||
// a composite primary key, you must provide both the partition key and the
|
||||
// sort key.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KeysAndAttributes
|
||||
type KeysAndAttributes struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4531,6 +4591,7 @@ func (s *KeysAndAttributes) SetProjectionExpression(v string) *KeysAndAttributes
|
|||
}
|
||||
|
||||
// Represents the input of a ListTables operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTablesInput
|
||||
type ListTablesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4583,6 +4644,7 @@ func (s *ListTablesInput) SetLimit(v int64) *ListTablesInput {
|
|||
}
|
||||
|
||||
// Represents the output of a ListTables operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTablesOutput
|
||||
type ListTablesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4626,6 +4688,7 @@ func (s *ListTablesOutput) SetTableNames(v []*string) *ListTablesOutput {
|
|||
}
|
||||
|
||||
// Represents the properties of a local secondary index.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/LocalSecondaryIndex
|
||||
type LocalSecondaryIndex struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4731,6 +4794,7 @@ func (s *LocalSecondaryIndex) SetProjection(v *Projection) *LocalSecondaryIndex
|
|||
}
|
||||
|
||||
// Represents the properties of a local secondary index.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/LocalSecondaryIndexDescription
|
||||
type LocalSecondaryIndexDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4821,6 +4885,7 @@ func (s *LocalSecondaryIndexDescription) SetProjection(v *Projection) *LocalSeco
|
|||
// Represents attributes that are copied (projected) from the table into an
|
||||
// index. These are in addition to the primary key attributes and index key
|
||||
// attributes, which are automatically projected.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Projection
|
||||
type Projection struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4884,6 +4949,7 @@ func (s *Projection) SetProjectionType(v string) *Projection {
|
|||
// For current minimum and maximum provisioned throughput values, see Limits
|
||||
// (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html)
|
||||
// in the Amazon DynamoDB Developer Guide.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ProvisionedThroughput
|
||||
type ProvisionedThroughput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4950,6 +5016,7 @@ func (s *ProvisionedThroughput) SetWriteCapacityUnits(v int64) *ProvisionedThrou
|
|||
|
||||
// Represents the provisioned throughput settings for the table, consisting
|
||||
// of read and write capacity units, along with data about increases and decreases.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ProvisionedThroughputDescription
|
||||
type ProvisionedThroughputDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5017,6 +5084,7 @@ func (s *ProvisionedThroughputDescription) SetWriteCapacityUnits(v int64) *Provi
|
|||
}
|
||||
|
||||
// Represents the input of a PutItem operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItemInput
|
||||
type PutItemInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5387,6 +5455,7 @@ func (s *PutItemInput) SetTableName(v string) *PutItemInput {
|
|||
}
|
||||
|
||||
// Represents the output of a PutItem operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItemOutput
|
||||
type PutItemOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5454,6 +5523,7 @@ func (s *PutItemOutput) SetItemCollectionMetrics(v *ItemCollectionMetrics) *PutI
|
|||
}
|
||||
|
||||
// Represents a request to perform a PutItem operation on an item.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutRequest
|
||||
type PutRequest struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5484,6 +5554,7 @@ func (s *PutRequest) SetItem(v map[string]*AttributeValue) *PutRequest {
|
|||
}
|
||||
|
||||
// Represents the input of a Query operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/QueryInput
|
||||
type QueryInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6117,6 +6188,7 @@ func (s *QueryInput) SetTableName(v string) *QueryInput {
|
|||
}
|
||||
|
||||
// Represents the output of a Query operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/QueryOutput
|
||||
type QueryOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6205,6 +6277,7 @@ func (s *QueryOutput) SetScannedCount(v int64) *QueryOutput {
|
|||
}
|
||||
|
||||
// Represents the input of a Scan operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ScanInput
|
||||
type ScanInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6645,6 +6718,7 @@ func (s *ScanInput) SetTotalSegments(v int64) *ScanInput {
|
|||
}
|
||||
|
||||
// Represents the output of a Scan operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ScanOutput
|
||||
type ScanOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6732,6 +6806,7 @@ func (s *ScanOutput) SetScannedCount(v int64) *ScanOutput {
|
|||
}
|
||||
|
||||
// Represents the DynamoDB Streams configuration for a table in DynamoDB.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/StreamSpecification
|
||||
type StreamSpecification struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6785,6 +6860,7 @@ func (s *StreamSpecification) SetStreamViewType(v string) *StreamSpecification {
|
|||
}
|
||||
|
||||
// Represents the properties of a table.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableDescription
|
||||
type TableDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7078,6 +7154,7 @@ func (s *TableDescription) SetTableStatus(v string) *TableDescription {
|
|||
|
||||
// Represents the new provisioned throughput settings to be applied to a global
|
||||
// secondary index.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalSecondaryIndexAction
|
||||
type UpdateGlobalSecondaryIndexAction struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7144,6 +7221,7 @@ func (s *UpdateGlobalSecondaryIndexAction) SetProvisionedThroughput(v *Provision
|
|||
}
|
||||
|
||||
// Represents the input of an UpdateItem operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItemInput
|
||||
type UpdateItemInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7688,6 +7766,7 @@ func (s *UpdateItemInput) SetUpdateExpression(v string) *UpdateItemInput {
|
|||
}
|
||||
|
||||
// Represents the output of an UpdateItem operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItemOutput
|
||||
type UpdateItemOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7740,6 +7819,7 @@ func (s *UpdateItemOutput) SetItemCollectionMetrics(v *ItemCollectionMetrics) *U
|
|||
}
|
||||
|
||||
// Represents the input of an UpdateTable operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableInput
|
||||
type UpdateTableInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7865,6 +7945,7 @@ func (s *UpdateTableInput) SetTableName(v string) *UpdateTableInput {
|
|||
}
|
||||
|
||||
// Represents the output of an UpdateTable operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableOutput
|
||||
type UpdateTableOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7892,6 +7973,7 @@ func (s *UpdateTableOutput) SetTableDescription(v *TableDescription) *UpdateTabl
|
|||
// only request one of these operations, not both, in a single WriteRequest.
|
||||
// If you do need to perform both of these operations, you will need to provide
|
||||
// two separate WriteRequest objects.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/WriteRequest
|
||||
type WriteRequest struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -124,8 +124,9 @@ import (
|
|||
// For conceptual information about modifying data, see Working with Items (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithItems.html)
|
||||
// and Query and Scan Operations (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html)
|
||||
// in the Amazon DynamoDB Developer Guide.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10
|
||||
type DynamoDB struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -136,8 +137,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "dynamodb"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "dynamodb" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the DynamoDB client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -150,7 +154,7 @@ const ServiceName = "dynamodb"
|
|||
// // Create a DynamoDB client with additional configuration
|
||||
// svc := dynamodb.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *DynamoDB {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -15,8 +15,9 @@ import (
|
|||
// in the Amazon Web Services (AWS) cloud. Using Amazon EC2 eliminates your
|
||||
// need to invest in hardware up front, so you can develop and deploy applications
|
||||
// faster.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15
|
||||
type EC2 struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -27,8 +28,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "ec2"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "ec2" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the EC2 client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -41,7 +45,7 @@ const ServiceName = "ec2"
|
|||
// // Create a EC2 client with additional configuration
|
||||
// svc := ec2.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *EC2 {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -36,6 +36,7 @@ const opBatchCheckLayerAvailability = "BatchCheckLayerAvailability"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailability
|
||||
func (c *ECR) BatchCheckLayerAvailabilityRequest(input *BatchCheckLayerAvailabilityInput) (req *request.Request, output *BatchCheckLayerAvailabilityOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opBatchCheckLayerAvailability,
|
||||
|
@ -59,7 +60,8 @@ func (c *ECR) BatchCheckLayerAvailabilityRequest(input *BatchCheckLayerAvailabil
|
|||
// repository.
|
||||
//
|
||||
// This operation is used by the Amazon ECR proxy, and it is not intended for
|
||||
// general use by customers. Use the docker CLI to pull, tag, and push images.
|
||||
// general use by customers for pulling and pushing images. In most cases, you
|
||||
// should use the docker CLI to pull, tag, and push images.
|
||||
//
|
||||
// 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
|
||||
|
@ -80,6 +82,7 @@ func (c *ECR) BatchCheckLayerAvailabilityRequest(input *BatchCheckLayerAvailabil
|
|||
// * ServerException
|
||||
// These errors are usually caused by a server-side issue.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailability
|
||||
func (c *ECR) BatchCheckLayerAvailability(input *BatchCheckLayerAvailabilityInput) (*BatchCheckLayerAvailabilityOutput, error) {
|
||||
req, out := c.BatchCheckLayerAvailabilityRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -112,6 +115,7 @@ const opBatchDeleteImage = "BatchDeleteImage"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImage
|
||||
func (c *ECR) BatchDeleteImageRequest(input *BatchDeleteImageInput) (req *request.Request, output *BatchDeleteImageOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opBatchDeleteImage,
|
||||
|
@ -134,6 +138,13 @@ func (c *ECR) BatchDeleteImageRequest(input *BatchDeleteImageInput) (req *reques
|
|||
// Deletes a list of specified images within a specified repository. Images
|
||||
// are specified with either imageTag or imageDigest.
|
||||
//
|
||||
// You can remove a tag from an image by specifying the image's tag in your
|
||||
// request. When you remove the last tag from an image, the image is deleted
|
||||
// from your repository.
|
||||
//
|
||||
// You can completely delete an image (and all of its tags) by specifying the
|
||||
// image's digest in your request.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
// the error.
|
||||
|
@ -153,6 +164,7 @@ func (c *ECR) BatchDeleteImageRequest(input *BatchDeleteImageInput) (req *reques
|
|||
// The specified repository could not be found. Check the spelling of the specified
|
||||
// repository and ensure that you are performing operations on the correct registry.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImage
|
||||
func (c *ECR) BatchDeleteImage(input *BatchDeleteImageInput) (*BatchDeleteImageOutput, error) {
|
||||
req, out := c.BatchDeleteImageRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -185,6 +197,7 @@ const opBatchGetImage = "BatchGetImage"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImage
|
||||
func (c *ECR) BatchGetImageRequest(input *BatchGetImageInput) (req *request.Request, output *BatchGetImageOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opBatchGetImage,
|
||||
|
@ -226,6 +239,7 @@ func (c *ECR) BatchGetImageRequest(input *BatchGetImageInput) (req *request.Requ
|
|||
// The specified repository could not be found. Check the spelling of the specified
|
||||
// repository and ensure that you are performing operations on the correct registry.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImage
|
||||
func (c *ECR) BatchGetImage(input *BatchGetImageInput) (*BatchGetImageOutput, error) {
|
||||
req, out := c.BatchGetImageRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -258,6 +272,7 @@ const opCompleteLayerUpload = "CompleteLayerUpload"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUpload
|
||||
func (c *ECR) CompleteLayerUploadRequest(input *CompleteLayerUploadInput) (req *request.Request, output *CompleteLayerUploadOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCompleteLayerUpload,
|
||||
|
@ -282,7 +297,8 @@ func (c *ECR) CompleteLayerUploadRequest(input *CompleteLayerUploadInput) (req *
|
|||
// of the image layer for data validation purposes.
|
||||
//
|
||||
// This operation is used by the Amazon ECR proxy, and it is not intended for
|
||||
// general use by customers. Use the docker CLI to pull, tag, and push images.
|
||||
// general use by customers for pulling and pushing images. In most cases, you
|
||||
// should use the docker CLI to pull, tag, and push images.
|
||||
//
|
||||
// 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
|
||||
|
@ -320,6 +336,7 @@ func (c *ECR) CompleteLayerUploadRequest(input *CompleteLayerUploadInput) (req *
|
|||
// * EmptyUploadException
|
||||
// The specified layer upload does not contain any layer parts.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUpload
|
||||
func (c *ECR) CompleteLayerUpload(input *CompleteLayerUploadInput) (*CompleteLayerUploadOutput, error) {
|
||||
req, out := c.CompleteLayerUploadRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -352,6 +369,7 @@ const opCreateRepository = "CreateRepository"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepository
|
||||
func (c *ECR) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateRepository,
|
||||
|
@ -397,6 +415,7 @@ func (c *ECR) CreateRepositoryRequest(input *CreateRepositoryInput) (req *reques
|
|||
// (http://docs.aws.amazon.com/AmazonECR/latest/userguide/service_limits.html)
|
||||
// in the Amazon EC2 Container Registry User Guide.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepository
|
||||
func (c *ECR) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error) {
|
||||
req, out := c.CreateRepositoryRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -429,6 +448,7 @@ const opDeleteRepository = "DeleteRepository"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepository
|
||||
func (c *ECR) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteRepository,
|
||||
|
@ -474,6 +494,7 @@ func (c *ECR) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *reques
|
|||
// The specified repository contains images. To delete a repository that contains
|
||||
// images, you must force the deletion with the force parameter.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepository
|
||||
func (c *ECR) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error) {
|
||||
req, out := c.DeleteRepositoryRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -506,6 +527,7 @@ const opDeleteRepositoryPolicy = "DeleteRepositoryPolicy"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicy
|
||||
func (c *ECR) DeleteRepositoryPolicyRequest(input *DeleteRepositoryPolicyInput) (req *request.Request, output *DeleteRepositoryPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteRepositoryPolicy,
|
||||
|
@ -550,6 +572,7 @@ func (c *ECR) DeleteRepositoryPolicyRequest(input *DeleteRepositoryPolicyInput)
|
|||
// The specified repository and registry combination does not have an associated
|
||||
// repository policy.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicy
|
||||
func (c *ECR) DeleteRepositoryPolicy(input *DeleteRepositoryPolicyInput) (*DeleteRepositoryPolicyOutput, error) {
|
||||
req, out := c.DeleteRepositoryPolicyRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -582,6 +605,7 @@ const opDescribeImages = "DescribeImages"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImages
|
||||
func (c *ECR) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Request, output *DescribeImagesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeImages,
|
||||
|
@ -607,8 +631,8 @@ func (c *ECR) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Re
|
|||
|
||||
// DescribeImages API operation for Amazon EC2 Container Registry.
|
||||
//
|
||||
// Returns metadata about the images in a repository, including image size and
|
||||
// creation date.
|
||||
// Returns metadata about the images in a repository, including image size,
|
||||
// image tags, and creation date.
|
||||
//
|
||||
// Beginning with Docker version 1.9, the Docker client compresses image layers
|
||||
// before pushing them to a V2 Docker registry. The output of the docker images
|
||||
|
@ -637,6 +661,7 @@ func (c *ECR) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Re
|
|||
// * ImageNotFoundException
|
||||
// The image requested does not exist in the specified repository.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImages
|
||||
func (c *ECR) DescribeImages(input *DescribeImagesInput) (*DescribeImagesOutput, error) {
|
||||
req, out := c.DescribeImagesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -694,6 +719,7 @@ const opDescribeRepositories = "DescribeRepositories"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositories
|
||||
func (c *ECR) DescribeRepositoriesRequest(input *DescribeRepositoriesInput) (req *request.Request, output *DescribeRepositoriesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeRepositories,
|
||||
|
@ -740,6 +766,7 @@ func (c *ECR) DescribeRepositoriesRequest(input *DescribeRepositoriesInput) (req
|
|||
// The specified repository could not be found. Check the spelling of the specified
|
||||
// repository and ensure that you are performing operations on the correct registry.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositories
|
||||
func (c *ECR) DescribeRepositories(input *DescribeRepositoriesInput) (*DescribeRepositoriesOutput, error) {
|
||||
req, out := c.DescribeRepositoriesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -797,6 +824,7 @@ const opGetAuthorizationToken = "GetAuthorizationToken"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationToken
|
||||
func (c *ECR) GetAuthorizationTokenRequest(input *GetAuthorizationTokenInput) (req *request.Request, output *GetAuthorizationTokenOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetAuthorizationToken,
|
||||
|
@ -840,6 +868,7 @@ func (c *ECR) GetAuthorizationTokenRequest(input *GetAuthorizationTokenInput) (r
|
|||
// The specified parameter is invalid. Review the available parameters for the
|
||||
// API request.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationToken
|
||||
func (c *ECR) GetAuthorizationToken(input *GetAuthorizationTokenInput) (*GetAuthorizationTokenOutput, error) {
|
||||
req, out := c.GetAuthorizationTokenRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -872,6 +901,7 @@ const opGetDownloadUrlForLayer = "GetDownloadUrlForLayer"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayer
|
||||
func (c *ECR) GetDownloadUrlForLayerRequest(input *GetDownloadUrlForLayerInput) (req *request.Request, output *GetDownloadUrlForLayerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetDownloadUrlForLayer,
|
||||
|
@ -895,7 +925,8 @@ func (c *ECR) GetDownloadUrlForLayerRequest(input *GetDownloadUrlForLayerInput)
|
|||
// layer. You can only get URLs for image layers that are referenced in an image.
|
||||
//
|
||||
// This operation is used by the Amazon ECR proxy, and it is not intended for
|
||||
// general use by customers. Use the docker CLI to pull, tag, and push images.
|
||||
// general use by customers for pulling and pushing images. In most cases, you
|
||||
// should use the docker CLI to pull, tag, and push images.
|
||||
//
|
||||
// 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
|
||||
|
@ -924,6 +955,7 @@ func (c *ECR) GetDownloadUrlForLayerRequest(input *GetDownloadUrlForLayerInput)
|
|||
// The specified repository could not be found. Check the spelling of the specified
|
||||
// repository and ensure that you are performing operations on the correct registry.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayer
|
||||
func (c *ECR) GetDownloadUrlForLayer(input *GetDownloadUrlForLayerInput) (*GetDownloadUrlForLayerOutput, error) {
|
||||
req, out := c.GetDownloadUrlForLayerRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -956,6 +988,7 @@ const opGetRepositoryPolicy = "GetRepositoryPolicy"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicy
|
||||
func (c *ECR) GetRepositoryPolicyRequest(input *GetRepositoryPolicyInput) (req *request.Request, output *GetRepositoryPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetRepositoryPolicy,
|
||||
|
@ -1000,6 +1033,7 @@ func (c *ECR) GetRepositoryPolicyRequest(input *GetRepositoryPolicyInput) (req *
|
|||
// The specified repository and registry combination does not have an associated
|
||||
// repository policy.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicy
|
||||
func (c *ECR) GetRepositoryPolicy(input *GetRepositoryPolicyInput) (*GetRepositoryPolicyOutput, error) {
|
||||
req, out := c.GetRepositoryPolicyRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1032,6 +1066,7 @@ const opInitiateLayerUpload = "InitiateLayerUpload"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUpload
|
||||
func (c *ECR) InitiateLayerUploadRequest(input *InitiateLayerUploadInput) (req *request.Request, output *InitiateLayerUploadOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opInitiateLayerUpload,
|
||||
|
@ -1054,7 +1089,8 @@ func (c *ECR) InitiateLayerUploadRequest(input *InitiateLayerUploadInput) (req *
|
|||
// Notify Amazon ECR that you intend to upload an image layer.
|
||||
//
|
||||
// This operation is used by the Amazon ECR proxy, and it is not intended for
|
||||
// general use by customers. Use the docker CLI to pull, tag, and push images.
|
||||
// general use by customers for pulling and pushing images. In most cases, you
|
||||
// should use the docker CLI to pull, tag, and push images.
|
||||
//
|
||||
// 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
|
||||
|
@ -1075,6 +1111,7 @@ func (c *ECR) InitiateLayerUploadRequest(input *InitiateLayerUploadInput) (req *
|
|||
// The specified repository could not be found. Check the spelling of the specified
|
||||
// repository and ensure that you are performing operations on the correct registry.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUpload
|
||||
func (c *ECR) InitiateLayerUpload(input *InitiateLayerUploadInput) (*InitiateLayerUploadOutput, error) {
|
||||
req, out := c.InitiateLayerUploadRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1107,6 +1144,7 @@ const opListImages = "ListImages"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImages
|
||||
func (c *ECR) ListImagesRequest(input *ListImagesInput) (req *request.Request, output *ListImagesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListImages,
|
||||
|
@ -1159,6 +1197,7 @@ func (c *ECR) ListImagesRequest(input *ListImagesInput) (req *request.Request, o
|
|||
// The specified repository could not be found. Check the spelling of the specified
|
||||
// repository and ensure that you are performing operations on the correct registry.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImages
|
||||
func (c *ECR) ListImages(input *ListImagesInput) (*ListImagesOutput, error) {
|
||||
req, out := c.ListImagesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1216,6 +1255,7 @@ const opPutImage = "PutImage"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImage
|
||||
func (c *ECR) PutImageRequest(input *PutImageInput) (req *request.Request, output *PutImageOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutImage,
|
||||
|
@ -1235,10 +1275,11 @@ func (c *ECR) PutImageRequest(input *PutImageInput) (req *request.Request, outpu
|
|||
|
||||
// PutImage API operation for Amazon EC2 Container Registry.
|
||||
//
|
||||
// Creates or updates the image manifest associated with an image.
|
||||
// Creates or updates the image manifest and tags associated with an image.
|
||||
//
|
||||
// This operation is used by the Amazon ECR proxy, and it is not intended for
|
||||
// general use by customers. Use the docker CLI to pull, tag, and push images.
|
||||
// general use by customers for pulling and pushing images. In most cases, you
|
||||
// should use the docker CLI to pull, tag, and push images.
|
||||
//
|
||||
// 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
|
||||
|
@ -1273,6 +1314,7 @@ func (c *ECR) PutImageRequest(input *PutImageInput) (req *request.Request, outpu
|
|||
// (http://docs.aws.amazon.com/AmazonECR/latest/userguide/service_limits.html)
|
||||
// in the Amazon EC2 Container Registry User Guide.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImage
|
||||
func (c *ECR) PutImage(input *PutImageInput) (*PutImageOutput, error) {
|
||||
req, out := c.PutImageRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1305,6 +1347,7 @@ const opSetRepositoryPolicy = "SetRepositoryPolicy"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicy
|
||||
func (c *ECR) SetRepositoryPolicyRequest(input *SetRepositoryPolicyInput) (req *request.Request, output *SetRepositoryPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSetRepositoryPolicy,
|
||||
|
@ -1345,6 +1388,7 @@ func (c *ECR) SetRepositoryPolicyRequest(input *SetRepositoryPolicyInput) (req *
|
|||
// The specified repository could not be found. Check the spelling of the specified
|
||||
// repository and ensure that you are performing operations on the correct registry.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicy
|
||||
func (c *ECR) SetRepositoryPolicy(input *SetRepositoryPolicyInput) (*SetRepositoryPolicyOutput, error) {
|
||||
req, out := c.SetRepositoryPolicyRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1377,6 +1421,7 @@ const opUploadLayerPart = "UploadLayerPart"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPart
|
||||
func (c *ECR) UploadLayerPartRequest(input *UploadLayerPartInput) (req *request.Request, output *UploadLayerPartOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUploadLayerPart,
|
||||
|
@ -1399,7 +1444,8 @@ func (c *ECR) UploadLayerPartRequest(input *UploadLayerPartInput) (req *request.
|
|||
// Uploads an image layer part to Amazon ECR.
|
||||
//
|
||||
// This operation is used by the Amazon ECR proxy, and it is not intended for
|
||||
// general use by customers. Use the docker CLI to pull, tag, and push images.
|
||||
// general use by customers for pulling and pushing images. In most cases, you
|
||||
// should use the docker CLI to pull, tag, and push images.
|
||||
//
|
||||
// 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
|
||||
|
@ -1434,6 +1480,7 @@ func (c *ECR) UploadLayerPartRequest(input *UploadLayerPartInput) (req *request.
|
|||
// (http://docs.aws.amazon.com/AmazonECR/latest/userguide/service_limits.html)
|
||||
// in the Amazon EC2 Container Registry User Guide.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPart
|
||||
func (c *ECR) UploadLayerPart(input *UploadLayerPartInput) (*UploadLayerPartOutput, error) {
|
||||
req, out := c.UploadLayerPartRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1441,6 +1488,7 @@ func (c *ECR) UploadLayerPart(input *UploadLayerPartInput) (*UploadLayerPartOutp
|
|||
}
|
||||
|
||||
// An object representing authorization data for an Amazon ECR registry.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/AuthorizationData
|
||||
type AuthorizationData struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1487,6 +1535,7 @@ func (s *AuthorizationData) SetProxyEndpoint(v string) *AuthorizationData {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailabilityRequest
|
||||
type BatchCheckLayerAvailabilityInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1555,6 +1604,7 @@ func (s *BatchCheckLayerAvailabilityInput) SetRepositoryName(v string) *BatchChe
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailabilityResponse
|
||||
type BatchCheckLayerAvailabilityOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1590,6 +1640,7 @@ func (s *BatchCheckLayerAvailabilityOutput) SetLayers(v []*Layer) *BatchCheckLay
|
|||
|
||||
// Deletes specified images within a specified repository. Images are specified
|
||||
// with either the imageTag or imageDigest.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImageRequest
|
||||
type BatchDeleteImageInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1659,6 +1710,7 @@ func (s *BatchDeleteImageInput) SetRepositoryName(v string) *BatchDeleteImageInp
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImageResponse
|
||||
type BatchDeleteImageOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1691,9 +1743,16 @@ func (s *BatchDeleteImageOutput) SetImageIds(v []*ImageIdentifier) *BatchDeleteI
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImageRequest
|
||||
type BatchGetImageInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The accepted media types for the request.
|
||||
//
|
||||
// Valid values: application/vnd.docker.distribution.manifest.v1+json | application/vnd.docker.distribution.manifest.v2+json
|
||||
// | application/vnd.oci.image.manifest.v1+json
|
||||
AcceptedMediaTypes []*string `locationName:"acceptedMediaTypes" min:"1" type:"list"`
|
||||
|
||||
// A list of image ID references that correspond to images to describe. The
|
||||
// format of the imageIds reference is imageTag=tag or imageDigest=digest.
|
||||
//
|
||||
|
@ -1723,6 +1782,9 @@ func (s BatchGetImageInput) GoString() string {
|
|||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *BatchGetImageInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "BatchGetImageInput"}
|
||||
if s.AcceptedMediaTypes != nil && len(s.AcceptedMediaTypes) < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("AcceptedMediaTypes", 1))
|
||||
}
|
||||
if s.ImageIds == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("ImageIds"))
|
||||
}
|
||||
|
@ -1742,6 +1804,12 @@ func (s *BatchGetImageInput) Validate() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// SetAcceptedMediaTypes sets the AcceptedMediaTypes field's value.
|
||||
func (s *BatchGetImageInput) SetAcceptedMediaTypes(v []*string) *BatchGetImageInput {
|
||||
s.AcceptedMediaTypes = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetImageIds sets the ImageIds field's value.
|
||||
func (s *BatchGetImageInput) SetImageIds(v []*ImageIdentifier) *BatchGetImageInput {
|
||||
s.ImageIds = v
|
||||
|
@ -1760,6 +1828,7 @@ func (s *BatchGetImageInput) SetRepositoryName(v string) *BatchGetImageInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImageResponse
|
||||
type BatchGetImageOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1792,6 +1861,7 @@ func (s *BatchGetImageOutput) SetImages(v []*Image) *BatchGetImageOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUploadRequest
|
||||
type CompleteLayerUploadInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1875,6 +1945,7 @@ func (s *CompleteLayerUploadInput) SetUploadId(v string) *CompleteLayerUploadInp
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUploadResponse
|
||||
type CompleteLayerUploadOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1925,6 +1996,7 @@ func (s *CompleteLayerUploadOutput) SetUploadId(v string) *CompleteLayerUploadOu
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepositoryRequest
|
||||
type CreateRepositoryInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1968,6 +2040,7 @@ func (s *CreateRepositoryInput) SetRepositoryName(v string) *CreateRepositoryInp
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepositoryResponse
|
||||
type CreateRepositoryOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1991,6 +2064,7 @@ func (s *CreateRepositoryOutput) SetRepository(v *Repository) *CreateRepositoryO
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryRequest
|
||||
type DeleteRepositoryInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2051,6 +2125,7 @@ func (s *DeleteRepositoryInput) SetRepositoryName(v string) *DeleteRepositoryInp
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryResponse
|
||||
type DeleteRepositoryOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2074,6 +2149,7 @@ func (s *DeleteRepositoryOutput) SetRepository(v *Repository) *DeleteRepositoryO
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicyRequest
|
||||
type DeleteRepositoryPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2127,6 +2203,7 @@ func (s *DeleteRepositoryPolicyInput) SetRepositoryName(v string) *DeleteReposit
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicyResponse
|
||||
type DeleteRepositoryPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2169,6 +2246,7 @@ func (s *DeleteRepositoryPolicyOutput) SetRepositoryName(v string) *DeleteReposi
|
|||
}
|
||||
|
||||
// An object representing a filter on a DescribeImages operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesFilter
|
||||
type DescribeImagesFilter struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2193,6 +2271,7 @@ func (s *DescribeImagesFilter) SetTagStatus(v string) *DescribeImagesFilter {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesRequest
|
||||
type DescribeImagesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2218,8 +2297,8 @@ type DescribeImagesInput struct {
|
|||
NextToken *string `locationName:"nextToken" type:"string"`
|
||||
|
||||
// The AWS account ID associated with the registry that contains the repository
|
||||
// in which to list images. If you do not specify a registry, the default registry
|
||||
// is assumed.
|
||||
// in which to describe images. If you do not specify a registry, the default
|
||||
// registry is assumed.
|
||||
RegistryId *string `locationName:"registryId" type:"string"`
|
||||
|
||||
// A list of repositories to describe. If this parameter is omitted, then all
|
||||
|
@ -2297,6 +2376,7 @@ func (s *DescribeImagesInput) SetRepositoryName(v string) *DescribeImagesInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesResponse
|
||||
type DescribeImagesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2332,6 +2412,7 @@ func (s *DescribeImagesOutput) SetNextToken(v string) *DescribeImagesOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositoriesRequest
|
||||
type DescribeRepositoriesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2414,6 +2495,7 @@ func (s *DescribeRepositoriesInput) SetRepositoryNames(v []*string) *DescribeRep
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositoriesResponse
|
||||
type DescribeRepositoriesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2449,6 +2531,7 @@ func (s *DescribeRepositoriesOutput) SetRepositories(v []*Repository) *DescribeR
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationTokenRequest
|
||||
type GetAuthorizationTokenInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2487,6 +2570,7 @@ func (s *GetAuthorizationTokenInput) SetRegistryIds(v []*string) *GetAuthorizati
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationTokenResponse
|
||||
type GetAuthorizationTokenOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2511,6 +2595,7 @@ func (s *GetAuthorizationTokenOutput) SetAuthorizationData(v []*AuthorizationDat
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayerRequest
|
||||
type GetDownloadUrlForLayerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2576,6 +2661,7 @@ func (s *GetDownloadUrlForLayerInput) SetRepositoryName(v string) *GetDownloadUr
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayerResponse
|
||||
type GetDownloadUrlForLayerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2608,6 +2694,7 @@ func (s *GetDownloadUrlForLayerOutput) SetLayerDigest(v string) *GetDownloadUrlF
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicyRequest
|
||||
type GetRepositoryPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2659,6 +2746,7 @@ func (s *GetRepositoryPolicyInput) SetRepositoryName(v string) *GetRepositoryPol
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicyResponse
|
||||
type GetRepositoryPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2701,6 +2789,7 @@ func (s *GetRepositoryPolicyOutput) SetRepositoryName(v string) *GetRepositoryPo
|
|||
}
|
||||
|
||||
// An object representing an Amazon ECR image.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Image
|
||||
type Image struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2752,6 +2841,7 @@ func (s *Image) SetRepositoryName(v string) *Image {
|
|||
}
|
||||
|
||||
// An object that describes an image returned by a DescribeImages operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageDetail
|
||||
type ImageDetail struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2827,6 +2917,7 @@ func (s *ImageDetail) SetRepositoryName(v string) *ImageDetail {
|
|||
}
|
||||
|
||||
// An object representing an Amazon ECR image failure.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageFailure
|
||||
type ImageFailure struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2869,6 +2960,7 @@ func (s *ImageFailure) SetImageId(v *ImageIdentifier) *ImageFailure {
|
|||
}
|
||||
|
||||
// An object with identifying information for an Amazon ECR image.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageIdentifier
|
||||
type ImageIdentifier struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2901,6 +2993,7 @@ func (s *ImageIdentifier) SetImageTag(v string) *ImageIdentifier {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUploadRequest
|
||||
type InitiateLayerUploadInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2952,6 +3045,7 @@ func (s *InitiateLayerUploadInput) SetRepositoryName(v string) *InitiateLayerUpl
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUploadResponse
|
||||
type InitiateLayerUploadOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2987,11 +3081,11 @@ func (s *InitiateLayerUploadOutput) SetUploadId(v string) *InitiateLayerUploadOu
|
|||
}
|
||||
|
||||
// An object representing an Amazon ECR image layer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Layer
|
||||
type Layer struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The availability status of the image layer. Valid values are AVAILABLE and
|
||||
// UNAVAILABLE.
|
||||
// The availability status of the image layer.
|
||||
LayerAvailability *string `locationName:"layerAvailability" type:"string" enum:"LayerAvailability"`
|
||||
|
||||
// The sha256 digest of the image layer.
|
||||
|
@ -2999,6 +3093,10 @@ type Layer struct {
|
|||
|
||||
// The size, in bytes, of the image layer.
|
||||
LayerSize *int64 `locationName:"layerSize" type:"long"`
|
||||
|
||||
// The media type of the layer, such as application/vnd.docker.image.rootfs.diff.tar.gzip
|
||||
// or application/vnd.oci.image.layer.v1.tar+gzip.
|
||||
MediaType *string `locationName:"mediaType" type:"string"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
|
@ -3029,7 +3127,14 @@ func (s *Layer) SetLayerSize(v int64) *Layer {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetMediaType sets the MediaType field's value.
|
||||
func (s *Layer) SetMediaType(v string) *Layer {
|
||||
s.MediaType = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// An object representing an Amazon ECR image layer failure.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LayerFailure
|
||||
type LayerFailure struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3072,6 +3177,7 @@ func (s *LayerFailure) SetLayerDigest(v string) *LayerFailure {
|
|||
}
|
||||
|
||||
// An object representing a filter on a ListImages operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImagesFilter
|
||||
type ListImagesFilter struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3096,6 +3202,7 @@ func (s *ListImagesFilter) SetTagStatus(v string) *ListImagesFilter {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImagesRequest
|
||||
type ListImagesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3190,6 +3297,7 @@ func (s *ListImagesInput) SetRepositoryName(v string) *ListImagesInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImagesResponse
|
||||
type ListImagesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3225,6 +3333,7 @@ func (s *ListImagesOutput) SetNextToken(v string) *ListImagesOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageRequest
|
||||
type PutImageInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3233,6 +3342,10 @@ type PutImageInput struct {
|
|||
// ImageManifest is a required field
|
||||
ImageManifest *string `locationName:"imageManifest" type:"string" required:"true"`
|
||||
|
||||
// The tag to associate with the image. This parameter is required for images
|
||||
// that use the Docker Image Manifest V2 Schema 2 or OCI formats.
|
||||
ImageTag *string `locationName:"imageTag" type:"string"`
|
||||
|
||||
// The AWS account ID associated with the registry that contains the repository
|
||||
// in which to put the image. If you do not specify a registry, the default
|
||||
// registry is assumed.
|
||||
|
@ -3279,6 +3392,12 @@ func (s *PutImageInput) SetImageManifest(v string) *PutImageInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetImageTag sets the ImageTag field's value.
|
||||
func (s *PutImageInput) SetImageTag(v string) *PutImageInput {
|
||||
s.ImageTag = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetRegistryId sets the RegistryId field's value.
|
||||
func (s *PutImageInput) SetRegistryId(v string) *PutImageInput {
|
||||
s.RegistryId = &v
|
||||
|
@ -3291,6 +3410,7 @@ func (s *PutImageInput) SetRepositoryName(v string) *PutImageInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageResponse
|
||||
type PutImageOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3315,6 +3435,7 @@ func (s *PutImageOutput) SetImage(v *Image) *PutImageOutput {
|
|||
}
|
||||
|
||||
// An object representing a repository.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Repository
|
||||
type Repository struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3379,6 +3500,7 @@ func (s *Repository) SetRepositoryUri(v string) *Repository {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicyRequest
|
||||
type SetRepositoryPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3455,6 +3577,7 @@ func (s *SetRepositoryPolicyInput) SetRepositoryName(v string) *SetRepositoryPol
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicyResponse
|
||||
type SetRepositoryPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3496,6 +3619,7 @@ func (s *SetRepositoryPolicyOutput) SetRepositoryName(v string) *SetRepositoryPo
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPartRequest
|
||||
type UploadLayerPartInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3606,6 +3730,7 @@ func (s *UploadLayerPartInput) SetUploadId(v string) *UploadLayerPartInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPartResponse
|
||||
type UploadLayerPartOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -17,8 +17,9 @@ import (
|
|||
// ECR supports private Docker repositories with resource-based permissions
|
||||
// using AWS IAM so that specific users or Amazon EC2 instances can access repositories
|
||||
// and images. Developers can use the Docker CLI to author and manage images.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21
|
||||
type ECR struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -29,8 +30,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "ecr"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "ecr" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ECR client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -43,7 +47,7 @@ const ServiceName = "ecr"
|
|||
// // Create a ECR client with additional configuration
|
||||
// svc := ecr.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ECR {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -23,8 +23,9 @@ import (
|
|||
// requirements. Amazon EC2 Container Service eliminates the need for you to
|
||||
// operate your own cluster management and configuration management systems
|
||||
// or worry about scaling your management infrastructure.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13
|
||||
type ECS struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -35,8 +36,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "ecs"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "ecs" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ECS client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -49,7 +53,7 @@ const ServiceName = "ecs"
|
|||
// // Create a ECS client with additional configuration
|
||||
// svc := ecs.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ECS {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@ const opCreateFileSystem = "CreateFileSystem"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateFileSystem
|
||||
func (c *EFS) CreateFileSystemRequest(input *CreateFileSystemInput) (req *request.Request, output *FileSystemDescription) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateFileSystem,
|
||||
|
@ -128,6 +129,7 @@ func (c *EFS) CreateFileSystemRequest(input *CreateFileSystemInput) (req *reques
|
|||
// Returned if the AWS account has already created maximum number of file systems
|
||||
// allowed per account.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateFileSystem
|
||||
func (c *EFS) CreateFileSystem(input *CreateFileSystemInput) (*FileSystemDescription, error) {
|
||||
req, out := c.CreateFileSystemRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -160,6 +162,7 @@ const opCreateMountTarget = "CreateMountTarget"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateMountTarget
|
||||
func (c *EFS) CreateMountTargetRequest(input *CreateMountTargetInput) (req *request.Request, output *MountTargetDescription) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateMountTarget,
|
||||
|
@ -330,6 +333,7 @@ func (c *EFS) CreateMountTargetRequest(input *CreateMountTargetInput) (req *requ
|
|||
// * UnsupportedAvailabilityZone
|
||||
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateMountTarget
|
||||
func (c *EFS) CreateMountTarget(input *CreateMountTargetInput) (*MountTargetDescription, error) {
|
||||
req, out := c.CreateMountTargetRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -362,6 +366,7 @@ const opCreateTags = "CreateTags"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateTags
|
||||
func (c *EFS) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, output *CreateTagsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateTags,
|
||||
|
@ -410,6 +415,7 @@ func (c *EFS) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, o
|
|||
// Returned if the specified FileSystemId does not exist in the requester's
|
||||
// AWS account.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateTags
|
||||
func (c *EFS) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error) {
|
||||
req, out := c.CreateTagsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -442,6 +448,7 @@ const opDeleteFileSystem = "DeleteFileSystem"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystem
|
||||
func (c *EFS) DeleteFileSystemRequest(input *DeleteFileSystemInput) (req *request.Request, output *DeleteFileSystemOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteFileSystem,
|
||||
|
@ -502,6 +509,7 @@ func (c *EFS) DeleteFileSystemRequest(input *DeleteFileSystemInput) (req *reques
|
|||
// * FileSystemInUse
|
||||
// Returned if a file system has mount targets.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystem
|
||||
func (c *EFS) DeleteFileSystem(input *DeleteFileSystemInput) (*DeleteFileSystemOutput, error) {
|
||||
req, out := c.DeleteFileSystemRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -534,6 +542,7 @@ const opDeleteMountTarget = "DeleteMountTarget"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteMountTarget
|
||||
func (c *EFS) DeleteMountTargetRequest(input *DeleteMountTargetInput) (req *request.Request, output *DeleteMountTargetOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteMountTarget,
|
||||
|
@ -604,6 +613,7 @@ func (c *EFS) DeleteMountTargetRequest(input *DeleteMountTargetInput) (req *requ
|
|||
// Returned if there is no mount target with the specified ID found in the caller's
|
||||
// account.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteMountTarget
|
||||
func (c *EFS) DeleteMountTarget(input *DeleteMountTargetInput) (*DeleteMountTargetOutput, error) {
|
||||
req, out := c.DeleteMountTargetRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -636,6 +646,7 @@ const opDeleteTags = "DeleteTags"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteTags
|
||||
func (c *EFS) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteTags,
|
||||
|
@ -685,6 +696,7 @@ func (c *EFS) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, o
|
|||
// Returned if the specified FileSystemId does not exist in the requester's
|
||||
// AWS account.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteTags
|
||||
func (c *EFS) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) {
|
||||
req, out := c.DeleteTagsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -717,6 +729,7 @@ const opDescribeFileSystems = "DescribeFileSystems"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystems
|
||||
func (c *EFS) DescribeFileSystemsRequest(input *DescribeFileSystemsInput) (req *request.Request, output *DescribeFileSystemsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeFileSystems,
|
||||
|
@ -782,6 +795,7 @@ func (c *EFS) DescribeFileSystemsRequest(input *DescribeFileSystemsInput) (req *
|
|||
// Returned if the specified FileSystemId does not exist in the requester's
|
||||
// AWS account.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystems
|
||||
func (c *EFS) DescribeFileSystems(input *DescribeFileSystemsInput) (*DescribeFileSystemsOutput, error) {
|
||||
req, out := c.DescribeFileSystemsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -814,6 +828,7 @@ const opDescribeMountTargetSecurityGroups = "DescribeMountTargetSecurityGroups"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetSecurityGroups
|
||||
func (c *EFS) DescribeMountTargetSecurityGroupsRequest(input *DescribeMountTargetSecurityGroupsInput) (req *request.Request, output *DescribeMountTargetSecurityGroupsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeMountTargetSecurityGroups,
|
||||
|
@ -867,6 +882,7 @@ func (c *EFS) DescribeMountTargetSecurityGroupsRequest(input *DescribeMountTarge
|
|||
// * IncorrectMountTargetState
|
||||
// Returned if the mount target is not in the correct state for the operation.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetSecurityGroups
|
||||
func (c *EFS) DescribeMountTargetSecurityGroups(input *DescribeMountTargetSecurityGroupsInput) (*DescribeMountTargetSecurityGroupsOutput, error) {
|
||||
req, out := c.DescribeMountTargetSecurityGroupsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -899,6 +915,7 @@ const opDescribeMountTargets = "DescribeMountTargets"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargets
|
||||
func (c *EFS) DescribeMountTargetsRequest(input *DescribeMountTargetsInput) (req *request.Request, output *DescribeMountTargetsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeMountTargets,
|
||||
|
@ -949,6 +966,7 @@ func (c *EFS) DescribeMountTargetsRequest(input *DescribeMountTargetsInput) (req
|
|||
// Returned if there is no mount target with the specified ID found in the caller's
|
||||
// account.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargets
|
||||
func (c *EFS) DescribeMountTargets(input *DescribeMountTargetsInput) (*DescribeMountTargetsOutput, error) {
|
||||
req, out := c.DescribeMountTargetsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -981,6 +999,7 @@ const opDescribeTags = "DescribeTags"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeTags
|
||||
func (c *EFS) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeTags,
|
||||
|
@ -1026,6 +1045,7 @@ func (c *EFS) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Reques
|
|||
// Returned if the specified FileSystemId does not exist in the requester's
|
||||
// AWS account.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeTags
|
||||
func (c *EFS) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) {
|
||||
req, out := c.DescribeTagsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1058,6 +1078,7 @@ const opModifyMountTargetSecurityGroups = "ModifyMountTargetSecurityGroups"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ModifyMountTargetSecurityGroups
|
||||
func (c *EFS) ModifyMountTargetSecurityGroupsRequest(input *ModifyMountTargetSecurityGroupsInput) (req *request.Request, output *ModifyMountTargetSecurityGroupsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opModifyMountTargetSecurityGroups,
|
||||
|
@ -1126,12 +1147,14 @@ func (c *EFS) ModifyMountTargetSecurityGroupsRequest(input *ModifyMountTargetSec
|
|||
// Returned if one of the specified security groups does not exist in the subnet's
|
||||
// VPC.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ModifyMountTargetSecurityGroups
|
||||
func (c *EFS) ModifyMountTargetSecurityGroups(input *ModifyMountTargetSecurityGroupsInput) (*ModifyMountTargetSecurityGroupsOutput, error) {
|
||||
req, out := c.ModifyMountTargetSecurityGroupsRequest(input)
|
||||
err := req.Send()
|
||||
return out, err
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateFileSystemRequest
|
||||
type CreateFileSystemInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1187,6 +1210,7 @@ func (s *CreateFileSystemInput) SetPerformanceMode(v string) *CreateFileSystemIn
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateMountTargetRequest
|
||||
type CreateMountTargetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1258,6 +1282,7 @@ func (s *CreateMountTargetInput) SetSubnetId(v string) *CreateMountTargetInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateTagsRequest
|
||||
type CreateTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1321,6 +1346,7 @@ func (s *CreateTagsInput) SetTags(v []*Tag) *CreateTagsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateTagsOutput
|
||||
type CreateTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1335,6 +1361,7 @@ func (s CreateTagsOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystemRequest
|
||||
type DeleteFileSystemInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1373,6 +1400,7 @@ func (s *DeleteFileSystemInput) SetFileSystemId(v string) *DeleteFileSystemInput
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystemOutput
|
||||
type DeleteFileSystemOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1387,6 +1415,7 @@ func (s DeleteFileSystemOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteMountTargetRequest
|
||||
type DeleteMountTargetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1425,6 +1454,7 @@ func (s *DeleteMountTargetInput) SetMountTargetId(v string) *DeleteMountTargetIn
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteMountTargetOutput
|
||||
type DeleteMountTargetOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1439,6 +1469,7 @@ func (s DeleteMountTargetOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteTagsRequest
|
||||
type DeleteTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1491,6 +1522,7 @@ func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteTagsOutput
|
||||
type DeleteTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1505,6 +1537,7 @@ func (s DeleteTagsOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystemsRequest
|
||||
type DescribeFileSystemsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1579,6 +1612,7 @@ func (s *DescribeFileSystemsInput) SetMaxItems(v int64) *DescribeFileSystemsInpu
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystemsResponse
|
||||
type DescribeFileSystemsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1621,6 +1655,7 @@ func (s *DescribeFileSystemsOutput) SetNextMarker(v string) *DescribeFileSystems
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetSecurityGroupsRequest
|
||||
type DescribeMountTargetSecurityGroupsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1659,6 +1694,7 @@ func (s *DescribeMountTargetSecurityGroupsInput) SetMountTargetId(v string) *Des
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetSecurityGroupsResponse
|
||||
type DescribeMountTargetSecurityGroupsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1684,6 +1720,7 @@ func (s *DescribeMountTargetSecurityGroupsOutput) SetSecurityGroups(v []*string)
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetsRequest
|
||||
type DescribeMountTargetsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1752,6 +1789,7 @@ func (s *DescribeMountTargetsInput) SetMountTargetId(v string) *DescribeMountTar
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetsResponse
|
||||
type DescribeMountTargetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1797,6 +1835,7 @@ func (s *DescribeMountTargetsOutput) SetNextMarker(v string) *DescribeMountTarge
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeTagsRequest
|
||||
type DescribeTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1859,6 +1898,7 @@ func (s *DescribeTagsInput) SetMaxItems(v int64) *DescribeTagsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeTagsResponse
|
||||
type DescribeTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1906,6 +1946,7 @@ func (s *DescribeTagsOutput) SetTags(v []*Tag) *DescribeTagsOutput {
|
|||
}
|
||||
|
||||
// Description of the file system.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemDescription
|
||||
type FileSystemDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2037,6 +2078,7 @@ func (s *FileSystemDescription) SetSizeInBytes(v *FileSystemSize) *FileSystemDes
|
|||
// if the file system is not modified for a period longer than a couple of hours.
|
||||
// Otherwise, the value is not necessarily the exact size the file system was
|
||||
// at any instant in time.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemSize
|
||||
type FileSystemSize struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2072,6 +2114,7 @@ func (s *FileSystemSize) SetValue(v int64) *FileSystemSize {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ModifyMountTargetSecurityGroupsRequest
|
||||
type ModifyMountTargetSecurityGroupsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2119,6 +2162,7 @@ func (s *ModifyMountTargetSecurityGroupsInput) SetSecurityGroups(v []*string) *M
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ModifyMountTargetSecurityGroupsOutput
|
||||
type ModifyMountTargetSecurityGroupsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2134,6 +2178,7 @@ func (s ModifyMountTargetSecurityGroupsOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Provides a description of a mount target.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/MountTargetDescription
|
||||
type MountTargetDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2222,6 +2267,7 @@ func (s *MountTargetDescription) SetSubnetId(v string) *MountTargetDescription {
|
|||
|
||||
// A tag is a key-value pair. Allowed characters: letters, whitespace, and numbers,
|
||||
// representable in UTF-8, and the following characters: + - = . _ : /
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/Tag
|
||||
type Tag struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -16,8 +16,9 @@ import (
|
|||
// capacity is elastic, growing and shrinking automatically as you add and remove
|
||||
// files, so your applications have the storage they need, when they need it.
|
||||
// For more information, see the User Guide (http://docs.aws.amazon.com/efs/latest/ug/api-reference.html).
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01
|
||||
type EFS struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -28,8 +29,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "elasticfilesystem"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "elasticfilesystem" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the EFS client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -42,7 +46,7 @@ const ServiceName = "elasticfilesystem"
|
|||
// // Create a EFS client with additional configuration
|
||||
// svc := efs.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *EFS {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -22,8 +22,9 @@ import (
|
|||
// In addition, through integration with Amazon CloudWatch, customers get enhanced
|
||||
// visibility into the key performance statistics associated with their cache
|
||||
// and can receive alarms if a part of their cache runs hot.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02
|
||||
type ElastiCache struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -34,8 +35,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "elasticache"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "elasticache" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ElastiCache client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -48,7 +52,7 @@ const ServiceName = "elasticache"
|
|||
// // Create a ElastiCache client with additional configuration
|
||||
// svc := elasticache.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ElastiCache {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -28,8 +28,9 @@ import (
|
|||
// For a list of region-specific endpoints that AWS Elastic Beanstalk supports,
|
||||
// go to Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html#elasticbeanstalk_region)
|
||||
// in the Amazon Web Services Glossary.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01
|
||||
type ElasticBeanstalk struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -40,8 +41,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "elasticbeanstalk"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "elasticbeanstalk" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ElasticBeanstalk client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -54,7 +58,7 @@ const ServiceName = "elasticbeanstalk"
|
|||
// // Create a ElasticBeanstalk client with additional configuration
|
||||
// svc := elasticbeanstalk.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ElasticBeanstalk {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@ const opAddTags = "AddTags"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/AddTags
|
||||
func (c *ElasticsearchService) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opAddTags,
|
||||
|
@ -88,6 +89,7 @@ func (c *ElasticsearchService) AddTagsRequest(input *AddTagsInput) (req *request
|
|||
// or failure (the failure is internal to the service) . Gives http status code
|
||||
// of 500.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/AddTags
|
||||
func (c *ElasticsearchService) AddTags(input *AddTagsInput) (*AddTagsOutput, error) {
|
||||
req, out := c.AddTagsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -120,6 +122,7 @@ const opCreateElasticsearchDomain = "CreateElasticsearchDomain"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/CreateElasticsearchDomain
|
||||
func (c *ElasticsearchService) CreateElasticsearchDomainRequest(input *CreateElasticsearchDomainInput) (req *request.Request, output *CreateElasticsearchDomainOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateElasticsearchDomain,
|
||||
|
@ -179,6 +182,7 @@ func (c *ElasticsearchService) CreateElasticsearchDomainRequest(input *CreateEla
|
|||
// An exception for missing / invalid input fields. Gives http status code of
|
||||
// 400.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/CreateElasticsearchDomain
|
||||
func (c *ElasticsearchService) CreateElasticsearchDomain(input *CreateElasticsearchDomainInput) (*CreateElasticsearchDomainOutput, error) {
|
||||
req, out := c.CreateElasticsearchDomainRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -211,6 +215,7 @@ const opDeleteElasticsearchDomain = "DeleteElasticsearchDomain"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DeleteElasticsearchDomain
|
||||
func (c *ElasticsearchService) DeleteElasticsearchDomainRequest(input *DeleteElasticsearchDomainInput) (req *request.Request, output *DeleteElasticsearchDomainOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteElasticsearchDomain,
|
||||
|
@ -257,6 +262,7 @@ func (c *ElasticsearchService) DeleteElasticsearchDomainRequest(input *DeleteEla
|
|||
// An exception for missing / invalid input fields. Gives http status code of
|
||||
// 400.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DeleteElasticsearchDomain
|
||||
func (c *ElasticsearchService) DeleteElasticsearchDomain(input *DeleteElasticsearchDomainInput) (*DeleteElasticsearchDomainOutput, error) {
|
||||
req, out := c.DeleteElasticsearchDomainRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -289,6 +295,7 @@ const opDescribeElasticsearchDomain = "DescribeElasticsearchDomain"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomain
|
||||
func (c *ElasticsearchService) DescribeElasticsearchDomainRequest(input *DescribeElasticsearchDomainInput) (req *request.Request, output *DescribeElasticsearchDomainOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeElasticsearchDomain,
|
||||
|
@ -335,6 +342,7 @@ func (c *ElasticsearchService) DescribeElasticsearchDomainRequest(input *Describ
|
|||
// An exception for missing / invalid input fields. Gives http status code of
|
||||
// 400.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomain
|
||||
func (c *ElasticsearchService) DescribeElasticsearchDomain(input *DescribeElasticsearchDomainInput) (*DescribeElasticsearchDomainOutput, error) {
|
||||
req, out := c.DescribeElasticsearchDomainRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -367,6 +375,7 @@ const opDescribeElasticsearchDomainConfig = "DescribeElasticsearchDomainConfig"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomainConfig
|
||||
func (c *ElasticsearchService) DescribeElasticsearchDomainConfigRequest(input *DescribeElasticsearchDomainConfigInput) (req *request.Request, output *DescribeElasticsearchDomainConfigOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeElasticsearchDomainConfig,
|
||||
|
@ -414,6 +423,7 @@ func (c *ElasticsearchService) DescribeElasticsearchDomainConfigRequest(input *D
|
|||
// An exception for missing / invalid input fields. Gives http status code of
|
||||
// 400.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomainConfig
|
||||
func (c *ElasticsearchService) DescribeElasticsearchDomainConfig(input *DescribeElasticsearchDomainConfigInput) (*DescribeElasticsearchDomainConfigOutput, error) {
|
||||
req, out := c.DescribeElasticsearchDomainConfigRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -446,6 +456,7 @@ const opDescribeElasticsearchDomains = "DescribeElasticsearchDomains"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomains
|
||||
func (c *ElasticsearchService) DescribeElasticsearchDomainsRequest(input *DescribeElasticsearchDomainsInput) (req *request.Request, output *DescribeElasticsearchDomainsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeElasticsearchDomains,
|
||||
|
@ -488,6 +499,7 @@ func (c *ElasticsearchService) DescribeElasticsearchDomainsRequest(input *Descri
|
|||
// An exception for missing / invalid input fields. Gives http status code of
|
||||
// 400.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomains
|
||||
func (c *ElasticsearchService) DescribeElasticsearchDomains(input *DescribeElasticsearchDomainsInput) (*DescribeElasticsearchDomainsOutput, error) {
|
||||
req, out := c.DescribeElasticsearchDomainsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -520,6 +532,7 @@ const opListDomainNames = "ListDomainNames"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListDomainNames
|
||||
func (c *ElasticsearchService) ListDomainNamesRequest(input *ListDomainNamesInput) (req *request.Request, output *ListDomainNamesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListDomainNames,
|
||||
|
@ -557,6 +570,7 @@ func (c *ElasticsearchService) ListDomainNamesRequest(input *ListDomainNamesInpu
|
|||
// An exception for missing / invalid input fields. Gives http status code of
|
||||
// 400.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListDomainNames
|
||||
func (c *ElasticsearchService) ListDomainNames(input *ListDomainNamesInput) (*ListDomainNamesOutput, error) {
|
||||
req, out := c.ListDomainNamesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -589,6 +603,7 @@ const opListTags = "ListTags"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListTags
|
||||
func (c *ElasticsearchService) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListTags,
|
||||
|
@ -634,6 +649,7 @@ func (c *ElasticsearchService) ListTagsRequest(input *ListTagsInput) (req *reque
|
|||
// or failure (the failure is internal to the service) . Gives http status code
|
||||
// of 500.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListTags
|
||||
func (c *ElasticsearchService) ListTags(input *ListTagsInput) (*ListTagsOutput, error) {
|
||||
req, out := c.ListTagsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -666,6 +682,7 @@ const opRemoveTags = "RemoveTags"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/RemoveTags
|
||||
func (c *ElasticsearchService) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opRemoveTags,
|
||||
|
@ -709,6 +726,7 @@ func (c *ElasticsearchService) RemoveTagsRequest(input *RemoveTagsInput) (req *r
|
|||
// or failure (the failure is internal to the service) . Gives http status code
|
||||
// of 500.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/RemoveTags
|
||||
func (c *ElasticsearchService) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) {
|
||||
req, out := c.RemoveTagsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -741,6 +759,7 @@ const opUpdateElasticsearchDomainConfig = "UpdateElasticsearchDomainConfig"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/UpdateElasticsearchDomainConfig
|
||||
func (c *ElasticsearchService) UpdateElasticsearchDomainConfigRequest(input *UpdateElasticsearchDomainConfigInput) (req *request.Request, output *UpdateElasticsearchDomainConfigOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdateElasticsearchDomainConfig,
|
||||
|
@ -795,6 +814,7 @@ func (c *ElasticsearchService) UpdateElasticsearchDomainConfigRequest(input *Upd
|
|||
// An exception for missing / invalid input fields. Gives http status code of
|
||||
// 400.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/UpdateElasticsearchDomainConfig
|
||||
func (c *ElasticsearchService) UpdateElasticsearchDomainConfig(input *UpdateElasticsearchDomainConfigInput) (*UpdateElasticsearchDomainConfigOutput, error) {
|
||||
req, out := c.UpdateElasticsearchDomainConfigRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -803,6 +823,7 @@ func (c *ElasticsearchService) UpdateElasticsearchDomainConfig(input *UpdateElas
|
|||
|
||||
// The configured access rules for the domain's document and search endpoints,
|
||||
// and the current status of those rules.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/AccessPoliciesStatus
|
||||
type AccessPoliciesStatus struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -845,6 +866,7 @@ func (s *AccessPoliciesStatus) SetStatus(v *OptionStatus) *AccessPoliciesStatus
|
|||
|
||||
// Container for the parameters to the AddTags operation. Specify the tags that
|
||||
// you want to attach to the Elasticsearch domain.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/AddTagsRequest
|
||||
type AddTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -907,6 +929,7 @@ func (s *AddTagsInput) SetTagList(v []*Tag) *AddTagsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/AddTagsOutput
|
||||
type AddTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -931,6 +954,7 @@ func (s AddTagsOutput) GoString() string {
|
|||
// * Option to specify the percentage of heap space that is allocated to
|
||||
// field data. By default, this setting is unbounded.
|
||||
// For more information, see Configuring Advanced Options (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options).
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/AdvancedOptionsStatus
|
||||
type AdvancedOptionsStatus struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -969,6 +993,7 @@ func (s *AdvancedOptionsStatus) SetStatus(v *OptionStatus) *AdvancedOptionsStatu
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/CreateElasticsearchDomainRequest
|
||||
type CreateElasticsearchDomainInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1077,6 +1102,7 @@ func (s *CreateElasticsearchDomainInput) SetSnapshotOptions(v *SnapshotOptions)
|
|||
|
||||
// The result of a CreateElasticsearchDomain operation. Contains the status
|
||||
// of the newly created Elasticsearch domain.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/CreateElasticsearchDomainResponse
|
||||
type CreateElasticsearchDomainOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1102,6 +1128,7 @@ func (s *CreateElasticsearchDomainOutput) SetDomainStatus(v *ElasticsearchDomain
|
|||
|
||||
// Container for the parameters to the DeleteElasticsearchDomain operation.
|
||||
// Specifies the name of the Elasticsearch domain that you want to delete.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DeleteElasticsearchDomainRequest
|
||||
type DeleteElasticsearchDomainInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1146,6 +1173,7 @@ func (s *DeleteElasticsearchDomainInput) SetDomainName(v string) *DeleteElastics
|
|||
// The result of a DeleteElasticsearchDomain request. Contains the status of
|
||||
// the pending deletion, or no status if the domain and all of its resources
|
||||
// have been deleted.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DeleteElasticsearchDomainResponse
|
||||
type DeleteElasticsearchDomainOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1171,6 +1199,7 @@ func (s *DeleteElasticsearchDomainOutput) SetDomainStatus(v *ElasticsearchDomain
|
|||
|
||||
// Container for the parameters to the DescribeElasticsearchDomainConfig operation.
|
||||
// Specifies the domain name for which you want configuration information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomainConfigRequest
|
||||
type DescribeElasticsearchDomainConfigInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1214,6 +1243,7 @@ func (s *DescribeElasticsearchDomainConfigInput) SetDomainName(v string) *Descri
|
|||
|
||||
// The result of a DescribeElasticsearchDomainConfig request. Contains the configuration
|
||||
// information of the requested domain.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomainConfigResponse
|
||||
type DescribeElasticsearchDomainConfigOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1241,6 +1271,7 @@ func (s *DescribeElasticsearchDomainConfigOutput) SetDomainConfig(v *Elasticsear
|
|||
}
|
||||
|
||||
// Container for the parameters to the DescribeElasticsearchDomain operation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomainRequest
|
||||
type DescribeElasticsearchDomainInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1284,6 +1315,7 @@ func (s *DescribeElasticsearchDomainInput) SetDomainName(v string) *DescribeElas
|
|||
|
||||
// The result of a DescribeElasticsearchDomain request. Contains the status
|
||||
// of the domain specified in the request.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomainResponse
|
||||
type DescribeElasticsearchDomainOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1311,6 +1343,7 @@ func (s *DescribeElasticsearchDomainOutput) SetDomainStatus(v *ElasticsearchDoma
|
|||
|
||||
// Container for the parameters to the DescribeElasticsearchDomains operation.
|
||||
// By default, the API returns the status of all Elasticsearch domains.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomainsRequest
|
||||
type DescribeElasticsearchDomainsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1351,6 +1384,7 @@ func (s *DescribeElasticsearchDomainsInput) SetDomainNames(v []*string) *Describ
|
|||
|
||||
// The result of a DescribeElasticsearchDomains request. Contains the status
|
||||
// of the specified domains or all domains owned by the account.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomainsResponse
|
||||
type DescribeElasticsearchDomainsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1376,6 +1410,7 @@ func (s *DescribeElasticsearchDomainsOutput) SetDomainStatusList(v []*Elasticsea
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DomainInfo
|
||||
type DomainInfo struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1401,6 +1436,7 @@ func (s *DomainInfo) SetDomainName(v string) *DomainInfo {
|
|||
|
||||
// Options to enable, disable, and specify the properties of EBS storage volumes.
|
||||
// For more information, see Configuring EBS-based Storage (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs).
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/EBSOptions
|
||||
type EBSOptions struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1452,6 +1488,7 @@ func (s *EBSOptions) SetVolumeType(v string) *EBSOptions {
|
|||
}
|
||||
|
||||
// Status of the EBS options for the specified Elasticsearch domain.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/EBSOptionsStatus
|
||||
type EBSOptionsStatus struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1490,6 +1527,7 @@ func (s *EBSOptionsStatus) SetStatus(v *OptionStatus) *EBSOptionsStatus {
|
|||
|
||||
// Specifies the configuration for the domain cluster, such as the type and
|
||||
// number of instances.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ElasticsearchClusterConfig
|
||||
type ElasticsearchClusterConfig struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1563,6 +1601,7 @@ func (s *ElasticsearchClusterConfig) SetZoneAwarenessEnabled(v bool) *Elasticsea
|
|||
}
|
||||
|
||||
// Specifies the configuration status for the specified Elasticsearch domain.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ElasticsearchClusterConfigStatus
|
||||
type ElasticsearchClusterConfigStatus struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1601,6 +1640,7 @@ func (s *ElasticsearchClusterConfigStatus) SetStatus(v *OptionStatus) *Elasticse
|
|||
}
|
||||
|
||||
// The configuration of an Elasticsearch domain.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ElasticsearchDomainConfig
|
||||
type ElasticsearchDomainConfig struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1672,6 +1712,7 @@ func (s *ElasticsearchDomainConfig) SetSnapshotOptions(v *SnapshotOptionsStatus)
|
|||
}
|
||||
|
||||
// The current status of an Elasticsearch domain.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ElasticsearchDomainStatus
|
||||
type ElasticsearchDomainStatus struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1826,6 +1867,7 @@ func (s *ElasticsearchDomainStatus) SetSnapshotOptions(v *SnapshotOptions) *Elas
|
|||
|
||||
// Status of the Elasticsearch version options for the specified Elasticsearch
|
||||
// domain.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ElasticsearchVersionStatus
|
||||
type ElasticsearchVersionStatus struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1863,6 +1905,7 @@ func (s *ElasticsearchVersionStatus) SetStatus(v *OptionStatus) *ElasticsearchVe
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListDomainNamesInput
|
||||
type ListDomainNamesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1879,6 +1922,7 @@ func (s ListDomainNamesInput) GoString() string {
|
|||
|
||||
// The result of a ListDomainNames operation. Contains the names of all Elasticsearch
|
||||
// domains owned by this account.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListDomainNamesResponse
|
||||
type ListDomainNamesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1905,6 +1949,7 @@ func (s *ListDomainNamesOutput) SetDomainNames(v []*DomainInfo) *ListDomainNames
|
|||
// Container for the parameters to the ListTags operation. Specify the ARN for
|
||||
// the Elasticsearch domain to which the tags are attached that you want to
|
||||
// view are attached.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListTagsRequest
|
||||
type ListTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1946,6 +1991,7 @@ func (s *ListTagsInput) SetARN(v string) *ListTagsInput {
|
|||
|
||||
// The result of a ListTags operation. Contains tags for all requested Elasticsearch
|
||||
// domains.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListTagsResponse
|
||||
type ListTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1970,6 +2016,7 @@ func (s *ListTagsOutput) SetTagList(v []*Tag) *ListTagsOutput {
|
|||
}
|
||||
|
||||
// Provides the current status of the entity.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/OptionStatus
|
||||
type OptionStatus struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2038,6 +2085,7 @@ func (s *OptionStatus) SetUpdateVersion(v int64) *OptionStatus {
|
|||
// Container for the parameters to the RemoveTags operation. Specify the ARN
|
||||
// for the Elasticsearch domain from which you want to remove the specified
|
||||
// TagKey.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/RemoveTagsRequest
|
||||
type RemoveTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2092,6 +2140,7 @@ func (s *RemoveTagsInput) SetTagKeys(v []*string) *RemoveTagsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/RemoveTagsOutput
|
||||
type RemoveTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2108,6 +2157,7 @@ func (s RemoveTagsOutput) GoString() string {
|
|||
|
||||
// Specifies the time, in UTC format, when the service takes a daily automated
|
||||
// snapshot of the specified Elasticsearch domain. Default value is 0 hours.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/SnapshotOptions
|
||||
type SnapshotOptions struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2133,6 +2183,7 @@ func (s *SnapshotOptions) SetAutomatedSnapshotStartHour(v int64) *SnapshotOption
|
|||
}
|
||||
|
||||
// Status of a daily automated snapshot.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/SnapshotOptionsStatus
|
||||
type SnapshotOptionsStatus struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2170,6 +2221,7 @@ func (s *SnapshotOptionsStatus) SetStatus(v *OptionStatus) *SnapshotOptionsStatu
|
|||
}
|
||||
|
||||
// Specifies a key value pair for a resource tag.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/Tag
|
||||
type Tag struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2231,6 +2283,7 @@ func (s *Tag) SetValue(v string) *Tag {
|
|||
|
||||
// Container for the parameters to the UpdateElasticsearchDomain operation.
|
||||
// Specifies the type and number of instances in the domain cluster.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/UpdateElasticsearchDomainConfigRequest
|
||||
type UpdateElasticsearchDomainConfigInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2323,6 +2376,7 @@ func (s *UpdateElasticsearchDomainConfigInput) SetSnapshotOptions(v *SnapshotOpt
|
|||
|
||||
// The result of an UpdateElasticsearchDomain request. Contains the status of
|
||||
// the Elasticsearch domain being updated.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/UpdateElasticsearchDomainConfigResponse
|
||||
type UpdateElasticsearchDomainConfigOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -17,8 +17,9 @@ import (
|
|||
// The endpoint for configuration service requests is region-specific: es.region.amazonaws.com.
|
||||
// For example, es.us-east-1.amazonaws.com. For a current list of supported
|
||||
// regions and endpoints, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html#elasticsearch-service-regions).
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01
|
||||
type ElasticsearchService struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -29,8 +30,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "es"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "es" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ElasticsearchService client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -43,7 +47,7 @@ const ServiceName = "es"
|
|||
// // Create a ElasticsearchService client with additional configuration
|
||||
// svc := elasticsearchservice.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ElasticsearchService {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,6 @@ const opCancelJob = "CancelJob"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *ElasticTranscoder) CancelJobRequest(input *CancelJobInput) (req *request.Request, output *CancelJobOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCancelJob,
|
||||
|
@ -122,7 +121,6 @@ const opCreateJob = "CreateJob"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *ElasticTranscoder) CreateJobRequest(input *CreateJobInput) (req *request.Request, output *CreateJobResponse) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateJob,
|
||||
|
@ -211,7 +209,6 @@ const opCreatePipeline = "CreatePipeline"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *ElasticTranscoder) CreatePipelineRequest(input *CreatePipelineInput) (req *request.Request, output *CreatePipelineOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreatePipeline,
|
||||
|
@ -294,7 +291,6 @@ const opCreatePreset = "CreatePreset"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *ElasticTranscoder) CreatePresetRequest(input *CreatePresetInput) (req *request.Request, output *CreatePresetOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreatePreset,
|
||||
|
@ -386,7 +382,6 @@ const opDeletePipeline = "DeletePipeline"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *ElasticTranscoder) DeletePipelineRequest(input *DeletePipelineInput) (req *request.Request, output *DeletePipelineOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeletePipeline,
|
||||
|
@ -473,7 +468,6 @@ const opDeletePreset = "DeletePreset"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *ElasticTranscoder) DeletePresetRequest(input *DeletePresetInput) (req *request.Request, output *DeletePresetOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeletePreset,
|
||||
|
@ -554,7 +548,6 @@ const opListJobsByPipeline = "ListJobsByPipeline"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *ElasticTranscoder) ListJobsByPipelineRequest(input *ListJobsByPipelineInput) (req *request.Request, output *ListJobsByPipelineOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListJobsByPipeline,
|
||||
|
@ -668,7 +661,6 @@ const opListJobsByStatus = "ListJobsByStatus"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *ElasticTranscoder) ListJobsByStatusRequest(input *ListJobsByStatusInput) (req *request.Request, output *ListJobsByStatusOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListJobsByStatus,
|
||||
|
@ -780,7 +772,6 @@ const opListPipelines = "ListPipelines"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *ElasticTranscoder) ListPipelinesRequest(input *ListPipelinesInput) (req *request.Request, output *ListPipelinesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListPipelines,
|
||||
|
@ -886,7 +877,6 @@ const opListPresets = "ListPresets"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *ElasticTranscoder) ListPresetsRequest(input *ListPresetsInput) (req *request.Request, output *ListPresetsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListPresets,
|
||||
|
@ -992,7 +982,6 @@ const opReadJob = "ReadJob"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *ElasticTranscoder) ReadJobRequest(input *ReadJobInput) (req *request.Request, output *ReadJobOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opReadJob,
|
||||
|
@ -1071,7 +1060,6 @@ const opReadPipeline = "ReadPipeline"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *ElasticTranscoder) ReadPipelineRequest(input *ReadPipelineInput) (req *request.Request, output *ReadPipelineOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opReadPipeline,
|
||||
|
@ -1150,7 +1138,6 @@ const opReadPreset = "ReadPreset"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *ElasticTranscoder) ReadPresetRequest(input *ReadPresetInput) (req *request.Request, output *ReadPresetOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opReadPreset,
|
||||
|
@ -1229,7 +1216,6 @@ const opTestRole = "TestRole"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *ElasticTranscoder) TestRoleRequest(input *TestRoleInput) (req *request.Request, output *TestRoleOutput) {
|
||||
if c.Client.Config.Logger != nil {
|
||||
c.Client.Config.Logger.Log("This operation, TestRole, has been deprecated")
|
||||
|
@ -1317,7 +1303,6 @@ const opUpdatePipeline = "UpdatePipeline"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *ElasticTranscoder) UpdatePipelineRequest(input *UpdatePipelineInput) (req *request.Request, output *UpdatePipelineOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdatePipeline,
|
||||
|
@ -1405,7 +1390,6 @@ const opUpdatePipelineNotifications = "UpdatePipelineNotifications"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *ElasticTranscoder) UpdatePipelineNotificationsRequest(input *UpdatePipelineNotificationsInput) (req *request.Request, output *UpdatePipelineNotificationsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdatePipelineNotifications,
|
||||
|
@ -1492,7 +1476,6 @@ const opUpdatePipelineStatus = "UpdatePipelineStatus"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *ElasticTranscoder) UpdatePipelineStatusRequest(input *UpdatePipelineStatusInput) (req *request.Request, output *UpdatePipelineStatusOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdatePipelineStatus,
|
||||
|
|
|
@ -12,7 +12,7 @@ import (
|
|||
)
|
||||
|
||||
// The AWS Elastic Transcoder Service.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
type ElasticTranscoder struct {
|
||||
*client.Client
|
||||
|
@ -24,8 +24,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "elastictranscoder"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "elastictranscoder" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ElasticTranscoder client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -38,7 +41,7 @@ const ServiceName = "elastictranscoder"
|
|||
// // Create a ElasticTranscoder client with additional configuration
|
||||
// svc := elastictranscoder.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ElasticTranscoder {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@ const opAddTags = "AddTags"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTags
|
||||
func (c *ELB) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opAddTags,
|
||||
|
@ -83,6 +84,7 @@ func (c *ELB) AddTagsRequest(input *AddTagsInput) (req *request.Request, output
|
|||
// * DuplicateTagKeys
|
||||
// A tag key was specified more than once.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTags
|
||||
func (c *ELB) AddTags(input *AddTagsInput) (*AddTagsOutput, error) {
|
||||
req, out := c.AddTagsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -115,6 +117,7 @@ const opApplySecurityGroupsToLoadBalancer = "ApplySecurityGroupsToLoadBalancer"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancer
|
||||
func (c *ELB) ApplySecurityGroupsToLoadBalancerRequest(input *ApplySecurityGroupsToLoadBalancerInput) (req *request.Request, output *ApplySecurityGroupsToLoadBalancerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opApplySecurityGroupsToLoadBalancer,
|
||||
|
@ -158,6 +161,7 @@ func (c *ELB) ApplySecurityGroupsToLoadBalancerRequest(input *ApplySecurityGroup
|
|||
// * InvalidSecurityGroup
|
||||
// One or more of the specified security groups do not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancer
|
||||
func (c *ELB) ApplySecurityGroupsToLoadBalancer(input *ApplySecurityGroupsToLoadBalancerInput) (*ApplySecurityGroupsToLoadBalancerOutput, error) {
|
||||
req, out := c.ApplySecurityGroupsToLoadBalancerRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -190,6 +194,7 @@ const opAttachLoadBalancerToSubnets = "AttachLoadBalancerToSubnets"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnets
|
||||
func (c *ELB) AttachLoadBalancerToSubnetsRequest(input *AttachLoadBalancerToSubnetsInput) (req *request.Request, output *AttachLoadBalancerToSubnetsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opAttachLoadBalancerToSubnets,
|
||||
|
@ -237,6 +242,7 @@ func (c *ELB) AttachLoadBalancerToSubnetsRequest(input *AttachLoadBalancerToSubn
|
|||
// * InvalidSubnet
|
||||
// The specified VPC has no associated Internet gateway.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnets
|
||||
func (c *ELB) AttachLoadBalancerToSubnets(input *AttachLoadBalancerToSubnetsInput) (*AttachLoadBalancerToSubnetsOutput, error) {
|
||||
req, out := c.AttachLoadBalancerToSubnetsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -269,6 +275,7 @@ const opConfigureHealthCheck = "ConfigureHealthCheck"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheck
|
||||
func (c *ELB) ConfigureHealthCheckRequest(input *ConfigureHealthCheckInput) (req *request.Request, output *ConfigureHealthCheckOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opConfigureHealthCheck,
|
||||
|
@ -306,6 +313,7 @@ func (c *ELB) ConfigureHealthCheckRequest(input *ConfigureHealthCheckInput) (req
|
|||
// * LoadBalancerNotFound
|
||||
// The specified load balancer does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheck
|
||||
func (c *ELB) ConfigureHealthCheck(input *ConfigureHealthCheckInput) (*ConfigureHealthCheckOutput, error) {
|
||||
req, out := c.ConfigureHealthCheckRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -338,6 +346,7 @@ const opCreateAppCookieStickinessPolicy = "CreateAppCookieStickinessPolicy"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicy
|
||||
func (c *ELB) CreateAppCookieStickinessPolicyRequest(input *CreateAppCookieStickinessPolicyInput) (req *request.Request, output *CreateAppCookieStickinessPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateAppCookieStickinessPolicy,
|
||||
|
@ -393,6 +402,7 @@ func (c *ELB) CreateAppCookieStickinessPolicyRequest(input *CreateAppCookieStick
|
|||
// * InvalidConfigurationRequest
|
||||
// The requested configuration change is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicy
|
||||
func (c *ELB) CreateAppCookieStickinessPolicy(input *CreateAppCookieStickinessPolicyInput) (*CreateAppCookieStickinessPolicyOutput, error) {
|
||||
req, out := c.CreateAppCookieStickinessPolicyRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -425,6 +435,7 @@ const opCreateLBCookieStickinessPolicy = "CreateLBCookieStickinessPolicy"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicy
|
||||
func (c *ELB) CreateLBCookieStickinessPolicyRequest(input *CreateLBCookieStickinessPolicyInput) (req *request.Request, output *CreateLBCookieStickinessPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateLBCookieStickinessPolicy,
|
||||
|
@ -482,6 +493,7 @@ func (c *ELB) CreateLBCookieStickinessPolicyRequest(input *CreateLBCookieStickin
|
|||
// * InvalidConfigurationRequest
|
||||
// The requested configuration change is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicy
|
||||
func (c *ELB) CreateLBCookieStickinessPolicy(input *CreateLBCookieStickinessPolicyInput) (*CreateLBCookieStickinessPolicyOutput, error) {
|
||||
req, out := c.CreateLBCookieStickinessPolicyRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -514,6 +526,7 @@ const opCreateLoadBalancer = "CreateLoadBalancer"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancer
|
||||
func (c *ELB) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *request.Request, output *CreateLoadBalancerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateLoadBalancer,
|
||||
|
@ -593,6 +606,7 @@ func (c *ELB) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *re
|
|||
// * UnsupportedProtocol
|
||||
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancer
|
||||
func (c *ELB) CreateLoadBalancer(input *CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error) {
|
||||
req, out := c.CreateLoadBalancerRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -625,6 +639,7 @@ const opCreateLoadBalancerListeners = "CreateLoadBalancerListeners"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListeners
|
||||
func (c *ELB) CreateLoadBalancerListenersRequest(input *CreateLoadBalancerListenersInput) (req *request.Request, output *CreateLoadBalancerListenersOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateLoadBalancerListeners,
|
||||
|
@ -679,6 +694,7 @@ func (c *ELB) CreateLoadBalancerListenersRequest(input *CreateLoadBalancerListen
|
|||
// * UnsupportedProtocol
|
||||
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListeners
|
||||
func (c *ELB) CreateLoadBalancerListeners(input *CreateLoadBalancerListenersInput) (*CreateLoadBalancerListenersOutput, error) {
|
||||
req, out := c.CreateLoadBalancerListenersRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -711,6 +727,7 @@ const opCreateLoadBalancerPolicy = "CreateLoadBalancerPolicy"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicy
|
||||
func (c *ELB) CreateLoadBalancerPolicyRequest(input *CreateLoadBalancerPolicyInput) (req *request.Request, output *CreateLoadBalancerPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateLoadBalancerPolicy,
|
||||
|
@ -759,6 +776,7 @@ func (c *ELB) CreateLoadBalancerPolicyRequest(input *CreateLoadBalancerPolicyInp
|
|||
// * InvalidConfigurationRequest
|
||||
// The requested configuration change is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicy
|
||||
func (c *ELB) CreateLoadBalancerPolicy(input *CreateLoadBalancerPolicyInput) (*CreateLoadBalancerPolicyOutput, error) {
|
||||
req, out := c.CreateLoadBalancerPolicyRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -791,6 +809,7 @@ const opDeleteLoadBalancer = "DeleteLoadBalancer"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancer
|
||||
func (c *ELB) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) (req *request.Request, output *DeleteLoadBalancerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteLoadBalancer,
|
||||
|
@ -827,6 +846,7 @@ func (c *ELB) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) (req *re
|
|||
//
|
||||
// See the AWS API reference guide for Elastic Load Balancing's
|
||||
// API operation DeleteLoadBalancer for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancer
|
||||
func (c *ELB) DeleteLoadBalancer(input *DeleteLoadBalancerInput) (*DeleteLoadBalancerOutput, error) {
|
||||
req, out := c.DeleteLoadBalancerRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -859,6 +879,7 @@ const opDeleteLoadBalancerListeners = "DeleteLoadBalancerListeners"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListeners
|
||||
func (c *ELB) DeleteLoadBalancerListenersRequest(input *DeleteLoadBalancerListenersInput) (req *request.Request, output *DeleteLoadBalancerListenersOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteLoadBalancerListeners,
|
||||
|
@ -891,6 +912,7 @@ func (c *ELB) DeleteLoadBalancerListenersRequest(input *DeleteLoadBalancerListen
|
|||
// * LoadBalancerNotFound
|
||||
// The specified load balancer does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListeners
|
||||
func (c *ELB) DeleteLoadBalancerListeners(input *DeleteLoadBalancerListenersInput) (*DeleteLoadBalancerListenersOutput, error) {
|
||||
req, out := c.DeleteLoadBalancerListenersRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -923,6 +945,7 @@ const opDeleteLoadBalancerPolicy = "DeleteLoadBalancerPolicy"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicy
|
||||
func (c *ELB) DeleteLoadBalancerPolicyRequest(input *DeleteLoadBalancerPolicyInput) (req *request.Request, output *DeleteLoadBalancerPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteLoadBalancerPolicy,
|
||||
|
@ -959,6 +982,7 @@ func (c *ELB) DeleteLoadBalancerPolicyRequest(input *DeleteLoadBalancerPolicyInp
|
|||
// * InvalidConfigurationRequest
|
||||
// The requested configuration change is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicy
|
||||
func (c *ELB) DeleteLoadBalancerPolicy(input *DeleteLoadBalancerPolicyInput) (*DeleteLoadBalancerPolicyOutput, error) {
|
||||
req, out := c.DeleteLoadBalancerPolicyRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -991,6 +1015,7 @@ const opDeregisterInstancesFromLoadBalancer = "DeregisterInstancesFromLoadBalanc
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterInstancesFromLoadBalancer
|
||||
func (c *ELB) DeregisterInstancesFromLoadBalancerRequest(input *DeregisterInstancesFromLoadBalancerInput) (req *request.Request, output *DeregisterInstancesFromLoadBalancerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeregisterInstancesFromLoadBalancer,
|
||||
|
@ -1034,6 +1059,7 @@ func (c *ELB) DeregisterInstancesFromLoadBalancerRequest(input *DeregisterInstan
|
|||
// * InvalidInstance
|
||||
// The specified endpoint is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterInstancesFromLoadBalancer
|
||||
func (c *ELB) DeregisterInstancesFromLoadBalancer(input *DeregisterInstancesFromLoadBalancerInput) (*DeregisterInstancesFromLoadBalancerOutput, error) {
|
||||
req, out := c.DeregisterInstancesFromLoadBalancerRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1066,6 +1092,7 @@ const opDescribeInstanceHealth = "DescribeInstanceHealth"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeInstanceHealth
|
||||
func (c *ELB) DescribeInstanceHealthRequest(input *DescribeInstanceHealthInput) (req *request.Request, output *DescribeInstanceHealthOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeInstanceHealth,
|
||||
|
@ -1106,6 +1133,7 @@ func (c *ELB) DescribeInstanceHealthRequest(input *DescribeInstanceHealthInput)
|
|||
// * InvalidInstance
|
||||
// The specified endpoint is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeInstanceHealth
|
||||
func (c *ELB) DescribeInstanceHealth(input *DescribeInstanceHealthInput) (*DescribeInstanceHealthOutput, error) {
|
||||
req, out := c.DescribeInstanceHealthRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1138,6 +1166,7 @@ const opDescribeLoadBalancerAttributes = "DescribeLoadBalancerAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributes
|
||||
func (c *ELB) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalancerAttributesInput) (req *request.Request, output *DescribeLoadBalancerAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeLoadBalancerAttributes,
|
||||
|
@ -1173,6 +1202,7 @@ func (c *ELB) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalancerA
|
|||
// * LoadBalancerAttributeNotFound
|
||||
// The specified load balancer attribute does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributes
|
||||
func (c *ELB) DescribeLoadBalancerAttributes(input *DescribeLoadBalancerAttributesInput) (*DescribeLoadBalancerAttributesOutput, error) {
|
||||
req, out := c.DescribeLoadBalancerAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1205,6 +1235,7 @@ const opDescribeLoadBalancerPolicies = "DescribeLoadBalancerPolicies"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicies
|
||||
func (c *ELB) DescribeLoadBalancerPoliciesRequest(input *DescribeLoadBalancerPoliciesInput) (req *request.Request, output *DescribeLoadBalancerPoliciesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeLoadBalancerPolicies,
|
||||
|
@ -1247,6 +1278,7 @@ func (c *ELB) DescribeLoadBalancerPoliciesRequest(input *DescribeLoadBalancerPol
|
|||
// * PolicyNotFound
|
||||
// One or more of the specified policies do not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicies
|
||||
func (c *ELB) DescribeLoadBalancerPolicies(input *DescribeLoadBalancerPoliciesInput) (*DescribeLoadBalancerPoliciesOutput, error) {
|
||||
req, out := c.DescribeLoadBalancerPoliciesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1279,6 +1311,7 @@ const opDescribeLoadBalancerPolicyTypes = "DescribeLoadBalancerPolicyTypes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypes
|
||||
func (c *ELB) DescribeLoadBalancerPolicyTypesRequest(input *DescribeLoadBalancerPolicyTypesInput) (req *request.Request, output *DescribeLoadBalancerPolicyTypesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeLoadBalancerPolicyTypes,
|
||||
|
@ -1322,6 +1355,7 @@ func (c *ELB) DescribeLoadBalancerPolicyTypesRequest(input *DescribeLoadBalancer
|
|||
// * PolicyTypeNotFound
|
||||
// One or more of the specified policy types do not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypes
|
||||
func (c *ELB) DescribeLoadBalancerPolicyTypes(input *DescribeLoadBalancerPolicyTypesInput) (*DescribeLoadBalancerPolicyTypesOutput, error) {
|
||||
req, out := c.DescribeLoadBalancerPolicyTypesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1354,6 +1388,7 @@ const opDescribeLoadBalancers = "DescribeLoadBalancers"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancers
|
||||
func (c *ELB) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput) (req *request.Request, output *DescribeLoadBalancersOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeLoadBalancers,
|
||||
|
@ -1396,6 +1431,7 @@ func (c *ELB) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput) (r
|
|||
// * DependencyThrottle
|
||||
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancers
|
||||
func (c *ELB) DescribeLoadBalancers(input *DescribeLoadBalancersInput) (*DescribeLoadBalancersOutput, error) {
|
||||
req, out := c.DescribeLoadBalancersRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1453,6 +1489,7 @@ const opDescribeTags = "DescribeTags"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTags
|
||||
func (c *ELB) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeTags,
|
||||
|
@ -1485,6 +1522,7 @@ func (c *ELB) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Reques
|
|||
// * LoadBalancerNotFound
|
||||
// The specified load balancer does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTags
|
||||
func (c *ELB) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) {
|
||||
req, out := c.DescribeTagsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1517,6 +1555,7 @@ const opDetachLoadBalancerFromSubnets = "DetachLoadBalancerFromSubnets"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnets
|
||||
func (c *ELB) DetachLoadBalancerFromSubnetsRequest(input *DetachLoadBalancerFromSubnetsInput) (req *request.Request, output *DetachLoadBalancerFromSubnetsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDetachLoadBalancerFromSubnets,
|
||||
|
@ -1557,6 +1596,7 @@ func (c *ELB) DetachLoadBalancerFromSubnetsRequest(input *DetachLoadBalancerFrom
|
|||
// * InvalidConfigurationRequest
|
||||
// The requested configuration change is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnets
|
||||
func (c *ELB) DetachLoadBalancerFromSubnets(input *DetachLoadBalancerFromSubnetsInput) (*DetachLoadBalancerFromSubnetsOutput, error) {
|
||||
req, out := c.DetachLoadBalancerFromSubnetsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1589,6 +1629,7 @@ const opDisableAvailabilityZonesForLoadBalancer = "DisableAvailabilityZonesForLo
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DisableAvailabilityZonesForLoadBalancer
|
||||
func (c *ELB) DisableAvailabilityZonesForLoadBalancerRequest(input *DisableAvailabilityZonesForLoadBalancerInput) (req *request.Request, output *DisableAvailabilityZonesForLoadBalancerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDisableAvailabilityZonesForLoadBalancer,
|
||||
|
@ -1634,6 +1675,7 @@ func (c *ELB) DisableAvailabilityZonesForLoadBalancerRequest(input *DisableAvail
|
|||
// * InvalidConfigurationRequest
|
||||
// The requested configuration change is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DisableAvailabilityZonesForLoadBalancer
|
||||
func (c *ELB) DisableAvailabilityZonesForLoadBalancer(input *DisableAvailabilityZonesForLoadBalancerInput) (*DisableAvailabilityZonesForLoadBalancerOutput, error) {
|
||||
req, out := c.DisableAvailabilityZonesForLoadBalancerRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1666,6 +1708,7 @@ const opEnableAvailabilityZonesForLoadBalancer = "EnableAvailabilityZonesForLoad
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/EnableAvailabilityZonesForLoadBalancer
|
||||
func (c *ELB) EnableAvailabilityZonesForLoadBalancerRequest(input *EnableAvailabilityZonesForLoadBalancerInput) (req *request.Request, output *EnableAvailabilityZonesForLoadBalancerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opEnableAvailabilityZonesForLoadBalancer,
|
||||
|
@ -1705,6 +1748,7 @@ func (c *ELB) EnableAvailabilityZonesForLoadBalancerRequest(input *EnableAvailab
|
|||
// * LoadBalancerNotFound
|
||||
// The specified load balancer does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/EnableAvailabilityZonesForLoadBalancer
|
||||
func (c *ELB) EnableAvailabilityZonesForLoadBalancer(input *EnableAvailabilityZonesForLoadBalancerInput) (*EnableAvailabilityZonesForLoadBalancerOutput, error) {
|
||||
req, out := c.EnableAvailabilityZonesForLoadBalancerRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1737,6 +1781,7 @@ const opModifyLoadBalancerAttributes = "ModifyLoadBalancerAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributes
|
||||
func (c *ELB) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAttributesInput) (req *request.Request, output *ModifyLoadBalancerAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opModifyLoadBalancerAttributes,
|
||||
|
@ -1790,6 +1835,7 @@ func (c *ELB) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAttri
|
|||
// * InvalidConfigurationRequest
|
||||
// The requested configuration change is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributes
|
||||
func (c *ELB) ModifyLoadBalancerAttributes(input *ModifyLoadBalancerAttributesInput) (*ModifyLoadBalancerAttributesOutput, error) {
|
||||
req, out := c.ModifyLoadBalancerAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1822,6 +1868,7 @@ const opRegisterInstancesWithLoadBalancer = "RegisterInstancesWithLoadBalancer"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterInstancesWithLoadBalancer
|
||||
func (c *ELB) RegisterInstancesWithLoadBalancerRequest(input *RegisterInstancesWithLoadBalancerInput) (req *request.Request, output *RegisterInstancesWithLoadBalancerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opRegisterInstancesWithLoadBalancer,
|
||||
|
@ -1879,6 +1926,7 @@ func (c *ELB) RegisterInstancesWithLoadBalancerRequest(input *RegisterInstancesW
|
|||
// * InvalidInstance
|
||||
// The specified endpoint is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterInstancesWithLoadBalancer
|
||||
func (c *ELB) RegisterInstancesWithLoadBalancer(input *RegisterInstancesWithLoadBalancerInput) (*RegisterInstancesWithLoadBalancerOutput, error) {
|
||||
req, out := c.RegisterInstancesWithLoadBalancerRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1911,6 +1959,7 @@ const opRemoveTags = "RemoveTags"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTags
|
||||
func (c *ELB) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opRemoveTags,
|
||||
|
@ -1943,6 +1992,7 @@ func (c *ELB) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, o
|
|||
// * LoadBalancerNotFound
|
||||
// The specified load balancer does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTags
|
||||
func (c *ELB) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) {
|
||||
req, out := c.RemoveTagsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1975,6 +2025,7 @@ const opSetLoadBalancerListenerSSLCertificate = "SetLoadBalancerListenerSSLCerti
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificate
|
||||
func (c *ELB) SetLoadBalancerListenerSSLCertificateRequest(input *SetLoadBalancerListenerSSLCertificateInput) (req *request.Request, output *SetLoadBalancerListenerSSLCertificateOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSetLoadBalancerListenerSSLCertificate,
|
||||
|
@ -2028,6 +2079,7 @@ func (c *ELB) SetLoadBalancerListenerSSLCertificateRequest(input *SetLoadBalance
|
|||
// * UnsupportedProtocol
|
||||
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificate
|
||||
func (c *ELB) SetLoadBalancerListenerSSLCertificate(input *SetLoadBalancerListenerSSLCertificateInput) (*SetLoadBalancerListenerSSLCertificateOutput, error) {
|
||||
req, out := c.SetLoadBalancerListenerSSLCertificateRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2060,6 +2112,7 @@ const opSetLoadBalancerPoliciesForBackendServer = "SetLoadBalancerPoliciesForBac
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServer
|
||||
func (c *ELB) SetLoadBalancerPoliciesForBackendServerRequest(input *SetLoadBalancerPoliciesForBackendServerInput) (req *request.Request, output *SetLoadBalancerPoliciesForBackendServerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSetLoadBalancerPoliciesForBackendServer,
|
||||
|
@ -2113,6 +2166,7 @@ func (c *ELB) SetLoadBalancerPoliciesForBackendServerRequest(input *SetLoadBalan
|
|||
// * InvalidConfigurationRequest
|
||||
// The requested configuration change is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServer
|
||||
func (c *ELB) SetLoadBalancerPoliciesForBackendServer(input *SetLoadBalancerPoliciesForBackendServerInput) (*SetLoadBalancerPoliciesForBackendServerOutput, error) {
|
||||
req, out := c.SetLoadBalancerPoliciesForBackendServerRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2145,6 +2199,7 @@ const opSetLoadBalancerPoliciesOfListener = "SetLoadBalancerPoliciesOfListener"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListener
|
||||
func (c *ELB) SetLoadBalancerPoliciesOfListenerRequest(input *SetLoadBalancerPoliciesOfListenerInput) (req *request.Request, output *SetLoadBalancerPoliciesOfListenerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSetLoadBalancerPoliciesOfListener,
|
||||
|
@ -2195,6 +2250,7 @@ func (c *ELB) SetLoadBalancerPoliciesOfListenerRequest(input *SetLoadBalancerPol
|
|||
// * InvalidConfigurationRequest
|
||||
// The requested configuration change is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListener
|
||||
func (c *ELB) SetLoadBalancerPoliciesOfListener(input *SetLoadBalancerPoliciesOfListenerInput) (*SetLoadBalancerPoliciesOfListenerOutput, error) {
|
||||
req, out := c.SetLoadBalancerPoliciesOfListenerRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2202,6 +2258,7 @@ func (c *ELB) SetLoadBalancerPoliciesOfListener(input *SetLoadBalancerPoliciesOf
|
|||
}
|
||||
|
||||
// Information about the AccessLog attribute.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AccessLog
|
||||
type AccessLog struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2273,6 +2330,7 @@ func (s *AccessLog) SetS3BucketPrefix(v string) *AccessLog {
|
|||
}
|
||||
|
||||
// Contains the parameters for AddTags.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTagsInput
|
||||
type AddTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2339,6 +2397,7 @@ func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput {
|
|||
}
|
||||
|
||||
// Contains the output of AddTags.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTagsOutput
|
||||
type AddTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2354,6 +2413,7 @@ func (s AddTagsOutput) GoString() string {
|
|||
}
|
||||
|
||||
// This data type is reserved.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AdditionalAttribute
|
||||
type AdditionalAttribute struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2387,6 +2447,7 @@ func (s *AdditionalAttribute) SetValue(v string) *AdditionalAttribute {
|
|||
}
|
||||
|
||||
// Information about a policy for application-controlled session stickiness.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AppCookieStickinessPolicy
|
||||
type AppCookieStickinessPolicy struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2421,6 +2482,7 @@ func (s *AppCookieStickinessPolicy) SetPolicyName(v string) *AppCookieStickiness
|
|||
}
|
||||
|
||||
// Contains the parameters for ApplySecurityGroupsToLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancerInput
|
||||
type ApplySecurityGroupsToLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2475,6 +2537,7 @@ func (s *ApplySecurityGroupsToLoadBalancerInput) SetSecurityGroups(v []*string)
|
|||
}
|
||||
|
||||
// Contains the output of ApplySecurityGroupsToLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancerOutput
|
||||
type ApplySecurityGroupsToLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2499,6 +2562,7 @@ func (s *ApplySecurityGroupsToLoadBalancerOutput) SetSecurityGroups(v []*string)
|
|||
}
|
||||
|
||||
// Contains the parameters for AttachLoaBalancerToSubnets.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnetsInput
|
||||
type AttachLoadBalancerToSubnetsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2553,6 +2617,7 @@ func (s *AttachLoadBalancerToSubnetsInput) SetSubnets(v []*string) *AttachLoadBa
|
|||
}
|
||||
|
||||
// Contains the output of AttachLoadBalancerToSubnets.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnetsOutput
|
||||
type AttachLoadBalancerToSubnetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2577,6 +2642,7 @@ func (s *AttachLoadBalancerToSubnetsOutput) SetSubnets(v []*string) *AttachLoadB
|
|||
}
|
||||
|
||||
// Information about the configuration of an EC2 instance.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/BackendServerDescription
|
||||
type BackendServerDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2610,6 +2676,7 @@ func (s *BackendServerDescription) SetPolicyNames(v []*string) *BackendServerDes
|
|||
}
|
||||
|
||||
// Contains the parameters for ConfigureHealthCheck.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheckInput
|
||||
type ConfigureHealthCheckInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2668,6 +2735,7 @@ func (s *ConfigureHealthCheckInput) SetLoadBalancerName(v string) *ConfigureHeal
|
|||
}
|
||||
|
||||
// Contains the output of ConfigureHealthCheck.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheckOutput
|
||||
type ConfigureHealthCheckOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2692,6 +2760,7 @@ func (s *ConfigureHealthCheckOutput) SetHealthCheck(v *HealthCheck) *ConfigureHe
|
|||
}
|
||||
|
||||
// Information about the ConnectionDraining attribute.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConnectionDraining
|
||||
type ConnectionDraining struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2741,6 +2810,7 @@ func (s *ConnectionDraining) SetTimeout(v int64) *ConnectionDraining {
|
|||
}
|
||||
|
||||
// Information about the ConnectionSettings attribute.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConnectionSettings
|
||||
type ConnectionSettings struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2784,6 +2854,7 @@ func (s *ConnectionSettings) SetIdleTimeout(v int64) *ConnectionSettings {
|
|||
}
|
||||
|
||||
// Contains the parameters for CreateAppCookieStickinessPolicy.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicyInput
|
||||
type CreateAppCookieStickinessPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2853,6 +2924,7 @@ func (s *CreateAppCookieStickinessPolicyInput) SetPolicyName(v string) *CreateAp
|
|||
}
|
||||
|
||||
// Contains the output for CreateAppCookieStickinessPolicy.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicyOutput
|
||||
type CreateAppCookieStickinessPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2868,6 +2940,7 @@ func (s CreateAppCookieStickinessPolicyOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for CreateLBCookieStickinessPolicy.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicyInput
|
||||
type CreateLBCookieStickinessPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2935,6 +3008,7 @@ func (s *CreateLBCookieStickinessPolicyInput) SetPolicyName(v string) *CreateLBC
|
|||
}
|
||||
|
||||
// Contains the output for CreateLBCookieStickinessPolicy.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicyOutput
|
||||
type CreateLBCookieStickinessPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2950,6 +3024,7 @@ func (s CreateLBCookieStickinessPolicyOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for CreateLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAccessPointInput
|
||||
type CreateLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3097,6 +3172,7 @@ func (s *CreateLoadBalancerInput) SetTags(v []*Tag) *CreateLoadBalancerInput {
|
|||
}
|
||||
|
||||
// Contains the parameters for CreateLoadBalancerListeners.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListenerInput
|
||||
type CreateLoadBalancerListenersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3160,6 +3236,7 @@ func (s *CreateLoadBalancerListenersInput) SetLoadBalancerName(v string) *Create
|
|||
}
|
||||
|
||||
// Contains the parameters for CreateLoadBalancerListener.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListenerOutput
|
||||
type CreateLoadBalancerListenersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3175,6 +3252,7 @@ func (s CreateLoadBalancerListenersOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the output for CreateLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAccessPointOutput
|
||||
type CreateLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3199,6 +3277,7 @@ func (s *CreateLoadBalancerOutput) SetDNSName(v string) *CreateLoadBalancerOutpu
|
|||
}
|
||||
|
||||
// Contains the parameters for CreateLoadBalancerPolicy.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicyInput
|
||||
type CreateLoadBalancerPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3276,6 +3355,7 @@ func (s *CreateLoadBalancerPolicyInput) SetPolicyTypeName(v string) *CreateLoadB
|
|||
}
|
||||
|
||||
// Contains the output of CreateLoadBalancerPolicy.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicyOutput
|
||||
type CreateLoadBalancerPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3291,6 +3371,7 @@ func (s CreateLoadBalancerPolicyOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Information about the CrossZoneLoadBalancing attribute.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CrossZoneLoadBalancing
|
||||
type CrossZoneLoadBalancing struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3330,6 +3411,7 @@ func (s *CrossZoneLoadBalancing) SetEnabled(v bool) *CrossZoneLoadBalancing {
|
|||
}
|
||||
|
||||
// Contains the parameters for DeleteLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteAccessPointInput
|
||||
type DeleteLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3369,6 +3451,7 @@ func (s *DeleteLoadBalancerInput) SetLoadBalancerName(v string) *DeleteLoadBalan
|
|||
}
|
||||
|
||||
// Contains the parameters for DeleteLoadBalancerListeners.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListenerInput
|
||||
type DeleteLoadBalancerListenersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3422,6 +3505,7 @@ func (s *DeleteLoadBalancerListenersInput) SetLoadBalancerPorts(v []*int64) *Del
|
|||
}
|
||||
|
||||
// Contains the output of DeleteLoadBalancerListeners.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListenerOutput
|
||||
type DeleteLoadBalancerListenersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3437,6 +3521,7 @@ func (s DeleteLoadBalancerListenersOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the output of DeleteLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteAccessPointOutput
|
||||
type DeleteLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3452,6 +3537,7 @@ func (s DeleteLoadBalancerOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for DeleteLoadBalancerPolicy.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicyInput
|
||||
type DeleteLoadBalancerPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3505,6 +3591,7 @@ func (s *DeleteLoadBalancerPolicyInput) SetPolicyName(v string) *DeleteLoadBalan
|
|||
}
|
||||
|
||||
// Contains the output of DeleteLoadBalancerPolicy.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicyOutput
|
||||
type DeleteLoadBalancerPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3520,6 +3607,7 @@ func (s DeleteLoadBalancerPolicyOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for DeregisterInstancesFromLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterEndPointsInput
|
||||
type DeregisterInstancesFromLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3573,6 +3661,7 @@ func (s *DeregisterInstancesFromLoadBalancerInput) SetLoadBalancerName(v string)
|
|||
}
|
||||
|
||||
// Contains the output of DeregisterInstancesFromLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterEndPointsOutput
|
||||
type DeregisterInstancesFromLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3597,6 +3686,7 @@ func (s *DeregisterInstancesFromLoadBalancerOutput) SetInstances(v []*Instance)
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeInstanceHealth.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeEndPointStateInput
|
||||
type DescribeInstanceHealthInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3645,6 +3735,7 @@ func (s *DescribeInstanceHealthInput) SetLoadBalancerName(v string) *DescribeIns
|
|||
}
|
||||
|
||||
// Contains the output for DescribeInstanceHealth.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeEndPointStateOutput
|
||||
type DescribeInstanceHealthOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3669,6 +3760,7 @@ func (s *DescribeInstanceHealthOutput) SetInstanceStates(v []*InstanceState) *De
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeLoadBalancerAttributes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributesInput
|
||||
type DescribeLoadBalancerAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3708,6 +3800,7 @@ func (s *DescribeLoadBalancerAttributesInput) SetLoadBalancerName(v string) *Des
|
|||
}
|
||||
|
||||
// Contains the output of DescribeLoadBalancerAttributes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributesOutput
|
||||
type DescribeLoadBalancerAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3732,6 +3825,7 @@ func (s *DescribeLoadBalancerAttributesOutput) SetLoadBalancerAttributes(v *Load
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeLoadBalancerPolicies.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPoliciesInput
|
||||
type DescribeLoadBalancerPoliciesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3765,6 +3859,7 @@ func (s *DescribeLoadBalancerPoliciesInput) SetPolicyNames(v []*string) *Describ
|
|||
}
|
||||
|
||||
// Contains the output of DescribeLoadBalancerPolicies.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPoliciesOutput
|
||||
type DescribeLoadBalancerPoliciesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3789,6 +3884,7 @@ func (s *DescribeLoadBalancerPoliciesOutput) SetPolicyDescriptions(v []*PolicyDe
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeLoadBalancerPolicyTypes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypesInput
|
||||
type DescribeLoadBalancerPolicyTypesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3814,6 +3910,7 @@ func (s *DescribeLoadBalancerPolicyTypesInput) SetPolicyTypeNames(v []*string) *
|
|||
}
|
||||
|
||||
// Contains the output of DescribeLoadBalancerPolicyTypes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypesOutput
|
||||
type DescribeLoadBalancerPolicyTypesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3838,6 +3935,7 @@ func (s *DescribeLoadBalancerPolicyTypesOutput) SetPolicyTypeDescriptions(v []*P
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeLoadBalancers.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccessPointsInput
|
||||
type DescribeLoadBalancersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3895,6 +3993,7 @@ func (s *DescribeLoadBalancersInput) SetPageSize(v int64) *DescribeLoadBalancers
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeLoadBalancers.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccessPointsOutput
|
||||
type DescribeLoadBalancersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3929,6 +4028,7 @@ func (s *DescribeLoadBalancersOutput) SetNextMarker(v string) *DescribeLoadBalan
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeTags.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTagsInput
|
||||
type DescribeTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3971,6 +4071,7 @@ func (s *DescribeTagsInput) SetLoadBalancerNames(v []*string) *DescribeTagsInput
|
|||
}
|
||||
|
||||
// Contains the output for DescribeTags.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTagsOutput
|
||||
type DescribeTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3995,6 +4096,7 @@ func (s *DescribeTagsOutput) SetTagDescriptions(v []*TagDescription) *DescribeTa
|
|||
}
|
||||
|
||||
// Contains the parameters for DetachLoadBalancerFromSubnets.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnetsInput
|
||||
type DetachLoadBalancerFromSubnetsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4048,6 +4150,7 @@ func (s *DetachLoadBalancerFromSubnetsInput) SetSubnets(v []*string) *DetachLoad
|
|||
}
|
||||
|
||||
// Contains the output of DetachLoadBalancerFromSubnets.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnetsOutput
|
||||
type DetachLoadBalancerFromSubnetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4072,6 +4175,7 @@ func (s *DetachLoadBalancerFromSubnetsOutput) SetSubnets(v []*string) *DetachLoa
|
|||
}
|
||||
|
||||
// Contains the parameters for DisableAvailabilityZonesForLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveAvailabilityZonesInput
|
||||
type DisableAvailabilityZonesForLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4125,6 +4229,7 @@ func (s *DisableAvailabilityZonesForLoadBalancerInput) SetLoadBalancerName(v str
|
|||
}
|
||||
|
||||
// Contains the output for DisableAvailabilityZonesForLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveAvailabilityZonesOutput
|
||||
type DisableAvailabilityZonesForLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4149,6 +4254,7 @@ func (s *DisableAvailabilityZonesForLoadBalancerOutput) SetAvailabilityZones(v [
|
|||
}
|
||||
|
||||
// Contains the parameters for EnableAvailabilityZonesForLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddAvailabilityZonesInput
|
||||
type EnableAvailabilityZonesForLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4202,6 +4308,7 @@ func (s *EnableAvailabilityZonesForLoadBalancerInput) SetLoadBalancerName(v stri
|
|||
}
|
||||
|
||||
// Contains the output of EnableAvailabilityZonesForLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddAvailabilityZonesOutput
|
||||
type EnableAvailabilityZonesForLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4226,6 +4333,7 @@ func (s *EnableAvailabilityZonesForLoadBalancerOutput) SetAvailabilityZones(v []
|
|||
}
|
||||
|
||||
// Information about a health check.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/HealthCheck
|
||||
type HealthCheck struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4356,6 +4464,7 @@ func (s *HealthCheck) SetUnhealthyThreshold(v int64) *HealthCheck {
|
|||
}
|
||||
|
||||
// The ID of an EC2 instance.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Instance
|
||||
type Instance struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4380,6 +4489,7 @@ func (s *Instance) SetInstanceId(v string) *Instance {
|
|||
}
|
||||
|
||||
// Information about the state of an EC2 instance.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/InstanceState
|
||||
type InstanceState struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4464,6 +4574,7 @@ func (s *InstanceState) SetState(v string) *InstanceState {
|
|||
}
|
||||
|
||||
// Information about a policy for duration-based session stickiness.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LBCookieStickinessPolicy
|
||||
type LBCookieStickinessPolicy struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4504,6 +4615,7 @@ func (s *LBCookieStickinessPolicy) SetPolicyName(v string) *LBCookieStickinessPo
|
|||
// For information about the protocols and the ports supported by Elastic Load
|
||||
// Balancing, see Listeners for Your Classic Load Balancer (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-listener-config.html)
|
||||
// in the Classic Load Balancers Guide.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Listener
|
||||
type Listener struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4605,6 +4717,7 @@ func (s *Listener) SetSSLCertificateId(v string) *Listener {
|
|||
}
|
||||
|
||||
// The policies enabled for a listener.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ListenerDescription
|
||||
type ListenerDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4642,6 +4755,7 @@ func (s *ListenerDescription) SetPolicyNames(v []*string) *ListenerDescription {
|
|||
}
|
||||
|
||||
// The attributes for a load balancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LoadBalancerAttributes
|
||||
type LoadBalancerAttributes struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4750,6 +4864,7 @@ func (s *LoadBalancerAttributes) SetCrossZoneLoadBalancing(v *CrossZoneLoadBalan
|
|||
}
|
||||
|
||||
// Information about a load balancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LoadBalancerDescription
|
||||
type LoadBalancerDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4922,6 +5037,7 @@ func (s *LoadBalancerDescription) SetVPCId(v string) *LoadBalancerDescription {
|
|||
}
|
||||
|
||||
// Contains the parameters for ModifyLoadBalancerAttributes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributesInput
|
||||
type ModifyLoadBalancerAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4980,6 +5096,7 @@ func (s *ModifyLoadBalancerAttributesInput) SetLoadBalancerName(v string) *Modif
|
|||
}
|
||||
|
||||
// Contains the output of ModifyLoadBalancerAttributes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributesOutput
|
||||
type ModifyLoadBalancerAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5013,6 +5130,7 @@ func (s *ModifyLoadBalancerAttributesOutput) SetLoadBalancerName(v string) *Modi
|
|||
}
|
||||
|
||||
// The policies for a load balancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Policies
|
||||
type Policies struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5055,6 +5173,7 @@ func (s *Policies) SetOtherPolicies(v []*string) *Policies {
|
|||
}
|
||||
|
||||
// Information about a policy attribute.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttribute
|
||||
type PolicyAttribute struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5088,6 +5207,7 @@ func (s *PolicyAttribute) SetAttributeValue(v string) *PolicyAttribute {
|
|||
}
|
||||
|
||||
// Information about a policy attribute.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttributeDescription
|
||||
type PolicyAttributeDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5121,6 +5241,7 @@ func (s *PolicyAttributeDescription) SetAttributeValue(v string) *PolicyAttribut
|
|||
}
|
||||
|
||||
// Information about a policy attribute type.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttributeTypeDescription
|
||||
type PolicyAttributeTypeDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5191,6 +5312,7 @@ func (s *PolicyAttributeTypeDescription) SetDescription(v string) *PolicyAttribu
|
|||
}
|
||||
|
||||
// Information about a policy.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyDescription
|
||||
type PolicyDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5233,6 +5355,7 @@ func (s *PolicyDescription) SetPolicyTypeName(v string) *PolicyDescription {
|
|||
}
|
||||
|
||||
// Information about a policy type.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyTypeDescription
|
||||
type PolicyTypeDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5276,6 +5399,7 @@ func (s *PolicyTypeDescription) SetPolicyTypeName(v string) *PolicyTypeDescripti
|
|||
}
|
||||
|
||||
// Contains the parameters for RegisterInstancesWithLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterEndPointsInput
|
||||
type RegisterInstancesWithLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5329,6 +5453,7 @@ func (s *RegisterInstancesWithLoadBalancerInput) SetLoadBalancerName(v string) *
|
|||
}
|
||||
|
||||
// Contains the output of RegisterInstancesWithLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterEndPointsOutput
|
||||
type RegisterInstancesWithLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5353,6 +5478,7 @@ func (s *RegisterInstancesWithLoadBalancerOutput) SetInstances(v []*Instance) *R
|
|||
}
|
||||
|
||||
// Contains the parameters for RemoveTags.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTagsInput
|
||||
type RemoveTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5420,6 +5546,7 @@ func (s *RemoveTagsInput) SetTags(v []*TagKeyOnly) *RemoveTagsInput {
|
|||
}
|
||||
|
||||
// Contains the output of RemoveTags.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTagsOutput
|
||||
type RemoveTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5435,6 +5562,7 @@ func (s RemoveTagsOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for SetLoadBalancerListenerSSLCertificate.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificateInput
|
||||
type SetLoadBalancerListenerSSLCertificateInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5502,6 +5630,7 @@ func (s *SetLoadBalancerListenerSSLCertificateInput) SetSSLCertificateId(v strin
|
|||
}
|
||||
|
||||
// Contains the output of SetLoadBalancerListenerSSLCertificate.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificateOutput
|
||||
type SetLoadBalancerListenerSSLCertificateOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5517,6 +5646,7 @@ func (s SetLoadBalancerListenerSSLCertificateOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for SetLoadBalancerPoliciesForBackendServer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServerInput
|
||||
type SetLoadBalancerPoliciesForBackendServerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5585,6 +5715,7 @@ func (s *SetLoadBalancerPoliciesForBackendServerInput) SetPolicyNames(v []*strin
|
|||
}
|
||||
|
||||
// Contains the output of SetLoadBalancerPoliciesForBackendServer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServerOutput
|
||||
type SetLoadBalancerPoliciesForBackendServerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5600,6 +5731,7 @@ func (s SetLoadBalancerPoliciesForBackendServerOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for SetLoadBalancePoliciesOfListener.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListenerInput
|
||||
type SetLoadBalancerPoliciesOfListenerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5669,6 +5801,7 @@ func (s *SetLoadBalancerPoliciesOfListenerInput) SetPolicyNames(v []*string) *Se
|
|||
}
|
||||
|
||||
// Contains the output of SetLoadBalancePoliciesOfListener.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListenerOutput
|
||||
type SetLoadBalancerPoliciesOfListenerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5684,6 +5817,7 @@ func (s SetLoadBalancerPoliciesOfListenerOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Information about a source security group.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SourceSecurityGroup
|
||||
type SourceSecurityGroup struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5717,6 +5851,7 @@ func (s *SourceSecurityGroup) SetOwnerAlias(v string) *SourceSecurityGroup {
|
|||
}
|
||||
|
||||
// Information about a tag.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Tag
|
||||
type Tag struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5768,6 +5903,7 @@ func (s *Tag) SetValue(v string) *Tag {
|
|||
}
|
||||
|
||||
// The tags associated with a load balancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/TagDescription
|
||||
type TagDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5801,6 +5937,7 @@ func (s *TagDescription) SetTags(v []*Tag) *TagDescription {
|
|||
}
|
||||
|
||||
// The key of a tag.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/TagKeyOnly
|
||||
type TagKeyOnly struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -38,8 +38,9 @@ import (
|
|||
// All Elastic Load Balancing operations are idempotent, which means that they
|
||||
// complete at most one time. If you repeat an operation, it succeeds with a
|
||||
// 200 OK response code.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01
|
||||
type ELB struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -50,8 +51,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "elasticloadbalancing"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "elasticloadbalancing" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ELB client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -64,7 +68,7 @@ const ServiceName = "elasticloadbalancing"
|
|||
// // Create a ELB client with additional configuration
|
||||
// svc := elb.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ELB {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@ const opAddTags = "AddTags"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTags
|
||||
func (c *ELBV2) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opAddTags,
|
||||
|
@ -85,6 +86,7 @@ func (c *ELBV2) AddTagsRequest(input *AddTagsInput) (req *request.Request, outpu
|
|||
// * TargetGroupNotFound
|
||||
// The specified target group does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTags
|
||||
func (c *ELBV2) AddTags(input *AddTagsInput) (*AddTagsOutput, error) {
|
||||
req, out := c.AddTagsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -117,6 +119,7 @@ const opCreateListener = "CreateListener"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListener
|
||||
func (c *ELBV2) CreateListenerRequest(input *CreateListenerInput) (req *request.Request, output *CreateListenerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateListener,
|
||||
|
@ -192,6 +195,7 @@ func (c *ELBV2) CreateListenerRequest(input *CreateListenerInput) (req *request.
|
|||
// You've reached the limit on the number of times a target can be registered
|
||||
// with a load balancer.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListener
|
||||
func (c *ELBV2) CreateListener(input *CreateListenerInput) (*CreateListenerOutput, error) {
|
||||
req, out := c.CreateListenerRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -224,6 +228,7 @@ const opCreateLoadBalancer = "CreateLoadBalancer"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancer
|
||||
func (c *ELBV2) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *request.Request, output *CreateLoadBalancerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateLoadBalancer,
|
||||
|
@ -295,6 +300,7 @@ func (c *ELBV2) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *
|
|||
// * DuplicateTagKeys
|
||||
// A tag key was specified more than once.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancer
|
||||
func (c *ELBV2) CreateLoadBalancer(input *CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error) {
|
||||
req, out := c.CreateLoadBalancerRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -327,6 +333,7 @@ const opCreateRule = "CreateRule"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRule
|
||||
func (c *ELBV2) CreateRuleRequest(input *CreateRuleInput) (req *request.Request, output *CreateRuleOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateRule,
|
||||
|
@ -392,6 +399,7 @@ func (c *ELBV2) CreateRuleRequest(input *CreateRuleInput) (req *request.Request,
|
|||
// You've reached the limit on the number of times a target can be registered
|
||||
// with a load balancer.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRule
|
||||
func (c *ELBV2) CreateRule(input *CreateRuleInput) (*CreateRuleOutput, error) {
|
||||
req, out := c.CreateRuleRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -424,6 +432,7 @@ const opCreateTargetGroup = "CreateTargetGroup"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroup
|
||||
func (c *ELBV2) CreateTargetGroupRequest(input *CreateTargetGroupInput) (req *request.Request, output *CreateTargetGroupOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateTargetGroup,
|
||||
|
@ -472,6 +481,7 @@ func (c *ELBV2) CreateTargetGroupRequest(input *CreateTargetGroupInput) (req *re
|
|||
// * TooManyTargetGroups
|
||||
// You've reached the limit on the number of target groups for your AWS account.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroup
|
||||
func (c *ELBV2) CreateTargetGroup(input *CreateTargetGroupInput) (*CreateTargetGroupOutput, error) {
|
||||
req, out := c.CreateTargetGroupRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -504,6 +514,7 @@ const opDeleteListener = "DeleteListener"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListener
|
||||
func (c *ELBV2) DeleteListenerRequest(input *DeleteListenerInput) (req *request.Request, output *DeleteListenerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteListener,
|
||||
|
@ -539,6 +550,7 @@ func (c *ELBV2) DeleteListenerRequest(input *DeleteListenerInput) (req *request.
|
|||
// * ListenerNotFound
|
||||
// The specified listener does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListener
|
||||
func (c *ELBV2) DeleteListener(input *DeleteListenerInput) (*DeleteListenerOutput, error) {
|
||||
req, out := c.DeleteListenerRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -571,6 +583,7 @@ const opDeleteLoadBalancer = "DeleteLoadBalancer"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancer
|
||||
func (c *ELBV2) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) (req *request.Request, output *DeleteLoadBalancerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteLoadBalancer,
|
||||
|
@ -614,6 +627,7 @@ func (c *ELBV2) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) (req *
|
|||
// * OperationNotPermitted
|
||||
// This operation is not allowed.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancer
|
||||
func (c *ELBV2) DeleteLoadBalancer(input *DeleteLoadBalancerInput) (*DeleteLoadBalancerOutput, error) {
|
||||
req, out := c.DeleteLoadBalancerRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -646,6 +660,7 @@ const opDeleteRule = "DeleteRule"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRule
|
||||
func (c *ELBV2) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, output *DeleteRuleOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteRule,
|
||||
|
@ -681,6 +696,7 @@ func (c *ELBV2) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request,
|
|||
// * OperationNotPermitted
|
||||
// This operation is not allowed.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRule
|
||||
func (c *ELBV2) DeleteRule(input *DeleteRuleInput) (*DeleteRuleOutput, error) {
|
||||
req, out := c.DeleteRuleRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -713,6 +729,7 @@ const opDeleteTargetGroup = "DeleteTargetGroup"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroup
|
||||
func (c *ELBV2) DeleteTargetGroupRequest(input *DeleteTargetGroupInput) (req *request.Request, output *DeleteTargetGroupOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteTargetGroup,
|
||||
|
@ -748,6 +765,7 @@ func (c *ELBV2) DeleteTargetGroupRequest(input *DeleteTargetGroupInput) (req *re
|
|||
// * ResourceInUse
|
||||
// A specified resource is in use.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroup
|
||||
func (c *ELBV2) DeleteTargetGroup(input *DeleteTargetGroupInput) (*DeleteTargetGroupOutput, error) {
|
||||
req, out := c.DeleteTargetGroupRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -780,6 +798,7 @@ const opDeregisterTargets = "DeregisterTargets"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargets
|
||||
func (c *ELBV2) DeregisterTargetsRequest(input *DeregisterTargetsInput) (req *request.Request, output *DeregisterTargetsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeregisterTargets,
|
||||
|
@ -818,6 +837,7 @@ func (c *ELBV2) DeregisterTargetsRequest(input *DeregisterTargetsInput) (req *re
|
|||
// The specified target does not exist or is not in the same VPC as the target
|
||||
// group.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargets
|
||||
func (c *ELBV2) DeregisterTargets(input *DeregisterTargetsInput) (*DeregisterTargetsOutput, error) {
|
||||
req, out := c.DeregisterTargetsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -850,6 +870,7 @@ const opDescribeListeners = "DescribeListeners"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListeners
|
||||
func (c *ELBV2) DescribeListenersRequest(input *DescribeListenersInput) (req *request.Request, output *DescribeListenersOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeListeners,
|
||||
|
@ -892,6 +913,7 @@ func (c *ELBV2) DescribeListenersRequest(input *DescribeListenersInput) (req *re
|
|||
// * LoadBalancerNotFound
|
||||
// The specified load balancer does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListeners
|
||||
func (c *ELBV2) DescribeListeners(input *DescribeListenersInput) (*DescribeListenersOutput, error) {
|
||||
req, out := c.DescribeListenersRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -949,6 +971,7 @@ const opDescribeLoadBalancerAttributes = "DescribeLoadBalancerAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributes
|
||||
func (c *ELBV2) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalancerAttributesInput) (req *request.Request, output *DescribeLoadBalancerAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeLoadBalancerAttributes,
|
||||
|
@ -981,6 +1004,7 @@ func (c *ELBV2) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalance
|
|||
// * LoadBalancerNotFound
|
||||
// The specified load balancer does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributes
|
||||
func (c *ELBV2) DescribeLoadBalancerAttributes(input *DescribeLoadBalancerAttributesInput) (*DescribeLoadBalancerAttributesOutput, error) {
|
||||
req, out := c.DescribeLoadBalancerAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1013,6 +1037,7 @@ const opDescribeLoadBalancers = "DescribeLoadBalancers"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancers
|
||||
func (c *ELBV2) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput) (req *request.Request, output *DescribeLoadBalancersOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeLoadBalancers,
|
||||
|
@ -1055,6 +1080,7 @@ func (c *ELBV2) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput)
|
|||
// * LoadBalancerNotFound
|
||||
// The specified load balancer does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancers
|
||||
func (c *ELBV2) DescribeLoadBalancers(input *DescribeLoadBalancersInput) (*DescribeLoadBalancersOutput, error) {
|
||||
req, out := c.DescribeLoadBalancersRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1112,6 +1138,7 @@ const opDescribeRules = "DescribeRules"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRules
|
||||
func (c *ELBV2) DescribeRulesRequest(input *DescribeRulesInput) (req *request.Request, output *DescribeRulesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeRules,
|
||||
|
@ -1148,6 +1175,7 @@ func (c *ELBV2) DescribeRulesRequest(input *DescribeRulesInput) (req *request.Re
|
|||
// * RuleNotFound
|
||||
// The specified rule does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRules
|
||||
func (c *ELBV2) DescribeRules(input *DescribeRulesInput) (*DescribeRulesOutput, error) {
|
||||
req, out := c.DescribeRulesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1180,6 +1208,7 @@ const opDescribeSSLPolicies = "DescribeSSLPolicies"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPolicies
|
||||
func (c *ELBV2) DescribeSSLPoliciesRequest(input *DescribeSSLPoliciesInput) (req *request.Request, output *DescribeSSLPoliciesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeSSLPolicies,
|
||||
|
@ -1214,6 +1243,7 @@ func (c *ELBV2) DescribeSSLPoliciesRequest(input *DescribeSSLPoliciesInput) (req
|
|||
// * SSLPolicyNotFound
|
||||
// The specified SSL policy does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPolicies
|
||||
func (c *ELBV2) DescribeSSLPolicies(input *DescribeSSLPoliciesInput) (*DescribeSSLPoliciesOutput, error) {
|
||||
req, out := c.DescribeSSLPoliciesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1246,6 +1276,7 @@ const opDescribeTags = "DescribeTags"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTags
|
||||
func (c *ELBV2) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeTags,
|
||||
|
@ -1287,6 +1318,7 @@ func (c *ELBV2) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Requ
|
|||
// * RuleNotFound
|
||||
// The specified rule does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTags
|
||||
func (c *ELBV2) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) {
|
||||
req, out := c.DescribeTagsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1319,6 +1351,7 @@ const opDescribeTargetGroupAttributes = "DescribeTargetGroupAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributes
|
||||
func (c *ELBV2) DescribeTargetGroupAttributesRequest(input *DescribeTargetGroupAttributesInput) (req *request.Request, output *DescribeTargetGroupAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeTargetGroupAttributes,
|
||||
|
@ -1351,6 +1384,7 @@ func (c *ELBV2) DescribeTargetGroupAttributesRequest(input *DescribeTargetGroupA
|
|||
// * TargetGroupNotFound
|
||||
// The specified target group does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributes
|
||||
func (c *ELBV2) DescribeTargetGroupAttributes(input *DescribeTargetGroupAttributesInput) (*DescribeTargetGroupAttributesOutput, error) {
|
||||
req, out := c.DescribeTargetGroupAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1383,6 +1417,7 @@ const opDescribeTargetGroups = "DescribeTargetGroups"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroups
|
||||
func (c *ELBV2) DescribeTargetGroupsRequest(input *DescribeTargetGroupsInput) (req *request.Request, output *DescribeTargetGroupsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeTargetGroups,
|
||||
|
@ -1430,6 +1465,7 @@ func (c *ELBV2) DescribeTargetGroupsRequest(input *DescribeTargetGroupsInput) (r
|
|||
// * TargetGroupNotFound
|
||||
// The specified target group does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroups
|
||||
func (c *ELBV2) DescribeTargetGroups(input *DescribeTargetGroupsInput) (*DescribeTargetGroupsOutput, error) {
|
||||
req, out := c.DescribeTargetGroupsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1487,6 +1523,7 @@ const opDescribeTargetHealth = "DescribeTargetHealth"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealth
|
||||
func (c *ELBV2) DescribeTargetHealthRequest(input *DescribeTargetHealthInput) (req *request.Request, output *DescribeTargetHealthOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeTargetHealth,
|
||||
|
@ -1527,6 +1564,7 @@ func (c *ELBV2) DescribeTargetHealthRequest(input *DescribeTargetHealthInput) (r
|
|||
// The health of the specified targets could not be retrieved due to an internal
|
||||
// error.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealth
|
||||
func (c *ELBV2) DescribeTargetHealth(input *DescribeTargetHealthInput) (*DescribeTargetHealthOutput, error) {
|
||||
req, out := c.DescribeTargetHealthRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1559,6 +1597,7 @@ const opModifyListener = "ModifyListener"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListener
|
||||
func (c *ELBV2) ModifyListenerRequest(input *ModifyListenerInput) (req *request.Request, output *ModifyListenerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opModifyListener,
|
||||
|
@ -1630,6 +1669,7 @@ func (c *ELBV2) ModifyListenerRequest(input *ModifyListenerInput) (req *request.
|
|||
// You've reached the limit on the number of times a target can be registered
|
||||
// with a load balancer.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListener
|
||||
func (c *ELBV2) ModifyListener(input *ModifyListenerInput) (*ModifyListenerOutput, error) {
|
||||
req, out := c.ModifyListenerRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1662,6 +1702,7 @@ const opModifyLoadBalancerAttributes = "ModifyLoadBalancerAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributes
|
||||
func (c *ELBV2) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAttributesInput) (req *request.Request, output *ModifyLoadBalancerAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opModifyLoadBalancerAttributes,
|
||||
|
@ -1701,6 +1742,7 @@ func (c *ELBV2) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAtt
|
|||
// * InvalidConfigurationRequest
|
||||
// The requested configuration is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributes
|
||||
func (c *ELBV2) ModifyLoadBalancerAttributes(input *ModifyLoadBalancerAttributesInput) (*ModifyLoadBalancerAttributesOutput, error) {
|
||||
req, out := c.ModifyLoadBalancerAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1733,6 +1775,7 @@ const opModifyRule = "ModifyRule"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRule
|
||||
func (c *ELBV2) ModifyRuleRequest(input *ModifyRuleInput) (req *request.Request, output *ModifyRuleOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opModifyRule,
|
||||
|
@ -1779,6 +1822,7 @@ func (c *ELBV2) ModifyRuleRequest(input *ModifyRuleInput) (req *request.Request,
|
|||
// You've reached the limit on the number of times a target can be registered
|
||||
// with a load balancer.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRule
|
||||
func (c *ELBV2) ModifyRule(input *ModifyRuleInput) (*ModifyRuleOutput, error) {
|
||||
req, out := c.ModifyRuleRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1811,6 +1855,7 @@ const opModifyTargetGroup = "ModifyTargetGroup"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroup
|
||||
func (c *ELBV2) ModifyTargetGroupRequest(input *ModifyTargetGroupInput) (req *request.Request, output *ModifyTargetGroupOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opModifyTargetGroup,
|
||||
|
@ -1846,6 +1891,7 @@ func (c *ELBV2) ModifyTargetGroupRequest(input *ModifyTargetGroupInput) (req *re
|
|||
// * TargetGroupNotFound
|
||||
// The specified target group does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroup
|
||||
func (c *ELBV2) ModifyTargetGroup(input *ModifyTargetGroupInput) (*ModifyTargetGroupOutput, error) {
|
||||
req, out := c.ModifyTargetGroupRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1878,6 +1924,7 @@ const opModifyTargetGroupAttributes = "ModifyTargetGroupAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributes
|
||||
func (c *ELBV2) ModifyTargetGroupAttributesRequest(input *ModifyTargetGroupAttributesInput) (req *request.Request, output *ModifyTargetGroupAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opModifyTargetGroupAttributes,
|
||||
|
@ -1910,6 +1957,7 @@ func (c *ELBV2) ModifyTargetGroupAttributesRequest(input *ModifyTargetGroupAttri
|
|||
// * TargetGroupNotFound
|
||||
// The specified target group does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributes
|
||||
func (c *ELBV2) ModifyTargetGroupAttributes(input *ModifyTargetGroupAttributesInput) (*ModifyTargetGroupAttributesOutput, error) {
|
||||
req, out := c.ModifyTargetGroupAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1942,6 +1990,7 @@ const opRegisterTargets = "RegisterTargets"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargets
|
||||
func (c *ELBV2) RegisterTargetsRequest(input *RegisterTargetsInput) (req *request.Request, output *RegisterTargetsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opRegisterTargets,
|
||||
|
@ -1995,6 +2044,7 @@ func (c *ELBV2) RegisterTargetsRequest(input *RegisterTargetsInput) (req *reques
|
|||
// You've reached the limit on the number of times a target can be registered
|
||||
// with a load balancer.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargets
|
||||
func (c *ELBV2) RegisterTargets(input *RegisterTargetsInput) (*RegisterTargetsOutput, error) {
|
||||
req, out := c.RegisterTargetsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2027,6 +2077,7 @@ const opRemoveTags = "RemoveTags"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTags
|
||||
func (c *ELBV2) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opRemoveTags,
|
||||
|
@ -2073,6 +2124,7 @@ func (c *ELBV2) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request,
|
|||
// * TooManyTags
|
||||
// You've reached the limit on the number of tags per load balancer.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTags
|
||||
func (c *ELBV2) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) {
|
||||
req, out := c.RemoveTagsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2105,6 +2157,7 @@ const opSetRulePriorities = "SetRulePriorities"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePriorities
|
||||
func (c *ELBV2) SetRulePrioritiesRequest(input *SetRulePrioritiesInput) (req *request.Request, output *SetRulePrioritiesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSetRulePriorities,
|
||||
|
@ -2147,6 +2200,7 @@ func (c *ELBV2) SetRulePrioritiesRequest(input *SetRulePrioritiesInput) (req *re
|
|||
// * OperationNotPermitted
|
||||
// This operation is not allowed.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePriorities
|
||||
func (c *ELBV2) SetRulePriorities(input *SetRulePrioritiesInput) (*SetRulePrioritiesOutput, error) {
|
||||
req, out := c.SetRulePrioritiesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2179,6 +2233,7 @@ const opSetSecurityGroups = "SetSecurityGroups"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroups
|
||||
func (c *ELBV2) SetSecurityGroupsRequest(input *SetSecurityGroupsInput) (req *request.Request, output *SetSecurityGroupsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSetSecurityGroups,
|
||||
|
@ -2219,6 +2274,7 @@ func (c *ELBV2) SetSecurityGroupsRequest(input *SetSecurityGroupsInput) (req *re
|
|||
// * InvalidSecurityGroup
|
||||
// The specified security group does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroups
|
||||
func (c *ELBV2) SetSecurityGroups(input *SetSecurityGroupsInput) (*SetSecurityGroupsOutput, error) {
|
||||
req, out := c.SetSecurityGroupsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2251,6 +2307,7 @@ const opSetSubnets = "SetSubnets"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets
|
||||
func (c *ELBV2) SetSubnetsRequest(input *SetSubnetsInput) (req *request.Request, output *SetSubnetsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSetSubnets,
|
||||
|
@ -2293,6 +2350,7 @@ func (c *ELBV2) SetSubnetsRequest(input *SetSubnetsInput) (req *request.Request,
|
|||
// * InvalidSubnet
|
||||
// The specified subnet is out of available addresses.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets
|
||||
func (c *ELBV2) SetSubnets(input *SetSubnetsInput) (*SetSubnetsOutput, error) {
|
||||
req, out := c.SetSubnetsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2300,6 +2358,7 @@ func (c *ELBV2) SetSubnets(input *SetSubnetsInput) (*SetSubnetsOutput, error) {
|
|||
}
|
||||
|
||||
// Information about an action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Action
|
||||
type Action struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2353,6 +2412,7 @@ func (s *Action) SetType(v string) *Action {
|
|||
}
|
||||
|
||||
// Contains the parameters for AddTags.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTagsInput
|
||||
type AddTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2419,6 +2479,7 @@ func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput {
|
|||
}
|
||||
|
||||
// Contains the output of AddTags.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTagsOutput
|
||||
type AddTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2434,6 +2495,7 @@ func (s AddTagsOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Information about an Availability Zone.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AvailabilityZone
|
||||
type AvailabilityZone struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2467,6 +2529,7 @@ func (s *AvailabilityZone) SetZoneName(v string) *AvailabilityZone {
|
|||
}
|
||||
|
||||
// Information about an SSL server certificate deployed on a load balancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Certificate
|
||||
type Certificate struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2491,6 +2554,7 @@ func (s *Certificate) SetCertificateArn(v string) *Certificate {
|
|||
}
|
||||
|
||||
// Information about a cipher used in a policy.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Cipher
|
||||
type Cipher struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2524,6 +2588,7 @@ func (s *Cipher) SetPriority(v int64) *Cipher {
|
|||
}
|
||||
|
||||
// Contains the parameters for CreateListener.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListenerInput
|
||||
type CreateListenerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2638,6 +2703,7 @@ func (s *CreateListenerInput) SetSslPolicy(v string) *CreateListenerInput {
|
|||
}
|
||||
|
||||
// Contains the output of CreateListener.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListenerOutput
|
||||
type CreateListenerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2662,6 +2728,7 @@ func (s *CreateListenerOutput) SetListeners(v []*Listener) *CreateListenerOutput
|
|||
}
|
||||
|
||||
// Contains the parameters for CreateLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancerInput
|
||||
type CreateLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2771,6 +2838,7 @@ func (s *CreateLoadBalancerInput) SetTags(v []*Tag) *CreateLoadBalancerInput {
|
|||
}
|
||||
|
||||
// Contains the output of CreateLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancerOutput
|
||||
type CreateLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2795,6 +2863,7 @@ func (s *CreateLoadBalancerOutput) SetLoadBalancers(v []*LoadBalancer) *CreateLo
|
|||
}
|
||||
|
||||
// Contains the parameters for CreateRule.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRuleInput
|
||||
type CreateRuleInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2902,6 +2971,7 @@ func (s *CreateRuleInput) SetPriority(v int64) *CreateRuleInput {
|
|||
}
|
||||
|
||||
// Contains the output of CreateRule.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRuleOutput
|
||||
type CreateRuleOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2926,6 +2996,7 @@ func (s *CreateRuleOutput) SetRules(v []*Rule) *CreateRuleOutput {
|
|||
}
|
||||
|
||||
// Contains the parameters for CreateTargetGroup.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroupInput
|
||||
type CreateTargetGroupInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3112,6 +3183,7 @@ func (s *CreateTargetGroupInput) SetVpcId(v string) *CreateTargetGroupInput {
|
|||
}
|
||||
|
||||
// Contains the output of CreateTargetGroup.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroupOutput
|
||||
type CreateTargetGroupOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3136,6 +3208,7 @@ func (s *CreateTargetGroupOutput) SetTargetGroups(v []*TargetGroup) *CreateTarge
|
|||
}
|
||||
|
||||
// Contains the parameters for DeleteListener.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListenerInput
|
||||
type DeleteListenerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3175,6 +3248,7 @@ func (s *DeleteListenerInput) SetListenerArn(v string) *DeleteListenerInput {
|
|||
}
|
||||
|
||||
// Contains the output of DeleteListener.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListenerOutput
|
||||
type DeleteListenerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3190,6 +3264,7 @@ func (s DeleteListenerOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for DeleteLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancerInput
|
||||
type DeleteLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3229,6 +3304,7 @@ func (s *DeleteLoadBalancerInput) SetLoadBalancerArn(v string) *DeleteLoadBalanc
|
|||
}
|
||||
|
||||
// Contains the output of DeleteLoadBalancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancerOutput
|
||||
type DeleteLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3244,6 +3320,7 @@ func (s DeleteLoadBalancerOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for DeleteRule.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRuleInput
|
||||
type DeleteRuleInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3283,6 +3360,7 @@ func (s *DeleteRuleInput) SetRuleArn(v string) *DeleteRuleInput {
|
|||
}
|
||||
|
||||
// Contains the output of DeleteRule.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRuleOutput
|
||||
type DeleteRuleOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3298,6 +3376,7 @@ func (s DeleteRuleOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for DeleteTargetGroup.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroupInput
|
||||
type DeleteTargetGroupInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3337,6 +3416,7 @@ func (s *DeleteTargetGroupInput) SetTargetGroupArn(v string) *DeleteTargetGroupI
|
|||
}
|
||||
|
||||
// Contains the output of DeleteTargetGroup.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroupOutput
|
||||
type DeleteTargetGroupOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3352,6 +3432,7 @@ func (s DeleteTargetGroupOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for DeregisterTargets.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargetsInput
|
||||
type DeregisterTargetsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3416,6 +3497,7 @@ func (s *DeregisterTargetsInput) SetTargets(v []*TargetDescription) *DeregisterT
|
|||
}
|
||||
|
||||
// Contains the output of DeregisterTargets.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargetsOutput
|
||||
type DeregisterTargetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3431,6 +3513,7 @@ func (s DeregisterTargetsOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeListeners.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenersInput
|
||||
type DescribeListenersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3496,6 +3579,7 @@ func (s *DescribeListenersInput) SetPageSize(v int64) *DescribeListenersInput {
|
|||
}
|
||||
|
||||
// Contains the output of DescribeListeners.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenersOutput
|
||||
type DescribeListenersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3530,6 +3614,7 @@ func (s *DescribeListenersOutput) SetNextMarker(v string) *DescribeListenersOutp
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeLoadBalancerAttributes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributesInput
|
||||
type DescribeLoadBalancerAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3569,6 +3654,7 @@ func (s *DescribeLoadBalancerAttributesInput) SetLoadBalancerArn(v string) *Desc
|
|||
}
|
||||
|
||||
// Contains the output of DescribeLoadBalancerAttributes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributesOutput
|
||||
type DescribeLoadBalancerAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3593,6 +3679,7 @@ func (s *DescribeLoadBalancerAttributesOutput) SetAttributes(v []*LoadBalancerAt
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeLoadBalancers.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancersInput
|
||||
type DescribeLoadBalancersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3658,6 +3745,7 @@ func (s *DescribeLoadBalancersInput) SetPageSize(v int64) *DescribeLoadBalancers
|
|||
}
|
||||
|
||||
// Contains the output of DescribeLoadBalancers.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancersOutput
|
||||
type DescribeLoadBalancersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3692,6 +3780,7 @@ func (s *DescribeLoadBalancersOutput) SetNextMarker(v string) *DescribeLoadBalan
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeRules.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRulesInput
|
||||
type DescribeRulesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3725,6 +3814,7 @@ func (s *DescribeRulesInput) SetRuleArns(v []*string) *DescribeRulesInput {
|
|||
}
|
||||
|
||||
// Contains the output of DescribeRules.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRulesOutput
|
||||
type DescribeRulesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3749,6 +3839,7 @@ func (s *DescribeRulesOutput) SetRules(v []*Rule) *DescribeRulesOutput {
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeSSLPolicies.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPoliciesInput
|
||||
type DescribeSSLPoliciesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3805,6 +3896,7 @@ func (s *DescribeSSLPoliciesInput) SetPageSize(v int64) *DescribeSSLPoliciesInpu
|
|||
}
|
||||
|
||||
// Contains the output of DescribeSSLPolicies.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPoliciesOutput
|
||||
type DescribeSSLPoliciesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3839,6 +3931,7 @@ func (s *DescribeSSLPoliciesOutput) SetSslPolicies(v []*SslPolicy) *DescribeSSLP
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeTags.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTagsInput
|
||||
type DescribeTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3878,6 +3971,7 @@ func (s *DescribeTagsInput) SetResourceArns(v []*string) *DescribeTagsInput {
|
|||
}
|
||||
|
||||
// Contains the output of DescribeTags.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTagsOutput
|
||||
type DescribeTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3902,6 +3996,7 @@ func (s *DescribeTagsOutput) SetTagDescriptions(v []*TagDescription) *DescribeTa
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeTargetGroupAttributes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributesInput
|
||||
type DescribeTargetGroupAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3941,6 +4036,7 @@ func (s *DescribeTargetGroupAttributesInput) SetTargetGroupArn(v string) *Descri
|
|||
}
|
||||
|
||||
// Contains the output of DescribeTargetGroupAttributes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributesOutput
|
||||
type DescribeTargetGroupAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3965,6 +4061,7 @@ func (s *DescribeTargetGroupAttributesOutput) SetAttributes(v []*TargetGroupAttr
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeTargetGroups.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupsInput
|
||||
type DescribeTargetGroupsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4039,6 +4136,7 @@ func (s *DescribeTargetGroupsInput) SetTargetGroupArns(v []*string) *DescribeTar
|
|||
}
|
||||
|
||||
// Contains the output of DescribeTargetGroups.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupsOutput
|
||||
type DescribeTargetGroupsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4073,6 +4171,7 @@ func (s *DescribeTargetGroupsOutput) SetTargetGroups(v []*TargetGroup) *Describe
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeTargetHealth.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealthInput
|
||||
type DescribeTargetHealthInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4131,6 +4230,7 @@ func (s *DescribeTargetHealthInput) SetTargets(v []*TargetDescription) *Describe
|
|||
}
|
||||
|
||||
// Contains the output of DescribeTargetHealth.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealthOutput
|
||||
type DescribeTargetHealthOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4155,6 +4255,7 @@ func (s *DescribeTargetHealthOutput) SetTargetHealthDescriptions(v []*TargetHeal
|
|||
}
|
||||
|
||||
// Information about a listener.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Listener
|
||||
type Listener struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4235,6 +4336,7 @@ func (s *Listener) SetSslPolicy(v string) *Listener {
|
|||
}
|
||||
|
||||
// Information about a load balancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancer
|
||||
type LoadBalancer struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4357,6 +4459,7 @@ func (s *LoadBalancer) SetVpcId(v string) *LoadBalancer {
|
|||
}
|
||||
|
||||
// Information about a load balancer attribute.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancerAttribute
|
||||
type LoadBalancerAttribute struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4408,6 +4511,7 @@ func (s *LoadBalancerAttribute) SetValue(v string) *LoadBalancerAttribute {
|
|||
}
|
||||
|
||||
// Information about the state of the load balancer.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancerState
|
||||
type LoadBalancerState struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4443,6 +4547,7 @@ func (s *LoadBalancerState) SetReason(v string) *LoadBalancerState {
|
|||
}
|
||||
|
||||
// Information to use when checking for a successful response from a target.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Matcher
|
||||
type Matcher struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4483,6 +4588,7 @@ func (s *Matcher) SetHttpCode(v string) *Matcher {
|
|||
}
|
||||
|
||||
// Contains the parameters for ModifyListener.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListenerInput
|
||||
type ModifyListenerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4580,6 +4686,7 @@ func (s *ModifyListenerInput) SetSslPolicy(v string) *ModifyListenerInput {
|
|||
}
|
||||
|
||||
// Contains the output of ModifyListener.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListenerOutput
|
||||
type ModifyListenerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4604,6 +4711,7 @@ func (s *ModifyListenerOutput) SetListeners(v []*Listener) *ModifyListenerOutput
|
|||
}
|
||||
|
||||
// Contains the parameters for ModifyLoadBalancerAttributes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributesInput
|
||||
type ModifyLoadBalancerAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4657,6 +4765,7 @@ func (s *ModifyLoadBalancerAttributesInput) SetLoadBalancerArn(v string) *Modify
|
|||
}
|
||||
|
||||
// Contains the output of ModifyLoadBalancerAttributes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributesOutput
|
||||
type ModifyLoadBalancerAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4681,6 +4790,7 @@ func (s *ModifyLoadBalancerAttributesOutput) SetAttributes(v []*LoadBalancerAttr
|
|||
}
|
||||
|
||||
// Contains the parameters for ModifyRules.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRuleInput
|
||||
type ModifyRuleInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4748,6 +4858,7 @@ func (s *ModifyRuleInput) SetRuleArn(v string) *ModifyRuleInput {
|
|||
}
|
||||
|
||||
// Contains the output of ModifyRules.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRuleOutput
|
||||
type ModifyRuleOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4772,6 +4883,7 @@ func (s *ModifyRuleOutput) SetRules(v []*Rule) *ModifyRuleOutput {
|
|||
}
|
||||
|
||||
// Contains the parameters for ModifyTargetGroupAttributes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributesInput
|
||||
type ModifyTargetGroupAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4825,6 +4937,7 @@ func (s *ModifyTargetGroupAttributesInput) SetTargetGroupArn(v string) *ModifyTa
|
|||
}
|
||||
|
||||
// Contains the output of ModifyTargetGroupAttributes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributesOutput
|
||||
type ModifyTargetGroupAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4849,6 +4962,7 @@ func (s *ModifyTargetGroupAttributesOutput) SetAttributes(v []*TargetGroupAttrib
|
|||
}
|
||||
|
||||
// Contains the parameters for ModifyTargetGroup.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupInput
|
||||
type ModifyTargetGroupInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4984,6 +5098,7 @@ func (s *ModifyTargetGroupInput) SetUnhealthyThresholdCount(v int64) *ModifyTarg
|
|||
}
|
||||
|
||||
// Contains the output of ModifyTargetGroup.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupOutput
|
||||
type ModifyTargetGroupOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5008,6 +5123,7 @@ func (s *ModifyTargetGroupOutput) SetTargetGroups(v []*TargetGroup) *ModifyTarge
|
|||
}
|
||||
|
||||
// Contains the parameters for RegisterTargets.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargetsInput
|
||||
type RegisterTargetsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5073,6 +5189,7 @@ func (s *RegisterTargetsInput) SetTargets(v []*TargetDescription) *RegisterTarge
|
|||
}
|
||||
|
||||
// Contains the output of RegisterTargets.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargetsOutput
|
||||
type RegisterTargetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5088,6 +5205,7 @@ func (s RegisterTargetsOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for RemoveTags.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTagsInput
|
||||
type RemoveTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5141,6 +5259,7 @@ func (s *RemoveTagsInput) SetTagKeys(v []*string) *RemoveTagsInput {
|
|||
}
|
||||
|
||||
// Contains the output of RemoveTags.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTagsOutput
|
||||
type RemoveTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5156,6 +5275,7 @@ func (s RemoveTagsOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Information about a rule.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Rule
|
||||
type Rule struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5216,6 +5336,7 @@ func (s *Rule) SetRuleArn(v string) *Rule {
|
|||
}
|
||||
|
||||
// Information about a condition for a rule.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RuleCondition
|
||||
type RuleCondition struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5262,6 +5383,7 @@ func (s *RuleCondition) SetValues(v []*string) *RuleCondition {
|
|||
}
|
||||
|
||||
// Information about the priorities for the rules for a listener.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RulePriorityPair
|
||||
type RulePriorityPair struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5308,6 +5430,7 @@ func (s *RulePriorityPair) SetRuleArn(v string) *RulePriorityPair {
|
|||
}
|
||||
|
||||
// Contains the parameters for SetRulePriorities.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePrioritiesInput
|
||||
type SetRulePrioritiesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5357,6 +5480,7 @@ func (s *SetRulePrioritiesInput) SetRulePriorities(v []*RulePriorityPair) *SetRu
|
|||
}
|
||||
|
||||
// Contains the output of SetRulePriorities.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePrioritiesOutput
|
||||
type SetRulePrioritiesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5381,6 +5505,7 @@ func (s *SetRulePrioritiesOutput) SetRules(v []*Rule) *SetRulePrioritiesOutput {
|
|||
}
|
||||
|
||||
// Contains the parameters for SetSecurityGroups.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroupsInput
|
||||
type SetSecurityGroupsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5434,6 +5559,7 @@ func (s *SetSecurityGroupsInput) SetSecurityGroups(v []*string) *SetSecurityGrou
|
|||
}
|
||||
|
||||
// Contains the output of SetSecurityGroups.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroupsOutput
|
||||
type SetSecurityGroupsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5458,6 +5584,7 @@ func (s *SetSecurityGroupsOutput) SetSecurityGroupIds(v []*string) *SetSecurityG
|
|||
}
|
||||
|
||||
// Contains the parameters for SetSubnets.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsInput
|
||||
type SetSubnetsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5512,6 +5639,7 @@ func (s *SetSubnetsInput) SetSubnets(v []*string) *SetSubnetsInput {
|
|||
}
|
||||
|
||||
// Contains the output of SetSubnets.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsOutput
|
||||
type SetSubnetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5536,6 +5664,7 @@ func (s *SetSubnetsOutput) SetAvailabilityZones(v []*AvailabilityZone) *SetSubne
|
|||
}
|
||||
|
||||
// Information about a policy used for SSL negotiation.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SslPolicy
|
||||
type SslPolicy struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5578,6 +5707,7 @@ func (s *SslPolicy) SetSslProtocols(v []*string) *SslPolicy {
|
|||
}
|
||||
|
||||
// Information about a tag.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Tag
|
||||
type Tag struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5629,6 +5759,7 @@ func (s *Tag) SetValue(v string) *Tag {
|
|||
}
|
||||
|
||||
// The tags associated with a resource.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TagDescription
|
||||
type TagDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5662,6 +5793,7 @@ func (s *TagDescription) SetTags(v []*Tag) *TagDescription {
|
|||
}
|
||||
|
||||
// Information about a target.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetDescription
|
||||
type TargetDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5713,6 +5845,7 @@ func (s *TargetDescription) SetPort(v int64) *TargetDescription {
|
|||
}
|
||||
|
||||
// Information about a target group.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetGroup
|
||||
type TargetGroup struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5859,6 +5992,7 @@ func (s *TargetGroup) SetVpcId(v string) *TargetGroup {
|
|||
}
|
||||
|
||||
// Information about a target group attribute.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetGroupAttribute
|
||||
type TargetGroupAttribute struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5909,6 +6043,7 @@ func (s *TargetGroupAttribute) SetValue(v string) *TargetGroupAttribute {
|
|||
}
|
||||
|
||||
// Information about the current health of a target.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetHealth
|
||||
type TargetHealth struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5992,6 +6127,7 @@ func (s *TargetHealth) SetState(v string) *TargetHealth {
|
|||
}
|
||||
|
||||
// Information about the health of a target.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetHealthDescription
|
||||
type TargetHealthDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -57,8 +57,9 @@ import (
|
|||
//
|
||||
// All Elastic Load Balancing operations are idempotent, which means that they
|
||||
// complete at most one time. If you repeat an operation, it succeeds.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01
|
||||
type ELBV2 struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -69,8 +70,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "elasticloadbalancing"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "elasticloadbalancing" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ELBV2 client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -83,7 +87,7 @@ const ServiceName = "elasticloadbalancing"
|
|||
// // Create a ELBV2 client with additional configuration
|
||||
// svc := elbv2.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ELBV2 {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -15,8 +15,9 @@ import (
|
|||
// data efficiently. Amazon EMR uses Hadoop processing combined with several
|
||||
// AWS products to do tasks such as web indexing, data mining, log file analysis,
|
||||
// machine learning, scientific simulation, and data warehousing.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31
|
||||
type EMR struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -27,8 +28,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "elasticmapreduce"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "elasticmapreduce" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the EMR client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -41,7 +45,7 @@ const ServiceName = "elasticmapreduce"
|
|||
// // Create a EMR client with additional configuration
|
||||
// svc := emr.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *EMR {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -14,8 +14,9 @@ import (
|
|||
// Amazon Kinesis Firehose is a fully-managed service that delivers real-time
|
||||
// streaming data to destinations such as Amazon Simple Storage Service (Amazon
|
||||
// S3), Amazon Elasticsearch Service (Amazon ES), and Amazon Redshift.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04
|
||||
type Firehose struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -26,8 +27,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "firehose"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "firehose" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the Firehose client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -40,7 +44,7 @@ const ServiceName = "firehose"
|
|||
// // Create a Firehose client with additional configuration
|
||||
// svc := firehose.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Firehose {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,6 @@ const opAbortMultipartUpload = "AbortMultipartUpload"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) AbortMultipartUploadRequest(input *AbortMultipartUploadInput) (req *request.Request, output *AbortMultipartUploadOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opAbortMultipartUpload,
|
||||
|
@ -132,7 +131,6 @@ const opAbortVaultLock = "AbortVaultLock"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) AbortVaultLockRequest(input *AbortVaultLockInput) (req *request.Request, output *AbortVaultLockOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opAbortVaultLock,
|
||||
|
@ -223,7 +221,6 @@ const opAddTagsToVault = "AddTagsToVault"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) AddTagsToVaultRequest(input *AddTagsToVaultInput) (req *request.Request, output *AddTagsToVaultOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opAddTagsToVault,
|
||||
|
@ -307,7 +304,6 @@ const opCompleteMultipartUpload = "CompleteMultipartUpload"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) CompleteMultipartUploadRequest(input *CompleteMultipartUploadInput) (req *request.Request, output *ArchiveCreationOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCompleteMultipartUpload,
|
||||
|
@ -424,7 +420,6 @@ const opCompleteVaultLock = "CompleteVaultLock"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) CompleteVaultLockRequest(input *CompleteVaultLockInput) (req *request.Request, output *CompleteVaultLockOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCompleteVaultLock,
|
||||
|
@ -514,7 +509,6 @@ const opCreateVault = "CreateVault"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) CreateVaultRequest(input *CreateVaultInput) (req *request.Request, output *CreateVaultOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateVault,
|
||||
|
@ -610,7 +604,6 @@ const opDeleteArchive = "DeleteArchive"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) DeleteArchiveRequest(input *DeleteArchiveInput) (req *request.Request, output *DeleteArchiveOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteArchive,
|
||||
|
@ -710,7 +703,6 @@ const opDeleteVault = "DeleteVault"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) DeleteVaultRequest(input *DeleteVaultInput) (req *request.Request, output *DeleteVaultOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteVault,
|
||||
|
@ -808,7 +800,6 @@ const opDeleteVaultAccessPolicy = "DeleteVaultAccessPolicy"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) DeleteVaultAccessPolicyRequest(input *DeleteVaultAccessPolicyInput) (req *request.Request, output *DeleteVaultAccessPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteVaultAccessPolicy,
|
||||
|
@ -893,7 +884,6 @@ const opDeleteVaultNotifications = "DeleteVaultNotifications"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) DeleteVaultNotificationsRequest(input *DeleteVaultNotificationsInput) (req *request.Request, output *DeleteVaultNotificationsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteVaultNotifications,
|
||||
|
@ -983,7 +973,6 @@ const opDescribeJob = "DescribeJob"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) DescribeJobRequest(input *DescribeJobInput) (req *request.Request, output *JobDescription) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeJob,
|
||||
|
@ -1078,7 +1067,6 @@ const opDescribeVault = "DescribeVault"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) DescribeVaultRequest(input *DescribeVaultInput) (req *request.Request, output *DescribeVaultOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeVault,
|
||||
|
@ -1171,7 +1159,6 @@ const opGetDataRetrievalPolicy = "GetDataRetrievalPolicy"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) GetDataRetrievalPolicyRequest(input *GetDataRetrievalPolicyInput) (req *request.Request, output *GetDataRetrievalPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetDataRetrievalPolicy,
|
||||
|
@ -1243,7 +1230,6 @@ const opGetJobOutput = "GetJobOutput"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) GetJobOutputRequest(input *GetJobOutputInput) (req *request.Request, output *GetJobOutputOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetJobOutput,
|
||||
|
@ -1360,7 +1346,6 @@ const opGetVaultAccessPolicy = "GetVaultAccessPolicy"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) GetVaultAccessPolicyRequest(input *GetVaultAccessPolicyInput) (req *request.Request, output *GetVaultAccessPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetVaultAccessPolicy,
|
||||
|
@ -1439,7 +1424,6 @@ const opGetVaultLock = "GetVaultLock"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) GetVaultLockRequest(input *GetVaultLockInput) (req *request.Request, output *GetVaultLockOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetVaultLock,
|
||||
|
@ -1532,7 +1516,6 @@ const opGetVaultNotifications = "GetVaultNotifications"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) GetVaultNotificationsRequest(input *GetVaultNotificationsInput) (req *request.Request, output *GetVaultNotificationsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetVaultNotifications,
|
||||
|
@ -1624,7 +1607,6 @@ const opInitiateJob = "InitiateJob"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) InitiateJobRequest(input *InitiateJobInput) (req *request.Request, output *InitiateJobOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opInitiateJob,
|
||||
|
@ -1842,7 +1824,6 @@ const opInitiateMultipartUpload = "InitiateMultipartUpload"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) InitiateMultipartUploadRequest(input *InitiateMultipartUploadInput) (req *request.Request, output *InitiateMultipartUploadOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opInitiateMultipartUpload,
|
||||
|
@ -1950,7 +1931,6 @@ const opInitiateVaultLock = "InitiateVaultLock"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) InitiateVaultLockRequest(input *InitiateVaultLockInput) (req *request.Request, output *InitiateVaultLockOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opInitiateVaultLock,
|
||||
|
@ -2052,7 +2032,6 @@ const opListJobs = "ListJobs"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListJobs,
|
||||
|
@ -2196,7 +2175,6 @@ const opListMultipartUploads = "ListMultipartUploads"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) ListMultipartUploadsRequest(input *ListMultipartUploadsInput) (req *request.Request, output *ListMultipartUploadsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListMultipartUploads,
|
||||
|
@ -2330,7 +2308,6 @@ const opListParts = "ListParts"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) ListPartsRequest(input *ListPartsInput) (req *request.Request, output *ListPartsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListParts,
|
||||
|
@ -2458,7 +2435,6 @@ const opListProvisionedCapacity = "ListProvisionedCapacity"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) ListProvisionedCapacityRequest(input *ListProvisionedCapacityInput) (req *request.Request, output *ListProvisionedCapacityOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListProvisionedCapacity,
|
||||
|
@ -2528,7 +2504,6 @@ const opListTagsForVault = "ListTagsForVault"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) ListTagsForVaultRequest(input *ListTagsForVaultInput) (req *request.Request, output *ListTagsForVaultOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListTagsForVault,
|
||||
|
@ -2604,7 +2579,6 @@ const opListVaults = "ListVaults"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) ListVaultsRequest(input *ListVaultsInput) (req *request.Request, output *ListVaultsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListVaults,
|
||||
|
@ -2729,7 +2703,6 @@ const opPurchaseProvisionedCapacity = "PurchaseProvisionedCapacity"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) PurchaseProvisionedCapacityRequest(input *PurchaseProvisionedCapacityInput) (req *request.Request, output *PurchaseProvisionedCapacityOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPurchaseProvisionedCapacity,
|
||||
|
@ -2802,7 +2775,6 @@ const opRemoveTagsFromVault = "RemoveTagsFromVault"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) RemoveTagsFromVaultRequest(input *RemoveTagsFromVaultInput) (req *request.Request, output *RemoveTagsFromVaultOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opRemoveTagsFromVault,
|
||||
|
@ -2882,7 +2854,6 @@ const opSetDataRetrievalPolicy = "SetDataRetrievalPolicy"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) SetDataRetrievalPolicyRequest(input *SetDataRetrievalPolicyInput) (req *request.Request, output *SetDataRetrievalPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSetDataRetrievalPolicy,
|
||||
|
@ -2960,7 +2931,6 @@ const opSetVaultAccessPolicy = "SetVaultAccessPolicy"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) SetVaultAccessPolicyRequest(input *SetVaultAccessPolicyInput) (req *request.Request, output *SetVaultAccessPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSetVaultAccessPolicy,
|
||||
|
@ -3042,7 +3012,6 @@ const opSetVaultNotifications = "SetVaultNotifications"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) SetVaultNotificationsRequest(input *SetVaultNotificationsInput) (req *request.Request, output *SetVaultNotificationsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSetVaultNotifications,
|
||||
|
@ -3149,7 +3118,6 @@ const opUploadArchive = "UploadArchive"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) UploadArchiveRequest(input *UploadArchiveInput) (req *request.Request, output *ArchiveCreationOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUploadArchive,
|
||||
|
@ -3262,7 +3230,6 @@ const opUploadMultipartPart = "UploadMultipartPart"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Glacier) UploadMultipartPartRequest(input *UploadMultipartPartInput) (req *request.Request, output *UploadMultipartPartOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUploadMultipartPart,
|
||||
|
|
|
@ -42,7 +42,7 @@ import (
|
|||
// - The Getting Started section walks you through the process of creating
|
||||
// a vault, uploading archives, creating jobs to download archives, retrieving
|
||||
// the job output, and deleting archives.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
type Glacier struct {
|
||||
*client.Client
|
||||
|
@ -54,8 +54,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "glacier"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "glacier" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the Glacier client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -68,7 +71,7 @@ const ServiceName = "glacier"
|
|||
// // Create a Glacier client with additional configuration
|
||||
// svc := glacier.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Glacier {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -64,8 +64,9 @@ import (
|
|||
// * Signing AWS API Requests (http://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html).
|
||||
// This set of topics walk you through the process of signing a request using
|
||||
// an access key ID and secret access key.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08
|
||||
type IAM struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -76,8 +77,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "iam"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "iam" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the IAM client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -90,7 +94,7 @@ const ServiceName = "iam"
|
|||
// // Create a IAM client with additional configuration
|
||||
// svc := iam.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *IAM {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@ const opAddTagsToStream = "AddTagsToStream"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/AddTagsToStream
|
||||
func (c *Kinesis) AddTagsToStreamRequest(input *AddTagsToStreamInput) (req *request.Request, output *AddTagsToStreamOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opAddTagsToStream,
|
||||
|
@ -90,6 +91,7 @@ func (c *Kinesis) AddTagsToStreamRequest(input *AddTagsToStreamInput) (req *requ
|
|||
// The requested resource exceeds the maximum number allowed, or the number
|
||||
// of concurrent stream requests exceeds the maximum number allowed (5).
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/AddTagsToStream
|
||||
func (c *Kinesis) AddTagsToStream(input *AddTagsToStreamInput) (*AddTagsToStreamOutput, error) {
|
||||
req, out := c.AddTagsToStreamRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -122,6 +124,7 @@ const opCreateStream = "CreateStream"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStream
|
||||
func (c *Kinesis) CreateStreamRequest(input *CreateStreamInput) (req *request.Request, output *CreateStreamOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateStream,
|
||||
|
@ -202,6 +205,7 @@ func (c *Kinesis) CreateStreamRequest(input *CreateStreamInput) (req *request.Re
|
|||
// A specified parameter exceeds its restrictions, is not supported, or can't
|
||||
// be used. For more information, see the returned message.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStream
|
||||
func (c *Kinesis) CreateStream(input *CreateStreamInput) (*CreateStreamOutput, error) {
|
||||
req, out := c.CreateStreamRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -234,6 +238,7 @@ const opDecreaseStreamRetentionPeriod = "DecreaseStreamRetentionPeriod"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DecreaseStreamRetentionPeriod
|
||||
func (c *Kinesis) DecreaseStreamRetentionPeriodRequest(input *DecreaseStreamRetentionPeriodInput) (req *request.Request, output *DecreaseStreamRetentionPeriodOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDecreaseStreamRetentionPeriod,
|
||||
|
@ -283,6 +288,7 @@ func (c *Kinesis) DecreaseStreamRetentionPeriodRequest(input *DecreaseStreamRete
|
|||
// A specified parameter exceeds its restrictions, is not supported, or can't
|
||||
// be used. For more information, see the returned message.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DecreaseStreamRetentionPeriod
|
||||
func (c *Kinesis) DecreaseStreamRetentionPeriod(input *DecreaseStreamRetentionPeriodInput) (*DecreaseStreamRetentionPeriodOutput, error) {
|
||||
req, out := c.DecreaseStreamRetentionPeriodRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -315,6 +321,7 @@ const opDeleteStream = "DeleteStream"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DeleteStream
|
||||
func (c *Kinesis) DeleteStreamRequest(input *DeleteStreamInput) (req *request.Request, output *DeleteStreamOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteStream,
|
||||
|
@ -373,6 +380,7 @@ func (c *Kinesis) DeleteStreamRequest(input *DeleteStreamInput) (req *request.Re
|
|||
// The requested resource exceeds the maximum number allowed, or the number
|
||||
// of concurrent stream requests exceeds the maximum number allowed (5).
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DeleteStream
|
||||
func (c *Kinesis) DeleteStream(input *DeleteStreamInput) (*DeleteStreamOutput, error) {
|
||||
req, out := c.DeleteStreamRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -405,6 +413,7 @@ const opDescribeLimits = "DescribeLimits"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeLimits
|
||||
func (c *Kinesis) DescribeLimitsRequest(input *DescribeLimitsInput) (req *request.Request, output *DescribeLimitsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeLimits,
|
||||
|
@ -443,6 +452,7 @@ func (c *Kinesis) DescribeLimitsRequest(input *DescribeLimitsInput) (req *reques
|
|||
// The requested resource exceeds the maximum number allowed, or the number
|
||||
// of concurrent stream requests exceeds the maximum number allowed (5).
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeLimits
|
||||
func (c *Kinesis) DescribeLimits(input *DescribeLimitsInput) (*DescribeLimitsOutput, error) {
|
||||
req, out := c.DescribeLimitsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -475,6 +485,7 @@ const opDescribeStream = "DescribeStream"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStream
|
||||
func (c *Kinesis) DescribeStreamRequest(input *DescribeStreamInput) (req *request.Request, output *DescribeStreamOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeStream,
|
||||
|
@ -536,6 +547,7 @@ func (c *Kinesis) DescribeStreamRequest(input *DescribeStreamInput) (req *reques
|
|||
// The requested resource exceeds the maximum number allowed, or the number
|
||||
// of concurrent stream requests exceeds the maximum number allowed (5).
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStream
|
||||
func (c *Kinesis) DescribeStream(input *DescribeStreamInput) (*DescribeStreamOutput, error) {
|
||||
req, out := c.DescribeStreamRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -593,6 +605,7 @@ const opDisableEnhancedMonitoring = "DisableEnhancedMonitoring"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DisableEnhancedMonitoring
|
||||
func (c *Kinesis) DisableEnhancedMonitoringRequest(input *DisableEnhancedMonitoringInput) (req *request.Request, output *EnhancedMonitoringOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDisableEnhancedMonitoring,
|
||||
|
@ -638,6 +651,7 @@ func (c *Kinesis) DisableEnhancedMonitoringRequest(input *DisableEnhancedMonitor
|
|||
// The requested resource could not be found. The stream might not be specified
|
||||
// correctly.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DisableEnhancedMonitoring
|
||||
func (c *Kinesis) DisableEnhancedMonitoring(input *DisableEnhancedMonitoringInput) (*EnhancedMonitoringOutput, error) {
|
||||
req, out := c.DisableEnhancedMonitoringRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -670,6 +684,7 @@ const opEnableEnhancedMonitoring = "EnableEnhancedMonitoring"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnableEnhancedMonitoring
|
||||
func (c *Kinesis) EnableEnhancedMonitoringRequest(input *EnableEnhancedMonitoringInput) (req *request.Request, output *EnhancedMonitoringOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opEnableEnhancedMonitoring,
|
||||
|
@ -715,6 +730,7 @@ func (c *Kinesis) EnableEnhancedMonitoringRequest(input *EnableEnhancedMonitorin
|
|||
// The requested resource could not be found. The stream might not be specified
|
||||
// correctly.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnableEnhancedMonitoring
|
||||
func (c *Kinesis) EnableEnhancedMonitoring(input *EnableEnhancedMonitoringInput) (*EnhancedMonitoringOutput, error) {
|
||||
req, out := c.EnableEnhancedMonitoringRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -747,6 +763,7 @@ const opGetRecords = "GetRecords"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecords
|
||||
func (c *Kinesis) GetRecordsRequest(input *GetRecordsInput) (req *request.Request, output *GetRecordsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetRecords,
|
||||
|
@ -847,6 +864,7 @@ func (c *Kinesis) GetRecordsRequest(input *GetRecordsInput) (req *request.Reques
|
|||
// * ExpiredIteratorException
|
||||
// The provided iterator exceeds the maximum age allowed.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecords
|
||||
func (c *Kinesis) GetRecords(input *GetRecordsInput) (*GetRecordsOutput, error) {
|
||||
req, out := c.GetRecordsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -879,6 +897,7 @@ const opGetShardIterator = "GetShardIterator"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetShardIterator
|
||||
func (c *Kinesis) GetShardIteratorRequest(input *GetShardIteratorInput) (req *request.Request, output *GetShardIteratorOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetShardIterator,
|
||||
|
@ -961,6 +980,7 @@ func (c *Kinesis) GetShardIteratorRequest(input *GetShardIteratorInput) (req *re
|
|||
// Backoff in AWS (http://docs.aws.amazon.com/general/latest/gr/api-retries.html)
|
||||
// in the AWS General Reference.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetShardIterator
|
||||
func (c *Kinesis) GetShardIterator(input *GetShardIteratorInput) (*GetShardIteratorOutput, error) {
|
||||
req, out := c.GetShardIteratorRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -993,6 +1013,7 @@ const opIncreaseStreamRetentionPeriod = "IncreaseStreamRetentionPeriod"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/IncreaseStreamRetentionPeriod
|
||||
func (c *Kinesis) IncreaseStreamRetentionPeriodRequest(input *IncreaseStreamRetentionPeriodInput) (req *request.Request, output *IncreaseStreamRetentionPeriodOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opIncreaseStreamRetentionPeriod,
|
||||
|
@ -1046,6 +1067,7 @@ func (c *Kinesis) IncreaseStreamRetentionPeriodRequest(input *IncreaseStreamRete
|
|||
// A specified parameter exceeds its restrictions, is not supported, or can't
|
||||
// be used. For more information, see the returned message.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/IncreaseStreamRetentionPeriod
|
||||
func (c *Kinesis) IncreaseStreamRetentionPeriod(input *IncreaseStreamRetentionPeriodInput) (*IncreaseStreamRetentionPeriodOutput, error) {
|
||||
req, out := c.IncreaseStreamRetentionPeriodRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1078,6 +1100,7 @@ const opListStreams = "ListStreams"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListStreams
|
||||
func (c *Kinesis) ListStreamsRequest(input *ListStreamsInput) (req *request.Request, output *ListStreamsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListStreams,
|
||||
|
@ -1132,6 +1155,7 @@ func (c *Kinesis) ListStreamsRequest(input *ListStreamsInput) (req *request.Requ
|
|||
// The requested resource exceeds the maximum number allowed, or the number
|
||||
// of concurrent stream requests exceeds the maximum number allowed (5).
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListStreams
|
||||
func (c *Kinesis) ListStreams(input *ListStreamsInput) (*ListStreamsOutput, error) {
|
||||
req, out := c.ListStreamsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1189,6 +1213,7 @@ const opListTagsForStream = "ListTagsForStream"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForStream
|
||||
func (c *Kinesis) ListTagsForStreamRequest(input *ListTagsForStreamInput) (req *request.Request, output *ListTagsForStreamOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListTagsForStream,
|
||||
|
@ -1230,6 +1255,7 @@ func (c *Kinesis) ListTagsForStreamRequest(input *ListTagsForStreamInput) (req *
|
|||
// The requested resource exceeds the maximum number allowed, or the number
|
||||
// of concurrent stream requests exceeds the maximum number allowed (5).
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForStream
|
||||
func (c *Kinesis) ListTagsForStream(input *ListTagsForStreamInput) (*ListTagsForStreamOutput, error) {
|
||||
req, out := c.ListTagsForStreamRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1262,6 +1288,7 @@ const opMergeShards = "MergeShards"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MergeShards
|
||||
func (c *Kinesis) MergeShardsRequest(input *MergeShardsInput) (req *request.Request, output *MergeShardsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opMergeShards,
|
||||
|
@ -1344,6 +1371,7 @@ func (c *Kinesis) MergeShardsRequest(input *MergeShardsInput) (req *request.Requ
|
|||
// The requested resource exceeds the maximum number allowed, or the number
|
||||
// of concurrent stream requests exceeds the maximum number allowed (5).
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MergeShards
|
||||
func (c *Kinesis) MergeShards(input *MergeShardsInput) (*MergeShardsOutput, error) {
|
||||
req, out := c.MergeShardsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1376,6 +1404,7 @@ const opPutRecord = "PutRecord"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecord
|
||||
func (c *Kinesis) PutRecordRequest(input *PutRecordInput) (req *request.Request, output *PutRecordOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutRecord,
|
||||
|
@ -1458,6 +1487,7 @@ func (c *Kinesis) PutRecordRequest(input *PutRecordInput) (req *request.Request,
|
|||
// Backoff in AWS (http://docs.aws.amazon.com/general/latest/gr/api-retries.html)
|
||||
// in the AWS General Reference.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecord
|
||||
func (c *Kinesis) PutRecord(input *PutRecordInput) (*PutRecordOutput, error) {
|
||||
req, out := c.PutRecordRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1490,6 +1520,7 @@ const opPutRecords = "PutRecords"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecords
|
||||
func (c *Kinesis) PutRecordsRequest(input *PutRecordsInput) (req *request.Request, output *PutRecordsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutRecords,
|
||||
|
@ -1594,6 +1625,7 @@ func (c *Kinesis) PutRecordsRequest(input *PutRecordsInput) (req *request.Reques
|
|||
// Backoff in AWS (http://docs.aws.amazon.com/general/latest/gr/api-retries.html)
|
||||
// in the AWS General Reference.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecords
|
||||
func (c *Kinesis) PutRecords(input *PutRecordsInput) (*PutRecordsOutput, error) {
|
||||
req, out := c.PutRecordsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1626,6 +1658,7 @@ const opRemoveTagsFromStream = "RemoveTagsFromStream"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RemoveTagsFromStream
|
||||
func (c *Kinesis) RemoveTagsFromStreamRequest(input *RemoveTagsFromStreamInput) (req *request.Request, output *RemoveTagsFromStreamOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opRemoveTagsFromStream,
|
||||
|
@ -1676,6 +1709,7 @@ func (c *Kinesis) RemoveTagsFromStreamRequest(input *RemoveTagsFromStreamInput)
|
|||
// The requested resource exceeds the maximum number allowed, or the number
|
||||
// of concurrent stream requests exceeds the maximum number allowed (5).
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RemoveTagsFromStream
|
||||
func (c *Kinesis) RemoveTagsFromStream(input *RemoveTagsFromStreamInput) (*RemoveTagsFromStreamOutput, error) {
|
||||
req, out := c.RemoveTagsFromStreamRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1708,6 +1742,7 @@ const opSplitShard = "SplitShard"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SplitShard
|
||||
func (c *Kinesis) SplitShardRequest(input *SplitShardInput) (req *request.Request, output *SplitShardOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSplitShard,
|
||||
|
@ -1799,6 +1834,7 @@ func (c *Kinesis) SplitShardRequest(input *SplitShardInput) (req *request.Reques
|
|||
// The requested resource exceeds the maximum number allowed, or the number
|
||||
// of concurrent stream requests exceeds the maximum number allowed (5).
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SplitShard
|
||||
func (c *Kinesis) SplitShard(input *SplitShardInput) (*SplitShardOutput, error) {
|
||||
req, out := c.SplitShardRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1831,6 +1867,7 @@ const opUpdateShardCount = "UpdateShardCount"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateShardCount
|
||||
func (c *Kinesis) UpdateShardCountRequest(input *UpdateShardCountInput) (req *request.Request, output *UpdateShardCountOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdateShardCount,
|
||||
|
@ -1897,6 +1934,7 @@ func (c *Kinesis) UpdateShardCountRequest(input *UpdateShardCountInput) (req *re
|
|||
// The requested resource could not be found. The stream might not be specified
|
||||
// correctly.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateShardCount
|
||||
func (c *Kinesis) UpdateShardCount(input *UpdateShardCountInput) (*UpdateShardCountOutput, error) {
|
||||
req, out := c.UpdateShardCountRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1904,6 +1942,7 @@ func (c *Kinesis) UpdateShardCount(input *UpdateShardCountInput) (*UpdateShardCo
|
|||
}
|
||||
|
||||
// Represents the input for AddTagsToStream.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/AddTagsToStreamInput
|
||||
type AddTagsToStreamInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1962,6 +2001,7 @@ func (s *AddTagsToStreamInput) SetTags(v map[string]*string) *AddTagsToStreamInp
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/AddTagsToStreamOutput
|
||||
type AddTagsToStreamOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1977,6 +2017,7 @@ func (s AddTagsToStreamOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Represents the input for CreateStream.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStreamInput
|
||||
type CreateStreamInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2043,6 +2084,7 @@ func (s *CreateStreamInput) SetStreamName(v string) *CreateStreamInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStreamOutput
|
||||
type CreateStreamOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2058,6 +2100,7 @@ func (s CreateStreamOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Represents the input for DecreaseStreamRetentionPeriod.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DecreaseStreamRetentionPeriodInput
|
||||
type DecreaseStreamRetentionPeriodInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2117,6 +2160,7 @@ func (s *DecreaseStreamRetentionPeriodInput) SetStreamName(v string) *DecreaseSt
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DecreaseStreamRetentionPeriodOutput
|
||||
type DecreaseStreamRetentionPeriodOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2132,6 +2176,7 @@ func (s DecreaseStreamRetentionPeriodOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Represents the input for DeleteStream.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DeleteStreamInput
|
||||
type DeleteStreamInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2173,6 +2218,7 @@ func (s *DeleteStreamInput) SetStreamName(v string) *DeleteStreamInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DeleteStreamOutput
|
||||
type DeleteStreamOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2187,6 +2233,7 @@ func (s DeleteStreamOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeLimitsInput
|
||||
type DescribeLimitsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2201,6 +2248,7 @@ func (s DescribeLimitsInput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeLimitsOutput
|
||||
type DescribeLimitsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2238,6 +2286,7 @@ func (s *DescribeLimitsOutput) SetShardLimit(v int64) *DescribeLimitsOutput {
|
|||
}
|
||||
|
||||
// Represents the input for DescribeStream.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamInput
|
||||
type DescribeStreamInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2305,6 +2354,7 @@ func (s *DescribeStreamInput) SetStreamName(v string) *DescribeStreamInput {
|
|||
}
|
||||
|
||||
// Represents the output for DescribeStream.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamOutput
|
||||
type DescribeStreamOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2332,6 +2382,7 @@ func (s *DescribeStreamOutput) SetStreamDescription(v *StreamDescription) *Descr
|
|||
}
|
||||
|
||||
// Represents the input for DisableEnhancedMonitoring.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DisableEnhancedMonitoringInput
|
||||
type DisableEnhancedMonitoringInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2414,6 +2465,7 @@ func (s *DisableEnhancedMonitoringInput) SetStreamName(v string) *DisableEnhance
|
|||
}
|
||||
|
||||
// Represents the input for EnableEnhancedMonitoring.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnableEnhancedMonitoringInput
|
||||
type EnableEnhancedMonitoringInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2496,6 +2548,7 @@ func (s *EnableEnhancedMonitoringInput) SetStreamName(v string) *EnableEnhancedM
|
|||
}
|
||||
|
||||
// Represents enhanced metrics types.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnhancedMetrics
|
||||
type EnhancedMetrics struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2543,6 +2596,7 @@ func (s *EnhancedMetrics) SetShardLevelMetrics(v []*string) *EnhancedMetrics {
|
|||
}
|
||||
|
||||
// Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnhancedMonitoringOutput
|
||||
type EnhancedMonitoringOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2587,6 +2641,7 @@ func (s *EnhancedMonitoringOutput) SetStreamName(v string) *EnhancedMonitoringOu
|
|||
}
|
||||
|
||||
// Represents the input for GetRecords.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecordsInput
|
||||
type GetRecordsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2644,6 +2699,7 @@ func (s *GetRecordsInput) SetShardIterator(v string) *GetRecordsInput {
|
|||
}
|
||||
|
||||
// Represents the output for GetRecords.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecordsOutput
|
||||
type GetRecordsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2693,6 +2749,7 @@ func (s *GetRecordsOutput) SetRecords(v []*Record) *GetRecordsOutput {
|
|||
}
|
||||
|
||||
// Represents the input for GetShardIterator.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetShardIteratorInput
|
||||
type GetShardIteratorInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2809,6 +2866,7 @@ func (s *GetShardIteratorInput) SetTimestamp(v time.Time) *GetShardIteratorInput
|
|||
}
|
||||
|
||||
// Represents the output for GetShardIterator.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetShardIteratorOutput
|
||||
type GetShardIteratorOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2836,6 +2894,7 @@ func (s *GetShardIteratorOutput) SetShardIterator(v string) *GetShardIteratorOut
|
|||
|
||||
// The range of possible hash key values for the shard, which is a set of ordered
|
||||
// contiguous positive integers.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/HashKeyRange
|
||||
type HashKeyRange struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2873,6 +2932,7 @@ func (s *HashKeyRange) SetStartingHashKey(v string) *HashKeyRange {
|
|||
}
|
||||
|
||||
// Represents the input for IncreaseStreamRetentionPeriod.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/IncreaseStreamRetentionPeriodInput
|
||||
type IncreaseStreamRetentionPeriodInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2932,6 +2992,7 @@ func (s *IncreaseStreamRetentionPeriodInput) SetStreamName(v string) *IncreaseSt
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/IncreaseStreamRetentionPeriodOutput
|
||||
type IncreaseStreamRetentionPeriodOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2947,6 +3008,7 @@ func (s IncreaseStreamRetentionPeriodOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Represents the input for ListStreams.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListStreamsInput
|
||||
type ListStreamsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2996,6 +3058,7 @@ func (s *ListStreamsInput) SetLimit(v int64) *ListStreamsInput {
|
|||
}
|
||||
|
||||
// Represents the output for ListStreams.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListStreamsOutput
|
||||
type ListStreamsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3034,6 +3097,7 @@ func (s *ListStreamsOutput) SetStreamNames(v []*string) *ListStreamsOutput {
|
|||
}
|
||||
|
||||
// Represents the input for ListTagsForStream.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForStreamInput
|
||||
type ListTagsForStreamInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3103,6 +3167,7 @@ func (s *ListTagsForStreamInput) SetStreamName(v string) *ListTagsForStreamInput
|
|||
}
|
||||
|
||||
// Represents the output for ListTagsForStream.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForStreamOutput
|
||||
type ListTagsForStreamOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3142,6 +3207,7 @@ func (s *ListTagsForStreamOutput) SetTags(v []*Tag) *ListTagsForStreamOutput {
|
|||
}
|
||||
|
||||
// Represents the input for MergeShards.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MergeShardsInput
|
||||
type MergeShardsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3217,6 +3283,7 @@ func (s *MergeShardsInput) SetStreamName(v string) *MergeShardsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MergeShardsOutput
|
||||
type MergeShardsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3232,6 +3299,7 @@ func (s MergeShardsOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Represents the input for PutRecord.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordInput
|
||||
type PutRecordInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3340,6 +3408,7 @@ func (s *PutRecordInput) SetStreamName(v string) *PutRecordInput {
|
|||
}
|
||||
|
||||
// Represents the output for PutRecord.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordOutput
|
||||
type PutRecordOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3380,6 +3449,7 @@ func (s *PutRecordOutput) SetShardId(v string) *PutRecordOutput {
|
|||
}
|
||||
|
||||
// A PutRecords request.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordsInput
|
||||
type PutRecordsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3449,6 +3519,7 @@ func (s *PutRecordsInput) SetStreamName(v string) *PutRecordsInput {
|
|||
}
|
||||
|
||||
// PutRecords results.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordsOutput
|
||||
type PutRecordsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3488,6 +3559,7 @@ func (s *PutRecordsOutput) SetRecords(v []*PutRecordsResultEntry) *PutRecordsOut
|
|||
}
|
||||
|
||||
// Represents the output for PutRecords.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordsRequestEntry
|
||||
type PutRecordsRequestEntry struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3569,6 +3641,7 @@ func (s *PutRecordsRequestEntry) SetPartitionKey(v string) *PutRecordsRequestEnt
|
|||
// A record that is successfully added to a stream includes SequenceNumber and
|
||||
// ShardId in the result. A record that fails to be added to the stream includes
|
||||
// ErrorCode and ErrorMessage in the result.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordsResultEntry
|
||||
type PutRecordsResultEntry struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3625,6 +3698,7 @@ func (s *PutRecordsResultEntry) SetShardId(v string) *PutRecordsResultEntry {
|
|||
|
||||
// The unit of data of the Amazon Kinesis stream, which is composed of a sequence
|
||||
// number, a partition key, and a data blob.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/Record
|
||||
type Record struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3688,6 +3762,7 @@ func (s *Record) SetSequenceNumber(v string) *Record {
|
|||
}
|
||||
|
||||
// Represents the input for RemoveTagsFromStream.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RemoveTagsFromStreamInput
|
||||
type RemoveTagsFromStreamInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3746,6 +3821,7 @@ func (s *RemoveTagsFromStreamInput) SetTagKeys(v []*string) *RemoveTagsFromStrea
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RemoveTagsFromStreamOutput
|
||||
type RemoveTagsFromStreamOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3761,6 +3837,7 @@ func (s RemoveTagsFromStreamOutput) GoString() string {
|
|||
}
|
||||
|
||||
// The range of possible sequence numbers for the shard.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SequenceNumberRange
|
||||
type SequenceNumberRange struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3797,6 +3874,7 @@ func (s *SequenceNumberRange) SetStartingSequenceNumber(v string) *SequenceNumbe
|
|||
}
|
||||
|
||||
// A uniquely identified group of data records in an Amazon Kinesis stream.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/Shard
|
||||
type Shard struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3864,6 +3942,7 @@ func (s *Shard) SetShardId(v string) *Shard {
|
|||
}
|
||||
|
||||
// Represents the input for SplitShard.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SplitShardInput
|
||||
type SplitShardInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3942,6 +4021,7 @@ func (s *SplitShardInput) SetStreamName(v string) *SplitShardInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SplitShardOutput
|
||||
type SplitShardOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3957,6 +4037,7 @@ func (s SplitShardOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Represents the output for DescribeStream.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StreamDescription
|
||||
type StreamDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4075,6 +4156,7 @@ func (s *StreamDescription) SetStreamStatus(v string) *StreamDescription {
|
|||
}
|
||||
|
||||
// Metadata assigned to the stream, consisting of a key-value pair.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/Tag
|
||||
type Tag struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4112,6 +4194,7 @@ func (s *Tag) SetValue(v string) *Tag {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateShardCountInput
|
||||
type UpdateShardCountInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4184,6 +4267,7 @@ func (s *UpdateShardCountInput) SetTargetShardCount(v int64) *UpdateShardCountIn
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateShardCountOutput
|
||||
type UpdateShardCountOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -13,8 +13,9 @@ import (
|
|||
|
||||
// Amazon Kinesis Streams is a managed service that scales elastically for real
|
||||
// time processing of streaming big data.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02
|
||||
type Kinesis struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -25,8 +26,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "kinesis"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "kinesis" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the Kinesis client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -39,7 +43,7 @@ const ServiceName = "kinesis"
|
|||
// // Create a Kinesis client with additional configuration
|
||||
// svc := kinesis.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Kinesis {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -82,8 +82,9 @@ import (
|
|||
// * GenerateDataKey
|
||||
//
|
||||
// * GenerateDataKeyWithoutPlaintext
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01
|
||||
type KMS struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -94,8 +95,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "kms"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "kms" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the KMS client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -108,7 +112,7 @@ const ServiceName = "kms"
|
|||
// // Create a KMS client with additional configuration
|
||||
// svc := kms.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *KMS {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@ const opAddPermission = "AddPermission"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) AddPermissionRequest(input *AddPermissionInput) (req *request.Request, output *AddPermissionOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opAddPermission,
|
||||
|
@ -134,7 +133,6 @@ const opCreateAlias = "CreateAlias"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, output *AliasConfiguration) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateAlias,
|
||||
|
@ -217,7 +215,6 @@ const opCreateEventSourceMapping = "CreateEventSourceMapping"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) CreateEventSourceMappingRequest(input *CreateEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateEventSourceMapping,
|
||||
|
@ -320,7 +317,6 @@ const opCreateFunction = "CreateFunction"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) CreateFunctionRequest(input *CreateFunctionInput) (req *request.Request, output *FunctionConfiguration) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateFunction,
|
||||
|
@ -411,7 +407,6 @@ const opDeleteAlias = "DeleteAlias"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Request, output *DeleteAliasOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteAlias,
|
||||
|
@ -488,7 +483,6 @@ const opDeleteEventSourceMapping = "DeleteEventSourceMapping"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) DeleteEventSourceMappingRequest(input *DeleteEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteEventSourceMapping,
|
||||
|
@ -568,7 +562,6 @@ const opDeleteFunction = "DeleteFunction"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) DeleteFunctionRequest(input *DeleteFunctionInput) (req *request.Request, output *DeleteFunctionOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteFunction,
|
||||
|
@ -661,7 +654,6 @@ const opGetAccountSettings = "GetAccountSettings"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req *request.Request, output *GetAccountSettingsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetAccountSettings,
|
||||
|
@ -734,7 +726,6 @@ const opGetAlias = "GetAlias"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) GetAliasRequest(input *GetAliasInput) (req *request.Request, output *AliasConfiguration) {
|
||||
op := &request.Operation{
|
||||
Name: opGetAlias,
|
||||
|
@ -814,7 +805,6 @@ const opGetEventSourceMapping = "GetEventSourceMapping"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) GetEventSourceMappingRequest(input *GetEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration) {
|
||||
op := &request.Operation{
|
||||
Name: opGetEventSourceMapping,
|
||||
|
@ -893,7 +883,6 @@ const opGetFunction = "GetFunction"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) GetFunctionRequest(input *GetFunctionInput) (req *request.Request, output *GetFunctionOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetFunction,
|
||||
|
@ -981,7 +970,6 @@ const opGetFunctionConfiguration = "GetFunctionConfiguration"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) GetFunctionConfigurationRequest(input *GetFunctionConfigurationInput) (req *request.Request, output *FunctionConfiguration) {
|
||||
op := &request.Operation{
|
||||
Name: opGetFunctionConfiguration,
|
||||
|
@ -1069,7 +1057,6 @@ const opGetPolicy = "GetPolicy"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetPolicy,
|
||||
|
@ -1154,7 +1141,6 @@ const opInvoke = "Invoke"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) InvokeRequest(input *InvokeInput) (req *request.Request, output *InvokeOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opInvoke,
|
||||
|
@ -1298,7 +1284,6 @@ const opInvokeAsync = "InvokeAsync"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) InvokeAsyncRequest(input *InvokeAsyncInput) (req *request.Request, output *InvokeAsyncOutput) {
|
||||
if c.Client.Config.Logger != nil {
|
||||
c.Client.Config.Logger.Log("This operation, InvokeAsync, has been deprecated")
|
||||
|
@ -1378,7 +1363,6 @@ const opListAliases = "ListAliases"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) ListAliasesRequest(input *ListAliasesInput) (req *request.Request, output *ListAliasesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListAliases,
|
||||
|
@ -1459,7 +1443,6 @@ const opListEventSourceMappings = "ListEventSourceMappings"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) ListEventSourceMappingsRequest(input *ListEventSourceMappingsInput) (req *request.Request, output *ListEventSourceMappingsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListEventSourceMappings,
|
||||
|
@ -1578,7 +1561,6 @@ const opListFunctions = "ListFunctions"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) ListFunctionsRequest(input *ListFunctionsInput) (req *request.Request, output *ListFunctionsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListFunctions,
|
||||
|
@ -1684,7 +1666,6 @@ const opListVersionsByFunction = "ListVersionsByFunction"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) ListVersionsByFunctionRequest(input *ListVersionsByFunctionInput) (req *request.Request, output *ListVersionsByFunctionOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListVersionsByFunction,
|
||||
|
@ -1761,7 +1742,6 @@ const opPublishVersion = "PublishVersion"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) PublishVersionRequest(input *PublishVersionInput) (req *request.Request, output *FunctionConfiguration) {
|
||||
op := &request.Operation{
|
||||
Name: opPublishVersion,
|
||||
|
@ -1844,7 +1824,6 @@ const opRemovePermission = "RemovePermission"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) RemovePermissionRequest(input *RemovePermissionInput) (req *request.Request, output *RemovePermissionOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opRemovePermission,
|
||||
|
@ -1934,7 +1913,6 @@ const opUpdateAlias = "UpdateAlias"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Request, output *AliasConfiguration) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdateAlias,
|
||||
|
@ -2014,7 +1992,6 @@ const opUpdateEventSourceMapping = "UpdateEventSourceMapping"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) UpdateEventSourceMappingRequest(input *UpdateEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdateEventSourceMapping,
|
||||
|
@ -2109,7 +2086,6 @@ const opUpdateFunctionCode = "UpdateFunctionCode"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) UpdateFunctionCodeRequest(input *UpdateFunctionCodeInput) (req *request.Request, output *FunctionConfiguration) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdateFunctionCode,
|
||||
|
@ -2196,7 +2172,6 @@ const opUpdateFunctionConfiguration = "UpdateFunctionConfiguration"
|
|||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
func (c *Lambda) UpdateFunctionConfigurationRequest(input *UpdateFunctionConfigurationInput) (req *request.Request, output *FunctionConfiguration) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdateFunctionConfiguration,
|
||||
|
|
|
@ -18,7 +18,7 @@ import (
|
|||
// (http://docs.aws.amazon.com/lambda/latest/dg/welcome.html), and for information
|
||||
// about how the service works, go to AWS Lambda: How it Works (http://docs.aws.amazon.com/lambda/latest/dg/lambda-introduction.html)
|
||||
// in the AWS Lambda Developer Guide.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
type Lambda struct {
|
||||
*client.Client
|
||||
|
@ -30,8 +30,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "lambda"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "lambda" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the Lambda client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -44,7 +47,7 @@ const ServiceName = "lambda"
|
|||
// // Create a Lambda client with additional configuration
|
||||
// svc := lambda.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Lambda {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -24,8 +24,9 @@ import (
|
|||
// To use the Lightsail API or the CLI, you will need to use AWS Identity and
|
||||
// Access Management (IAM) to generate access keys. For details about how to
|
||||
// set this up, see the Lightsail Dev Guide (http://lightsail.aws.amazon.com/ls/docs/how-to/articles/lightsail-how-to-set-up-access-keys-to-use-sdk-api-cli).
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28
|
||||
type Lightsail struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -36,8 +37,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "lightsail"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "lightsail" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the Lightsail client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -50,7 +54,7 @@ const ServiceName = "lightsail"
|
|||
// // Create a Lightsail client with additional configuration
|
||||
// svc := lightsail.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Lightsail {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -77,8 +77,9 @@ import (
|
|||
//
|
||||
// You can specify Chef 12, 11.10, or 11.4 for your Linux stack. We recommend
|
||||
// migrating your existing Linux stacks to Chef 12 as soon as possible.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18
|
||||
type OpsWorks struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -89,8 +90,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "opsworks"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "opsworks" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the OpsWorks client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -103,7 +107,7 @@ const ServiceName = "opsworks"
|
|||
// // Create a OpsWorks client with additional configuration
|
||||
// svc := opsworks.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *OpsWorks {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,83 @@
|
|||
package rds
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/awsutil"
|
||||
"github.com/aws/aws-sdk-go/aws/endpoints"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
)
|
||||
|
||||
func init() {
|
||||
ops := []string{
|
||||
opCopyDBSnapshot,
|
||||
}
|
||||
initRequest = func(r *request.Request) {
|
||||
for _, operation := range ops {
|
||||
if r.Operation.Name == operation {
|
||||
r.Handlers.Build.PushFront(fillPresignedURL)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func fillPresignedURL(r *request.Request) {
|
||||
fns := map[string]func(r *request.Request){
|
||||
opCopyDBSnapshot: copyDBSnapshotPresign,
|
||||
}
|
||||
if !r.ParamsFilled() {
|
||||
return
|
||||
}
|
||||
if f, ok := fns[r.Operation.Name]; ok {
|
||||
f(r)
|
||||
}
|
||||
}
|
||||
|
||||
func copyDBSnapshotPresign(r *request.Request) {
|
||||
originParams := r.Params.(*CopyDBSnapshotInput)
|
||||
|
||||
if originParams.PreSignedUrl != nil || originParams.DestinationRegion != nil {
|
||||
return
|
||||
}
|
||||
|
||||
originParams.DestinationRegion = r.Config.Region
|
||||
newParams := awsutil.CopyOf(r.Params).(*CopyDBSnapshotInput)
|
||||
originParams.PreSignedUrl = presignURL(r, originParams.SourceRegion, newParams)
|
||||
}
|
||||
|
||||
// presignURL will presign the request by using SoureRegion to sign with. SourceRegion is not
|
||||
// sent to the service, and is only used to not have the SDKs parsing ARNs.
|
||||
func presignURL(r *request.Request, sourceRegion *string, newParams interface{}) *string {
|
||||
cfg := r.Config.Copy(aws.NewConfig().
|
||||
WithEndpoint("").
|
||||
WithRegion(aws.StringValue(sourceRegion)))
|
||||
|
||||
clientInfo := r.ClientInfo
|
||||
resolved, err := r.Config.EndpointResolver.EndpointFor(
|
||||
clientInfo.ServiceName, aws.StringValue(cfg.Region),
|
||||
func(opt *endpoints.Options) {
|
||||
opt.DisableSSL = aws.BoolValue(cfg.DisableSSL)
|
||||
opt.UseDualStack = aws.BoolValue(cfg.UseDualStack)
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
r.Error = err
|
||||
return nil
|
||||
}
|
||||
|
||||
clientInfo.Endpoint = resolved.URL
|
||||
clientInfo.SigningRegion = resolved.SigningRegion
|
||||
|
||||
// Presign a request with modified params
|
||||
req := request.New(*cfg, clientInfo, r.Handlers, r.Retryer, r.Operation, newParams, r.Data)
|
||||
req.Operation.HTTPMethod = "GET"
|
||||
uri, err := req.Presign(5 * time.Minute) // 5 minutes should be enough.
|
||||
if err != nil { // bubble error back up to original request
|
||||
r.Error = err
|
||||
return nil
|
||||
}
|
||||
|
||||
// We have our URL, set it on params
|
||||
return &uri
|
||||
}
|
|
@ -54,8 +54,9 @@ import (
|
|||
//
|
||||
// * For more information about how to use the Query API, see Using the Query
|
||||
// API (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Using_the_Query_API.html).
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31
|
||||
type RDS struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -66,8 +67,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "rds"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "rds" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the RDS client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -80,7 +84,7 @@ const ServiceName = "rds"
|
|||
// // Create a RDS client with additional configuration
|
||||
// svc := rds.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *RDS {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -35,8 +35,9 @@ import (
|
|||
// (http://docs.aws.amazon.com/redshift/latest/dg/welcome.html) explains how
|
||||
// to design, build, query, and maintain the databases that make up your data
|
||||
// warehouse.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01
|
||||
type Redshift struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -47,8 +48,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "redshift"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "redshift" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the Redshift client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -61,7 +65,7 @@ const ServiceName = "redshift"
|
|||
// // Create a Redshift client with additional configuration
|
||||
// svc := redshift.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Redshift {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -12,8 +12,9 @@ import (
|
|||
)
|
||||
|
||||
// Route53 is a client for Route 53.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01
|
||||
type Route53 struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -24,8 +25,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "route53"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "route53" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the Route53 client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -38,7 +42,7 @@ const ServiceName = "route53"
|
|||
// // Create a Route53 client with additional configuration
|
||||
// svc := route53.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Route53 {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -12,8 +12,9 @@ import (
|
|||
)
|
||||
|
||||
// S3 is a client for Amazon S3.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01
|
||||
type S3 struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -24,8 +25,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "s3"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "s3" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the S3 client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -38,7 +42,7 @@ const ServiceName = "s3"
|
|||
// // Create a S3 client with additional configuration
|
||||
// svc := s3.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *S3 {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -18,8 +18,9 @@ import (
|
|||
// For a list of Amazon SES endpoints to use in service requests, see Regions
|
||||
// and Amazon SES (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/regions.html)
|
||||
// in the Amazon SES Developer Guide.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01
|
||||
type SES struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -30,8 +31,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "email"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "email" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the SES client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -44,7 +48,7 @@ const ServiceName = "email"
|
|||
// // Create a SES client with additional configuration
|
||||
// svc := ses.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *SES {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ const opBatchDeleteAttributes = "BatchDeleteAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//BatchDeleteAttributes
|
||||
func (c *SimpleDB) BatchDeleteAttributesRequest(input *BatchDeleteAttributesInput) (req *request.Request, output *BatchDeleteAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opBatchDeleteAttributes,
|
||||
|
@ -90,6 +91,7 @@ func (c *SimpleDB) BatchDeleteAttributesRequest(input *BatchDeleteAttributesInpu
|
|||
//
|
||||
// See the AWS API reference guide for Amazon SimpleDB's
|
||||
// API operation BatchDeleteAttributes for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//BatchDeleteAttributes
|
||||
func (c *SimpleDB) BatchDeleteAttributes(input *BatchDeleteAttributesInput) (*BatchDeleteAttributesOutput, error) {
|
||||
req, out := c.BatchDeleteAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -122,6 +124,7 @@ const opBatchPutAttributes = "BatchPutAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//BatchPutAttributes
|
||||
func (c *SimpleDB) BatchPutAttributesRequest(input *BatchPutAttributesInput) (req *request.Request, output *BatchPutAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opBatchPutAttributes,
|
||||
|
@ -222,6 +225,7 @@ func (c *SimpleDB) BatchPutAttributesRequest(input *BatchPutAttributesInput) (re
|
|||
// * NumberSubmittedAttributesExceeded
|
||||
// Too many attributes exist in a single call.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//BatchPutAttributes
|
||||
func (c *SimpleDB) BatchPutAttributes(input *BatchPutAttributesInput) (*BatchPutAttributesOutput, error) {
|
||||
req, out := c.BatchPutAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -254,6 +258,7 @@ const opCreateDomain = "CreateDomain"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//CreateDomain
|
||||
func (c *SimpleDB) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateDomain,
|
||||
|
@ -302,6 +307,7 @@ func (c *SimpleDB) CreateDomainRequest(input *CreateDomainInput) (req *request.R
|
|||
// * NumberDomainsExceeded
|
||||
// Too many domains exist per this account.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//CreateDomain
|
||||
func (c *SimpleDB) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) {
|
||||
req, out := c.CreateDomainRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -334,6 +340,7 @@ const opDeleteAttributes = "DeleteAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//DeleteAttributes
|
||||
func (c *SimpleDB) DeleteAttributesRequest(input *DeleteAttributesInput) (req *request.Request, output *DeleteAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteAttributes,
|
||||
|
@ -387,6 +394,7 @@ func (c *SimpleDB) DeleteAttributesRequest(input *DeleteAttributesInput) (req *r
|
|||
// * AttributeDoesNotExist
|
||||
// The specified attribute does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//DeleteAttributes
|
||||
func (c *SimpleDB) DeleteAttributes(input *DeleteAttributesInput) (*DeleteAttributesOutput, error) {
|
||||
req, out := c.DeleteAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -419,6 +427,7 @@ const opDeleteDomain = "DeleteDomain"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//DeleteDomain
|
||||
func (c *SimpleDB) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteDomain,
|
||||
|
@ -458,6 +467,7 @@ func (c *SimpleDB) DeleteDomainRequest(input *DeleteDomainInput) (req *request.R
|
|||
// * MissingParameter
|
||||
// The request must contain the specified missing parameter.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//DeleteDomain
|
||||
func (c *SimpleDB) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) {
|
||||
req, out := c.DeleteDomainRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -490,6 +500,7 @@ const opDomainMetadata = "DomainMetadata"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//DomainMetadata
|
||||
func (c *SimpleDB) DomainMetadataRequest(input *DomainMetadataInput) (req *request.Request, output *DomainMetadataOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDomainMetadata,
|
||||
|
@ -527,6 +538,7 @@ func (c *SimpleDB) DomainMetadataRequest(input *DomainMetadataInput) (req *reque
|
|||
// * NoSuchDomain
|
||||
// The specified domain does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//DomainMetadata
|
||||
func (c *SimpleDB) DomainMetadata(input *DomainMetadataInput) (*DomainMetadataOutput, error) {
|
||||
req, out := c.DomainMetadataRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -559,6 +571,7 @@ const opGetAttributes = "GetAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//GetAttributes
|
||||
func (c *SimpleDB) GetAttributesRequest(input *GetAttributesInput) (req *request.Request, output *GetAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetAttributes,
|
||||
|
@ -606,6 +619,7 @@ func (c *SimpleDB) GetAttributesRequest(input *GetAttributesInput) (req *request
|
|||
// * NoSuchDomain
|
||||
// The specified domain does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//GetAttributes
|
||||
func (c *SimpleDB) GetAttributes(input *GetAttributesInput) (*GetAttributesOutput, error) {
|
||||
req, out := c.GetAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -638,6 +652,7 @@ const opListDomains = "ListDomains"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//ListDomains
|
||||
func (c *SimpleDB) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListDomains,
|
||||
|
@ -684,6 +699,7 @@ func (c *SimpleDB) ListDomainsRequest(input *ListDomainsInput) (req *request.Req
|
|||
// * InvalidNextToken
|
||||
// The specified NextToken is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//ListDomains
|
||||
func (c *SimpleDB) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) {
|
||||
req, out := c.ListDomainsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -741,6 +757,7 @@ const opPutAttributes = "PutAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//PutAttributes
|
||||
func (c *SimpleDB) PutAttributesRequest(input *PutAttributesInput) (req *request.Request, output *PutAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutAttributes,
|
||||
|
@ -823,6 +840,7 @@ func (c *SimpleDB) PutAttributesRequest(input *PutAttributesInput) (req *request
|
|||
// * AttributeDoesNotExist
|
||||
// The specified attribute does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//PutAttributes
|
||||
func (c *SimpleDB) PutAttributes(input *PutAttributesInput) (*PutAttributesOutput, error) {
|
||||
req, out := c.PutAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -855,6 +873,7 @@ const opSelect = "Select"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//Select
|
||||
func (c *SimpleDB) SelectRequest(input *SelectInput) (req *request.Request, output *SelectOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSelect,
|
||||
|
@ -928,6 +947,7 @@ func (c *SimpleDB) SelectRequest(input *SelectInput) (req *request.Request, outp
|
|||
// * TooManyRequestedAttributes
|
||||
// Too many attributes requested.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//Select
|
||||
func (c *SimpleDB) Select(input *SelectInput) (*SelectOutput, error) {
|
||||
req, out := c.SelectRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -959,6 +979,7 @@ func (c *SimpleDB) SelectPages(input *SelectInput, fn func(p *SelectOutput, last
|
|||
})
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//Attribute
|
||||
type Attribute struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1011,6 +1032,7 @@ func (s *Attribute) SetValue(v string) *Attribute {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//BatchDeleteAttributesRequest
|
||||
type BatchDeleteAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1073,6 +1095,7 @@ func (s *BatchDeleteAttributesInput) SetItems(v []*DeletableItem) *BatchDeleteAt
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//BatchDeleteAttributesOutput
|
||||
type BatchDeleteAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1087,6 +1110,7 @@ func (s BatchDeleteAttributesOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//BatchPutAttributesRequest
|
||||
type BatchPutAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1149,6 +1173,7 @@ func (s *BatchPutAttributesInput) SetItems(v []*ReplaceableItem) *BatchPutAttrib
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//BatchPutAttributesOutput
|
||||
type BatchPutAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1163,6 +1188,7 @@ func (s BatchPutAttributesOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//CreateDomainRequest
|
||||
type CreateDomainInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1202,6 +1228,7 @@ func (s *CreateDomainInput) SetDomainName(v string) *CreateDomainInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//CreateDomainOutput
|
||||
type CreateDomainOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1216,6 +1243,7 @@ func (s CreateDomainOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//DeletableAttribute
|
||||
type DeletableAttribute struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1263,6 +1291,7 @@ func (s *DeletableAttribute) SetValue(v string) *DeletableAttribute {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//DeletableItem
|
||||
type DeletableItem struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1317,6 +1346,7 @@ func (s *DeletableItem) SetName(v string) *DeletableItem {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//DeleteAttributesRequest
|
||||
type DeleteAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1401,6 +1431,7 @@ func (s *DeleteAttributesInput) SetItemName(v string) *DeleteAttributesInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//DeleteAttributesOutput
|
||||
type DeleteAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1415,6 +1446,7 @@ func (s DeleteAttributesOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//DeleteDomainRequest
|
||||
type DeleteDomainInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1453,6 +1485,7 @@ func (s *DeleteDomainInput) SetDomainName(v string) *DeleteDomainInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//DeleteDomainOutput
|
||||
type DeleteDomainOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1467,6 +1500,7 @@ func (s DeleteDomainOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//DomainMetadataRequest
|
||||
type DomainMetadataInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1505,6 +1539,7 @@ func (s *DomainMetadataInput) SetDomainName(v string) *DomainMetadataInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//DomainMetadataResult
|
||||
type DomainMetadataOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1582,6 +1617,7 @@ func (s *DomainMetadataOutput) SetTimestamp(v int64) *DomainMetadataOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//GetAttributesRequest
|
||||
type GetAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1653,6 +1689,7 @@ func (s *GetAttributesInput) SetItemName(v string) *GetAttributesInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//GetAttributesResult
|
||||
type GetAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1676,6 +1713,7 @@ func (s *GetAttributesOutput) SetAttributes(v []*Attribute) *GetAttributesOutput
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//Item
|
||||
type Item struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1720,6 +1758,7 @@ func (s *Item) SetName(v string) *Item {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//ListDomainsRequest
|
||||
type ListDomainsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1754,6 +1793,7 @@ func (s *ListDomainsInput) SetNextToken(v string) *ListDomainsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//ListDomainsResult
|
||||
type ListDomainsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1787,6 +1827,7 @@ func (s *ListDomainsOutput) SetNextToken(v string) *ListDomainsOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//PutAttributesRequest
|
||||
type PutAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1874,6 +1915,7 @@ func (s *PutAttributesInput) SetItemName(v string) *PutAttributesInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//PutAttributesOutput
|
||||
type PutAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1888,6 +1930,7 @@ func (s PutAttributesOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//ReplaceableAttribute
|
||||
type ReplaceableAttribute struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1950,6 +1993,7 @@ func (s *ReplaceableAttribute) SetValue(v string) *ReplaceableAttribute {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//ReplaceableItem
|
||||
type ReplaceableItem struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2012,6 +2056,7 @@ func (s *ReplaceableItem) SetName(v string) *ReplaceableItem {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//SelectRequest
|
||||
type SelectInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2069,6 +2114,7 @@ func (s *SelectInput) SetSelectExpression(v string) *SelectInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//SelectResult
|
||||
type SelectOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2105,6 +2151,7 @@ func (s *SelectOutput) SetNextToken(v string) *SelectOutput {
|
|||
// condition is specified for a request, the data will only be updated if the
|
||||
// condition is satisfied. For example, if an attribute with a specific name
|
||||
// and value exists, or if a specific attribute doesn't exist.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI//UpdateCondition
|
||||
type UpdateCondition struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -27,8 +27,9 @@ import (
|
|||
//
|
||||
// Visit http://aws.amazon.com/simpledb/ (http://aws.amazon.com/simpledb/) for
|
||||
// more information.
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/
|
||||
type SimpleDB struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -39,8 +40,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "sdb"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "sdb" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the SimpleDB client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -53,7 +57,7 @@ const ServiceName = "sdb"
|
|||
// // Create a SimpleDB client with additional configuration
|
||||
// svc := simpledb.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *SimpleDB {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ const opAddPermission = "AddPermission"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AddPermission
|
||||
func (c *SNS) AddPermissionRequest(input *AddPermissionInput) (req *request.Request, output *AddPermissionOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opAddPermission,
|
||||
|
@ -82,6 +83,7 @@ func (c *SNS) AddPermissionRequest(input *AddPermissionInput) (req *request.Requ
|
|||
// * NotFound
|
||||
// Indicates that the requested resource does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AddPermission
|
||||
func (c *SNS) AddPermission(input *AddPermissionInput) (*AddPermissionOutput, error) {
|
||||
req, out := c.AddPermissionRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -114,6 +116,7 @@ const opCheckIfPhoneNumberIsOptedOut = "CheckIfPhoneNumberIsOptedOut"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CheckIfPhoneNumberIsOptedOut
|
||||
func (c *SNS) CheckIfPhoneNumberIsOptedOutRequest(input *CheckIfPhoneNumberIsOptedOutInput) (req *request.Request, output *CheckIfPhoneNumberIsOptedOutOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCheckIfPhoneNumberIsOptedOut,
|
||||
|
@ -161,6 +164,7 @@ func (c *SNS) CheckIfPhoneNumberIsOptedOutRequest(input *CheckIfPhoneNumberIsOpt
|
|||
// * InvalidParameter
|
||||
// Indicates that a request parameter does not comply with the associated constraints.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CheckIfPhoneNumberIsOptedOut
|
||||
func (c *SNS) CheckIfPhoneNumberIsOptedOut(input *CheckIfPhoneNumberIsOptedOutInput) (*CheckIfPhoneNumberIsOptedOutOutput, error) {
|
||||
req, out := c.CheckIfPhoneNumberIsOptedOutRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -193,6 +197,7 @@ const opConfirmSubscription = "ConfirmSubscription"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscription
|
||||
func (c *SNS) ConfirmSubscriptionRequest(input *ConfirmSubscriptionInput) (req *request.Request, output *ConfirmSubscriptionOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opConfirmSubscription,
|
||||
|
@ -241,6 +246,7 @@ func (c *SNS) ConfirmSubscriptionRequest(input *ConfirmSubscriptionInput) (req *
|
|||
// * AuthorizationError
|
||||
// Indicates that the user has been denied access to the requested resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscription
|
||||
func (c *SNS) ConfirmSubscription(input *ConfirmSubscriptionInput) (*ConfirmSubscriptionOutput, error) {
|
||||
req, out := c.ConfirmSubscriptionRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -273,6 +279,7 @@ const opCreatePlatformApplication = "CreatePlatformApplication"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplication
|
||||
func (c *SNS) CreatePlatformApplicationRequest(input *CreatePlatformApplicationInput) (req *request.Request, output *CreatePlatformApplicationOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreatePlatformApplication,
|
||||
|
@ -336,6 +343,7 @@ func (c *SNS) CreatePlatformApplicationRequest(input *CreatePlatformApplicationI
|
|||
// * AuthorizationError
|
||||
// Indicates that the user has been denied access to the requested resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplication
|
||||
func (c *SNS) CreatePlatformApplication(input *CreatePlatformApplicationInput) (*CreatePlatformApplicationOutput, error) {
|
||||
req, out := c.CreatePlatformApplicationRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -368,6 +376,7 @@ const opCreatePlatformEndpoint = "CreatePlatformEndpoint"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformEndpoint
|
||||
func (c *SNS) CreatePlatformEndpointRequest(input *CreatePlatformEndpointInput) (req *request.Request, output *CreatePlatformEndpointOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreatePlatformEndpoint,
|
||||
|
@ -422,6 +431,7 @@ func (c *SNS) CreatePlatformEndpointRequest(input *CreatePlatformEndpointInput)
|
|||
// * NotFound
|
||||
// Indicates that the requested resource does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformEndpoint
|
||||
func (c *SNS) CreatePlatformEndpoint(input *CreatePlatformEndpointInput) (*CreatePlatformEndpointOutput, error) {
|
||||
req, out := c.CreatePlatformEndpointRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -454,6 +464,7 @@ const opCreateTopic = "CreateTopic"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopic
|
||||
func (c *SNS) CreateTopicRequest(input *CreateTopicInput) (req *request.Request, output *CreateTopicOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateTopic,
|
||||
|
@ -499,6 +510,7 @@ func (c *SNS) CreateTopicRequest(input *CreateTopicInput) (req *request.Request,
|
|||
// * AuthorizationError
|
||||
// Indicates that the user has been denied access to the requested resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopic
|
||||
func (c *SNS) CreateTopic(input *CreateTopicInput) (*CreateTopicOutput, error) {
|
||||
req, out := c.CreateTopicRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -531,6 +543,7 @@ const opDeleteEndpoint = "DeleteEndpoint"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpoint
|
||||
func (c *SNS) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteEndpoint,
|
||||
|
@ -576,6 +589,7 @@ func (c *SNS) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Re
|
|||
// * AuthorizationError
|
||||
// Indicates that the user has been denied access to the requested resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpoint
|
||||
func (c *SNS) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error) {
|
||||
req, out := c.DeleteEndpointRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -608,6 +622,7 @@ const opDeletePlatformApplication = "DeletePlatformApplication"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeletePlatformApplication
|
||||
func (c *SNS) DeletePlatformApplicationRequest(input *DeletePlatformApplicationInput) (req *request.Request, output *DeletePlatformApplicationOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeletePlatformApplication,
|
||||
|
@ -650,6 +665,7 @@ func (c *SNS) DeletePlatformApplicationRequest(input *DeletePlatformApplicationI
|
|||
// * AuthorizationError
|
||||
// Indicates that the user has been denied access to the requested resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeletePlatformApplication
|
||||
func (c *SNS) DeletePlatformApplication(input *DeletePlatformApplicationInput) (*DeletePlatformApplicationOutput, error) {
|
||||
req, out := c.DeletePlatformApplicationRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -682,6 +698,7 @@ const opDeleteTopic = "DeleteTopic"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteTopic
|
||||
func (c *SNS) DeleteTopicRequest(input *DeleteTopicInput) (req *request.Request, output *DeleteTopicOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteTopic,
|
||||
|
@ -728,6 +745,7 @@ func (c *SNS) DeleteTopicRequest(input *DeleteTopicInput) (req *request.Request,
|
|||
// * NotFound
|
||||
// Indicates that the requested resource does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteTopic
|
||||
func (c *SNS) DeleteTopic(input *DeleteTopicInput) (*DeleteTopicOutput, error) {
|
||||
req, out := c.DeleteTopicRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -760,6 +778,7 @@ const opGetEndpointAttributes = "GetEndpointAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributes
|
||||
func (c *SNS) GetEndpointAttributesRequest(input *GetEndpointAttributesInput) (req *request.Request, output *GetEndpointAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetEndpointAttributes,
|
||||
|
@ -803,6 +822,7 @@ func (c *SNS) GetEndpointAttributesRequest(input *GetEndpointAttributesInput) (r
|
|||
// * NotFound
|
||||
// Indicates that the requested resource does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributes
|
||||
func (c *SNS) GetEndpointAttributes(input *GetEndpointAttributesInput) (*GetEndpointAttributesOutput, error) {
|
||||
req, out := c.GetEndpointAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -835,6 +855,7 @@ const opGetPlatformApplicationAttributes = "GetPlatformApplicationAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributes
|
||||
func (c *SNS) GetPlatformApplicationAttributesRequest(input *GetPlatformApplicationAttributesInput) (req *request.Request, output *GetPlatformApplicationAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetPlatformApplicationAttributes,
|
||||
|
@ -878,6 +899,7 @@ func (c *SNS) GetPlatformApplicationAttributesRequest(input *GetPlatformApplicat
|
|||
// * NotFound
|
||||
// Indicates that the requested resource does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributes
|
||||
func (c *SNS) GetPlatformApplicationAttributes(input *GetPlatformApplicationAttributesInput) (*GetPlatformApplicationAttributesOutput, error) {
|
||||
req, out := c.GetPlatformApplicationAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -910,6 +932,7 @@ const opGetSMSAttributes = "GetSMSAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributes
|
||||
func (c *SNS) GetSMSAttributesRequest(input *GetSMSAttributesInput) (req *request.Request, output *GetSMSAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetSMSAttributes,
|
||||
|
@ -954,6 +977,7 @@ func (c *SNS) GetSMSAttributesRequest(input *GetSMSAttributesInput) (req *reques
|
|||
// * InvalidParameter
|
||||
// Indicates that a request parameter does not comply with the associated constraints.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributes
|
||||
func (c *SNS) GetSMSAttributes(input *GetSMSAttributesInput) (*GetSMSAttributesOutput, error) {
|
||||
req, out := c.GetSMSAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -986,6 +1010,7 @@ const opGetSubscriptionAttributes = "GetSubscriptionAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributes
|
||||
func (c *SNS) GetSubscriptionAttributesRequest(input *GetSubscriptionAttributesInput) (req *request.Request, output *GetSubscriptionAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetSubscriptionAttributes,
|
||||
|
@ -1027,6 +1052,7 @@ func (c *SNS) GetSubscriptionAttributesRequest(input *GetSubscriptionAttributesI
|
|||
// * AuthorizationError
|
||||
// Indicates that the user has been denied access to the requested resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributes
|
||||
func (c *SNS) GetSubscriptionAttributes(input *GetSubscriptionAttributesInput) (*GetSubscriptionAttributesOutput, error) {
|
||||
req, out := c.GetSubscriptionAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1059,6 +1085,7 @@ const opGetTopicAttributes = "GetTopicAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetTopicAttributes
|
||||
func (c *SNS) GetTopicAttributesRequest(input *GetTopicAttributesInput) (req *request.Request, output *GetTopicAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetTopicAttributes,
|
||||
|
@ -1101,6 +1128,7 @@ func (c *SNS) GetTopicAttributesRequest(input *GetTopicAttributesInput) (req *re
|
|||
// * AuthorizationError
|
||||
// Indicates that the user has been denied access to the requested resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetTopicAttributes
|
||||
func (c *SNS) GetTopicAttributes(input *GetTopicAttributesInput) (*GetTopicAttributesOutput, error) {
|
||||
req, out := c.GetTopicAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1133,6 +1161,7 @@ const opListEndpointsByPlatformApplication = "ListEndpointsByPlatformApplication
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplication
|
||||
func (c *SNS) ListEndpointsByPlatformApplicationRequest(input *ListEndpointsByPlatformApplicationInput) (req *request.Request, output *ListEndpointsByPlatformApplicationOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListEndpointsByPlatformApplication,
|
||||
|
@ -1187,6 +1216,7 @@ func (c *SNS) ListEndpointsByPlatformApplicationRequest(input *ListEndpointsByPl
|
|||
// * NotFound
|
||||
// Indicates that the requested resource does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplication
|
||||
func (c *SNS) ListEndpointsByPlatformApplication(input *ListEndpointsByPlatformApplicationInput) (*ListEndpointsByPlatformApplicationOutput, error) {
|
||||
req, out := c.ListEndpointsByPlatformApplicationRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1244,6 +1274,7 @@ const opListPhoneNumbersOptedOut = "ListPhoneNumbersOptedOut"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPhoneNumbersOptedOut
|
||||
func (c *SNS) ListPhoneNumbersOptedOutRequest(input *ListPhoneNumbersOptedOutInput) (req *request.Request, output *ListPhoneNumbersOptedOutOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListPhoneNumbersOptedOut,
|
||||
|
@ -1294,6 +1325,7 @@ func (c *SNS) ListPhoneNumbersOptedOutRequest(input *ListPhoneNumbersOptedOutInp
|
|||
// * InvalidParameter
|
||||
// Indicates that a request parameter does not comply with the associated constraints.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPhoneNumbersOptedOut
|
||||
func (c *SNS) ListPhoneNumbersOptedOut(input *ListPhoneNumbersOptedOutInput) (*ListPhoneNumbersOptedOutOutput, error) {
|
||||
req, out := c.ListPhoneNumbersOptedOutRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1326,6 +1358,7 @@ const opListPlatformApplications = "ListPlatformApplications"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplications
|
||||
func (c *SNS) ListPlatformApplicationsRequest(input *ListPlatformApplicationsInput) (req *request.Request, output *ListPlatformApplicationsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListPlatformApplications,
|
||||
|
@ -1377,6 +1410,7 @@ func (c *SNS) ListPlatformApplicationsRequest(input *ListPlatformApplicationsInp
|
|||
// * AuthorizationError
|
||||
// Indicates that the user has been denied access to the requested resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplications
|
||||
func (c *SNS) ListPlatformApplications(input *ListPlatformApplicationsInput) (*ListPlatformApplicationsOutput, error) {
|
||||
req, out := c.ListPlatformApplicationsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1434,6 +1468,7 @@ const opListSubscriptions = "ListSubscriptions"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptions
|
||||
func (c *SNS) ListSubscriptionsRequest(input *ListSubscriptionsInput) (req *request.Request, output *ListSubscriptionsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListSubscriptions,
|
||||
|
@ -1481,6 +1516,7 @@ func (c *SNS) ListSubscriptionsRequest(input *ListSubscriptionsInput) (req *requ
|
|||
// * AuthorizationError
|
||||
// Indicates that the user has been denied access to the requested resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptions
|
||||
func (c *SNS) ListSubscriptions(input *ListSubscriptionsInput) (*ListSubscriptionsOutput, error) {
|
||||
req, out := c.ListSubscriptionsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1538,6 +1574,7 @@ const opListSubscriptionsByTopic = "ListSubscriptionsByTopic"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopic
|
||||
func (c *SNS) ListSubscriptionsByTopicRequest(input *ListSubscriptionsByTopicInput) (req *request.Request, output *ListSubscriptionsByTopicOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListSubscriptionsByTopic,
|
||||
|
@ -1588,6 +1625,7 @@ func (c *SNS) ListSubscriptionsByTopicRequest(input *ListSubscriptionsByTopicInp
|
|||
// * AuthorizationError
|
||||
// Indicates that the user has been denied access to the requested resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopic
|
||||
func (c *SNS) ListSubscriptionsByTopic(input *ListSubscriptionsByTopicInput) (*ListSubscriptionsByTopicOutput, error) {
|
||||
req, out := c.ListSubscriptionsByTopicRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1645,6 +1683,7 @@ const opListTopics = "ListTopics"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTopics
|
||||
func (c *SNS) ListTopicsRequest(input *ListTopicsInput) (req *request.Request, output *ListTopicsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListTopics,
|
||||
|
@ -1691,6 +1730,7 @@ func (c *SNS) ListTopicsRequest(input *ListTopicsInput) (req *request.Request, o
|
|||
// * AuthorizationError
|
||||
// Indicates that the user has been denied access to the requested resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTopics
|
||||
func (c *SNS) ListTopics(input *ListTopicsInput) (*ListTopicsOutput, error) {
|
||||
req, out := c.ListTopicsRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1748,6 +1788,7 @@ const opOptInPhoneNumber = "OptInPhoneNumber"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumber
|
||||
func (c *SNS) OptInPhoneNumberRequest(input *OptInPhoneNumberInput) (req *request.Request, output *OptInPhoneNumberOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opOptInPhoneNumber,
|
||||
|
@ -1793,6 +1834,7 @@ func (c *SNS) OptInPhoneNumberRequest(input *OptInPhoneNumberInput) (req *reques
|
|||
// * InvalidParameter
|
||||
// Indicates that a request parameter does not comply with the associated constraints.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumber
|
||||
func (c *SNS) OptInPhoneNumber(input *OptInPhoneNumberInput) (*OptInPhoneNumberOutput, error) {
|
||||
req, out := c.OptInPhoneNumberRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1825,6 +1867,7 @@ const opPublish = "Publish"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Publish
|
||||
func (c *SNS) PublishRequest(input *PublishInput) (req *request.Request, output *PublishOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPublish,
|
||||
|
@ -1886,6 +1929,7 @@ func (c *SNS) PublishRequest(input *PublishInput) (req *request.Request, output
|
|||
// * AuthorizationError
|
||||
// Indicates that the user has been denied access to the requested resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Publish
|
||||
func (c *SNS) Publish(input *PublishInput) (*PublishOutput, error) {
|
||||
req, out := c.PublishRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1918,6 +1962,7 @@ const opRemovePermission = "RemovePermission"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermission
|
||||
func (c *SNS) RemovePermissionRequest(input *RemovePermissionInput) (req *request.Request, output *RemovePermissionOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opRemovePermission,
|
||||
|
@ -1961,6 +2006,7 @@ func (c *SNS) RemovePermissionRequest(input *RemovePermissionInput) (req *reques
|
|||
// * NotFound
|
||||
// Indicates that the requested resource does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermission
|
||||
func (c *SNS) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error) {
|
||||
req, out := c.RemovePermissionRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -1993,6 +2039,7 @@ const opSetEndpointAttributes = "SetEndpointAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetEndpointAttributes
|
||||
func (c *SNS) SetEndpointAttributesRequest(input *SetEndpointAttributesInput) (req *request.Request, output *SetEndpointAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSetEndpointAttributes,
|
||||
|
@ -2038,6 +2085,7 @@ func (c *SNS) SetEndpointAttributesRequest(input *SetEndpointAttributesInput) (r
|
|||
// * NotFound
|
||||
// Indicates that the requested resource does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetEndpointAttributes
|
||||
func (c *SNS) SetEndpointAttributes(input *SetEndpointAttributesInput) (*SetEndpointAttributesOutput, error) {
|
||||
req, out := c.SetEndpointAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2070,6 +2118,7 @@ const opSetPlatformApplicationAttributes = "SetPlatformApplicationAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetPlatformApplicationAttributes
|
||||
func (c *SNS) SetPlatformApplicationAttributesRequest(input *SetPlatformApplicationAttributesInput) (req *request.Request, output *SetPlatformApplicationAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSetPlatformApplicationAttributes,
|
||||
|
@ -2117,6 +2166,7 @@ func (c *SNS) SetPlatformApplicationAttributesRequest(input *SetPlatformApplicat
|
|||
// * NotFound
|
||||
// Indicates that the requested resource does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetPlatformApplicationAttributes
|
||||
func (c *SNS) SetPlatformApplicationAttributes(input *SetPlatformApplicationAttributesInput) (*SetPlatformApplicationAttributesOutput, error) {
|
||||
req, out := c.SetPlatformApplicationAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2149,6 +2199,7 @@ const opSetSMSAttributes = "SetSMSAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSMSAttributes
|
||||
func (c *SNS) SetSMSAttributesRequest(input *SetSMSAttributesInput) (req *request.Request, output *SetSMSAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSetSMSAttributes,
|
||||
|
@ -2197,6 +2248,7 @@ func (c *SNS) SetSMSAttributesRequest(input *SetSMSAttributesInput) (req *reques
|
|||
// * AuthorizationError
|
||||
// Indicates that the user has been denied access to the requested resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSMSAttributes
|
||||
func (c *SNS) SetSMSAttributes(input *SetSMSAttributesInput) (*SetSMSAttributesOutput, error) {
|
||||
req, out := c.SetSMSAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2229,6 +2281,7 @@ const opSetSubscriptionAttributes = "SetSubscriptionAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSubscriptionAttributes
|
||||
func (c *SNS) SetSubscriptionAttributesRequest(input *SetSubscriptionAttributesInput) (req *request.Request, output *SetSubscriptionAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSetSubscriptionAttributes,
|
||||
|
@ -2272,6 +2325,7 @@ func (c *SNS) SetSubscriptionAttributesRequest(input *SetSubscriptionAttributesI
|
|||
// * AuthorizationError
|
||||
// Indicates that the user has been denied access to the requested resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSubscriptionAttributes
|
||||
func (c *SNS) SetSubscriptionAttributes(input *SetSubscriptionAttributesInput) (*SetSubscriptionAttributesOutput, error) {
|
||||
req, out := c.SetSubscriptionAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2304,6 +2358,7 @@ const opSetTopicAttributes = "SetTopicAttributes"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetTopicAttributes
|
||||
func (c *SNS) SetTopicAttributesRequest(input *SetTopicAttributesInput) (req *request.Request, output *SetTopicAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSetTopicAttributes,
|
||||
|
@ -2347,6 +2402,7 @@ func (c *SNS) SetTopicAttributesRequest(input *SetTopicAttributesInput) (req *re
|
|||
// * AuthorizationError
|
||||
// Indicates that the user has been denied access to the requested resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetTopicAttributes
|
||||
func (c *SNS) SetTopicAttributes(input *SetTopicAttributesInput) (*SetTopicAttributesOutput, error) {
|
||||
req, out := c.SetTopicAttributesRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2379,6 +2435,7 @@ const opSubscribe = "Subscribe"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Subscribe
|
||||
func (c *SNS) SubscribeRequest(input *SubscribeInput) (req *request.Request, output *SubscribeOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opSubscribe,
|
||||
|
@ -2426,6 +2483,7 @@ func (c *SNS) SubscribeRequest(input *SubscribeInput) (req *request.Request, out
|
|||
// * AuthorizationError
|
||||
// Indicates that the user has been denied access to the requested resource.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Subscribe
|
||||
func (c *SNS) Subscribe(input *SubscribeInput) (*SubscribeOutput, error) {
|
||||
req, out := c.SubscribeRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -2458,6 +2516,7 @@ const opUnsubscribe = "Unsubscribe"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Unsubscribe
|
||||
func (c *SNS) UnsubscribeRequest(input *UnsubscribeInput) (req *request.Request, output *UnsubscribeOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUnsubscribe,
|
||||
|
@ -2506,12 +2565,14 @@ func (c *SNS) UnsubscribeRequest(input *UnsubscribeInput) (req *request.Request,
|
|||
// * NotFound
|
||||
// Indicates that the requested resource does not exist.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Unsubscribe
|
||||
func (c *SNS) Unsubscribe(input *UnsubscribeInput) (*UnsubscribeOutput, error) {
|
||||
req, out := c.UnsubscribeRequest(input)
|
||||
err := req.Send()
|
||||
return out, err
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AddPermissionInput
|
||||
type AddPermissionInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2596,6 +2657,7 @@ func (s *AddPermissionInput) SetTopicArn(v string) *AddPermissionInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AddPermissionOutput
|
||||
type AddPermissionOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2611,6 +2673,7 @@ func (s AddPermissionOutput) GoString() string {
|
|||
}
|
||||
|
||||
// The input for the CheckIfPhoneNumberIsOptedOut action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CheckIfPhoneNumberIsOptedOutInput
|
||||
type CheckIfPhoneNumberIsOptedOutInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2650,6 +2713,7 @@ func (s *CheckIfPhoneNumberIsOptedOutInput) SetPhoneNumber(v string) *CheckIfPho
|
|||
}
|
||||
|
||||
// The response from the CheckIfPhoneNumberIsOptedOut action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CheckIfPhoneNumberIsOptedOutResponse
|
||||
type CheckIfPhoneNumberIsOptedOutOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2680,6 +2744,7 @@ func (s *CheckIfPhoneNumberIsOptedOutOutput) SetIsOptedOut(v bool) *CheckIfPhone
|
|||
}
|
||||
|
||||
// Input for ConfirmSubscription action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscriptionInput
|
||||
type ConfirmSubscriptionInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2745,6 +2810,7 @@ func (s *ConfirmSubscriptionInput) SetTopicArn(v string) *ConfirmSubscriptionInp
|
|||
}
|
||||
|
||||
// Response for ConfirmSubscriptions action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscriptionResponse
|
||||
type ConfirmSubscriptionOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2769,6 +2835,7 @@ func (s *ConfirmSubscriptionOutput) SetSubscriptionArn(v string) *ConfirmSubscri
|
|||
}
|
||||
|
||||
// Input for CreatePlatformApplication action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplicationInput
|
||||
type CreatePlatformApplicationInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2839,6 +2906,7 @@ func (s *CreatePlatformApplicationInput) SetPlatform(v string) *CreatePlatformAp
|
|||
}
|
||||
|
||||
// Response from CreatePlatformApplication action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplicationResponse
|
||||
type CreatePlatformApplicationOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2863,6 +2931,7 @@ func (s *CreatePlatformApplicationOutput) SetPlatformApplicationArn(v string) *C
|
|||
}
|
||||
|
||||
// Input for CreatePlatformEndpoint action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformEndpointInput
|
||||
type CreatePlatformEndpointInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2940,6 +3009,7 @@ func (s *CreatePlatformEndpointInput) SetToken(v string) *CreatePlatformEndpoint
|
|||
}
|
||||
|
||||
// Response from CreateEndpoint action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateEndpointResponse
|
||||
type CreatePlatformEndpointOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2964,6 +3034,7 @@ func (s *CreatePlatformEndpointOutput) SetEndpointArn(v string) *CreatePlatformE
|
|||
}
|
||||
|
||||
// Input for CreateTopic action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopicInput
|
||||
type CreateTopicInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3007,6 +3078,7 @@ func (s *CreateTopicInput) SetName(v string) *CreateTopicInput {
|
|||
}
|
||||
|
||||
// Response from CreateTopic action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopicResponse
|
||||
type CreateTopicOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3031,6 +3103,7 @@ func (s *CreateTopicOutput) SetTopicArn(v string) *CreateTopicOutput {
|
|||
}
|
||||
|
||||
// Input for DeleteEndpoint action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpointInput
|
||||
type DeleteEndpointInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3069,6 +3142,7 @@ func (s *DeleteEndpointInput) SetEndpointArn(v string) *DeleteEndpointInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpointOutput
|
||||
type DeleteEndpointOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3084,6 +3158,7 @@ func (s DeleteEndpointOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Input for DeletePlatformApplication action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeletePlatformApplicationInput
|
||||
type DeletePlatformApplicationInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3122,6 +3197,7 @@ func (s *DeletePlatformApplicationInput) SetPlatformApplicationArn(v string) *De
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeletePlatformApplicationOutput
|
||||
type DeletePlatformApplicationOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3136,6 +3212,7 @@ func (s DeletePlatformApplicationOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteTopicInput
|
||||
type DeleteTopicInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3174,6 +3251,7 @@ func (s *DeleteTopicInput) SetTopicArn(v string) *DeleteTopicInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteTopicOutput
|
||||
type DeleteTopicOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3189,6 +3267,7 @@ func (s DeleteTopicOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Endpoint for mobile app and device.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Endpoint
|
||||
type Endpoint struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3222,6 +3301,7 @@ func (s *Endpoint) SetEndpointArn(v string) *Endpoint {
|
|||
}
|
||||
|
||||
// Input for GetEndpointAttributes action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributesInput
|
||||
type GetEndpointAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3261,6 +3341,7 @@ func (s *GetEndpointAttributesInput) SetEndpointArn(v string) *GetEndpointAttrib
|
|||
}
|
||||
|
||||
// Response from GetEndpointAttributes of the EndpointArn.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributesResponse
|
||||
type GetEndpointAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3298,6 +3379,7 @@ func (s *GetEndpointAttributesOutput) SetAttributes(v map[string]*string) *GetEn
|
|||
}
|
||||
|
||||
// Input for GetPlatformApplicationAttributes action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributesInput
|
||||
type GetPlatformApplicationAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3337,6 +3419,7 @@ func (s *GetPlatformApplicationAttributesInput) SetPlatformApplicationArn(v stri
|
|||
}
|
||||
|
||||
// Response for GetPlatformApplicationAttributes action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributesResponse
|
||||
type GetPlatformApplicationAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3374,6 +3457,7 @@ func (s *GetPlatformApplicationAttributesOutput) SetAttributes(v map[string]*str
|
|||
}
|
||||
|
||||
// The input for the GetSMSAttributes request.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributesInput
|
||||
type GetSMSAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3403,6 +3487,7 @@ func (s *GetSMSAttributesInput) SetAttributes(v []*string) *GetSMSAttributesInpu
|
|||
}
|
||||
|
||||
// The response from the GetSMSAttributes request.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributesResponse
|
||||
type GetSMSAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3427,6 +3512,7 @@ func (s *GetSMSAttributesOutput) SetAttributes(v map[string]*string) *GetSMSAttr
|
|||
}
|
||||
|
||||
// Input for GetSubscriptionAttributes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributesInput
|
||||
type GetSubscriptionAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3466,6 +3552,7 @@ func (s *GetSubscriptionAttributesInput) SetSubscriptionArn(v string) *GetSubscr
|
|||
}
|
||||
|
||||
// Response for GetSubscriptionAttributes action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributesResponse
|
||||
type GetSubscriptionAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3507,6 +3594,7 @@ func (s *GetSubscriptionAttributesOutput) SetAttributes(v map[string]*string) *G
|
|||
}
|
||||
|
||||
// Input for GetTopicAttributes action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetTopicAttributesInput
|
||||
type GetTopicAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3546,6 +3634,7 @@ func (s *GetTopicAttributesInput) SetTopicArn(v string) *GetTopicAttributesInput
|
|||
}
|
||||
|
||||
// Response for GetTopicAttributes action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetTopicAttributesResponse
|
||||
type GetTopicAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3593,6 +3682,7 @@ func (s *GetTopicAttributesOutput) SetAttributes(v map[string]*string) *GetTopic
|
|||
}
|
||||
|
||||
// Input for ListEndpointsByPlatformApplication action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplicationInput
|
||||
type ListEndpointsByPlatformApplicationInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3643,6 +3733,7 @@ func (s *ListEndpointsByPlatformApplicationInput) SetPlatformApplicationArn(v st
|
|||
}
|
||||
|
||||
// Response for ListEndpointsByPlatformApplication action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplicationResponse
|
||||
type ListEndpointsByPlatformApplicationOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3677,6 +3768,7 @@ func (s *ListEndpointsByPlatformApplicationOutput) SetNextToken(v string) *ListE
|
|||
}
|
||||
|
||||
// The input for the ListPhoneNumbersOptedOut action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPhoneNumbersOptedOutInput
|
||||
type ListPhoneNumbersOptedOutInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3703,6 +3795,7 @@ func (s *ListPhoneNumbersOptedOutInput) SetNextToken(v string) *ListPhoneNumbers
|
|||
}
|
||||
|
||||
// The response from the ListPhoneNumbersOptedOut action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPhoneNumbersOptedOutResponse
|
||||
type ListPhoneNumbersOptedOutOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3738,6 +3831,7 @@ func (s *ListPhoneNumbersOptedOutOutput) SetPhoneNumbers(v []*string) *ListPhone
|
|||
}
|
||||
|
||||
// Input for ListPlatformApplications action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplicationsInput
|
||||
type ListPlatformApplicationsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3763,6 +3857,7 @@ func (s *ListPlatformApplicationsInput) SetNextToken(v string) *ListPlatformAppl
|
|||
}
|
||||
|
||||
// Response for ListPlatformApplications action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplicationsResponse
|
||||
type ListPlatformApplicationsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3797,6 +3892,7 @@ func (s *ListPlatformApplicationsOutput) SetPlatformApplications(v []*PlatformAp
|
|||
}
|
||||
|
||||
// Input for ListSubscriptionsByTopic action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopicInput
|
||||
type ListSubscriptionsByTopicInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3845,6 +3941,7 @@ func (s *ListSubscriptionsByTopicInput) SetTopicArn(v string) *ListSubscriptions
|
|||
}
|
||||
|
||||
// Response for ListSubscriptionsByTopic action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopicResponse
|
||||
type ListSubscriptionsByTopicOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3879,6 +3976,7 @@ func (s *ListSubscriptionsByTopicOutput) SetSubscriptions(v []*Subscription) *Li
|
|||
}
|
||||
|
||||
// Input for ListSubscriptions action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsInput
|
||||
type ListSubscriptionsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3903,6 +4001,7 @@ func (s *ListSubscriptionsInput) SetNextToken(v string) *ListSubscriptionsInput
|
|||
}
|
||||
|
||||
// Response for ListSubscriptions action
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsResponse
|
||||
type ListSubscriptionsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3936,6 +4035,7 @@ func (s *ListSubscriptionsOutput) SetSubscriptions(v []*Subscription) *ListSubsc
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTopicsInput
|
||||
type ListTopicsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3960,6 +4060,7 @@ func (s *ListTopicsInput) SetNextToken(v string) *ListTopicsInput {
|
|||
}
|
||||
|
||||
// Response for ListTopics action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTopicsResponse
|
||||
type ListTopicsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4002,6 +4103,7 @@ func (s *ListTopicsOutput) SetTopics(v []*Topic) *ListTopicsOutput {
|
|||
// name, type, and value, are included in the message size restriction, which
|
||||
// is currently 256 KB (262,144 bytes). For more information, see Using Amazon
|
||||
// SNS Message Attributes (http://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html).
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/MessageAttributeValue
|
||||
type MessageAttributeValue struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4064,6 +4166,7 @@ func (s *MessageAttributeValue) SetStringValue(v string) *MessageAttributeValue
|
|||
}
|
||||
|
||||
// Input for the OptInPhoneNumber action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumberInput
|
||||
type OptInPhoneNumberInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4103,6 +4206,7 @@ func (s *OptInPhoneNumberInput) SetPhoneNumber(v string) *OptInPhoneNumberInput
|
|||
}
|
||||
|
||||
// The response for the OptInPhoneNumber action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumberResponse
|
||||
type OptInPhoneNumberOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4118,6 +4222,7 @@ func (s OptInPhoneNumberOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Platform application object.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PlatformApplication
|
||||
type PlatformApplication struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4151,6 +4256,7 @@ func (s *PlatformApplication) SetPlatformApplicationArn(v string) *PlatformAppli
|
|||
}
|
||||
|
||||
// Input for Publish action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishInput
|
||||
type PublishInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4322,6 +4428,7 @@ func (s *PublishInput) SetTopicArn(v string) *PublishInput {
|
|||
}
|
||||
|
||||
// Response for Publish action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishResponse
|
||||
type PublishOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4348,6 +4455,7 @@ func (s *PublishOutput) SetMessageId(v string) *PublishOutput {
|
|||
}
|
||||
|
||||
// Input for RemovePermission action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermissionInput
|
||||
type RemovePermissionInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4400,6 +4508,7 @@ func (s *RemovePermissionInput) SetTopicArn(v string) *RemovePermissionInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermissionOutput
|
||||
type RemovePermissionOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4415,6 +4524,7 @@ func (s RemovePermissionOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Input for SetEndpointAttributes action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetEndpointAttributesInput
|
||||
type SetEndpointAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4480,6 +4590,7 @@ func (s *SetEndpointAttributesInput) SetEndpointArn(v string) *SetEndpointAttrib
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetEndpointAttributesOutput
|
||||
type SetEndpointAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4495,6 +4606,7 @@ func (s SetEndpointAttributesOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Input for SetPlatformApplicationAttributes action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetPlatformApplicationAttributesInput
|
||||
type SetPlatformApplicationAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4580,6 +4692,7 @@ func (s *SetPlatformApplicationAttributesInput) SetPlatformApplicationArn(v stri
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetPlatformApplicationAttributesOutput
|
||||
type SetPlatformApplicationAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4595,6 +4708,7 @@ func (s SetPlatformApplicationAttributesOutput) GoString() string {
|
|||
}
|
||||
|
||||
// The input for the SetSMSAttributes action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSMSAttributesInput
|
||||
type SetSMSAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4705,6 +4819,7 @@ func (s *SetSMSAttributesInput) SetAttributes(v map[string]*string) *SetSMSAttri
|
|||
}
|
||||
|
||||
// The response for the SetSMSAttributes action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSMSAttributesResponse
|
||||
type SetSMSAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4720,6 +4835,7 @@ func (s SetSMSAttributesOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Input for SetSubscriptionAttributes action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSubscriptionAttributesInput
|
||||
type SetSubscriptionAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4784,6 +4900,7 @@ func (s *SetSubscriptionAttributesInput) SetSubscriptionArn(v string) *SetSubscr
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSubscriptionAttributesOutput
|
||||
type SetSubscriptionAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4799,6 +4916,7 @@ func (s SetSubscriptionAttributesOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Input for SetTopicAttributes action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetTopicAttributesInput
|
||||
type SetTopicAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4863,6 +4981,7 @@ func (s *SetTopicAttributesInput) SetTopicArn(v string) *SetTopicAttributesInput
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetTopicAttributesOutput
|
||||
type SetTopicAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4878,6 +4997,7 @@ func (s SetTopicAttributesOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Input for Subscribe action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SubscribeInput
|
||||
type SubscribeInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4975,6 +5095,7 @@ func (s *SubscribeInput) SetTopicArn(v string) *SubscribeInput {
|
|||
}
|
||||
|
||||
// Response for Subscribe action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SubscribeResponse
|
||||
type SubscribeOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5000,6 +5121,7 @@ func (s *SubscribeOutput) SetSubscriptionArn(v string) *SubscribeOutput {
|
|||
}
|
||||
|
||||
// A wrapper type for the attributes of an Amazon SNS subscription.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Subscription
|
||||
type Subscription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5061,6 +5183,7 @@ func (s *Subscription) SetTopicArn(v string) *Subscription {
|
|||
|
||||
// A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a
|
||||
// topic's attributes, use GetTopicAttributes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Topic
|
||||
type Topic struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5085,6 +5208,7 @@ func (s *Topic) SetTopicArn(v string) *Topic {
|
|||
}
|
||||
|
||||
// Input for Unsubscribe action.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/UnsubscribeInput
|
||||
type UnsubscribeInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5123,6 +5247,7 @@ func (s *UnsubscribeInput) SetSubscriptionArn(v string) *UnsubscribeInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/UnsubscribeOutput
|
||||
type UnsubscribeOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
|
|
@ -24,8 +24,9 @@ import (
|
|||
// care of tasks such as: cryptographically signing your service requests, retrying
|
||||
// requests, and handling error responses. For a list of available SDKs, go
|
||||
// to Tools for Amazon Web Services (http://aws.amazon.com/tools/).
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31
|
||||
type SNS struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -36,8 +37,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "sns"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "sns" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the SNS client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -50,7 +54,7 @@ const ServiceName = "sns"
|
|||
// // Create a SNS client with additional configuration
|
||||
// svc := sns.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *SNS {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -11,40 +11,45 @@ import (
|
|||
"github.com/aws/aws-sdk-go/private/protocol/query"
|
||||
)
|
||||
|
||||
// Welcome to the Amazon Simple Queue Service API Reference. This section describes
|
||||
// who should read this guide, how the guide is organized, and other resources
|
||||
// related to the Amazon Simple Queue Service (Amazon SQS).
|
||||
// Welcome to the Amazon Simple Queue Service API Reference.
|
||||
//
|
||||
// Amazon SQS offers reliable and scalable hosted queues for storing messages
|
||||
// as they travel between computers. By using Amazon SQS, you can move data
|
||||
// between distributed components of your applications that perform different
|
||||
// tasks without losing messages or requiring each component to be always available.
|
||||
// Amazon Simple Queue Service (Amazon SQS) is a reliable, highly-scalable hosted
|
||||
// queue for storing messages as they travel between applications or microservices.
|
||||
// Amazon SQS moves data between distributed application components and helps
|
||||
// you decouple these components.
|
||||
//
|
||||
// Helpful Links
|
||||
// Standard queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/standard-queues.html)
|
||||
// are available in all regions. FIFO queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html)
|
||||
// are available in US West (Oregon) and US East (Ohio).
|
||||
//
|
||||
// * Making API Requests (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/MakingRequestsArticle.html)
|
||||
// You can use AWS SDKs (http://aws.amazon.com/tools/#sdk) to access Amazon
|
||||
// SQS using your favorite programming language. The SDKs perform tasks such
|
||||
// as the following automatically:
|
||||
//
|
||||
// * Amazon SQS product page (http://aws.amazon.com/sqs/)
|
||||
// * Cryptographically sign your service requests
|
||||
//
|
||||
// * Using Amazon SQS Message Attributes (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html)
|
||||
// * Retry requests
|
||||
//
|
||||
// * Using Amazon SQS Dead Letter Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html)
|
||||
// * Handle error responses
|
||||
//
|
||||
// * Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html#sqs_region)
|
||||
// Additional Information
|
||||
//
|
||||
// We also provide SDKs that enable you to access Amazon SQS from your preferred
|
||||
// programming language. The SDKs contain functionality that automatically takes
|
||||
// care of tasks such as:
|
||||
// * Amazon SQS Product Page (http://aws.amazon.com/sqs/)
|
||||
//
|
||||
// * Cryptographically signing your service requests
|
||||
// * Amazon SQS Developer Guide
|
||||
//
|
||||
// * Retrying requests
|
||||
// Making API Requests (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/MakingRequestsArticle.html)
|
||||
//
|
||||
// * Handling error responses
|
||||
// Using Amazon SQS Message Attributes (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html)
|
||||
//
|
||||
// For a list of available SDKs, see Tools for Amazon Web Services (http://aws.amazon.com/tools/).
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// Using Amazon SQS Dead Letter Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html)
|
||||
//
|
||||
// * Amazon Web Services General Reference
|
||||
//
|
||||
// Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html#sqs_region)
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05
|
||||
type SQS struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -55,8 +60,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "sqs"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "sqs" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the SQS client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -69,7 +77,7 @@ const ServiceName = "sqs"
|
|||
// // Create a SQS client with additional configuration
|
||||
// svc := sqs.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *SQS {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -26,8 +26,9 @@ import (
|
|||
// To get started, verify prerequisites and configure managed instances (Linux
|
||||
// (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/systems-manager-prereqs.html))
|
||||
// (Windows (http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/systems-manager-prereqs.html)).
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06
|
||||
type SSM struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -38,8 +39,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "ssm"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "ssm" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the SSM client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -52,7 +56,7 @@ const ServiceName = "ssm"
|
|||
// // Create a SSM client with additional configuration
|
||||
// svc := ssm.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *SSM {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -36,6 +36,7 @@ const opAssumeRole = "AssumeRole"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRole
|
||||
func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, output *AssumeRoleOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opAssumeRole,
|
||||
|
@ -169,6 +170,7 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o
|
|||
// and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
|
||||
// in the IAM User Guide.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRole
|
||||
func (c *STS) AssumeRole(input *AssumeRoleInput) (*AssumeRoleOutput, error) {
|
||||
req, out := c.AssumeRoleRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -201,6 +203,7 @@ const opAssumeRoleWithSAML = "AssumeRoleWithSAML"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAML
|
||||
func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *request.Request, output *AssumeRoleWithSAMLOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opAssumeRoleWithSAML,
|
||||
|
@ -327,6 +330,7 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re
|
|||
// and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
|
||||
// in the IAM User Guide.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAML
|
||||
func (c *STS) AssumeRoleWithSAML(input *AssumeRoleWithSAMLInput) (*AssumeRoleWithSAMLOutput, error) {
|
||||
req, out := c.AssumeRoleWithSAMLRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -359,6 +363,7 @@ const opAssumeRoleWithWebIdentity = "AssumeRoleWithWebIdentity"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentity
|
||||
func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityInput) (req *request.Request, output *AssumeRoleWithWebIdentityOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opAssumeRoleWithWebIdentity,
|
||||
|
@ -514,6 +519,7 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI
|
|||
// and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
|
||||
// in the IAM User Guide.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentity
|
||||
func (c *STS) AssumeRoleWithWebIdentity(input *AssumeRoleWithWebIdentityInput) (*AssumeRoleWithWebIdentityOutput, error) {
|
||||
req, out := c.AssumeRoleWithWebIdentityRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -546,6 +552,7 @@ const opDecodeAuthorizationMessage = "DecodeAuthorizationMessage"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessage
|
||||
func (c *STS) DecodeAuthorizationMessageRequest(input *DecodeAuthorizationMessageInput) (req *request.Request, output *DecodeAuthorizationMessageOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDecodeAuthorizationMessage,
|
||||
|
@ -611,6 +618,7 @@ func (c *STS) DecodeAuthorizationMessageRequest(input *DecodeAuthorizationMessag
|
|||
// invalid. This can happen if the token contains invalid characters, such as
|
||||
// linebreaks.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessage
|
||||
func (c *STS) DecodeAuthorizationMessage(input *DecodeAuthorizationMessageInput) (*DecodeAuthorizationMessageOutput, error) {
|
||||
req, out := c.DecodeAuthorizationMessageRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -643,6 +651,7 @@ const opGetCallerIdentity = "GetCallerIdentity"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentity
|
||||
func (c *STS) GetCallerIdentityRequest(input *GetCallerIdentityInput) (req *request.Request, output *GetCallerIdentityOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetCallerIdentity,
|
||||
|
@ -671,6 +680,7 @@ func (c *STS) GetCallerIdentityRequest(input *GetCallerIdentityInput) (req *requ
|
|||
//
|
||||
// See the AWS API reference guide for AWS Security Token Service's
|
||||
// API operation GetCallerIdentity for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentity
|
||||
func (c *STS) GetCallerIdentity(input *GetCallerIdentityInput) (*GetCallerIdentityOutput, error) {
|
||||
req, out := c.GetCallerIdentityRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -703,6 +713,7 @@ const opGetFederationToken = "GetFederationToken"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationToken
|
||||
func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *request.Request, output *GetFederationTokenOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetFederationToken,
|
||||
|
@ -825,6 +836,7 @@ func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *re
|
|||
// and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
|
||||
// in the IAM User Guide.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationToken
|
||||
func (c *STS) GetFederationToken(input *GetFederationTokenInput) (*GetFederationTokenOutput, error) {
|
||||
req, out := c.GetFederationTokenRequest(input)
|
||||
err := req.Send()
|
||||
|
@ -857,6 +869,7 @@ const opGetSessionToken = "GetSessionToken"
|
|||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionToken
|
||||
func (c *STS) GetSessionTokenRequest(input *GetSessionTokenInput) (req *request.Request, output *GetSessionTokenOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opGetSessionToken,
|
||||
|
@ -938,12 +951,14 @@ func (c *STS) GetSessionTokenRequest(input *GetSessionTokenInput) (req *request.
|
|||
// and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
|
||||
// in the IAM User Guide.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionToken
|
||||
func (c *STS) GetSessionToken(input *GetSessionTokenInput) (*GetSessionTokenOutput, error) {
|
||||
req, out := c.GetSessionTokenRequest(input)
|
||||
err := req.Send()
|
||||
return out, err
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleRequest
|
||||
type AssumeRoleInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1135,6 +1150,7 @@ func (s *AssumeRoleInput) SetTokenCode(v string) *AssumeRoleInput {
|
|||
|
||||
// Contains the response to a successful AssumeRole request, including temporary
|
||||
// AWS credentials that can be used to make AWS requests.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleResponse
|
||||
type AssumeRoleOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1188,6 +1204,7 @@ func (s *AssumeRoleOutput) SetPackedPolicySize(v int64) *AssumeRoleOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAMLRequest
|
||||
type AssumeRoleWithSAMLInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1328,6 +1345,7 @@ func (s *AssumeRoleWithSAMLInput) SetSAMLAssertion(v string) *AssumeRoleWithSAML
|
|||
|
||||
// Contains the response to a successful AssumeRoleWithSAML request, including
|
||||
// temporary AWS credentials that can be used to make AWS requests.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAMLResponse
|
||||
type AssumeRoleWithSAMLOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1439,6 +1457,7 @@ func (s *AssumeRoleWithSAMLOutput) SetSubjectType(v string) *AssumeRoleWithSAMLO
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityRequest
|
||||
type AssumeRoleWithWebIdentityInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1601,6 +1620,7 @@ func (s *AssumeRoleWithWebIdentityInput) SetWebIdentityToken(v string) *AssumeRo
|
|||
|
||||
// Contains the response to a successful AssumeRoleWithWebIdentity request,
|
||||
// including temporary AWS credentials that can be used to make AWS requests.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityResponse
|
||||
type AssumeRoleWithWebIdentityOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1693,6 +1713,7 @@ func (s *AssumeRoleWithWebIdentityOutput) SetSubjectFromWebIdentityToken(v strin
|
|||
|
||||
// The identifiers for the temporary security credentials that the operation
|
||||
// returns.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumedRoleUser
|
||||
type AssumedRoleUser struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1735,6 +1756,7 @@ func (s *AssumedRoleUser) SetAssumedRoleId(v string) *AssumedRoleUser {
|
|||
}
|
||||
|
||||
// AWS credentials for API authentication.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/Credentials
|
||||
type Credentials struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1793,6 +1815,7 @@ func (s *Credentials) SetSessionToken(v string) *Credentials {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessageRequest
|
||||
type DecodeAuthorizationMessageInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1837,6 +1860,7 @@ func (s *DecodeAuthorizationMessageInput) SetEncodedMessage(v string) *DecodeAut
|
|||
// A document that contains additional information about the authorization status
|
||||
// of a request from an encoded message that is returned in response to an AWS
|
||||
// request.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessageResponse
|
||||
type DecodeAuthorizationMessageOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1861,6 +1885,7 @@ func (s *DecodeAuthorizationMessageOutput) SetDecodedMessage(v string) *DecodeAu
|
|||
}
|
||||
|
||||
// Identifiers for the federated user that is associated with the credentials.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/FederatedUser
|
||||
type FederatedUser struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1901,6 +1926,7 @@ func (s *FederatedUser) SetFederatedUserId(v string) *FederatedUser {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentityRequest
|
||||
type GetCallerIdentityInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -1917,6 +1943,7 @@ func (s GetCallerIdentityInput) GoString() string {
|
|||
|
||||
// Contains the response to a successful GetCallerIdentity request, including
|
||||
// information about the entity making the request.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentityResponse
|
||||
type GetCallerIdentityOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1962,6 +1989,7 @@ func (s *GetCallerIdentityOutput) SetUserId(v string) *GetCallerIdentityOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationTokenRequest
|
||||
type GetFederationTokenInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2070,6 +2098,7 @@ func (s *GetFederationTokenInput) SetPolicy(v string) *GetFederationTokenInput {
|
|||
|
||||
// Contains the response to a successful GetFederationToken request, including
|
||||
// temporary AWS credentials that can be used to make AWS requests.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationTokenResponse
|
||||
type GetFederationTokenOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2122,6 +2151,7 @@ func (s *GetFederationTokenOutput) SetPackedPolicySize(v int64) *GetFederationTo
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionTokenRequest
|
||||
type GetSessionTokenInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2206,6 +2236,7 @@ func (s *GetSessionTokenInput) SetTokenCode(v string) *GetSessionTokenInput {
|
|||
|
||||
// Contains the response to a successful GetSessionToken request, including
|
||||
// temporary AWS credentials that can be used to make AWS requests.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionTokenResponse
|
||||
type GetSessionTokenOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -56,8 +56,9 @@ import (
|
|||
// successfully made to STS, who made the request, when it was made, and so
|
||||
// on. To learn more about CloudTrail, including how to turn it on and find
|
||||
// your log files, see the AWS CloudTrail User Guide (http://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html).
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15
|
||||
type STS struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -68,8 +69,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "sts"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "sts" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the STS client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -82,7 +86,7 @@ const ServiceName = "sts"
|
|||
// // Create a STS client with additional configuration
|
||||
// svc := sts.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *STS {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -18,8 +18,9 @@ import (
|
|||
// who need detailed information about the AWS WAF API actions, data types,
|
||||
// and errors. For detailed information about AWS WAF features and an overview
|
||||
// of how to use the AWS WAF API, see the AWS WAF Developer Guide (http://docs.aws.amazon.com/waf/latest/developerguide/).
|
||||
//The service client's operations are safe to be used concurrently.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24
|
||||
type WAF struct {
|
||||
*client.Client
|
||||
}
|
||||
|
@ -30,8 +31,11 @@ var initClient func(*client.Client)
|
|||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// A ServiceName is the name of the service the client will make API calls to.
|
||||
const ServiceName = "waf"
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "waf" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the WAF client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
|
@ -44,7 +48,7 @@ const ServiceName = "waf"
|
|||
// // Create a WAF client with additional configuration
|
||||
// svc := waf.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *WAF {
|
||||
c := p.ClientConfig(ServiceName, cfgs...)
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
{
|
||||
"checksumSHA1": "duGYYmAIPryWG256C+VrJgNy1uU=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/arm/containerregistry",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/arm/compute",
|
||||
"revision": "0984e0641ae43b89283223034574d6465be93bf4",
|
||||
"revisionTime": "2016-11-30T22:29:01Z",
|
||||
"version": "v7.0.1-beta",
|
||||
|
@ -23,7 +23,7 @@
|
|||
{
|
||||
"checksumSHA1": "duGYYmAIPryWG256C+VrJgNy1uU=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/arm/compute",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/arm/containerregistry",
|
||||
"revision": "0984e0641ae43b89283223034574d6465be93bf4",
|
||||
"revisionTime": "2016-11-30T22:29:01Z",
|
||||
"version": "v7.0.1-beta",
|
||||
|
@ -405,140 +405,140 @@
|
|||
"revision": "4239b77079c7b5d1243b7b4736304ce8ddb6f0f2"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "9hv05qZMAWAotAa0HaU7VuOASS8=",
|
||||
"checksumSHA1": "a4LHK2+jFbBQqPz9hBE4JVblTuE=",
|
||||
"path": "github.com/aws/aws-sdk-go",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "aBt97I3VOIc0ai/VKhR6sq0ZKBY=",
|
||||
"checksumSHA1": "BbbMbpao2p7TGrAxHJvdZJ68xIU=",
|
||||
"path": "github.com/aws/aws-sdk-go/aws",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "Y9W+4GimK4Fuxq+vyIskVYFRnX4=",
|
||||
"path": "github.com/aws/aws-sdk-go/aws/awserr",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "yyYr41HZ1Aq0hWc3J5ijXwYEcac=",
|
||||
"path": "github.com/aws/aws-sdk-go/aws/awsutil",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "7cQU8tU9hBgsG23XZmko1GePqjQ=",
|
||||
"path": "github.com/aws/aws-sdk-go/aws/client",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "ieAJ+Cvp/PKv1LpUEnUXpc3OI6E=",
|
||||
"path": "github.com/aws/aws-sdk-go/aws/client/metadata",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "Fl8vRSCY0MbM04cmiz/0MID+goA=",
|
||||
"path": "github.com/aws/aws-sdk-go/aws/corehandlers",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "zu5C95rmCZff6NYZb62lEaT5ibE=",
|
||||
"path": "github.com/aws/aws-sdk-go/aws/credentials",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "u3GOAJLmdvbuNUeUEcZSEAOeL/0=",
|
||||
"path": "github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "NUJUTWlc1sV8b7WjfiYc4JZbXl0=",
|
||||
"path": "github.com/aws/aws-sdk-go/aws/credentials/endpointcreds",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "4Ipx+5xN0gso+cENC2MHMWmQlR4=",
|
||||
"path": "github.com/aws/aws-sdk-go/aws/credentials/stscreds",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "lqh3fG7wCochvB4iHAZJuhhEJW0=",
|
||||
"path": "github.com/aws/aws-sdk-go/aws/defaults",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "/EXbk/z2TWjWc1Hvb4QYs3Wmhb8=",
|
||||
"path": "github.com/aws/aws-sdk-go/aws/ec2metadata",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "/O42TNhOnKijPpTE2+opSDiDK1c=",
|
||||
"checksumSHA1": "ielGoJtV7d3uy8ppaPofjAMuAZM=",
|
||||
"path": "github.com/aws/aws-sdk-go/aws/endpoints",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "M78rTxU55Qagqr3MYj91im2031E=",
|
||||
"path": "github.com/aws/aws-sdk-go/aws/request",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "HynfxYegMG8sq9MpFfPu7h1EOvI=",
|
||||
"path": "github.com/aws/aws-sdk-go/aws/session",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "0FvPLvkBUpTElfUc/FZtPsJfuV0=",
|
||||
"path": "github.com/aws/aws-sdk-go/aws/signer/v4",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "Esab5F8KswqkTdB4TtjSvZgs56k=",
|
||||
|
@ -551,450 +551,450 @@
|
|||
{
|
||||
"checksumSHA1": "wk7EyvDaHwb5qqoOP/4d3cV0708=",
|
||||
"path": "github.com/aws/aws-sdk-go/private/protocol",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "1QmQ3FqV37w0Zi44qv8pA1GeR0A=",
|
||||
"path": "github.com/aws/aws-sdk-go/private/protocol/ec2query",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "pNeF0Ey7TfBArH5LBQhKOQXQbLY=",
|
||||
"checksumSHA1": "b7xeY3whqyXRFakWvUkP5sifXt8=",
|
||||
"path": "github.com/aws/aws-sdk-go/private/protocol/json/jsonutil",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "R00RL5jJXRYq1iiK1+PGvMfvXyM=",
|
||||
"path": "github.com/aws/aws-sdk-go/private/protocol/jsonrpc",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "ZqY5RWavBLWTo6j9xqdyBEaNFRk=",
|
||||
"path": "github.com/aws/aws-sdk-go/private/protocol/query",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "5xzix1R8prUyWxgLnzUQoxTsfik=",
|
||||
"checksumSHA1": "hqTEmgtchF9SwVTW0IQId2eLUKM=",
|
||||
"path": "github.com/aws/aws-sdk-go/private/protocol/query/queryutil",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "H8iGbMgbw4bn+UN+dcsDpP8koxc=",
|
||||
"checksumSHA1": "szZSLm3BlYkL3vqlZhNAlYk8iwM=",
|
||||
"path": "github.com/aws/aws-sdk-go/private/protocol/rest",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "Rpu8KBtHZgvhkwHxUfaky+qW+G4=",
|
||||
"path": "github.com/aws/aws-sdk-go/private/protocol/restjson",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "ODo+ko8D6unAxZuN1jGzMcN4QCc=",
|
||||
"path": "github.com/aws/aws-sdk-go/private/protocol/restxml",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "gEJLFS3ltnGYsfm2kXEPpxC1r0w=",
|
||||
"checksumSHA1": "lZ1z4xAbT8euCzKoAsnEYic60VE=",
|
||||
"path": "github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "F6mth+G7dXN1GI+nktaGo8Lx8aE=",
|
||||
"path": "github.com/aws/aws-sdk-go/private/signer/v2",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "Eo9yODN5U99BK0pMzoqnBm7PCrY=",
|
||||
"path": "github.com/aws/aws-sdk-go/private/waiter",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "TDz2yddSHFPJc/C22iNs4878PHM=",
|
||||
"checksumSHA1": "lLgfG6L6hOOdFH8cQFLwris2S9s=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/acm",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "P64s704ATrUQRxVBFZqJOAYMjjI=",
|
||||
"checksumSHA1": "3f8H9ugLjJCxkQ56bFrFce9nL9c=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/apigateway",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "1Pd+tSJCCgCOOfaep0R8ULeFcps=",
|
||||
"checksumSHA1": "8FGxXrDWN+uj5Xw/AEAKwKcv1IY=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/applicationautoscaling",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "YP2elni/MgVN2Y6zsYpdFTmeqhI=",
|
||||
"checksumSHA1": "xyeicubWjvudYOhuYJ/07MLhdgE=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/autoscaling",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "lCpOwC1fXad6ryDTypq0F4JtaS0=",
|
||||
"checksumSHA1": "7umVXGkOFXtAJpH6DalY+ALqiIY=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/cloudformation",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "Mh4SHt8v6TpcInltokbNmyrPjmM=",
|
||||
"checksumSHA1": "zdy5D+rOIE8WhtqJP/m2IjQHZAU=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/cloudfront",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "BLNtHos7msi3UgPBabM5aGFBQLE=",
|
||||
"checksumSHA1": "TBdnvTHS0rNXx67AfnybfCCN4zM=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/cloudtrail",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "WMY04nOx+iSSqUvzhhXK0VQSMyo=",
|
||||
"checksumSHA1": "ncC2Nif217qcymv8y/rpRK0yuGY=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/cloudwatch",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "ylJusOEGXzgULSm4HJxizIVv9C4=",
|
||||
"checksumSHA1": "Qjcr7y39kCtYZsBoAgg9I26jI7c=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/cloudwatchevents",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "om/aeTKkJTlbcO0KF6hinM3xmgw=",
|
||||
"checksumSHA1": "N1nmWTML3GMzq5IIfb9BG0A1i+0=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/cloudwatchlogs",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "Jng3vw4P9MUVqz9DEtpKtkE+NzY=",
|
||||
"checksumSHA1": "Tx4hIDIPLLnhru3NPS70q12uqCw=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/codecommit",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "C/9H+tfWy7SYZjnKRSVpVKtuq5U=",
|
||||
"checksumSHA1": "6/xa3DpSTn9lNHnXH+GT5x/Sl2A=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/codedeploy",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "EZp2Hsz9AePGNEJj6UXTOrjgZ7E=",
|
||||
"checksumSHA1": "7MZKknL6W7gtRx1DphCgv3TK//0=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/directoryservice",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "1UC9irawr68ulnNczZ2He1hprIk=",
|
||||
"checksumSHA1": "wVhVyL7RjRCOaDuOAVZaDU+QioA=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/dynamodb",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "YA/T7rrQeSok3Hvq14HezMXVdgM=",
|
||||
"checksumSHA1": "MtbCisw6knUHRBJMf1ml+vMU/EQ=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/ec2",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "GoO3KLWKTC69nWtcLFd6I+0BviE=",
|
||||
"checksumSHA1": "OAkiI6/24LAZu8z/tE/WaeCNwrE=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/ecr",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "HiXiiX/5C6GA3E2/4QGIjcX9Ph0=",
|
||||
"checksumSHA1": "IR3VK/XRiyR+7LixoLVANeZsqDc=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/ecs",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "rhCpeCHIb7gHMG3AzaeJ9gj90Ss=",
|
||||
"checksumSHA1": "YjIQ3bqxZBaYeL4wZYePoSmCnEM=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/efs",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "xnolozwEtUYa0ve4MhDECFP89E0=",
|
||||
"checksumSHA1": "yFSZjr5Y7rcsaj1ZTRIRe4P5hdA=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/elasticache",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "PDdjF1KoxDPp+YaLLdVqR55Up68=",
|
||||
"checksumSHA1": "HCpYC84szjPFpPnrIQqQTinJ/rU=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/elasticbeanstalk",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "P/fyidKJvpLRYkQ/kPI+TwR8mho=",
|
||||
"checksumSHA1": "qM7tcP0kdiYA8hSKcSOM/pGDCyE=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/elasticsearchservice",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "IS6CjupSEiS74a+CE4oNVPa5KCA=",
|
||||
"checksumSHA1": "zF+qM8MmAMPVWkaVgF1R1Q5x9LA=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/elastictranscoder",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "pJ3cqQyo+6DmScOAGzoN/AbBN0I=",
|
||||
"checksumSHA1": "i59NrONhP5FccKtebIVFB3cFEB8=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/elb",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "0/6y8+qPnDY9Dt2rNSzXyZwBDZ8=",
|
||||
"checksumSHA1": "UiL9Y/Rz1f22hduX81FOzDUCSBQ=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/elbv2",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "qF4j44Lj+8bQyN4JtFnLC/rdQQU=",
|
||||
"checksumSHA1": "jpBVrtxkJjkO4VCfeWQUQr3eZw8=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/emr",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "V5X1oCT01nRtG9IJR7vme1uEy6M=",
|
||||
"checksumSHA1": "7woqKtke2mxe9lK41EBHheQ+KyI=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/firehose",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "0T1k3TvEF9NGsDBYstyQ0EfML5U=",
|
||||
"checksumSHA1": "iQrCaNAhzWXaiP6osgArORQb3pc=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/glacier",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "iZwFeUHpehkIRTnJW15F0U+vXy4=",
|
||||
"checksumSHA1": "EiSfyocmTWxtJNgmuGhW7QvfLe0=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/iam",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "YDO2aF3ENw9aAqR2S3I1cVzu5Ys=",
|
||||
"checksumSHA1": "TR063wmYitpnw1vXbwSlslbUOAA=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/kinesis",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "CVgX/hDnfMt97xblJSD6doFKQX0=",
|
||||
"checksumSHA1": "wRF+8slIqMQxj3esVcZkoZ2fTVU=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/kms",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "ym8DU7gjdHNjr82Yv+B7/Ba9nak=",
|
||||
"checksumSHA1": "j0YmFnaZEvfUySiQR61Jc0o4bps=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/lambda",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "Jo8pWTgFDpH3UjUFH8vYuNRHliM=",
|
||||
"checksumSHA1": "UupnLfhRnMV/oxOMYw0RxuIsHgY=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/lightsail",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "CBDFLQpRfZtB9Symsz75x+rvX+8=",
|
||||
"checksumSHA1": "Icz395TYrZJAgHoFHG/u8naKTCM=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/opsworks",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "ztQJeRw3JSTenyyGXJe/ofpg13k=",
|
||||
"checksumSHA1": "YIUYsO9cpJCIGqU5iY+19CTaQrM=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/rds",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "gaVND3Q/AISc7O5XpvEs6N0jBPQ=",
|
||||
"checksumSHA1": "vQQtdLBvkl2c+sW7Ra3327Y/6MM=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/redshift",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "X7IgpuLMXe5yjwdAeGgy2YURoZM=",
|
||||
"checksumSHA1": "be0ZZtyrCUSgJTDautilw1biYr4=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/route53",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "P4zlIUVrFx5kaMA8OZHsjgNekiM=",
|
||||
"checksumSHA1": "T7mlZERNJ2RpbazA5BvvXKA7MJc=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/s3",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "UB+GbtUsEGWDtBi9CRgkQr5EMJU=",
|
||||
"checksumSHA1": "lQFVEv4Y9EFAVjs5y6R/T8VefBQ=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/ses",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "lTQe5o+2c+Xsp40wjYzLtgmgRqE=",
|
||||
"checksumSHA1": "l2IvDSyTWaPmHKJ6HNinOf+3GzA=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/simpledb",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "eLaZeCUS3hDQ+zzsFZb0CJBMKfQ=",
|
||||
"checksumSHA1": "ow7F3V47a1zzR1ij2vg4Y7XX/TY=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/sns",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "axR50MilXNLES2LyS4JZvINO6E8=",
|
||||
"checksumSHA1": "zJgho/u8PhxhPXHQXiPTPFL1iJc=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/sqs",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "ZGdzQR0coTEfNGvQDyJHusuFMXM=",
|
||||
"checksumSHA1": "R7EFIK6iLulgWyurzvBEj4hOm/Y=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/ssm",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "2GbOcDpIXjtkoQVOfWv7E4DAUbY=",
|
||||
"checksumSHA1": "kZvAnT2KFYZBxgUHXzV0kv3KccA=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/sts",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "s0hZKoL3y62JP2/3+ciUU3hhLW4=",
|
||||
"checksumSHA1": "n9sx/GgjWBmaacJ2RHhj1GndWCM=",
|
||||
"path": "github.com/aws/aws-sdk-go/service/waf",
|
||||
"revision": "0df2a7ae7e82d2643e4a8fed1b2e36a1cf0580bc",
|
||||
"revisionTime": "2016-12-16T00:03:01Z",
|
||||
"version": "=v1.6.4",
|
||||
"versionExact": "v1.6.4"
|
||||
"revision": "36670f6ab1769ad77fa5f7e2c194398733503635",
|
||||
"revisionTime": "2016-12-30T00:33:20Z",
|
||||
"version": "v1.6.9",
|
||||
"versionExact": "v1.6.9"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "nqw2Qn5xUklssHTubS5HDvEL9L4=",
|
||||
|
|
Loading…
Reference in New Issue