vendor: update all dependencies

This commit is contained in:
Nick Craig-Wood
2018-03-19 15:51:38 +00:00
parent 940df88eb2
commit d64789528d
4309 changed files with 1327230 additions and 1001070 deletions
+3 -75
View File
@@ -3468,6 +3468,9 @@ func (c *KMS) RetireGrantRequest(input *RetireGrantInput) (req *request.Request,
// API operation RetireGrant for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidArnException "InvalidArnException"
// The request was rejected because a specified ARN was not valid.
//
// * ErrCodeInvalidGrantTokenException "InvalidGrantTokenException"
// The request was rejected because the specified grant token is not valid.
//
@@ -4186,7 +4189,6 @@ func (c *KMS) UpdateKeyDescriptionWithContext(ctx aws.Context, input *UpdateKeyD
}
// Contains information about an alias.
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/AliasListEntry
type AliasListEntry struct {
_ struct{} `type:"structure"`
@@ -4228,7 +4230,6 @@ func (s *AliasListEntry) SetTargetKeyId(v string) *AliasListEntry {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletionRequest
type CancelKeyDeletionInput struct {
_ struct{} `type:"structure"`
@@ -4281,7 +4282,6 @@ func (s *CancelKeyDeletionInput) SetKeyId(v string) *CancelKeyDeletionInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletionResponse
type CancelKeyDeletionOutput struct {
_ struct{} `type:"structure"`
@@ -4305,7 +4305,6 @@ func (s *CancelKeyDeletionOutput) SetKeyId(v string) *CancelKeyDeletionOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAliasRequest
type CreateAliasInput struct {
_ struct{} `type:"structure"`
@@ -4377,7 +4376,6 @@ func (s *CreateAliasInput) SetTargetKeyId(v string) *CreateAliasInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAliasOutput
type CreateAliasOutput struct {
_ struct{} `type:"structure"`
}
@@ -4392,7 +4390,6 @@ func (s CreateAliasOutput) GoString() string {
return s.String()
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateGrantRequest
type CreateGrantInput struct {
_ struct{} `type:"structure"`
@@ -4552,7 +4549,6 @@ func (s *CreateGrantInput) SetRetiringPrincipal(v string) *CreateGrantInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateGrantResponse
type CreateGrantOutput struct {
_ struct{} `type:"structure"`
@@ -4590,7 +4586,6 @@ func (s *CreateGrantOutput) SetGrantToken(v string) *CreateGrantOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKeyRequest
type CreateKeyInput struct {
_ struct{} `type:"structure"`
@@ -4736,7 +4731,6 @@ func (s *CreateKeyInput) SetTags(v []*Tag) *CreateKeyInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKeyResponse
type CreateKeyOutput struct {
_ struct{} `type:"structure"`
@@ -4760,7 +4754,6 @@ func (s *CreateKeyOutput) SetKeyMetadata(v *KeyMetadata) *CreateKeyOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DecryptRequest
type DecryptInput struct {
_ struct{} `type:"structure"`
@@ -4827,7 +4820,6 @@ func (s *DecryptInput) SetGrantTokens(v []*string) *DecryptInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DecryptResponse
type DecryptOutput struct {
_ struct{} `type:"structure"`
@@ -4864,7 +4856,6 @@ func (s *DecryptOutput) SetPlaintext(v []byte) *DecryptOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAliasRequest
type DeleteAliasInput struct {
_ struct{} `type:"structure"`
@@ -4907,7 +4898,6 @@ func (s *DeleteAliasInput) SetAliasName(v string) *DeleteAliasInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAliasOutput
type DeleteAliasOutput struct {
_ struct{} `type:"structure"`
}
@@ -4922,7 +4912,6 @@ func (s DeleteAliasOutput) GoString() string {
return s.String()
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteImportedKeyMaterialRequest
type DeleteImportedKeyMaterialInput struct {
_ struct{} `type:"structure"`
@@ -4975,7 +4964,6 @@ func (s *DeleteImportedKeyMaterialInput) SetKeyId(v string) *DeleteImportedKeyMa
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteImportedKeyMaterialOutput
type DeleteImportedKeyMaterialOutput struct {
_ struct{} `type:"structure"`
}
@@ -4990,7 +4978,6 @@ func (s DeleteImportedKeyMaterialOutput) GoString() string {
return s.String()
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeKeyRequest
type DescribeKeyInput struct {
_ struct{} `type:"structure"`
@@ -5061,7 +5048,6 @@ func (s *DescribeKeyInput) SetKeyId(v string) *DescribeKeyInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeKeyResponse
type DescribeKeyOutput struct {
_ struct{} `type:"structure"`
@@ -5085,7 +5071,6 @@ func (s *DescribeKeyOutput) SetKeyMetadata(v *KeyMetadata) *DescribeKeyOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRequest
type DisableKeyInput struct {
_ struct{} `type:"structure"`
@@ -5137,7 +5122,6 @@ func (s *DisableKeyInput) SetKeyId(v string) *DisableKeyInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyOutput
type DisableKeyOutput struct {
_ struct{} `type:"structure"`
}
@@ -5152,7 +5136,6 @@ func (s DisableKeyOutput) GoString() string {
return s.String()
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRotationRequest
type DisableKeyRotationInput struct {
_ struct{} `type:"structure"`
@@ -5204,7 +5187,6 @@ func (s *DisableKeyRotationInput) SetKeyId(v string) *DisableKeyRotationInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRotationOutput
type DisableKeyRotationOutput struct {
_ struct{} `type:"structure"`
}
@@ -5219,7 +5201,6 @@ func (s DisableKeyRotationOutput) GoString() string {
return s.String()
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRequest
type EnableKeyInput struct {
_ struct{} `type:"structure"`
@@ -5271,7 +5252,6 @@ func (s *EnableKeyInput) SetKeyId(v string) *EnableKeyInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyOutput
type EnableKeyOutput struct {
_ struct{} `type:"structure"`
}
@@ -5286,7 +5266,6 @@ func (s EnableKeyOutput) GoString() string {
return s.String()
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRotationRequest
type EnableKeyRotationInput struct {
_ struct{} `type:"structure"`
@@ -5338,7 +5317,6 @@ func (s *EnableKeyRotationInput) SetKeyId(v string) *EnableKeyRotationInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRotationOutput
type EnableKeyRotationOutput struct {
_ struct{} `type:"structure"`
}
@@ -5353,7 +5331,6 @@ func (s EnableKeyRotationOutput) GoString() string {
return s.String()
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EncryptRequest
type EncryptInput struct {
_ struct{} `type:"structure"`
@@ -5455,7 +5432,6 @@ func (s *EncryptInput) SetPlaintext(v []byte) *EncryptInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EncryptResponse
type EncryptOutput struct {
_ struct{} `type:"structure"`
@@ -5491,7 +5467,6 @@ func (s *EncryptOutput) SetKeyId(v string) *EncryptOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyRequest
type GenerateDataKeyInput struct {
_ struct{} `type:"structure"`
@@ -5600,7 +5575,6 @@ func (s *GenerateDataKeyInput) SetNumberOfBytes(v int64) *GenerateDataKeyInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyResponse
type GenerateDataKeyOutput struct {
_ struct{} `type:"structure"`
@@ -5650,7 +5624,6 @@ func (s *GenerateDataKeyOutput) SetPlaintext(v []byte) *GenerateDataKeyOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintextRequest
type GenerateDataKeyWithoutPlaintextInput struct {
_ struct{} `type:"structure"`
@@ -5759,7 +5732,6 @@ func (s *GenerateDataKeyWithoutPlaintextInput) SetNumberOfBytes(v int64) *Genera
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintextResponse
type GenerateDataKeyWithoutPlaintextOutput struct {
_ struct{} `type:"structure"`
@@ -5796,7 +5768,6 @@ func (s *GenerateDataKeyWithoutPlaintextOutput) SetKeyId(v string) *GenerateData
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandomRequest
type GenerateRandomInput struct {
_ struct{} `type:"structure"`
@@ -5833,7 +5804,6 @@ func (s *GenerateRandomInput) SetNumberOfBytes(v int64) *GenerateRandomInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandomResponse
type GenerateRandomOutput struct {
_ struct{} `type:"structure"`
@@ -5860,7 +5830,6 @@ func (s *GenerateRandomOutput) SetPlaintext(v []byte) *GenerateRandomOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicyRequest
type GetKeyPolicyInput struct {
_ struct{} `type:"structure"`
@@ -5930,7 +5899,6 @@ func (s *GetKeyPolicyInput) SetPolicyName(v string) *GetKeyPolicyInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicyResponse
type GetKeyPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -5954,7 +5922,6 @@ func (s *GetKeyPolicyOutput) SetPolicy(v string) *GetKeyPolicyOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatusRequest
type GetKeyRotationStatusInput struct {
_ struct{} `type:"structure"`
@@ -6007,7 +5974,6 @@ func (s *GetKeyRotationStatusInput) SetKeyId(v string) *GetKeyRotationStatusInpu
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatusResponse
type GetKeyRotationStatusOutput struct {
_ struct{} `type:"structure"`
@@ -6031,7 +5997,6 @@ func (s *GetKeyRotationStatusOutput) SetKeyRotationEnabled(v bool) *GetKeyRotati
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImportRequest
type GetParametersForImportInput struct {
_ struct{} `type:"structure"`
@@ -6116,7 +6081,6 @@ func (s *GetParametersForImportInput) SetWrappingKeySpec(v string) *GetParameter
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImportResponse
type GetParametersForImportOutput struct {
_ struct{} `type:"structure"`
@@ -6187,7 +6151,6 @@ func (s *GetParametersForImportOutput) SetPublicKey(v []byte) *GetParametersForI
// context as input. A grant that allows the Encrypt operation does so only
// when the encryption context of the Encrypt operation satisfies the grant
// constraints.
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GrantConstraints
type GrantConstraints struct {
_ struct{} `type:"structure"`
@@ -6229,7 +6192,6 @@ func (s *GrantConstraints) SetEncryptionContextSubset(v map[string]*string) *Gra
}
// Contains information about an entry in a list of grants.
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GrantListEntry
type GrantListEntry struct {
_ struct{} `type:"structure"`
@@ -6328,7 +6290,6 @@ func (s *GrantListEntry) SetRetiringPrincipal(v string) *GrantListEntry {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterialRequest
type ImportKeyMaterialInput struct {
_ struct{} `type:"structure"`
@@ -6446,7 +6407,6 @@ func (s *ImportKeyMaterialInput) SetValidTo(v time.Time) *ImportKeyMaterialInput
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterialResponse
type ImportKeyMaterialOutput struct {
_ struct{} `type:"structure"`
}
@@ -6462,7 +6422,6 @@ func (s ImportKeyMaterialOutput) GoString() string {
}
// Contains information about each entry in the key list.
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/KeyListEntry
type KeyListEntry struct {
_ struct{} `type:"structure"`
@@ -6499,7 +6458,6 @@ func (s *KeyListEntry) SetKeyId(v string) *KeyListEntry {
//
// This data type is used as a response element for the CreateKey and DescribeKey
// operations.
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/KeyMetadata
type KeyMetadata struct {
_ struct{} `type:"structure"`
@@ -6652,7 +6610,6 @@ func (s *KeyMetadata) SetValidTo(v time.Time) *KeyMetadata {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliasesRequest
type ListAliasesInput struct {
_ struct{} `type:"structure"`
@@ -6708,7 +6665,6 @@ func (s *ListAliasesInput) SetMarker(v string) *ListAliasesInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliasesResponse
type ListAliasesOutput struct {
_ struct{} `type:"structure"`
@@ -6754,7 +6710,6 @@ func (s *ListAliasesOutput) SetTruncated(v bool) *ListAliasesOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrantsRequest
type ListGrantsInput struct {
_ struct{} `type:"structure"`
@@ -6838,7 +6793,6 @@ func (s *ListGrantsInput) SetMarker(v string) *ListGrantsInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrantsResponse
type ListGrantsResponse struct {
_ struct{} `type:"structure"`
@@ -6884,7 +6838,6 @@ func (s *ListGrantsResponse) SetTruncated(v bool) *ListGrantsResponse {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPoliciesRequest
type ListKeyPoliciesInput struct {
_ struct{} `type:"structure"`
@@ -6969,7 +6922,6 @@ func (s *ListKeyPoliciesInput) SetMarker(v string) *ListKeyPoliciesInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPoliciesResponse
type ListKeyPoliciesOutput struct {
_ struct{} `type:"structure"`
@@ -7016,7 +6968,6 @@ func (s *ListKeyPoliciesOutput) SetTruncated(v bool) *ListKeyPoliciesOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeysRequest
type ListKeysInput struct {
_ struct{} `type:"structure"`
@@ -7072,7 +7023,6 @@ func (s *ListKeysInput) SetMarker(v string) *ListKeysInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeysResponse
type ListKeysOutput struct {
_ struct{} `type:"structure"`
@@ -7118,7 +7068,6 @@ func (s *ListKeysOutput) SetTruncated(v bool) *ListKeysOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTagsRequest
type ListResourceTagsInput struct {
_ struct{} `type:"structure"`
@@ -7204,7 +7153,6 @@ func (s *ListResourceTagsInput) SetMarker(v string) *ListResourceTagsInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTagsResponse
type ListResourceTagsOutput struct {
_ struct{} `type:"structure"`
@@ -7252,7 +7200,6 @@ func (s *ListResourceTagsOutput) SetTruncated(v bool) *ListResourceTagsOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListRetirableGrantsRequest
type ListRetirableGrantsInput struct {
_ struct{} `type:"structure"`
@@ -7332,7 +7279,6 @@ func (s *ListRetirableGrantsInput) SetRetiringPrincipal(v string) *ListRetirable
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicyRequest
type PutKeyPolicyInput struct {
_ struct{} `type:"structure"`
@@ -7458,7 +7404,6 @@ func (s *PutKeyPolicyInput) SetPolicyName(v string) *PutKeyPolicyInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicyOutput
type PutKeyPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -7473,7 +7418,6 @@ func (s PutKeyPolicyOutput) GoString() string {
return s.String()
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReEncryptRequest
type ReEncryptInput struct {
_ struct{} `type:"structure"`
@@ -7582,7 +7526,6 @@ func (s *ReEncryptInput) SetSourceEncryptionContext(v map[string]*string) *ReEnc
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReEncryptResponse
type ReEncryptOutput struct {
_ struct{} `type:"structure"`
@@ -7627,7 +7570,6 @@ func (s *ReEncryptOutput) SetSourceKeyId(v string) *ReEncryptOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrantRequest
type RetireGrantInput struct {
_ struct{} `type:"structure"`
@@ -7693,7 +7635,6 @@ func (s *RetireGrantInput) SetKeyId(v string) *RetireGrantInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrantOutput
type RetireGrantOutput struct {
_ struct{} `type:"structure"`
}
@@ -7708,7 +7649,6 @@ func (s RetireGrantOutput) GoString() string {
return s.String()
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RevokeGrantRequest
type RevokeGrantInput struct {
_ struct{} `type:"structure"`
@@ -7778,7 +7718,6 @@ func (s *RevokeGrantInput) SetKeyId(v string) *RevokeGrantInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RevokeGrantOutput
type RevokeGrantOutput struct {
_ struct{} `type:"structure"`
}
@@ -7793,7 +7732,6 @@ func (s RevokeGrantOutput) GoString() string {
return s.String()
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ScheduleKeyDeletionRequest
type ScheduleKeyDeletionInput struct {
_ struct{} `type:"structure"`
@@ -7861,7 +7799,6 @@ func (s *ScheduleKeyDeletionInput) SetPendingWindowInDays(v int64) *ScheduleKeyD
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ScheduleKeyDeletionResponse
type ScheduleKeyDeletionOutput struct {
_ struct{} `type:"structure"`
@@ -7901,7 +7838,6 @@ func (s *ScheduleKeyDeletionOutput) SetKeyId(v string) *ScheduleKeyDeletionOutpu
// For information about the rules that apply to tag keys and tag values, see
// User-Defined Tag Restrictions (http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html)
// in the AWS Billing and Cost Management User Guide.
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Tag
type Tag struct {
_ struct{} `type:"structure"`
@@ -7957,7 +7893,6 @@ func (s *Tag) SetTagValue(v string) *Tag {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResourceRequest
type TagResourceInput struct {
_ struct{} `type:"structure"`
@@ -8033,7 +7968,6 @@ func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResourceOutput
type TagResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -8048,7 +7982,6 @@ func (s TagResourceOutput) GoString() string {
return s.String()
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UntagResourceRequest
type UntagResourceInput struct {
_ struct{} `type:"structure"`
@@ -8114,7 +8047,6 @@ func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UntagResourceOutput
type UntagResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -8129,7 +8061,6 @@ func (s UntagResourceOutput) GoString() string {
return s.String()
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateAliasRequest
type UpdateAliasInput struct {
_ struct{} `type:"structure"`
@@ -8202,7 +8133,6 @@ func (s *UpdateAliasInput) SetTargetKeyId(v string) *UpdateAliasInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateAliasOutput
type UpdateAliasOutput struct {
_ struct{} `type:"structure"`
}
@@ -8217,7 +8147,6 @@ func (s UpdateAliasOutput) GoString() string {
return s.String()
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateKeyDescriptionRequest
type UpdateKeyDescriptionInput struct {
_ struct{} `type:"structure"`
@@ -8283,7 +8212,6 @@ func (s *UpdateKeyDescriptionInput) SetKeyId(v string) *UpdateKeyDescriptionInpu
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateKeyDescriptionOutput
type UpdateKeyDescriptionOutput struct {
_ struct{} `type:"structure"`
}
+2
View File
@@ -1167,6 +1167,8 @@ func ExampleKMS_RetireGrant_shared00() {
if err != nil {
if aerr, ok := err.(awserr.Error); ok {
switch aerr.Code() {
case kms.ErrCodeInvalidArnException:
fmt.Println(kms.ErrCodeInvalidArnException, aerr.Error())
case kms.ErrCodeInvalidGrantTokenException:
fmt.Println(kms.ErrCodeInvalidGrantTokenException, aerr.Error())
case kms.ErrCodeInvalidGrantIdException: