From 6a1e7832c3c9fd0580e175c3092b6068d39de495 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Tue, 2 Mar 2021 11:12:23 -0800 Subject: [PATCH] Release v1.37.22 (2021-03-02) (#3804) Release v1.37.22 (2021-03-02) === ### Service Client Updates * `service/compute-optimizer`: Updates service documentation * `service/datasync`: Updates service API and documentation * `service/directconnect`: Updates service documentation * Doc only update for AWS Direct Connect that fixes several customer-reported issues * `service/eventbridge`: Updates service API and documentation * `service/iotwireless`: Updates service API and documentation * `service/managedblockchain`: Updates service documentation --- CHANGELOG.md | 12 + aws/version.go | 2 +- .../compute-optimizer/2019-11-01/docs-2.json | 8 +- models/apis/datasync/2018-11-09/api-2.json | 90 +++ models/apis/datasync/2018-11-09/docs-2.json | 117 ++- .../apis/directconnect/2012-10-25/docs-2.json | 6 +- models/apis/eventbridge/2015-10-07/api-2.json | 12 +- .../apis/eventbridge/2015-10-07/docs-2.json | 8 +- models/apis/iotwireless/2020-11-22/api-2.json | 23 +- .../apis/iotwireless/2020-11-22/docs-2.json | 19 +- .../managedblockchain/2018-09-24/docs-2.json | 26 +- service/computeoptimizer/api.go | 62 +- service/datasync/api.go | 704 +++++++++++++++++- service/datasync/datasynciface/interface.go | 12 + service/directconnect/api.go | 26 +- service/eventbridge/api.go | 34 +- service/iotwireless/api.go | 89 ++- service/managedblockchain/api.go | 33 +- service/managedblockchain/doc.go | 3 +- 19 files changed, 1135 insertions(+), 151 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 75db2bc67ee..cbdce5dc833 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +Release v1.37.22 (2021-03-02) +=== + +### Service Client Updates +* `service/compute-optimizer`: Updates service documentation +* `service/datasync`: Updates service API and documentation +* `service/directconnect`: Updates service documentation + * Doc only update for AWS Direct Connect that fixes several customer-reported issues +* `service/eventbridge`: Updates service API and documentation +* `service/iotwireless`: Updates service API and documentation +* `service/managedblockchain`: Updates service documentation + Release v1.37.21 (2021-03-01) === diff --git a/aws/version.go b/aws/version.go index 0056a984e29..508ca6ae805 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.37.21" +const SDKVersion = "1.37.22" diff --git a/models/apis/compute-optimizer/2019-11-01/docs-2.json b/models/apis/compute-optimizer/2019-11-01/docs-2.json index f2565539d87..d1f7079247a 100644 --- a/models/apis/compute-optimizer/2019-11-01/docs-2.json +++ b/models/apis/compute-optimizer/2019-11-01/docs-2.json @@ -11,7 +11,7 @@ "GetEC2RecommendationProjectedMetrics": "

Returns the projected utilization metrics of Amazon EC2 instance recommendations.

The Cpu and Memory metrics are the only projected utilization metrics returned when you run this action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

", "GetEnrollmentStatus": "

Returns the enrollment (opt in) status of an account to the AWS Compute Optimizer service.

If the account is the management account of an organization, this action also confirms the enrollment status of member accounts within the organization.

", "GetLambdaFunctionRecommendations": "

Returns AWS Lambda function recommendations.

AWS Compute Optimizer generates recommendations for functions that meet a specific set of requirements. For more information, see the Supported resources and requirements in the AWS Compute Optimizer User Guide.

", - "GetRecommendationSummaries": "

Returns the optimization findings for an account.

For example, it returns the number of Amazon EC2 instances in an account that are under-provisioned, over-provisioned, or optimized. It also returns the number of Auto Scaling groups in an account that are not optimized, or optimized.

", + "GetRecommendationSummaries": "

Returns the optimization findings for an account.

It returns the number of:

", "UpdateEnrollmentStatus": "

Updates the enrollment (opt in and opt out) status of an account to the AWS Compute Optimizer service.

If the account is a management account of an organization, this action can also be used to enroll member accounts within the organization.

You must have the appropriate permissions to opt in to Compute Optimizer, to view its recommendations, and to opt out. For more information, see Controlling access with AWS Identity and Access Management in the Compute Optimizer User Guide.

When you opt in, Compute Optimizer automatically creates a Service-Linked Role in your account to access its data. For more information, see Using Service-Linked Roles for AWS Compute Optimizer in the Compute Optimizer User Guide.

" }, "shapes": { @@ -571,7 +571,7 @@ "LambdaFunctionMetricStatistic": { "base": null, "refs": { - "LambdaFunctionUtilizationMetric$statistic": "

The statistic of the utilization metric.

" + "LambdaFunctionUtilizationMetric$statistic": "

The statistic of the utilization metric.

The Compute Optimizer API, AWS Command Line Interface (AWS CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the AWS Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

" } }, "LambdaFunctionRecommendation": { @@ -715,9 +715,9 @@ "MetricStatistic": { "base": null, "refs": { - "EBSUtilizationMetric$statistic": "

The statistic of the utilization metric.

The following statistics are available:

", + "EBSUtilizationMetric$statistic": "

The statistic of the utilization metric.

The Compute Optimizer API, AWS Command Line Interface (AWS CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the AWS Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

", "GetEC2RecommendationProjectedMetricsRequest$stat": "

The statistic of the projected metrics.

", - "UtilizationMetric$statistic": "

The statistic of the utilization metric.

The following statistics are available:

" + "UtilizationMetric$statistic": "

The statistic of the utilization metric.

The Compute Optimizer API, AWS Command Line Interface (AWS CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the AWS Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

" } }, "MetricValue": { diff --git a/models/apis/datasync/2018-11-09/api-2.json b/models/apis/datasync/2018-11-09/api-2.json index 7dada010c30..3df918289a4 100644 --- a/models/apis/datasync/2018-11-09/api-2.json +++ b/models/apis/datasync/2018-11-09/api-2.json @@ -404,6 +404,45 @@ {"shape":"InternalException"} ] }, + "UpdateLocationNfs":{ + "name":"UpdateLocationNfs", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateLocationNfsRequest"}, + "output":{"shape":"UpdateLocationNfsResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InternalException"} + ] + }, + "UpdateLocationObjectStorage":{ + "name":"UpdateLocationObjectStorage", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateLocationObjectStorageRequest"}, + "output":{"shape":"UpdateLocationObjectStorageResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InternalException"} + ] + }, + "UpdateLocationSmb":{ + "name":"UpdateLocationSmb", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateLocationSmbRequest"}, + "output":{"shape":"UpdateLocationSmbResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InternalException"} + ] + }, "UpdateTask":{ "name":"UpdateTask", "http":{ @@ -1624,6 +1663,57 @@ "members":{ } }, + "UpdateLocationNfsRequest":{ + "type":"structure", + "required":["LocationArn"], + "members":{ + "LocationArn":{"shape":"LocationArn"}, + "Subdirectory":{"shape":"NfsSubdirectory"}, + "OnPremConfig":{"shape":"OnPremConfig"}, + "MountOptions":{"shape":"NfsMountOptions"} + } + }, + "UpdateLocationNfsResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateLocationObjectStorageRequest":{ + "type":"structure", + "required":["LocationArn"], + "members":{ + "LocationArn":{"shape":"LocationArn"}, + "ServerPort":{"shape":"ObjectStorageServerPort"}, + "ServerProtocol":{"shape":"ObjectStorageServerProtocol"}, + "Subdirectory":{"shape":"S3Subdirectory"}, + "AccessKey":{"shape":"ObjectStorageAccessKey"}, + "SecretKey":{"shape":"ObjectStorageSecretKey"}, + "AgentArns":{"shape":"AgentArnList"} + } + }, + "UpdateLocationObjectStorageResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateLocationSmbRequest":{ + "type":"structure", + "required":["LocationArn"], + "members":{ + "LocationArn":{"shape":"LocationArn"}, + "Subdirectory":{"shape":"SmbSubdirectory"}, + "User":{"shape":"SmbUser"}, + "Domain":{"shape":"SmbDomain"}, + "Password":{"shape":"SmbPassword"}, + "AgentArns":{"shape":"AgentArnList"}, + "MountOptions":{"shape":"SmbMountOptions"} + } + }, + "UpdateLocationSmbResponse":{ + "type":"structure", + "members":{ + } + }, "UpdateTaskExecutionRequest":{ "type":"structure", "required":[ diff --git a/models/apis/datasync/2018-11-09/docs-2.json b/models/apis/datasync/2018-11-09/docs-2.json index 9a164cbad13..a3e11ecdf5b 100644 --- a/models/apis/datasync/2018-11-09/docs-2.json +++ b/models/apis/datasync/2018-11-09/docs-2.json @@ -5,18 +5,18 @@ "CancelTaskExecution": "

Cancels execution of a task.

When you cancel a task execution, the transfer of some files is abruptly interrupted. The contents of files that are transferred to the destination might be incomplete or inconsistent with the source files. However, if you start a new task execution on the same task and you allow the task execution to complete, file content on the destination is complete and consistent. This applies to other unexpected failures that interrupt a task execution. In all of these cases, AWS DataSync successfully complete the transfer when you start the next task execution.

", "CreateAgent": "

Activates an AWS DataSync agent that you have deployed on your host. The activation process associates your agent with your account. In the activation process, you specify information such as the AWS Region that you want to activate the agent in. You activate the agent in the AWS Region where your target locations (in Amazon S3 or Amazon EFS) reside. Your tasks are created in this AWS Region.

You can activate the agent in a VPC (virtual private cloud) or provide the agent access to a VPC endpoint so you can run tasks without going over the public internet.

You can use an agent for more than one location. If a task uses multiple agents, all of them need to have status AVAILABLE for the task to run. If you use multiple agents for a source location, the status of all the agents must be AVAILABLE for the task to run.

Agents are automatically updated by AWS on a regular basis, using a mechanism that ensures minimal interruption to your tasks.

", "CreateLocationEfs": "

Creates an endpoint for an Amazon EFS file system.

", - "CreateLocationFsxWindows": "

Creates an endpoint for an Amazon FSx for Windows file system.

", + "CreateLocationFsxWindows": "

Creates an endpoint for an Amazon FSx for Windows File Server file system.

", "CreateLocationNfs": "

Defines a file system on a Network File System (NFS) server that can be read from or written to.

", "CreateLocationObjectStorage": "

Creates an endpoint for a self-managed object storage bucket. For more information about self-managed object storage locations, see create-object-location.

", "CreateLocationS3": "

Creates an endpoint for an Amazon S3 bucket.

For more information, see https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli in the AWS DataSync User Guide.

", "CreateLocationSmb": "

Defines a file system on a Server Message Block (SMB) server that can be read from or written to.

", - "CreateTask": "

Creates a task. A task is a set of two locations (source and destination) and a set of Options that you use to control the behavior of a task. If you don't specify Options when you create a task, AWS DataSync populates them with service defaults.

When you create a task, it first enters the CREATING state. During CREATING AWS DataSync attempts to mount the on-premises Network File System (NFS) location. The task transitions to the AVAILABLE state without waiting for the AWS location to become mounted. If required, AWS DataSync mounts the AWS location before each task execution.

If an agent that is associated with a source (NFS) location goes offline, the task transitions to the UNAVAILABLE status. If the status of the task remains in the CREATING status for more than a few minutes, it means that your agent might be having trouble mounting the source NFS file system. Check the task's ErrorCode and ErrorDetail. Mount issues are often caused by either a misconfigured firewall or a mistyped NFS server hostname.

", + "CreateTask": "

Creates a task.

A task includes a source location and a destination location, and a configuration that specifies how data is transferred. A task always transfers data from the source location to the destination location. The configuration specifies options such as task scheduling, bandwidth limits, etc. A task is the complete definition of a data transfer.

When you create a task that transfers data between AWS services in different AWS Regions, one of the two locations that you specify must reside in the Region where DataSync is being used. The other location must be specified in a different Region.

You can transfer data between commercial AWS Regions except for China, or between AWS GovCloud (US-East and US-West) Regions.

When you use DataSync to copy files or objects between AWS Regions, you pay for data transfer between Regions. This is billed as data transfer OUT from your source Region to your destination Region. For more information, see Data Transfer pricing.

", "DeleteAgent": "

Deletes an agent. To specify which agent to delete, use the Amazon Resource Name (ARN) of the agent in your request. The operation disassociates the agent from your AWS account. However, it doesn't delete the agent virtual machine (VM) from your on-premises environment.

", "DeleteLocation": "

Deletes the configuration of a location used by AWS DataSync.

", "DeleteTask": "

Deletes a task.

", "DescribeAgent": "

Returns metadata such as the name, the network interfaces, and the status (that is, whether the agent is running or not) for an agent. To specify which agent to describe, use the Amazon Resource Name (ARN) of the agent in your request.

", "DescribeLocationEfs": "

Returns metadata, such as the path information about an Amazon EFS location.

", - "DescribeLocationFsxWindows": "

Returns metadata, such as the path information about an Amazon FSx for Windows location.

", + "DescribeLocationFsxWindows": "

Returns metadata, such as the path information about an Amazon FSx for Windows File Server location.

", "DescribeLocationNfs": "

Returns metadata, such as the path information, about an NFS location.

", "DescribeLocationObjectStorage": "

Returns metadata about a self-managed object storage server location. For more information about self-managed object storage locations, see create-object-location.

", "DescribeLocationS3": "

Returns metadata, such as bucket name, about an Amazon S3 bucket location.

", @@ -32,8 +32,11 @@ "TagResource": "

Applies a key-value pair to an AWS resource.

", "UntagResource": "

Removes a tag from an AWS resource.

", "UpdateAgent": "

Updates the name of an agent.

", + "UpdateLocationNfs": "

Updates some of the parameters of a previously created location for Network File System (NFS) access. For information about creating an NFS location, see create-nfs-location.

", + "UpdateLocationObjectStorage": "

Updates some of the parameters of a previously created location for self-managed object storage server access. For information about creating a self-managed object storage location, see create-object-location.

", + "UpdateLocationSmb": "

Updates some of the parameters of a previously created location for Server Message Block (SMB) file system access. For information about creating an SMB location, see create-smb-location.

", "UpdateTask": "

Updates the metadata associated with a task.

", - "UpdateTaskExecution": "

Updates execution of a task.

You can modify bandwidth throttling for a task execution that is running or queued. For more information, see Adjusting Bandwidth Throttling for a Task Execution.

The only Option that can be modified by UpdateTaskExecution is BytesPerSecond .

" + "UpdateTaskExecution": "

Updates execution of a task.

You can modify bandwidth throttling for a task execution that is running or queued. For more information, see Adjusting Bandwidth Throttling for a Task Execution.

The only Option that can be modified by UpdateTaskExecution is BytesPerSecond .

" }, "shapes": { "ActivationKey": { @@ -63,7 +66,9 @@ "DescribeLocationObjectStorageResponse$AgentArns": "

The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.

", "DescribeLocationS3Response$AgentArns": "

If you are using DataSync on an AWS Outpost, the Amazon Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more information about launching a DataSync agent on an AWS Outpost, see outposts-agent.

", "DescribeLocationSmbResponse$AgentArns": "

The Amazon Resource Name (ARN) of the source SMB file system location that is created.

", - "OnPremConfig$AgentArns": "

ARNs of the agents to use for an NFS location.

" + "OnPremConfig$AgentArns": "

ARNs of the agents to use for an NFS location.

", + "UpdateLocationObjectStorageRequest$AgentArns": "

The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.

", + "UpdateLocationSmbRequest$AgentArns": "

The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.

" } }, "AgentList": { @@ -339,8 +344,8 @@ "Ec2SecurityGroupArnList": { "base": null, "refs": { - "CreateLocationFsxWindowsRequest$SecurityGroupArns": "

The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for Windows file system.

", - "DescribeLocationFsxWindowsResponse$SecurityGroupArns": "

The Amazon Resource Names (ARNs) of the security groups that are configured for the FSx for Windows file system.

", + "CreateLocationFsxWindowsRequest$SecurityGroupArns": "

The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for Windows File Server file system.

", + "DescribeLocationFsxWindowsResponse$SecurityGroupArns": "

The Amazon Resource Names (ARNs) of the security groups that are configured for the FSx for Windows File Server file system.

", "Ec2Config$SecurityGroupArns": "

The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.

" } }, @@ -420,13 +425,13 @@ "FsxFilesystemArn": { "base": null, "refs": { - "CreateLocationFsxWindowsRequest$FsxFilesystemArn": "

The Amazon Resource Name (ARN) for the FSx for Windows file system.

" + "CreateLocationFsxWindowsRequest$FsxFilesystemArn": "

The Amazon Resource Name (ARN) for the FSx for Windows File Server file system.

" } }, "FsxWindowsSubdirectory": { "base": null, "refs": { - "CreateLocationFsxWindowsRequest$Subdirectory": "

A subdirectory in the location’s path. This subdirectory in the Amazon FSx for Windows file system is used to read data from the Amazon FSx for Windows source location or write data to the FSx for Windows destination.

" + "CreateLocationFsxWindowsRequest$Subdirectory": "

A subdirectory in the location’s path. This subdirectory in the Amazon FSx for Windows File Server file system is used to read data from the Amazon FSx for Windows File Server source location or write data to the FSx for Windows File Server destination.

" } }, "Gid": { @@ -519,7 +524,7 @@ "base": null, "refs": { "CreateLocationEfsResponse$LocationArn": "

The Amazon Resource Name (ARN) of the Amazon EFS file system location that is created.

", - "CreateLocationFsxWindowsResponse$LocationArn": "

The Amazon Resource Name (ARN) of the FSx for Windows file system location that is created.

", + "CreateLocationFsxWindowsResponse$LocationArn": "

The Amazon Resource Name (ARN) of the FSx for Windows File Server file system location that is created.

", "CreateLocationNfsResponse$LocationArn": "

The Amazon Resource Name (ARN) of the source NFS file system location that is created.

", "CreateLocationObjectStorageResponse$LocationArn": "

The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.

", "CreateLocationS3Response$LocationArn": "

The Amazon Resource Name (ARN) of the source Amazon S3 bucket location that is created.

", @@ -529,8 +534,8 @@ "DeleteLocationRequest$LocationArn": "

The Amazon Resource Name (ARN) of the location to delete.

", "DescribeLocationEfsRequest$LocationArn": "

The Amazon Resource Name (ARN) of the EFS location to describe.

", "DescribeLocationEfsResponse$LocationArn": "

The Amazon Resource Name (ARN) of the EFS location that was described.

", - "DescribeLocationFsxWindowsRequest$LocationArn": "

The Amazon Resource Name (ARN) of the FSx for Windows location to describe.

", - "DescribeLocationFsxWindowsResponse$LocationArn": "

The Amazon Resource Name (ARN) of the FSx for Windows location that was described.

", + "DescribeLocationFsxWindowsRequest$LocationArn": "

The Amazon Resource Name (ARN) of the FSx for Windows File Server location to describe.

", + "DescribeLocationFsxWindowsResponse$LocationArn": "

The Amazon Resource Name (ARN) of the FSx for Windows File Server location that was described.

", "DescribeLocationNfsRequest$LocationArn": "

The Amazon Resource Name (ARN) of the NFS location to describe.

", "DescribeLocationNfsResponse$LocationArn": "

The Amazon Resource Name (ARN) of the NFS location that was described.

", "DescribeLocationObjectStorageRequest$LocationArn": "

The Amazon Resource Name (ARN) of the self-managed object storage server location that was described.

", @@ -541,7 +546,10 @@ "DescribeLocationSmbResponse$LocationArn": "

The Amazon Resource Name (ARN) of the SMB location that was described.

", "DescribeTaskResponse$SourceLocationArn": "

The Amazon Resource Name (ARN) of the source file system's location.

", "DescribeTaskResponse$DestinationLocationArn": "

The Amazon Resource Name (ARN) of the AWS storage resource's location.

", - "LocationListEntry$LocationArn": "

The Amazon Resource Name (ARN) of the location. For Network File System (NFS) or Amazon EFS, the location is the export path. For Amazon S3, the location is the prefix path that you want to mount and use as the root of the location.

" + "LocationListEntry$LocationArn": "

The Amazon Resource Name (ARN) of the location. For Network File System (NFS) or Amazon EFS, the location is the export path. For Amazon S3, the location is the prefix path that you want to mount and use as the root of the location.

", + "UpdateLocationNfsRequest$LocationArn": "

The Amazon Resource Name (ARN) of the NFS location to update.

", + "UpdateLocationObjectStorageRequest$LocationArn": "

The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.

", + "UpdateLocationSmbRequest$LocationArn": "

The Amazon Resource Name (ARN) of the SMB location to update.

" } }, "LocationFilter": { @@ -578,7 +586,7 @@ "base": null, "refs": { "DescribeLocationEfsResponse$LocationUri": "

The URL of the EFS location that was described.

", - "DescribeLocationFsxWindowsResponse$LocationUri": "

The URL of the FSx for Windows location that was described.

", + "DescribeLocationFsxWindowsResponse$LocationUri": "

The URL of the FSx for Windows File Server location that was described.

", "DescribeLocationNfsResponse$LocationUri": "

The URL of the source NFS location that was described.

", "DescribeLocationObjectStorageResponse$LocationUri": "

The URL of the source self-managed object storage server location that was described.

", "DescribeLocationS3Response$LocationUri": "

The URL of the Amazon S3 location that was described.

", @@ -642,13 +650,15 @@ "base": "

Represents the mount options that are available for DataSync to access an NFS location.

", "refs": { "CreateLocationNfsRequest$MountOptions": "

The NFS mount options that DataSync can use to mount your NFS share.

", - "DescribeLocationNfsResponse$MountOptions": "

The NFS mount options that DataSync used to mount your NFS share.

" + "DescribeLocationNfsResponse$MountOptions": "

The NFS mount options that DataSync used to mount your NFS share.

", + "UpdateLocationNfsRequest$MountOptions": null } }, "NfsSubdirectory": { "base": null, "refs": { - "CreateLocationNfsRequest$Subdirectory": "

The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

To see all the paths exported by your NFS server, run \"showmount -e nfs-server-name\" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

To transfer all the data in the folder you specified, DataSync needs to have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the permissions for all of the files that you want DataSync allow read access for all users. Doing either enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.

" + "CreateLocationNfsRequest$Subdirectory": "

The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

To see all the paths exported by your NFS server, run \"showmount -e nfs-server-name\" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

To transfer all the data in the folder you specified, DataSync needs to have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the permissions for all of the files that you want DataSync allow read access for all users. Doing either enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.

", + "UpdateLocationNfsRequest$Subdirectory": "

The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

To see all the paths exported by your NFS server, run \"showmount -e nfs-server-name\" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

To transfer all the data in the folder that you specified, DataSync must have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the files you want DataSync to access have permissions that allow read access for all users. Doing either option enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.

" } }, "NfsVersion": { @@ -661,7 +671,8 @@ "base": null, "refs": { "CreateLocationObjectStorageRequest$AccessKey": "

Optional. The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

", - "DescribeLocationObjectStorageResponse$AccessKey": "

Optional. The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

" + "DescribeLocationObjectStorageResponse$AccessKey": "

Optional. The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

", + "UpdateLocationObjectStorageRequest$AccessKey": "

Optional. The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

" } }, "ObjectStorageBucketName": { @@ -673,28 +684,32 @@ "ObjectStorageSecretKey": { "base": null, "refs": { - "CreateLocationObjectStorageRequest$SecretKey": "

Optional. The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

" + "CreateLocationObjectStorageRequest$SecretKey": "

Optional. The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

", + "UpdateLocationObjectStorageRequest$SecretKey": "

Optional. The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

" } }, "ObjectStorageServerPort": { "base": null, "refs": { "CreateLocationObjectStorageRequest$ServerPort": "

The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.

", - "DescribeLocationObjectStorageResponse$ServerPort": "

The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS).

" + "DescribeLocationObjectStorageResponse$ServerPort": "

The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS).

", + "UpdateLocationObjectStorageRequest$ServerPort": "

The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.

" } }, "ObjectStorageServerProtocol": { "base": null, "refs": { "CreateLocationObjectStorageRequest$ServerProtocol": "

The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.

", - "DescribeLocationObjectStorageResponse$ServerProtocol": "

The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.

" + "DescribeLocationObjectStorageResponse$ServerProtocol": "

The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.

", + "UpdateLocationObjectStorageRequest$ServerProtocol": "

The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.

" } }, "OnPremConfig": { "base": "

A list of Amazon Resource Names (ARNs) of agents to use for a Network File System (NFS) location.

", "refs": { "CreateLocationNfsRequest$OnPremConfig": "

Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

", - "DescribeLocationNfsResponse$OnPremConfig": null + "DescribeLocationNfsResponse$OnPremConfig": null, + "UpdateLocationNfsRequest$OnPremConfig": null } }, "Operator": { @@ -797,7 +812,8 @@ "base": null, "refs": { "CreateLocationObjectStorageRequest$Subdirectory": "

The subdirectory in the self-managed object storage server that is used to read data from.

", - "CreateLocationS3Request$Subdirectory": "

A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is used to read data from the S3 source location or write data to the S3 destination.

" + "CreateLocationS3Request$Subdirectory": "

A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is used to read data from the S3 source location or write data to the S3 destination.

", + "UpdateLocationObjectStorageRequest$Subdirectory": "

The subdirectory in the self-managed object storage server that is used to read data from.

" } }, "ScheduleExpressionCron": { @@ -817,39 +833,44 @@ "SmbDomain": { "base": null, "refs": { - "CreateLocationFsxWindowsRequest$Domain": "

The name of the Windows domain that the FSx for Windows server belongs to.

", + "CreateLocationFsxWindowsRequest$Domain": "

The name of the Windows domain that the FSx for Windows File Server belongs to.

", "CreateLocationSmbRequest$Domain": "

The name of the Windows domain that the SMB server belongs to.

", - "DescribeLocationFsxWindowsResponse$Domain": "

The name of the Windows domain that the FSx for Windows server belongs to.

", - "DescribeLocationSmbResponse$Domain": "

The name of the Windows domain that the SMB server belongs to.

" + "DescribeLocationFsxWindowsResponse$Domain": "

The name of the Windows domain that the FSx for Windows File Server belongs to.

", + "DescribeLocationSmbResponse$Domain": "

The name of the Windows domain that the SMB server belongs to.

", + "UpdateLocationSmbRequest$Domain": "

The name of the Windows domain that the SMB server belongs to.

" } }, "SmbMountOptions": { "base": "

Represents the mount options that are available for DataSync to access an SMB location.

", "refs": { "CreateLocationSmbRequest$MountOptions": "

The mount options used by DataSync to access the SMB server.

", - "DescribeLocationSmbResponse$MountOptions": "

The mount options that are available for DataSync to use to access an SMB location.

" + "DescribeLocationSmbResponse$MountOptions": "

The mount options that are available for DataSync to use to access an SMB location.

", + "UpdateLocationSmbRequest$MountOptions": null } }, "SmbPassword": { "base": null, "refs": { - "CreateLocationFsxWindowsRequest$Password": "

The password of the user who has the permissions to access files and folders in the FSx for Windows file system.

", - "CreateLocationSmbRequest$Password": "

The password of the user who can mount the share, has the permissions to access files and folders in the SMB share.

" + "CreateLocationFsxWindowsRequest$Password": "

The password of the user who has the permissions to access files and folders in the FSx for Windows File Server file system.

", + "CreateLocationSmbRequest$Password": "

The password of the user who can mount the share, has the permissions to access files and folders in the SMB share.

", + "UpdateLocationSmbRequest$Password": "

The password of the user who can mount the share has the permissions to access files and folders in the SMB share.

" } }, "SmbSubdirectory": { "base": null, "refs": { - "CreateLocationSmbRequest$Subdirectory": "

The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination. The SMB path should be a path that's exported by the SMB server, or a subdirectory of that path. The path should be such that it can be mounted by other SMB clients in your network.

Subdirectory must be specified with forward slashes. For example, /path/to/folder.

To transfer all the data in the folder you specified, DataSync needs to have permissions to mount the SMB share, as well as to access all the data in that share. To ensure this, either ensure that the user/password specified belongs to the user who can mount the share, and who has the appropriate permissions for all of the files and directories that you want DataSync to access, or use credentials of a member of the Backup Operators group to mount the share. Doing either enables the agent to access the data. For the agent to access directories, you must additionally enable all execute access.

" + "CreateLocationSmbRequest$Subdirectory": "

The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination. The SMB path should be a path that's exported by the SMB server, or a subdirectory of that path. The path should be such that it can be mounted by other SMB clients in your network.

Subdirectory must be specified with forward slashes. For example, /path/to/folder.

To transfer all the data in the folder you specified, DataSync needs to have permissions to mount the SMB share, as well as to access all the data in that share. To ensure this, either ensure that the user/password specified belongs to the user who can mount the share, and who has the appropriate permissions for all of the files and directories that you want DataSync to access, or use credentials of a member of the Backup Operators group to mount the share. Doing either enables the agent to access the data. For the agent to access directories, you must additionally enable all execute access.

", + "UpdateLocationSmbRequest$Subdirectory": "

The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination. The SMB path should be a path that's exported by the SMB server, or a subdirectory of that path. The path should be such that it can be mounted by other SMB clients in your network.

Subdirectory must be specified with forward slashes. For example, /path/to/folder.

To transfer all the data in the folder that you specified, DataSync must have permissions to mount the SMB share and to access all the data in that share. To ensure this, do either of the following:

Doing either of these options enables the agent to access the data. For the agent to access directories, you must also enable all execute access.

" } }, "SmbUser": { "base": null, "refs": { - "CreateLocationFsxWindowsRequest$User": "

The user who has the permissions to access files and folders in the FSx for Windows file system.

", + "CreateLocationFsxWindowsRequest$User": "

The user who has the permissions to access files and folders in the FSx for Windows File Server file system.

", "CreateLocationSmbRequest$User": "

The user who can mount the share, has the permissions to access files and folders in the SMB share.

", - "DescribeLocationFsxWindowsResponse$User": "

The user who has the permissions to access files and folders in the FSx for Windows file system.

", - "DescribeLocationSmbResponse$User": "

The user who can mount the share, has the permissions to access files and folders in the SMB share.

" + "DescribeLocationFsxWindowsResponse$User": "

The user who has the permissions to access files and folders in the FSx for Windows File Server file system.

", + "DescribeLocationSmbResponse$User": "

The user who can mount the share, has the permissions to access files and folders in the SMB share.

", + "UpdateLocationSmbRequest$User": "

The user who can mount the share has the permissions to access files and folders in the SMB share.

" } }, "SmbVersion": { @@ -1033,7 +1054,7 @@ "DescribeAgentResponse$LastConnectionTime": "

The time that the agent last connected to DataSyc.

", "DescribeAgentResponse$CreationTime": "

The time that the agent was activated (that is, created in your account).

", "DescribeLocationEfsResponse$CreationTime": "

The time that the EFS location was created.

", - "DescribeLocationFsxWindowsResponse$CreationTime": "

The time that the FSx for Windows location was created.

", + "DescribeLocationFsxWindowsResponse$CreationTime": "

The time that the FSx for Windows File Server location was created.

", "DescribeLocationNfsResponse$CreationTime": "

The time that the NFS location was created.

", "DescribeLocationObjectStorageResponse$CreationTime": "

The time that the self-managed object storage server agent was created.

", "DescribeLocationS3Response$CreationTime": "

The time that the Amazon S3 bucket location was created.

", @@ -1074,6 +1095,36 @@ "refs": { } }, + "UpdateLocationNfsRequest": { + "base": null, + "refs": { + } + }, + "UpdateLocationNfsResponse": { + "base": null, + "refs": { + } + }, + "UpdateLocationObjectStorageRequest": { + "base": null, + "refs": { + } + }, + "UpdateLocationObjectStorageResponse": { + "base": null, + "refs": { + } + }, + "UpdateLocationSmbRequest": { + "base": null, + "refs": { + } + }, + "UpdateLocationSmbResponse": { + "base": null, + "refs": { + } + }, "UpdateTaskExecutionRequest": { "base": null, "refs": { diff --git a/models/apis/directconnect/2012-10-25/docs-2.json b/models/apis/directconnect/2012-10-25/docs-2.json index 064c2e74e94..c97973bf1e5 100644 --- a/models/apis/directconnect/2012-10-25/docs-2.json +++ b/models/apis/directconnect/2012-10-25/docs-2.json @@ -15,7 +15,7 @@ "ConfirmPrivateVirtualInterface": "

Accepts ownership of a private virtual interface created by another AWS account.

After the virtual interface owner makes this call, the virtual interface is created and attached to the specified virtual private gateway or Direct Connect gateway, and is made available to handle traffic.

", "ConfirmPublicVirtualInterface": "

Accepts ownership of a public virtual interface created by another AWS account.

After the virtual interface owner makes this call, the specified virtual interface is created and made available to handle traffic.

", "ConfirmTransitVirtualInterface": "

Accepts ownership of a transit virtual interface created by another AWS account.

After the owner of the transit virtual interface makes this call, the specified transit virtual interface is created and made available to handle traffic.

", - "CreateBGPPeer": "

Creates a BGP peer on the specified virtual interface.

You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access AWS resources that also use that address family.

If logical redundancy is not supported by the connection, interconnect, or LAG, the BGP peer cannot be in the same address family as an existing BGP peer on the virtual interface.

When creating a IPv6 BGP peer, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses.

For a public virtual interface, the Autonomous System Number (ASN) must be private or already whitelisted for the virtual interface.

", + "CreateBGPPeer": "

Creates a BGP peer on the specified virtual interface.

You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access AWS resources that also use that address family.

If logical redundancy is not supported by the connection, interconnect, or LAG, the BGP peer cannot be in the same address family as an existing BGP peer on the virtual interface.

When creating a IPv6 BGP peer, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses.

For a public virtual interface, the Autonomous System Number (ASN) must be private or already on the allow list for the virtual interface.

", "CreateConnection": "

Creates a connection between a customer network and a specific AWS Direct Connect location.

A connection links your internal network to an AWS Direct Connect location over a standard Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router.

To find the locations for your Region, use DescribeLocations.

You can automatically add the new connection to a link aggregation group (LAG) by specifying a LAG ID in the request. This ensures that the new connection is allocated on the same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request fails and no connection is created.

", "CreateDirectConnectGateway": "

Creates a Direct Connect gateway, which is an intermediate object that enables you to connect a set of virtual interfaces and virtual private gateways. A Direct Connect gateway is global and visible in any AWS Region after it is created. The virtual interfaces and virtual private gateways that are connected through a Direct Connect gateway can be in different AWS Regions. This enables you to connect to a VPC in any Region, regardless of the Region in which the virtual interfaces are located, and pass traffic between them.

", "CreateDirectConnectGatewayAssociation": "

Creates an association between a Direct Connect gateway and a virtual private gateway. The virtual private gateway must be attached to a VPC and must not be associated with another Direct Connect gateway.

", @@ -37,7 +37,7 @@ "DescribeConnections": "

Displays the specified connection or all connections in this Region.

", "DescribeConnectionsOnInterconnect": "

Deprecated. Use DescribeHostedConnections instead.

Lists the connections that have been provisioned on the specified interconnect.

Intended for use by AWS Direct Connect Partners only.

", "DescribeDirectConnectGatewayAssociationProposals": "

Describes one or more association proposals for connection between a virtual private gateway or transit gateway and a Direct Connect gateway.

", - "DescribeDirectConnectGatewayAssociations": "

Lists the associations between your Direct Connect gateways and virtual private gateways. You must specify a Direct Connect gateway, a virtual private gateway, or both. If you specify a Direct Connect gateway, the response contains all virtual private gateways associated with the Direct Connect gateway. If you specify a virtual private gateway, the response contains all Direct Connect gateways associated with the virtual private gateway. If you specify both, the response contains the association between the Direct Connect gateway and the virtual private gateway.

", + "DescribeDirectConnectGatewayAssociations": "

Lists the associations between your Direct Connect gateways and virtual private gateways and transit gateways. You must specify one of the following:

", "DescribeDirectConnectGatewayAttachments": "

Lists the attachments between your Direct Connect gateways and virtual interfaces. You must specify a Direct Connect gateway, a virtual interface, or both. If you specify a Direct Connect gateway, the response contains all virtual interfaces attached to the Direct Connect gateway. If you specify a virtual interface, the response contains all Direct Connect gateways attached to the virtual interface. If you specify both, the response contains the attachment between the Direct Connect gateway and the virtual interface.

", "DescribeDirectConnectGateways": "

Lists all your Direct Connect gateways or only the specified Direct Connect gateway. Deleted Direct Connect gateways are not returned.

", "DescribeHostedConnections": "

Lists the hosted connections that have been provisioned on the specified interconnect or link aggregation group (LAG).

Intended for use by AWS Direct Connect Partners only.

", @@ -1398,7 +1398,7 @@ "ConfirmPrivateVirtualInterfaceRequest$virtualGatewayId": "

The ID of the virtual private gateway.

", "CreateDirectConnectGatewayAssociationRequest$virtualGatewayId": "

The ID of the virtual private gateway.

", "DeleteDirectConnectGatewayAssociationRequest$virtualGatewayId": "

The ID of the virtual private gateway.

", - "DescribeDirectConnectGatewayAssociationsRequest$virtualGatewayId": "

The ID of the virtual private gateway.

", + "DescribeDirectConnectGatewayAssociationsRequest$virtualGatewayId": "

The ID of the virtual private gateway or transit gateway.

", "DirectConnectGatewayAssociation$virtualGatewayId": "

The ID of the virtual private gateway. Applies only to private virtual interfaces.

", "NewPrivateVirtualInterface$virtualGatewayId": "

The ID of the virtual private gateway.

", "VirtualGateway$virtualGatewayId": "

The ID of the virtual private gateway.

", diff --git a/models/apis/eventbridge/2015-10-07/api-2.json b/models/apis/eventbridge/2015-10-07/api-2.json index 9ba53e2a118..d03838bd722 100644 --- a/models/apis/eventbridge/2015-10-07/api-2.json +++ b/models/apis/eventbridge/2015-10-07/api-2.json @@ -792,13 +792,13 @@ "type":"string", "max":64, "min":1, - "pattern":"([a-zA-Z0-9]+)|(\\$(\\.[\\w_-]+(\\[(\\d+|\\*)\\])*)*)" + "pattern":"([a-zA-Z0-9_+.-@]+)|(\\$(\\.[\\w_-]+(\\[(\\d+|\\*)\\])*)*)" }, "DbUser":{ "type":"string", "max":128, "min":1, - "pattern":"([a-zA-Z0-9]+)|(\\$(\\.[\\w_-]+(\\[(\\d+|\\*)\\])*)*)" + "pattern":"([a-zA-Z0-9_+.-@]+)|(\\$(\\.[\\w_-]+(\\[(\\d+|\\*)\\])*)*)" }, "DeactivateEventSourceRequest":{ "type":"structure", @@ -1433,7 +1433,8 @@ "Resources":{"shape":"EventResourceList"}, "DetailType":{"shape":"String"}, "Detail":{"shape":"String"}, - "EventBusName":{"shape":"NonPartnerEventBusNameOrArn"} + "EventBusName":{"shape":"NonPartnerEventBusNameOrArn"}, + "TraceHeader":{"shape":"TraceHeader"} } }, "PutEventsRequestEntryList":{ @@ -2002,6 +2003,11 @@ } }, "Timestamp":{"type":"timestamp"}, + "TraceHeader":{ + "type":"string", + "max":500, + "min":1 + }, "TransformerInput":{ "type":"string", "max":8192, diff --git a/models/apis/eventbridge/2015-10-07/docs-2.json b/models/apis/eventbridge/2015-10-07/docs-2.json index 614dc3a3ef8..358d159e663 100644 --- a/models/apis/eventbridge/2015-10-07/docs-2.json +++ b/models/apis/eventbridge/2015-10-07/docs-2.json @@ -1285,7 +1285,7 @@ "PutPartnerEventsRequestEntry$Detail": "

A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.

", "PutPermissionRequest$Policy": "

A JSON string that describes the permission policy statement. You can include a Policy parameter in the request instead of using the StatementId, Action, Principal, or Condition parameters.

", "StringList$member": null, - "TestEventPatternRequest$Event": "

The event, in JSON format, to test against the event pattern.

" + "TestEventPatternRequest$Event": "

The event, in JSON format, to test against the event pattern. The JSON must follow the format specified in AWS Events, and the following fields are mandatory:

" } }, "StringList": { @@ -1431,6 +1431,12 @@ "UpdateArchiveResponse$CreationTime": "

The time at which the archive was updated.

" } }, + "TraceHeader": { + "base": null, + "refs": { + "PutEventsRequestEntry$TraceHeader": "

An AWS X-Ray trade header, which is an http header (X-Amzn-Trace-Id) that contains the trace-id associated with the event.

To learn more about X-Ray trace headers, see Tracing header in the AWS X-Ray Developer Guide.

" + } + }, "TransformerInput": { "base": null, "refs": { diff --git a/models/apis/iotwireless/2020-11-22/api-2.json b/models/apis/iotwireless/2020-11-22/api-2.json index 1cdeccbbfed..21a135a4d82 100644 --- a/models/apis/iotwireless/2020-11-22/api-2.json +++ b/models/apis/iotwireless/2020-11-22/api-2.json @@ -920,13 +920,15 @@ "ClientRequestToken":{ "shape":"ClientRequestToken", "idempotencyToken":true - } + }, + "Tags":{"shape":"TagList"} } }, "AssociateAwsAccountWithPartnerAccountResponse":{ "type":"structure", "members":{ - "Sidewalk":{"shape":"SidewalkAccountInfo"} + "Sidewalk":{"shape":"SidewalkAccountInfo"}, + "Arn":{"shape":"PartnerAccountArn"} } }, "AssociateWirelessDeviceWithThingRequest":{ @@ -1154,13 +1156,15 @@ "ClientRequestToken":{ "shape":"ClientRequestToken", "idempotencyToken":true - } + }, + "Tags":{"shape":"TagList"} } }, "CreateWirelessGatewayTaskDefinitionResponse":{ "type":"structure", "members":{ - "Id":{"shape":"WirelessGatewayTaskDefinitionId"} + "Id":{"shape":"WirelessGatewayTaskDefinitionId"}, + "Arn":{"shape":"WirelessGatewayTaskDefinitionArn"} } }, "CreateWirelessGatewayTaskRequest":{ @@ -1753,7 +1757,8 @@ "members":{ "AutoCreateTasks":{"shape":"AutoCreateTasks"}, "Name":{"shape":"WirelessGatewayTaskName"}, - "Update":{"shape":"UpdateWirelessGatewayTaskCreate"} + "Update":{"shape":"UpdateWirelessGatewayTaskCreate"}, + "Arn":{"shape":"WirelessGatewayTaskDefinitionArn"} } }, "GetWirelessGatewayTaskRequest":{ @@ -2216,6 +2221,7 @@ "max":32, "min":1 }, + "PartnerAccountArn":{"type":"string"}, "PartnerAccountId":{ "type":"string", "max":256 @@ -2382,7 +2388,8 @@ "type":"structure", "members":{ "AmazonId":{"shape":"AmazonId"}, - "Fingerprint":{"shape":"Fingerprint"} + "Fingerprint":{"shape":"Fingerprint"}, + "Arn":{"shape":"PartnerAccountArn"} } }, "SidewalkAccountList":{ @@ -2659,7 +2666,8 @@ "type":"structure", "members":{ "Id":{"shape":"WirelessGatewayTaskDefinitionId"}, - "LoRaWAN":{"shape":"LoRaWANUpdateGatewayTaskEntry"} + "LoRaWAN":{"shape":"LoRaWANUpdateGatewayTaskEntry"}, + "Arn":{"shape":"WirelessGatewayTaskDefinitionArn"} } }, "ValidationException":{ @@ -2750,6 +2758,7 @@ "type":"list", "member":{"shape":"WirelessGatewayStatistics"} }, + "WirelessGatewayTaskDefinitionArn":{"type":"string"}, "WirelessGatewayTaskDefinitionId":{ "type":"string", "max":36, diff --git a/models/apis/iotwireless/2020-11-22/docs-2.json b/models/apis/iotwireless/2020-11-22/docs-2.json index 821c5a0a8ac..9cd43ba0f68 100644 --- a/models/apis/iotwireless/2020-11-22/docs-2.json +++ b/models/apis/iotwireless/2020-11-22/docs-2.json @@ -784,7 +784,7 @@ "AssociateWirelessGatewayWithCertificateRequest$IotCertificateId": "

The ID of the certificate to associate with the wireless gateway.

", "AssociateWirelessGatewayWithCertificateResponse$IotCertificateId": "

The ID of the certificate associated with the wireless gateway.

", "GetWirelessGatewayCertificateResponse$IotCertificateId": "

The ID of the certificate associated with the wireless gateway.

", - "GetWirelessGatewayCertificateResponse$LoRaWANNetworkServerCertificateId": "

The ID of the certificate associated with the wireless gateway and used for LoRaWANNetworkServer endpoint.

" + "GetWirelessGatewayCertificateResponse$LoRaWANNetworkServerCertificateId": "

The ID of the certificate that is associated with the wireless gateway and used for the LoRaWANNetworkServer endpoint.

" } }, "JoinEui": { @@ -1092,6 +1092,13 @@ "LoRaWANGatewayVersion$PackageVersion": "

The version of the wireless gateway firmware.

" } }, + "PartnerAccountArn": { + "base": null, + "refs": { + "AssociateAwsAccountWithPartnerAccountResponse$Arn": "

The Amazon Resource Name of the resource.

", + "SidewalkAccountInfoWithFingerprint$Arn": "

The Amazon Resource Name of the resource.

" + } + }, "PartnerAccountId": { "base": null, "refs": { @@ -1398,10 +1405,12 @@ "TagList": { "base": null, "refs": { + "AssociateAwsAccountWithPartnerAccountRequest$Tags": "

The tags attached to the specified resource. Tags are metadata that can be used to manage a resource

", "CreateDestinationRequest$Tags": "

The tags to attach to the new destination. Tags are metadata that can be used to manage a resource.

", "CreateDeviceProfileRequest$Tags": "

The tags to attach to the new device profile Tags are metadata that can be used to manage a resource.

", "CreateServiceProfileRequest$Tags": "

The tags to attach to the new service profile. Tags are metadata that can be used to manage a resource.

", "CreateWirelessGatewayRequest$Tags": "

The tags to attach to the new wireless gateway. Tags are metadata that can be used to manage a resource.

", + "CreateWirelessGatewayTaskDefinitionRequest$Tags": "

The tags attached to the specified resource. Tags are metadata that can be used to manage a resource

", "ListTagsForResourceResponse$Tags": "

The tags attached to the specified resource. Tags are metadata that can be used to manage a resource

", "TagResourceRequest$Tags": "

Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.

" } @@ -1693,6 +1702,14 @@ "ListWirelessGatewaysResponse$WirelessGatewayList": "

The ID of the wireless gateway.

" } }, + "WirelessGatewayTaskDefinitionArn": { + "base": null, + "refs": { + "CreateWirelessGatewayTaskDefinitionResponse$Arn": "

The Amazon Resource Name of the resource.

", + "GetWirelessGatewayTaskDefinitionResponse$Arn": "

The Amazon Resource Name of the resource.

", + "UpdateWirelessGatewayTaskEntry$Arn": "

The Amazon Resource Name of the resource.

" + } + }, "WirelessGatewayTaskDefinitionId": { "base": null, "refs": { diff --git a/models/apis/managedblockchain/2018-09-24/docs-2.json b/models/apis/managedblockchain/2018-09-24/docs-2.json index b31d51be9a8..a6aea1972dd 100644 --- a/models/apis/managedblockchain/2018-09-24/docs-2.json +++ b/models/apis/managedblockchain/2018-09-24/docs-2.json @@ -1,10 +1,10 @@ { "version": "2.0", - "service": "

Amazon Managed Blockchain is a fully managed service for creating and managing blockchain networks using open-source frameworks. Blockchain allows you to build applications where multiple parties can securely and transparently run transactions and share data without the need for a trusted, central authority.

Managed Blockchain supports the Hyperledger Fabric and Ethereum open-source frameworks. Ethereum on Managed Blockchain is in preview release and is subject to change. Because of fundamental differences between the frameworks, some API actions or data types may only apply in the context of one framework and not the other. For example, actions related to Hyperledger Fabric network members such as CreateMember and DeleteMember do not apply to Ethereum.

The description for each action indicates the framework or frameworks to which it applies. Data types and properties that apply only in the context of a particular framework are similarly indicated.

", + "service": "

Amazon Managed Blockchain is a fully managed service for creating and managing blockchain networks using open-source frameworks. Blockchain allows you to build applications where multiple parties can securely and transparently run transactions and share data without the need for a trusted, central authority.

Managed Blockchain supports the Hyperledger Fabric and Ethereum open-source frameworks. Because of fundamental differences between the frameworks, some API actions or data types may only apply in the context of one framework and not the other. For example, actions related to Hyperledger Fabric network members such as CreateMember and DeleteMember do not apply to Ethereum.

The description for each action indicates the framework or frameworks to which it applies. Data types and properties that apply only in the context of a particular framework are similarly indicated.

", "operations": { "CreateMember": "

Creates a member within a Managed Blockchain network.

Applies only to Hyperledger Fabric.

", "CreateNetwork": "

Creates a new blockchain network using Amazon Managed Blockchain.

Applies only to Hyperledger Fabric.

", - "CreateNode": "

Creates a node on the specified blockchain network.

Applies to Hyperledger Fabric and Ethereum.

Ethereum on Managed Blockchain is in preview release and is subject to change.

", + "CreateNode": "

Creates a node on the specified blockchain network.

Applies to Hyperledger Fabric and Ethereum.

", "CreateProposal": "

Creates a proposal for a change to the network that other members of the network can vote on, for example, a proposal to add a new member to the network. Any member can create a proposal.

Applies only to Hyperledger Fabric.

", "DeleteMember": "

Deletes a member. Deleting a member removes the member and all associated resources from the network. DeleteMember can only be called for a specified MemberId if the principal performing the action is associated with the AWS account that owns the member. In all other cases, the DeleteMember action is carried out as the result of an approved proposal to remove a member. If MemberId is the last member in a network specified by the last AWS account, the network is deleted also.

Applies only to Hyperledger Fabric.

", "DeleteNode": "

Deletes a node that your AWS account owns. All data on the node is lost and cannot be recovered.

Applies to Hyperledger Fabric and Ethereum.

", @@ -60,8 +60,8 @@ "AvailabilityZoneString": { "base": null, "refs": { - "Node$AvailabilityZone": "

The Availability Zone in which the node exists. Required for Ethereum nodes. Ethereum on Managed Blockchain is in preview release and is subject to change.

", - "NodeConfiguration$AvailabilityZone": "

The Availability Zone in which the node exists. Required for Ethereum nodes. Ethereum on Managed Blockchain is in preview release and is subject to change.

", + "Node$AvailabilityZone": "

The Availability Zone in which the node exists. Required for Ethereum nodes.

", + "NodeConfiguration$AvailabilityZone": "

The Availability Zone in which the node exists. Required for Ethereum nodes.

", "NodeSummary$AvailabilityZone": "

The Availability Zone in which the node exists.

" } }, @@ -232,11 +232,11 @@ "InputTagMap": { "base": null, "refs": { - "CreateNetworkInput$Tags": "

Tags to assign to the network. Each tag consists of a key and optional value.

When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 added to each resource.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

", - "CreateNodeInput$Tags": "

Tags to assign to the node. Each tag consists of a key and optional value.

When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 added to each resource.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

", - "CreateProposalInput$Tags": "

Tags to assign to the proposal. Each tag consists of a key and optional value.

When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 added to each resource. If the proposal is for a network invitation, the invitation inherits the tags added to the proposal.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

", - "MemberConfiguration$Tags": "

Tags assigned to the member. Tags consist of a key and optional value. For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 added to each resource.

", - "TagResourceRequest$Tags": "

The tags to assign to the specified resource. Tag values can be empty, for example, \"MyTagKey\" : \"\". You can specify multiple key-value pairs in a single request, with an overall maximum of 50 added to each resource.

" + "CreateNetworkInput$Tags": "

Tags to assign to the network. Each tag consists of a key and optional value.

When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

", + "CreateNodeInput$Tags": "

Tags to assign to the node. Each tag consists of a key and optional value.

When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

", + "CreateProposalInput$Tags": "

Tags to assign to the proposal. Each tag consists of a key and optional value.

When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource. If the proposal is for a network invitation, the invitation inherits the tags added to the proposal.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

", + "MemberConfiguration$Tags": "

Tags assigned to the member. Tags consist of a key and optional value. For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.

", + "TagResourceRequest$Tags": "

The tags to assign to the specified resource. Tag values can be empty, for example, \"MyTagKey\" : \"\". You can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.

" } }, "InstanceTypeString": { @@ -470,9 +470,9 @@ } }, "NetworkEthereumAttributes": { - "base": "

Attributes of Ethereum for a network. Ethereum on Managed Blockchain is in preview release and is subject to change.

", + "base": "

Attributes of Ethereum for a network.

", "refs": { - "NetworkFrameworkAttributes$Ethereum": "

Attributes of an Ethereum network for Managed Blockchain resources participating in an Ethereum network. Ethereum on Managed Blockchain is in preview release and is subject to change.

" + "NetworkFrameworkAttributes$Ethereum": "

Attributes of an Ethereum network for Managed Blockchain resources participating in an Ethereum network.

" } }, "NetworkFabricAttributes": { @@ -550,9 +550,9 @@ } }, "NodeEthereumAttributes": { - "base": "

Attributes of an Ethereum node. Ethereum on Managed Blockchain is in preview release and is subject to change.

", + "base": "

Attributes of an Ethereum node.

", "refs": { - "NodeFrameworkAttributes$Ethereum": "

Attributes of Ethereum for a node on a Managed Blockchain network that uses Ethereum. Ethereum on Managed Blockchain is in preview release and is subject to change.

" + "NodeFrameworkAttributes$Ethereum": "

Attributes of Ethereum for a node on a Managed Blockchain network that uses Ethereum.

" } }, "NodeFabricAttributes": { diff --git a/service/computeoptimizer/api.go b/service/computeoptimizer/api.go index 2d51f2d5beb..0adac6bc1b1 100644 --- a/service/computeoptimizer/api.go +++ b/service/computeoptimizer/api.go @@ -1012,10 +1012,16 @@ func (c *ComputeOptimizer) GetRecommendationSummariesRequest(input *GetRecommend // // Returns the optimization findings for an account. // -// For example, it returns the number of Amazon EC2 instances in an account -// that are under-provisioned, over-provisioned, or optimized. It also returns -// the number of Auto Scaling groups in an account that are not optimized, or -// optimized. +// It returns the number of: +// +// * Amazon EC2 instances in an account that are Underprovisioned, Overprovisioned, +// or Optimized. +// +// * Auto Scaling groups in an account that are NotOptimized, or Optimized. +// +// * Amazon EBS volumes in an account that are NotOptimized, or Optimized. +// +// * Lambda functions in an account that are NotOptimized, or Optimized. // // 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 @@ -1623,13 +1629,17 @@ type EBSUtilizationMetric struct { // The statistic of the utilization metric. // - // The following statistics are available: - // - // * Average - This is the value of Sum / SampleCount during the specified - // period, or the average value observed during the specified period. - // - // * Maximum - The highest value observed during the specified period. Use - // this value to determine high volumes of activity for your application. + // The Compute Optimizer API, AWS Command Line Interface (AWS CLI), and SDKs + // return utilization metrics using only the Maximum statistic, which is the + // highest value observed during the specified period. + // + // The Compute Optimizer console displays graphs for some utilization metrics + // using the Average statistic, which is the value of Sum / SampleCount during + // the specified period. For more information, see Viewing resource recommendations + // (https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html) + // in the AWS Compute Optimizer User Guide. You can also get averaged utilization + // metric data for your resources using Amazon CloudWatch. For more information, + // see the Amazon CloudWatch User Guide (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html). Statistic *string `locationName:"statistic" type:"string" enum:"MetricStatistic"` // The value of the utilization metric. @@ -3497,6 +3507,18 @@ type LambdaFunctionUtilizationMetric struct { Name *string `locationName:"name" type:"string" enum:"LambdaFunctionMetricName"` // The statistic of the utilization metric. + // + // The Compute Optimizer API, AWS Command Line Interface (AWS CLI), and SDKs + // return utilization metrics using only the Maximum statistic, which is the + // highest value observed during the specified period. + // + // The Compute Optimizer console displays graphs for some utilization metrics + // using the Average statistic, which is the value of Sum / SampleCount during + // the specified period. For more information, see Viewing resource recommendations + // (https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html) + // in the AWS Compute Optimizer User Guide. You can also get averaged utilization + // metric data for your resources using Amazon CloudWatch. For more information, + // see the Amazon CloudWatch User Guide (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html). Statistic *string `locationName:"statistic" type:"string" enum:"LambdaFunctionMetricStatistic"` // The value of the utilization metric. @@ -4462,13 +4484,17 @@ type UtilizationMetric struct { // The statistic of the utilization metric. // - // The following statistics are available: - // - // * Average - This is the value of Sum / SampleCount during the specified - // period, or the average value observed during the specified period. - // - // * Maximum - The highest value observed during the specified period. Use - // this value to determine high volumes of activity for your application. + // The Compute Optimizer API, AWS Command Line Interface (AWS CLI), and SDKs + // return utilization metrics using only the Maximum statistic, which is the + // highest value observed during the specified period. + // + // The Compute Optimizer console displays graphs for some utilization metrics + // using the Average statistic, which is the value of Sum / SampleCount during + // the specified period. For more information, see Viewing resource recommendations + // (https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html) + // in the AWS Compute Optimizer User Guide. You can also get averaged utilization + // metric data for your resources using Amazon CloudWatch. For more information, + // see the Amazon CloudWatch User Guide (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html). Statistic *string `locationName:"statistic" type:"string" enum:"MetricStatistic"` // The value of the utilization metric. diff --git a/service/datasync/api.go b/service/datasync/api.go index 43276deb712..ee60de2cfb4 100644 --- a/service/datasync/api.go +++ b/service/datasync/api.go @@ -330,7 +330,7 @@ func (c *DataSync) CreateLocationFsxWindowsRequest(input *CreateLocationFsxWindo // CreateLocationFsxWindows API operation for AWS DataSync. // -// Creates an endpoint for an Amazon FSx for Windows file system. +// Creates an endpoint for an Amazon FSx for Windows File Server file system. // // 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 @@ -746,23 +746,26 @@ func (c *DataSync) CreateTaskRequest(input *CreateTaskInput) (req *request.Reque // CreateTask API operation for AWS DataSync. // -// Creates a task. A task is a set of two locations (source and destination) -// and a set of Options that you use to control the behavior of a task. If you -// don't specify Options when you create a task, AWS DataSync populates them -// with service defaults. +// Creates a task. // -// When you create a task, it first enters the CREATING state. During CREATING -// AWS DataSync attempts to mount the on-premises Network File System (NFS) -// location. The task transitions to the AVAILABLE state without waiting for -// the AWS location to become mounted. If required, AWS DataSync mounts the -// AWS location before each task execution. +// A task includes a source location and a destination location, and a configuration +// that specifies how data is transferred. A task always transfers data from +// the source location to the destination location. The configuration specifies +// options such as task scheduling, bandwidth limits, etc. A task is the complete +// definition of a data transfer. // -// If an agent that is associated with a source (NFS) location goes offline, -// the task transitions to the UNAVAILABLE status. If the status of the task -// remains in the CREATING status for more than a few minutes, it means that -// your agent might be having trouble mounting the source NFS file system. Check -// the task's ErrorCode and ErrorDetail. Mount issues are often caused by either -// a misconfigured firewall or a mistyped NFS server hostname. +// When you create a task that transfers data between AWS services in different +// AWS Regions, one of the two locations that you specify must reside in the +// Region where DataSync is being used. The other location must be specified +// in a different Region. +// +// You can transfer data between commercial AWS Regions except for China, or +// between AWS GovCloud (US-East and US-West) Regions. +// +// When you use DataSync to copy files or objects between AWS Regions, you pay +// for data transfer between Regions. This is billed as data transfer OUT from +// your source Region to your destination Region. For more information, see +// Data Transfer pricing (http://aws.amazon.com/ec2/pricing/on-demand/#Data_Transfer). // // 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 @@ -1264,7 +1267,7 @@ func (c *DataSync) DescribeLocationFsxWindowsRequest(input *DescribeLocationFsxW // DescribeLocationFsxWindows API operation for AWS DataSync. // // Returns metadata, such as the path information about an Amazon FSx for Windows -// location. +// File Server location. // // 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 @@ -2849,6 +2852,261 @@ func (c *DataSync) UpdateAgentWithContext(ctx aws.Context, input *UpdateAgentInp return out, req.Send() } +const opUpdateLocationNfs = "UpdateLocationNfs" + +// UpdateLocationNfsRequest generates a "aws/request.Request" representing the +// client's request for the UpdateLocationNfs operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// 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 UpdateLocationNfs for more information on using the UpdateLocationNfs +// 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 UpdateLocationNfsRequest method. +// req, resp := client.UpdateLocationNfsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationNfs +func (c *DataSync) UpdateLocationNfsRequest(input *UpdateLocationNfsInput) (req *request.Request, output *UpdateLocationNfsOutput) { + op := &request.Operation{ + Name: opUpdateLocationNfs, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateLocationNfsInput{} + } + + output = &UpdateLocationNfsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateLocationNfs API operation for AWS DataSync. +// +// Updates some of the parameters of a previously created location for Network +// File System (NFS) access. For information about creating an NFS location, +// see create-nfs-location. +// +// 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 DataSync's +// API operation UpdateLocationNfs for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// * InternalException +// This exception is thrown when an error occurs in the AWS DataSync service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationNfs +func (c *DataSync) UpdateLocationNfs(input *UpdateLocationNfsInput) (*UpdateLocationNfsOutput, error) { + req, out := c.UpdateLocationNfsRequest(input) + return out, req.Send() +} + +// UpdateLocationNfsWithContext is the same as UpdateLocationNfs with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateLocationNfs 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 *DataSync) UpdateLocationNfsWithContext(ctx aws.Context, input *UpdateLocationNfsInput, opts ...request.Option) (*UpdateLocationNfsOutput, error) { + req, out := c.UpdateLocationNfsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateLocationObjectStorage = "UpdateLocationObjectStorage" + +// UpdateLocationObjectStorageRequest generates a "aws/request.Request" representing the +// client's request for the UpdateLocationObjectStorage operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// 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 UpdateLocationObjectStorage for more information on using the UpdateLocationObjectStorage +// 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 UpdateLocationObjectStorageRequest method. +// req, resp := client.UpdateLocationObjectStorageRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationObjectStorage +func (c *DataSync) UpdateLocationObjectStorageRequest(input *UpdateLocationObjectStorageInput) (req *request.Request, output *UpdateLocationObjectStorageOutput) { + op := &request.Operation{ + Name: opUpdateLocationObjectStorage, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateLocationObjectStorageInput{} + } + + output = &UpdateLocationObjectStorageOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateLocationObjectStorage API operation for AWS DataSync. +// +// Updates some of the parameters of a previously created location for self-managed +// object storage server access. For information about creating a self-managed +// object storage location, see create-object-location. +// +// 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 DataSync's +// API operation UpdateLocationObjectStorage for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// * InternalException +// This exception is thrown when an error occurs in the AWS DataSync service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationObjectStorage +func (c *DataSync) UpdateLocationObjectStorage(input *UpdateLocationObjectStorageInput) (*UpdateLocationObjectStorageOutput, error) { + req, out := c.UpdateLocationObjectStorageRequest(input) + return out, req.Send() +} + +// UpdateLocationObjectStorageWithContext is the same as UpdateLocationObjectStorage with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateLocationObjectStorage 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 *DataSync) UpdateLocationObjectStorageWithContext(ctx aws.Context, input *UpdateLocationObjectStorageInput, opts ...request.Option) (*UpdateLocationObjectStorageOutput, error) { + req, out := c.UpdateLocationObjectStorageRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateLocationSmb = "UpdateLocationSmb" + +// UpdateLocationSmbRequest generates a "aws/request.Request" representing the +// client's request for the UpdateLocationSmb operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// 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 UpdateLocationSmb for more information on using the UpdateLocationSmb +// 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 UpdateLocationSmbRequest method. +// req, resp := client.UpdateLocationSmbRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationSmb +func (c *DataSync) UpdateLocationSmbRequest(input *UpdateLocationSmbInput) (req *request.Request, output *UpdateLocationSmbOutput) { + op := &request.Operation{ + Name: opUpdateLocationSmb, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateLocationSmbInput{} + } + + output = &UpdateLocationSmbOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateLocationSmb API operation for AWS DataSync. +// +// Updates some of the parameters of a previously created location for Server +// Message Block (SMB) file system access. For information about creating an +// SMB location, see create-smb-location. +// +// 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 DataSync's +// API operation UpdateLocationSmb for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// * InternalException +// This exception is thrown when an error occurs in the AWS DataSync service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationSmb +func (c *DataSync) UpdateLocationSmb(input *UpdateLocationSmbInput) (*UpdateLocationSmbOutput, error) { + req, out := c.UpdateLocationSmbRequest(input) + return out, req.Send() +} + +// UpdateLocationSmbWithContext is the same as UpdateLocationSmb with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateLocationSmb 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 *DataSync) UpdateLocationSmbWithContext(ctx aws.Context, input *UpdateLocationSmbInput, opts ...request.Option) (*UpdateLocationSmbOutput, error) { + req, out := c.UpdateLocationSmbRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateTask = "UpdateTask" // UpdateTaskRequest generates a "aws/request.Request" representing the @@ -2981,7 +3239,7 @@ func (c *DataSync) UpdateTaskExecutionRequest(input *UpdateTaskExecutionInput) ( // // You can modify bandwidth throttling for a task execution that is running // or queued. For more information, see Adjusting Bandwidth Throttling for a -// Task Execution (https://docs.aws.amazon.com/datasync/latest/working-with-task-executions.html#adjust-bandwidth-throttling). +// Task Execution (https://docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html#adjust-bandwidth-throttling). // // The only Option that can be modified by UpdateTaskExecution is BytesPerSecond // (https://docs.aws.amazon.com/datasync/latest/userguide/API_Options.html#DataSync-Type-Options-BytesPerSecond) . @@ -3414,29 +3672,31 @@ func (s *CreateLocationEfsOutput) SetLocationArn(v string) *CreateLocationEfsOut type CreateLocationFsxWindowsInput struct { _ struct{} `type:"structure"` - // The name of the Windows domain that the FSx for Windows server belongs to. + // The name of the Windows domain that the FSx for Windows File Server belongs + // to. Domain *string `type:"string"` - // The Amazon Resource Name (ARN) for the FSx for Windows file system. + // The Amazon Resource Name (ARN) for the FSx for Windows File Server file system. // // FsxFilesystemArn is a required field FsxFilesystemArn *string `type:"string" required:"true"` // The password of the user who has the permissions to access files and folders - // in the FSx for Windows file system. + // in the FSx for Windows File Server file system. // // Password is a required field Password *string `type:"string" required:"true" sensitive:"true"` // The Amazon Resource Names (ARNs) of the security groups that are to use to - // configure the FSx for Windows file system. + // configure the FSx for Windows File Server file system. // // SecurityGroupArns is a required field SecurityGroupArns []*string `min:"1" type:"list" required:"true"` // A subdirectory in the location’s path. This subdirectory in the Amazon - // FSx for Windows file system is used to read data from the Amazon FSx for - // Windows source location or write data to the FSx for Windows destination. + // FSx for Windows File Server file system is used to read data from the Amazon + // FSx for Windows File Server source location or write data to the FSx for + // Windows File Server destination. Subdirectory *string `type:"string"` // The key-value pair that represents a tag that you want to add to the resource. @@ -3446,7 +3706,7 @@ type CreateLocationFsxWindowsInput struct { Tags []*TagListEntry `type:"list"` // The user who has the permissions to access files and folders in the FSx for - // Windows file system. + // Windows File Server file system. // // User is a required field User *string `type:"string" required:"true"` @@ -3542,8 +3802,8 @@ func (s *CreateLocationFsxWindowsInput) SetUser(v string) *CreateLocationFsxWind type CreateLocationFsxWindowsOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the FSx for Windows file system location - // that is created. + // The Amazon Resource Name (ARN) of the FSx for Windows File Server file system + // location that is created. LocationArn *string `type:"string"` } @@ -4792,7 +5052,8 @@ func (s *DescribeLocationEfsOutput) SetLocationUri(v string) *DescribeLocationEf type DescribeLocationFsxWindowsInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the FSx for Windows location to describe. + // The Amazon Resource Name (ARN) of the FSx for Windows File Server location + // to describe. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` @@ -4830,24 +5091,26 @@ func (s *DescribeLocationFsxWindowsInput) SetLocationArn(v string) *DescribeLoca type DescribeLocationFsxWindowsOutput struct { _ struct{} `type:"structure"` - // The time that the FSx for Windows location was created. + // The time that the FSx for Windows File Server location was created. CreationTime *time.Time `type:"timestamp"` - // The name of the Windows domain that the FSx for Windows server belongs to. + // The name of the Windows domain that the FSx for Windows File Server belongs + // to. Domain *string `type:"string"` - // The Amazon Resource Name (ARN) of the FSx for Windows location that was described. + // The Amazon Resource Name (ARN) of the FSx for Windows File Server location + // that was described. LocationArn *string `type:"string"` - // The URL of the FSx for Windows location that was described. + // The URL of the FSx for Windows File Server location that was described. LocationUri *string `type:"string"` // The Amazon Resource Names (ARNs) of the security groups that are configured - // for the FSx for Windows file system. + // for the FSx for Windows File Server file system. SecurityGroupArns []*string `min:"1" type:"list"` // The user who has the permissions to access files and folders in the FSx for - // Windows file system. + // Windows File Server file system. User *string `type:"string"` } @@ -7685,6 +7948,379 @@ func (s UpdateAgentOutput) GoString() string { return s.String() } +type UpdateLocationNfsInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the NFS location to update. + // + // LocationArn is a required field + LocationArn *string `type:"string" required:"true"` + + // Represents the mount options that are available for DataSync to access an + // NFS location. + MountOptions *NfsMountOptions `type:"structure"` + + // A list of Amazon Resource Names (ARNs) of agents to use for a Network File + // System (NFS) location. + OnPremConfig *OnPremConfig `type:"structure"` + + // The subdirectory in the NFS file system that is used to read data from the + // NFS source location or write data to the NFS destination. The NFS path should + // be a path that's exported by the NFS server, or a subdirectory of that path. + // The path should be such that it can be mounted by other NFS clients in your + // network. + // + // To see all the paths exported by your NFS server, run "showmount -e nfs-server-name" + // from an NFS client that has access to your server. You can specify any directory + // that appears in the results, and any subdirectory of that directory. Ensure + // that the NFS export is accessible without Kerberos authentication. + // + // To transfer all the data in the folder that you specified, DataSync must + // have permissions to read all the data. To ensure this, either configure the + // NFS export with no_root_squash, or ensure that the files you want DataSync + // to access have permissions that allow read access for all users. Doing either + // option enables the agent to read the files. For the agent to access directories, + // you must additionally enable all execute access. + // + // If you are copying data to or from your AWS Snowcone device, see NFS Server + // on AWS Snowcone (https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone) + // for more information. + // + // For information about NFS export configuration, see 18.7. The /etc/exports + // Configuration File in the Red Hat Enterprise Linux documentation. + Subdirectory *string `type:"string"` +} + +// String returns the string representation +func (s UpdateLocationNfsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateLocationNfsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateLocationNfsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateLocationNfsInput"} + if s.LocationArn == nil { + invalidParams.Add(request.NewErrParamRequired("LocationArn")) + } + if s.OnPremConfig != nil { + if err := s.OnPremConfig.Validate(); err != nil { + invalidParams.AddNested("OnPremConfig", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLocationArn sets the LocationArn field's value. +func (s *UpdateLocationNfsInput) SetLocationArn(v string) *UpdateLocationNfsInput { + s.LocationArn = &v + return s +} + +// SetMountOptions sets the MountOptions field's value. +func (s *UpdateLocationNfsInput) SetMountOptions(v *NfsMountOptions) *UpdateLocationNfsInput { + s.MountOptions = v + return s +} + +// SetOnPremConfig sets the OnPremConfig field's value. +func (s *UpdateLocationNfsInput) SetOnPremConfig(v *OnPremConfig) *UpdateLocationNfsInput { + s.OnPremConfig = v + return s +} + +// SetSubdirectory sets the Subdirectory field's value. +func (s *UpdateLocationNfsInput) SetSubdirectory(v string) *UpdateLocationNfsInput { + s.Subdirectory = &v + return s +} + +type UpdateLocationNfsOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateLocationNfsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateLocationNfsOutput) GoString() string { + return s.String() +} + +type UpdateLocationObjectStorageInput struct { + _ struct{} `type:"structure"` + + // Optional. The access key is used if credentials are required to access the + // self-managed object storage server. If your object storage requires a user + // name and password to authenticate, use AccessKey and SecretKey to provide + // the user name and password, respectively. + AccessKey *string `min:"8" type:"string"` + + // The Amazon Resource Name (ARN) of the agents associated with the self-managed + // object storage server location. + AgentArns []*string `min:"1" type:"list"` + + // The Amazon Resource Name (ARN) of the self-managed object storage server + // location to be updated. + // + // LocationArn is a required field + LocationArn *string `type:"string" required:"true"` + + // Optional. The secret key is used if credentials are required to access the + // self-managed object storage server. If your object storage requires a user + // name and password to authenticate, use AccessKey and SecretKey to provide + // the user name and password, respectively. + SecretKey *string `min:"8" type:"string" sensitive:"true"` + + // The port that your self-managed object storage server accepts inbound network + // traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 + // (HTTPS). You can specify a custom port if your self-managed object storage + // server requires one. + ServerPort *int64 `min:"1" type:"integer"` + + // The protocol that the object storage server uses to communicate. Valid values + // are HTTP or HTTPS. + ServerProtocol *string `type:"string" enum:"ObjectStorageServerProtocol"` + + // The subdirectory in the self-managed object storage server that is used to + // read data from. + Subdirectory *string `type:"string"` +} + +// String returns the string representation +func (s UpdateLocationObjectStorageInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateLocationObjectStorageInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateLocationObjectStorageInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateLocationObjectStorageInput"} + if s.AccessKey != nil && len(*s.AccessKey) < 8 { + invalidParams.Add(request.NewErrParamMinLen("AccessKey", 8)) + } + if s.AgentArns != nil && len(s.AgentArns) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AgentArns", 1)) + } + if s.LocationArn == nil { + invalidParams.Add(request.NewErrParamRequired("LocationArn")) + } + if s.SecretKey != nil && len(*s.SecretKey) < 8 { + invalidParams.Add(request.NewErrParamMinLen("SecretKey", 8)) + } + if s.ServerPort != nil && *s.ServerPort < 1 { + invalidParams.Add(request.NewErrParamMinValue("ServerPort", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccessKey sets the AccessKey field's value. +func (s *UpdateLocationObjectStorageInput) SetAccessKey(v string) *UpdateLocationObjectStorageInput { + s.AccessKey = &v + return s +} + +// SetAgentArns sets the AgentArns field's value. +func (s *UpdateLocationObjectStorageInput) SetAgentArns(v []*string) *UpdateLocationObjectStorageInput { + s.AgentArns = v + return s +} + +// SetLocationArn sets the LocationArn field's value. +func (s *UpdateLocationObjectStorageInput) SetLocationArn(v string) *UpdateLocationObjectStorageInput { + s.LocationArn = &v + return s +} + +// SetSecretKey sets the SecretKey field's value. +func (s *UpdateLocationObjectStorageInput) SetSecretKey(v string) *UpdateLocationObjectStorageInput { + s.SecretKey = &v + return s +} + +// SetServerPort sets the ServerPort field's value. +func (s *UpdateLocationObjectStorageInput) SetServerPort(v int64) *UpdateLocationObjectStorageInput { + s.ServerPort = &v + return s +} + +// SetServerProtocol sets the ServerProtocol field's value. +func (s *UpdateLocationObjectStorageInput) SetServerProtocol(v string) *UpdateLocationObjectStorageInput { + s.ServerProtocol = &v + return s +} + +// SetSubdirectory sets the Subdirectory field's value. +func (s *UpdateLocationObjectStorageInput) SetSubdirectory(v string) *UpdateLocationObjectStorageInput { + s.Subdirectory = &v + return s +} + +type UpdateLocationObjectStorageOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateLocationObjectStorageOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateLocationObjectStorageOutput) GoString() string { + return s.String() +} + +type UpdateLocationSmbInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block + // (SMB) location. + AgentArns []*string `min:"1" type:"list"` + + // The name of the Windows domain that the SMB server belongs to. + Domain *string `type:"string"` + + // The Amazon Resource Name (ARN) of the SMB location to update. + // + // LocationArn is a required field + LocationArn *string `type:"string" required:"true"` + + // Represents the mount options that are available for DataSync to access an + // SMB location. + MountOptions *SmbMountOptions `type:"structure"` + + // The password of the user who can mount the share has the permissions to access + // files and folders in the SMB share. + Password *string `type:"string" sensitive:"true"` + + // The subdirectory in the SMB file system that is used to read data from the + // SMB source location or write data to the SMB destination. The SMB path should + // be a path that's exported by the SMB server, or a subdirectory of that path. + // The path should be such that it can be mounted by other SMB clients in your + // network. + // + // Subdirectory must be specified with forward slashes. For example, /path/to/folder. + // + // To transfer all the data in the folder that you specified, DataSync must + // have permissions to mount the SMB share and to access all the data in that + // share. To ensure this, do either of the following: + // + // * Ensure that the user/password specified belongs to the user who can + // mount the share and who has the appropriate permissions for all of the + // files and directories that you want DataSync to access. + // + // * Use credentials of a member of the Backup Operators group to mount the + // share. + // + // Doing either of these options enables the agent to access the data. For the + // agent to access directories, you must also enable all execute access. + Subdirectory *string `type:"string"` + + // The user who can mount the share has the permissions to access files and + // folders in the SMB share. + User *string `type:"string"` +} + +// String returns the string representation +func (s UpdateLocationSmbInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateLocationSmbInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateLocationSmbInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateLocationSmbInput"} + if s.AgentArns != nil && len(s.AgentArns) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AgentArns", 1)) + } + if s.LocationArn == nil { + invalidParams.Add(request.NewErrParamRequired("LocationArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAgentArns sets the AgentArns field's value. +func (s *UpdateLocationSmbInput) SetAgentArns(v []*string) *UpdateLocationSmbInput { + s.AgentArns = v + return s +} + +// SetDomain sets the Domain field's value. +func (s *UpdateLocationSmbInput) SetDomain(v string) *UpdateLocationSmbInput { + s.Domain = &v + return s +} + +// SetLocationArn sets the LocationArn field's value. +func (s *UpdateLocationSmbInput) SetLocationArn(v string) *UpdateLocationSmbInput { + s.LocationArn = &v + return s +} + +// SetMountOptions sets the MountOptions field's value. +func (s *UpdateLocationSmbInput) SetMountOptions(v *SmbMountOptions) *UpdateLocationSmbInput { + s.MountOptions = v + return s +} + +// SetPassword sets the Password field's value. +func (s *UpdateLocationSmbInput) SetPassword(v string) *UpdateLocationSmbInput { + s.Password = &v + return s +} + +// SetSubdirectory sets the Subdirectory field's value. +func (s *UpdateLocationSmbInput) SetSubdirectory(v string) *UpdateLocationSmbInput { + s.Subdirectory = &v + return s +} + +// SetUser sets the User field's value. +func (s *UpdateLocationSmbInput) SetUser(v string) *UpdateLocationSmbInput { + s.User = &v + return s +} + +type UpdateLocationSmbOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateLocationSmbOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateLocationSmbOutput) GoString() string { + return s.String() +} + type UpdateTaskExecutionInput struct { _ struct{} `type:"structure"` diff --git a/service/datasync/datasynciface/interface.go b/service/datasync/datasynciface/interface.go index a457e047387..a9993a0f760 100644 --- a/service/datasync/datasynciface/interface.go +++ b/service/datasync/datasynciface/interface.go @@ -195,6 +195,18 @@ type DataSyncAPI interface { UpdateAgentWithContext(aws.Context, *datasync.UpdateAgentInput, ...request.Option) (*datasync.UpdateAgentOutput, error) UpdateAgentRequest(*datasync.UpdateAgentInput) (*request.Request, *datasync.UpdateAgentOutput) + UpdateLocationNfs(*datasync.UpdateLocationNfsInput) (*datasync.UpdateLocationNfsOutput, error) + UpdateLocationNfsWithContext(aws.Context, *datasync.UpdateLocationNfsInput, ...request.Option) (*datasync.UpdateLocationNfsOutput, error) + UpdateLocationNfsRequest(*datasync.UpdateLocationNfsInput) (*request.Request, *datasync.UpdateLocationNfsOutput) + + UpdateLocationObjectStorage(*datasync.UpdateLocationObjectStorageInput) (*datasync.UpdateLocationObjectStorageOutput, error) + UpdateLocationObjectStorageWithContext(aws.Context, *datasync.UpdateLocationObjectStorageInput, ...request.Option) (*datasync.UpdateLocationObjectStorageOutput, error) + UpdateLocationObjectStorageRequest(*datasync.UpdateLocationObjectStorageInput) (*request.Request, *datasync.UpdateLocationObjectStorageOutput) + + UpdateLocationSmb(*datasync.UpdateLocationSmbInput) (*datasync.UpdateLocationSmbOutput, error) + UpdateLocationSmbWithContext(aws.Context, *datasync.UpdateLocationSmbInput, ...request.Option) (*datasync.UpdateLocationSmbOutput, error) + UpdateLocationSmbRequest(*datasync.UpdateLocationSmbInput) (*request.Request, *datasync.UpdateLocationSmbOutput) + UpdateTask(*datasync.UpdateTaskInput) (*datasync.UpdateTaskOutput, error) UpdateTaskWithContext(aws.Context, *datasync.UpdateTaskInput, ...request.Option) (*datasync.UpdateTaskOutput, error) UpdateTaskRequest(*datasync.UpdateTaskInput) (*request.Request, *datasync.UpdateTaskOutput) diff --git a/service/directconnect/api.go b/service/directconnect/api.go index 5459f9a6b32..2c85cd0935d 100644 --- a/service/directconnect/api.go +++ b/service/directconnect/api.go @@ -1262,7 +1262,7 @@ func (c *DirectConnect) CreateBGPPeerRequest(input *CreateBGPPeerInput) (req *re // you cannot specify custom IPv6 addresses. // // For a public virtual interface, the Autonomous System Number (ASN) must be -// private or already whitelisted for the virtual interface. +// private or already on the allow list for the virtual interface. // // 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 @@ -3260,13 +3260,21 @@ func (c *DirectConnect) DescribeDirectConnectGatewayAssociationsRequest(input *D // DescribeDirectConnectGatewayAssociations API operation for AWS Direct Connect. // // Lists the associations between your Direct Connect gateways and virtual private -// gateways. You must specify a Direct Connect gateway, a virtual private gateway, -// or both. If you specify a Direct Connect gateway, the response contains all -// virtual private gateways associated with the Direct Connect gateway. If you -// specify a virtual private gateway, the response contains all Direct Connect -// gateways associated with the virtual private gateway. If you specify both, -// the response contains the association between the Direct Connect gateway -// and the virtual private gateway. +// gateways and transit gateways. You must specify one of the following: +// +// * A Direct Connect gateway The response contains all virtual private gateways +// and transit gateways associated with the Direct Connect gateway. +// +// * A virtual private gateway The response contains the Direct Connect gateway. +// +// * A transit gateway The response contains the Direct Connect gateway. +// +// * A Direct Connect gateway and a virtual private gateway The response +// contains the association between the Direct Connect gateway and virtual +// private gateway. +// +// * A Direct Connect gateway and a transit gateway The response contains +// the association between the Direct Connect gateway and transit gateway. // // 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 @@ -8223,7 +8231,7 @@ type DescribeDirectConnectGatewayAssociationsInput struct { // The token provided in the previous call to retrieve the next page. NextToken *string `locationName:"nextToken" type:"string"` - // The ID of the virtual private gateway. + // The ID of the virtual private gateway or transit gateway. VirtualGatewayId *string `locationName:"virtualGatewayId" type:"string"` } diff --git a/service/eventbridge/api.go b/service/eventbridge/api.go index bbd01011f46..6b8093dd203 100644 --- a/service/eventbridge/api.go +++ b/service/eventbridge/api.go @@ -8095,6 +8095,13 @@ type PutEventsRequestEntry struct { // The time stamp of the event, per RFC3339 (https://www.rfc-editor.org/rfc/rfc3339.txt). // If no time stamp is provided, the time stamp of the PutEvents call is used. Time *time.Time `type:"timestamp"` + + // An AWS X-Ray trade header, which is an http header (X-Amzn-Trace-Id) that + // contains the trace-id associated with the event. + // + // To learn more about X-Ray trace headers, see Tracing header (https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader) + // in the AWS X-Ray Developer Guide. + TraceHeader *string `min:"1" type:"string"` } // String returns the string representation @@ -8113,6 +8120,9 @@ func (s *PutEventsRequestEntry) Validate() error { if s.EventBusName != nil && len(*s.EventBusName) < 1 { invalidParams.Add(request.NewErrParamMinLen("EventBusName", 1)) } + if s.TraceHeader != nil && len(*s.TraceHeader) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TraceHeader", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -8156,6 +8166,12 @@ func (s *PutEventsRequestEntry) SetTime(v time.Time) *PutEventsRequestEntry { return s } +// SetTraceHeader sets the TraceHeader field's value. +func (s *PutEventsRequestEntry) SetTraceHeader(v string) *PutEventsRequestEntry { + s.TraceHeader = &v + return s +} + // Represents an event that failed to be submitted. type PutEventsResultEntry struct { _ struct{} `type:"structure"` @@ -10291,7 +10307,23 @@ func (s *Target) SetSqsParameters(v *SqsParameters) *Target { type TestEventPatternInput struct { _ struct{} `type:"structure"` - // The event, in JSON format, to test against the event pattern. + // The event, in JSON format, to test against the event pattern. The JSON must + // follow the format specified in AWS Events (https://docs.aws.amazon.com/eventbridge/latest/userguide/aws-events.html), + // and the following fields are mandatory: + // + // * id + // + // * account + // + // * source + // + // * time + // + // * region + // + // * resources + // + // * detail-type // // Event is a required field Event *string `type:"string" required:"true"` diff --git a/service/iotwireless/api.go b/service/iotwireless/api.go index 3b734e21412..344253fb194 100644 --- a/service/iotwireless/api.go +++ b/service/iotwireless/api.go @@ -5106,6 +5106,10 @@ type AssociateAwsAccountWithPartnerAccountInput struct { // // Sidewalk is a required field Sidewalk *SidewalkAccountInfo `type:"structure" required:"true"` + + // The tags attached to the specified resource. Tags are metadata that can be + // used to manage a resource + Tags []*Tag `type:"list"` } // String returns the string representation @@ -5132,6 +5136,16 @@ func (s *AssociateAwsAccountWithPartnerAccountInput) Validate() error { invalidParams.AddNested("Sidewalk", err.(request.ErrInvalidParams)) } } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -5151,9 +5165,18 @@ func (s *AssociateAwsAccountWithPartnerAccountInput) SetSidewalk(v *SidewalkAcco return s } +// SetTags sets the Tags field's value. +func (s *AssociateAwsAccountWithPartnerAccountInput) SetTags(v []*Tag) *AssociateAwsAccountWithPartnerAccountInput { + s.Tags = v + return s +} + type AssociateAwsAccountWithPartnerAccountOutput struct { _ struct{} `type:"structure"` + // The Amazon Resource Name of the resource. + Arn *string `type:"string"` + // The Sidewalk account credentials. Sidewalk *SidewalkAccountInfo `type:"structure"` } @@ -5168,6 +5191,12 @@ func (s AssociateAwsAccountWithPartnerAccountOutput) GoString() string { return s.String() } +// SetArn sets the Arn field's value. +func (s *AssociateAwsAccountWithPartnerAccountOutput) SetArn(v string) *AssociateAwsAccountWithPartnerAccountOutput { + s.Arn = &v + return s +} + // SetSidewalk sets the Sidewalk field's value. func (s *AssociateAwsAccountWithPartnerAccountOutput) SetSidewalk(v *SidewalkAccountInfo) *AssociateAwsAccountWithPartnerAccountOutput { s.Sidewalk = v @@ -6103,6 +6132,10 @@ type CreateWirelessGatewayTaskDefinitionInput struct { // The name of the new resource. Name *string `min:"1" type:"string"` + // The tags attached to the specified resource. Tags are metadata that can be + // used to manage a resource + Tags []*Tag `type:"list"` + // Information about the gateways to update. Update *UpdateWirelessGatewayTaskCreate `type:"structure"` } @@ -6129,6 +6162,16 @@ func (s *CreateWirelessGatewayTaskDefinitionInput) Validate() error { if s.Name != nil && len(*s.Name) < 1 { invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } if s.Update != nil { if err := s.Update.Validate(); err != nil { invalidParams.AddNested("Update", err.(request.ErrInvalidParams)) @@ -6159,6 +6202,12 @@ func (s *CreateWirelessGatewayTaskDefinitionInput) SetName(v string) *CreateWire return s } +// SetTags sets the Tags field's value. +func (s *CreateWirelessGatewayTaskDefinitionInput) SetTags(v []*Tag) *CreateWirelessGatewayTaskDefinitionInput { + s.Tags = v + return s +} + // SetUpdate sets the Update field's value. func (s *CreateWirelessGatewayTaskDefinitionInput) SetUpdate(v *UpdateWirelessGatewayTaskCreate) *CreateWirelessGatewayTaskDefinitionInput { s.Update = v @@ -6168,6 +6217,9 @@ func (s *CreateWirelessGatewayTaskDefinitionInput) SetUpdate(v *UpdateWirelessGa type CreateWirelessGatewayTaskDefinitionOutput struct { _ struct{} `type:"structure"` + // The Amazon Resource Name of the resource. + Arn *string `type:"string"` + // The ID of the new wireless gateway task definition. Id *string `type:"string"` } @@ -6182,6 +6234,12 @@ func (s CreateWirelessGatewayTaskDefinitionOutput) GoString() string { return s.String() } +// SetArn sets the Arn field's value. +func (s *CreateWirelessGatewayTaskDefinitionOutput) SetArn(v string) *CreateWirelessGatewayTaskDefinitionOutput { + s.Arn = &v + return s +} + // SetId sets the Id field's value. func (s *CreateWirelessGatewayTaskDefinitionOutput) SetId(v string) *CreateWirelessGatewayTaskDefinitionOutput { s.Id = &v @@ -7729,8 +7787,8 @@ type GetWirelessGatewayCertificateOutput struct { // The ID of the certificate associated with the wireless gateway. IotCertificateId *string `min:"1" type:"string"` - // The ID of the certificate associated with the wireless gateway and used for - // LoRaWANNetworkServer endpoint. + // The ID of the certificate that is associated with the wireless gateway and + // used for the LoRaWANNetworkServer endpoint. LoRaWANNetworkServerCertificateId *string `min:"1" type:"string"` } @@ -8070,6 +8128,9 @@ func (s *GetWirelessGatewayTaskDefinitionInput) SetId(v string) *GetWirelessGate type GetWirelessGatewayTaskDefinitionOutput struct { _ struct{} `type:"structure"` + // The Amazon Resource Name of the resource. + Arn *string `type:"string"` + // Whether to automatically create tasks using this task definition for all // gateways with the specified current version. If false, the task must me created // by calling CreateWirelessGatewayTask. @@ -8092,6 +8153,12 @@ func (s GetWirelessGatewayTaskDefinitionOutput) GoString() string { return s.String() } +// SetArn sets the Arn field's value. +func (s *GetWirelessGatewayTaskDefinitionOutput) SetArn(v string) *GetWirelessGatewayTaskDefinitionOutput { + s.Arn = &v + return s +} + // SetAutoCreateTasks sets the AutoCreateTasks field's value. func (s *GetWirelessGatewayTaskDefinitionOutput) SetAutoCreateTasks(v bool) *GetWirelessGatewayTaskDefinitionOutput { s.AutoCreateTasks = &v @@ -10188,6 +10255,9 @@ type SidewalkAccountInfoWithFingerprint struct { // The Sidewalk Amazon ID. AmazonId *string `type:"string"` + // The Amazon Resource Name of the resource. + Arn *string `type:"string"` + // The fingerprint of the Sidewalk application server private key. Fingerprint *string `min:"64" type:"string" sensitive:"true"` } @@ -10208,6 +10278,12 @@ func (s *SidewalkAccountInfoWithFingerprint) SetAmazonId(v string) *SidewalkAcco return s } +// SetArn sets the Arn field's value. +func (s *SidewalkAccountInfoWithFingerprint) SetArn(v string) *SidewalkAccountInfoWithFingerprint { + s.Arn = &v + return s +} + // SetFingerprint sets the Fingerprint field's value. func (s *SidewalkAccountInfoWithFingerprint) SetFingerprint(v string) *SidewalkAccountInfoWithFingerprint { s.Fingerprint = &v @@ -11095,6 +11171,9 @@ func (s *UpdateWirelessGatewayTaskCreate) SetUpdateDataSource(v string) *UpdateW type UpdateWirelessGatewayTaskEntry struct { _ struct{} `type:"structure"` + // The Amazon Resource Name of the resource. + Arn *string `type:"string"` + // The ID of the new wireless gateway task entry. Id *string `type:"string"` @@ -11112,6 +11191,12 @@ func (s UpdateWirelessGatewayTaskEntry) GoString() string { return s.String() } +// SetArn sets the Arn field's value. +func (s *UpdateWirelessGatewayTaskEntry) SetArn(v string) *UpdateWirelessGatewayTaskEntry { + s.Arn = &v + return s +} + // SetId sets the Id field's value. func (s *UpdateWirelessGatewayTaskEntry) SetId(v string) *UpdateWirelessGatewayTaskEntry { s.Id = &v diff --git a/service/managedblockchain/api.go b/service/managedblockchain/api.go index c991eed4c6d..b09bf6101a7 100644 --- a/service/managedblockchain/api.go +++ b/service/managedblockchain/api.go @@ -279,8 +279,6 @@ func (c *ManagedBlockchain) CreateNodeRequest(input *CreateNodeInput) (req *requ // // Applies to Hyperledger Fabric and Ethereum. // -// Ethereum on Managed Blockchain is in preview release and is subject to change. -// // 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. @@ -2989,7 +2987,8 @@ type CreateNetworkInput struct { // Tags to assign to the network. Each tag consists of a key and optional value. // // When specifying tags during creation, you can specify multiple key-value - // pairs in a single request, with an overall maximum of 50 added to each resource. + // pairs in a single request, with an overall maximum of 50 tags added to each + // resource. // // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources @@ -3184,7 +3183,8 @@ type CreateNodeInput struct { // Tags to assign to the node. Each tag consists of a key and optional value. // // When specifying tags during creation, you can specify multiple key-value - // pairs in a single request, with an overall maximum of 50 added to each resource. + // pairs in a single request, with an overall maximum of 50 tags added to each + // resource. // // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources @@ -3322,9 +3322,9 @@ type CreateProposalInput struct { // Tags to assign to the proposal. Each tag consists of a key and optional value. // // When specifying tags during creation, you can specify multiple key-value - // pairs in a single request, with an overall maximum of 50 added to each resource. - // If the proposal is for a network invitation, the invitation inherits the - // tags added to the proposal. + // pairs in a single request, with an overall maximum of 50 tags added to each + // resource. If the proposal is for a network invitation, the invitation inherits + // the tags added to the proposal. // // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources @@ -5129,7 +5129,8 @@ type MemberConfiguration struct { // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. // // When specifying tags during creation, you can specify multiple key-value - // pairs in a single request, with an overall maximum of 50 added to each resource. + // pairs in a single request, with an overall maximum of 50 tags added to each + // resource. Tags map[string]*string `type:"map"` } @@ -5647,8 +5648,7 @@ func (s *Network) SetVpcEndpointServiceName(v string) *Network { return s } -// Attributes of Ethereum for a network. Ethereum on Managed Blockchain is in -// preview release and is subject to change. +// Attributes of Ethereum for a network. type NetworkEthereumAttributes struct { _ struct{} `type:"structure"` @@ -5759,8 +5759,7 @@ type NetworkFrameworkAttributes struct { _ struct{} `type:"structure"` // Attributes of an Ethereum network for Managed Blockchain resources participating - // in an Ethereum network. Ethereum on Managed Blockchain is in preview release - // and is subject to change. + // in an Ethereum network. Ethereum *NetworkEthereumAttributes `type:"structure"` // Attributes of Hyperledger Fabric for a Managed Blockchain network that uses @@ -5930,7 +5929,6 @@ type Node struct { Arn *string `min:"1" type:"string"` // The Availability Zone in which the node exists. Required for Ethereum nodes. - // Ethereum on Managed Blockchain is in preview release and is subject to change. AvailabilityZone *string `type:"string"` // The date and time that the node was created. @@ -6061,7 +6059,6 @@ type NodeConfiguration struct { _ struct{} `type:"structure"` // The Availability Zone in which the node exists. Required for Ethereum nodes. - // Ethereum on Managed Blockchain is in preview release and is subject to change. AvailabilityZone *string `type:"string"` // The Amazon Managed Blockchain instance type for the node. @@ -6128,8 +6125,7 @@ func (s *NodeConfiguration) SetStateDB(v string) *NodeConfiguration { return s } -// Attributes of an Ethereum node. Ethereum on Managed Blockchain is in preview -// release and is subject to change. +// Attributes of an Ethereum node. type NodeEthereumAttributes struct { _ struct{} `type:"structure"` @@ -6250,8 +6246,7 @@ type NodeFrameworkAttributes struct { _ struct{} `type:"structure"` // Attributes of Ethereum for a node on a Managed Blockchain network that uses - // Ethereum. Ethereum on Managed Blockchain is in preview release and is subject - // to change. + // Ethereum. Ethereum *NodeEthereumAttributes `type:"structure"` // Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain @@ -7078,7 +7073,7 @@ type TagResourceInput struct { // The tags to assign to the specified resource. Tag values can be empty, for // example, "MyTagKey" : "". You can specify multiple key-value pairs in a single - // request, with an overall maximum of 50 added to each resource. + // request, with an overall maximum of 50 tags added to each resource. // // Tags is a required field Tags map[string]*string `type:"map" required:"true"` diff --git a/service/managedblockchain/doc.go b/service/managedblockchain/doc.go index bdc2600bea0..8b86bb639b0 100644 --- a/service/managedblockchain/doc.go +++ b/service/managedblockchain/doc.go @@ -9,8 +9,7 @@ // run transactions and share data without the need for a trusted, central authority. // // Managed Blockchain supports the Hyperledger Fabric and Ethereum open-source -// frameworks. Ethereum on Managed Blockchain is in preview release and is subject -// to change. Because of fundamental differences between the frameworks, some +// frameworks. Because of fundamental differences between the frameworks, some // API actions or data types may only apply in the context of one framework // and not the other. For example, actions related to Hyperledger Fabric network // members such as CreateMember and DeleteMember do not apply to Ethereum.