From 9fb4b1847cca5ecfc33c24202bb12a8fc2f86468 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Fri, 1 May 2020 11:10:25 -0700 Subject: [PATCH] Release v1.30.19 (2020-05-01) (#3298) Release v1.30.19 (2020-05-01) === ### Service Client Updates * `service/elasticfilesystem`: Updates service API * Change the TagKeys argument for UntagResource to a URL parameter to address an issue with the Java and .NET SDKs. * `service/ssm`: Updates service API and documentation * Added TimeoutSeconds as part of ListCommands API response. --- CHANGELOG.md | 9 ++++++ aws/endpoints/defaults.go | 12 +++++++ aws/version.go | 2 +- .../elasticfilesystem/2015-02-01/api-2.json | 11 +++++-- models/apis/ssm/2014-11-06/api-2.json | 3 +- models/apis/ssm/2014-11-06/docs-2.json | 13 ++++---- models/endpoints/endpoints.json | 11 +++++++ service/efs/api.go | 7 ++++- service/ssm/api.go | 31 ++++++++++++------- 9 files changed, 77 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a56336bec2..e5c0692968 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +Release v1.30.19 (2020-05-01) +=== + +### Service Client Updates +* `service/elasticfilesystem`: Updates service API + * Change the TagKeys argument for UntagResource to a URL parameter to address an issue with the Java and .NET SDKs. +* `service/ssm`: Updates service API and documentation + * Added TimeoutSeconds as part of ListCommands API response. + Release v1.30.18 (2020-04-30) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index c3ec305c26..055de56395 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -7107,6 +7107,18 @@ var awsusgovPartition = partition{ }, }, }, + "email": service{ + + Endpoints: endpoints{ + "fips-us-gov-west-1": endpoint{ + Hostname: "email-fips.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, + "us-gov-west-1": endpoint{}, + }, + }, "es": service{ Endpoints: endpoints{ diff --git a/aws/version.go b/aws/version.go index 7f652da781..4e7b5217f9 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.30.18" +const SDKVersion = "1.30.19" diff --git a/models/apis/elasticfilesystem/2015-02-01/api-2.json b/models/apis/elasticfilesystem/2015-02-01/api-2.json index 5e83dd129f..90c5f03e70 100644 --- a/models/apis/elasticfilesystem/2015-02-01/api-2.json +++ b/models/apis/elasticfilesystem/2015-02-01/api-2.json @@ -1343,14 +1343,21 @@ }, "UntagResourceRequest":{ "type":"structure", - "required":["ResourceId"], + "required":[ + "ResourceId", + "TagKeys" + ], "members":{ "ResourceId":{ "shape":"ResourceId", "location":"uri", "locationName":"ResourceId" }, - "TagKeys":{"shape":"TagKeys"} + "TagKeys":{ + "shape":"TagKeys", + "location":"querystring", + "locationName":"tagKeys" + } } }, "UpdateFileSystemRequest":{ diff --git a/models/apis/ssm/2014-11-06/api-2.json b/models/apis/ssm/2014-11-06/api-2.json index eeb18798a4..c538b28c43 100644 --- a/models/apis/ssm/2014-11-06/api-2.json +++ b/models/apis/ssm/2014-11-06/api-2.json @@ -2612,7 +2612,8 @@ "DeliveryTimedOutCount":{"shape":"DeliveryTimedOutCount"}, "ServiceRole":{"shape":"ServiceRole"}, "NotificationConfig":{"shape":"NotificationConfig"}, - "CloudWatchOutputConfig":{"shape":"CloudWatchOutputConfig"} + "CloudWatchOutputConfig":{"shape":"CloudWatchOutputConfig"}, + "TimeoutSeconds":{"shape":"TimeoutSeconds"} } }, "CommandFilter":{ diff --git a/models/apis/ssm/2014-11-06/docs-2.json b/models/apis/ssm/2014-11-06/docs-2.json index b0213fca1f..2afb642270 100644 --- a/models/apis/ssm/2014-11-06/docs-2.json +++ b/models/apis/ssm/2014-11-06/docs-2.json @@ -2,7 +2,7 @@ "version": "2.0", "service": "AWS Systems Manager

AWS Systems Manager is a collection of capabilities that helps you automate management tasks such as collecting system inventory, applying operating system (OS) patches, automating the creation of Amazon Machine Images (AMIs), and configuring operating systems (OSs) and applications at scale. Systems Manager lets you remotely and securely manage the configuration of your managed instances. A managed instance is any Amazon Elastic Compute Cloud instance (EC2 instance), or any on-premises server or virtual machine (VM) in your hybrid environment that has been configured for Systems Manager.

This reference is intended to be used with the AWS Systems Manager User Guide.

To get started, verify prerequisites and configure managed instances. For more information, see Setting up AWS Systems Manager in the AWS Systems Manager User Guide.

For information about other API actions you can perform on EC2 instances, see the Amazon EC2 API Reference. For information about how to use a Query API, see Making API requests.

", "operations": { - "AddTagsToResource": "

Adds or overwrites one or more tags for the specified resource. Tags are metadata that you can assign to your documents, managed instances, 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 instances that helps you track each instance's owner and stack level. For example: Key=Owner and Value=DbAdmin, SysAdmin, or Dev. Or Key=Stack and Value=Production, Pre-Production, or Test.

Each resource can have a maximum of 50 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 you to manage your resources. You can search and filter the resources based on the tags you add. Tags don't have any semantic meaning to and are interpreted strictly as a string of characters.

For more information about using tags with EC2 instances, see Tagging your Amazon EC2 resources in the Amazon EC2 User Guide.

", + "AddTagsToResource": "

Adds or overwrites one or more tags for the specified resource. Tags are metadata that you can assign to your documents, managed instances, 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 instances that helps you track each instance's owner and stack level. For example: Key=Owner and Value=DbAdmin, SysAdmin, or Dev. Or Key=Stack and Value=Production, Pre-Production, or Test.

Each resource can have a maximum of 50 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 you to manage your resources. You can search and filter the resources based on the tags you add. Tags don't have any semantic meaning to Amazon EC2 and are interpreted strictly as a string of characters.

For more information about tags, see Tagging your Amazon EC2 resources in the Amazon EC2 User Guide.

", "CancelCommand": "

Attempts to cancel the command specified by the Command ID. There is no guarantee that the command will be terminated and the underlying process stopped.

", "CancelMaintenanceWindowExecution": "

Stops a maintenance window execution that is already in progress and cancels any tasks in the window that have not already starting running. (Tasks already in progress will continue to completion.)

", "CreateActivation": "

Generates an activation code and activation ID you can use to register your on-premises server or virtual machine (VM) with Systems Manager. Registering these machines with Systems Manager makes it possible to manage them using Systems Manager capabilities. You use the activation code and ID when installing SSM Agent on machines in your hybrid environment. For more information about requirements for managing on-premises instances and VMs using Systems Manager, see Setting up AWS Systems Manager for hybrid environments in the AWS Systems Manager User Guide.

On-premises servers or VMs that are registered with Systems Manager and EC2 instances that you manage with Systems Manager are all called managed instances.

", @@ -958,7 +958,7 @@ "CommandFilterList": { "base": null, "refs": { - "ListCommandInvocationsRequest$Filters": "

(Optional) One or more filters. Use a filter to return a more specific list of results. Note that the DocumentName filter is not supported for ListCommandInvocations.

", + "ListCommandInvocationsRequest$Filters": "

(Optional) One or more filters. Use a filter to return a more specific list of results.

", "ListCommandsRequest$Filters": "

(Optional) One or more filters. Use a filter to return a more specific list of results.

" } }, @@ -1989,7 +1989,7 @@ "DocumentContent": { "base": null, "refs": { - "CreateDocumentRequest$Content": "

The content for the new SSM document in JSON or YAML format. We recommend storing the contents for your new document in an external JSON or YAML file and referencing the file in a command.

For examples, see the following topics in the AWS Systems Manager User Guide.

", + "CreateDocumentRequest$Content": "

The content for the new SSM document in JSON or YAML format. We recommend storing the contents for your new document in an external JSON or YAML file and referencing the file in a command.

For examples, see the following topics in the AWS Systems Manager User Guide.

", "GetDocumentResult$Content": "

The contents of the Systems Manager document.

", "InstanceAssociation$Content": "

The content of the association document for the instance(s).

", "UpdateDocumentRequest$Content": "

A valid JSON or YAML string.

" @@ -2074,7 +2074,7 @@ } }, "DocumentKeyValuesFilter": { - "base": "

One or more filters. Use a filter to return a more specific list of documents.

For keys, you can specify one or more tags that have been applied to a document.

Other valid values include Owner, Name, PlatformTypes, and DocumentType.

Note that only one Owner can be specified in a request. For example: Key=Owner,Values=Self.

If you use Name as a key, you can use a name prefix to return a list of documents. For example, in the AWS CLI, to return a list of all documents that begin with Te, run the following command:

aws ssm list-documents --filters Key=Name,Values=Te

If you specify more than two keys, only documents that are identified by all the tags are returned in the results. If you specify more than two values for a key, documents that are identified by any of the values are returned in the results.

To specify a custom key and value pair, use the format Key=tag:tagName,Values=valueName.

For example, if you created a Key called region and are using the AWS CLI to call the list-documents command:

aws ssm list-documents --filters Key=tag:region,Values=east,west Key=Owner,Values=Self

", + "base": "

One or more filters. Use a filter to return a more specific list of documents.

For keys, you can specify one or more tags that have been applied to a document.

Other valid values include Owner, Name, PlatformTypes, DocumentType, and TargetType.

Note that only one Owner can be specified in a request. For example: Key=Owner,Values=Self.

If you use Name as a key, you can use a name prefix to return a list of documents. For example, in the AWS CLI, to return a list of all documents that begin with Te, run the following command:

aws ssm list-documents --filters Key=Name,Values=Te

If you specify more than two keys, only documents that are identified by all the tags are returned in the results. If you specify more than two values for a key, documents that are identified by any of the values are returned in the results.

To specify a custom key and value pair, use the format Key=tag:tagName,Values=valueName.

For example, if you created a Key called region and are using the AWS CLI to call the list-documents command:

aws ssm list-documents --filters Key=tag:region,Values=east,west Key=Owner,Values=Self

", "refs": { "DocumentKeyValuesFilterList$member": null } @@ -2088,7 +2088,7 @@ "DocumentKeyValuesFilterList": { "base": null, "refs": { - "ListDocumentsRequest$Filters": "

One or more DocumentKeyValuesFilter objects. Use a filter to return a more specific list of results. For keys, you can specify one or more key-value pair tags that have been applied to a document. Other valid keys include Owner, Name, PlatformTypes, and DocumentType. For example, to return documents you own use Key=Owner,Values=Self. To specify a custom key-value pair, use the format Key=tag:tagName,Values=valueName.

" + "ListDocumentsRequest$Filters": "

One or more DocumentKeyValuesFilter objects. Use a filter to return a more specific list of results. For keys, you can specify one or more key-value pair tags that have been applied to a document. Other valid keys include Owner, Name, PlatformTypes, DocumentType, and TargetType. For example, to return documents you own use Key=Owner,Values=Self. To specify a custom key-value pair, use the format Key=tag:tagName,Values=valueName.

" } }, "DocumentKeyValuesFilterValue": { @@ -4813,7 +4813,7 @@ "OpsItemSource": { "base": null, "refs": { - "CreateOpsItemRequest$Source": "

The origin of the OpsItem, such as Amazon EC2 or Systems Manager.

The source name can't contain the following strings: aws, amazon, and amzn.

", + "CreateOpsItemRequest$Source": "

The origin of the OpsItem, such as EC2 or Systems Manager.

The source name can't contain the following strings: aws, amazon, and amzn.

", "OpsItem$Source": "

The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The impacted resource is a subset of source.

", "OpsItemSummary$Source": "

The impacted AWS resource.

" } @@ -6886,6 +6886,7 @@ "TimeoutSeconds": { "base": null, "refs": { + "Command$TimeoutSeconds": "

The TimeoutSeconds value specified for a command.

", "MaintenanceWindowRunCommandParameters$TimeoutSeconds": "

If this time is reached and the command has not already started running, it doesn't run.

", "SendCommandRequest$TimeoutSeconds": "

If this time is reached and the command has not already started running, it will not run.

" } diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 295cd826d9..31dcb543e0 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -6773,6 +6773,17 @@ } } }, + "email" : { + "endpoints" : { + "fips-us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "hostname" : "email-fips.us-gov-west-1.amazonaws.com" + }, + "us-gov-west-1" : { } + } + }, "es" : { "endpoints" : { "fips" : { diff --git a/service/efs/api.go b/service/efs/api.go index 29319018d8..c2bb535440 100644 --- a/service/efs/api.go +++ b/service/efs/api.go @@ -6970,7 +6970,9 @@ type UntagResourceInput struct { // The keys of the key:value tag pairs that you want to remove from the specified // EFS resource. - TagKeys []*string `min:"1" type:"list"` + // + // TagKeys is a required field + TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"` } // String returns the string representation @@ -6992,6 +6994,9 @@ func (s *UntagResourceInput) Validate() error { if s.ResourceId != nil && len(*s.ResourceId) < 1 { invalidParams.Add(request.NewErrParamMinLen("ResourceId", 1)) } + if s.TagKeys == nil { + invalidParams.Add(request.NewErrParamRequired("TagKeys")) + } if s.TagKeys != nil && len(s.TagKeys) < 1 { invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1)) } diff --git a/service/ssm/api.go b/service/ssm/api.go index b6498dd1d4..e159504879 100644 --- a/service/ssm/api.go +++ b/service/ssm/api.go @@ -73,11 +73,10 @@ func (c *SSM) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *requ // 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 // you to manage your resources. You can search and filter the resources based -// on the tags you add. Tags don't have any semantic meaning to and are interpreted -// strictly as a string of characters. +// on the tags you add. Tags don't have any semantic meaning to Amazon EC2 and +// are interpreted strictly as a string of characters. // -// For more information about using tags with EC2 instances, see Tagging your -// Amazon EC2 resources (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html) +// For more information about tags, see Tagging your Amazon EC2 resources (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html) // in the Amazon EC2 User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -15008,6 +15007,9 @@ type Command struct { // that you specify. Targets is required if you don't provide one or more instance // IDs in the call. Targets []*Target `type:"list"` + + // The TimeoutSeconds value specified for a command. + TimeoutSeconds *int64 `min:"30" type:"integer"` } // String returns the string representation @@ -15158,6 +15160,12 @@ func (s *Command) SetTargets(v []*Target) *Command { return s } +// SetTimeoutSeconds sets the TimeoutSeconds field's value. +func (s *Command) SetTimeoutSeconds(v int64) *Command { + s.TimeoutSeconds = &v + return s +} + // Describes a command filter. type CommandFilter struct { _ struct{} `type:"structure"` @@ -16828,7 +16836,7 @@ type CreateDocumentInput struct { // // For examples, see the following topics in the AWS Systems Manager User Guide. // - // * Create an SSM document (console) (https://docs.aws.amazon.com/systems-manager/latest/userguide/create-ssm-console.html) + // * Create an SSM document (AWS API) (https://docs.aws.amazon.com/systems-manager/latest/userguide/create-ssm-document-api.html) // // * Create an SSM document (AWS CLI) (https://docs.aws.amazon.com/systems-manager/latest/userguide/create-ssm-document-cli.html) // @@ -17307,7 +17315,7 @@ type CreateOpsItemInput struct { // Specify a severity to assign to an OpsItem. Severity *string `min:"1" type:"string"` - // The origin of the OpsItem, such as Amazon EC2 or Systems Manager. + // The origin of the OpsItem, such as EC2 or Systems Manager. // // The source name can't contain the following strings: aws, amazon, and amzn. // @@ -22992,7 +23000,8 @@ func (s *DocumentIdentifier) SetVersionName(v string) *DocumentIdentifier { // // For keys, you can specify one or more tags that have been applied to a document. // -// Other valid values include Owner, Name, PlatformTypes, and DocumentType. +// Other valid values include Owner, Name, PlatformTypes, DocumentType, and +// TargetType. // // Note that only one Owner can be specified in a request. For example: Key=Owner,Values=Self. // @@ -31946,7 +31955,7 @@ type ListCommandInvocationsInput struct { Details *bool `type:"boolean"` // (Optional) One or more filters. Use a filter to return a more specific list - // of results. Note that the DocumentName filter is not supported for ListCommandInvocations. + // of results. Filters []*CommandFilter `min:"1" type:"list"` // (Optional) The command execution details for a specific instance ID. @@ -32527,9 +32536,9 @@ type ListDocumentsInput struct { // One or more DocumentKeyValuesFilter objects. Use a filter to return a more // specific list of results. For keys, you can specify one or more key-value // pair tags that have been applied to a document. Other valid keys include - // Owner, Name, PlatformTypes, and DocumentType. For example, to return documents - // you own use Key=Owner,Values=Self. To specify a custom key-value pair, use - // the format Key=tag:tagName,Values=valueName. + // Owner, Name, PlatformTypes, DocumentType, and TargetType. For example, to + // return documents you own use Key=Owner,Values=Self. To specify a custom key-value + // pair, use the format Key=tag:tagName,Values=valueName. Filters []*DocumentKeyValuesFilter `type:"list"` // The maximum number of items to return for this call. The call also returns