diff --git a/go.mod b/go.mod index d3a7dbb9b0..3f6a3f5aa7 100644 --- a/go.mod +++ b/go.mod @@ -42,7 +42,7 @@ require ( require ( github.com/armon/go-metrics v0.3.10 // indirect - github.com/aws/aws-sdk-go v1.43.17 + github.com/aws/aws-sdk-go v1.43.24 github.com/benbjohnson/clock v1.3.0 // indirect github.com/fatih/color v1.13.0 // indirect github.com/fsnotify/fsnotify v1.5.1 // indirect diff --git a/go.sum b/go.sum index 4554304154..2f52bcfdf5 100644 --- a/go.sum +++ b/go.sum @@ -83,8 +83,8 @@ github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6l github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.40.45/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q= -github.com/aws/aws-sdk-go v1.43.17 h1:jDPBz1UuTxmyRo0eLgaRiro0fiI1zL7lkscqYxoEDLM= -github.com/aws/aws-sdk-go v1.43.17/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.43.24 h1:7c2PniJ0wpmWsIA6OtYBw6wS7DF0IjbhvPq+0ZQYNXw= +github.com/aws/aws-sdk-go v1.43.24/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= github.com/aws/aws-sdk-go-v2 v1.9.1/go.mod h1:cK/D0BBs0b/oWPIcX/Z/obahJK1TT7IPVjy53i/mX/4= github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.8.1/go.mod h1:CM+19rL1+4dFWnOQKwDc7H1KwXTz+h61oUSHyhV0b3o= diff --git a/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go b/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go index 95f5502d76..f839815a82 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go @@ -3052,6 +3052,20 @@ var awsPartition = partition{ }, }, }, + "billingconductor": service{ + PartitionEndpoint: "aws-global", + IsRegionalized: boxedFalse, + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "aws-global", + }: endpoint{ + Hostname: "billingconductor.us-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-1", + }, + }, + }, + }, "braket": service{ Endpoints: serviceEndpoints{ endpointKey{ @@ -3636,6 +3650,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-northeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-3", + }: endpoint{}, endpointKey{ Region: "ap-south-1", }: endpoint{}, @@ -3645,6 +3662,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -6461,6 +6481,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -9543,6 +9566,13 @@ var awsPartition = partition{ }: endpoint{}, }, }, + "gamesparks": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "us-east-1", + }: endpoint{}, + }, + }, "glacier": service{ Defaults: endpointDefaults{ defaultKey{}: endpoint{ @@ -22002,6 +22032,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, diff --git a/vendor/github.com/aws/aws-sdk-go/aws/version.go b/vendor/github.com/aws/aws-sdk-go/aws/version.go index 79bafc1c11..5d82ea4025 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/version.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.43.17" +const SDKVersion = "1.43.24" diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/rest/build.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/rest/build.go index 5f13d4acb8..63f66af2c6 100644 --- a/vendor/github.com/aws/aws-sdk-go/private/protocol/rest/build.go +++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/rest/build.go @@ -276,6 +276,25 @@ func convertType(v reflect.Value, tag reflect.StructTag) (str string, err error) value = base64.StdEncoding.EncodeToString([]byte(value)) } str = value + case []*string: + if tag.Get("location") != "header" || tag.Get("enum") == "" { + return "", fmt.Errorf("%T is only supported with location header and enum shapes", value) + } + buff := &bytes.Buffer{} + for i, sv := range value { + if sv == nil || len(*sv) == 0 { + continue + } + if i != 0 { + buff.WriteRune(',') + } + item := *sv + if strings.Index(item, `,`) != -1 || strings.Index(item, `"`) != -1 { + item = strconv.Quote(item) + } + buff.WriteString(item) + } + str = string(buff.Bytes()) case []byte: str = base64.StdEncoding.EncodeToString(value) case bool: diff --git a/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go b/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go index 7d088abe83..d97b5d6233 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go @@ -59,13 +59,13 @@ func (c *SSM) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *requ // AddTagsToResource API operation for Amazon Simple Systems Manager (SSM). // // Adds or overwrites one or more tags for the specified resource. Tags are -// metadata that you can assign to your documents, managed nodes, maintenance -// windows, Parameter Store parameters, and patch baselines. Tags enable you -// to categorize your resources in different ways, for example, by purpose, -// owner, or environment. Each tag consists of a key and an optional value, -// both of which you define. For example, you could define a set of tags for -// your account's managed nodes that helps you track each node's owner and stack -// level. For example: +// metadata that you can assign to your automations, documents, managed nodes, +// maintenance windows, Parameter Store parameters, and patch baselines. Tags +// enable you to categorize your resources in different ways, for example, by +// purpose, owner, or environment. Each tag consists of a key and an optional +// value, both of which you define. For example, you could define a set of tags +// for your account's managed nodes that helps you track each node's owner and +// stack level. For example: // // * Key=Owner,Value=DbAdmin // @@ -79,7 +79,8 @@ func (c *SSM) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *requ // // * Key=Stack,Value=Test // -// Each resource can have a maximum of 50 tags. +// Most resources can have a maximum of 50 tags. Automations can have a maximum +// of 5 tags. // // We recommend that you devise a set of tag keys that meets your needs for // each resource type. Using a consistent set of tag keys makes it easier for @@ -15766,6 +15767,8 @@ type AddTagsToResourceInput struct { // // PatchBaseline: pb-012345abcde // + // Automation: example-c160-4567-8519-012345abcde + // // OpsMetadata object: ResourceID for tagging is created from the Amazon Resource // Name (ARN) for the object. Specifically, ResourceID is created from the strings // that come after the word opsmetadata in the ARN. For example, an OpsMetadata @@ -28731,7 +28734,7 @@ type DocumentDescription struct { PendingReviewVersion *string `type:"string"` // The list of operating system (OS) platforms compatible with this SSM document. - PlatformTypes []*string `type:"list"` + PlatformTypes []*string `type:"list" enum:"PlatformType"` // A list of SSM documents required by a document. For example, an ApplicationConfiguration // document requires an ApplicationConfigurationSchema document. @@ -29064,7 +29067,7 @@ type DocumentIdentifier struct { Owner *string `type:"string"` // The operating system platform. - PlatformTypes []*string `type:"list"` + PlatformTypes []*string `type:"list" enum:"PlatformType"` // A list of SSM documents required by a document. For example, an ApplicationConfiguration // document requires an ApplicationConfigurationSchema document. @@ -33744,7 +33747,7 @@ func (s *GetParametersOutput) SetParameters(v []*Parameter) *GetParametersOutput type GetPatchBaselineForPatchGroupInput struct { _ struct{} `type:"structure"` - // Returns he operating system rule specified for patch groups using the patch + // Returns the operating system rule specified for patch groups using the patch // baseline. OperatingSystem *string `type:"string" enum:"OperatingSystem"` @@ -43600,7 +43603,7 @@ type NotificationConfig struct { // about these events, see Monitoring Systems Manager status changes using Amazon // SNS notifications (https://docs.aws.amazon.com/systems-manager/latest/userguide/monitoring-sns-notifications.html) // in the Amazon Web Services Systems Manager User Guide. - NotificationEvents []*string `type:"list"` + NotificationEvents []*string `type:"list" enum:"NotificationEvent"` // The type of notification. // @@ -48488,13 +48491,10 @@ type PutParameterInput struct { // Systems Manager parameters (https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html) // in the Amazon Web Services Systems Manager User Guide. // - // The maximum length constraint listed below includes capacity for additional - // system attributes that aren't part of the name. The maximum length for a - // parameter name, including the full length of the parameter ARN, is 1011 characters. - // For example, the length of the following parameter name is 65 characters, - // not 20 characters: - // - // arn:aws:ssm:us-east-2:111122223333:parameter/ExampleParameterName + // The maximum length constraint of 2048 characters listed below includes 1037 + // characters reserved for internal use by Systems Manager. The maximum length + // for a parameter name that you create is 1011 characters. This includes the + // characters in the ARN that precede the name you specify, such as arn:aws:ssm:us-east-2:111122223333:parameter/. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` @@ -49655,6 +49655,8 @@ type RemoveTagsFromResourceInput struct { // // MaintenanceWindow: mw-012345abcde // + // Automation: example-c160-4567-8519-012345abcde + // // PatchBaseline: pb-012345abcde // // OpsMetadata object: ResourceID for tagging is created from the Amazon Resource @@ -52670,7 +52672,7 @@ type StartAutomationExecutionInput struct { // // * Key=OS,Value=Windows // - // To add tags to an existing patch baseline, use the AddTagsToResource operation. + // To add tags to an existing automation, use the AddTagsToResource operation. Tags []*Tag `type:"list"` // A location is a combination of Amazon Web Services Regions and/or Amazon @@ -53127,7 +53129,8 @@ type StartSessionInput struct { // launched by default. DocumentName *string `type:"string"` - // Reserved for future use. + // The values you want to specify for the parameters defined in the Session + // document. Parameters map[string][]*string `type:"map"` // The reason for connecting to the instance. This value is included in the @@ -59928,6 +59931,9 @@ const ( // ResourceTypeForTaggingOpsMetadata is a ResourceTypeForTagging enum value ResourceTypeForTaggingOpsMetadata = "OpsMetadata" + + // ResourceTypeForTaggingAutomation is a ResourceTypeForTagging enum value + ResourceTypeForTaggingAutomation = "Automation" ) // ResourceTypeForTagging_Values returns all elements of the ResourceTypeForTagging enum @@ -59940,6 +59946,7 @@ func ResourceTypeForTagging_Values() []string { ResourceTypeForTaggingPatchBaseline, ResourceTypeForTaggingOpsItem, ResourceTypeForTaggingOpsMetadata, + ResourceTypeForTaggingAutomation, } } diff --git a/vendor/modules.txt b/vendor/modules.txt index 5baf2f1ae4..c578f53c70 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -3,7 +3,7 @@ github.com/armon/go-metrics # github.com/armon/go-radix v1.0.0 github.com/armon/go-radix -# github.com/aws/aws-sdk-go v1.43.17 +# github.com/aws/aws-sdk-go v1.43.24 ## explicit github.com/aws/aws-sdk-go/aws github.com/aws/aws-sdk-go/aws/awserr