Dep ensure -update (#1912)
* dep ensure -update Signed-off-by: Miek Gieben <miek@miek.nl> * Add new files Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
parent
6fe27d99be
commit
9d555ab8d2
1505 changed files with 179032 additions and 208137 deletions
6
vendor/github.com/aws/aws-sdk-go/service/acm/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/acm/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "acm" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "acm" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "ACM" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ACM client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go/service/acmpca/acmpcaiface/interface.go
generated
vendored
4
vendor/github.com/aws/aws-sdk-go/service/acmpca/acmpcaiface/interface.go
generated
vendored
|
@ -108,6 +108,10 @@ type ACMPCAAPI interface {
|
|||
ListTagsWithContext(aws.Context, *acmpca.ListTagsInput, ...request.Option) (*acmpca.ListTagsOutput, error)
|
||||
ListTagsRequest(*acmpca.ListTagsInput) (*request.Request, *acmpca.ListTagsOutput)
|
||||
|
||||
RestoreCertificateAuthority(*acmpca.RestoreCertificateAuthorityInput) (*acmpca.RestoreCertificateAuthorityOutput, error)
|
||||
RestoreCertificateAuthorityWithContext(aws.Context, *acmpca.RestoreCertificateAuthorityInput, ...request.Option) (*acmpca.RestoreCertificateAuthorityOutput, error)
|
||||
RestoreCertificateAuthorityRequest(*acmpca.RestoreCertificateAuthorityInput) (*request.Request, *acmpca.RestoreCertificateAuthorityOutput)
|
||||
|
||||
RevokeCertificate(*acmpca.RevokeCertificateInput) (*acmpca.RevokeCertificateOutput, error)
|
||||
RevokeCertificateWithContext(aws.Context, *acmpca.RevokeCertificateInput, ...request.Option) (*acmpca.RevokeCertificateOutput, error)
|
||||
RevokeCertificateRequest(*acmpca.RevokeCertificateInput) (*request.Request, *acmpca.RevokeCertificateOutput)
|
||||
|
|
399
vendor/github.com/aws/aws-sdk-go/service/acmpca/api.go
generated
vendored
399
vendor/github.com/aws/aws-sdk-go/service/acmpca/api.go
generated
vendored
|
@ -65,7 +65,7 @@ func (c *ACMPCA) CreateCertificateAuthorityRequest(input *CreateCertificateAutho
|
|||
// (certificate revocation list) configuration specifies the CRL expiration
|
||||
// period in days (the validity period of the CRL), the Amazon S3 bucket that
|
||||
// will contain the CRL, and a CNAME alias for the S3 bucket that is included
|
||||
// in certificates issued by the CA. If successful, this function returns the
|
||||
// in certificates issued by the CA. If successful, this operation returns the
|
||||
// Amazon Resource Name (ARN) of the CA.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
|
@ -155,7 +155,7 @@ func (c *ACMPCA) CreateCertificateAuthorityAuditReportRequest(input *CreateCerti
|
|||
//
|
||||
// Creates an audit report that lists every time that the your CA private key
|
||||
// is used. The report is saved in the Amazon S3 bucket that you specify on
|
||||
// input. The IssueCertificate and RevokeCertificate functions use the private
|
||||
// input. The IssueCertificate and RevokeCertificate operations use the private
|
||||
// key. You can generate a new report every 30 minutes.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
|
@ -253,17 +253,25 @@ func (c *ACMPCA) DeleteCertificateAuthorityRequest(input *DeleteCertificateAutho
|
|||
|
||||
// DeleteCertificateAuthority API operation for AWS Certificate Manager Private Certificate Authority.
|
||||
//
|
||||
// Deletes the private certificate authority (CA) that you created or started
|
||||
// to create by calling the CreateCertificateAuthority function. This action
|
||||
// requires that you enter an ARN (Amazon Resource Name) for the private CA
|
||||
// that you want to delete. You can find the ARN by calling the ListCertificateAuthorities
|
||||
// function. You can delete the CA if you are waiting for it to be created (the
|
||||
// Status field of the CertificateAuthority is CREATING) or if the CA has been
|
||||
// created but you haven't yet imported the signed certificate (the Status is
|
||||
// PENDING_CERTIFICATE) into ACM PCA. If you've already imported the certificate,
|
||||
// you cannot delete the CA unless it has been disabled for more than 30 days.
|
||||
// To disable a CA, call the UpdateCertificateAuthority function and set the
|
||||
// CertificateAuthorityStatus argument to DISABLED.
|
||||
// Deletes a private certificate authority (CA). You must provide the ARN (Amazon
|
||||
// Resource Name) of the private CA that you want to delete. You can find the
|
||||
// ARN by calling the ListCertificateAuthorities operation. Before you can delete
|
||||
// a CA, you must disable it. Call the UpdateCertificateAuthority operation
|
||||
// and set the CertificateAuthorityStatus parameter to DISABLED.
|
||||
//
|
||||
// Additionally, you can delete a CA if you are waiting for it to be created
|
||||
// (the Status field of the CertificateAuthority is CREATING). You can also
|
||||
// delete it if the CA has been created but you haven't yet imported the signed
|
||||
// certificate (the Status is PENDING_CERTIFICATE) into ACM PCA.
|
||||
//
|
||||
// If the CA is in one of the aforementioned states and you call DeleteCertificateAuthority,
|
||||
// the CA's status changes to DELETED. However, the CA won't be permentantly
|
||||
// deleted until the restoration period has passed. By default, if you do not
|
||||
// set the PermanentDeletionTimeInDays parameter, the CA remains restorable
|
||||
// for 30 days. You can set the parameter from 7 to 30 days. The DescribeCertificateAuthority
|
||||
// operation returns the time remaining in the restoration window of a Private
|
||||
// CA in the DELETED state. To restore an eligable CA, call the RestoreCertificateAuthority
|
||||
// operation.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
|
@ -356,21 +364,25 @@ func (c *ACMPCA) DescribeCertificateAuthorityRequest(input *DescribeCertificateA
|
|||
// the private CA on input by its ARN (Amazon Resource Name). The output contains
|
||||
// the status of your CA. This can be any of the following:
|
||||
//
|
||||
// * CREATING: ACM PCA is creating your private certificate authority.
|
||||
// * CREATING - ACM PCA is creating your private certificate authority.
|
||||
//
|
||||
// * PENDING_CERTIFICATE: The certificate is pending. You must use your on-premises
|
||||
// root or subordinate CA to sign your private CA CSR and then import it
|
||||
// into PCA.
|
||||
// * PENDING_CERTIFICATE - The certificate is pending. You must use your
|
||||
// on-premises root or subordinate CA to sign your private CA CSR and then
|
||||
// import it into PCA.
|
||||
//
|
||||
// * ACTIVE: Your private CA is active.
|
||||
// * ACTIVE - Your private CA is active.
|
||||
//
|
||||
// * DISABLED: Your private CA has been disabled.
|
||||
// * DISABLED - Your private CA has been disabled.
|
||||
//
|
||||
// * EXPIRED: Your private CA certificate has expired.
|
||||
// * EXPIRED - Your private CA certificate has expired.
|
||||
//
|
||||
// * FAILED: Your private CA has failed. Your CA can fail for problems such
|
||||
// a network outage or backend AWS failure or other errors. A failed CA can
|
||||
// never return to the pending state. You must create a new CA.
|
||||
// * FAILED - Your private CA has failed. Your CA can fail because of problems
|
||||
// such a network outage or backend AWS failure or other errors. A failed
|
||||
// CA can never return to the pending state. You must create a new CA.
|
||||
//
|
||||
// * DELETED - Your private CA is within the restoration period, after which
|
||||
// it will be permanently deleted. The length of time remaining in the CA's
|
||||
// restoration period will also be included in this operation's output.
|
||||
//
|
||||
// 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
|
||||
|
@ -454,9 +466,9 @@ func (c *ACMPCA) DescribeCertificateAuthorityAuditReportRequest(input *DescribeC
|
|||
// DescribeCertificateAuthorityAuditReport API operation for AWS Certificate Manager Private Certificate Authority.
|
||||
//
|
||||
// Lists information about a specific audit report created by calling the CreateCertificateAuthorityAuditReport
|
||||
// function. Audit information is created every time the certificate authority
|
||||
// operation. Audit information is created every time the certificate authority
|
||||
// (CA) private key is used. The private key is used when you call the IssueCertificate
|
||||
// function or the RevokeCertificate function.
|
||||
// operation or the RevokeCertificate operation.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
|
@ -470,6 +482,9 @@ func (c *ACMPCA) DescribeCertificateAuthorityAuditReportRequest(input *DescribeC
|
|||
// A resource such as a private CA, S3 bucket, certificate, or audit report
|
||||
// cannot be found.
|
||||
//
|
||||
// * ErrCodeInvalidArnException "InvalidArnException"
|
||||
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
|
||||
//
|
||||
// * ErrCodeInvalidArgsException "InvalidArgsException"
|
||||
// One or more of the specified arguments was not valid.
|
||||
//
|
||||
|
@ -540,11 +555,11 @@ func (c *ACMPCA) GetCertificateRequest(input *GetCertificateInput) (req *request
|
|||
// GetCertificate API operation for AWS Certificate Manager Private Certificate Authority.
|
||||
//
|
||||
// Retrieves a certificate from your private CA. The ARN of the certificate
|
||||
// is returned when you call the IssueCertificate function. You must specify
|
||||
// is returned when you call the IssueCertificate operation. You must specify
|
||||
// both the ARN of your private CA and the ARN of the issued certificate when
|
||||
// calling the GetCertificate function. You can retrieve the certificate if
|
||||
// calling the GetCertificate operation. You can retrieve the certificate if
|
||||
// it is in the ISSUED state. You can call the CreateCertificateAuthorityAuditReport
|
||||
// function to create a report that contains information about all of the certificates
|
||||
// operation to create a report that contains information about all of the certificates
|
||||
// issued and revoked by your private CA.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
|
@ -728,9 +743,9 @@ func (c *ACMPCA) GetCertificateAuthorityCsrRequest(input *GetCertificateAuthorit
|
|||
//
|
||||
// Retrieves the certificate signing request (CSR) for your private certificate
|
||||
// authority (CA). The CSR is created when you call the CreateCertificateAuthority
|
||||
// function. Take the CSR to your on-premises X.509 infrastructure and sign
|
||||
// operation. Take the CSR to your on-premises X.509 infrastructure and sign
|
||||
// it by using your root or a subordinate CA. Then import the signed certificate
|
||||
// back into ACM PCA by calling the ImportCertificateAuthorityCertificate function.
|
||||
// back into ACM PCA by calling the ImportCertificateAuthorityCertificate operation.
|
||||
// The CSR is returned as a base64 PEM-encoded string.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
|
@ -754,6 +769,9 @@ func (c *ACMPCA) GetCertificateAuthorityCsrRequest(input *GetCertificateAuthorit
|
|||
// * ErrCodeInvalidArnException "InvalidArnException"
|
||||
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
|
||||
//
|
||||
// * ErrCodeInvalidStateException "InvalidStateException"
|
||||
// The private CA is in a state during which a report cannot be generated.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/GetCertificateAuthorityCsr
|
||||
func (c *ACMPCA) GetCertificateAuthorityCsr(input *GetCertificateAuthorityCsrInput) (*GetCertificateAuthorityCsrOutput, error) {
|
||||
req, out := c.GetCertificateAuthorityCsrRequest(input)
|
||||
|
@ -823,9 +841,9 @@ func (c *ACMPCA) ImportCertificateAuthorityCertificateRequest(input *ImportCerti
|
|||
// ImportCertificateAuthorityCertificate API operation for AWS Certificate Manager Private Certificate Authority.
|
||||
//
|
||||
// Imports your signed private CA certificate into ACM PCA. Before you can call
|
||||
// this function, you must create the private certificate authority by calling
|
||||
// the CreateCertificateAuthority function. You must then generate a certificate
|
||||
// signing request (CSR) by calling the GetCertificateAuthorityCsr function.
|
||||
// this operation, you must create the private certificate authority by calling
|
||||
// the CreateCertificateAuthority operation. You must then generate a certificate
|
||||
// signing request (CSR) by calling the GetCertificateAuthorityCsr operation.
|
||||
// Take the CSR to your on-premises CA and use the root certificate or a subordinate
|
||||
// certificate to sign it. Create a certificate chain and copy the signed certificate
|
||||
// and the certificate chain to your working directory.
|
||||
|
@ -864,6 +882,9 @@ func (c *ACMPCA) ImportCertificateAuthorityCertificateRequest(input *ImportCerti
|
|||
// * ErrCodeInvalidArnException "InvalidArnException"
|
||||
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
|
||||
//
|
||||
// * ErrCodeInvalidStateException "InvalidStateException"
|
||||
// The private CA is in a state during which a report cannot be generated.
|
||||
//
|
||||
// * ErrCodeMalformedCertificateException "MalformedCertificateException"
|
||||
// One or more fields in the certificate are invalid.
|
||||
//
|
||||
|
@ -938,11 +959,11 @@ func (c *ACMPCA) IssueCertificateRequest(input *IssueCertificateInput) (req *req
|
|||
// IssueCertificate API operation for AWS Certificate Manager Private Certificate Authority.
|
||||
//
|
||||
// Uses your private certificate authority (CA) to issue a client certificate.
|
||||
// This function returns the Amazon Resource Name (ARN) of the certificate.
|
||||
// You can retrieve the certificate by calling the GetCertificate function and
|
||||
// specifying the ARN.
|
||||
// This operation returns the Amazon Resource Name (ARN) of the certificate.
|
||||
// You can retrieve the certificate by calling the GetCertificate operation
|
||||
// and specifying the ARN.
|
||||
//
|
||||
// You cannot use the ACM ListCertificateAuthorities function to retrieve the
|
||||
// You cannot use the ACM ListCertificateAuthorities operation to retrieve the
|
||||
// ARNs of the certificates that you issue by using ACM PCA.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
|
@ -1040,7 +1061,7 @@ func (c *ACMPCA) ListCertificateAuthoritiesRequest(input *ListCertificateAuthori
|
|||
// ListCertificateAuthorities API operation for AWS Certificate Manager Private Certificate Authority.
|
||||
//
|
||||
// Lists the private certificate authorities that you created by using the CreateCertificateAuthority
|
||||
// function.
|
||||
// operation.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
|
@ -1122,8 +1143,8 @@ func (c *ACMPCA) ListTagsRequest(input *ListTagsInput) (req *request.Request, ou
|
|||
//
|
||||
// Lists the tags, if any, that are associated with your private CA. Tags are
|
||||
// labels that you can use to identify and organize your CAs. Each tag consists
|
||||
// of a key and an optional value. Call the TagCertificateAuthority function
|
||||
// to add one or more tags to your CA. Call the UntagCertificateAuthority function
|
||||
// of a key and an optional value. Call the TagCertificateAuthority operation
|
||||
// to add one or more tags to your CA. Call the UntagCertificateAuthority operation
|
||||
// to remove tags.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
|
@ -1163,6 +1184,107 @@ func (c *ACMPCA) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opRestoreCertificateAuthority = "RestoreCertificateAuthority"
|
||||
|
||||
// RestoreCertificateAuthorityRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RestoreCertificateAuthority operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// See RestoreCertificateAuthority for more information on using the RestoreCertificateAuthority
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
//
|
||||
// // Example sending a request using the RestoreCertificateAuthorityRequest method.
|
||||
// req, resp := client.RestoreCertificateAuthorityRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/RestoreCertificateAuthority
|
||||
func (c *ACMPCA) RestoreCertificateAuthorityRequest(input *RestoreCertificateAuthorityInput) (req *request.Request, output *RestoreCertificateAuthorityOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opRestoreCertificateAuthority,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &RestoreCertificateAuthorityInput{}
|
||||
}
|
||||
|
||||
output = &RestoreCertificateAuthorityOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler)
|
||||
req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler)
|
||||
return
|
||||
}
|
||||
|
||||
// RestoreCertificateAuthority API operation for AWS Certificate Manager Private Certificate Authority.
|
||||
//
|
||||
// Restores a certificate authority (CA) that is in the DELETED state. You can
|
||||
// restore a CA during the period that you defined in the PermanentDeletionTimeInDays
|
||||
// parameter of the DeleteCertificateAuthority operation. Currently, you can
|
||||
// specify 7 to 30 days. If you did not specify a PermanentDeletionTimeInDays
|
||||
// value, by default you can restore the CA at any time in a 30 day period.
|
||||
// You can check the time remaining in the restoration period of a private CA
|
||||
// in the DELETED state by calling the DescribeCertificateAuthority or ListCertificateAuthorities
|
||||
// operations. The status of a restored CA is set to its pre-deletion status
|
||||
// when the RestoreCertificateAuthority operation returns. To change its status
|
||||
// to ACTIVE, call the UpdateCertificateAuthority operation. If the private
|
||||
// CA was in the PENDING_CERTIFICATE state at deletion, you must use the ImportCertificateAuthorityCertificate
|
||||
// operation to import a certificate authority into the private CA before it
|
||||
// can be activated. You cannot restore a CA after the restoration period has
|
||||
// ended.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
// the error.
|
||||
//
|
||||
// See the AWS API reference guide for AWS Certificate Manager Private Certificate Authority's
|
||||
// API operation RestoreCertificateAuthority for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
|
||||
// A resource such as a private CA, S3 bucket, certificate, or audit report
|
||||
// cannot be found.
|
||||
//
|
||||
// * ErrCodeInvalidStateException "InvalidStateException"
|
||||
// The private CA is in a state during which a report cannot be generated.
|
||||
//
|
||||
// * ErrCodeInvalidArnException "InvalidArnException"
|
||||
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/RestoreCertificateAuthority
|
||||
func (c *ACMPCA) RestoreCertificateAuthority(input *RestoreCertificateAuthorityInput) (*RestoreCertificateAuthorityOutput, error) {
|
||||
req, out := c.RestoreCertificateAuthorityRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// RestoreCertificateAuthorityWithContext is the same as RestoreCertificateAuthority with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See RestoreCertificateAuthority for details on how to use this API operation.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *ACMPCA) RestoreCertificateAuthorityWithContext(ctx aws.Context, input *RestoreCertificateAuthorityInput, opts ...request.Option) (*RestoreCertificateAuthorityOutput, error) {
|
||||
req, out := c.RestoreCertificateAuthorityRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opRevokeCertificate = "RevokeCertificate"
|
||||
|
||||
// RevokeCertificateRequest generates a "aws/request.Request" representing the
|
||||
|
@ -1209,7 +1331,7 @@ func (c *ACMPCA) RevokeCertificateRequest(input *RevokeCertificateInput) (req *r
|
|||
|
||||
// RevokeCertificate API operation for AWS Certificate Manager Private Certificate Authority.
|
||||
//
|
||||
// Revokes a certificate that you issued by calling the IssueCertificate function.
|
||||
// Revokes a certificate that you issued by calling the IssueCertificate operation.
|
||||
// If you enable a certificate revocation list (CRL) when you create or update
|
||||
// your private CA, information about the revoked certificates will be included
|
||||
// in the CRL. ACM PCA writes the CRL to an S3 bucket that you specify. For
|
||||
|
@ -1322,8 +1444,8 @@ func (c *ACMPCA) TagCertificateAuthorityRequest(input *TagCertificateAuthorityIn
|
|||
// a tag to just one private CA if you want to identify a specific characteristic
|
||||
// of that CA, or you can apply the same tag to multiple private CAs if you
|
||||
// want to filter for a common relationship among those CAs. To remove one or
|
||||
// more tags, use the UntagCertificateAuthority function. Call the ListTags
|
||||
// function to see what tags are associated with your CA.
|
||||
// more tags, use the UntagCertificateAuthority operation. Call the ListTags
|
||||
// operation to see what tags are associated with your CA.
|
||||
//
|
||||
// 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
|
||||
|
@ -1340,6 +1462,9 @@ func (c *ACMPCA) TagCertificateAuthorityRequest(input *TagCertificateAuthorityIn
|
|||
// * ErrCodeInvalidArnException "InvalidArnException"
|
||||
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
|
||||
//
|
||||
// * ErrCodeInvalidStateException "InvalidStateException"
|
||||
// The private CA is in a state during which a report cannot be generated.
|
||||
//
|
||||
// * ErrCodeInvalidTagException "InvalidTagException"
|
||||
// The tag associated with the CA is not valid. The invalid argument is contained
|
||||
// in the message field.
|
||||
|
@ -1418,10 +1543,10 @@ func (c *ACMPCA) UntagCertificateAuthorityRequest(input *UntagCertificateAuthori
|
|||
//
|
||||
// Remove one or more tags from your private CA. A tag consists of a key-value
|
||||
// pair. If you do not specify the value portion of the tag when calling this
|
||||
// function, the tag will be removed regardless of value. If you specify a value,
|
||||
// the tag is removed only if it is associated with the specified value. To
|
||||
// add tags to a private CA, use the TagCertificateAuthority. Call the ListTags
|
||||
// function to see what tags are associated with your CA.
|
||||
// operation, the tag will be removed regardless of value. If you specify a
|
||||
// value, the tag is removed only if it is associated with the specified value.
|
||||
// To add tags to a private CA, use the TagCertificateAuthority. Call the ListTags
|
||||
// operation to see what tags are associated with your CA.
|
||||
//
|
||||
// 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
|
||||
|
@ -1438,6 +1563,9 @@ func (c *ACMPCA) UntagCertificateAuthorityRequest(input *UntagCertificateAuthori
|
|||
// * ErrCodeInvalidArnException "InvalidArnException"
|
||||
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
|
||||
//
|
||||
// * ErrCodeInvalidStateException "InvalidStateException"
|
||||
// The private CA is in a state during which a report cannot be generated.
|
||||
//
|
||||
// * ErrCodeInvalidTagException "InvalidTagException"
|
||||
// The tag associated with the CA is not valid. The invalid argument is contained
|
||||
// in the message field.
|
||||
|
@ -1572,15 +1700,15 @@ func (c *ACMPCA) UpdateCertificateAuthorityWithContext(ctx aws.Context, input *U
|
|||
// a user, computer, device, or service. The Subject must contain an X.500 distinguished
|
||||
// name (DN). A DN is a sequence of relative distinguished names (RDNs). The
|
||||
// RDNs are separated by commas in the certificate. The DN must be unique for
|
||||
// each for each entity, but your private CA can issue more than one certificate
|
||||
// with the same DN to the same entity.
|
||||
// each entity, but your private CA can issue more than one certificate with
|
||||
// the same DN to the same entity.
|
||||
type ASN1Subject struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Fully qualified domain name (FQDN) associated with the certificate subject.
|
||||
CommonName *string `type:"string"`
|
||||
|
||||
// Two digit code that specifies the country in which the certificate subject
|
||||
// Two-digit code that specifies the country in which the certificate subject
|
||||
// located.
|
||||
Country *string `type:"string"`
|
||||
|
||||
|
@ -1621,11 +1749,11 @@ type ASN1Subject struct {
|
|||
// State in which the subject of the certificate is located.
|
||||
State *string `type:"string"`
|
||||
|
||||
// Family name. In the US and the UK for example, the surname of an individual
|
||||
// Family name. In the US and the UK, for example, the surname of an individual
|
||||
// is ordered last. In Asian cultures the surname is typically ordered first.
|
||||
Surname *string `type:"string"`
|
||||
|
||||
// A title such as Mr. or Ms. which is pre-pended to the name to refer formally
|
||||
// A title such as Mr. or Ms., which is pre-pended to the name to refer formally
|
||||
// to the certificate subject.
|
||||
Title *string `type:"string"`
|
||||
}
|
||||
|
@ -1728,11 +1856,11 @@ func (s *ASN1Subject) SetTitle(v string) *ASN1Subject {
|
|||
// private CA can issue and revoke X.509 digital certificates. Digital certificates
|
||||
// verify that the entity named in the certificate Subject field owns or controls
|
||||
// the public key contained in the Subject Public Key Info field. Call the CreateCertificateAuthority
|
||||
// function to create your private CA. You must then call the GetCertificateAuthorityCertificate
|
||||
// function to retrieve a private CA certificate signing request (CSR). Take
|
||||
// operation to create your private CA. You must then call the GetCertificateAuthorityCertificate
|
||||
// operation to retrieve a private CA certificate signing request (CSR). Take
|
||||
// the CSR to your on-premises CA and sign it with the root CA certificate or
|
||||
// a subordinate certificate. Call the ImportCertificateAuthorityCertificate
|
||||
// function to import the signed certificate into AWS Certificate Manager (ACM).
|
||||
// operation to import the signed certificate into AWS Certificate Manager (ACM).
|
||||
type CertificateAuthority struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1758,6 +1886,11 @@ type CertificateAuthority struct {
|
|||
// Date and time before which your private CA certificate is not valid.
|
||||
NotBefore *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
|
||||
// The period during which a deleted CA can be restored. For more information,
|
||||
// see the PermanentDeletionTimeInDays parameter of the DeleteCertificateAuthorityRequest
|
||||
// operation.
|
||||
RestorableUntil *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
|
||||
// Information about the certificate revocation list (CRL) created and maintained
|
||||
// by your private CA.
|
||||
RevocationConfiguration *RevocationConfiguration `type:"structure"`
|
||||
|
@ -1824,6 +1957,12 @@ func (s *CertificateAuthority) SetNotBefore(v time.Time) *CertificateAuthority {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetRestorableUntil sets the RestorableUntil field's value.
|
||||
func (s *CertificateAuthority) SetRestorableUntil(v time.Time) *CertificateAuthority {
|
||||
s.RestorableUntil = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetRevocationConfiguration sets the RevocationConfiguration field's value.
|
||||
func (s *CertificateAuthority) SetRevocationConfiguration(v *RevocationConfiguration) *CertificateAuthority {
|
||||
s.RevocationConfiguration = v
|
||||
|
@ -1853,7 +1992,7 @@ func (s *CertificateAuthority) SetType(v string) *CertificateAuthority {
|
|||
// the key pair that your private CA creates when it issues a certificate, the
|
||||
// signature algorithm it uses used when issuing certificates, and its X.500
|
||||
// distinguished name. You must specify this information when you call the CreateCertificateAuthority
|
||||
// function.
|
||||
// operation.
|
||||
type CertificateAuthorityConfiguration struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1932,7 +2071,7 @@ type CreateCertificateAuthorityAuditReportInput struct {
|
|||
|
||||
// Amazon Resource Name (ARN) of the CA to be audited. This is of the form:
|
||||
//
|
||||
// arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012.
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012.
|
||||
//
|
||||
// CertificateAuthorityArn is a required field
|
||||
CertificateAuthorityArn *string `min:"5" type:"string" required:"true"`
|
||||
|
@ -2042,9 +2181,9 @@ type CreateCertificateAuthorityInput struct {
|
|||
// Alphanumeric string that can be used to distinguish between calls to CreateCertificateAuthority.
|
||||
// Idempotency tokens time out after five minutes. Therefore, if you call CreateCertificateAuthority
|
||||
// multiple times with the same idempotency token within a five minute period,
|
||||
// ACM PCA recognizes that you are requesting only one certificate and will
|
||||
// issue only one. If you change the idempotency token for each call, however,
|
||||
// ACM PCA recognizes that you are requesting multiple certificates.
|
||||
// ACM PCA recognizes that you are requesting only one certificate. As a result,
|
||||
// ACM PCA issues only one. If you change the idempotency token for each call,
|
||||
// however, ACM PCA recognizes that you are requesting multiple certificates.
|
||||
IdempotencyToken *string `min:"1" type:"string"`
|
||||
|
||||
// Contains a Boolean value that you can use to enable a certification revocation
|
||||
|
@ -2124,7 +2263,7 @@ type CreateCertificateAuthorityOutput struct {
|
|||
// If successful, the Amazon Resource Name (ARN) of the certificate authority
|
||||
// (CA). This is of the form:
|
||||
//
|
||||
// arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012.
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012.
|
||||
CertificateAuthorityArn *string `min:"5" type:"string"`
|
||||
}
|
||||
|
||||
|
@ -2211,8 +2350,8 @@ type CrlConfiguration struct {
|
|||
|
||||
// Boolean value that specifies whether certificate revocation lists (CRLs)
|
||||
// are enabled. You can use this value to enable certificate revocation for
|
||||
// a new CA when you call the CreateCertificateAuthority function or for an
|
||||
// existing CA when you call the UpdateCertificateAuthority function.
|
||||
// a new CA when you call the CreateCertificateAuthority operation or for an
|
||||
// existing CA when you call the UpdateCertificateAuthority operation.
|
||||
//
|
||||
// Enabled is a required field
|
||||
Enabled *bool `type:"boolean" required:"true"`
|
||||
|
@ -2223,7 +2362,7 @@ type CrlConfiguration struct {
|
|||
// Name of the S3 bucket that contains the CRL. If you do not provide a value
|
||||
// for the CustomCname argument, the name of your S3 bucket is placed into the
|
||||
// CRL Distribution Points extension of the issued certificate. You can change
|
||||
// the name of your bucket by calling the UpdateCertificateAuthority function.
|
||||
// the name of your bucket by calling the UpdateCertificateAuthority operation.
|
||||
// You must specify a bucket policy that allows ACM PCA to write the CRL to
|
||||
// your bucket.
|
||||
S3BucketName *string `min:"3" type:"string"`
|
||||
|
@ -2286,12 +2425,16 @@ type DeleteCertificateAuthorityInput struct {
|
|||
_ struct{} `type:"structure"`
|
||||
|
||||
// The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority.
|
||||
// This must be of the form:
|
||||
// This must have the following form:
|
||||
//
|
||||
// arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012.
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012.
|
||||
//
|
||||
// CertificateAuthorityArn is a required field
|
||||
CertificateAuthorityArn *string `min:"5" type:"string" required:"true"`
|
||||
|
||||
// The number of days to make a CA restorable after it has been deleted. This
|
||||
// can be anywhere from 7 to 30 days, with 30 being the default.
|
||||
PermanentDeletionTimeInDays *int64 `min:"7" type:"integer"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
|
@ -2313,6 +2456,9 @@ func (s *DeleteCertificateAuthorityInput) Validate() error {
|
|||
if s.CertificateAuthorityArn != nil && len(*s.CertificateAuthorityArn) < 5 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("CertificateAuthorityArn", 5))
|
||||
}
|
||||
if s.PermanentDeletionTimeInDays != nil && *s.PermanentDeletionTimeInDays < 7 {
|
||||
invalidParams.Add(request.NewErrParamMinValue("PermanentDeletionTimeInDays", 7))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
|
@ -2326,6 +2472,12 @@ func (s *DeleteCertificateAuthorityInput) SetCertificateAuthorityArn(v string) *
|
|||
return s
|
||||
}
|
||||
|
||||
// SetPermanentDeletionTimeInDays sets the PermanentDeletionTimeInDays field's value.
|
||||
func (s *DeleteCertificateAuthorityInput) SetPermanentDeletionTimeInDays(v int64) *DeleteCertificateAuthorityInput {
|
||||
s.PermanentDeletionTimeInDays = &v
|
||||
return s
|
||||
}
|
||||
|
||||
type DeleteCertificateAuthorityOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2344,14 +2496,14 @@ type DescribeCertificateAuthorityAuditReportInput struct {
|
|||
_ struct{} `type:"structure"`
|
||||
|
||||
// The report ID returned by calling the CreateCertificateAuthorityAuditReport
|
||||
// function.
|
||||
// operation.
|
||||
//
|
||||
// AuditReportId is a required field
|
||||
AuditReportId *string `min:"36" type:"string" required:"true"`
|
||||
|
||||
// The Amazon Resource Name (ARN) of the private CA. This must be of the form:
|
||||
//
|
||||
// arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012.
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012.
|
||||
//
|
||||
// CertificateAuthorityArn is a required field
|
||||
CertificateAuthorityArn *string `min:"5" type:"string" required:"true"`
|
||||
|
@ -2457,7 +2609,7 @@ type DescribeCertificateAuthorityInput struct {
|
|||
// The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority.
|
||||
// This must be of the form:
|
||||
//
|
||||
// arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012.
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012.
|
||||
//
|
||||
// CertificateAuthorityArn is a required field
|
||||
CertificateAuthorityArn *string `min:"5" type:"string" required:"true"`
|
||||
|
@ -2524,7 +2676,7 @@ type GetCertificateAuthorityCertificateInput struct {
|
|||
|
||||
// The Amazon Resource Name (ARN) of your private CA. This is of the form:
|
||||
//
|
||||
// arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012.
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012.
|
||||
//
|
||||
// CertificateAuthorityArn is a required field
|
||||
CertificateAuthorityArn *string `min:"5" type:"string" required:"true"`
|
||||
|
@ -2600,9 +2752,9 @@ type GetCertificateAuthorityCsrInput struct {
|
|||
_ struct{} `type:"structure"`
|
||||
|
||||
// The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority
|
||||
// function. This must be of the form:
|
||||
// operation. This must be of the form:
|
||||
//
|
||||
// arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
//
|
||||
// CertificateAuthorityArn is a required field
|
||||
CertificateAuthorityArn *string `min:"5" type:"string" required:"true"`
|
||||
|
@ -2670,7 +2822,7 @@ type GetCertificateInput struct {
|
|||
// The ARN of the issued certificate. The ARN contains the certificate serial
|
||||
// number and must be in the following form:
|
||||
//
|
||||
// arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012/certificate/286535153982981100925020015808220737245
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012/certificate/286535153982981100925020015808220737245
|
||||
//
|
||||
// CertificateArn is a required field
|
||||
CertificateArn *string `min:"5" type:"string" required:"true"`
|
||||
|
@ -2678,7 +2830,7 @@ type GetCertificateInput struct {
|
|||
// The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority.
|
||||
// This must be of the form:
|
||||
//
|
||||
// arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012.
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012.
|
||||
//
|
||||
// CertificateAuthorityArn is a required field
|
||||
CertificateAuthorityArn *string `min:"5" type:"string" required:"true"`
|
||||
|
@ -2775,7 +2927,7 @@ type ImportCertificateAuthorityCertificateInput struct {
|
|||
// The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority.
|
||||
// This must be of the form:
|
||||
//
|
||||
// arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
//
|
||||
// CertificateAuthorityArn is a required field
|
||||
CertificateAuthorityArn *string `min:"5" type:"string" required:"true"`
|
||||
|
@ -2864,7 +3016,7 @@ type IssueCertificateInput struct {
|
|||
// The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority.
|
||||
// This must be of the form:
|
||||
//
|
||||
// arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
//
|
||||
// CertificateAuthorityArn is a required field
|
||||
CertificateAuthorityArn *string `min:"5" type:"string" required:"true"`
|
||||
|
@ -2889,9 +3041,9 @@ type IssueCertificateInput struct {
|
|||
Csr []byte `min:"1" type:"blob" required:"true"`
|
||||
|
||||
// Custom string that can be used to distinguish between calls to the IssueCertificate
|
||||
// function. Idempotency tokens time out after one hour. Therefore, if you call
|
||||
// IssueCertificate multiple times with the same idempotency token within 5
|
||||
// minutes, ACM PCA recognizes that you are requesting only one certificate
|
||||
// operation. Idempotency tokens time out after one hour. Therefore, if you
|
||||
// call IssueCertificate multiple times with the same idempotency token within
|
||||
// 5 minutes, ACM PCA recognizes that you are requesting only one certificate
|
||||
// and will issue only one. If you change the idempotency token for each call,
|
||||
// PCA recognizes that you are requesting multiple certificates.
|
||||
IdempotencyToken *string `min:"1" type:"string"`
|
||||
|
@ -2990,7 +3142,7 @@ type IssueCertificateOutput struct {
|
|||
// The Amazon Resource Name (ARN) of the issued certificate and the certificate
|
||||
// serial number. This is of the form:
|
||||
//
|
||||
// arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012/certificate/286535153982981100925020015808220737245
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012/certificate/286535153982981100925020015808220737245
|
||||
CertificateArn *string `min:"5" type:"string"`
|
||||
}
|
||||
|
||||
|
@ -3100,9 +3252,9 @@ type ListTagsInput struct {
|
|||
_ struct{} `type:"structure"`
|
||||
|
||||
// The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority
|
||||
// function. This must be of the form:
|
||||
// operation. This must be of the form:
|
||||
//
|
||||
// arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
//
|
||||
// CertificateAuthorityArn is a required field
|
||||
CertificateAuthorityArn *string `min:"5" type:"string" required:"true"`
|
||||
|
@ -3202,8 +3354,66 @@ func (s *ListTagsOutput) SetTags(v []*Tag) *ListTagsOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
type RestoreCertificateAuthorityInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority
|
||||
// operation. This must be of the form:
|
||||
//
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
//
|
||||
// CertificateAuthorityArn is a required field
|
||||
CertificateAuthorityArn *string `min:"5" type:"string" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s RestoreCertificateAuthorityInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s RestoreCertificateAuthorityInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *RestoreCertificateAuthorityInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "RestoreCertificateAuthorityInput"}
|
||||
if s.CertificateAuthorityArn == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("CertificateAuthorityArn"))
|
||||
}
|
||||
if s.CertificateAuthorityArn != nil && len(*s.CertificateAuthorityArn) < 5 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("CertificateAuthorityArn", 5))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetCertificateAuthorityArn sets the CertificateAuthorityArn field's value.
|
||||
func (s *RestoreCertificateAuthorityInput) SetCertificateAuthorityArn(v string) *RestoreCertificateAuthorityInput {
|
||||
s.CertificateAuthorityArn = &v
|
||||
return s
|
||||
}
|
||||
|
||||
type RestoreCertificateAuthorityOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s RestoreCertificateAuthorityOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s RestoreCertificateAuthorityOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Certificate revocation information used by the CreateCertificateAuthority
|
||||
// and UpdateCertificateAuthority functions. Your private certificate authority
|
||||
// and UpdateCertificateAuthority operations. Your private certificate authority
|
||||
// (CA) can create and maintain a certificate revocation list (CRL). A CRL contains
|
||||
// information about certificates revoked by your CA. For more information,
|
||||
// see RevokeCertificate.
|
||||
|
@ -3252,7 +3462,7 @@ type RevokeCertificateInput struct {
|
|||
// Amazon Resource Name (ARN) of the private CA that issued the certificate
|
||||
// to be revoked. This must be of the form:
|
||||
//
|
||||
// arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
//
|
||||
// CertificateAuthorityArn is a required field
|
||||
CertificateAuthorityArn *string `min:"5" type:"string" required:"true"`
|
||||
|
@ -3260,15 +3470,15 @@ type RevokeCertificateInput struct {
|
|||
// Serial number of the certificate to be revoked. This must be in hexadecimal
|
||||
// format. You can retrieve the serial number by calling GetCertificate with
|
||||
// the Amazon Resource Name (ARN) of the certificate you want and the ARN of
|
||||
// your private CA. The GetCertificate function retrieves the certificate in
|
||||
// your private CA. The GetCertificate operation retrieves the certificate in
|
||||
// the PEM format. You can use the following OpenSSL command to list the certificate
|
||||
// in text format and copy the hexadecimal serial number.
|
||||
//
|
||||
// openssl x509 -in file_path -text -noout
|
||||
//
|
||||
// You can also copy the serial number from the console or use the DescribeCertificate
|
||||
// (http://docs.aws.amazon.comacm/latest/APIReferenceAPI_DescribeCertificate.html)
|
||||
// function in the AWS Certificate Manager API Reference.
|
||||
// (https://docs.aws.amazon.com/acm/latest/APIReference/API_DescribeCertificate.html)
|
||||
// operation in the AWS Certificate Manager API Reference.
|
||||
//
|
||||
// CertificateSerial is a required field
|
||||
CertificateSerial *string `type:"string" required:"true"`
|
||||
|
@ -3346,8 +3556,8 @@ func (s RevokeCertificateOutput) GoString() string {
|
|||
// Tags are labels that you can use to identify and organize your private CAs.
|
||||
// Each tag consists of a key and an optional value. You can associate up to
|
||||
// 50 tags with a private CA. To add one or more tags to a private CA, call
|
||||
// the TagCertificateAuthority function. To remove a tag, call the UntagCertificateAuthority
|
||||
// function.
|
||||
// the TagCertificateAuthority operation. To remove a tag, call the UntagCertificateAuthority
|
||||
// operation.
|
||||
type Tag struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3404,7 +3614,7 @@ type TagCertificateAuthorityInput struct {
|
|||
// The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority.
|
||||
// This must be of the form:
|
||||
//
|
||||
// arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
//
|
||||
// CertificateAuthorityArn is a required field
|
||||
CertificateAuthorityArn *string `min:"5" type:"string" required:"true"`
|
||||
|
@ -3489,7 +3699,7 @@ type UntagCertificateAuthorityInput struct {
|
|||
// The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority.
|
||||
// This must be of the form:
|
||||
//
|
||||
// arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
//
|
||||
// CertificateAuthorityArn is a required field
|
||||
CertificateAuthorityArn *string `min:"5" type:"string" required:"true"`
|
||||
|
@ -3574,7 +3784,7 @@ type UpdateCertificateAuthorityInput struct {
|
|||
// Amazon Resource Name (ARN) of the private CA that issued the certificate
|
||||
// to be revoked. This must be of the form:
|
||||
//
|
||||
// arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
//
|
||||
// CertificateAuthorityArn is a required field
|
||||
CertificateAuthorityArn *string `min:"5" type:"string" required:"true"`
|
||||
|
@ -3651,7 +3861,7 @@ func (s UpdateCertificateAuthorityOutput) GoString() string {
|
|||
|
||||
// Length of time for which the certificate issued by your private certificate
|
||||
// authority (CA), or by the private CA itself, is valid in days, months, or
|
||||
// years. You can issue a certificate by calling the IssueCertificate function.
|
||||
// years. You can issue a certificate by calling the IssueCertificate operation.
|
||||
type Validity struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3736,6 +3946,9 @@ const (
|
|||
// CertificateAuthorityStatusActive is a CertificateAuthorityStatus enum value
|
||||
CertificateAuthorityStatusActive = "ACTIVE"
|
||||
|
||||
// CertificateAuthorityStatusDeleted is a CertificateAuthorityStatus enum value
|
||||
CertificateAuthorityStatusDeleted = "DELETED"
|
||||
|
||||
// CertificateAuthorityStatusDisabled is a CertificateAuthorityStatus enum value
|
||||
CertificateAuthorityStatusDisabled = "DISABLED"
|
||||
|
||||
|
|
14
vendor/github.com/aws/aws-sdk-go/service/acmpca/doc.go
generated
vendored
14
vendor/github.com/aws/aws-sdk-go/service/acmpca/doc.go
generated
vendored
|
@ -4,9 +4,9 @@
|
|||
// requests to AWS Certificate Manager Private Certificate Authority.
|
||||
//
|
||||
// You can use the ACM PCA API to create a private certificate authority (CA).
|
||||
// You must first call the CreateCertificateAuthority function. If successful,
|
||||
// the function returns an Amazon Resource Name (ARN) for your private CA. Use
|
||||
// this ARN as input to the GetCertificateAuthorityCsr function to retrieve
|
||||
// You must first call the CreateCertificateAuthority operation. If successful,
|
||||
// the operation returns an Amazon Resource Name (ARN) for your private CA.
|
||||
// Use this ARN as input to the GetCertificateAuthorityCsr operation to retrieve
|
||||
// the certificate signing request (CSR) for your private CA certificate. Sign
|
||||
// the CSR using the root or an intermediate CA in your on-premises PKI hierarchy,
|
||||
// and call the ImportCertificateAuthorityCertificate to import your signed
|
||||
|
@ -15,8 +15,8 @@
|
|||
// Use your private CA to issue and revoke certificates. These are private certificates
|
||||
// that identify and secure client computers, servers, applications, services,
|
||||
// devices, and users over SSLS/TLS connections within your organization. Call
|
||||
// the IssueCertificate function to issue a certificate. Call the RevokeCertificate
|
||||
// function to revoke a certificate.
|
||||
// the IssueCertificate operation to issue a certificate. Call the RevokeCertificate
|
||||
// operation to revoke a certificate.
|
||||
//
|
||||
// Certificates issued by your private CA can be trusted only within your organization,
|
||||
// not publicly.
|
||||
|
@ -24,13 +24,13 @@
|
|||
// Your private CA can optionally create a certificate revocation list (CRL)
|
||||
// to track the certificates you revoke. To create a CRL, you must specify a
|
||||
// RevocationConfiguration object when you call the CreateCertificateAuthority
|
||||
// function. ACM PCA writes the CRL to an S3 bucket that you specify. You must
|
||||
// operation. ACM PCA writes the CRL to an S3 bucket that you specify. You must
|
||||
// specify a bucket policy that grants ACM PCA write permission.
|
||||
//
|
||||
// You can also call the CreateCertificateAuthorityAuditReport to create an
|
||||
// optional audit report that lists every time the CA private key is used. The
|
||||
// private key is used for signing when the IssueCertificate or RevokeCertificate
|
||||
// function is called.
|
||||
// operation is called.
|
||||
//
|
||||
// See https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22 for more information on this service.
|
||||
//
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/acmpca/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/acmpca/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "acm-pca" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "acm-pca" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "ACM PCA" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ACMPCA client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
12
vendor/github.com/aws/aws-sdk-go/service/alexaforbusiness/api.go
generated
vendored
12
vendor/github.com/aws/aws-sdk-go/service/alexaforbusiness/api.go
generated
vendored
|
@ -152,6 +152,8 @@ func (c *AlexaForBusiness) AssociateDeviceWithRoomRequest(input *AssociateDevice
|
|||
// You are performing an action that would put you beyond your account's limits.
|
||||
// HTTP Status Code: 400
|
||||
//
|
||||
// * ErrCodeDeviceNotRegisteredException "DeviceNotRegisteredException"
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateDeviceWithRoom
|
||||
func (c *AlexaForBusiness) AssociateDeviceWithRoom(input *AssociateDeviceWithRoomInput) (*AssociateDeviceWithRoomOutput, error) {
|
||||
req, out := c.AssociateDeviceWithRoomRequest(input)
|
||||
|
@ -1423,6 +1425,10 @@ func (c *AlexaForBusiness) DisassociateDeviceFromRoomRequest(input *Disassociate
|
|||
//
|
||||
// See the AWS API reference guide for Alexa For Business's
|
||||
// API operation DisassociateDeviceFromRoom for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeDeviceNotRegisteredException "DeviceNotRegisteredException"
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateDeviceFromRoom
|
||||
func (c *AlexaForBusiness) DisassociateDeviceFromRoom(input *DisassociateDeviceFromRoomInput) (*DisassociateDeviceFromRoomOutput, error) {
|
||||
req, out := c.DisassociateDeviceFromRoomRequest(input)
|
||||
|
@ -3759,6 +3765,10 @@ func (c *AlexaForBusiness) StartDeviceSyncRequest(input *StartDeviceSyncInput) (
|
|||
//
|
||||
// See the AWS API reference guide for Alexa For Business's
|
||||
// API operation StartDeviceSync for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeDeviceNotRegisteredException "DeviceNotRegisteredException"
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/StartDeviceSync
|
||||
func (c *AlexaForBusiness) StartDeviceSync(input *StartDeviceSyncInput) (*StartDeviceSyncOutput, error) {
|
||||
req, out := c.StartDeviceSyncRequest(input)
|
||||
|
@ -4157,6 +4167,8 @@ func (c *AlexaForBusiness) UpdateDeviceRequest(input *UpdateDeviceInput) (req *r
|
|||
// * ErrCodeNotFoundException "NotFoundException"
|
||||
// The resource is not found. HTTP Status Code: 400
|
||||
//
|
||||
// * ErrCodeDeviceNotRegisteredException "DeviceNotRegisteredException"
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateDevice
|
||||
func (c *AlexaForBusiness) UpdateDevice(input *UpdateDeviceInput) (*UpdateDeviceOutput, error) {
|
||||
req, out := c.UpdateDeviceRequest(input)
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go/service/alexaforbusiness/errors.go
generated
vendored
4
vendor/github.com/aws/aws-sdk-go/service/alexaforbusiness/errors.go
generated
vendored
|
@ -10,6 +10,10 @@ const (
|
|||
// The resource being created already exists. HTTP Status Code: 400
|
||||
ErrCodeAlreadyExistsException = "AlreadyExistsException"
|
||||
|
||||
// ErrCodeDeviceNotRegisteredException for service response error code
|
||||
// "DeviceNotRegisteredException".
|
||||
ErrCodeDeviceNotRegisteredException = "DeviceNotRegisteredException"
|
||||
|
||||
// ErrCodeInvalidUserStatusException for service response error code
|
||||
// "InvalidUserStatusException".
|
||||
//
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/alexaforbusiness/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/alexaforbusiness/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "a4b" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "a4b" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Alexa For Business" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the AlexaForBusiness client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
33
vendor/github.com/aws/aws-sdk-go/service/apigateway/api.go
generated
vendored
33
vendor/github.com/aws/aws-sdk-go/service/apigateway/api.go
generated
vendored
|
@ -15203,7 +15203,7 @@ type EndpointConfiguration struct {
|
|||
// A list of endpoint types of an API (RestApi) or its custom domain name (DomainName).
|
||||
// For an edge-optimized API and its custom domain name, the endpoint type is
|
||||
// "EDGE". For a regional API and its custom domain name, the endpoint type
|
||||
// is REGIONAL.
|
||||
// is REGIONAL. For a private API, the endpoint type is PRIVATE.
|
||||
Types []*string `locationName:"types" type:"list"`
|
||||
}
|
||||
|
||||
|
@ -16577,11 +16577,11 @@ type GetExportInput struct {
|
|||
|
||||
// A key-value map of query string parameters that specify properties of the
|
||||
// export, depending on the requested exportType. For exportTypeswagger, any
|
||||
// combination of the following parameters are supported: integrations will
|
||||
// export the API with x-amazon-apigateway-integration extensions. authorizers
|
||||
// will export the API with x-amazon-apigateway-authorizer extensions. postman
|
||||
// will export the API with Postman extensions, allowing for import to the Postman
|
||||
// tool
|
||||
// combination of the following parameters are supported: extensions='integrations'
|
||||
// or extensions='apigateway' will export the API with x-amazon-apigateway-integration
|
||||
// extensions. extensions='authorizers' will export the API with x-amazon-apigateway-authorizer
|
||||
// extensions. postman will export the API with Postman extensions, allowing
|
||||
// for import to the Postman tool
|
||||
Parameters map[string]*string `location:"querystring" locationName:"parameters" type:"map"`
|
||||
|
||||
// [Required] The string identifier of the associated RestApi.
|
||||
|
@ -19141,8 +19141,9 @@ type ImportRestApiInput struct {
|
|||
//
|
||||
// To exclude DocumentationParts from the import, set parameters as ignore=documentation.
|
||||
//
|
||||
// To configure the endpoint type, set parameters as endpointConfigurationTypes=EDGE
|
||||
// orendpointConfigurationTypes=REGIONAL. The default endpoint type is EDGE.
|
||||
// To configure the endpoint type, set parameters as endpointConfigurationTypes=EDGE,
|
||||
// endpointConfigurationTypes=REGIONAL, or endpointConfigurationTypes=PRIVATE.
|
||||
// The default endpoint type is EDGE.
|
||||
//
|
||||
// To handle imported basePath, set parameters as basePath=ignore, basePath=prepend
|
||||
// or basePath=split.
|
||||
|
@ -19151,11 +19152,11 @@ type ImportRestApiInput struct {
|
|||
// API is:
|
||||
//
|
||||
// aws apigateway import-rest-api --parameters ignore=documentation --body
|
||||
// 'file:///path/to/imported-api-body.json
|
||||
// 'file:///path/to/imported-api-body.json'
|
||||
// The AWS CLI command to set the regional endpoint on the imported API is:
|
||||
//
|
||||
// aws apigateway import-rest-api --parameters endpointConfigurationTypes=REGIONAL
|
||||
// --body 'file:///path/to/imported-api-body.json
|
||||
// --body 'file:///path/to/imported-api-body.json'
|
||||
Parameters map[string]*string `location:"querystring" locationName:"parameters" type:"map"`
|
||||
}
|
||||
|
||||
|
@ -20996,7 +20997,7 @@ type PutRestApiInput struct {
|
|||
// Custom header parameters as part of the request. For example, to exclude
|
||||
// DocumentationParts from an imported API, set ignore=documentation as a parameters
|
||||
// value, as in the AWS CLI command of aws apigateway import-rest-api --parameters
|
||||
// ignore=documentation --body 'file:///path/to/imported-api-body.json.
|
||||
// ignore=documentation --body 'file:///path/to/imported-api-body.json'.
|
||||
Parameters map[string]*string `location:"querystring" locationName:"parameters" type:"map"`
|
||||
|
||||
// [Required] The string identifier of the associated RestApi.
|
||||
|
@ -24162,15 +24163,19 @@ const (
|
|||
DocumentationPartTypeResponseBody = "RESPONSE_BODY"
|
||||
)
|
||||
|
||||
// The endpoint type. The valid value is EDGE for edge-optimized API setup,
|
||||
// most suitable for mobile applications, REGIONAL for regional API endpoint
|
||||
// setup, most suitable for calling from AWS Region
|
||||
// The endpoint type. The valid values are EDGE for edge-optimized API setup,
|
||||
// most suitable for mobile applications; REGIONAL for regional API endpoint
|
||||
// setup, most suitable for calling from AWS Region; and PRIVATE for private
|
||||
// APIs.
|
||||
const (
|
||||
// EndpointTypeRegional is a EndpointType enum value
|
||||
EndpointTypeRegional = "REGIONAL"
|
||||
|
||||
// EndpointTypeEdge is a EndpointType enum value
|
||||
EndpointTypeEdge = "EDGE"
|
||||
|
||||
// EndpointTypePrivate is a EndpointType enum value
|
||||
EndpointTypePrivate = "PRIVATE"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/apigateway/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/apigateway/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "apigateway" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "apigateway" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "API Gateway" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the APIGateway client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "autoscaling" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = "application-autoscaling" // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "autoscaling" // Name of service.
|
||||
EndpointsID = "application-autoscaling" // ID to lookup a service endpoint with.
|
||||
ServiceID = "Application Auto Scaling" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ApplicationAutoScaling client with a session.
|
||||
|
@ -58,6 +59,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/applicationdiscoveryservice/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/applicationdiscoveryservice/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "discovery" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "discovery" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Application Discovery Service" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ApplicationDiscoveryService client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
300
vendor/github.com/aws/aws-sdk-go/service/appstream/api.go
generated
vendored
300
vendor/github.com/aws/aws-sdk-go/service/appstream/api.go
generated
vendored
|
@ -246,7 +246,9 @@ func (c *AppStream) CreateDirectoryConfigRequest(input *CreateDirectoryConfigInp
|
|||
|
||||
// CreateDirectoryConfig API operation for Amazon AppStream.
|
||||
//
|
||||
// Creates a directory configuration.
|
||||
// Creates a Directory Config object in AppStream 2.0. This object includes
|
||||
// the information required to join streaming instances to an Active Directory
|
||||
// domain.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
|
@ -332,7 +334,8 @@ func (c *AppStream) CreateFleetRequest(input *CreateFleetInput) (req *request.Re
|
|||
|
||||
// CreateFleet API operation for Amazon AppStream.
|
||||
//
|
||||
// Creates a fleet.
|
||||
// Creates a fleet. A fleet consists of streaming instances that run a specified
|
||||
// image.
|
||||
//
|
||||
// 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
|
||||
|
@ -436,7 +439,8 @@ func (c *AppStream) CreateImageBuilderRequest(input *CreateImageBuilderInput) (r
|
|||
|
||||
// CreateImageBuilder API operation for Amazon AppStream.
|
||||
//
|
||||
// Creates an image builder.
|
||||
// Creates an image builder. An image builder is a virtual machine that is used
|
||||
// to create an image.
|
||||
//
|
||||
// The initial state of the builder is PENDING. When it is ready, the state
|
||||
// is RUNNING.
|
||||
|
@ -625,7 +629,8 @@ func (c *AppStream) CreateStackRequest(input *CreateStackInput) (req *request.Re
|
|||
|
||||
// CreateStack API operation for Amazon AppStream.
|
||||
//
|
||||
// Creates a stack.
|
||||
// Creates a stack to start streaming applications to users. A stack consists
|
||||
// of an associated fleet, user access policies, and storage configurations.
|
||||
//
|
||||
// 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
|
||||
|
@ -723,7 +728,9 @@ func (c *AppStream) CreateStreamingURLRequest(input *CreateStreamingURLInput) (r
|
|||
|
||||
// CreateStreamingURL API operation for Amazon AppStream.
|
||||
//
|
||||
// Creates a URL to start a streaming session for the specified user.
|
||||
// Creates a temporary URL to start an AppStream 2.0 streaming session for the
|
||||
// specified user. A streaming URL enables application streaming to be tested
|
||||
// without user setup.
|
||||
//
|
||||
// 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
|
||||
|
@ -811,7 +818,9 @@ func (c *AppStream) DeleteDirectoryConfigRequest(input *DeleteDirectoryConfigInp
|
|||
|
||||
// DeleteDirectoryConfig API operation for Amazon AppStream.
|
||||
//
|
||||
// Deletes the specified directory configuration.
|
||||
// Deletes the specified Directory Config object from AppStream 2.0. This object
|
||||
// includes the information required to join streaming instances to an Active
|
||||
// Directory domain.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
|
@ -978,9 +987,8 @@ func (c *AppStream) DeleteImageRequest(input *DeleteImageInput) (req *request.Re
|
|||
|
||||
// DeleteImage API operation for Amazon AppStream.
|
||||
//
|
||||
// Deletes the specified image. You cannot delete an image that is currently
|
||||
// in use. After you delete an image, you cannot provision new capacity using
|
||||
// the image.
|
||||
// Deletes the specified image. You cannot delete an image when it is in use.
|
||||
// After you delete an image, you cannot provision new capacity using the image.
|
||||
//
|
||||
// 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
|
||||
|
@ -1153,8 +1161,10 @@ func (c *AppStream) DeleteStackRequest(input *DeleteStackInput) (req *request.Re
|
|||
|
||||
// DeleteStack API operation for Amazon AppStream.
|
||||
//
|
||||
// Deletes the specified stack. After this operation completes, the environment
|
||||
// can no longer be activated and any reservations made for the stack are released.
|
||||
// Deletes the specified stack. After the stack is deleted, the application
|
||||
// streaming environment provided by the stack is no longer available to users.
|
||||
// Also, any reservations made for application streaming sessions for the stack
|
||||
// are released.
|
||||
//
|
||||
// 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
|
||||
|
@ -1239,9 +1249,14 @@ func (c *AppStream) DescribeDirectoryConfigsRequest(input *DescribeDirectoryConf
|
|||
|
||||
// DescribeDirectoryConfigs API operation for Amazon AppStream.
|
||||
//
|
||||
// Describes the specified directory configurations. Note that although the
|
||||
// response syntax in this topic includes the account password, this password
|
||||
// is not returned in the actual response.
|
||||
// Retrieves a list that describes one or more specified Directory Config objects
|
||||
// for AppStream 2.0, if the names for these objects are provided. Otherwise,
|
||||
// all Directory Config objects in the account are described. These objects
|
||||
// include the information required to join streaming instances to an Active
|
||||
// Directory domain.
|
||||
//
|
||||
// Although the response syntax in this topic includes the account password,
|
||||
// this password is not returned in the actual response.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
|
@ -1320,7 +1335,8 @@ func (c *AppStream) DescribeFleetsRequest(input *DescribeFleetsInput) (req *requ
|
|||
|
||||
// DescribeFleets API operation for Amazon AppStream.
|
||||
//
|
||||
// Describes the specified fleets or all fleets in the account.
|
||||
// Retrieves a list that describes one or more specified fleets, if the fleet
|
||||
// names are provided. Otherwise, all fleets in the account are described.
|
||||
//
|
||||
// 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
|
||||
|
@ -1399,7 +1415,9 @@ func (c *AppStream) DescribeImageBuildersRequest(input *DescribeImageBuildersInp
|
|||
|
||||
// DescribeImageBuilders API operation for Amazon AppStream.
|
||||
//
|
||||
// Describes the specified image builders or all image builders in the account.
|
||||
// Retrieves a list that describes one or more specified image builders, if
|
||||
// the image builder names are provided. Otherwise, all image builders in the
|
||||
// account are described.
|
||||
//
|
||||
// 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
|
||||
|
@ -1478,7 +1496,8 @@ func (c *AppStream) DescribeImagesRequest(input *DescribeImagesInput) (req *requ
|
|||
|
||||
// DescribeImages API operation for Amazon AppStream.
|
||||
//
|
||||
// Describes the specified images or all images in the account.
|
||||
// Retrieves a list that describes one or more specified images, if the image
|
||||
// names are provided. Otherwise, all images in the account are described.
|
||||
//
|
||||
// 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
|
||||
|
@ -1557,10 +1576,10 @@ func (c *AppStream) DescribeSessionsRequest(input *DescribeSessionsInput) (req *
|
|||
|
||||
// DescribeSessions API operation for Amazon AppStream.
|
||||
//
|
||||
// Describes the streaming sessions for the specified stack and fleet. If a
|
||||
// user ID is provided, only the streaming sessions for only that user are returned.
|
||||
// If an authentication type is not provided, the default is to authenticate
|
||||
// users using a streaming URL.
|
||||
// Retrieves a list that describes the streaming sessions for a specified stack
|
||||
// and fleet. If a user ID is provided for the stack and fleet, only streaming
|
||||
// sessions for that user are described. If an authentication type is not provided,
|
||||
// the default is to authenticate users using a streaming URL.
|
||||
//
|
||||
// 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
|
||||
|
@ -1639,7 +1658,8 @@ func (c *AppStream) DescribeStacksRequest(input *DescribeStacksInput) (req *requ
|
|||
|
||||
// DescribeStacks API operation for Amazon AppStream.
|
||||
//
|
||||
// Describes the specified stacks or all stacks in the account.
|
||||
// Retrieves a list that describes one or more specified stacks, if the stack
|
||||
// names are provided. Otherwise, all stacks in the account are described.
|
||||
//
|
||||
// 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
|
||||
|
@ -1803,7 +1823,7 @@ func (c *AppStream) ExpireSessionRequest(input *ExpireSessionInput) (req *reques
|
|||
|
||||
// ExpireSession API operation for Amazon AppStream.
|
||||
//
|
||||
// Stops the specified streaming session.
|
||||
// Immediately stops the specified streaming session.
|
||||
//
|
||||
// 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
|
||||
|
@ -1877,7 +1897,7 @@ func (c *AppStream) ListAssociatedFleetsRequest(input *ListAssociatedFleetsInput
|
|||
|
||||
// ListAssociatedFleets API operation for Amazon AppStream.
|
||||
//
|
||||
// Lists the fleets associated with the specified stack.
|
||||
// Retrieves the name of the fleet that is associated with the specified stack.
|
||||
//
|
||||
// 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
|
||||
|
@ -1951,7 +1971,7 @@ func (c *AppStream) ListAssociatedStacksRequest(input *ListAssociatedStacksInput
|
|||
|
||||
// ListAssociatedStacks API operation for Amazon AppStream.
|
||||
//
|
||||
// Lists the stacks associated with the specified fleet.
|
||||
// Retrieves the name of the stack with which the specified fleet is associated.
|
||||
//
|
||||
// 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
|
||||
|
@ -2025,8 +2045,8 @@ func (c *AppStream) ListTagsForResourceRequest(input *ListTagsForResourceInput)
|
|||
|
||||
// ListTagsForResource API operation for Amazon AppStream.
|
||||
//
|
||||
// Lists the tags for the specified AppStream 2.0 resource. You can tag AppStream
|
||||
// 2.0 image builders, images, fleets, and stacks.
|
||||
// Retrieves a list of all tags for the specified AppStream 2.0 resource. You
|
||||
// can tag AppStream 2.0 image builders, images, fleets, and stacks.
|
||||
//
|
||||
// For more information about tags, see Tagging Your Resources (http://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html)
|
||||
// in the Amazon AppStream 2.0 Developer Guide.
|
||||
|
@ -2555,7 +2575,8 @@ func (c *AppStream) UntagResourceRequest(input *UntagResourceInput) (req *reques
|
|||
|
||||
// UntagResource API operation for Amazon AppStream.
|
||||
//
|
||||
// Disassociates the specified tags from the specified AppStream 2.0 resource.
|
||||
// Disassociates one or more specified tags from the specified AppStream 2.0
|
||||
// resource.
|
||||
//
|
||||
// To list the current tags for your resources, use ListTagsForResource.
|
||||
//
|
||||
|
@ -2639,7 +2660,9 @@ func (c *AppStream) UpdateDirectoryConfigRequest(input *UpdateDirectoryConfigInp
|
|||
|
||||
// UpdateDirectoryConfig API operation for Amazon AppStream.
|
||||
//
|
||||
// Updates the specified directory configuration.
|
||||
// Updates the specified Directory Config object in AppStream 2.0. This object
|
||||
// includes the information required to join streaming instances to an Active
|
||||
// Directory domain.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
|
@ -2836,7 +2859,7 @@ func (c *AppStream) UpdateStackRequest(input *UpdateStackInput) (req *request.Re
|
|||
|
||||
// UpdateStack API operation for Amazon AppStream.
|
||||
//
|
||||
// Updates the specified stack.
|
||||
// Updates the specified fields for the specified stack.
|
||||
//
|
||||
// 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
|
||||
|
@ -2868,6 +2891,9 @@ func (c *AppStream) UpdateStackRequest(input *UpdateStackInput) (req *request.Re
|
|||
// * ErrCodeIncompatibleImageException "IncompatibleImageException"
|
||||
// The image does not support storage connectors.
|
||||
//
|
||||
// * ErrCodeOperationNotPermittedException "OperationNotPermittedException"
|
||||
// The attempted operation is not permitted.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack
|
||||
func (c *AppStream) UpdateStack(input *UpdateStackInput) (*UpdateStackOutput, error) {
|
||||
req, out := c.UpdateStackRequest(input)
|
||||
|
@ -3820,13 +3846,17 @@ type CreateStackInput struct {
|
|||
// The name of the stack.
|
||||
//
|
||||
// Name is a required field
|
||||
Name *string `min:"1" type:"string" required:"true"`
|
||||
Name *string `type:"string" required:"true"`
|
||||
|
||||
// The URL that users are redirected to after their streaming session ends.
|
||||
RedirectURL *string `type:"string"`
|
||||
|
||||
// The storage connectors to enable.
|
||||
StorageConnectors []*StorageConnector `type:"list"`
|
||||
|
||||
// The actions that are enabled or disabled for users during their streaming
|
||||
// sessions. By default, these actions are enabled.
|
||||
UserSettings []*UserSetting `min:"1" type:"list"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
|
@ -3845,8 +3875,8 @@ func (s *CreateStackInput) Validate() error {
|
|||
if s.Name == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("Name"))
|
||||
}
|
||||
if s.Name != nil && len(*s.Name) < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("Name", 1))
|
||||
if s.UserSettings != nil && len(s.UserSettings) < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("UserSettings", 1))
|
||||
}
|
||||
if s.StorageConnectors != nil {
|
||||
for i, v := range s.StorageConnectors {
|
||||
|
@ -3858,6 +3888,16 @@ func (s *CreateStackInput) Validate() error {
|
|||
}
|
||||
}
|
||||
}
|
||||
if s.UserSettings != nil {
|
||||
for i, v := range s.UserSettings {
|
||||
if v == nil {
|
||||
continue
|
||||
}
|
||||
if err := v.Validate(); err != nil {
|
||||
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UserSettings", i), err.(request.ErrInvalidParams))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
|
@ -3901,6 +3941,12 @@ func (s *CreateStackInput) SetStorageConnectors(v []*StorageConnector) *CreateSt
|
|||
return s
|
||||
}
|
||||
|
||||
// SetUserSettings sets the UserSettings field's value.
|
||||
func (s *CreateStackInput) SetUserSettings(v []*UserSetting) *CreateStackInput {
|
||||
s.UserSettings = v
|
||||
return s
|
||||
}
|
||||
|
||||
type CreateStackOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5723,7 +5769,7 @@ func (s *ListAssociatedFleetsInput) SetStackName(v string) *ListAssociatedFleets
|
|||
type ListAssociatedFleetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The names of the fleets.
|
||||
// The name of the fleet.
|
||||
Names []*string `type:"list"`
|
||||
|
||||
// The pagination token to use to retrieve the next page of results for this
|
||||
|
@ -5810,7 +5856,7 @@ func (s *ListAssociatedStacksInput) SetNextToken(v string) *ListAssociatedStacks
|
|||
type ListAssociatedStacksOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The names of the stacks.
|
||||
// The name of the stack.
|
||||
Names []*string `type:"list"`
|
||||
|
||||
// The pagination token to use to retrieve the next page of results for this
|
||||
|
@ -5901,6 +5947,42 @@ func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForRe
|
|||
return s
|
||||
}
|
||||
|
||||
// The network details of the fleet instance for the streaming session.
|
||||
type NetworkAccessConfiguration struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The resource identifier of the elastic network interface that is attached
|
||||
// to instances in your VPC. All network interfaces have the eni-xxxxxxxx resource
|
||||
// identifier.
|
||||
EniId *string `min:"1" type:"string"`
|
||||
|
||||
// The private IP address of the elastic network interface that is attached
|
||||
// to instances in your VPC.
|
||||
EniPrivateIpAddress *string `min:"1" type:"string"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s NetworkAccessConfiguration) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s NetworkAccessConfiguration) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetEniId sets the EniId field's value.
|
||||
func (s *NetworkAccessConfiguration) SetEniId(v string) *NetworkAccessConfiguration {
|
||||
s.EniId = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetEniPrivateIpAddress sets the EniPrivateIpAddress field's value.
|
||||
func (s *NetworkAccessConfiguration) SetEniPrivateIpAddress(v string) *NetworkAccessConfiguration {
|
||||
s.EniPrivateIpAddress = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// Describes a resource error.
|
||||
type ResourceError struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
@ -6023,6 +6105,9 @@ type Session struct {
|
|||
// Id is a required field
|
||||
Id *string `min:"1" type:"string" required:"true"`
|
||||
|
||||
// The network details for the streaming session.
|
||||
NetworkAccessConfiguration *NetworkAccessConfiguration `type:"structure"`
|
||||
|
||||
// The name of the stack for the streaming session.
|
||||
//
|
||||
// StackName is a required field
|
||||
|
@ -6067,6 +6152,12 @@ func (s *Session) SetId(v string) *Session {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetNetworkAccessConfiguration sets the NetworkAccessConfiguration field's value.
|
||||
func (s *Session) SetNetworkAccessConfiguration(v *NetworkAccessConfiguration) *Session {
|
||||
s.NetworkAccessConfiguration = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetStackName sets the StackName field's value.
|
||||
func (s *Session) SetStackName(v string) *Session {
|
||||
s.StackName = &v
|
||||
|
@ -6118,6 +6209,10 @@ type Stack struct {
|
|||
|
||||
// The storage connectors to enable.
|
||||
StorageConnectors []*StorageConnector `type:"list"`
|
||||
|
||||
// The actions that are enabled or disabled for users during their streaming
|
||||
// sessions. By default these actions are enabled.
|
||||
UserSettings []*UserSetting `min:"1" type:"list"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
|
@ -6184,6 +6279,12 @@ func (s *Stack) SetStorageConnectors(v []*StorageConnector) *Stack {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetUserSettings sets the UserSettings field's value.
|
||||
func (s *Stack) SetUserSettings(v []*UserSetting) *Stack {
|
||||
s.UserSettings = v
|
||||
return s
|
||||
}
|
||||
|
||||
// Describes a stack error.
|
||||
type StackError struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
@ -6468,7 +6569,7 @@ func (s *StopImageBuilderOutput) SetImageBuilder(v *ImageBuilder) *StopImageBuil
|
|||
return s
|
||||
}
|
||||
|
||||
// Describes a storage connector.
|
||||
// Describes a connector to enable persistent storage for users.
|
||||
type StorageConnector struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6477,6 +6578,9 @@ type StorageConnector struct {
|
|||
// ConnectorType is a required field
|
||||
ConnectorType *string `type:"string" required:"true" enum:"StorageConnectorType"`
|
||||
|
||||
// The names of the domains for the G Suite account.
|
||||
Domains []*string `type:"list"`
|
||||
|
||||
// The ARN of the storage connector.
|
||||
ResourceIdentifier *string `min:"1" type:"string"`
|
||||
}
|
||||
|
@ -6513,6 +6617,12 @@ func (s *StorageConnector) SetConnectorType(v string) *StorageConnector {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetDomains sets the Domains field's value.
|
||||
func (s *StorageConnector) SetDomains(v []*string) *StorageConnector {
|
||||
s.Domains = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetResourceIdentifier sets the ResourceIdentifier field's value.
|
||||
func (s *StorageConnector) SetResourceIdentifier(v string) *StorageConnector {
|
||||
s.ResourceIdentifier = &v
|
||||
|
@ -6663,7 +6773,7 @@ func (s UntagResourceOutput) GoString() string {
|
|||
type UpdateDirectoryConfigInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The name of the directory configuration.
|
||||
// The name of the Directory Config object.
|
||||
//
|
||||
// DirectoryName is a required field
|
||||
DirectoryName *string `type:"string" required:"true"`
|
||||
|
@ -6725,7 +6835,7 @@ func (s *UpdateDirectoryConfigInput) SetServiceAccountCredentials(v *ServiceAcco
|
|||
type UpdateDirectoryConfigOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Information about the directory configuration.
|
||||
// Information about the Directory Config object.
|
||||
DirectoryConfig *DirectoryConfig `type:"structure"`
|
||||
}
|
||||
|
||||
|
@ -7002,6 +7112,10 @@ type UpdateStackInput struct {
|
|||
|
||||
// The storage connectors to enable.
|
||||
StorageConnectors []*StorageConnector `type:"list"`
|
||||
|
||||
// The actions that are enabled or disabled for users during their streaming
|
||||
// sessions. By default, these actions are enabled.
|
||||
UserSettings []*UserSetting `min:"1" type:"list"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
|
@ -7023,6 +7137,9 @@ func (s *UpdateStackInput) Validate() error {
|
|||
if s.Name != nil && len(*s.Name) < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("Name", 1))
|
||||
}
|
||||
if s.UserSettings != nil && len(s.UserSettings) < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("UserSettings", 1))
|
||||
}
|
||||
if s.StorageConnectors != nil {
|
||||
for i, v := range s.StorageConnectors {
|
||||
if v == nil {
|
||||
|
@ -7033,6 +7150,16 @@ func (s *UpdateStackInput) Validate() error {
|
|||
}
|
||||
}
|
||||
}
|
||||
if s.UserSettings != nil {
|
||||
for i, v := range s.UserSettings {
|
||||
if v == nil {
|
||||
continue
|
||||
}
|
||||
if err := v.Validate(); err != nil {
|
||||
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UserSettings", i), err.(request.ErrInvalidParams))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
|
@ -7088,6 +7215,12 @@ func (s *UpdateStackInput) SetStorageConnectors(v []*StorageConnector) *UpdateSt
|
|||
return s
|
||||
}
|
||||
|
||||
// SetUserSettings sets the UserSettings field's value.
|
||||
func (s *UpdateStackInput) SetUserSettings(v []*UserSetting) *UpdateStackInput {
|
||||
s.UserSettings = v
|
||||
return s
|
||||
}
|
||||
|
||||
type UpdateStackOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7111,6 +7244,60 @@ func (s *UpdateStackOutput) SetStack(v *Stack) *UpdateStackOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Describes an action and whether the action is enabled or disabled for users
|
||||
// during their streaming sessions.
|
||||
type UserSetting struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The action that is enabled or disabled.
|
||||
//
|
||||
// Action is a required field
|
||||
Action *string `type:"string" required:"true" enum:"Action"`
|
||||
|
||||
// Indicates whether the action is enabled or disabled.
|
||||
//
|
||||
// Permission is a required field
|
||||
Permission *string `type:"string" required:"true" enum:"Permission"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s UserSetting) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s UserSetting) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *UserSetting) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "UserSetting"}
|
||||
if s.Action == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("Action"))
|
||||
}
|
||||
if s.Permission == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("Permission"))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetAction sets the Action field's value.
|
||||
func (s *UserSetting) SetAction(v string) *UserSetting {
|
||||
s.Action = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetPermission sets the Permission field's value.
|
||||
func (s *UserSetting) SetPermission(v string) *UserSetting {
|
||||
s.Permission = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// Describes VPC configuration information.
|
||||
type VpcConfig struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
@ -7144,6 +7331,23 @@ func (s *VpcConfig) SetSubnetIds(v []*string) *VpcConfig {
|
|||
return s
|
||||
}
|
||||
|
||||
const (
|
||||
// ActionClipboardCopyFromLocalDevice is a Action enum value
|
||||
ActionClipboardCopyFromLocalDevice = "CLIPBOARD_COPY_FROM_LOCAL_DEVICE"
|
||||
|
||||
// ActionClipboardCopyToLocalDevice is a Action enum value
|
||||
ActionClipboardCopyToLocalDevice = "CLIPBOARD_COPY_TO_LOCAL_DEVICE"
|
||||
|
||||
// ActionFileUpload is a Action enum value
|
||||
ActionFileUpload = "FILE_UPLOAD"
|
||||
|
||||
// ActionFileDownload is a Action enum value
|
||||
ActionFileDownload = "FILE_DOWNLOAD"
|
||||
|
||||
// ActionPrintingToLocalDevice is a Action enum value
|
||||
ActionPrintingToLocalDevice = "PRINTING_TO_LOCAL_DEVICE"
|
||||
)
|
||||
|
||||
const (
|
||||
// AuthenticationTypeApi is a AuthenticationType enum value
|
||||
AuthenticationTypeApi = "API"
|
||||
|
@ -7334,6 +7538,14 @@ const (
|
|||
ImageStateChangeReasonCodeImageCopyFailure = "IMAGE_COPY_FAILURE"
|
||||
)
|
||||
|
||||
const (
|
||||
// PermissionEnabled is a Permission enum value
|
||||
PermissionEnabled = "ENABLED"
|
||||
|
||||
// PermissionDisabled is a Permission enum value
|
||||
PermissionDisabled = "DISABLED"
|
||||
)
|
||||
|
||||
const (
|
||||
// PlatformTypeWindows is a PlatformType enum value
|
||||
PlatformTypeWindows = "WINDOWS"
|
||||
|
@ -7355,6 +7567,12 @@ const (
|
|||
// StackAttributeStorageConnectors is a StackAttribute enum value
|
||||
StackAttributeStorageConnectors = "STORAGE_CONNECTORS"
|
||||
|
||||
// StackAttributeStorageConnectorHomefolders is a StackAttribute enum value
|
||||
StackAttributeStorageConnectorHomefolders = "STORAGE_CONNECTOR_HOMEFOLDERS"
|
||||
|
||||
// StackAttributeStorageConnectorGoogleDrive is a StackAttribute enum value
|
||||
StackAttributeStorageConnectorGoogleDrive = "STORAGE_CONNECTOR_GOOGLE_DRIVE"
|
||||
|
||||
// StackAttributeRedirectUrl is a StackAttribute enum value
|
||||
StackAttributeRedirectUrl = "REDIRECT_URL"
|
||||
|
||||
|
@ -7363,6 +7581,9 @@ const (
|
|||
|
||||
// StackAttributeThemeName is a StackAttribute enum value
|
||||
StackAttributeThemeName = "THEME_NAME"
|
||||
|
||||
// StackAttributeUserSettings is a StackAttribute enum value
|
||||
StackAttributeUserSettings = "USER_SETTINGS"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -7377,6 +7598,9 @@ const (
|
|||
const (
|
||||
// StorageConnectorTypeHomefolders is a StorageConnectorType enum value
|
||||
StorageConnectorTypeHomefolders = "HOMEFOLDERS"
|
||||
|
||||
// StorageConnectorTypeGoogleDrive is a StorageConnectorType enum value
|
||||
StorageConnectorTypeGoogleDrive = "GOOGLE_DRIVE"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/appstream/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/appstream/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "appstream2" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "appstream2" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "AppStream" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the AppStream client with a session.
|
||||
|
@ -58,6 +59,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/appsync/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/appsync/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "appsync" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "appsync" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "AppSync" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the AppSync client with a session.
|
||||
|
@ -58,6 +59,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/athena/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/athena/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "athena" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "athena" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Athena" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the Athena client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/autoscaling/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/autoscaling/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "autoscaling" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "autoscaling" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Auto Scaling" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the AutoScaling client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/autoscalingplans/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/autoscalingplans/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "autoscaling" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "autoscaling" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Auto Scaling Plans" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the AutoScalingPlans client with a session.
|
||||
|
@ -58,6 +59,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/batch/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/batch/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "batch" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "batch" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Batch" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the Batch client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/budgets/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/budgets/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "budgets" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "budgets" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Budgets" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the Budgets client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/cloud9/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/cloud9/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "cloud9" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "cloud9" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Cloud9" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the Cloud9 client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
1278
vendor/github.com/aws/aws-sdk-go/service/clouddirectory/api.go
generated
vendored
1278
vendor/github.com/aws/aws-sdk-go/service/clouddirectory/api.go
generated
vendored
File diff suppressed because it is too large
Load diff
15
vendor/github.com/aws/aws-sdk-go/service/clouddirectory/clouddirectoryiface/interface.go
generated
vendored
15
vendor/github.com/aws/aws-sdk-go/service/clouddirectory/clouddirectoryiface/interface.go
generated
vendored
|
@ -172,6 +172,10 @@ type CloudDirectoryAPI interface {
|
|||
GetFacetWithContext(aws.Context, *clouddirectory.GetFacetInput, ...request.Option) (*clouddirectory.GetFacetOutput, error)
|
||||
GetFacetRequest(*clouddirectory.GetFacetInput) (*request.Request, *clouddirectory.GetFacetOutput)
|
||||
|
||||
GetLinkAttributes(*clouddirectory.GetLinkAttributesInput) (*clouddirectory.GetLinkAttributesOutput, error)
|
||||
GetLinkAttributesWithContext(aws.Context, *clouddirectory.GetLinkAttributesInput, ...request.Option) (*clouddirectory.GetLinkAttributesOutput, error)
|
||||
GetLinkAttributesRequest(*clouddirectory.GetLinkAttributesInput) (*request.Request, *clouddirectory.GetLinkAttributesOutput)
|
||||
|
||||
GetObjectAttributes(*clouddirectory.GetObjectAttributesInput) (*clouddirectory.GetObjectAttributesOutput, error)
|
||||
GetObjectAttributesWithContext(aws.Context, *clouddirectory.GetObjectAttributesInput, ...request.Option) (*clouddirectory.GetObjectAttributesOutput, error)
|
||||
GetObjectAttributesRequest(*clouddirectory.GetObjectAttributesInput) (*request.Request, *clouddirectory.GetObjectAttributesOutput)
|
||||
|
@ -241,6 +245,13 @@ type CloudDirectoryAPI interface {
|
|||
ListIndexPages(*clouddirectory.ListIndexInput, func(*clouddirectory.ListIndexOutput, bool) bool) error
|
||||
ListIndexPagesWithContext(aws.Context, *clouddirectory.ListIndexInput, func(*clouddirectory.ListIndexOutput, bool) bool, ...request.Option) error
|
||||
|
||||
ListManagedSchemaArns(*clouddirectory.ListManagedSchemaArnsInput) (*clouddirectory.ListManagedSchemaArnsOutput, error)
|
||||
ListManagedSchemaArnsWithContext(aws.Context, *clouddirectory.ListManagedSchemaArnsInput, ...request.Option) (*clouddirectory.ListManagedSchemaArnsOutput, error)
|
||||
ListManagedSchemaArnsRequest(*clouddirectory.ListManagedSchemaArnsInput) (*request.Request, *clouddirectory.ListManagedSchemaArnsOutput)
|
||||
|
||||
ListManagedSchemaArnsPages(*clouddirectory.ListManagedSchemaArnsInput, func(*clouddirectory.ListManagedSchemaArnsOutput, bool) bool) error
|
||||
ListManagedSchemaArnsPagesWithContext(aws.Context, *clouddirectory.ListManagedSchemaArnsInput, func(*clouddirectory.ListManagedSchemaArnsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
ListObjectAttributes(*clouddirectory.ListObjectAttributesInput) (*clouddirectory.ListObjectAttributesOutput, error)
|
||||
ListObjectAttributesWithContext(aws.Context, *clouddirectory.ListObjectAttributesInput, ...request.Option) (*clouddirectory.ListObjectAttributesOutput, error)
|
||||
ListObjectAttributesRequest(*clouddirectory.ListObjectAttributesInput) (*request.Request, *clouddirectory.ListObjectAttributesOutput)
|
||||
|
@ -346,6 +357,10 @@ type CloudDirectoryAPI interface {
|
|||
UpdateFacetWithContext(aws.Context, *clouddirectory.UpdateFacetInput, ...request.Option) (*clouddirectory.UpdateFacetOutput, error)
|
||||
UpdateFacetRequest(*clouddirectory.UpdateFacetInput) (*request.Request, *clouddirectory.UpdateFacetOutput)
|
||||
|
||||
UpdateLinkAttributes(*clouddirectory.UpdateLinkAttributesInput) (*clouddirectory.UpdateLinkAttributesOutput, error)
|
||||
UpdateLinkAttributesWithContext(aws.Context, *clouddirectory.UpdateLinkAttributesInput, ...request.Option) (*clouddirectory.UpdateLinkAttributesOutput, error)
|
||||
UpdateLinkAttributesRequest(*clouddirectory.UpdateLinkAttributesInput) (*request.Request, *clouddirectory.UpdateLinkAttributesOutput)
|
||||
|
||||
UpdateObjectAttributes(*clouddirectory.UpdateObjectAttributesInput) (*clouddirectory.UpdateObjectAttributesOutput, error)
|
||||
UpdateObjectAttributesWithContext(aws.Context, *clouddirectory.UpdateObjectAttributesInput, ...request.Option) (*clouddirectory.UpdateObjectAttributesOutput, error)
|
||||
UpdateObjectAttributesRequest(*clouddirectory.UpdateObjectAttributesInput) (*request.Request, *clouddirectory.UpdateObjectAttributesOutput)
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/service/clouddirectory/doc.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/clouddirectory/doc.go
generated
vendored
|
@ -10,7 +10,7 @@
|
|||
// 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).
|
||||
//
|
||||
// See https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10 for more information on this service.
|
||||
// See https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11 for more information on this service.
|
||||
//
|
||||
// See clouddirectory package documentation for more information.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/clouddirectory/
|
||||
|
|
8
vendor/github.com/aws/aws-sdk-go/service/clouddirectory/service.go
generated
vendored
8
vendor/github.com/aws/aws-sdk-go/service/clouddirectory/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "clouddirectory" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "clouddirectory" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "CloudDirectory" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudDirectory client with a session.
|
||||
|
@ -58,10 +59,11 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
APIVersion: "2016-05-10",
|
||||
APIVersion: "2017-01-11",
|
||||
},
|
||||
handlers,
|
||||
),
|
||||
|
|
121
vendor/github.com/aws/aws-sdk-go/service/cloudformation/api.go
generated
vendored
121
vendor/github.com/aws/aws-sdk-go/service/cloudformation/api.go
generated
vendored
|
@ -3618,7 +3618,8 @@ func (c *CloudFormation) UpdateStackSetRequest(input *UpdateStackSetInput) (req
|
|||
|
||||
// UpdateStackSet API operation for AWS CloudFormation.
|
||||
//
|
||||
// Updates the stack set and all associated stack instances.
|
||||
// Updates the stack set, and associated stack instances in the specified accounts
|
||||
// and regions.
|
||||
//
|
||||
// Even if the stack set operation created by updating the stack set fails (completely
|
||||
// or partially, below or above a specified failure tolerance), the stack set
|
||||
|
@ -3650,6 +3651,9 @@ func (c *CloudFormation) UpdateStackSetRequest(input *UpdateStackSetInput) (req
|
|||
// * ErrCodeInvalidOperationException "InvalidOperationException"
|
||||
// The specified operation isn't valid.
|
||||
//
|
||||
// * ErrCodeStackInstanceNotFoundException "StackInstanceNotFoundException"
|
||||
// The specified stack instance doesn't exist.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSet
|
||||
func (c *CloudFormation) UpdateStackSet(input *UpdateStackSetInput) (*UpdateStackSetOutput, error) {
|
||||
req, out := c.UpdateStackSetRequest(input)
|
||||
|
@ -5130,8 +5134,8 @@ type CreateStackSetInput struct {
|
|||
//
|
||||
// Specify an IAM role only if you are using customized administrator roles
|
||||
// to control which users or groups can manage specific stack sets within the
|
||||
// same administrator account. For more information, see Define Permissions
|
||||
// for Multiple Administrators (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html)
|
||||
// same administrator account. For more information, see Prerequisites: Granting
|
||||
// Permissions for Stack Set Operations (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html)
|
||||
// in the AWS CloudFormation User Guide.
|
||||
AdministrationRoleARN *string `min:"20" type:"string"`
|
||||
|
||||
|
@ -5184,6 +5188,14 @@ type CreateStackSetInput struct {
|
|||
// stack set's purpose or other important information.
|
||||
Description *string `min:"1" type:"string"`
|
||||
|
||||
// The name of the IAM execution role to use to create the stack set. If you
|
||||
// do not specify an execution role, AWS CloudFormation uses the AWSCloudFormationStackSetExecutionRole
|
||||
// role for the stack set operation.
|
||||
//
|
||||
// Specify an IAM role only if you are using customized execution roles to control
|
||||
// which stack resources users and groups can include in their stack sets.
|
||||
ExecutionRoleName *string `min:"1" type:"string"`
|
||||
|
||||
// The input parameters for the stack set template.
|
||||
Parameters []*Parameter `type:"list"`
|
||||
|
||||
|
@ -5248,6 +5260,9 @@ func (s *CreateStackSetInput) Validate() error {
|
|||
if s.Description != nil && len(*s.Description) < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("Description", 1))
|
||||
}
|
||||
if s.ExecutionRoleName != nil && len(*s.ExecutionRoleName) < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("ExecutionRoleName", 1))
|
||||
}
|
||||
if s.StackSetName == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("StackSetName"))
|
||||
}
|
||||
|
@ -5298,6 +5313,12 @@ func (s *CreateStackSetInput) SetDescription(v string) *CreateStackSetInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetExecutionRoleName sets the ExecutionRoleName field's value.
|
||||
func (s *CreateStackSetInput) SetExecutionRoleName(v string) *CreateStackSetInput {
|
||||
s.ExecutionRoleName = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetParameters sets the Parameters field's value.
|
||||
func (s *CreateStackSetInput) SetParameters(v []*Parameter) *CreateStackSetInput {
|
||||
s.Parameters = v
|
||||
|
@ -9765,7 +9786,7 @@ type StackSet struct {
|
|||
//
|
||||
// Use customized administrator roles to control which users or groups can manage
|
||||
// specific stack sets within the same administrator account. For more information,
|
||||
// see Define Permissions for Multiple Administrators (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html)
|
||||
// see Prerequisites: Granting Permissions for Stack Set Operations (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html)
|
||||
// in the AWS CloudFormation User Guide.
|
||||
AdministrationRoleARN *string `min:"20" type:"string"`
|
||||
|
||||
|
@ -9780,6 +9801,12 @@ type StackSet struct {
|
|||
// or updated.
|
||||
Description *string `min:"1" type:"string"`
|
||||
|
||||
// The name of the IAM execution role used to create or update the stack set.
|
||||
//
|
||||
// Use customized execution roles to control which stack resources users and
|
||||
// groups can include in their stack sets.
|
||||
ExecutionRoleName *string `min:"1" type:"string"`
|
||||
|
||||
// A list of input parameters for a stack set.
|
||||
Parameters []*Parameter `type:"list"`
|
||||
|
||||
|
@ -9832,6 +9859,12 @@ func (s *StackSet) SetDescription(v string) *StackSet {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetExecutionRoleName sets the ExecutionRoleName field's value.
|
||||
func (s *StackSet) SetExecutionRoleName(v string) *StackSet {
|
||||
s.ExecutionRoleName = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetParameters sets the Parameters field's value.
|
||||
func (s *StackSet) SetParameters(v []*Parameter) *StackSet {
|
||||
s.Parameters = v
|
||||
|
@ -9905,6 +9938,12 @@ type StackSetOperation struct {
|
|||
// set operation was successful, or even attempted, in each account or region.
|
||||
EndTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
|
||||
|
||||
// The name of the IAM execution role used to create or update the stack set.
|
||||
//
|
||||
// Use customized execution roles to control which stack resources users and
|
||||
// groups can include in their stack sets.
|
||||
ExecutionRoleName *string `min:"1" type:"string"`
|
||||
|
||||
// The unique ID of a stack set operation.
|
||||
OperationId *string `min:"1" type:"string"`
|
||||
|
||||
|
@ -9976,6 +10015,12 @@ func (s *StackSetOperation) SetEndTimestamp(v time.Time) *StackSetOperation {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetExecutionRoleName sets the ExecutionRoleName field's value.
|
||||
func (s *StackSetOperation) SetExecutionRoleName(v string) *StackSetOperation {
|
||||
s.ExecutionRoleName = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetOperationId sets the OperationId field's value.
|
||||
func (s *StackSetOperation) SetOperationId(v string) *StackSetOperation {
|
||||
s.OperationId = &v
|
||||
|
@ -11168,6 +11213,23 @@ func (s *UpdateStackOutput) SetStackId(v string) *UpdateStackOutput {
|
|||
type UpdateStackSetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The accounts in which to update associated stack instances. If you specify
|
||||
// accounts, you must also specify the regions in which to update stack set
|
||||
// instances.
|
||||
//
|
||||
// To update all the stack instances associated with this stack set, do not
|
||||
// specify the Accounts or Regions properties.
|
||||
//
|
||||
// If the stack set update includes changes to the template (that is, if the
|
||||
// TemplateBody or TemplateURL properties are specified), or the Parameters
|
||||
// property, AWS CloudFormation marks all stack instances with a status of OUTDATED
|
||||
// prior to updating the stack instances in the specified accounts and regions.
|
||||
// If the stack set update does not include changes to the template or parameters,
|
||||
// AWS CloudFormation updates the stack instances in the specified accounts
|
||||
// and regions, while leaving all other stack instances with their existing
|
||||
// stack instance status.
|
||||
Accounts []*string `type:"list"`
|
||||
|
||||
// The Amazon Resource Number (ARN) of the IAM role to use to update this stack
|
||||
// set.
|
||||
//
|
||||
|
@ -11223,6 +11285,20 @@ type UpdateStackSetInput struct {
|
|||
// A brief description of updates that you are making.
|
||||
Description *string `min:"1" type:"string"`
|
||||
|
||||
// The name of the IAM execution role to use to update the stack set. If you
|
||||
// do not specify an execution role, AWS CloudFormation uses the AWSCloudFormationStackSetExecutionRole
|
||||
// role for the stack set operation.
|
||||
//
|
||||
// Specify an IAM role only if you are using customized execution roles to control
|
||||
// which stack resources users and groups can include in their stack sets.
|
||||
//
|
||||
// If you specify a customized execution role, AWS CloudFormation uses that
|
||||
// role to update the stack. If you do not specify a customized execution role,
|
||||
// AWS CloudFormation performs the update using the role previously associated
|
||||
// with the stack set, so long as you have permissions to perform operations
|
||||
// on the stack set.
|
||||
ExecutionRoleName *string `min:"1" type:"string"`
|
||||
|
||||
// The unique ID for this stack set operation.
|
||||
//
|
||||
// The operation ID also functions as an idempotency token, to ensure that AWS
|
||||
|
@ -11242,6 +11318,22 @@ type UpdateStackSetInput struct {
|
|||
// A list of input parameters for the stack set template.
|
||||
Parameters []*Parameter `type:"list"`
|
||||
|
||||
// The regions in which to update associated stack instances. If you specify
|
||||
// regions, you must also specify accounts in which to update stack set instances.
|
||||
//
|
||||
// To update all the stack instances associated with this stack set, do not
|
||||
// specify the Accounts or Regions properties.
|
||||
//
|
||||
// If the stack set update includes changes to the template (that is, if the
|
||||
// TemplateBody or TemplateURL properties are specified), or the Parameters
|
||||
// property, AWS CloudFormation marks all stack instances with a status of OUTDATED
|
||||
// prior to updating the stack instances in the specified accounts and regions.
|
||||
// If the stack set update does not include changes to the template or parameters,
|
||||
// AWS CloudFormation updates the stack instances in the specified accounts
|
||||
// and regions, while leaving all other stack instances with their existing
|
||||
// stack instance status.
|
||||
Regions []*string `type:"list"`
|
||||
|
||||
// The name or unique ID of the stack set that you want to update.
|
||||
//
|
||||
// StackSetName is a required field
|
||||
|
@ -11321,6 +11413,9 @@ func (s *UpdateStackSetInput) Validate() error {
|
|||
if s.Description != nil && len(*s.Description) < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("Description", 1))
|
||||
}
|
||||
if s.ExecutionRoleName != nil && len(*s.ExecutionRoleName) < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("ExecutionRoleName", 1))
|
||||
}
|
||||
if s.OperationId != nil && len(*s.OperationId) < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("OperationId", 1))
|
||||
}
|
||||
|
@ -11355,6 +11450,12 @@ func (s *UpdateStackSetInput) Validate() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// SetAccounts sets the Accounts field's value.
|
||||
func (s *UpdateStackSetInput) SetAccounts(v []*string) *UpdateStackSetInput {
|
||||
s.Accounts = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetAdministrationRoleARN sets the AdministrationRoleARN field's value.
|
||||
func (s *UpdateStackSetInput) SetAdministrationRoleARN(v string) *UpdateStackSetInput {
|
||||
s.AdministrationRoleARN = &v
|
||||
|
@ -11373,6 +11474,12 @@ func (s *UpdateStackSetInput) SetDescription(v string) *UpdateStackSetInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetExecutionRoleName sets the ExecutionRoleName field's value.
|
||||
func (s *UpdateStackSetInput) SetExecutionRoleName(v string) *UpdateStackSetInput {
|
||||
s.ExecutionRoleName = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetOperationId sets the OperationId field's value.
|
||||
func (s *UpdateStackSetInput) SetOperationId(v string) *UpdateStackSetInput {
|
||||
s.OperationId = &v
|
||||
|
@ -11391,6 +11498,12 @@ func (s *UpdateStackSetInput) SetParameters(v []*Parameter) *UpdateStackSetInput
|
|||
return s
|
||||
}
|
||||
|
||||
// SetRegions sets the Regions field's value.
|
||||
func (s *UpdateStackSetInput) SetRegions(v []*string) *UpdateStackSetInput {
|
||||
s.Regions = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetStackSetName sets the StackSetName field's value.
|
||||
func (s *UpdateStackSetInput) SetStackSetName(v string) *UpdateStackSetInput {
|
||||
s.StackSetName = &v
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/cloudformation/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/cloudformation/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "cloudformation" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "cloudformation" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "CloudFormation" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudFormation client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
140
vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go
generated
vendored
140
vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go
generated
vendored
|
@ -72,7 +72,7 @@ func (c *CloudFront) CreateCloudFrontOriginAccessIdentityRequest(input *CreateCl
|
|||
// API operation CreateCloudFrontOriginAccessIdentity for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeOriginAccessIdentityAlreadyExists "OriginAccessIdentityAlreadyExists"
|
||||
// * ErrCodeOriginAccessIdentityAlreadyExists "CloudFrontOriginAccessIdentityAlreadyExists"
|
||||
// If the CallerReference is a value you already sent in a previous request
|
||||
// to create an identity but the content of the CloudFrontOriginAccessIdentityConfig
|
||||
// is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists
|
||||
|
@ -1239,7 +1239,7 @@ func (c *CloudFront) DeleteCloudFrontOriginAccessIdentityRequest(input *DeleteCl
|
|||
// The precondition given in one or more of the request-header fields evaluated
|
||||
// to false.
|
||||
//
|
||||
// * ErrCodeOriginAccessIdentityInUse "OriginAccessIdentityInUse"
|
||||
// * ErrCodeOriginAccessIdentityInUse "CloudFrontOriginAccessIdentityInUse"
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/DeleteCloudFrontOriginAccessIdentity
|
||||
func (c *CloudFront) DeleteCloudFrontOriginAccessIdentity(input *DeleteCloudFrontOriginAccessIdentityInput) (*DeleteCloudFrontOriginAccessIdentityOutput, error) {
|
||||
|
@ -1638,92 +1638,6 @@ func (c *CloudFront) DeletePublicKeyWithContext(ctx aws.Context, input *DeletePu
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opDeleteServiceLinkedRole = "DeleteServiceLinkedRole2017_10_30"
|
||||
|
||||
// DeleteServiceLinkedRoleRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteServiceLinkedRole operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// See DeleteServiceLinkedRole for more information on using the DeleteServiceLinkedRole
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
//
|
||||
// // Example sending a request using the DeleteServiceLinkedRoleRequest method.
|
||||
// req, resp := client.DeleteServiceLinkedRoleRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/DeleteServiceLinkedRole
|
||||
func (c *CloudFront) DeleteServiceLinkedRoleRequest(input *DeleteServiceLinkedRoleInput) (req *request.Request, output *DeleteServiceLinkedRoleOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteServiceLinkedRole,
|
||||
HTTPMethod: "DELETE",
|
||||
HTTPPath: "/2017-10-30/service-linked-role/{RoleName}",
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &DeleteServiceLinkedRoleInput{}
|
||||
}
|
||||
|
||||
output = &DeleteServiceLinkedRoleOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
req.Handlers.Unmarshal.Remove(restxml.UnmarshalHandler)
|
||||
req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler)
|
||||
return
|
||||
}
|
||||
|
||||
// DeleteServiceLinkedRole API operation for Amazon CloudFront.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
// the error.
|
||||
//
|
||||
// See the AWS API reference guide for Amazon CloudFront's
|
||||
// API operation DeleteServiceLinkedRole for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeInvalidArgument "InvalidArgument"
|
||||
// The argument is invalid.
|
||||
//
|
||||
// * ErrCodeAccessDenied "AccessDenied"
|
||||
// Access denied.
|
||||
//
|
||||
// * ErrCodeResourceInUse "ResourceInUse"
|
||||
//
|
||||
// * ErrCodeNoSuchResource "NoSuchResource"
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/DeleteServiceLinkedRole
|
||||
func (c *CloudFront) DeleteServiceLinkedRole(input *DeleteServiceLinkedRoleInput) (*DeleteServiceLinkedRoleOutput, error) {
|
||||
req, out := c.DeleteServiceLinkedRoleRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// DeleteServiceLinkedRoleWithContext is the same as DeleteServiceLinkedRole with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See DeleteServiceLinkedRole for details on how to use this API operation.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *CloudFront) DeleteServiceLinkedRoleWithContext(ctx aws.Context, input *DeleteServiceLinkedRoleInput, opts ...request.Option) (*DeleteServiceLinkedRoleOutput, error) {
|
||||
req, out := c.DeleteServiceLinkedRoleRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opDeleteStreamingDistribution = "DeleteStreamingDistribution2017_10_30"
|
||||
|
||||
// DeleteStreamingDistributionRequest generates a "aws/request.Request" representing the
|
||||
|
@ -7551,56 +7465,6 @@ func (s DeletePublicKeyOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
type DeleteServiceLinkedRoleInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// RoleName is a required field
|
||||
RoleName *string `location:"uri" locationName:"RoleName" type:"string" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s DeleteServiceLinkedRoleInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s DeleteServiceLinkedRoleInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *DeleteServiceLinkedRoleInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "DeleteServiceLinkedRoleInput"}
|
||||
if s.RoleName == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("RoleName"))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetRoleName sets the RoleName field's value.
|
||||
func (s *DeleteServiceLinkedRoleInput) SetRoleName(v string) *DeleteServiceLinkedRoleInput {
|
||||
s.RoleName = &v
|
||||
return s
|
||||
}
|
||||
|
||||
type DeleteServiceLinkedRoleOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s DeleteServiceLinkedRoleOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s DeleteServiceLinkedRoleOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// The request to delete a streaming distribution.
|
||||
type DeleteStreamingDistributionInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go/service/cloudfront/cloudfrontiface/interface.go
generated
vendored
4
vendor/github.com/aws/aws-sdk-go/service/cloudfront/cloudfrontiface/interface.go
generated
vendored
|
@ -116,10 +116,6 @@ type CloudFrontAPI interface {
|
|||
DeletePublicKeyWithContext(aws.Context, *cloudfront.DeletePublicKeyInput, ...request.Option) (*cloudfront.DeletePublicKeyOutput, error)
|
||||
DeletePublicKeyRequest(*cloudfront.DeletePublicKeyInput) (*request.Request, *cloudfront.DeletePublicKeyOutput)
|
||||
|
||||
DeleteServiceLinkedRole(*cloudfront.DeleteServiceLinkedRoleInput) (*cloudfront.DeleteServiceLinkedRoleOutput, error)
|
||||
DeleteServiceLinkedRoleWithContext(aws.Context, *cloudfront.DeleteServiceLinkedRoleInput, ...request.Option) (*cloudfront.DeleteServiceLinkedRoleOutput, error)
|
||||
DeleteServiceLinkedRoleRequest(*cloudfront.DeleteServiceLinkedRoleInput) (*request.Request, *cloudfront.DeleteServiceLinkedRoleOutput)
|
||||
|
||||
DeleteStreamingDistribution(*cloudfront.DeleteStreamingDistributionInput) (*cloudfront.DeleteStreamingDistributionOutput, error)
|
||||
DeleteStreamingDistributionWithContext(aws.Context, *cloudfront.DeleteStreamingDistributionInput, ...request.Option) (*cloudfront.DeleteStreamingDistributionOutput, error)
|
||||
DeleteStreamingDistributionRequest(*cloudfront.DeleteStreamingDistributionInput) (*request.Request, *cloudfront.DeleteStreamingDistributionOutput)
|
||||
|
|
12
vendor/github.com/aws/aws-sdk-go/service/cloudfront/errors.go
generated
vendored
12
vendor/github.com/aws/aws-sdk-go/service/cloudfront/errors.go
generated
vendored
|
@ -264,17 +264,17 @@ const (
|
|||
ErrCodeNoSuchStreamingDistribution = "NoSuchStreamingDistribution"
|
||||
|
||||
// ErrCodeOriginAccessIdentityAlreadyExists for service response error code
|
||||
// "OriginAccessIdentityAlreadyExists".
|
||||
// "CloudFrontOriginAccessIdentityAlreadyExists".
|
||||
//
|
||||
// If the CallerReference is a value you already sent in a previous request
|
||||
// to create an identity but the content of the CloudFrontOriginAccessIdentityConfig
|
||||
// is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists
|
||||
// error.
|
||||
ErrCodeOriginAccessIdentityAlreadyExists = "OriginAccessIdentityAlreadyExists"
|
||||
ErrCodeOriginAccessIdentityAlreadyExists = "CloudFrontOriginAccessIdentityAlreadyExists"
|
||||
|
||||
// ErrCodeOriginAccessIdentityInUse for service response error code
|
||||
// "OriginAccessIdentityInUse".
|
||||
ErrCodeOriginAccessIdentityInUse = "OriginAccessIdentityInUse"
|
||||
// "CloudFrontOriginAccessIdentityInUse".
|
||||
ErrCodeOriginAccessIdentityInUse = "CloudFrontOriginAccessIdentityInUse"
|
||||
|
||||
// ErrCodePreconditionFailed for service response error code
|
||||
// "PreconditionFailed".
|
||||
|
@ -301,10 +301,6 @@ const (
|
|||
// No profile specified for the field-level encryption query argument.
|
||||
ErrCodeQueryArgProfileEmpty = "QueryArgProfileEmpty"
|
||||
|
||||
// ErrCodeResourceInUse for service response error code
|
||||
// "ResourceInUse".
|
||||
ErrCodeResourceInUse = "ResourceInUse"
|
||||
|
||||
// ErrCodeStreamingDistributionAlreadyExists for service response error code
|
||||
// "StreamingDistributionAlreadyExists".
|
||||
ErrCodeStreamingDistributionAlreadyExists = "StreamingDistributionAlreadyExists"
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/cloudfront/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/cloudfront/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "cloudfront" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "cloudfront" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "CloudFront" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudFront client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/cloudhsm/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/cloudhsm/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "cloudhsm" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "cloudhsm" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "CloudHSM" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudHSM client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/cloudhsmv2/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/cloudhsmv2/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "cloudhsmv2" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "cloudhsmv2" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "CloudHSM V2" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudHSMV2 client with a session.
|
||||
|
@ -58,6 +59,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/cloudsearch/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/cloudsearch/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "cloudsearch" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "cloudsearch" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "CloudSearch" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudSearch client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/cloudsearchdomain/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/cloudsearchdomain/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "cloudsearchdomain" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "cloudsearchdomain" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "CloudSearch Domain" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudSearchDomain client with a session.
|
||||
|
@ -63,6 +64,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/cloudtrail/api.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/cloudtrail/api.go
generated
vendored
|
@ -73,7 +73,7 @@ func (c *CloudTrail) AddTagsRequest(input *AddTagsInput) (req *request.Request,
|
|||
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
|
||||
// This exception is thrown when the specified resource is not found.
|
||||
//
|
||||
// * ErrCodeARNInvalidException "ARNInvalidException"
|
||||
// * ErrCodeARNInvalidException "CloudTrailARNInvalidException"
|
||||
// This exception is thrown when an operation is called with an invalid trail
|
||||
// ARN. The format of a trail ARN is:
|
||||
//
|
||||
|
@ -842,7 +842,7 @@ func (c *CloudTrail) ListTagsRequest(input *ListTagsInput) (req *request.Request
|
|||
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
|
||||
// This exception is thrown when the specified resource is not found.
|
||||
//
|
||||
// * ErrCodeARNInvalidException "ARNInvalidException"
|
||||
// * ErrCodeARNInvalidException "CloudTrailARNInvalidException"
|
||||
// This exception is thrown when an operation is called with an invalid trail
|
||||
// ARN. The format of a trail ARN is:
|
||||
//
|
||||
|
@ -1271,7 +1271,7 @@ func (c *CloudTrail) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Req
|
|||
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
|
||||
// This exception is thrown when the specified resource is not found.
|
||||
//
|
||||
// * ErrCodeARNInvalidException "ARNInvalidException"
|
||||
// * ErrCodeARNInvalidException "CloudTrailARNInvalidException"
|
||||
// This exception is thrown when an operation is called with an invalid trail
|
||||
// ARN. The format of a trail ARN is:
|
||||
//
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go/service/cloudtrail/errors.go
generated
vendored
4
vendor/github.com/aws/aws-sdk-go/service/cloudtrail/errors.go
generated
vendored
|
@ -5,13 +5,13 @@ package cloudtrail
|
|||
const (
|
||||
|
||||
// ErrCodeARNInvalidException for service response error code
|
||||
// "ARNInvalidException".
|
||||
// "CloudTrailARNInvalidException".
|
||||
//
|
||||
// This exception is thrown when an operation is called with an invalid trail
|
||||
// ARN. The format of a trail ARN is:
|
||||
//
|
||||
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
||||
ErrCodeARNInvalidException = "ARNInvalidException"
|
||||
ErrCodeARNInvalidException = "CloudTrailARNInvalidException"
|
||||
|
||||
// ErrCodeCloudWatchLogsDeliveryUnavailableException for service response error code
|
||||
// "CloudWatchLogsDeliveryUnavailableException".
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/cloudtrail/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/cloudtrail/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "cloudtrail" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "cloudtrail" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "CloudTrail" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudTrail client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/cloudwatch/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/cloudwatch/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "monitoring" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "monitoring" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "CloudWatch" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudWatch client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "events" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "events" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "CloudWatch Events" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudWatchEvents client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
7
vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/api.go
generated
vendored
7
vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/api.go
generated
vendored
|
@ -1281,6 +1281,7 @@ func (c *CloudWatchLogs) DescribeDestinationsPages(input *DescribeDestinationsIn
|
|||
// for more information on using Contexts.
|
||||
func (c *CloudWatchLogs) DescribeDestinationsPagesWithContext(ctx aws.Context, input *DescribeDestinationsInput, fn func(*DescribeDestinationsOutput, bool) bool, opts ...request.Option) error {
|
||||
p := request.Pagination{
|
||||
EndPageOnSameToken: true,
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
var inCpy *DescribeDestinationsInput
|
||||
if input != nil {
|
||||
|
@ -1503,6 +1504,7 @@ func (c *CloudWatchLogs) DescribeLogGroupsPages(input *DescribeLogGroupsInput, f
|
|||
// for more information on using Contexts.
|
||||
func (c *CloudWatchLogs) DescribeLogGroupsPagesWithContext(ctx aws.Context, input *DescribeLogGroupsInput, fn func(*DescribeLogGroupsOutput, bool) bool, opts ...request.Option) error {
|
||||
p := request.Pagination{
|
||||
EndPageOnSameToken: true,
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
var inCpy *DescribeLogGroupsInput
|
||||
if input != nil {
|
||||
|
@ -1649,6 +1651,7 @@ func (c *CloudWatchLogs) DescribeLogStreamsPages(input *DescribeLogStreamsInput,
|
|||
// for more information on using Contexts.
|
||||
func (c *CloudWatchLogs) DescribeLogStreamsPagesWithContext(ctx aws.Context, input *DescribeLogStreamsInput, fn func(*DescribeLogStreamsOutput, bool) bool, opts ...request.Option) error {
|
||||
p := request.Pagination{
|
||||
EndPageOnSameToken: true,
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
var inCpy *DescribeLogStreamsInput
|
||||
if input != nil {
|
||||
|
@ -1792,6 +1795,7 @@ func (c *CloudWatchLogs) DescribeMetricFiltersPages(input *DescribeMetricFilters
|
|||
// for more information on using Contexts.
|
||||
func (c *CloudWatchLogs) DescribeMetricFiltersPagesWithContext(ctx aws.Context, input *DescribeMetricFiltersInput, fn func(*DescribeMetricFiltersOutput, bool) bool, opts ...request.Option) error {
|
||||
p := request.Pagination{
|
||||
EndPageOnSameToken: true,
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
var inCpy *DescribeMetricFiltersInput
|
||||
if input != nil {
|
||||
|
@ -2017,6 +2021,7 @@ func (c *CloudWatchLogs) DescribeSubscriptionFiltersPages(input *DescribeSubscri
|
|||
// for more information on using Contexts.
|
||||
func (c *CloudWatchLogs) DescribeSubscriptionFiltersPagesWithContext(ctx aws.Context, input *DescribeSubscriptionFiltersInput, fn func(*DescribeSubscriptionFiltersOutput, bool) bool, opts ...request.Option) error {
|
||||
p := request.Pagination{
|
||||
EndPageOnSameToken: true,
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
var inCpy *DescribeSubscriptionFiltersInput
|
||||
if input != nil {
|
||||
|
@ -2264,6 +2269,7 @@ func (c *CloudWatchLogs) FilterLogEventsPages(input *FilterLogEventsInput, fn fu
|
|||
// for more information on using Contexts.
|
||||
func (c *CloudWatchLogs) FilterLogEventsPagesWithContext(ctx aws.Context, input *FilterLogEventsInput, fn func(*FilterLogEventsOutput, bool) bool, opts ...request.Option) error {
|
||||
p := request.Pagination{
|
||||
EndPageOnSameToken: true,
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
var inCpy *FilterLogEventsInput
|
||||
if input != nil {
|
||||
|
@ -2410,6 +2416,7 @@ func (c *CloudWatchLogs) GetLogEventsPages(input *GetLogEventsInput, fn func(*Ge
|
|||
// for more information on using Contexts.
|
||||
func (c *CloudWatchLogs) GetLogEventsPagesWithContext(ctx aws.Context, input *GetLogEventsInput, fn func(*GetLogEventsOutput, bool) bool, opts ...request.Option) error {
|
||||
p := request.Pagination{
|
||||
EndPageOnSameToken: true,
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
var inCpy *GetLogEventsInput
|
||||
if input != nil {
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "logs" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "logs" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "CloudWatch Logs" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CloudWatchLogs client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/codebuild/api.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/codebuild/api.go
generated
vendored
|
@ -4757,6 +4757,9 @@ const (
|
|||
)
|
||||
|
||||
const (
|
||||
// EnvironmentTypeWindowsContainer is a EnvironmentType enum value
|
||||
EnvironmentTypeWindowsContainer = "WINDOWS_CONTAINER"
|
||||
|
||||
// EnvironmentTypeLinuxContainer is a EnvironmentType enum value
|
||||
EnvironmentTypeLinuxContainer = "LINUX_CONTAINER"
|
||||
)
|
||||
|
@ -4807,6 +4810,9 @@ const (
|
|||
|
||||
// PlatformTypeUbuntu is a PlatformType enum value
|
||||
PlatformTypeUbuntu = "UBUNTU"
|
||||
|
||||
// PlatformTypeWindowsServer is a PlatformType enum value
|
||||
PlatformTypeWindowsServer = "WINDOWS_SERVER"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/codebuild/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/codebuild/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "codebuild" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "codebuild" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "CodeBuild" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CodeBuild client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/codecommit/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/codecommit/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "codecommit" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "codecommit" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "CodeCommit" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CodeCommit client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
7
vendor/github.com/aws/aws-sdk-go/service/codedeploy/api.go
generated
vendored
7
vendor/github.com/aws/aws-sdk-go/service/codedeploy/api.go
generated
vendored
|
@ -5105,7 +5105,8 @@ type BlueInstanceTerminationOption struct {
|
|||
Action *string `locationName:"action" type:"string" enum:"InstanceAction"`
|
||||
|
||||
// The number of minutes to wait after a successful blue/green deployment before
|
||||
// terminating instances from the original environment.
|
||||
// terminating instances from the original environment. The maximum setting
|
||||
// is 2880 minutes (2 days).
|
||||
TerminationWaitTimeInMinutes *int64 `locationName:"terminationWaitTimeInMinutes" type:"integer"`
|
||||
}
|
||||
|
||||
|
@ -8760,11 +8761,15 @@ type LoadBalancerInfo struct {
|
|||
// An array containing information about the load balancer to use for load balancing
|
||||
// in a deployment. In Elastic Load Balancing, load balancers are used with
|
||||
// Classic Load Balancers.
|
||||
//
|
||||
// Adding more than one load balancer to the array is not supported.
|
||||
ElbInfoList []*ELBInfo `locationName:"elbInfoList" type:"list"`
|
||||
|
||||
// An array containing information about the target group to use for load balancing
|
||||
// in a deployment. In Elastic Load Balancing, target groups are used with Application
|
||||
// Load Balancers.
|
||||
//
|
||||
// Adding more than one target group to the array is not supported.
|
||||
TargetGroupInfoList []*TargetGroupInfo `locationName:"targetGroupInfoList" type:"list"`
|
||||
}
|
||||
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/codedeploy/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/codedeploy/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "codedeploy" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "codedeploy" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "CodeDeploy" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CodeDeploy client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go/service/codepipeline/api.go
generated
vendored
4
vendor/github.com/aws/aws-sdk-go/service/codepipeline/api.go
generated
vendored
|
@ -2809,6 +2809,10 @@ func (c *CodePipeline) UpdatePipelineRequest(input *UpdatePipelineInput) (req *r
|
|||
// * ErrCodeInvalidStructureException "InvalidStructureException"
|
||||
// The specified structure was specified in an invalid format.
|
||||
//
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// The number of pipelines associated with the AWS account has exceeded the
|
||||
// limit allowed for the account.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipeline
|
||||
func (c *CodePipeline) UpdatePipeline(input *UpdatePipelineInput) (*UpdatePipelineOutput, error) {
|
||||
req, out := c.UpdatePipelineRequest(input)
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/codepipeline/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/codepipeline/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "codepipeline" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "codepipeline" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "CodePipeline" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CodePipeline client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/codestar/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/codestar/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "codestar" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "codestar" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "CodeStar" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CodeStar client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/cognitoidentity/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/cognitoidentity/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "cognito-identity" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "cognito-identity" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Cognito Identity" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CognitoIdentity client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
106
vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/api.go
generated
vendored
106
vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/api.go
generated
vendored
|
@ -9911,7 +9911,8 @@ func (c *CognitoIdentityProvider) VerifySoftwareTokenRequest(input *VerifySoftwa
|
|||
// VerifySoftwareToken API operation for Amazon Cognito Identity Provider.
|
||||
//
|
||||
// Use this API to register a user's entered TOTP code and mark the user's software
|
||||
// token MFA status as "verified" if successful,
|
||||
// token MFA status as "verified" if successful. The request takes an access
|
||||
// token or a session string, but not both.
|
||||
//
|
||||
// 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
|
||||
|
@ -11751,6 +11752,13 @@ type AdminInitiateAuthOutput struct {
|
|||
// is returned to you in the AdminInitiateAuth response if you need to pass
|
||||
// another challenge.
|
||||
//
|
||||
// * MFA_SETUP: If MFA is required, users who do not have at least one of
|
||||
// the MFA methods set up are presented with an MFA_SETUP challenge. The
|
||||
// user must set up at least one MFA type to continue to authenticate.
|
||||
//
|
||||
// * SELECT_MFA_TYPE: Selects the MFA type. Valid MFA options are SMS_MFA
|
||||
// for text SMS MFA, and SOFTWARE_TOKEN_MFA for TOTP software token MFA.
|
||||
//
|
||||
// * SMS_MFA: Next challenge is to supply an SMS_MFA_CODE, delivered via
|
||||
// SMS.
|
||||
//
|
||||
|
@ -13555,7 +13563,7 @@ type AuthenticationResultType struct {
|
|||
// The access token.
|
||||
AccessToken *string `type:"string"`
|
||||
|
||||
// The expiration period of the authentication result.
|
||||
// The expiration period of the authentication result in seconds.
|
||||
ExpiresIn *int64 `type:"integer"`
|
||||
|
||||
// The ID token.
|
||||
|
@ -14851,7 +14859,19 @@ type CreateUserPoolClientInput struct {
|
|||
// user pool.
|
||||
AnalyticsConfiguration *AnalyticsConfigurationType `type:"structure"`
|
||||
|
||||
// A list of allowed callback URLs for the identity providers.
|
||||
// A list of allowed redirect (callback) URLs for the identity providers.
|
||||
//
|
||||
// A redirect URI must:
|
||||
//
|
||||
// * Be an absolute URI.
|
||||
//
|
||||
// * Be registered with the authorization server.
|
||||
//
|
||||
// * Not use HTTP without TLS (i.e. use HTTPS instead of HTTP).
|
||||
//
|
||||
// * Not include a fragment component.
|
||||
//
|
||||
// See OAuth 2.0 - Redirection Endpoint (https://tools.ietf.org/html/rfc6749#section-3.1.2).
|
||||
CallbackURLs []*string `type:"list"`
|
||||
|
||||
// The client name for the user pool client you would like to create.
|
||||
|
@ -14860,6 +14880,18 @@ type CreateUserPoolClientInput struct {
|
|||
ClientName *string `min:"1" type:"string" required:"true"`
|
||||
|
||||
// The default redirect URI. Must be in the CallbackURLs list.
|
||||
//
|
||||
// A redirect URI must:
|
||||
//
|
||||
// * Be an absolute URI.
|
||||
//
|
||||
// * Be registered with the authorization server.
|
||||
//
|
||||
// * Not use HTTP without TLS (i.e. use HTTPS instead of HTTP).
|
||||
//
|
||||
// * Not include a fragment component.
|
||||
//
|
||||
// See OAuth 2.0 - Redirection Endpoint (https://tools.ietf.org/html/rfc6749#section-3.1.2).
|
||||
DefaultRedirectURI *string `min:"1" type:"string"`
|
||||
|
||||
// The explicit authentication flows.
|
||||
|
@ -20488,7 +20520,7 @@ type SchemaAttributeType struct {
|
|||
// Specifies whether the attribute type is developer only.
|
||||
DeveloperOnlyAttribute *bool `type:"boolean"`
|
||||
|
||||
// Specifies whether the attribute can be changed once it has been created.
|
||||
// Specifies whether the value of the attribute can be changed.
|
||||
Mutable *bool `type:"boolean"`
|
||||
|
||||
// A schema attribute of the name type.
|
||||
|
@ -22344,7 +22376,19 @@ type UpdateUserPoolClientInput struct {
|
|||
// user pool.
|
||||
AnalyticsConfiguration *AnalyticsConfigurationType `type:"structure"`
|
||||
|
||||
// A list of allowed callback URLs for the identity providers.
|
||||
// A list of allowed redirect (callback) URLs for the identity providers.
|
||||
//
|
||||
// A redirect URI must:
|
||||
//
|
||||
// * Be an absolute URI.
|
||||
//
|
||||
// * Be registered with the authorization server.
|
||||
//
|
||||
// * Not use HTTP without TLS (i.e. use HTTPS instead of HTTP).
|
||||
//
|
||||
// * Not include a fragment component.
|
||||
//
|
||||
// See OAuth 2.0 - Redirection Endpoint (https://tools.ietf.org/html/rfc6749#section-3.1.2).
|
||||
CallbackURLs []*string `type:"list"`
|
||||
|
||||
// The ID of the client associated with the user pool.
|
||||
|
@ -22356,6 +22400,18 @@ type UpdateUserPoolClientInput struct {
|
|||
ClientName *string `min:"1" type:"string"`
|
||||
|
||||
// The default redirect URI. Must be in the CallbackURLs list.
|
||||
//
|
||||
// A redirect URI must:
|
||||
//
|
||||
// * Be an absolute URI.
|
||||
//
|
||||
// * Be registered with the authorization server.
|
||||
//
|
||||
// * Not use HTTP without TLS (i.e. use HTTPS instead of HTTP).
|
||||
//
|
||||
// * Not include a fragment component.
|
||||
//
|
||||
// See OAuth 2.0 - Redirection Endpoint (https://tools.ietf.org/html/rfc6749#section-3.1.2).
|
||||
DefaultRedirectURI *string `min:"1" type:"string"`
|
||||
|
||||
// Explicit authentication flows.
|
||||
|
@ -23084,7 +23140,19 @@ type UserPoolClientType struct {
|
|||
// The Amazon Pinpoint analytics configuration for the user pool client.
|
||||
AnalyticsConfiguration *AnalyticsConfigurationType `type:"structure"`
|
||||
|
||||
// A list of allowed callback URLs for the identity providers.
|
||||
// A list of allowed redirect (callback) URLs for the identity providers.
|
||||
//
|
||||
// A redirect URI must:
|
||||
//
|
||||
// * Be an absolute URI.
|
||||
//
|
||||
// * Be registered with the authorization server.
|
||||
//
|
||||
// * Not use HTTP without TLS (i.e. use HTTPS instead of HTTP).
|
||||
//
|
||||
// * Not include a fragment component.
|
||||
//
|
||||
// See OAuth 2.0 - Redirection Endpoint (https://tools.ietf.org/html/rfc6749#section-3.1.2).
|
||||
CallbackURLs []*string `type:"list"`
|
||||
|
||||
// The ID of the client associated with the user pool.
|
||||
|
@ -23100,6 +23168,18 @@ type UserPoolClientType struct {
|
|||
CreationDate *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
|
||||
// The default redirect URI. Must be in the CallbackURLs list.
|
||||
//
|
||||
// A redirect URI must:
|
||||
//
|
||||
// * Be an absolute URI.
|
||||
//
|
||||
// * Be registered with the authorization server.
|
||||
//
|
||||
// * Not use HTTP without TLS (i.e. use HTTPS instead of HTTP).
|
||||
//
|
||||
// * Not include a fragment component.
|
||||
//
|
||||
// See OAuth 2.0 - Redirection Endpoint (https://tools.ietf.org/html/rfc6749#section-3.1.2).
|
||||
DefaultRedirectURI *string `min:"1" type:"string"`
|
||||
|
||||
// The explicit authentication flows.
|
||||
|
@ -23365,6 +23445,9 @@ type UserPoolType struct {
|
|||
// Specifies the attributes that are aliased in a user pool.
|
||||
AliasAttributes []*string `type:"list"`
|
||||
|
||||
// The Amazon Resource Name (ARN) for the user pool.
|
||||
Arn *string `min:"20" type:"string"`
|
||||
|
||||
// Specifies the attributes that are auto-verified in a user pool.
|
||||
AutoVerifiedAttributes []*string `type:"list"`
|
||||
|
||||
|
@ -23395,7 +23478,7 @@ type UserPoolType struct {
|
|||
// The ID of the user pool.
|
||||
Id *string `min:"1" type:"string"`
|
||||
|
||||
// The AWS Lambda triggers associated with tue user pool.
|
||||
// The AWS Lambda triggers associated with the user pool.
|
||||
LambdaConfig *LambdaConfigType `type:"structure"`
|
||||
|
||||
// The date the user pool was last modified.
|
||||
|
@ -23473,6 +23556,12 @@ func (s *UserPoolType) SetAliasAttributes(v []*string) *UserPoolType {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetArn sets the Arn field's value.
|
||||
func (s *UserPoolType) SetArn(v string) *UserPoolType {
|
||||
s.Arn = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetAutoVerifiedAttributes sets the AutoVerifiedAttributes field's value.
|
||||
func (s *UserPoolType) SetAutoVerifiedAttributes(v []*string) *UserPoolType {
|
||||
s.AutoVerifiedAttributes = v
|
||||
|
@ -24228,6 +24317,9 @@ const (
|
|||
|
||||
// IdentityProviderTypeTypeLoginWithAmazon is a IdentityProviderTypeType enum value
|
||||
IdentityProviderTypeTypeLoginWithAmazon = "LoginWithAmazon"
|
||||
|
||||
// IdentityProviderTypeTypeOidc is a IdentityProviderTypeType enum value
|
||||
IdentityProviderTypeTypeOidc = "OIDC"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "cognito-idp" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "cognito-idp" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Cognito Identity Provider" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CognitoIdentityProvider client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/cognitosync/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/cognitosync/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "cognito-sync" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "cognito-sync" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Cognito Sync" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CognitoSync client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
3970
vendor/github.com/aws/aws-sdk-go/service/comprehend/api.go
generated
vendored
3970
vendor/github.com/aws/aws-sdk-go/service/comprehend/api.go
generated
vendored
File diff suppressed because it is too large
Load diff
76
vendor/github.com/aws/aws-sdk-go/service/comprehend/comprehendiface/interface.go
generated
vendored
76
vendor/github.com/aws/aws-sdk-go/service/comprehend/comprehendiface/interface.go
generated
vendored
|
@ -76,6 +76,22 @@ type ComprehendAPI interface {
|
|||
BatchDetectSentimentWithContext(aws.Context, *comprehend.BatchDetectSentimentInput, ...request.Option) (*comprehend.BatchDetectSentimentOutput, error)
|
||||
BatchDetectSentimentRequest(*comprehend.BatchDetectSentimentInput) (*request.Request, *comprehend.BatchDetectSentimentOutput)
|
||||
|
||||
DescribeDominantLanguageDetectionJob(*comprehend.DescribeDominantLanguageDetectionJobInput) (*comprehend.DescribeDominantLanguageDetectionJobOutput, error)
|
||||
DescribeDominantLanguageDetectionJobWithContext(aws.Context, *comprehend.DescribeDominantLanguageDetectionJobInput, ...request.Option) (*comprehend.DescribeDominantLanguageDetectionJobOutput, error)
|
||||
DescribeDominantLanguageDetectionJobRequest(*comprehend.DescribeDominantLanguageDetectionJobInput) (*request.Request, *comprehend.DescribeDominantLanguageDetectionJobOutput)
|
||||
|
||||
DescribeEntitiesDetectionJob(*comprehend.DescribeEntitiesDetectionJobInput) (*comprehend.DescribeEntitiesDetectionJobOutput, error)
|
||||
DescribeEntitiesDetectionJobWithContext(aws.Context, *comprehend.DescribeEntitiesDetectionJobInput, ...request.Option) (*comprehend.DescribeEntitiesDetectionJobOutput, error)
|
||||
DescribeEntitiesDetectionJobRequest(*comprehend.DescribeEntitiesDetectionJobInput) (*request.Request, *comprehend.DescribeEntitiesDetectionJobOutput)
|
||||
|
||||
DescribeKeyPhrasesDetectionJob(*comprehend.DescribeKeyPhrasesDetectionJobInput) (*comprehend.DescribeKeyPhrasesDetectionJobOutput, error)
|
||||
DescribeKeyPhrasesDetectionJobWithContext(aws.Context, *comprehend.DescribeKeyPhrasesDetectionJobInput, ...request.Option) (*comprehend.DescribeKeyPhrasesDetectionJobOutput, error)
|
||||
DescribeKeyPhrasesDetectionJobRequest(*comprehend.DescribeKeyPhrasesDetectionJobInput) (*request.Request, *comprehend.DescribeKeyPhrasesDetectionJobOutput)
|
||||
|
||||
DescribeSentimentDetectionJob(*comprehend.DescribeSentimentDetectionJobInput) (*comprehend.DescribeSentimentDetectionJobOutput, error)
|
||||
DescribeSentimentDetectionJobWithContext(aws.Context, *comprehend.DescribeSentimentDetectionJobInput, ...request.Option) (*comprehend.DescribeSentimentDetectionJobOutput, error)
|
||||
DescribeSentimentDetectionJobRequest(*comprehend.DescribeSentimentDetectionJobInput) (*request.Request, *comprehend.DescribeSentimentDetectionJobOutput)
|
||||
|
||||
DescribeTopicsDetectionJob(*comprehend.DescribeTopicsDetectionJobInput) (*comprehend.DescribeTopicsDetectionJobOutput, error)
|
||||
DescribeTopicsDetectionJobWithContext(aws.Context, *comprehend.DescribeTopicsDetectionJobInput, ...request.Option) (*comprehend.DescribeTopicsDetectionJobOutput, error)
|
||||
DescribeTopicsDetectionJobRequest(*comprehend.DescribeTopicsDetectionJobInput) (*request.Request, *comprehend.DescribeTopicsDetectionJobOutput)
|
||||
|
@ -96,6 +112,34 @@ type ComprehendAPI interface {
|
|||
DetectSentimentWithContext(aws.Context, *comprehend.DetectSentimentInput, ...request.Option) (*comprehend.DetectSentimentOutput, error)
|
||||
DetectSentimentRequest(*comprehend.DetectSentimentInput) (*request.Request, *comprehend.DetectSentimentOutput)
|
||||
|
||||
ListDominantLanguageDetectionJobs(*comprehend.ListDominantLanguageDetectionJobsInput) (*comprehend.ListDominantLanguageDetectionJobsOutput, error)
|
||||
ListDominantLanguageDetectionJobsWithContext(aws.Context, *comprehend.ListDominantLanguageDetectionJobsInput, ...request.Option) (*comprehend.ListDominantLanguageDetectionJobsOutput, error)
|
||||
ListDominantLanguageDetectionJobsRequest(*comprehend.ListDominantLanguageDetectionJobsInput) (*request.Request, *comprehend.ListDominantLanguageDetectionJobsOutput)
|
||||
|
||||
ListDominantLanguageDetectionJobsPages(*comprehend.ListDominantLanguageDetectionJobsInput, func(*comprehend.ListDominantLanguageDetectionJobsOutput, bool) bool) error
|
||||
ListDominantLanguageDetectionJobsPagesWithContext(aws.Context, *comprehend.ListDominantLanguageDetectionJobsInput, func(*comprehend.ListDominantLanguageDetectionJobsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
ListEntitiesDetectionJobs(*comprehend.ListEntitiesDetectionJobsInput) (*comprehend.ListEntitiesDetectionJobsOutput, error)
|
||||
ListEntitiesDetectionJobsWithContext(aws.Context, *comprehend.ListEntitiesDetectionJobsInput, ...request.Option) (*comprehend.ListEntitiesDetectionJobsOutput, error)
|
||||
ListEntitiesDetectionJobsRequest(*comprehend.ListEntitiesDetectionJobsInput) (*request.Request, *comprehend.ListEntitiesDetectionJobsOutput)
|
||||
|
||||
ListEntitiesDetectionJobsPages(*comprehend.ListEntitiesDetectionJobsInput, func(*comprehend.ListEntitiesDetectionJobsOutput, bool) bool) error
|
||||
ListEntitiesDetectionJobsPagesWithContext(aws.Context, *comprehend.ListEntitiesDetectionJobsInput, func(*comprehend.ListEntitiesDetectionJobsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
ListKeyPhrasesDetectionJobs(*comprehend.ListKeyPhrasesDetectionJobsInput) (*comprehend.ListKeyPhrasesDetectionJobsOutput, error)
|
||||
ListKeyPhrasesDetectionJobsWithContext(aws.Context, *comprehend.ListKeyPhrasesDetectionJobsInput, ...request.Option) (*comprehend.ListKeyPhrasesDetectionJobsOutput, error)
|
||||
ListKeyPhrasesDetectionJobsRequest(*comprehend.ListKeyPhrasesDetectionJobsInput) (*request.Request, *comprehend.ListKeyPhrasesDetectionJobsOutput)
|
||||
|
||||
ListKeyPhrasesDetectionJobsPages(*comprehend.ListKeyPhrasesDetectionJobsInput, func(*comprehend.ListKeyPhrasesDetectionJobsOutput, bool) bool) error
|
||||
ListKeyPhrasesDetectionJobsPagesWithContext(aws.Context, *comprehend.ListKeyPhrasesDetectionJobsInput, func(*comprehend.ListKeyPhrasesDetectionJobsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
ListSentimentDetectionJobs(*comprehend.ListSentimentDetectionJobsInput) (*comprehend.ListSentimentDetectionJobsOutput, error)
|
||||
ListSentimentDetectionJobsWithContext(aws.Context, *comprehend.ListSentimentDetectionJobsInput, ...request.Option) (*comprehend.ListSentimentDetectionJobsOutput, error)
|
||||
ListSentimentDetectionJobsRequest(*comprehend.ListSentimentDetectionJobsInput) (*request.Request, *comprehend.ListSentimentDetectionJobsOutput)
|
||||
|
||||
ListSentimentDetectionJobsPages(*comprehend.ListSentimentDetectionJobsInput, func(*comprehend.ListSentimentDetectionJobsOutput, bool) bool) error
|
||||
ListSentimentDetectionJobsPagesWithContext(aws.Context, *comprehend.ListSentimentDetectionJobsInput, func(*comprehend.ListSentimentDetectionJobsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
ListTopicsDetectionJobs(*comprehend.ListTopicsDetectionJobsInput) (*comprehend.ListTopicsDetectionJobsOutput, error)
|
||||
ListTopicsDetectionJobsWithContext(aws.Context, *comprehend.ListTopicsDetectionJobsInput, ...request.Option) (*comprehend.ListTopicsDetectionJobsOutput, error)
|
||||
ListTopicsDetectionJobsRequest(*comprehend.ListTopicsDetectionJobsInput) (*request.Request, *comprehend.ListTopicsDetectionJobsOutput)
|
||||
|
@ -103,9 +147,41 @@ type ComprehendAPI interface {
|
|||
ListTopicsDetectionJobsPages(*comprehend.ListTopicsDetectionJobsInput, func(*comprehend.ListTopicsDetectionJobsOutput, bool) bool) error
|
||||
ListTopicsDetectionJobsPagesWithContext(aws.Context, *comprehend.ListTopicsDetectionJobsInput, func(*comprehend.ListTopicsDetectionJobsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
StartDominantLanguageDetectionJob(*comprehend.StartDominantLanguageDetectionJobInput) (*comprehend.StartDominantLanguageDetectionJobOutput, error)
|
||||
StartDominantLanguageDetectionJobWithContext(aws.Context, *comprehend.StartDominantLanguageDetectionJobInput, ...request.Option) (*comprehend.StartDominantLanguageDetectionJobOutput, error)
|
||||
StartDominantLanguageDetectionJobRequest(*comprehend.StartDominantLanguageDetectionJobInput) (*request.Request, *comprehend.StartDominantLanguageDetectionJobOutput)
|
||||
|
||||
StartEntitiesDetectionJob(*comprehend.StartEntitiesDetectionJobInput) (*comprehend.StartEntitiesDetectionJobOutput, error)
|
||||
StartEntitiesDetectionJobWithContext(aws.Context, *comprehend.StartEntitiesDetectionJobInput, ...request.Option) (*comprehend.StartEntitiesDetectionJobOutput, error)
|
||||
StartEntitiesDetectionJobRequest(*comprehend.StartEntitiesDetectionJobInput) (*request.Request, *comprehend.StartEntitiesDetectionJobOutput)
|
||||
|
||||
StartKeyPhrasesDetectionJob(*comprehend.StartKeyPhrasesDetectionJobInput) (*comprehend.StartKeyPhrasesDetectionJobOutput, error)
|
||||
StartKeyPhrasesDetectionJobWithContext(aws.Context, *comprehend.StartKeyPhrasesDetectionJobInput, ...request.Option) (*comprehend.StartKeyPhrasesDetectionJobOutput, error)
|
||||
StartKeyPhrasesDetectionJobRequest(*comprehend.StartKeyPhrasesDetectionJobInput) (*request.Request, *comprehend.StartKeyPhrasesDetectionJobOutput)
|
||||
|
||||
StartSentimentDetectionJob(*comprehend.StartSentimentDetectionJobInput) (*comprehend.StartSentimentDetectionJobOutput, error)
|
||||
StartSentimentDetectionJobWithContext(aws.Context, *comprehend.StartSentimentDetectionJobInput, ...request.Option) (*comprehend.StartSentimentDetectionJobOutput, error)
|
||||
StartSentimentDetectionJobRequest(*comprehend.StartSentimentDetectionJobInput) (*request.Request, *comprehend.StartSentimentDetectionJobOutput)
|
||||
|
||||
StartTopicsDetectionJob(*comprehend.StartTopicsDetectionJobInput) (*comprehend.StartTopicsDetectionJobOutput, error)
|
||||
StartTopicsDetectionJobWithContext(aws.Context, *comprehend.StartTopicsDetectionJobInput, ...request.Option) (*comprehend.StartTopicsDetectionJobOutput, error)
|
||||
StartTopicsDetectionJobRequest(*comprehend.StartTopicsDetectionJobInput) (*request.Request, *comprehend.StartTopicsDetectionJobOutput)
|
||||
|
||||
StopDominantLanguageDetectionJob(*comprehend.StopDominantLanguageDetectionJobInput) (*comprehend.StopDominantLanguageDetectionJobOutput, error)
|
||||
StopDominantLanguageDetectionJobWithContext(aws.Context, *comprehend.StopDominantLanguageDetectionJobInput, ...request.Option) (*comprehend.StopDominantLanguageDetectionJobOutput, error)
|
||||
StopDominantLanguageDetectionJobRequest(*comprehend.StopDominantLanguageDetectionJobInput) (*request.Request, *comprehend.StopDominantLanguageDetectionJobOutput)
|
||||
|
||||
StopEntitiesDetectionJob(*comprehend.StopEntitiesDetectionJobInput) (*comprehend.StopEntitiesDetectionJobOutput, error)
|
||||
StopEntitiesDetectionJobWithContext(aws.Context, *comprehend.StopEntitiesDetectionJobInput, ...request.Option) (*comprehend.StopEntitiesDetectionJobOutput, error)
|
||||
StopEntitiesDetectionJobRequest(*comprehend.StopEntitiesDetectionJobInput) (*request.Request, *comprehend.StopEntitiesDetectionJobOutput)
|
||||
|
||||
StopKeyPhrasesDetectionJob(*comprehend.StopKeyPhrasesDetectionJobInput) (*comprehend.StopKeyPhrasesDetectionJobOutput, error)
|
||||
StopKeyPhrasesDetectionJobWithContext(aws.Context, *comprehend.StopKeyPhrasesDetectionJobInput, ...request.Option) (*comprehend.StopKeyPhrasesDetectionJobOutput, error)
|
||||
StopKeyPhrasesDetectionJobRequest(*comprehend.StopKeyPhrasesDetectionJobInput) (*request.Request, *comprehend.StopKeyPhrasesDetectionJobOutput)
|
||||
|
||||
StopSentimentDetectionJob(*comprehend.StopSentimentDetectionJobInput) (*comprehend.StopSentimentDetectionJobOutput, error)
|
||||
StopSentimentDetectionJobWithContext(aws.Context, *comprehend.StopSentimentDetectionJobInput, ...request.Option) (*comprehend.StopSentimentDetectionJobOutput, error)
|
||||
StopSentimentDetectionJobRequest(*comprehend.StopSentimentDetectionJobInput) (*request.Request, *comprehend.StopSentimentDetectionJobOutput)
|
||||
}
|
||||
|
||||
var _ ComprehendAPI = (*comprehend.Comprehend)(nil)
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/comprehend/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/comprehend/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "comprehend" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "comprehend" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Comprehend" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the Comprehend client with a session.
|
||||
|
@ -58,6 +59,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
511
vendor/github.com/aws/aws-sdk-go/service/configservice/api.go
generated
vendored
511
vendor/github.com/aws/aws-sdk-go/service/configservice/api.go
generated
vendored
|
@ -709,6 +709,91 @@ func (c *ConfigService) DeletePendingAggregationRequestWithContext(ctx aws.Conte
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opDeleteRetentionConfiguration = "DeleteRetentionConfiguration"
|
||||
|
||||
// DeleteRetentionConfigurationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteRetentionConfiguration operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// See DeleteRetentionConfiguration for more information on using the DeleteRetentionConfiguration
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
//
|
||||
// // Example sending a request using the DeleteRetentionConfigurationRequest method.
|
||||
// req, resp := client.DeleteRetentionConfigurationRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteRetentionConfiguration
|
||||
func (c *ConfigService) DeleteRetentionConfigurationRequest(input *DeleteRetentionConfigurationInput) (req *request.Request, output *DeleteRetentionConfigurationOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteRetentionConfiguration,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &DeleteRetentionConfigurationInput{}
|
||||
}
|
||||
|
||||
output = &DeleteRetentionConfigurationOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler)
|
||||
req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler)
|
||||
return
|
||||
}
|
||||
|
||||
// DeleteRetentionConfiguration API operation for AWS Config.
|
||||
//
|
||||
// Deletes the retention configuration.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
// the error.
|
||||
//
|
||||
// See the AWS API reference guide for AWS Config's
|
||||
// API operation DeleteRetentionConfiguration for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
|
||||
// One or more of the specified parameters are invalid. Verify that your parameters
|
||||
// are valid and try again.
|
||||
//
|
||||
// * ErrCodeNoSuchRetentionConfigurationException "NoSuchRetentionConfigurationException"
|
||||
// You have specified a retention configuration that does not exist.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteRetentionConfiguration
|
||||
func (c *ConfigService) DeleteRetentionConfiguration(input *DeleteRetentionConfigurationInput) (*DeleteRetentionConfigurationOutput, error) {
|
||||
req, out := c.DeleteRetentionConfigurationRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// DeleteRetentionConfigurationWithContext is the same as DeleteRetentionConfiguration with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See DeleteRetentionConfiguration for details on how to use this API operation.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *ConfigService) DeleteRetentionConfigurationWithContext(ctx aws.Context, input *DeleteRetentionConfigurationInput, opts ...request.Option) (*DeleteRetentionConfigurationOutput, error) {
|
||||
req, out := c.DeleteRetentionConfigurationRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opDeliverConfigSnapshot = "DeliverConfigSnapshot"
|
||||
|
||||
// DeliverConfigSnapshotRequest generates a "aws/request.Request" representing the
|
||||
|
@ -1985,6 +2070,98 @@ func (c *ConfigService) DescribePendingAggregationRequestsWithContext(ctx aws.Co
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opDescribeRetentionConfigurations = "DescribeRetentionConfigurations"
|
||||
|
||||
// DescribeRetentionConfigurationsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeRetentionConfigurations operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// See DescribeRetentionConfigurations for more information on using the DescribeRetentionConfigurations
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
//
|
||||
// // Example sending a request using the DescribeRetentionConfigurationsRequest method.
|
||||
// req, resp := client.DescribeRetentionConfigurationsRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeRetentionConfigurations
|
||||
func (c *ConfigService) DescribeRetentionConfigurationsRequest(input *DescribeRetentionConfigurationsInput) (req *request.Request, output *DescribeRetentionConfigurationsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeRetentionConfigurations,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &DescribeRetentionConfigurationsInput{}
|
||||
}
|
||||
|
||||
output = &DescribeRetentionConfigurationsOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
return
|
||||
}
|
||||
|
||||
// DescribeRetentionConfigurations API operation for AWS Config.
|
||||
//
|
||||
// Returns the details of one or more retention configurations. If the retention
|
||||
// configuration name is not specified, this action returns the details for
|
||||
// all the retention configurations for that account.
|
||||
//
|
||||
// Currently, AWS Config supports only one retention configuration per region
|
||||
// in your account.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
// the error.
|
||||
//
|
||||
// See the AWS API reference guide for AWS Config's
|
||||
// API operation DescribeRetentionConfigurations for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
|
||||
// One or more of the specified parameters are invalid. Verify that your parameters
|
||||
// are valid and try again.
|
||||
//
|
||||
// * ErrCodeNoSuchRetentionConfigurationException "NoSuchRetentionConfigurationException"
|
||||
// You have specified a retention configuration that does not exist.
|
||||
//
|
||||
// * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
|
||||
// The specified next token is invalid. Specify the nextToken string that was
|
||||
// returned in the previous response to get the next page of results.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeRetentionConfigurations
|
||||
func (c *ConfigService) DescribeRetentionConfigurations(input *DescribeRetentionConfigurationsInput) (*DescribeRetentionConfigurationsOutput, error) {
|
||||
req, out := c.DescribeRetentionConfigurationsRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// DescribeRetentionConfigurationsWithContext is the same as DescribeRetentionConfigurations with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See DescribeRetentionConfigurations for details on how to use this API operation.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *ConfigService) DescribeRetentionConfigurationsWithContext(ctx aws.Context, input *DescribeRetentionConfigurationsInput, opts ...request.Option) (*DescribeRetentionConfigurationsOutput, error) {
|
||||
req, out := c.DescribeRetentionConfigurationsRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opGetAggregateComplianceDetailsByConfigRule = "GetAggregateComplianceDetailsByConfigRule"
|
||||
|
||||
// GetAggregateComplianceDetailsByConfigRuleRequest generates a "aws/request.Request" representing the
|
||||
|
@ -2673,7 +2850,9 @@ func (c *ConfigService) GetResourceConfigHistoryRequest(input *GetResourceConfig
|
|||
//
|
||||
// Returns a list of configuration items for the specified resource. The list
|
||||
// contains details about each state of the resource during the specified time
|
||||
// interval.
|
||||
// interval. If you specified a retention period to retain your ConfigurationItems
|
||||
// between a minimum of 30 days and a maximum of 7 years (2557 days), AWS Config
|
||||
// returns the ConfigurationItems for the specified retention period.
|
||||
//
|
||||
// The response is paginated. By default, AWS Config returns a limit of 10 configuration
|
||||
// items per page. You can customize this number with the limit parameter. The
|
||||
|
@ -3517,6 +3696,97 @@ func (c *ConfigService) PutEvaluationsWithContext(ctx aws.Context, input *PutEva
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opPutRetentionConfiguration = "PutRetentionConfiguration"
|
||||
|
||||
// PutRetentionConfigurationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the PutRetentionConfiguration operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// See PutRetentionConfiguration for more information on using the PutRetentionConfiguration
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
//
|
||||
// // Example sending a request using the PutRetentionConfigurationRequest method.
|
||||
// req, resp := client.PutRetentionConfigurationRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutRetentionConfiguration
|
||||
func (c *ConfigService) PutRetentionConfigurationRequest(input *PutRetentionConfigurationInput) (req *request.Request, output *PutRetentionConfigurationOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPutRetentionConfiguration,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &PutRetentionConfigurationInput{}
|
||||
}
|
||||
|
||||
output = &PutRetentionConfigurationOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
return
|
||||
}
|
||||
|
||||
// PutRetentionConfiguration API operation for AWS Config.
|
||||
//
|
||||
// Creates and updates the retention configuration with details about retention
|
||||
// period (number of days) that AWS Config stores your historical information.
|
||||
// The API creates the RetentionConfiguration object and names the object as
|
||||
// default. When you have a RetentionConfiguration object named default, calling
|
||||
// the API modifies the default object.
|
||||
//
|
||||
// Currently, AWS Config supports only one retention configuration per region
|
||||
// in your account.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
// the error.
|
||||
//
|
||||
// See the AWS API reference guide for AWS Config's
|
||||
// API operation PutRetentionConfiguration for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
|
||||
// One or more of the specified parameters are invalid. Verify that your parameters
|
||||
// are valid and try again.
|
||||
//
|
||||
// * ErrCodeMaxNumberOfRetentionConfigurationsExceededException "MaxNumberOfRetentionConfigurationsExceededException"
|
||||
// Failed to add the retention configuration because a retention configuration
|
||||
// with that name already exists.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutRetentionConfiguration
|
||||
func (c *ConfigService) PutRetentionConfiguration(input *PutRetentionConfigurationInput) (*PutRetentionConfigurationOutput, error) {
|
||||
req, out := c.PutRetentionConfigurationRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// PutRetentionConfigurationWithContext is the same as PutRetentionConfiguration with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See PutRetentionConfiguration for details on how to use this API operation.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *ConfigService) PutRetentionConfigurationWithContext(ctx aws.Context, input *PutRetentionConfigurationInput, opts ...request.Option) (*PutRetentionConfigurationOutput, error) {
|
||||
req, out := c.PutRetentionConfigurationRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opStartConfigRulesEvaluation = "StartConfigRulesEvaluation"
|
||||
|
||||
// StartConfigRulesEvaluationRequest generates a "aws/request.Request" representing the
|
||||
|
@ -3817,7 +4087,7 @@ type AccountAggregationSource struct {
|
|||
// AccountIds is a required field
|
||||
AccountIds []*string `min:"1" type:"list" required:"true"`
|
||||
|
||||
// If true, aggreagate existing AWS Config regions and future regions.
|
||||
// If true, aggregate existing AWS Config regions and future regions.
|
||||
AllAwsRegions *bool `type:"boolean"`
|
||||
|
||||
// The source regions being aggregated.
|
||||
|
@ -6094,6 +6364,61 @@ func (s DeletePendingAggregationRequestOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
type DeleteRetentionConfigurationInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The name of the retention configuration to delete.
|
||||
//
|
||||
// RetentionConfigurationName is a required field
|
||||
RetentionConfigurationName *string `min:"1" type:"string" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s DeleteRetentionConfigurationInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s DeleteRetentionConfigurationInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *DeleteRetentionConfigurationInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "DeleteRetentionConfigurationInput"}
|
||||
if s.RetentionConfigurationName == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("RetentionConfigurationName"))
|
||||
}
|
||||
if s.RetentionConfigurationName != nil && len(*s.RetentionConfigurationName) < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("RetentionConfigurationName", 1))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetRetentionConfigurationName sets the RetentionConfigurationName field's value.
|
||||
func (s *DeleteRetentionConfigurationInput) SetRetentionConfigurationName(v string) *DeleteRetentionConfigurationInput {
|
||||
s.RetentionConfigurationName = &v
|
||||
return s
|
||||
}
|
||||
|
||||
type DeleteRetentionConfigurationOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s DeleteRetentionConfigurationOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s DeleteRetentionConfigurationOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// The input for the DeliverConfigSnapshot action.
|
||||
type DeliverConfigSnapshotInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
@ -6911,7 +7236,7 @@ func (s *DescribeConfigurationAggregatorSourcesStatusInput) SetUpdateStatus(v []
|
|||
type DescribeConfigurationAggregatorSourcesStatusOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Retuns an AggregatedSourceStatus object.
|
||||
// Returns an AggregatedSourceStatus object.
|
||||
AggregatedSourceStatusList []*AggregatedSourceStatus `type:"list"`
|
||||
|
||||
// The nextToken string returned on a previous page that you use to get the
|
||||
|
@ -7278,6 +7603,77 @@ func (s *DescribePendingAggregationRequestsOutput) SetPendingAggregationRequests
|
|||
return s
|
||||
}
|
||||
|
||||
type DescribeRetentionConfigurationsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The nextToken string returned on a previous page that you use to get the
|
||||
// next page of results in a paginated response.
|
||||
NextToken *string `type:"string"`
|
||||
|
||||
// A list of names of retention configurations for which you want details. If
|
||||
// you do not specify a name, AWS Config returns details for all the retention
|
||||
// configurations for that account.
|
||||
//
|
||||
// Currently, AWS Config supports only one retention configuration per region
|
||||
// in your account.
|
||||
RetentionConfigurationNames []*string `type:"list"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s DescribeRetentionConfigurationsInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s DescribeRetentionConfigurationsInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetNextToken sets the NextToken field's value.
|
||||
func (s *DescribeRetentionConfigurationsInput) SetNextToken(v string) *DescribeRetentionConfigurationsInput {
|
||||
s.NextToken = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetRetentionConfigurationNames sets the RetentionConfigurationNames field's value.
|
||||
func (s *DescribeRetentionConfigurationsInput) SetRetentionConfigurationNames(v []*string) *DescribeRetentionConfigurationsInput {
|
||||
s.RetentionConfigurationNames = v
|
||||
return s
|
||||
}
|
||||
|
||||
type DescribeRetentionConfigurationsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The nextToken string returned on a previous page that you use to get the
|
||||
// next page of results in a paginated response.
|
||||
NextToken *string `type:"string"`
|
||||
|
||||
// Returns a retention configuration object.
|
||||
RetentionConfigurations []*RetentionConfiguration `type:"list"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s DescribeRetentionConfigurationsOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s DescribeRetentionConfigurationsOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetNextToken sets the NextToken field's value.
|
||||
func (s *DescribeRetentionConfigurationsOutput) SetNextToken(v string) *DescribeRetentionConfigurationsOutput {
|
||||
s.NextToken = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetRetentionConfigurations sets the RetentionConfigurations field's value.
|
||||
func (s *DescribeRetentionConfigurationsOutput) SetRetentionConfigurations(v []*RetentionConfiguration) *DescribeRetentionConfigurationsOutput {
|
||||
s.RetentionConfigurations = v
|
||||
return s
|
||||
}
|
||||
|
||||
// Identifies an AWS resource and indicates whether it complies with the AWS
|
||||
// Config rule that it was evaluated against.
|
||||
type Evaluation struct {
|
||||
|
@ -8520,7 +8916,7 @@ func (s *ListDiscoveredResourcesOutput) SetResourceIdentifiers(v []*ResourceIden
|
|||
type OrganizationAggregationSource struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// If true, aggreagate existing AWS Config regions and future regions.
|
||||
// If true, aggregate existing AWS Config regions and future regions.
|
||||
AllAwsRegions *bool `type:"boolean"`
|
||||
|
||||
// The source regions being aggregated.
|
||||
|
@ -9059,6 +9455,72 @@ func (s *PutEvaluationsOutput) SetFailedEvaluations(v []*Evaluation) *PutEvaluat
|
|||
return s
|
||||
}
|
||||
|
||||
type PutRetentionConfigurationInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Number of days AWS Config stores your historical information.
|
||||
//
|
||||
// Currently, only applicable to the configuration item history.
|
||||
//
|
||||
// RetentionPeriodInDays is a required field
|
||||
RetentionPeriodInDays *int64 `min:"30" type:"integer" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s PutRetentionConfigurationInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s PutRetentionConfigurationInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *PutRetentionConfigurationInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "PutRetentionConfigurationInput"}
|
||||
if s.RetentionPeriodInDays == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("RetentionPeriodInDays"))
|
||||
}
|
||||
if s.RetentionPeriodInDays != nil && *s.RetentionPeriodInDays < 30 {
|
||||
invalidParams.Add(request.NewErrParamMinValue("RetentionPeriodInDays", 30))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetRetentionPeriodInDays sets the RetentionPeriodInDays field's value.
|
||||
func (s *PutRetentionConfigurationInput) SetRetentionPeriodInDays(v int64) *PutRetentionConfigurationInput {
|
||||
s.RetentionPeriodInDays = &v
|
||||
return s
|
||||
}
|
||||
|
||||
type PutRetentionConfigurationOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Returns a retention configuration object.
|
||||
RetentionConfiguration *RetentionConfiguration `type:"structure"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s PutRetentionConfigurationOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s PutRetentionConfigurationOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetRetentionConfiguration sets the RetentionConfiguration field's value.
|
||||
func (s *PutRetentionConfigurationOutput) SetRetentionConfiguration(v *RetentionConfiguration) *PutRetentionConfigurationOutput {
|
||||
s.RetentionConfiguration = v
|
||||
return s
|
||||
}
|
||||
|
||||
// Specifies the types of AWS resource for which AWS Config records configuration
|
||||
// changes.
|
||||
//
|
||||
|
@ -9349,6 +9811,47 @@ func (s *ResourceKey) SetResourceType(v string) *ResourceKey {
|
|||
return s
|
||||
}
|
||||
|
||||
// An object with the name of the retention configuration and the retention
|
||||
// period in days. The object stores the configuration for data retention in
|
||||
// AWS Config.
|
||||
type RetentionConfiguration struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The name of the retention configuration object.
|
||||
//
|
||||
// Name is a required field
|
||||
Name *string `min:"1" type:"string" required:"true"`
|
||||
|
||||
// Number of days AWS Config stores your historical information.
|
||||
//
|
||||
// Currently, only applicable to the configuration item history.
|
||||
//
|
||||
// RetentionPeriodInDays is a required field
|
||||
RetentionPeriodInDays *int64 `min:"30" type:"integer" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s RetentionConfiguration) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s RetentionConfiguration) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetName sets the Name field's value.
|
||||
func (s *RetentionConfiguration) SetName(v string) *RetentionConfiguration {
|
||||
s.Name = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetRetentionPeriodInDays sets the RetentionPeriodInDays field's value.
|
||||
func (s *RetentionConfiguration) SetRetentionPeriodInDays(v int64) *RetentionConfiguration {
|
||||
s.RetentionPeriodInDays = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// Defines which resources trigger an evaluation for an AWS Config rule. The
|
||||
// scope can include one or more resource types, a combination of a tag key
|
||||
// and value, or a combination of one resource type and one resource ID. Specify
|
||||
|
|
12
vendor/github.com/aws/aws-sdk-go/service/configservice/configserviceiface/interface.go
generated
vendored
12
vendor/github.com/aws/aws-sdk-go/service/configservice/configserviceiface/interface.go
generated
vendored
|
@ -92,6 +92,10 @@ type ConfigServiceAPI interface {
|
|||
DeletePendingAggregationRequestWithContext(aws.Context, *configservice.DeletePendingAggregationRequestInput, ...request.Option) (*configservice.DeletePendingAggregationRequestOutput, error)
|
||||
DeletePendingAggregationRequestRequest(*configservice.DeletePendingAggregationRequestInput) (*request.Request, *configservice.DeletePendingAggregationRequestOutput)
|
||||
|
||||
DeleteRetentionConfiguration(*configservice.DeleteRetentionConfigurationInput) (*configservice.DeleteRetentionConfigurationOutput, error)
|
||||
DeleteRetentionConfigurationWithContext(aws.Context, *configservice.DeleteRetentionConfigurationInput, ...request.Option) (*configservice.DeleteRetentionConfigurationOutput, error)
|
||||
DeleteRetentionConfigurationRequest(*configservice.DeleteRetentionConfigurationInput) (*request.Request, *configservice.DeleteRetentionConfigurationOutput)
|
||||
|
||||
DeliverConfigSnapshot(*configservice.DeliverConfigSnapshotInput) (*configservice.DeliverConfigSnapshotOutput, error)
|
||||
DeliverConfigSnapshotWithContext(aws.Context, *configservice.DeliverConfigSnapshotInput, ...request.Option) (*configservice.DeliverConfigSnapshotOutput, error)
|
||||
DeliverConfigSnapshotRequest(*configservice.DeliverConfigSnapshotInput) (*request.Request, *configservice.DeliverConfigSnapshotOutput)
|
||||
|
@ -148,6 +152,10 @@ type ConfigServiceAPI interface {
|
|||
DescribePendingAggregationRequestsWithContext(aws.Context, *configservice.DescribePendingAggregationRequestsInput, ...request.Option) (*configservice.DescribePendingAggregationRequestsOutput, error)
|
||||
DescribePendingAggregationRequestsRequest(*configservice.DescribePendingAggregationRequestsInput) (*request.Request, *configservice.DescribePendingAggregationRequestsOutput)
|
||||
|
||||
DescribeRetentionConfigurations(*configservice.DescribeRetentionConfigurationsInput) (*configservice.DescribeRetentionConfigurationsOutput, error)
|
||||
DescribeRetentionConfigurationsWithContext(aws.Context, *configservice.DescribeRetentionConfigurationsInput, ...request.Option) (*configservice.DescribeRetentionConfigurationsOutput, error)
|
||||
DescribeRetentionConfigurationsRequest(*configservice.DescribeRetentionConfigurationsInput) (*request.Request, *configservice.DescribeRetentionConfigurationsOutput)
|
||||
|
||||
GetAggregateComplianceDetailsByConfigRule(*configservice.GetAggregateComplianceDetailsByConfigRuleInput) (*configservice.GetAggregateComplianceDetailsByConfigRuleOutput, error)
|
||||
GetAggregateComplianceDetailsByConfigRuleWithContext(aws.Context, *configservice.GetAggregateComplianceDetailsByConfigRuleInput, ...request.Option) (*configservice.GetAggregateComplianceDetailsByConfigRuleOutput, error)
|
||||
GetAggregateComplianceDetailsByConfigRuleRequest(*configservice.GetAggregateComplianceDetailsByConfigRuleInput) (*request.Request, *configservice.GetAggregateComplianceDetailsByConfigRuleOutput)
|
||||
|
@ -211,6 +219,10 @@ type ConfigServiceAPI interface {
|
|||
PutEvaluationsWithContext(aws.Context, *configservice.PutEvaluationsInput, ...request.Option) (*configservice.PutEvaluationsOutput, error)
|
||||
PutEvaluationsRequest(*configservice.PutEvaluationsInput) (*request.Request, *configservice.PutEvaluationsOutput)
|
||||
|
||||
PutRetentionConfiguration(*configservice.PutRetentionConfigurationInput) (*configservice.PutRetentionConfigurationOutput, error)
|
||||
PutRetentionConfigurationWithContext(aws.Context, *configservice.PutRetentionConfigurationInput, ...request.Option) (*configservice.PutRetentionConfigurationOutput, error)
|
||||
PutRetentionConfigurationRequest(*configservice.PutRetentionConfigurationInput) (*request.Request, *configservice.PutRetentionConfigurationOutput)
|
||||
|
||||
StartConfigRulesEvaluation(*configservice.StartConfigRulesEvaluationInput) (*configservice.StartConfigRulesEvaluationOutput, error)
|
||||
StartConfigRulesEvaluationWithContext(aws.Context, *configservice.StartConfigRulesEvaluationInput, ...request.Option) (*configservice.StartConfigRulesEvaluationOutput, error)
|
||||
StartConfigRulesEvaluationRequest(*configservice.StartConfigRulesEvaluationInput) (*request.Request, *configservice.StartConfigRulesEvaluationOutput)
|
||||
|
|
13
vendor/github.com/aws/aws-sdk-go/service/configservice/errors.go
generated
vendored
13
vendor/github.com/aws/aws-sdk-go/service/configservice/errors.go
generated
vendored
|
@ -126,6 +126,13 @@ const (
|
|||
// You have reached the limit of the number of delivery channels you can create.
|
||||
ErrCodeMaxNumberOfDeliveryChannelsExceededException = "MaxNumberOfDeliveryChannelsExceededException"
|
||||
|
||||
// ErrCodeMaxNumberOfRetentionConfigurationsExceededException for service response error code
|
||||
// "MaxNumberOfRetentionConfigurationsExceededException".
|
||||
//
|
||||
// Failed to add the retention configuration because a retention configuration
|
||||
// with that name already exists.
|
||||
ErrCodeMaxNumberOfRetentionConfigurationsExceededException = "MaxNumberOfRetentionConfigurationsExceededException"
|
||||
|
||||
// ErrCodeNoAvailableConfigurationRecorderException for service response error code
|
||||
// "NoAvailableConfigurationRecorderException".
|
||||
//
|
||||
|
@ -182,6 +189,12 @@ const (
|
|||
// You have specified a delivery channel that does not exist.
|
||||
ErrCodeNoSuchDeliveryChannelException = "NoSuchDeliveryChannelException"
|
||||
|
||||
// ErrCodeNoSuchRetentionConfigurationException for service response error code
|
||||
// "NoSuchRetentionConfigurationException".
|
||||
//
|
||||
// You have specified a retention configuration that does not exist.
|
||||
ErrCodeNoSuchRetentionConfigurationException = "NoSuchRetentionConfigurationException"
|
||||
|
||||
// ErrCodeOrganizationAccessDeniedException for service response error code
|
||||
// "OrganizationAccessDeniedException".
|
||||
//
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/configservice/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/configservice/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "config" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "config" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Config Service" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ConfigService client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/connect/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/connect/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "connect" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "connect" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Connect" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the Connect client with a session.
|
||||
|
@ -58,6 +59,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/costandusagereportservice/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/costandusagereportservice/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "cur" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "cur" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Cost and Usage Report Service" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CostandUsageReportService client with a session.
|
||||
|
@ -58,6 +59,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
61
vendor/github.com/aws/aws-sdk-go/service/costexplorer/api.go
generated
vendored
61
vendor/github.com/aws/aws-sdk-go/service/costexplorer/api.go
generated
vendored
|
@ -977,9 +977,9 @@ func (s *EC2Specification) SetOfferingClass(v string) *EC2Specification {
|
|||
// DataTransfer). The Expression for that looks like this:
|
||||
//
|
||||
// { "And": [ {"Or": [ {"Dimensions": { "Key": "INSTANCE_TYPE", "Values": [
|
||||
// "m4.x.large", "c4.large" ] }}, {"Tag": { "Key": "TagName", "Values": ["Value1"]
|
||||
// } } ]}, {"Not": {"dimensions": { "Key": "USAGE_TYPE", "Values": ["DataTransfer"]
|
||||
// }}} ] }
|
||||
// "m4.x.large", "c4.large" ] }}, {"Tags": { "Key": "TagName", "Values":
|
||||
// ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": "USAGE_TYPE", "Values":
|
||||
// ["DataTransfer"] }}} ] }
|
||||
//
|
||||
// Because each Expression can have only one operator, the service returns an
|
||||
// error if more than one is specified. The following example shows an Expression
|
||||
|
@ -2358,12 +2358,31 @@ func (s *RDSInstanceDetails) SetSizeFlexEligible(v bool) *RDSInstanceDetails {
|
|||
type ReservationAggregates struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The monthly cost of your RI, amortized over the RI period.
|
||||
AmortizedRecurringFee *string `type:"string"`
|
||||
|
||||
// The upfront cost of your RI, amortized over the RI period.
|
||||
AmortizedUpfrontFee *string `type:"string"`
|
||||
|
||||
// How much you saved due to purchasing and utilizing RIs. This is calculated
|
||||
// by subtracting the TotalAmortizedFee from the OnDemandCostOfRIHoursUsed.
|
||||
NetRISavings *string `type:"string"`
|
||||
|
||||
// How much your RIs would cost if charged On-Demand rates.
|
||||
OnDemandCostOfRIHoursUsed *string `type:"string"`
|
||||
|
||||
// How many RI hours that you purchased.
|
||||
PurchasedHours *string `type:"string"`
|
||||
|
||||
// The total number of RI hours that you used.
|
||||
TotalActualHours *string `type:"string"`
|
||||
|
||||
// The total cost of your RI, amortized over the RI period.
|
||||
TotalAmortizedFee *string `type:"string"`
|
||||
|
||||
// How much you could save if you use your entire reservation.
|
||||
TotalPotentialRISavings *string `type:"string"`
|
||||
|
||||
// The number of RI hours that you didn't use.
|
||||
UnusedHours *string `type:"string"`
|
||||
|
||||
|
@ -2381,6 +2400,30 @@ func (s ReservationAggregates) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// SetAmortizedRecurringFee sets the AmortizedRecurringFee field's value.
|
||||
func (s *ReservationAggregates) SetAmortizedRecurringFee(v string) *ReservationAggregates {
|
||||
s.AmortizedRecurringFee = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetAmortizedUpfrontFee sets the AmortizedUpfrontFee field's value.
|
||||
func (s *ReservationAggregates) SetAmortizedUpfrontFee(v string) *ReservationAggregates {
|
||||
s.AmortizedUpfrontFee = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetNetRISavings sets the NetRISavings field's value.
|
||||
func (s *ReservationAggregates) SetNetRISavings(v string) *ReservationAggregates {
|
||||
s.NetRISavings = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetOnDemandCostOfRIHoursUsed sets the OnDemandCostOfRIHoursUsed field's value.
|
||||
func (s *ReservationAggregates) SetOnDemandCostOfRIHoursUsed(v string) *ReservationAggregates {
|
||||
s.OnDemandCostOfRIHoursUsed = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetPurchasedHours sets the PurchasedHours field's value.
|
||||
func (s *ReservationAggregates) SetPurchasedHours(v string) *ReservationAggregates {
|
||||
s.PurchasedHours = &v
|
||||
|
@ -2393,6 +2436,18 @@ func (s *ReservationAggregates) SetTotalActualHours(v string) *ReservationAggreg
|
|||
return s
|
||||
}
|
||||
|
||||
// SetTotalAmortizedFee sets the TotalAmortizedFee field's value.
|
||||
func (s *ReservationAggregates) SetTotalAmortizedFee(v string) *ReservationAggregates {
|
||||
s.TotalAmortizedFee = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetTotalPotentialRISavings sets the TotalPotentialRISavings field's value.
|
||||
func (s *ReservationAggregates) SetTotalPotentialRISavings(v string) *ReservationAggregates {
|
||||
s.TotalPotentialRISavings = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetUnusedHours sets the UnusedHours field's value.
|
||||
func (s *ReservationAggregates) SetUnusedHours(v string) *ReservationAggregates {
|
||||
s.UnusedHours = &v
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/costexplorer/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/costexplorer/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "ce" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "ce" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Cost Explorer" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CostExplorer client with a session.
|
||||
|
@ -58,6 +59,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "dms" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "dms" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Database Migration Service" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the DatabaseMigrationService client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/datapipeline/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/datapipeline/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "datapipeline" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "datapipeline" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Data Pipeline" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the DataPipeline client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/dax/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/dax/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "dax" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "dax" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "DAX" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the DAX client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
9
vendor/github.com/aws/aws-sdk-go/service/devicefarm/api.go
generated
vendored
9
vendor/github.com/aws/aws-sdk-go/service/devicefarm/api.go
generated
vendored
|
@ -7105,6 +7105,9 @@ type CreateRemoteAccessSessionConfiguration struct {
|
|||
|
||||
// The billing method for the remote access session.
|
||||
BillingMethod *string `locationName:"billingMethod" type:"string" enum:"BillingMethod"`
|
||||
|
||||
// An array of Amazon Resource Names (ARNs) included in the VPC endpoint configuration.
|
||||
VpceConfigurationArns []*string `locationName:"vpceConfigurationArns" type:"list"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
|
@ -7123,6 +7126,12 @@ func (s *CreateRemoteAccessSessionConfiguration) SetBillingMethod(v string) *Cre
|
|||
return s
|
||||
}
|
||||
|
||||
// SetVpceConfigurationArns sets the VpceConfigurationArns field's value.
|
||||
func (s *CreateRemoteAccessSessionConfiguration) SetVpceConfigurationArns(v []*string) *CreateRemoteAccessSessionConfiguration {
|
||||
s.VpceConfigurationArns = v
|
||||
return s
|
||||
}
|
||||
|
||||
// Creates and submits a request to start a remote access session.
|
||||
type CreateRemoteAccessSessionInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/devicefarm/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/devicefarm/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "devicefarm" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "devicefarm" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Device Farm" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the DeviceFarm client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
176
vendor/github.com/aws/aws-sdk-go/service/directconnect/api.go
generated
vendored
176
vendor/github.com/aws/aws-sdk-go/service/directconnect/api.go
generated
vendored
|
@ -75,11 +75,11 @@ func (c *DirectConnect) AllocateConnectionOnInterconnectRequest(input *AllocateC
|
|||
// API operation AllocateConnectionOnInterconnect for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -165,11 +165,11 @@ func (c *DirectConnect) AllocateHostedConnectionRequest(input *AllocateHostedCon
|
|||
// API operation AllocateHostedConnection for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -254,11 +254,11 @@ func (c *DirectConnect) AllocatePrivateVirtualInterfaceRequest(input *AllocatePr
|
|||
// API operation AllocatePrivateVirtualInterface for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -350,11 +350,11 @@ func (c *DirectConnect) AllocatePublicVirtualInterfaceRequest(input *AllocatePub
|
|||
// API operation AllocatePublicVirtualInterface for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -450,11 +450,11 @@ func (c *DirectConnect) AssociateConnectionWithLagRequest(input *AssociateConnec
|
|||
// API operation AssociateConnectionWithLag for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -540,11 +540,11 @@ func (c *DirectConnect) AssociateHostedConnectionRequest(input *AssociateHostedC
|
|||
// API operation AssociateHostedConnection for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -638,11 +638,11 @@ func (c *DirectConnect) AssociateVirtualInterfaceRequest(input *AssociateVirtual
|
|||
// API operation AssociateVirtualInterface for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -726,11 +726,11 @@ func (c *DirectConnect) ConfirmConnectionRequest(input *ConfirmConnectionInput)
|
|||
// API operation ConfirmConnection for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -814,11 +814,11 @@ func (c *DirectConnect) ConfirmPrivateVirtualInterfaceRequest(input *ConfirmPriv
|
|||
// API operation ConfirmPrivateVirtualInterface for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -901,11 +901,11 @@ func (c *DirectConnect) ConfirmPublicVirtualInterfaceRequest(input *ConfirmPubli
|
|||
// API operation ConfirmPublicVirtualInterface for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -997,11 +997,11 @@ func (c *DirectConnect) CreateBGPPeerRequest(input *CreateBGPPeerInput) (req *re
|
|||
// API operation CreateBGPPeer for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -1098,11 +1098,11 @@ func (c *DirectConnect) CreateConnectionRequest(input *CreateConnectionInput) (r
|
|||
// API operation CreateConnection for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -1189,11 +1189,11 @@ func (c *DirectConnect) CreateDirectConnectGatewayRequest(input *CreateDirectCon
|
|||
// API operation CreateDirectConnectGateway for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -1275,11 +1275,11 @@ func (c *DirectConnect) CreateDirectConnectGatewayAssociationRequest(input *Crea
|
|||
// API operation CreateDirectConnectGatewayAssociation for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -1382,11 +1382,11 @@ func (c *DirectConnect) CreateInterconnectRequest(input *CreateInterconnectInput
|
|||
// API operation CreateInterconnect for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -1490,11 +1490,11 @@ func (c *DirectConnect) CreateLagRequest(input *CreateLagInput) (req *request.Re
|
|||
// API operation CreateLag for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -1576,11 +1576,11 @@ func (c *DirectConnect) CreatePrivateVirtualInterfaceRequest(input *CreatePrivat
|
|||
// API operation CreatePrivateVirtualInterface for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -1667,11 +1667,11 @@ func (c *DirectConnect) CreatePublicVirtualInterfaceRequest(input *CreatePublicV
|
|||
// API operation CreatePublicVirtualInterface for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -1753,11 +1753,11 @@ func (c *DirectConnect) DeleteBGPPeerRequest(input *DeleteBGPPeerInput) (req *re
|
|||
// API operation DeleteBGPPeer for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -1842,11 +1842,11 @@ func (c *DirectConnect) DeleteConnectionRequest(input *DeleteConnectionInput) (r
|
|||
// API operation DeleteConnection for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -1928,11 +1928,11 @@ func (c *DirectConnect) DeleteDirectConnectGatewayRequest(input *DeleteDirectCon
|
|||
// API operation DeleteDirectConnectGateway for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -2013,11 +2013,11 @@ func (c *DirectConnect) DeleteDirectConnectGatewayAssociationRequest(input *Dele
|
|||
// API operation DeleteDirectConnectGatewayAssociation for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -2099,11 +2099,11 @@ func (c *DirectConnect) DeleteInterconnectRequest(input *DeleteInterconnectInput
|
|||
// API operation DeleteInterconnect for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -2184,11 +2184,11 @@ func (c *DirectConnect) DeleteLagRequest(input *DeleteLagInput) (req *request.Re
|
|||
// API operation DeleteLag for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -2268,11 +2268,11 @@ func (c *DirectConnect) DeleteVirtualInterfaceRequest(input *DeleteVirtualInterf
|
|||
// API operation DeleteVirtualInterface for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -2363,11 +2363,11 @@ func (c *DirectConnect) DescribeConnectionLoaRequest(input *DescribeConnectionLo
|
|||
// API operation DescribeConnectionLoa for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -2449,11 +2449,11 @@ func (c *DirectConnect) DescribeConnectionsRequest(input *DescribeConnectionsInp
|
|||
// API operation DescribeConnections for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -2540,11 +2540,11 @@ func (c *DirectConnect) DescribeConnectionsOnInterconnectRequest(input *Describe
|
|||
// API operation DescribeConnectionsOnInterconnect for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -2630,11 +2630,11 @@ func (c *DirectConnect) DescribeDirectConnectGatewayAssociationsRequest(input *D
|
|||
// API operation DescribeDirectConnectGatewayAssociations for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -2720,11 +2720,11 @@ func (c *DirectConnect) DescribeDirectConnectGatewayAttachmentsRequest(input *De
|
|||
// API operation DescribeDirectConnectGatewayAttachments for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -2808,11 +2808,11 @@ func (c *DirectConnect) DescribeDirectConnectGatewaysRequest(input *DescribeDire
|
|||
// API operation DescribeDirectConnectGateways for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -2895,11 +2895,11 @@ func (c *DirectConnect) DescribeHostedConnectionsRequest(input *DescribeHostedCo
|
|||
// API operation DescribeHostedConnections for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -2990,11 +2990,11 @@ func (c *DirectConnect) DescribeInterconnectLoaRequest(input *DescribeInterconne
|
|||
// API operation DescribeInterconnectLoa for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -3076,11 +3076,11 @@ func (c *DirectConnect) DescribeInterconnectsRequest(input *DescribeInterconnect
|
|||
// API operation DescribeInterconnects for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -3162,11 +3162,11 @@ func (c *DirectConnect) DescribeLagsRequest(input *DescribeLagsInput) (req *requ
|
|||
// API operation DescribeLags for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -3253,11 +3253,11 @@ func (c *DirectConnect) DescribeLoaRequest(input *DescribeLoaInput) (req *reques
|
|||
// API operation DescribeLoa for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -3339,11 +3339,11 @@ func (c *DirectConnect) DescribeLocationsRequest(input *DescribeLocationsInput)
|
|||
// API operation DescribeLocations for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -3423,11 +3423,11 @@ func (c *DirectConnect) DescribeTagsRequest(input *DescribeTagsInput) (req *requ
|
|||
// API operation DescribeTags for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -3513,11 +3513,11 @@ func (c *DirectConnect) DescribeVirtualGatewaysRequest(input *DescribeVirtualGat
|
|||
// API operation DescribeVirtualGateways for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -3604,11 +3604,11 @@ func (c *DirectConnect) DescribeVirtualInterfacesRequest(input *DescribeVirtualI
|
|||
// API operation DescribeVirtualInterfaces for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -3698,11 +3698,11 @@ func (c *DirectConnect) DisassociateConnectionFromLagRequest(input *Disassociate
|
|||
// API operation DisassociateConnectionFromLag for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -3794,11 +3794,11 @@ func (c *DirectConnect) TagResourceRequest(input *TagResourceInput) (req *reques
|
|||
// You have reached the limit on the number of tags that can be assigned to
|
||||
// a Direct Connect resource.
|
||||
//
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -3878,11 +3878,11 @@ func (c *DirectConnect) UntagResourceRequest(input *UntagResourceInput) (req *re
|
|||
// API operation UntagResource for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
@ -3976,11 +3976,11 @@ func (c *DirectConnect) UpdateLagRequest(input *UpdateLagInput) (req *request.Re
|
|||
// API operation UpdateLag for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServerException "ServerException"
|
||||
// * ErrCodeServerException "DirectConnectServerException"
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// * ErrCodeClientException "DirectConnectClientException"
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
//
|
||||
|
|
8
vendor/github.com/aws/aws-sdk-go/service/directconnect/errors.go
generated
vendored
8
vendor/github.com/aws/aws-sdk-go/service/directconnect/errors.go
generated
vendored
|
@ -5,11 +5,11 @@ package directconnect
|
|||
const (
|
||||
|
||||
// ErrCodeClientException for service response error code
|
||||
// "ClientException".
|
||||
// "DirectConnectClientException".
|
||||
//
|
||||
// The API was called with invalid parameters. The error message will contain
|
||||
// additional details about the cause.
|
||||
ErrCodeClientException = "ClientException"
|
||||
ErrCodeClientException = "DirectConnectClientException"
|
||||
|
||||
// ErrCodeDuplicateTagKeysException for service response error code
|
||||
// "DuplicateTagKeysException".
|
||||
|
@ -18,11 +18,11 @@ const (
|
|||
ErrCodeDuplicateTagKeysException = "DuplicateTagKeysException"
|
||||
|
||||
// ErrCodeServerException for service response error code
|
||||
// "ServerException".
|
||||
// "DirectConnectServerException".
|
||||
//
|
||||
// A server-side error occurred during the API call. The error message will
|
||||
// contain additional details about the cause.
|
||||
ErrCodeServerException = "ServerException"
|
||||
ErrCodeServerException = "DirectConnectServerException"
|
||||
|
||||
// ErrCodeTooManyTagsException for service response error code
|
||||
// "TooManyTagsException".
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/directconnect/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/directconnect/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "directconnect" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "directconnect" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Direct Connect" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the DirectConnect client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
186
vendor/github.com/aws/aws-sdk-go/service/directoryservice/api.go
generated
vendored
186
vendor/github.com/aws/aws-sdk-go/service/directoryservice/api.go
generated
vendored
|
@ -3239,6 +3239,105 @@ func (c *DirectoryService) RemoveTagsFromResourceWithContext(ctx aws.Context, in
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opResetUserPassword = "ResetUserPassword"
|
||||
|
||||
// ResetUserPasswordRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ResetUserPassword operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// See ResetUserPassword for more information on using the ResetUserPassword
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
//
|
||||
// // Example sending a request using the ResetUserPasswordRequest method.
|
||||
// req, resp := client.ResetUserPasswordRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ResetUserPassword
|
||||
func (c *DirectoryService) ResetUserPasswordRequest(input *ResetUserPasswordInput) (req *request.Request, output *ResetUserPasswordOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opResetUserPassword,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &ResetUserPasswordInput{}
|
||||
}
|
||||
|
||||
output = &ResetUserPasswordOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
return
|
||||
}
|
||||
|
||||
// ResetUserPassword API operation for AWS Directory Service.
|
||||
//
|
||||
// Resets the password for any user in your AWS Managed Microsoft AD or Simple
|
||||
// AD directory.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
// the error.
|
||||
//
|
||||
// See the AWS API reference guide for AWS Directory Service's
|
||||
// API operation ResetUserPassword for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
|
||||
// The specified directory is unavailable or could not be found.
|
||||
//
|
||||
// * ErrCodeUserDoesNotExistException "UserDoesNotExistException"
|
||||
// The user provided a username that does not exist in your directory.
|
||||
//
|
||||
// * ErrCodeInvalidPasswordException "InvalidPasswordException"
|
||||
// The new password provided by the user does not meet the password complexity
|
||||
// requirements defined in your directory.
|
||||
//
|
||||
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
|
||||
// The operation is not supported.
|
||||
//
|
||||
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
|
||||
// The specified entity could not be found.
|
||||
//
|
||||
// * ErrCodeClientException "ClientException"
|
||||
// A client exception has occurred.
|
||||
//
|
||||
// * ErrCodeServiceException "ServiceException"
|
||||
// An exception has occurred in AWS Directory Service.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ResetUserPassword
|
||||
func (c *DirectoryService) ResetUserPassword(input *ResetUserPasswordInput) (*ResetUserPasswordOutput, error) {
|
||||
req, out := c.ResetUserPasswordRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// ResetUserPasswordWithContext is the same as ResetUserPassword with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See ResetUserPassword for details on how to use this API operation.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *DirectoryService) ResetUserPasswordWithContext(ctx aws.Context, input *ResetUserPasswordInput, opts ...request.Option) (*ResetUserPasswordOutput, error) {
|
||||
req, out := c.ResetUserPasswordRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opRestoreFromSnapshot = "RestoreFromSnapshot"
|
||||
|
||||
// RestoreFromSnapshotRequest generates a "aws/request.Request" representing the
|
||||
|
@ -7812,6 +7911,93 @@ func (s RemoveTagsFromResourceOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
type ResetUserPasswordInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Identifier of the AWS Managed Microsoft AD or Simple AD directory in which
|
||||
// the user resides.
|
||||
//
|
||||
// DirectoryId is a required field
|
||||
DirectoryId *string `type:"string" required:"true"`
|
||||
|
||||
// The new password that will be reset.
|
||||
//
|
||||
// NewPassword is a required field
|
||||
NewPassword *string `min:"1" type:"string" required:"true"`
|
||||
|
||||
// The username of the user whose password will be reset.
|
||||
//
|
||||
// UserName is a required field
|
||||
UserName *string `min:"1" type:"string" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s ResetUserPasswordInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s ResetUserPasswordInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *ResetUserPasswordInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "ResetUserPasswordInput"}
|
||||
if s.DirectoryId == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("DirectoryId"))
|
||||
}
|
||||
if s.NewPassword == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("NewPassword"))
|
||||
}
|
||||
if s.NewPassword != nil && len(*s.NewPassword) < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("NewPassword", 1))
|
||||
}
|
||||
if s.UserName == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("UserName"))
|
||||
}
|
||||
if s.UserName != nil && len(*s.UserName) < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetDirectoryId sets the DirectoryId field's value.
|
||||
func (s *ResetUserPasswordInput) SetDirectoryId(v string) *ResetUserPasswordInput {
|
||||
s.DirectoryId = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetNewPassword sets the NewPassword field's value.
|
||||
func (s *ResetUserPasswordInput) SetNewPassword(v string) *ResetUserPasswordInput {
|
||||
s.NewPassword = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetUserName sets the UserName field's value.
|
||||
func (s *ResetUserPasswordInput) SetUserName(v string) *ResetUserPasswordInput {
|
||||
s.UserName = &v
|
||||
return s
|
||||
}
|
||||
|
||||
type ResetUserPasswordOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s ResetUserPasswordOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s ResetUserPasswordOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// An object representing the inputs for the RestoreFromSnapshot operation.
|
||||
type RestoreFromSnapshotInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
|
|
@ -199,6 +199,10 @@ type DirectoryServiceAPI interface {
|
|||
RemoveTagsFromResourceWithContext(aws.Context, *directoryservice.RemoveTagsFromResourceInput, ...request.Option) (*directoryservice.RemoveTagsFromResourceOutput, error)
|
||||
RemoveTagsFromResourceRequest(*directoryservice.RemoveTagsFromResourceInput) (*request.Request, *directoryservice.RemoveTagsFromResourceOutput)
|
||||
|
||||
ResetUserPassword(*directoryservice.ResetUserPasswordInput) (*directoryservice.ResetUserPasswordOutput, error)
|
||||
ResetUserPasswordWithContext(aws.Context, *directoryservice.ResetUserPasswordInput, ...request.Option) (*directoryservice.ResetUserPasswordOutput, error)
|
||||
ResetUserPasswordRequest(*directoryservice.ResetUserPasswordInput) (*request.Request, *directoryservice.ResetUserPasswordOutput)
|
||||
|
||||
RestoreFromSnapshot(*directoryservice.RestoreFromSnapshotInput) (*directoryservice.RestoreFromSnapshotOutput, error)
|
||||
RestoreFromSnapshotWithContext(aws.Context, *directoryservice.RestoreFromSnapshotInput, ...request.Option) (*directoryservice.RestoreFromSnapshotOutput, error)
|
||||
RestoreFromSnapshotRequest(*directoryservice.RestoreFromSnapshotInput) (*request.Request, *directoryservice.RestoreFromSnapshotOutput)
|
||||
|
|
13
vendor/github.com/aws/aws-sdk-go/service/directoryservice/errors.go
generated
vendored
13
vendor/github.com/aws/aws-sdk-go/service/directoryservice/errors.go
generated
vendored
|
@ -67,6 +67,13 @@ const (
|
|||
// One or more parameters are not valid.
|
||||
ErrCodeInvalidParameterException = "InvalidParameterException"
|
||||
|
||||
// ErrCodeInvalidPasswordException for service response error code
|
||||
// "InvalidPasswordException".
|
||||
//
|
||||
// The new password provided by the user does not meet the password complexity
|
||||
// requirements defined in your directory.
|
||||
ErrCodeInvalidPasswordException = "InvalidPasswordException"
|
||||
|
||||
// ErrCodeIpRouteLimitExceededException for service response error code
|
||||
// "IpRouteLimitExceededException".
|
||||
//
|
||||
|
@ -99,4 +106,10 @@ const (
|
|||
//
|
||||
// The operation is not supported.
|
||||
ErrCodeUnsupportedOperationException = "UnsupportedOperationException"
|
||||
|
||||
// ErrCodeUserDoesNotExistException for service response error code
|
||||
// "UserDoesNotExistException".
|
||||
//
|
||||
// The user provided a username that does not exist in your directory.
|
||||
ErrCodeUserDoesNotExistException = "UserDoesNotExistException"
|
||||
)
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/directoryservice/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/directoryservice/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "ds" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "ds" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Directory Service" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the DirectoryService client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
114
vendor/github.com/aws/aws-sdk-go/service/dynamodb/api.go
generated
vendored
114
vendor/github.com/aws/aws-sdk-go/service/dynamodb/api.go
generated
vendored
|
@ -472,8 +472,7 @@ func (c *DynamoDB) CreateBackupRequest(input *CreateBackupInput) (req *request.R
|
|||
// table. The backups is either being created, deleted or restored to a table.
|
||||
//
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// Up to 50 CreateBackup operations are allowed per second, per account. There
|
||||
// is no limit to the number of daily on-demand backups that can be taken.
|
||||
// There is no limit to the number of daily on-demand backups that can be taken.
|
||||
//
|
||||
// Up to 10 simultaneous table operations are allowed per account. These operations
|
||||
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
|
||||
|
@ -558,20 +557,17 @@ func (c *DynamoDB) CreateGlobalTableRequest(input *CreateGlobalTableInput) (req
|
|||
// relationship between two or more DynamoDB tables with the same table name
|
||||
// in the provided regions.
|
||||
//
|
||||
// Tables can only be added as the replicas of a global table group under the
|
||||
// following conditions:
|
||||
// If you want to add a new replica table to a global table, each of the following
|
||||
// conditions must be true:
|
||||
//
|
||||
// * The tables must have the same name.
|
||||
// * The table must have the same primary key as all of the other replicas.
|
||||
//
|
||||
// * The tables must contain no items.
|
||||
// * The table must have the same name as all of the other replicas.
|
||||
//
|
||||
// * The tables must have the same hash key and sort key (if present).
|
||||
//
|
||||
// * The tables must have DynamoDB Streams enabled (NEW_AND_OLD_IMAGES).
|
||||
//
|
||||
//
|
||||
// * The tables must have same provisioned and maximum write capacity units.
|
||||
// * The table must have DynamoDB Streams enabled, with the stream containing
|
||||
// both the new and the old images of the item.
|
||||
//
|
||||
// * None of the replica tables in the global table can contain any data.
|
||||
//
|
||||
// If global secondary indexes are specified, then the following conditions
|
||||
// must also be met:
|
||||
|
@ -581,8 +577,15 @@ func (c *DynamoDB) CreateGlobalTableRequest(input *CreateGlobalTableInput) (req
|
|||
// * The global secondary indexes must have the same hash key and sort key
|
||||
// (if present).
|
||||
//
|
||||
// * The global secondary indexes must have the same provisioned and maximum
|
||||
// write capacity units.
|
||||
// Write capacity settings should be set consistently across your replica tables
|
||||
// and secondary indexes. DynamoDB strongly recommends enabling auto scaling
|
||||
// to manage the write capacity settings for all of your global tables replicas
|
||||
// and indexes.
|
||||
//
|
||||
// If you prefer to manage write capacity settings manually, you should provision
|
||||
// equal replicated write capacity units to your replica tables. You should
|
||||
// also provision equal replicated write capacity units to matching secondary
|
||||
// indexes across your global table.
|
||||
//
|
||||
// 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
|
||||
|
@ -593,8 +596,7 @@ func (c *DynamoDB) CreateGlobalTableRequest(input *CreateGlobalTableInput) (req
|
|||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// Up to 50 CreateBackup operations are allowed per second, per account. There
|
||||
// is no limit to the number of daily on-demand backups that can be taken.
|
||||
// There is no limit to the number of daily on-demand backups that can be taken.
|
||||
//
|
||||
// Up to 10 simultaneous table operations are allowed per account. These operations
|
||||
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
|
||||
|
@ -712,8 +714,7 @@ func (c *DynamoDB) CreateTableRequest(input *CreateTableInput) (req *request.Req
|
|||
// in the CREATING state.
|
||||
//
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// Up to 50 CreateBackup operations are allowed per second, per account. There
|
||||
// is no limit to the number of daily on-demand backups that can be taken.
|
||||
// There is no limit to the number of daily on-demand backups that can be taken.
|
||||
//
|
||||
// Up to 10 simultaneous table operations are allowed per account. These operations
|
||||
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
|
||||
|
@ -814,8 +815,7 @@ func (c *DynamoDB) DeleteBackupRequest(input *DeleteBackupInput) (req *request.R
|
|||
// table. The backups is either being created, deleted or restored to a table.
|
||||
//
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// Up to 50 CreateBackup operations are allowed per second, per account. There
|
||||
// is no limit to the number of daily on-demand backups that can be taken.
|
||||
// There is no limit to the number of daily on-demand backups that can be taken.
|
||||
//
|
||||
// Up to 10 simultaneous table operations are allowed per account. These operations
|
||||
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
|
||||
|
@ -1044,8 +1044,7 @@ func (c *DynamoDB) DeleteTableRequest(input *DeleteTableInput) (req *request.Req
|
|||
// might not be specified correctly, or its status might not be ACTIVE.
|
||||
//
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// Up to 50 CreateBackup operations are allowed per second, per account. There
|
||||
// is no limit to the number of daily on-demand backups that can be taken.
|
||||
// There is no limit to the number of daily on-demand backups that can be taken.
|
||||
//
|
||||
// Up to 10 simultaneous table operations are allowed per account. These operations
|
||||
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
|
||||
|
@ -2642,8 +2641,7 @@ func (c *DynamoDB) RestoreTableFromBackupRequest(input *RestoreTableFromBackupIn
|
|||
// table. The backups is either being created, deleted or restored to a table.
|
||||
//
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// Up to 50 CreateBackup operations are allowed per second, per account. There
|
||||
// is no limit to the number of daily on-demand backups that can be taken.
|
||||
// There is no limit to the number of daily on-demand backups that can be taken.
|
||||
//
|
||||
// Up to 10 simultaneous table operations are allowed per account. These operations
|
||||
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
|
||||
|
@ -2782,8 +2780,7 @@ func (c *DynamoDB) RestoreTableToPointInTimeRequest(input *RestoreTableToPointIn
|
|||
// A target table with the specified name is either being created or deleted.
|
||||
//
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// Up to 50 CreateBackup operations are allowed per second, per account. There
|
||||
// is no limit to the number of daily on-demand backups that can be taken.
|
||||
// There is no limit to the number of daily on-demand backups that can be taken.
|
||||
//
|
||||
// Up to 10 simultaneous table operations are allowed per account. These operations
|
||||
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
|
||||
|
@ -3064,8 +3061,7 @@ func (c *DynamoDB) TagResourceRequest(input *TagResourceInput) (req *request.Req
|
|||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// Up to 50 CreateBackup operations are allowed per second, per account. There
|
||||
// is no limit to the number of daily on-demand backups that can be taken.
|
||||
// There is no limit to the number of daily on-demand backups that can be taken.
|
||||
//
|
||||
// Up to 10 simultaneous table operations are allowed per account. These operations
|
||||
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
|
||||
|
@ -3172,8 +3168,7 @@ func (c *DynamoDB) UntagResourceRequest(input *UntagResourceInput) (req *request
|
|||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// Up to 50 CreateBackup operations are allowed per second, per account. There
|
||||
// is no limit to the number of daily on-demand backups that can be taken.
|
||||
// There is no limit to the number of daily on-demand backups that can be taken.
|
||||
//
|
||||
// Up to 10 simultaneous table operations are allowed per account. These operations
|
||||
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
|
||||
|
@ -3490,8 +3485,7 @@ func (c *DynamoDB) UpdateGlobalTableSettingsRequest(input *UpdateGlobalTableSett
|
|||
// The operation tried to access a nonexistent index.
|
||||
//
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// Up to 50 CreateBackup operations are allowed per second, per account. There
|
||||
// is no limit to the number of daily on-demand backups that can be taken.
|
||||
// There is no limit to the number of daily on-demand backups that can be taken.
|
||||
//
|
||||
// Up to 10 simultaneous table operations are allowed per account. These operations
|
||||
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
|
||||
|
@ -3719,8 +3713,7 @@ func (c *DynamoDB) UpdateTableRequest(input *UpdateTableInput) (req *request.Req
|
|||
// might not be specified correctly, or its status might not be ACTIVE.
|
||||
//
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// Up to 50 CreateBackup operations are allowed per second, per account. There
|
||||
// is no limit to the number of daily on-demand backups that can be taken.
|
||||
// There is no limit to the number of daily on-demand backups that can be taken.
|
||||
//
|
||||
// Up to 10 simultaneous table operations are allowed per account. These operations
|
||||
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
|
||||
|
@ -3848,8 +3841,7 @@ func (c *DynamoDB) UpdateTimeToLiveRequest(input *UpdateTimeToLiveInput) (req *r
|
|||
// might not be specified correctly, or its status might not be ACTIVE.
|
||||
//
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// Up to 50 CreateBackup operations are allowed per second, per account. There
|
||||
// is no limit to the number of daily on-demand backups that can be taken.
|
||||
// There is no limit to the number of daily on-demand backups that can be taken.
|
||||
//
|
||||
// Up to 10 simultaneous table operations are allowed per account. These operations
|
||||
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
|
||||
|
@ -6312,7 +6304,8 @@ func (s *DescribeContinuousBackupsInput) SetTableName(v string) *DescribeContinu
|
|||
type DescribeContinuousBackupsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// ContinuousBackupsDescription can be one of the following : ENABLED, DISABLED.
|
||||
// Represents the continuous backups and point in time recovery settings on
|
||||
// the table.
|
||||
ContinuousBackupsDescription *ContinuousBackupsDescription `type:"structure"`
|
||||
}
|
||||
|
||||
|
@ -7870,7 +7863,10 @@ func (s *KeysAndAttributes) SetProjectionExpression(v string) *KeysAndAttributes
|
|||
type ListBackupsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// LastEvaluatedBackupARN returned by the previous ListBackups call.
|
||||
// LastEvaluatedBackupArn is the ARN of the backup last evaluated when the current
|
||||
// page of results was returned, inclusive of the current page of results. This
|
||||
// value may be specified as the ExclusiveStartBackupArn of a new ListBackups
|
||||
// operation in order to fetch the next page of results.
|
||||
ExclusiveStartBackupArn *string `min:"37" type:"string"`
|
||||
|
||||
// Maximum number of backups to return at once.
|
||||
|
@ -7952,7 +7948,17 @@ type ListBackupsOutput struct {
|
|||
// List of BackupSummary objects.
|
||||
BackupSummaries []*BackupSummary `type:"list"`
|
||||
|
||||
// Last evaluated BackupARN.
|
||||
// The ARN of the backup last evaluated when the current page of results was
|
||||
// returned, inclusive of the current page of results. This value may be specified
|
||||
// as the ExclusiveStartBackupArn of a new ListBackups operation in order to
|
||||
// fetch the next page of results.
|
||||
//
|
||||
// If LastEvaluatedBackupArn is empty, then the last page of results has been
|
||||
// processed and there are no more results to be retrieved.
|
||||
//
|
||||
// If LastEvaluatedBackupArn is not empty, this may or may not indicate there
|
||||
// is more data to be returned. All results are guaranteed to have been returned
|
||||
// if and only if no value for LastEvaluatedBackupArn is returned.
|
||||
LastEvaluatedBackupArn *string `min:"37" type:"string"`
|
||||
}
|
||||
|
||||
|
@ -10291,6 +10297,16 @@ func (s *RestoreTableToPointInTimeOutput) SetTableDescription(v *TableDescriptio
|
|||
type SSEDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The KMS master key ARN used for the KMS encryption.
|
||||
KMSMasterKeyArn *string `type:"string"`
|
||||
|
||||
// Server-side encryption type:
|
||||
//
|
||||
// * AES256 - Server-side encryption which uses the AES256 algorithm.
|
||||
//
|
||||
// * KMS - Server-side encryption which uses AWS Key Management Service.
|
||||
SSEType *string `type:"string" enum:"SSEType"`
|
||||
|
||||
// The current state of server-side encryption:
|
||||
//
|
||||
// * ENABLING - Server-side encryption is being enabled.
|
||||
|
@ -10313,6 +10329,18 @@ func (s SSEDescription) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// SetKMSMasterKeyArn sets the KMSMasterKeyArn field's value.
|
||||
func (s *SSEDescription) SetKMSMasterKeyArn(v string) *SSEDescription {
|
||||
s.KMSMasterKeyArn = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetSSEType sets the SSEType field's value.
|
||||
func (s *SSEDescription) SetSSEType(v string) *SSEDescription {
|
||||
s.SSEType = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetStatus sets the Status field's value.
|
||||
func (s *SSEDescription) SetStatus(v string) *SSEDescription {
|
||||
s.Status = &v
|
||||
|
@ -12930,6 +12958,14 @@ const (
|
|||
SSEStatusDisabled = "DISABLED"
|
||||
)
|
||||
|
||||
const (
|
||||
// SSETypeAes256 is a SSEType enum value
|
||||
SSETypeAes256 = "AES256"
|
||||
|
||||
// SSETypeKms is a SSEType enum value
|
||||
SSETypeKms = "KMS"
|
||||
)
|
||||
|
||||
const (
|
||||
// ScalarAttributeTypeS is a ScalarAttributeType enum value
|
||||
ScalarAttributeTypeS = "S"
|
||||
|
|
11
vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/decode.go
generated
vendored
11
vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/decode.go
generated
vendored
|
@ -1,6 +1,7 @@
|
|||
package dynamodbattribute
|
||||
|
||||
import (
|
||||
"encoding/base64"
|
||||
"fmt"
|
||||
"reflect"
|
||||
"strconv"
|
||||
|
@ -538,6 +539,16 @@ func (d *Decoder) decodeString(s *string, v reflect.Value, fieldTag tag) error {
|
|||
switch v.Kind() {
|
||||
case reflect.String:
|
||||
v.SetString(*s)
|
||||
case reflect.Slice:
|
||||
// To maintain backwards compatibility with the ConvertFrom family of methods
|
||||
// which converted []byte into base64-encoded strings if the input was typed
|
||||
if v.Type() == byteSliceType {
|
||||
decoded, err := base64.StdEncoding.DecodeString(*s)
|
||||
if err != nil {
|
||||
return &UnmarshalError{Err: err, Value: "string", Type: v.Type()}
|
||||
}
|
||||
v.SetBytes(decoded)
|
||||
}
|
||||
case reflect.Interface:
|
||||
// Ensure type aliasing is handled properly
|
||||
v.Set(reflect.ValueOf(*s).Convert(v.Type()))
|
||||
|
|
24
vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/decode_test.go
generated
vendored
24
vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/decode_test.go
generated
vendored
|
@ -234,6 +234,30 @@ func TestUnmarshalListError(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func TestUnmarshalConvertToData(t *testing.T) {
|
||||
type T struct {
|
||||
Int int
|
||||
Str string
|
||||
ByteSlice []byte
|
||||
StrSlice []string
|
||||
}
|
||||
|
||||
exp := T{
|
||||
Int: 42,
|
||||
Str: "foo",
|
||||
ByteSlice: []byte{42, 97, 83},
|
||||
StrSlice: []string{"cat", "dog"},
|
||||
}
|
||||
av, err := ConvertToMap(exp)
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
|
||||
var act T
|
||||
err = UnmarshalMap(av, &act)
|
||||
assertConvertTest(t, 0, act, exp, err, nil)
|
||||
}
|
||||
|
||||
func TestUnmarshalMapShared(t *testing.T) {
|
||||
for i, c := range sharedMapTestCases {
|
||||
err := UnmarshalMap(c.in, c.actual)
|
||||
|
|
8
vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/doc.go
generated
vendored
8
vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/doc.go
generated
vendored
|
@ -81,7 +81,7 @@
|
|||
// The ConvertTo, ConvertToList, ConvertToMap, ConvertFrom, ConvertFromMap
|
||||
// and ConvertFromList methods have been deprecated. The Marshal and Unmarshal
|
||||
// functions should be used instead. The ConvertTo|From marshallers do not
|
||||
// support BinarySet, NumberSet, nor StringSets, and will incorrect marshal
|
||||
// support BinarySet, NumberSet, nor StringSets, and will incorrectly marshal
|
||||
// binary data fields in structs as base64 strings.
|
||||
//
|
||||
// The Marshal and Unmarshal functions correct this behavior, and removes
|
||||
|
@ -91,5 +91,11 @@
|
|||
// replaced with have been replaced with dynamodbattribute.Marshaler and
|
||||
// dynamodbattribute.Unmarshaler interfaces.
|
||||
//
|
||||
// The Unmarshal functions are backwards compatible with data marshalled by
|
||||
// ConvertTo*, but the reverse is not true: objects marshalled using Marshal
|
||||
// are not necessarily usable by ConvertFrom*. This backward compatibility is
|
||||
// intended to assist with incremental upgrading of data following a switch
|
||||
// away from the Convert* family of functions.
|
||||
//
|
||||
// `time.Time` is marshaled as RFC3339 format.
|
||||
package dynamodbattribute
|
||||
|
|
3
vendor/github.com/aws/aws-sdk-go/service/dynamodb/errors.go
generated
vendored
3
vendor/github.com/aws/aws-sdk-go/service/dynamodb/errors.go
generated
vendored
|
@ -70,8 +70,7 @@ const (
|
|||
// ErrCodeLimitExceededException for service response error code
|
||||
// "LimitExceededException".
|
||||
//
|
||||
// Up to 50 CreateBackup operations are allowed per second, per account. There
|
||||
// is no limit to the number of daily on-demand backups that can be taken.
|
||||
// There is no limit to the number of daily on-demand backups that can be taken.
|
||||
//
|
||||
// Up to 10 simultaneous table operations are allowed per account. These operations
|
||||
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
|
||||
|
|
5
vendor/github.com/aws/aws-sdk-go/service/dynamodb/expression/expression.go
generated
vendored
5
vendor/github.com/aws/aws-sdk-go/service/dynamodb/expression/expression.go
generated
vendored
|
@ -488,7 +488,10 @@ func (e Expression) returnExpression(expressionType expressionType) *string {
|
|||
if e.expressionMap == nil {
|
||||
return nil
|
||||
}
|
||||
return aws.String(e.expressionMap[expressionType])
|
||||
if s, exists := e.expressionMap[expressionType]; exists {
|
||||
return &s
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// exprNode are the generic nodes that represents both Operands and
|
||||
|
|
33
vendor/github.com/aws/aws-sdk-go/service/dynamodb/expression/expression_test.go
generated
vendored
33
vendor/github.com/aws/aws-sdk-go/service/dynamodb/expression/expression_test.go
generated
vendored
|
@ -978,6 +978,39 @@ func TestBuildExpressionString(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func TestReturnExpression(t *testing.T) {
|
||||
cases := []struct {
|
||||
name string
|
||||
input Expression
|
||||
expected *string
|
||||
}{
|
||||
{
|
||||
name: "projection exists",
|
||||
input: Expression{
|
||||
expressionMap: map[expressionType]string{
|
||||
projection: "#0, #1, #2",
|
||||
},
|
||||
},
|
||||
expected: aws.String("#0, #1, #2"),
|
||||
},
|
||||
{
|
||||
name: "projection not exists",
|
||||
input: Expression{
|
||||
expressionMap: map[expressionType]string{},
|
||||
},
|
||||
expected: nil,
|
||||
},
|
||||
}
|
||||
for _, c := range cases {
|
||||
t.Run(c.name, func(t *testing.T) {
|
||||
actual := c.input.returnExpression(projection)
|
||||
if e, a := c.expected, actual; !reflect.DeepEqual(a, e) {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
func TestAliasValue(t *testing.T) {
|
||||
cases := []struct {
|
||||
name string
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/dynamodb/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/dynamodb/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "dynamodb" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "dynamodb" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "DynamoDB" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the DynamoDB client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/dynamodbstreams/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/dynamodbstreams/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "streams.dynamodb" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "streams.dynamodb" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "DynamoDB Streams" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the DynamoDBStreams client with a session.
|
||||
|
@ -58,6 +59,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
94
vendor/github.com/aws/aws-sdk-go/service/ec2/api.go
generated
vendored
94
vendor/github.com/aws/aws-sdk-go/service/ec2/api.go
generated
vendored
|
@ -2268,11 +2268,7 @@ func (c *EC2) CancelSpotInstanceRequestsRequest(input *CancelSpotInstanceRequest
|
|||
|
||||
// CancelSpotInstanceRequests API operation for Amazon Elastic Compute Cloud.
|
||||
//
|
||||
// Cancels one or more Spot Instance requests. Spot Instances are instances
|
||||
// that Amazon EC2 starts on your behalf when the maximum price that you specify
|
||||
// exceeds the current Spot price. For more information, see Spot Instance Requests
|
||||
// (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html) in
|
||||
// the Amazon EC2 User Guide for Linux Instances.
|
||||
// Cancels one or more Spot Instance requests.
|
||||
//
|
||||
// Canceling a Spot Instance request does not terminate running Spot Instances
|
||||
// associated with the request.
|
||||
|
@ -4179,8 +4175,8 @@ func (c *EC2) CreateNetworkInterfacePermissionRequest(input *CreateNetworkInterf
|
|||
|
||||
// CreateNetworkInterfacePermission API operation for Amazon Elastic Compute Cloud.
|
||||
//
|
||||
// Grants an AWS authorized partner account permission to attach the specified
|
||||
// network interface to an instance in their account.
|
||||
// Grants an AWS-authorized account permission to attach the specified network
|
||||
// interface to an instance in their account.
|
||||
//
|
||||
// You can grant permission to a single AWS account only, and only one account
|
||||
// at a time.
|
||||
|
@ -13675,11 +13671,7 @@ func (c *EC2) DescribeSpotInstanceRequestsRequest(input *DescribeSpotInstanceReq
|
|||
|
||||
// DescribeSpotInstanceRequests API operation for Amazon Elastic Compute Cloud.
|
||||
//
|
||||
// Describes the Spot Instance requests that belong to your account. Spot Instances
|
||||
// are instances that Amazon EC2 launches when the Spot price that you specify
|
||||
// exceeds the current Spot price. For more information, see Spot Instance Requests
|
||||
// (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html) in
|
||||
// the Amazon EC2 User Guide for Linux Instances.
|
||||
// Describes the specified Spot Instance requests.
|
||||
//
|
||||
// You can use DescribeSpotInstanceRequests to find a running Spot Instance
|
||||
// by examining the response. If the status of the Spot Instance is fulfilled,
|
||||
|
@ -21367,9 +21359,9 @@ func (c *EC2) RequestSpotInstancesRequest(input *RequestSpotInstancesInput) (req
|
|||
|
||||
// RequestSpotInstances API operation for Amazon Elastic Compute Cloud.
|
||||
//
|
||||
// Creates a Spot Instance request. Spot Instances are instances that Amazon
|
||||
// EC2 launches when the maximum price that you specify exceeds the current
|
||||
// Spot price. For more information, see Spot Instance Requests (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html)
|
||||
// Creates a Spot Instance request.
|
||||
//
|
||||
// For more information, see Spot Instance Requests (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html)
|
||||
// in the Amazon EC2 User Guide for Linux Instances.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
|
@ -37615,7 +37607,7 @@ type DescribeInstancesInput struct {
|
|||
// The maximum number of results to return in a single call. To retrieve the
|
||||
// remaining results, make another call with the returned NextToken value. This
|
||||
// value can be between 5 and 1000. You cannot specify this parameter and the
|
||||
// instance IDs parameter or tag filters in the same call.
|
||||
// instance IDs parameter in the same call.
|
||||
MaxResults *int64 `locationName:"maxResults" type:"integer"`
|
||||
|
||||
// The token to request the next page of results.
|
||||
|
@ -66458,19 +66450,23 @@ type StateReason struct {
|
|||
|
||||
// The message for the state change.
|
||||
//
|
||||
// * Server.InsufficientInstanceCapacity: There was insufficient instance
|
||||
// capacity to satisfy the launch request.
|
||||
// * Server.InsufficientInstanceCapacity: There was insufficient capacity
|
||||
// available to satisfy the launch request.
|
||||
//
|
||||
// * Server.InternalError: An internal error occurred during instance launch,
|
||||
// resulting in termination.
|
||||
// * Server.InternalError: An internal error caused the instance to terminate
|
||||
// during launch.
|
||||
//
|
||||
// * Server.ScheduledStop: The instance was stopped due to a scheduled retirement.
|
||||
//
|
||||
// * Server.SpotInstanceTermination: A Spot Instance was terminated due to
|
||||
// an increase in the Spot price.
|
||||
// * Server.SpotInstanceShutdown: The instance was stopped because the number
|
||||
// of Spot requests with a maximum price equal to or higher than the Spot
|
||||
// price exceeded available capacity or because of an increase in the Spot
|
||||
// price.
|
||||
//
|
||||
// * Client.InternalError: A client error caused the instance to terminate
|
||||
// on launch.
|
||||
// * Server.SpotInstanceTermination: The instance was terminated because
|
||||
// the number of Spot requests with a maximum price equal to or higher than
|
||||
// the Spot price exceeded available capacity or because of an increase in
|
||||
// the Spot price.
|
||||
//
|
||||
// * Client.InstanceInitiatedShutdown: The instance was shut down using the
|
||||
// shutdown -h command from the instance.
|
||||
|
@ -66478,14 +66474,17 @@ type StateReason struct {
|
|||
// * Client.InstanceTerminated: The instance was terminated or rebooted during
|
||||
// AMI creation.
|
||||
//
|
||||
// * Client.InternalError: A client error caused the instance to terminate
|
||||
// during launch.
|
||||
//
|
||||
// * Client.InvalidSnapshot.NotFound: The specified snapshot was not found.
|
||||
//
|
||||
// * Client.UserInitiatedShutdown: The instance was shut down using the Amazon
|
||||
// EC2 API.
|
||||
//
|
||||
// * Client.VolumeLimitExceeded: The limit on the number of EBS volumes or
|
||||
// total storage was exceeded. Decrease usage or request an increase in your
|
||||
// limits.
|
||||
//
|
||||
// * Client.InvalidSnapshot.NotFound: The specified snapshot was not found.
|
||||
// account limits.
|
||||
Message *string `locationName:"message" type:"string"`
|
||||
}
|
||||
|
||||
|
@ -66969,7 +66968,7 @@ type TagSpecification struct {
|
|||
_ struct{} `type:"structure"`
|
||||
|
||||
// The type of resource to tag. Currently, the resource types that support tagging
|
||||
// on creation are instance and volume.
|
||||
// on creation are instance, snapshot, and volume.
|
||||
ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"`
|
||||
|
||||
// The tags to apply to the resource.
|
||||
|
@ -70694,6 +70693,9 @@ const (
|
|||
// InstanceTypeI316xlarge is a InstanceType enum value
|
||||
InstanceTypeI316xlarge = "i3.16xlarge"
|
||||
|
||||
// InstanceTypeI3Metal is a InstanceType enum value
|
||||
InstanceTypeI3Metal = "i3.metal"
|
||||
|
||||
// InstanceTypeHi14xlarge is a InstanceType enum value
|
||||
InstanceTypeHi14xlarge = "hi1.4xlarge"
|
||||
|
||||
|
@ -70754,6 +70756,24 @@ const (
|
|||
// InstanceTypeC518xlarge is a InstanceType enum value
|
||||
InstanceTypeC518xlarge = "c5.18xlarge"
|
||||
|
||||
// InstanceTypeC5dLarge is a InstanceType enum value
|
||||
InstanceTypeC5dLarge = "c5d.large"
|
||||
|
||||
// InstanceTypeC5dXlarge is a InstanceType enum value
|
||||
InstanceTypeC5dXlarge = "c5d.xlarge"
|
||||
|
||||
// InstanceTypeC5d2xlarge is a InstanceType enum value
|
||||
InstanceTypeC5d2xlarge = "c5d.2xlarge"
|
||||
|
||||
// InstanceTypeC5d4xlarge is a InstanceType enum value
|
||||
InstanceTypeC5d4xlarge = "c5d.4xlarge"
|
||||
|
||||
// InstanceTypeC5d9xlarge is a InstanceType enum value
|
||||
InstanceTypeC5d9xlarge = "c5d.9xlarge"
|
||||
|
||||
// InstanceTypeC5d18xlarge is a InstanceType enum value
|
||||
InstanceTypeC5d18xlarge = "c5d.18xlarge"
|
||||
|
||||
// InstanceTypeCc14xlarge is a InstanceType enum value
|
||||
InstanceTypeCc14xlarge = "cc1.4xlarge"
|
||||
|
||||
|
@ -70832,6 +70852,24 @@ const (
|
|||
// InstanceTypeM524xlarge is a InstanceType enum value
|
||||
InstanceTypeM524xlarge = "m5.24xlarge"
|
||||
|
||||
// InstanceTypeM5dLarge is a InstanceType enum value
|
||||
InstanceTypeM5dLarge = "m5d.large"
|
||||
|
||||
// InstanceTypeM5dXlarge is a InstanceType enum value
|
||||
InstanceTypeM5dXlarge = "m5d.xlarge"
|
||||
|
||||
// InstanceTypeM5d2xlarge is a InstanceType enum value
|
||||
InstanceTypeM5d2xlarge = "m5d.2xlarge"
|
||||
|
||||
// InstanceTypeM5d4xlarge is a InstanceType enum value
|
||||
InstanceTypeM5d4xlarge = "m5d.4xlarge"
|
||||
|
||||
// InstanceTypeM5d12xlarge is a InstanceType enum value
|
||||
InstanceTypeM5d12xlarge = "m5d.12xlarge"
|
||||
|
||||
// InstanceTypeM5d24xlarge is a InstanceType enum value
|
||||
InstanceTypeM5d24xlarge = "m5d.24xlarge"
|
||||
|
||||
// InstanceTypeH12xlarge is a InstanceType enum value
|
||||
InstanceTypeH12xlarge = "h1.2xlarge"
|
||||
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/ec2/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/ec2/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "ec2" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "ec2" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "EC2" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the EC2 client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/ecr/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/ecr/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "ecr" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "ecr" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "ECR" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ECR client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
221
vendor/github.com/aws/aws-sdk-go/service/ecs/api.go
generated
vendored
221
vendor/github.com/aws/aws-sdk-go/service/ecs/api.go
generated
vendored
|
@ -180,17 +180,21 @@ func (c *ECS) CreateServiceRequest(input *CreateServiceInput) (req *request.Requ
|
|||
// balancer are considered healthy if they are in the RUNNING state. Tasks for
|
||||
// services that do use a load balancer are considered healthy if they are in
|
||||
// the RUNNING state and the container instance they are hosted on is reported
|
||||
// as healthy by the load balancer. The default value for minimumHealthyPercent
|
||||
// is 50% in the console and 100% for the AWS CLI, the AWS SDKs, and the APIs.
|
||||
// as healthy by the load balancer. The default value for a replica service
|
||||
// for minimumHealthyPercent is 50% in the console and 100% for the AWS CLI,
|
||||
// the AWS SDKs, and the APIs. The default value for a daemon service for minimumHealthyPercent
|
||||
// is 0% for the AWS CLI, the AWS SDKs, and the APIs and 50% for the console.
|
||||
//
|
||||
// The maximumPercent parameter represents an upper limit on the number of your
|
||||
// service's tasks that are allowed in the RUNNING or PENDING state during a
|
||||
// deployment, as a percentage of the desiredCount (rounded down to the nearest
|
||||
// integer). This parameter enables you to define the deployment batch size.
|
||||
// For example, if your service has a desiredCount of four tasks and a maximumPercent
|
||||
// value of 200%, the scheduler can start four new tasks before stopping the
|
||||
// four older tasks (provided that the cluster resources required to do this
|
||||
// are available). The default value for maximumPercent is 200%.
|
||||
// For example, if your replica service has a desiredCount of four tasks and
|
||||
// a maximumPercent value of 200%, the scheduler can start four new tasks before
|
||||
// stopping the four older tasks (provided that the cluster resources required
|
||||
// to do this are available). The default value for a replica service for maximumPercent
|
||||
// is 200%. If you are using a daemon service type, the maximumPercent should
|
||||
// remain at 100%, which is the default value.
|
||||
//
|
||||
// When the service scheduler launches new tasks, it determines task placement
|
||||
// in your cluster using the following logic:
|
||||
|
@ -203,11 +207,11 @@ func (c *ECS) CreateServiceRequest(input *CreateServiceInput) (req *request.Requ
|
|||
// Zones in this manner (although you can choose a different placement strategy)
|
||||
// with the placementStrategy parameter):
|
||||
//
|
||||
// Sort the valid container instances by the fewest number of running tasks
|
||||
// for this service in the same Availability Zone as the instance. For example,
|
||||
// if zone A has one running service task and zones B and C each have zero,
|
||||
// valid container instances in either zone B or C are considered optimal
|
||||
// for placement.
|
||||
// Sort the valid container instances, giving priority to instances that have
|
||||
// the fewest number of running tasks for this service in their respective
|
||||
// Availability Zone. For example, if zone A has one running service task
|
||||
// and zones B and C each have zero, valid container instances in either
|
||||
// zone B or C are considered optimal for placement.
|
||||
//
|
||||
// Place the new service task on a valid container instance in an optimal Availability
|
||||
// Zone (based on the previous steps), favoring container instances with
|
||||
|
@ -4201,6 +4205,8 @@ type ContainerDefinition struct {
|
|||
// the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container)
|
||||
// section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/)
|
||||
// and the --hostname option to docker run (https://docs.docker.com/engine/reference/run/).
|
||||
//
|
||||
// The hostname parameter is not supported if using the awsvpc networkMode.
|
||||
Hostname *string `locationName:"hostname" type:"string"`
|
||||
|
||||
// The image used to start a container. This string is passed directly to the
|
||||
|
@ -4707,12 +4713,12 @@ type ContainerInstance struct {
|
|||
RegisteredResources []*Resource `locationName:"registeredResources" type:"list"`
|
||||
|
||||
// For CPU and memory resource types, this parameter describes the remaining
|
||||
// CPU and memory on the that has not already been allocated to tasks (and is
|
||||
// therefore available for new tasks). For port resource types, this parameter
|
||||
// describes the ports that were reserved by the Amazon ECS container agent
|
||||
// (at instance registration time) and any task containers that have reserved
|
||||
// port mappings on the host (with the host or bridge network mode). Any port
|
||||
// that is not specified here is available for new tasks.
|
||||
// CPU and memory that has not already been allocated to tasks and is therefore
|
||||
// available for new tasks. For port resource types, this parameter describes
|
||||
// the ports that were reserved by the Amazon ECS container agent (at instance
|
||||
// registration time) and any task containers that have reserved port mappings
|
||||
// on the host (with the host or bridge network mode). Any port that is not
|
||||
// specified here is available for new tasks.
|
||||
RemainingResources []*Resource `locationName:"remainingResources" type:"list"`
|
||||
|
||||
// The number of tasks on the container instance that are in the RUNNING status.
|
||||
|
@ -5027,8 +5033,8 @@ func (s *CreateClusterOutput) SetCluster(v *Cluster) *CreateClusterOutput {
|
|||
type CreateServiceInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Unique, case-sensitive identifier you provide to ensure the idempotency of
|
||||
// the request. Up to 32 ASCII characters are allowed.
|
||||
// Unique, case-sensitive identifier that you provide to ensure the idempotency
|
||||
// of the request. Up to 32 ASCII characters are allowed.
|
||||
ClientToken *string `locationName:"clientToken" type:"string"`
|
||||
|
||||
// The short name or full Amazon Resource Name (ARN) of the cluster on which
|
||||
|
@ -5042,9 +5048,7 @@ type CreateServiceInput struct {
|
|||
|
||||
// The number of instantiations of the specified task definition to place and
|
||||
// keep running on your cluster.
|
||||
//
|
||||
// DesiredCount is a required field
|
||||
DesiredCount *int64 `locationName:"desiredCount" type:"integer" required:"true"`
|
||||
DesiredCount *int64 `locationName:"desiredCount" type:"integer"`
|
||||
|
||||
// The period of time, in seconds, that the Amazon ECS service scheduler should
|
||||
// ignore unhealthy Elastic Load Balancing target health checks after a task
|
||||
|
@ -5077,6 +5081,13 @@ type CreateServiceInput struct {
|
|||
// balancer. When a task from this service is placed on a container instance,
|
||||
// the container instance and port combination is registered as a target in
|
||||
// the target group specified here.
|
||||
//
|
||||
// Services with tasks that use the awsvpc network mode (for example, those
|
||||
// with the Fargate launch type) only support Application Load Balancers and
|
||||
// Network Load Balancers; Classic Load Balancers are not supported. Also, when
|
||||
// you create any target groups for these services, you must choose ip as the
|
||||
// target type, not instance, because tasks that use the awsvpc network mode
|
||||
// are associated with an elastic network interface, not an Amazon EC2 instance.
|
||||
LoadBalancers []*LoadBalancer `locationName:"loadBalancers" type:"list"`
|
||||
|
||||
// The network configuration for the service. This parameter is required for
|
||||
|
@ -5121,6 +5132,25 @@ type CreateServiceInput struct {
|
|||
// in the IAM User Guide.
|
||||
Role *string `locationName:"role" type:"string"`
|
||||
|
||||
// The scheduling strategy to use for the service. For more information, see
|
||||
// Services (http://docs.aws.amazon.com/AmazonECS/latest/developerguideecs_services.html).
|
||||
//
|
||||
// There are two service scheduler strategies available:
|
||||
//
|
||||
// * REPLICA-The replica scheduling strategy places and maintains the desired
|
||||
// number of tasks across your cluster. By default, the service scheduler
|
||||
// spreads tasks across Availability Zones. You can use task placement strategies
|
||||
// and constraints to customize task placement decisions.
|
||||
//
|
||||
// * DAEMON-The daemon scheduling strategy deploys exactly one task on each
|
||||
// active container instance that meets all of the task placement constraints
|
||||
// that you specify in your cluster. When using this strategy, there is no
|
||||
// need to specify a desired number of tasks, a task placement strategy,
|
||||
// or use Service Auto Scaling policies.
|
||||
//
|
||||
// Fargate tasks do not support the DAEMON scheduling strategy.
|
||||
SchedulingStrategy *string `locationName:"schedulingStrategy" type:"string" enum:"SchedulingStrategy"`
|
||||
|
||||
// The name of your service. Up to 255 letters (uppercase and lowercase), numbers,
|
||||
// hyphens, and underscores are allowed. Service names must be unique within
|
||||
// a cluster, but you can have similarly named services in multiple clusters
|
||||
|
@ -5130,7 +5160,11 @@ type CreateServiceInput struct {
|
|||
ServiceName *string `locationName:"serviceName" type:"string" required:"true"`
|
||||
|
||||
// The details of the service discovery registries you want to assign to this
|
||||
// service. For more information, see Service Discovery (http://docs.aws.amazon.com/AmazonECS/latest/developerguideservice-discovery.html).
|
||||
// service. For more information, see Service Discovery (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html).
|
||||
//
|
||||
// Service discovery is supported for Fargate tasks if using platform version
|
||||
// v1.1.0 or later. For more information, see AWS Fargate Platform Versions
|
||||
// (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
|
||||
ServiceRegistries []*ServiceRegistry `locationName:"serviceRegistries" type:"list"`
|
||||
|
||||
// The family and revision (family:revision) or full ARN of the task definition
|
||||
|
@ -5154,9 +5188,6 @@ func (s CreateServiceInput) GoString() string {
|
|||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *CreateServiceInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "CreateServiceInput"}
|
||||
if s.DesiredCount == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("DesiredCount"))
|
||||
}
|
||||
if s.ServiceName == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("ServiceName"))
|
||||
}
|
||||
|
@ -5247,6 +5278,12 @@ func (s *CreateServiceInput) SetRole(v string) *CreateServiceInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetSchedulingStrategy sets the SchedulingStrategy field's value.
|
||||
func (s *CreateServiceInput) SetSchedulingStrategy(v string) *CreateServiceInput {
|
||||
s.SchedulingStrategy = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetServiceName sets the ServiceName field's value.
|
||||
func (s *CreateServiceInput) SetServiceName(v string) *CreateServiceInput {
|
||||
s.ServiceName = &v
|
||||
|
@ -5442,6 +5479,11 @@ type DeleteServiceInput struct {
|
|||
// is assumed.
|
||||
Cluster *string `locationName:"cluster" type:"string"`
|
||||
|
||||
// If true, allows you to delete a service even if it has not been scaled down
|
||||
// to zero tasks. It is only necessary to use this if the service is using the
|
||||
// REPLICA scheduling strategy.
|
||||
Force *bool `locationName:"force" type:"boolean"`
|
||||
|
||||
// The name of the service to delete.
|
||||
//
|
||||
// Service is a required field
|
||||
|
@ -5477,6 +5519,12 @@ func (s *DeleteServiceInput) SetCluster(v string) *DeleteServiceInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetForce sets the Force field's value.
|
||||
func (s *DeleteServiceInput) SetForce(v bool) *DeleteServiceInput {
|
||||
s.Force = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetService sets the Service field's value.
|
||||
func (s *DeleteServiceInput) SetService(v string) *DeleteServiceInput {
|
||||
s.Service = &v
|
||||
|
@ -5914,7 +5962,8 @@ type DescribeContainerInstancesInput struct {
|
|||
// default cluster is assumed.
|
||||
Cluster *string `locationName:"cluster" type:"string"`
|
||||
|
||||
// A list of container instance IDs or full ARN entries.
|
||||
// A list of up to 100 container instance IDs or full Amazon Resource Name (ARN)
|
||||
// entries.
|
||||
//
|
||||
// ContainerInstances is a required field
|
||||
ContainerInstances []*string `locationName:"containerInstances" type:"list" required:"true"`
|
||||
|
@ -6689,12 +6738,18 @@ type LinuxParameters struct {
|
|||
// command: sudo docker version | grep "Server API version"
|
||||
InitProcessEnabled *bool `locationName:"initProcessEnabled" type:"boolean"`
|
||||
|
||||
// The value for the size of the /dev/shm volume. This parameter maps to the
|
||||
// --shm-size option to docker run (https://docs.docker.com/engine/reference/run/).
|
||||
// The value for the size (in MiB) of the /dev/shm volume. This parameter maps
|
||||
// to the --shm-size option to docker run (https://docs.docker.com/engine/reference/run/).
|
||||
//
|
||||
// If you are using tasks that use the Fargate launch type, the sharedMemorySize
|
||||
// parameter is not supported.
|
||||
SharedMemorySize *int64 `locationName:"sharedMemorySize" type:"integer"`
|
||||
|
||||
// The container path, mount options, and size of the tmpfs mount. This parameter
|
||||
// maps to the --tmpfs option to docker run (https://docs.docker.com/engine/reference/run/).
|
||||
// The container path, mount options, and size (in MiB) of the tmpfs mount.
|
||||
// This parameter maps to the --tmpfs option to docker run (https://docs.docker.com/engine/reference/run/).
|
||||
//
|
||||
// If you are using tasks that use the Fargate launch type, the tmpfs parameter
|
||||
// is not supported.
|
||||
Tmpfs []*Tmpfs `locationName:"tmpfs" type:"list"`
|
||||
}
|
||||
|
||||
|
@ -7125,6 +7180,9 @@ type ListServicesInput struct {
|
|||
// This token should be treated as an opaque identifier that is only used to
|
||||
// retrieve the next items in a list and not for other programmatic purposes.
|
||||
NextToken *string `locationName:"nextToken" type:"string"`
|
||||
|
||||
// The scheduling strategy for services to list.
|
||||
SchedulingStrategy *string `locationName:"schedulingStrategy" type:"string" enum:"SchedulingStrategy"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
|
@ -7161,6 +7219,12 @@ func (s *ListServicesInput) SetNextToken(v string) *ListServicesInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetSchedulingStrategy sets the SchedulingStrategy field's value.
|
||||
func (s *ListServicesInput) SetSchedulingStrategy(v string) *ListServicesInput {
|
||||
s.SchedulingStrategy = &v
|
||||
return s
|
||||
}
|
||||
|
||||
type ListServicesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7581,6 +7645,13 @@ func (s *ListTasksOutput) SetTaskArns(v []*string) *ListTasksOutput {
|
|||
}
|
||||
|
||||
// Details on a load balancer that is used with a service.
|
||||
//
|
||||
// Services with tasks that use the awsvpc network mode (for example, those
|
||||
// with the Fargate launch type) only support Application Load Balancers and
|
||||
// Network Load Balancers; Classic Load Balancers are not supported. Also, when
|
||||
// you create any target groups for these services, you must choose ip as the
|
||||
// target type, not instance, because tasks that use the awsvpc network mode
|
||||
// are associated with an elastic network interface, not an Amazon EC2 instance.
|
||||
type LoadBalancer struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7599,6 +7670,11 @@ type LoadBalancer struct {
|
|||
|
||||
// The full Amazon Resource Name (ARN) of the Elastic Load Balancing target
|
||||
// group associated with a service.
|
||||
//
|
||||
// If your service's task definition uses the awsvpc network mode (which is
|
||||
// required for the Fargate launch type), you must choose ip as the target type,
|
||||
// not instance, because tasks that use the awsvpc network mode are associated
|
||||
// with an elastic network interface, not an Amazon EC2 instance.
|
||||
TargetGroupArn *string `locationName:"targetGroupArn" type:"string"`
|
||||
}
|
||||
|
||||
|
@ -8542,7 +8618,8 @@ type Resource struct {
|
|||
// precision floating-point type.
|
||||
LongValue *int64 `locationName:"longValue" type:"long"`
|
||||
|
||||
// The name of the resource, such as cpu, memory, ports, or a user-defined resource.
|
||||
// The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined
|
||||
// resource.
|
||||
Name *string `locationName:"name" type:"string"`
|
||||
|
||||
// When the stringSetValue type is set, the value of the resource must be a
|
||||
|
@ -8832,6 +8909,13 @@ type Service struct {
|
|||
// A list of Elastic Load Balancing load balancer objects, containing the load
|
||||
// balancer name, the container name (as it appears in a container definition),
|
||||
// and the container port to access from the load balancer.
|
||||
//
|
||||
// Services with tasks that use the awsvpc network mode (for example, those
|
||||
// with the Fargate launch type) only support Application Load Balancers and
|
||||
// Network Load Balancers; Classic Load Balancers are not supported. Also, when
|
||||
// you create any target groups for these services, you must choose ip as the
|
||||
// target type, not instance, because tasks that use the awsvpc network mode
|
||||
// are associated with an elastic network interface, not an Amazon EC2 instance.
|
||||
LoadBalancers []*LoadBalancer `locationName:"loadBalancers" type:"list"`
|
||||
|
||||
// The VPC subnet and security group configuration for tasks that receive their
|
||||
|
@ -8860,6 +8944,23 @@ type Service struct {
|
|||
// The number of tasks in the cluster that are in the RUNNING state.
|
||||
RunningCount *int64 `locationName:"runningCount" type:"integer"`
|
||||
|
||||
// The scheduling strategy to use for the service. For more information, see
|
||||
// Services (http://docs.aws.amazon.com/AmazonECS/latest/developerguideecs_services.html).
|
||||
//
|
||||
// There are two service scheduler strategies available:
|
||||
//
|
||||
// * REPLICA-The replica scheduling strategy places and maintains the desired
|
||||
// number of tasks across your cluster. By default, the service scheduler
|
||||
// spreads tasks across Availability Zones. You can use task placement strategies
|
||||
// and constraints to customize task placement decisions.
|
||||
//
|
||||
// * DAEMON-The daemon scheduling strategy deploys exactly one task on each
|
||||
// container instance in your cluster. When using this strategy, do not specify
|
||||
// a desired number of tasks or any task placement strategies.
|
||||
//
|
||||
// Fargate tasks do not support the DAEMON scheduling strategy.
|
||||
SchedulingStrategy *string `locationName:"schedulingStrategy" type:"string" enum:"SchedulingStrategy"`
|
||||
|
||||
// The ARN that identifies the service. The ARN contains the arn:aws:ecs namespace,
|
||||
// followed by the region of the service, the AWS account ID of the service
|
||||
// owner, the service namespace, and then the service name. For example, arn:aws:ecs:region:012345678910:service/my-service.
|
||||
|
@ -8988,6 +9089,12 @@ func (s *Service) SetRunningCount(v int64) *Service {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetSchedulingStrategy sets the SchedulingStrategy field's value.
|
||||
func (s *Service) SetSchedulingStrategy(v string) *Service {
|
||||
s.SchedulingStrategy = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetServiceArn sets the ServiceArn field's value.
|
||||
func (s *Service) SetServiceArn(v string) *Service {
|
||||
s.ServiceArn = &v
|
||||
|
@ -9064,12 +9171,32 @@ func (s *ServiceEvent) SetMessage(v string) *ServiceEvent {
|
|||
type ServiceRegistry struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The port value used if your Service Discovery service specified an SRV record.
|
||||
// The container name value, already specified in the task definition, to be
|
||||
// used for your service discovery service. If the task definition that your
|
||||
// service task specifies uses the bridge or host network mode, you must specify
|
||||
// a containerName and containerPort combination from the task definition. If
|
||||
// the task definition that your service task specifies uses the awsvpc network
|
||||
// mode and a type SRV DNS record is used, you must specify either a containerName
|
||||
// and containerPort combination or a port value, but not both.
|
||||
ContainerName *string `locationName:"containerName" type:"string"`
|
||||
|
||||
// The port value, already specified in the task definition, to be used for
|
||||
// your service discovery service. If the task definition your service task
|
||||
// specifies uses the bridge or host network mode, you must specify a containerName
|
||||
// and containerPort combination from the task definition. If the task definition
|
||||
// your service task specifies uses the awsvpc network mode and a type SRV DNS
|
||||
// record is used, you must specify either a containerName and containerPort
|
||||
// combination or a port value, but not both.
|
||||
ContainerPort *int64 `locationName:"containerPort" type:"integer"`
|
||||
|
||||
// The port value used if your service discovery service specified an SRV record.
|
||||
// This field is required if both the awsvpc network mode and SRV records are
|
||||
// used.
|
||||
Port *int64 `locationName:"port" type:"integer"`
|
||||
|
||||
// The Amazon Resource Name (ARN) of the Service Registry. The currently supported
|
||||
// service registry is Amazon Route 53 Auto Naming Service. For more information,
|
||||
// see Service (https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html).
|
||||
// The Amazon Resource Name (ARN) of the service registry. The currently supported
|
||||
// service registry is Amazon Route 53 Auto Naming. For more information, see
|
||||
// Service (https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html).
|
||||
RegistryArn *string `locationName:"registryArn" type:"string"`
|
||||
}
|
||||
|
||||
|
@ -9083,6 +9210,18 @@ func (s ServiceRegistry) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// SetContainerName sets the ContainerName field's value.
|
||||
func (s *ServiceRegistry) SetContainerName(v string) *ServiceRegistry {
|
||||
s.ContainerName = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetContainerPort sets the ContainerPort field's value.
|
||||
func (s *ServiceRegistry) SetContainerPort(v int64) *ServiceRegistry {
|
||||
s.ContainerPort = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetPort sets the Port field's value.
|
||||
func (s *ServiceRegistry) SetPort(v int64) *ServiceRegistry {
|
||||
s.Port = &v
|
||||
|
@ -10261,7 +10400,7 @@ type Tmpfs struct {
|
|||
// | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime"
|
||||
MountOptions []*string `locationName:"mountOptions" type:"list"`
|
||||
|
||||
// The size of the tmpfs volume.
|
||||
// The size (in MiB) of the tmpfs volume.
|
||||
//
|
||||
// Size is a required field
|
||||
Size *int64 `locationName:"size" type:"integer" required:"true"`
|
||||
|
@ -10991,6 +11130,14 @@ const (
|
|||
PlacementStrategyTypeBinpack = "binpack"
|
||||
)
|
||||
|
||||
const (
|
||||
// SchedulingStrategyReplica is a SchedulingStrategy enum value
|
||||
SchedulingStrategyReplica = "REPLICA"
|
||||
|
||||
// SchedulingStrategyDaemon is a SchedulingStrategy enum value
|
||||
SchedulingStrategyDaemon = "DAEMON"
|
||||
)
|
||||
|
||||
const (
|
||||
// SortOrderAsc is a SortOrder enum value
|
||||
SortOrderAsc = "ASC"
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/ecs/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/ecs/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "ecs" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "ecs" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "ECS" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ECS client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/service/efs/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/efs/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "elasticfilesystem" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "elasticfilesystem" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "EFS" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the EFS client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
1012
vendor/github.com/aws/aws-sdk-go/service/eks/api.go
generated
vendored
Normal file
1012
vendor/github.com/aws/aws-sdk-go/service/eks/api.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
54
vendor/github.com/aws/aws-sdk-go/service/eks/doc.go
generated
vendored
Normal file
54
vendor/github.com/aws/aws-sdk-go/service/eks/doc.go
generated
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package eks provides the client and types for making API
|
||||
// requests to Amazon Elastic Container Service for Kubernetes.
|
||||
//
|
||||
// Amazon Elastic Container Service for Kubernetes (Amazon EKS) is a managed
|
||||
// service that makes it easy for you to run Kubernetes on AWS without needing
|
||||
// to stand up or maintain your own Kubernetes control plane. Kubernetes is
|
||||
// an open-source system for automating the deployment, scaling, and management
|
||||
// of containerized applications.
|
||||
//
|
||||
// Amazon EKS runs three Kubernetes control plane instances across three Availability
|
||||
// Zones to ensure high availability. Amazon EKS automatically detects and replaces
|
||||
// unhealthy control plane instances, and it provides automated version upgrades
|
||||
// and patching for them.
|
||||
//
|
||||
// Amazon EKS is also integrated with many AWS services to provide scalability
|
||||
// and security for your applications, including the following:
|
||||
//
|
||||
// * Elastic Load Balancing for load distribution
|
||||
//
|
||||
// * IAM for authentication
|
||||
//
|
||||
// * Amazon VPC for isolation
|
||||
//
|
||||
// Amazon EKS runs up to date versions of the open-source Kubernetes software,
|
||||
// so you can use all the existing plugins and tooling from the Kubernetes community.
|
||||
// Applications running on Amazon EKS are fully compatible with applications
|
||||
// running on any standard Kubernetes environment, whether running in on-premises
|
||||
// data centers or public clouds. This means that you can easily migrate any
|
||||
// standard Kubernetes application to Amazon EKS without any code modification
|
||||
// required.
|
||||
//
|
||||
// See https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01 for more information on this service.
|
||||
//
|
||||
// See eks package documentation for more information.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/eks/
|
||||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To contact Amazon Elastic Container Service for Kubernetes with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon Elastic Container Service for Kubernetes client EKS for more
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/eks/#New
|
||||
package eks
|
80
vendor/github.com/aws/aws-sdk-go/service/eks/eksiface/interface.go
generated
vendored
Normal file
80
vendor/github.com/aws/aws-sdk-go/service/eks/eksiface/interface.go
generated
vendored
Normal file
|
@ -0,0 +1,80 @@
|
|||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package eksiface provides an interface to enable mocking the Amazon Elastic Container Service for Kubernetes service client
|
||||
// for testing your code.
|
||||
//
|
||||
// It is important to note that this interface will have breaking changes
|
||||
// when the service model is updated and adds new API operations, paginators,
|
||||
// and waiters.
|
||||
package eksiface
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/service/eks"
|
||||
)
|
||||
|
||||
// EKSAPI provides an interface to enable mocking the
|
||||
// eks.EKS service client's API operation,
|
||||
// paginators, and waiters. This make unit testing your code that calls out
|
||||
// to the SDK's service client's calls easier.
|
||||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon Elastic Container Service for Kubernetes.
|
||||
// func myFunc(svc eksiface.EKSAPI) bool {
|
||||
// // Make svc.CreateCluster request
|
||||
// }
|
||||
//
|
||||
// func main() {
|
||||
// sess := session.New()
|
||||
// svc := eks.New(sess)
|
||||
//
|
||||
// myFunc(svc)
|
||||
// }
|
||||
//
|
||||
// In your _test.go file:
|
||||
//
|
||||
// // Define a mock struct to be used in your unit tests of myFunc.
|
||||
// type mockEKSClient struct {
|
||||
// eksiface.EKSAPI
|
||||
// }
|
||||
// func (m *mockEKSClient) CreateCluster(input *eks.CreateClusterInput) (*eks.CreateClusterOutput, error) {
|
||||
// // mock response/functionality
|
||||
// }
|
||||
//
|
||||
// func TestMyFunc(t *testing.T) {
|
||||
// // Setup Test
|
||||
// mockSvc := &mockEKSClient{}
|
||||
//
|
||||
// myfunc(mockSvc)
|
||||
//
|
||||
// // Verify myFunc's functionality
|
||||
// }
|
||||
//
|
||||
// It is important to note that this interface will have breaking changes
|
||||
// when the service model is updated and adds new API operations, paginators,
|
||||
// and waiters. Its suggested to use the pattern above for testing, or using
|
||||
// tooling to generate mocks to satisfy the interfaces.
|
||||
type EKSAPI interface {
|
||||
CreateCluster(*eks.CreateClusterInput) (*eks.CreateClusterOutput, error)
|
||||
CreateClusterWithContext(aws.Context, *eks.CreateClusterInput, ...request.Option) (*eks.CreateClusterOutput, error)
|
||||
CreateClusterRequest(*eks.CreateClusterInput) (*request.Request, *eks.CreateClusterOutput)
|
||||
|
||||
DeleteCluster(*eks.DeleteClusterInput) (*eks.DeleteClusterOutput, error)
|
||||
DeleteClusterWithContext(aws.Context, *eks.DeleteClusterInput, ...request.Option) (*eks.DeleteClusterOutput, error)
|
||||
DeleteClusterRequest(*eks.DeleteClusterInput) (*request.Request, *eks.DeleteClusterOutput)
|
||||
|
||||
DescribeCluster(*eks.DescribeClusterInput) (*eks.DescribeClusterOutput, error)
|
||||
DescribeClusterWithContext(aws.Context, *eks.DescribeClusterInput, ...request.Option) (*eks.DescribeClusterOutput, error)
|
||||
DescribeClusterRequest(*eks.DescribeClusterInput) (*request.Request, *eks.DescribeClusterOutput)
|
||||
|
||||
ListClusters(*eks.ListClustersInput) (*eks.ListClustersOutput, error)
|
||||
ListClustersWithContext(aws.Context, *eks.ListClustersInput, ...request.Option) (*eks.ListClustersOutput, error)
|
||||
ListClustersRequest(*eks.ListClustersInput) (*request.Request, *eks.ListClustersOutput)
|
||||
}
|
||||
|
||||
var _ EKSAPI = (*eks.EKS)(nil)
|
61
vendor/github.com/aws/aws-sdk-go/service/eks/errors.go
generated
vendored
Normal file
61
vendor/github.com/aws/aws-sdk-go/service/eks/errors.go
generated
vendored
Normal file
|
@ -0,0 +1,61 @@
|
|||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package eks
|
||||
|
||||
const (
|
||||
|
||||
// ErrCodeClientException for service response error code
|
||||
// "ClientException".
|
||||
//
|
||||
// These errors are usually caused by a client action, such as using an action
|
||||
// or resource on behalf of a user that doesn't have permissions to use the
|
||||
// action or resource, or specifying an identifier that is not valid.
|
||||
ErrCodeClientException = "ClientException"
|
||||
|
||||
// ErrCodeInvalidParameterException for service response error code
|
||||
// "InvalidParameterException".
|
||||
//
|
||||
// The specified parameter is invalid. Review the available parameters for the
|
||||
// API request.
|
||||
ErrCodeInvalidParameterException = "InvalidParameterException"
|
||||
|
||||
// ErrCodeResourceInUseException for service response error code
|
||||
// "ResourceInUseException".
|
||||
//
|
||||
// The specified resource is in use.
|
||||
ErrCodeResourceInUseException = "ResourceInUseException"
|
||||
|
||||
// ErrCodeResourceLimitExceededException for service response error code
|
||||
// "ResourceLimitExceededException".
|
||||
//
|
||||
// You have encountered a service limit on the specified resource.
|
||||
ErrCodeResourceLimitExceededException = "ResourceLimitExceededException"
|
||||
|
||||
// ErrCodeResourceNotFoundException for service response error code
|
||||
// "ResourceNotFoundException".
|
||||
//
|
||||
// The specified resource could not be found. You can view your available clusters
|
||||
// with ListClusters. Amazon EKS clusters are region-specific.
|
||||
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
|
||||
|
||||
// ErrCodeServerException for service response error code
|
||||
// "ServerException".
|
||||
//
|
||||
// These errors are usually caused by a server-side issue.
|
||||
ErrCodeServerException = "ServerException"
|
||||
|
||||
// ErrCodeServiceUnavailableException for service response error code
|
||||
// "ServiceUnavailableException".
|
||||
//
|
||||
// The service is unavailable, back off and retry the operation.
|
||||
ErrCodeServiceUnavailableException = "ServiceUnavailableException"
|
||||
|
||||
// ErrCodeUnsupportedAvailabilityZoneException for service response error code
|
||||
// "UnsupportedAvailabilityZoneException".
|
||||
//
|
||||
// At least one of your specified cluster subnets is in an Availability Zone
|
||||
// that does not support Amazon EKS. The exception output will specify the supported
|
||||
// Availability Zones for your account, from which you can choose subnets for
|
||||
// your cluster.
|
||||
ErrCodeUnsupportedAvailabilityZoneException = "UnsupportedAvailabilityZoneException"
|
||||
)
|
185
vendor/github.com/aws/aws-sdk-go/service/eks/examples_test.go
generated
vendored
Normal file
185
vendor/github.com/aws/aws-sdk-go/service/eks/examples_test.go
generated
vendored
Normal file
|
@ -0,0 +1,185 @@
|
|||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package eks_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||
"github.com/aws/aws-sdk-go/aws/session"
|
||||
"github.com/aws/aws-sdk-go/service/eks"
|
||||
)
|
||||
|
||||
var _ time.Duration
|
||||
var _ strings.Reader
|
||||
var _ aws.Config
|
||||
|
||||
func parseTime(layout, value string) *time.Time {
|
||||
t, err := time.Parse(layout, value)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
return &t
|
||||
}
|
||||
|
||||
// To create a new cluster
|
||||
//
|
||||
// The following example creates an Amazon EKS cluster called prod.
|
||||
func ExampleEKS_CreateCluster_shared00() {
|
||||
svc := eks.New(session.New())
|
||||
input := &eks.CreateClusterInput{
|
||||
ClientRequestToken: aws.String("1d2129a1-3d38-460a-9756-e5b91fddb951"),
|
||||
Name: aws.String("prod"),
|
||||
ResourcesVpcConfig: &eks.VpcConfigRequest{
|
||||
SecurityGroupIds: []*string{
|
||||
aws.String("sg-6979fe18"),
|
||||
},
|
||||
SubnetIds: []*string{
|
||||
aws.String("subnet-6782e71e"),
|
||||
aws.String("subnet-e7e761ac"),
|
||||
},
|
||||
},
|
||||
RoleArn: aws.String("arn:aws:iam::012345678910:role/eks-service-role-AWSServiceRoleForAmazonEKS-J7ONKE3BQ4PI"),
|
||||
Version: aws.String("1.10"),
|
||||
}
|
||||
|
||||
result, err := svc.CreateCluster(input)
|
||||
if err != nil {
|
||||
if aerr, ok := err.(awserr.Error); ok {
|
||||
switch aerr.Code() {
|
||||
case eks.ErrCodeResourceInUseException:
|
||||
fmt.Println(eks.ErrCodeResourceInUseException, aerr.Error())
|
||||
case eks.ErrCodeResourceLimitExceededException:
|
||||
fmt.Println(eks.ErrCodeResourceLimitExceededException, aerr.Error())
|
||||
case eks.ErrCodeInvalidParameterException:
|
||||
fmt.Println(eks.ErrCodeInvalidParameterException, aerr.Error())
|
||||
case eks.ErrCodeClientException:
|
||||
fmt.Println(eks.ErrCodeClientException, aerr.Error())
|
||||
case eks.ErrCodeServerException:
|
||||
fmt.Println(eks.ErrCodeServerException, aerr.Error())
|
||||
case eks.ErrCodeServiceUnavailableException:
|
||||
fmt.Println(eks.ErrCodeServiceUnavailableException, aerr.Error())
|
||||
case eks.ErrCodeUnsupportedAvailabilityZoneException:
|
||||
fmt.Println(eks.ErrCodeUnsupportedAvailabilityZoneException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
} else {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Println(result)
|
||||
}
|
||||
|
||||
// To delete a cluster
|
||||
//
|
||||
// This example command deletes a cluster named `devel` in your default region.
|
||||
func ExampleEKS_DeleteCluster_shared00() {
|
||||
svc := eks.New(session.New())
|
||||
input := &eks.DeleteClusterInput{
|
||||
Name: aws.String("devel"),
|
||||
}
|
||||
|
||||
result, err := svc.DeleteCluster(input)
|
||||
if err != nil {
|
||||
if aerr, ok := err.(awserr.Error); ok {
|
||||
switch aerr.Code() {
|
||||
case eks.ErrCodeResourceInUseException:
|
||||
fmt.Println(eks.ErrCodeResourceInUseException, aerr.Error())
|
||||
case eks.ErrCodeResourceNotFoundException:
|
||||
fmt.Println(eks.ErrCodeResourceNotFoundException, aerr.Error())
|
||||
case eks.ErrCodeClientException:
|
||||
fmt.Println(eks.ErrCodeClientException, aerr.Error())
|
||||
case eks.ErrCodeServerException:
|
||||
fmt.Println(eks.ErrCodeServerException, aerr.Error())
|
||||
case eks.ErrCodeServiceUnavailableException:
|
||||
fmt.Println(eks.ErrCodeServiceUnavailableException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
} else {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Println(result)
|
||||
}
|
||||
|
||||
// To describe a cluster
|
||||
//
|
||||
// This example command provides a description of the specified cluster in your default
|
||||
// region.
|
||||
func ExampleEKS_DescribeCluster_shared00() {
|
||||
svc := eks.New(session.New())
|
||||
input := &eks.DescribeClusterInput{
|
||||
Name: aws.String("devel"),
|
||||
}
|
||||
|
||||
result, err := svc.DescribeCluster(input)
|
||||
if err != nil {
|
||||
if aerr, ok := err.(awserr.Error); ok {
|
||||
switch aerr.Code() {
|
||||
case eks.ErrCodeResourceNotFoundException:
|
||||
fmt.Println(eks.ErrCodeResourceNotFoundException, aerr.Error())
|
||||
case eks.ErrCodeClientException:
|
||||
fmt.Println(eks.ErrCodeClientException, aerr.Error())
|
||||
case eks.ErrCodeServerException:
|
||||
fmt.Println(eks.ErrCodeServerException, aerr.Error())
|
||||
case eks.ErrCodeServiceUnavailableException:
|
||||
fmt.Println(eks.ErrCodeServiceUnavailableException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
} else {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Println(result)
|
||||
}
|
||||
|
||||
// To list your available clusters
|
||||
//
|
||||
// This example command lists all of your available clusters in your default region.
|
||||
func ExampleEKS_ListClusters_shared00() {
|
||||
svc := eks.New(session.New())
|
||||
input := &eks.ListClustersInput{}
|
||||
|
||||
result, err := svc.ListClusters(input)
|
||||
if err != nil {
|
||||
if aerr, ok := err.(awserr.Error); ok {
|
||||
switch aerr.Code() {
|
||||
case eks.ErrCodeInvalidParameterException:
|
||||
fmt.Println(eks.ErrCodeInvalidParameterException, aerr.Error())
|
||||
case eks.ErrCodeClientException:
|
||||
fmt.Println(eks.ErrCodeClientException, aerr.Error())
|
||||
case eks.ErrCodeServerException:
|
||||
fmt.Println(eks.ErrCodeServerException, aerr.Error())
|
||||
case eks.ErrCodeServiceUnavailableException:
|
||||
fmt.Println(eks.ErrCodeServiceUnavailableException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
} else {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Println(result)
|
||||
}
|
99
vendor/github.com/aws/aws-sdk-go/service/eks/service.go
generated
vendored
Normal file
99
vendor/github.com/aws/aws-sdk-go/service/eks/service.go
generated
vendored
Normal file
|
@ -0,0 +1,99 @@
|
|||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package eks
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/client"
|
||||
"github.com/aws/aws-sdk-go/aws/client/metadata"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/aws/signer/v4"
|
||||
"github.com/aws/aws-sdk-go/private/protocol/restjson"
|
||||
)
|
||||
|
||||
// EKS provides the API operation methods for making requests to
|
||||
// Amazon Elastic Container Service for Kubernetes. See this package's package overview docs
|
||||
// for details on the service.
|
||||
//
|
||||
// EKS methods are safe to use concurrently. It is not safe to
|
||||
// modify mutate any of the struct's properties though.
|
||||
type EKS struct {
|
||||
*client.Client
|
||||
}
|
||||
|
||||
// Used for custom client initialization logic
|
||||
var initClient func(*client.Client)
|
||||
|
||||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "eks" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "EKS" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the EKS client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
// aws.Config parameter to add your extra config.
|
||||
//
|
||||
// Example:
|
||||
// // Create a EKS client from just a session.
|
||||
// svc := eks.New(mySession)
|
||||
//
|
||||
// // Create a EKS client with additional configuration
|
||||
// svc := eks.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *EKS {
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
if c.SigningNameDerived || len(c.SigningName) == 0 {
|
||||
c.SigningName = "eks"
|
||||
}
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
// newClient creates, initializes and returns a new service client instance.
|
||||
func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *EKS {
|
||||
svc := &EKS{
|
||||
Client: client.New(
|
||||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
APIVersion: "2017-11-01",
|
||||
JSONVersion: "1.1",
|
||||
},
|
||||
handlers,
|
||||
),
|
||||
}
|
||||
|
||||
// Handlers
|
||||
svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler)
|
||||
svc.Handlers.Build.PushBackNamed(restjson.BuildHandler)
|
||||
svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler)
|
||||
svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler)
|
||||
svc.Handlers.UnmarshalError.PushBackNamed(restjson.UnmarshalErrorHandler)
|
||||
|
||||
// Run custom client initialization if present
|
||||
if initClient != nil {
|
||||
initClient(svc.Client)
|
||||
}
|
||||
|
||||
return svc
|
||||
}
|
||||
|
||||
// newRequest creates a new request for a EKS operation and runs any
|
||||
// custom request initialization.
|
||||
func (c *EKS) newRequest(op *request.Operation, params, data interface{}) *request.Request {
|
||||
req := c.NewRequest(op, params, data)
|
||||
|
||||
// Run custom request initialization if present
|
||||
if initRequest != nil {
|
||||
initRequest(req)
|
||||
}
|
||||
|
||||
return req
|
||||
}
|
6
vendor/github.com/aws/aws-sdk-go/service/elasticache/service.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/elasticache/service.go
generated
vendored
|
@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
|||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "elasticache" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "elasticache" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "ElastiCache" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ElastiCache client with a session.
|
||||
|
@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
|
68
vendor/github.com/aws/aws-sdk-go/service/elasticbeanstalk/api.go
generated
vendored
68
vendor/github.com/aws/aws-sdk-go/service/elasticbeanstalk/api.go
generated
vendored
|
@ -152,7 +152,7 @@ func (c *ElasticBeanstalk) ApplyEnvironmentManagedActionRequest(input *ApplyEnvi
|
|||
// API operation ApplyEnvironmentManagedAction for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServiceException "ServiceException"
|
||||
// * ErrCodeServiceException "ElasticBeanstalkServiceException"
|
||||
// A generic service exception has occurred.
|
||||
//
|
||||
// * ErrCodeManagedActionInvalidStateException "ManagedActionInvalidStateException"
|
||||
|
@ -776,7 +776,7 @@ func (c *ElasticBeanstalk) CreatePlatformVersionRequest(input *CreatePlatformVer
|
|||
// The specified account does not have sufficient privileges for one or more
|
||||
// AWS services.
|
||||
//
|
||||
// * ErrCodeServiceException "ServiceException"
|
||||
// * ErrCodeServiceException "ElasticBeanstalkServiceException"
|
||||
// A generic service exception has occurred.
|
||||
//
|
||||
// * ErrCodeTooManyPlatformsException "TooManyPlatformsException"
|
||||
|
@ -1315,7 +1315,7 @@ func (c *ElasticBeanstalk) DeletePlatformVersionRequest(input *DeletePlatformVer
|
|||
// The specified account does not have sufficient privileges for one or more
|
||||
// AWS services.
|
||||
//
|
||||
// * ErrCodeServiceException "ServiceException"
|
||||
// * ErrCodeServiceException "ElasticBeanstalkServiceException"
|
||||
// A generic service exception has occurred.
|
||||
//
|
||||
// * ErrCodePlatformVersionStillReferencedException "PlatformVersionStillReferencedException"
|
||||
|
@ -1809,7 +1809,7 @@ func (c *ElasticBeanstalk) DescribeEnvironmentHealthRequest(input *DescribeEnvir
|
|||
// One or more input parameters is not valid. Please correct the input parameters
|
||||
// and try the operation again.
|
||||
//
|
||||
// * ErrCodeServiceException "ServiceException"
|
||||
// * ErrCodeServiceException "ElasticBeanstalkServiceException"
|
||||
// A generic service exception has occurred.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentHealth
|
||||
|
@ -1888,7 +1888,7 @@ func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionHistoryRequest(input
|
|||
// API operation DescribeEnvironmentManagedActionHistory for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServiceException "ServiceException"
|
||||
// * ErrCodeServiceException "ElasticBeanstalkServiceException"
|
||||
// A generic service exception has occurred.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionHistory
|
||||
|
@ -1967,7 +1967,7 @@ func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionsRequest(input *Descr
|
|||
// API operation DescribeEnvironmentManagedActions for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeServiceException "ServiceException"
|
||||
// * ErrCodeServiceException "ElasticBeanstalkServiceException"
|
||||
// A generic service exception has occurred.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActions
|
||||
|
@ -2322,8 +2322,8 @@ func (c *ElasticBeanstalk) DescribeInstancesHealthRequest(input *DescribeInstanc
|
|||
|
||||
// DescribeInstancesHealth API operation for AWS Elastic Beanstalk.
|
||||
//
|
||||
// Retrives detailed information about the health of instances in your AWS Elastic
|
||||
// Beanstalk. This operation requires enhanced health reporting (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced.html).
|
||||
// Retrieves detailed information about the health of instances in your AWS
|
||||
// Elastic Beanstalk. This operation requires enhanced health reporting (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced.html).
|
||||
//
|
||||
// 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
|
||||
|
@ -2337,7 +2337,7 @@ func (c *ElasticBeanstalk) DescribeInstancesHealthRequest(input *DescribeInstanc
|
|||
// One or more input parameters is not valid. Please correct the input parameters
|
||||
// and try the operation again.
|
||||
//
|
||||
// * ErrCodeServiceException "ServiceException"
|
||||
// * ErrCodeServiceException "ElasticBeanstalkServiceException"
|
||||
// A generic service exception has occurred.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeInstancesHealth
|
||||
|
@ -2420,7 +2420,7 @@ func (c *ElasticBeanstalk) DescribePlatformVersionRequest(input *DescribePlatfor
|
|||
// The specified account does not have sufficient privileges for one or more
|
||||
// AWS services.
|
||||
//
|
||||
// * ErrCodeServiceException "ServiceException"
|
||||
// * ErrCodeServiceException "ElasticBeanstalkServiceException"
|
||||
// A generic service exception has occurred.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribePlatformVersion
|
||||
|
@ -2578,7 +2578,7 @@ func (c *ElasticBeanstalk) ListPlatformVersionsRequest(input *ListPlatformVersio
|
|||
// The specified account does not have sufficient privileges for one or more
|
||||
// AWS services.
|
||||
//
|
||||
// * ErrCodeServiceException "ServiceException"
|
||||
// * ErrCodeServiceException "ElasticBeanstalkServiceException"
|
||||
// A generic service exception has occurred.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformVersions
|
||||
|
@ -4039,6 +4039,14 @@ type ApplicationResourceLifecycleConfig struct {
|
|||
_ struct{} `type:"structure"`
|
||||
|
||||
// The ARN of an IAM service role that Elastic Beanstalk has permission to assume.
|
||||
//
|
||||
// The ServiceRole property is required the first time that you provide a VersionLifecycleConfig
|
||||
// for the application in one of the supporting calls (CreateApplication or
|
||||
// UpdateApplicationResourceLifecycle). After you provide it once, in either
|
||||
// one of the calls, Elastic Beanstalk persists the Service Role with the application,
|
||||
// and you don't need to specify it again in subsequent UpdateApplicationResourceLifecycle
|
||||
// calls. You can, however, specify it in subsequent calls to change the Service
|
||||
// Role to another value.
|
||||
ServiceRole *string `type:"string"`
|
||||
|
||||
// The application version lifecycle configuration.
|
||||
|
@ -4112,7 +4120,25 @@ type ApplicationVersionDescription struct {
|
|||
// S3.
|
||||
SourceBundle *S3Location `type:"structure"`
|
||||
|
||||
// The processing status of the application version.
|
||||
// The processing status of the application version. Reflects the state of the
|
||||
// application version during its creation. Many of the values are only applicable
|
||||
// if you specified True for the Process parameter of the CreateApplicationVersion
|
||||
// action. The following list describes the possible values.
|
||||
//
|
||||
// * Unprocessed – Application version wasn't pre-processed or validated.
|
||||
// Elastic Beanstalk will validate configuration files during deployment
|
||||
// of the application version to an environment.
|
||||
//
|
||||
// * Processing – Elastic Beanstalk is currently processing the application
|
||||
// version.
|
||||
//
|
||||
// * Building – Application version is currently undergoing an AWS CodeBuild
|
||||
// build.
|
||||
//
|
||||
// * Processed – Elastic Beanstalk was successfully pre-processed and validated.
|
||||
//
|
||||
// * Failed – Either the AWS CodeBuild build failed or configuration files
|
||||
// didn't pass validation. This application version isn't usable.
|
||||
Status *string `type:"string" enum:"ApplicationVersionStatus"`
|
||||
|
||||
// A unique identifier for the application version.
|
||||
|
@ -5180,11 +5206,15 @@ type CreateApplicationVersionInput struct {
|
|||
// Describes this version.
|
||||
Description *string `type:"string"`
|
||||
|
||||
// Preprocesses and validates the environment manifest (env.yaml) and configuration
|
||||
// Pre-processes and validates the environment manifest (env.yaml) and configuration
|
||||
// files (*.config files in the .ebextensions folder) in the source bundle.
|
||||
// Validating configuration files can identify issues prior to deploying the
|
||||
// application version to an environment.
|
||||
//
|
||||
// You must turn processing on for application versions that you create using
|
||||
// AWS CodeBuild or AWS CodeCommit. For application versions built from a source
|
||||
// bundle in Amazon S3, processing is optional.
|
||||
//
|
||||
// The Process option validates Elastic Beanstalk configuration files. It doesn't
|
||||
// validate your application's configuration files, like proxy server or Docker
|
||||
// configuration.
|
||||
|
@ -5518,6 +5548,9 @@ type CreateEnvironmentInput struct {
|
|||
// This is an alternative to specifying a template name. If specified, AWS Elastic
|
||||
// Beanstalk sets the configuration values to the default values associated
|
||||
// with the specified solution stack.
|
||||
//
|
||||
// For a list of current solution stacks, see Elastic Beanstalk Supported Platforms
|
||||
// (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html).
|
||||
SolutionStackName *string `type:"string"`
|
||||
|
||||
// This specifies the tags applied to resources in the environment.
|
||||
|
@ -8063,7 +8096,11 @@ type EnvironmentTier struct {
|
|||
// The type of this environment tier.
|
||||
Type *string `type:"string"`
|
||||
|
||||
// The version of this environment tier.
|
||||
// The version of this environment tier. When you don't set a value to it, Elastic
|
||||
// Beanstalk uses the latest compatible worker tier version.
|
||||
//
|
||||
// This member is deprecated. Any specific version that you set may become out
|
||||
// of date. We recommend leaving it unspecified.
|
||||
Version *string `type:"string"`
|
||||
}
|
||||
|
||||
|
@ -11512,6 +11549,9 @@ const (
|
|||
|
||||
// EnvironmentHealthStatusSevere is a EnvironmentHealthStatus enum value
|
||||
EnvironmentHealthStatusSevere = "Severe"
|
||||
|
||||
// EnvironmentHealthStatusSuspended is a EnvironmentHealthStatus enum value
|
||||
EnvironmentHealthStatusSuspended = "Suspended"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue