diff --git a/clients/client-datasync/src/DataSync.ts b/clients/client-datasync/src/DataSync.ts index b4f46d8308c3..d36cd6df2cc3 100644 --- a/clients/client-datasync/src/DataSync.ts +++ b/clients/client-datasync/src/DataSync.ts @@ -538,11 +538,8 @@ export class DataSync extends DataSyncClient { } /** - *

Creates an endpoint for an Amazon S3 bucket that DataSync can access for a transfer.

- *

For - * more information, see - * Create an Amazon S3 location - * in the DataSync User Guide.

+ *

Creates an endpoint for an Amazon S3 bucket that DataSync can + * access for a transfer. For more information, see Create an Amazon S3 location.

*/ public createLocationS3( args: CreateLocationS3CommandInput, @@ -574,8 +571,7 @@ export class DataSync extends DataSyncClient { } /** - *

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

+ *

Creates an endpoint for a Server Message Block (SMB) file server that DataSync can access for a transfer. For more information, see Creating an SMB location.

*/ public createLocationSmb( args: CreateLocationSmbCommandInput, @@ -724,9 +720,7 @@ export class DataSync extends DataSyncClient { } /** - *

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.

+ *

Returns metadata about an DataSync agent, such as its name, endpoint type, and status.

*/ public describeAgent( args: DescribeAgentCommandInput, @@ -1149,14 +1143,17 @@ export class DataSync extends DataSyncClient { } /** - *

Returns a list of agents owned by an Amazon Web Services account in the Amazon Web Services Region specified in the - * request. The returned list is ordered by agent Amazon Resource Name (ARN).

- *

By default, this operation returns a maximum of 100 agents. This operation supports - * pagination that enables you to optionally reduce the number of agents returned in a - * response.

- *

If you have more agents than are returned in a response (that is, the response returns - * only a truncated list of your agents), the response contains a marker that you can specify in - * your next request to fetch the next page of agents.

+ *

Returns a list of DataSync agents that belong to an Amazon Web Services account in the Amazon Web Services Region specified in the request.

+ *

With pagination, you can reduce the number of agents returned in a response. If you get + * a truncated list of agents in a response, the response contains a marker that you can specify + * in your next request to fetch the next page of agents.

+ *

+ * ListAgents is eventually consistent. This means the result of running the + * operation might not reflect that you just created or deleted an agent. For example, if you + * create an agent with CreateAgent and then + * immediately run ListAgents, that agent might not show up in the list right away. + * In situations like this, you can always confirm whether an agent has been created (or deleted) + * by using DescribeAgent.

*/ public listAgents(args: ListAgentsCommandInput, options?: __HttpHandlerOptions): Promise; public listAgents(args: ListAgentsCommandInput, cb: (err: any, data?: ListAgentsCommandOutput) => void): void; diff --git a/clients/client-datasync/src/commands/CreateLocationS3Command.ts b/clients/client-datasync/src/commands/CreateLocationS3Command.ts index b7dfe2a7302c..5e14734c0031 100644 --- a/clients/client-datasync/src/commands/CreateLocationS3Command.ts +++ b/clients/client-datasync/src/commands/CreateLocationS3Command.ts @@ -29,11 +29,8 @@ export interface CreateLocationS3CommandInput extends CreateLocationS3Request {} export interface CreateLocationS3CommandOutput extends CreateLocationS3Response, __MetadataBearer {} /** - *

Creates an endpoint for an Amazon S3 bucket that DataSync can access for a transfer.

- *

For - * more information, see - * Create an Amazon S3 location - * in the DataSync User Guide.

+ *

Creates an endpoint for an Amazon S3 bucket that DataSync can + * access for a transfer. For more information, see Create an Amazon S3 location.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-datasync/src/commands/CreateLocationSmbCommand.ts b/clients/client-datasync/src/commands/CreateLocationSmbCommand.ts index 657861c730a8..c2d81cf5bc7f 100644 --- a/clients/client-datasync/src/commands/CreateLocationSmbCommand.ts +++ b/clients/client-datasync/src/commands/CreateLocationSmbCommand.ts @@ -29,8 +29,7 @@ export interface CreateLocationSmbCommandInput extends CreateLocationSmbRequest export interface CreateLocationSmbCommandOutput extends CreateLocationSmbResponse, __MetadataBearer {} /** - *

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

+ *

Creates an endpoint for a Server Message Block (SMB) file server that DataSync can access for a transfer. For more information, see Creating an SMB location.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-datasync/src/commands/DescribeAgentCommand.ts b/clients/client-datasync/src/commands/DescribeAgentCommand.ts index 38b475fb7071..dc7d0cb59764 100644 --- a/clients/client-datasync/src/commands/DescribeAgentCommand.ts +++ b/clients/client-datasync/src/commands/DescribeAgentCommand.ts @@ -29,9 +29,7 @@ export interface DescribeAgentCommandInput extends DescribeAgentRequest {} export interface DescribeAgentCommandOutput extends DescribeAgentResponse, __MetadataBearer {} /** - *

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.

+ *

Returns metadata about an DataSync agent, such as its name, endpoint type, and status.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-datasync/src/commands/ListAgentsCommand.ts b/clients/client-datasync/src/commands/ListAgentsCommand.ts index d81c4c6f84e3..f34cd67612e7 100644 --- a/clients/client-datasync/src/commands/ListAgentsCommand.ts +++ b/clients/client-datasync/src/commands/ListAgentsCommand.ts @@ -29,14 +29,17 @@ export interface ListAgentsCommandInput extends ListAgentsRequest {} export interface ListAgentsCommandOutput extends ListAgentsResponse, __MetadataBearer {} /** - *

Returns a list of agents owned by an Amazon Web Services account in the Amazon Web Services Region specified in the - * request. The returned list is ordered by agent Amazon Resource Name (ARN).

- *

By default, this operation returns a maximum of 100 agents. This operation supports - * pagination that enables you to optionally reduce the number of agents returned in a - * response.

- *

If you have more agents than are returned in a response (that is, the response returns - * only a truncated list of your agents), the response contains a marker that you can specify in - * your next request to fetch the next page of agents.

+ *

Returns a list of DataSync agents that belong to an Amazon Web Services account in the Amazon Web Services Region specified in the request.

+ *

With pagination, you can reduce the number of agents returned in a response. If you get + * a truncated list of agents in a response, the response contains a marker that you can specify + * in your next request to fetch the next page of agents.

+ *

+ * ListAgents is eventually consistent. This means the result of running the + * operation might not reflect that you just created or deleted an agent. For example, if you + * create an agent with CreateAgent and then + * immediately run ListAgents, that agent might not show up in the list right away. + * In situations like this, you can always confirm whether an agent has been created (or deleted) + * by using DescribeAgent.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-datasync/src/endpoint/EndpointParameters.ts b/clients/client-datasync/src/endpoint/EndpointParameters.ts index 3439bee7b578..cca4b81659bf 100644 --- a/clients/client-datasync/src/endpoint/EndpointParameters.ts +++ b/clients/client-datasync/src/endpoint/EndpointParameters.ts @@ -24,7 +24,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-datasync/src/endpoint/ruleset.ts b/clients/client-datasync/src/endpoint/ruleset.ts index 4759cc65038a..c871961b7021 100644 --- a/clients/client-datasync/src/endpoint/ruleset.ts +++ b/clients/client-datasync/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@aws-sdk/util-endpoints"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/datasync.json */ -const q="fn", -r="argv", -s="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[s]:"Endpoint"}, -j={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -k={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -l={}, -m={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsFIPS"]}]}, -n={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsDualStack"]}]}, +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], o=[j], -p=[k]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[q]:"isSet",[r]:[i]}],type:e,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://datasync-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:o,type:e,rules:[{conditions:[m],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://datasync-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://datasync.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://datasync.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}; +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://datasync-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://datasync-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://datasync.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://datasync.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-datasync/src/models/models_0.ts b/clients/client-datasync/src/models/models_0.ts index c92fc747e72e..698f4f658ce1 100644 --- a/clients/client-datasync/src/models/models_0.ts +++ b/clients/client-datasync/src/models/models_0.ts @@ -9,24 +9,22 @@ export enum AgentStatus { } /** - *

Represents a single entry in a list of agents. AgentListEntry returns an - * array that contains a list of agents when the ListAgents - * operation is - * called.

+ *

Represents a single entry in a list (or array) of DataSync agents when + * you call the ListAgents operation.

*/ export interface AgentListEntry { /** - *

The Amazon Resource Name (ARN) of the agent.

+ *

The Amazon Resource Name (ARN) of a DataSync agent.

*/ AgentArn?: string; /** - *

The name of the agent.

+ *

The name of an agent.

*/ Name?: string; /** - *

The status of the agent.

+ *

The status of an agent. For more information, see DataSync agent statuses.

*/ Status?: AgentStatus | string; } @@ -359,17 +357,52 @@ export interface FsxProtocolNfs { export enum SmbVersion { AUTOMATIC = "AUTOMATIC", + SMB1 = "SMB1", SMB2 = "SMB2", + SMB2_0 = "SMB2_0", SMB3 = "SMB3", } /** - *

Specifies how DataSync can access a location using the SMB protocol.

+ *

Specifies the version of the Server Message Block (SMB) protocol that DataSync uses to access an SMB file server.

*/ export interface SmbMountOptions { /** - *

Specifies the SMB version that you want DataSync to use when mounting your SMB share. If you - * don't specify a version, DataSync defaults to AUTOMATIC and chooses a version based on negotiation with the SMB server.

+ *

By default, DataSync automatically chooses an SMB protocol version based on + * negotiation with your SMB file server. You also can configure DataSync to use a + * specific SMB version, but we recommend doing this only if DataSync has trouble + * negotiating with the SMB file server automatically.

+ *

These are the following options for configuring the SMB version:

+ * */ Version?: SmbVersion | string; } @@ -384,7 +417,7 @@ export interface FsxProtocolSmb { Domain?: string; /** - *

Specifies how DataSync can access a location using the SMB protocol.

+ *

Specifies the version of the Server Message Block (SMB) protocol that DataSync uses to access an SMB file server.

*/ MountOptions?: SmbMountOptions; @@ -476,14 +509,16 @@ export interface CreateLocationFsxOntapRequest { SecurityGroupArns: string[] | undefined; /** - *

Specifies the ARN of the storage virtual machine (SVM) on your file system where you're - * copying data to or from.

+ *

Specifies the ARN of the storage virtual machine (SVM) in your file system where you want + * to copy data to or from.

*/ StorageVirtualMachineArn: string | undefined; /** - *

Specifies the junction path (also known as a mount point) in the SVM volume where you're - * copying data to or from (for example, /vol1).

+ *

Specifies a path to the file share in the SVM where you'll copy your data.

+ *

You can specify a junction path (also known as a mount point), qtree path (for NFS file + * shares), or share name (for SMB file shares). For example, your mount path might be + * /vol1, /vol1/tree1, or /share1.

* *

Don't specify a junction path in the SVM's root volume. For more * information, see Managing FSx for ONTAP @@ -1019,68 +1054,60 @@ export interface CreateLocationS3Response { */ export interface CreateLocationSmbRequest { /** - *

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.

+ *

Specifies the name of the share exported by your SMB file server where DataSync + * will read or write data. You can include a subdirectory in the share path (for example, + * /path/to/subdirectory). Make sure that other SMB clients in your network can + * also mount this path.

+ *

To copy all data in the specified subdirectory, DataSync must be able to mount + * the SMB share and access all of its data. For more information, see required permissions for SMB locations.

*/ Subdirectory: string | undefined; /** - *

The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name - * of the SMB server. An agent that is installed on-premises uses this hostname to mount the SMB - * server in a network.

+ *

Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that + * your DataSync agent will mount.

* - *

This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.

+ *

You can't specify an IP version 6 (IPv6) address.

*
*/ ServerHostname: string | undefined; /** - *

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

- *

For information about choosing a user name that ensures sufficient permissions to files, - * folders, and metadata, see the User setting for SMB locations.

+ *

Specifies the user name that can mount your SMB file server and has permission to access + * the files and folders involved in your transfer.

+ *

For information about choosing a user with the right level of access for your transfer, + * see required permissions for SMB locations.

*/ User: string | undefined; /** - *

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

+ *

Specifies the Windows domain name that your SMB file server belongs to.

+ *

For more information, see required permissions for SMB locations.

*/ Domain?: string; /** - *

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

+ *

Specifies the password of the user who can mount your SMB file server and has permission + * to access the files and folders involved in your transfer.

+ *

For more information, see required permissions for SMB locations.

*/ Password: string | undefined; /** - *

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

+ *

Specifies the DataSync agent (or agents) which you want to connect to your SMB + * file server. You specify an agent by using its Amazon Resource Name (ARN).

*/ AgentArns: string[] | undefined; /** - *

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

+ *

Specifies the version of the SMB protocol that DataSync uses to access your SMB + * file server.

*/ MountOptions?: SmbMountOptions; /** - *

The key-value pair that represents the tag that you want to add to the location. The value - * can be an empty string. We recommend using tags to name your resources.

+ *

Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We + * recommend creating at least a name tag for your location.

*/ Tags?: TagListEntry[]; } @@ -1090,8 +1117,7 @@ export interface CreateLocationSmbRequest { */ export interface CreateLocationSmbResponse { /** - *

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

+ *

The ARN of the SMB location that you created.

*/ LocationArn?: string; } @@ -1237,7 +1263,7 @@ export interface Options { * those changes.

*

Some storage classes have specific behaviors that can affect your Amazon S3 * storage cost. For detailed information, see Considerations - * when working with Amazon S3 storage classes in DataSync .

+ * when working with Amazon S3 storage classes in DataSync.

*/ OverwriteMode?: OverwriteMode | string; @@ -1313,7 +1339,7 @@ export interface Options { * should be preserved. This option can affect your Amazon S3 storage cost. If your task * deletes objects, you might incur minimum storage duration charges for certain storage classes. * For detailed information, see Considerations - * when working with Amazon S3 storage classes in DataSync .

+ * when working with Amazon S3 storage classes in DataSync.

*

Default value: PRESERVE *

*

@@ -1321,6 +1347,10 @@ export interface Options { *

* REMOVE: Delete destination files that aren’t present in the * source.

+ * + *

If you set this parameter to REMOVE, you can't set + * TransferMode to ALL. When you transfer all data, DataSync doesn't scan your destination location and doesn't know what to delete.

+ *
*/ PreserveDeletedFiles?: PreserveDeletedFiles | string; @@ -1578,7 +1608,7 @@ export interface DeleteTaskResponse {} */ export interface DescribeAgentRequest { /** - *

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

+ *

Specifies the Amazon Resource Name (ARN) of the DataSync agent to describe.

*/ AgentArn: string | undefined; } @@ -1626,7 +1656,7 @@ export interface PrivateLinkConfig { */ export interface DescribeAgentResponse { /** - *

The Amazon Resource Name (ARN) of the agent.

+ *

The ARN of the agent.

*/ AgentArn?: string; @@ -2448,13 +2478,14 @@ export interface DescribeTaskExecutionResponse { */ export interface ListAgentsRequest { /** - *

The maximum number of agents to list.

+ *

Specifies the maximum number of DataSync agents to list in a response. By + * default, a response shows a maximum of 100 agents.

*/ MaxResults?: number; /** - *

An opaque string that indicates the position at which to begin the next list of - * agents.

+ *

Specifies an opaque string that indicates the position to begin the next list of + * results in the response.

*/ NextToken?: string; } @@ -2464,13 +2495,14 @@ export interface ListAgentsRequest { */ export interface ListAgentsResponse { /** - *

A list of agents in your account.

+ *

A list of DataSync agents in your Amazon Web Services account in the Amazon Web Services Region specified in the request. The list is ordered by the agents' Amazon + * Resource Names (ARNs).

*/ Agents?: AgentListEntry[]; /** - *

An opaque string that indicates the position at which to begin returning the next list - * of agents.

+ *

The opaque string that indicates the position to begin the next list of results in the + * response.

*/ NextToken?: string; } @@ -3116,7 +3148,7 @@ export interface UpdateLocationSmbRequest { AgentArns?: string[]; /** - *

Specifies how DataSync can access a location using the SMB protocol.

+ *

Specifies the version of the Server Message Block (SMB) protocol that DataSync uses to access an SMB file server.

*/ MountOptions?: SmbMountOptions; } diff --git a/codegen/sdk-codegen/aws-models/datasync.json b/codegen/sdk-codegen/aws-models/datasync.json index 3c11dcd6ee97..befdf0d01fcb 100644 --- a/codegen/sdk-codegen/aws-models/datasync.json +++ b/codegen/sdk-codegen/aws-models/datasync.json @@ -73,24 +73,24 @@ "AgentArn": { "target": "com.amazonaws.datasync#AgentArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the agent.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a DataSync agent.

" } }, "Name": { "target": "com.amazonaws.datasync#TagValue", "traits": { - "smithy.api#documentation": "

The name of the agent.

" + "smithy.api#documentation": "

The name of an agent.

" } }, "Status": { "target": "com.amazonaws.datasync#AgentStatus", "traits": { - "smithy.api#documentation": "

The status of the agent.

" + "smithy.api#documentation": "

The status of an agent. For more information, see DataSync agent statuses.

" } } }, "traits": { - "smithy.api#documentation": "

Represents a single entry in a list of agents. AgentListEntry returns an\n array that contains a list of agents when the ListAgents\n operation is\n called.

" + "smithy.api#documentation": "

Represents a single entry in a list (or array) of DataSync agents when\n you call the ListAgents operation.

" } }, "com.amazonaws.datasync#AgentStatus": { @@ -167,12 +167,16 @@ } }, "traits": { - "smithy.api#documentation": "

CancelTaskExecutionRequest

" + "smithy.api#documentation": "

CancelTaskExecutionRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#CancelTaskExecutionResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.datasync#CreateAgent": { "type": "operation", @@ -236,7 +240,8 @@ } }, "traits": { - "smithy.api#documentation": "

CreateAgentRequest

" + "smithy.api#documentation": "

CreateAgentRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#CreateAgentResponse": { @@ -250,7 +255,8 @@ } }, "traits": { - "smithy.api#documentation": "

CreateAgentResponse

" + "smithy.api#documentation": "

CreateAgentResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#CreateLocationEfs": { @@ -322,7 +328,8 @@ } }, "traits": { - "smithy.api#documentation": "

CreateLocationEfsRequest

" + "smithy.api#documentation": "

CreateLocationEfsRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#CreateLocationEfsResponse": { @@ -336,7 +343,8 @@ } }, "traits": { - "smithy.api#documentation": "

CreateLocationEfs

" + "smithy.api#documentation": "

CreateLocationEfs

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#CreateLocationFsxLustre": { @@ -388,6 +396,9 @@ "smithy.api#documentation": "

The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.datasync#CreateLocationFsxLustreResponse": { @@ -399,6 +410,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the FSx for Lustre file system location that's\n created.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.datasync#CreateLocationFsxOntap": { @@ -440,14 +454,14 @@ "StorageVirtualMachineArn": { "target": "com.amazonaws.datasync#StorageVirtualMachineArn", "traits": { - "smithy.api#documentation": "

Specifies the ARN of the storage virtual machine (SVM) on your file system where you're\n copying data to or from.

", + "smithy.api#documentation": "

Specifies the ARN of the storage virtual machine (SVM) in your file system where you want\n to copy data to or from.

", "smithy.api#required": {} } }, "Subdirectory": { "target": "com.amazonaws.datasync#FsxOntapSubdirectory", "traits": { - "smithy.api#documentation": "

Specifies the junction path (also known as a mount point) in the SVM volume where you're\n copying data to or from (for example, /vol1).

\n \n

Don't specify a junction path in the SVM's root volume. For more\n information, see Managing FSx for ONTAP\n storage virtual machines in the Amazon FSx for NetApp ONTAP User Guide.

\n
" + "smithy.api#documentation": "

Specifies a path to the file share in the SVM where you'll copy your data.

\n

You can specify a junction path (also known as a mount point), qtree path (for NFS file\n shares), or share name (for SMB file shares). For example, your mount path might be\n /vol1, /vol1/tree1, or /share1.

\n \n

Don't specify a junction path in the SVM's root volume. For more\n information, see Managing FSx for ONTAP\n storage virtual machines in the Amazon FSx for NetApp ONTAP User Guide.

\n
" } }, "Tags": { @@ -456,6 +470,9 @@ "smithy.api#documentation": "

Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.datasync#CreateLocationFsxOntapResponse": { @@ -467,6 +484,9 @@ "smithy.api#documentation": "

Specifies the ARN of the FSx for ONTAP file system location that you create.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.datasync#CreateLocationFsxOpenZfs": { @@ -525,6 +545,9 @@ "smithy.api#documentation": "

The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.datasync#CreateLocationFsxOpenZfsResponse": { @@ -536,6 +559,9 @@ "smithy.api#documentation": "

The ARN of the FSx for OpenZFS file system location that you created.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.datasync#CreateLocationFsxWindows": { @@ -607,6 +633,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.datasync#CreateLocationFsxWindowsResponse": { @@ -618,6 +647,9 @@ "smithy.api#documentation": "

The ARN of the FSx for Windows File Server file system location you created.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.datasync#CreateLocationHdfs": { @@ -724,6 +756,9 @@ "smithy.api#documentation": "

The key-value pair that represents the tag that you want to add to the location. The value\n can be an empty string. We recommend using tags to name your resources.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.datasync#CreateLocationHdfsResponse": { @@ -735,6 +770,9 @@ "smithy.api#documentation": "

The ARN of the source HDFS cluster location that's created.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.datasync#CreateLocationNfs": { @@ -795,7 +833,8 @@ } }, "traits": { - "smithy.api#documentation": "

CreateLocationNfsRequest

" + "smithy.api#documentation": "

CreateLocationNfsRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#CreateLocationNfsResponse": { @@ -809,7 +848,8 @@ } }, "traits": { - "smithy.api#documentation": "

CreateLocationNfsResponse

" + "smithy.api#documentation": "

CreateLocationNfsResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#CreateLocationObjectStorage": { @@ -900,7 +940,8 @@ } }, "traits": { - "smithy.api#documentation": "

CreateLocationObjectStorageRequest

" + "smithy.api#documentation": "

CreateLocationObjectStorageRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#CreateLocationObjectStorageResponse": { @@ -914,7 +955,8 @@ } }, "traits": { - "smithy.api#documentation": "

CreateLocationObjectStorageResponse

" + "smithy.api#documentation": "

CreateLocationObjectStorageResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#CreateLocationS3": { @@ -934,7 +976,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an endpoint for an Amazon S3 bucket that DataSync can access for a transfer.

\n

For\n more information, see\n Create an Amazon S3 location\n in the DataSync User Guide.

" + "smithy.api#documentation": "

Creates an endpoint for an Amazon S3 bucket that DataSync can\n access for a transfer. For more information, see Create an Amazon S3 location.

" } }, "com.amazonaws.datasync#CreateLocationS3Request": { @@ -979,7 +1021,8 @@ } }, "traits": { - "smithy.api#documentation": "

CreateLocationS3Request

" + "smithy.api#documentation": "

CreateLocationS3Request

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#CreateLocationS3Response": { @@ -993,7 +1036,8 @@ } }, "traits": { - "smithy.api#documentation": "

CreateLocationS3Response

" + "smithy.api#documentation": "

CreateLocationS3Response

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#CreateLocationSmb": { @@ -1013,7 +1057,7 @@ } ], "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

Creates an endpoint for a Server Message Block (SMB) file server that DataSync can access for a transfer. For more information, see Creating an SMB location.

" } }, "com.amazonaws.datasync#CreateLocationSmbRequest": { @@ -1022,59 +1066,60 @@ "Subdirectory": { "target": "com.amazonaws.datasync#SmbSubdirectory", "traits": { - "smithy.api#documentation": "

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

\n \n

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

\n
\n

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

", + "smithy.api#documentation": "

Specifies the name of the share exported by your SMB file server where DataSync\n will read or write data. You can include a subdirectory in the share path (for example,\n /path/to/subdirectory). Make sure that other SMB clients in your network can\n also mount this path.

\n

To copy all data in the specified subdirectory, DataSync must be able to mount\n the SMB share and access all of its data. For more information, see required permissions for SMB locations.

", "smithy.api#required": {} } }, "ServerHostname": { "target": "com.amazonaws.datasync#ServerHostname", "traits": { - "smithy.api#documentation": "

The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name\n of the SMB server. An agent that is installed on-premises uses this hostname to mount the SMB\n server in a network.

\n \n

This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.

\n
", + "smithy.api#documentation": "

Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that\n your DataSync agent will mount.

\n \n

You can't specify an IP version 6 (IPv6) address.

\n
", "smithy.api#required": {} } }, "User": { "target": "com.amazonaws.datasync#SmbUser", "traits": { - "smithy.api#documentation": "

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

\n

For information about choosing a user name that ensures sufficient permissions to files,\n folders, and metadata, see the User setting for SMB locations.

", + "smithy.api#documentation": "

Specifies the user name that can mount your SMB file server and has permission to access\n the files and folders involved in your transfer.

\n

For information about choosing a user with the right level of access for your transfer,\n see required permissions for SMB locations.

", "smithy.api#required": {} } }, "Domain": { "target": "com.amazonaws.datasync#SmbDomain", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

Specifies the Windows domain name that your SMB file server belongs to.

\n

For more information, see required permissions for SMB locations.

" } }, "Password": { "target": "com.amazonaws.datasync#SmbPassword", "traits": { - "smithy.api#documentation": "

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

", + "smithy.api#documentation": "

Specifies the password of the user who can mount your SMB file server and has permission\n to access the files and folders involved in your transfer.

\n

For more information, see required permissions for SMB locations.

", "smithy.api#required": {} } }, "AgentArns": { "target": "com.amazonaws.datasync#AgentArnList", "traits": { - "smithy.api#documentation": "

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

", + "smithy.api#documentation": "

Specifies the DataSync agent (or agents) which you want to connect to your SMB\n file server. You specify an agent by using its Amazon Resource Name (ARN).

", "smithy.api#required": {} } }, "MountOptions": { "target": "com.amazonaws.datasync#SmbMountOptions", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

Specifies the version of the SMB protocol that DataSync uses to access your SMB\n file server.

" } }, "Tags": { "target": "com.amazonaws.datasync#InputTagList", "traits": { - "smithy.api#documentation": "

The key-value pair that represents the tag that you want to add to the location. The value\n can be an empty string. We recommend using tags to name your resources.

" + "smithy.api#documentation": "

Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We\n recommend creating at least a name tag for your location.

" } } }, "traits": { - "smithy.api#documentation": "

CreateLocationSmbRequest

" + "smithy.api#documentation": "

CreateLocationSmbRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#CreateLocationSmbResponse": { @@ -1083,12 +1128,13 @@ "LocationArn": { "target": "com.amazonaws.datasync#LocationArn", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

The ARN of the SMB location that you created.

" } } }, "traits": { - "smithy.api#documentation": "

CreateLocationSmbResponse

" + "smithy.api#documentation": "

CreateLocationSmbResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#CreateTask": { @@ -1172,7 +1218,8 @@ } }, "traits": { - "smithy.api#documentation": "

CreateTaskRequest

" + "smithy.api#documentation": "

CreateTaskRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#CreateTaskResponse": { @@ -1186,7 +1233,8 @@ } }, "traits": { - "smithy.api#documentation": "

CreateTaskResponse

" + "smithy.api#documentation": "

CreateTaskResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#DeleteAgent": { @@ -1221,12 +1269,16 @@ } }, "traits": { - "smithy.api#documentation": "

DeleteAgentRequest

" + "smithy.api#documentation": "

DeleteAgentRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#DeleteAgentResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.datasync#DeleteLocation": { "type": "operation", @@ -1260,12 +1312,16 @@ } }, "traits": { - "smithy.api#documentation": "

DeleteLocation

" + "smithy.api#documentation": "

DeleteLocation

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#DeleteLocationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.datasync#DeleteTask": { "type": "operation", @@ -1299,12 +1355,16 @@ } }, "traits": { - "smithy.api#documentation": "

DeleteTask

" + "smithy.api#documentation": "

DeleteTask

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#DeleteTaskResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.datasync#DescribeAgent": { "type": "operation", @@ -1323,7 +1383,7 @@ } ], "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

Returns metadata about an DataSync agent, such as its name, endpoint type, and status.

" } }, "com.amazonaws.datasync#DescribeAgentRequest": { @@ -1332,13 +1392,14 @@ "AgentArn": { "target": "com.amazonaws.datasync#AgentArn", "traits": { - "smithy.api#documentation": "

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

", + "smithy.api#documentation": "

Specifies the Amazon Resource Name (ARN) of the DataSync agent to describe.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

DescribeAgent

" + "smithy.api#documentation": "

DescribeAgent

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#DescribeAgentResponse": { @@ -1347,7 +1408,7 @@ "AgentArn": { "target": "com.amazonaws.datasync#AgentArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the agent.

" + "smithy.api#documentation": "

The ARN of the agent.

" } }, "Name": { @@ -1388,7 +1449,8 @@ } }, "traits": { - "smithy.api#documentation": "

DescribeAgentResponse

" + "smithy.api#documentation": "

DescribeAgentResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#DescribeLocationEfs": { @@ -1423,7 +1485,8 @@ } }, "traits": { - "smithy.api#documentation": "

DescribeLocationEfsRequest

" + "smithy.api#documentation": "

DescribeLocationEfsRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#DescribeLocationEfsResponse": { @@ -1470,7 +1533,8 @@ } }, "traits": { - "smithy.api#documentation": "

DescribeLocationEfsResponse

" + "smithy.api#documentation": "

DescribeLocationEfsResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#DescribeLocationFsxLustre": { @@ -1503,6 +1567,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.datasync#DescribeLocationFsxLustreResponse": { @@ -1532,6 +1599,9 @@ "smithy.api#documentation": "

The time that the FSx for Lustre location was created.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.datasync#DescribeLocationFsxOntap": { @@ -1564,6 +1634,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.datasync#DescribeLocationFsxOntapResponse": { @@ -1608,6 +1681,9 @@ "smithy.api#documentation": "

The ARN of the FSx for ONTAP file system.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.datasync#DescribeLocationFsxOpenZfs": { @@ -1640,6 +1716,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.datasync#DescribeLocationFsxOpenZfsResponse": { @@ -1675,6 +1754,9 @@ "smithy.api#documentation": "

The time that the FSx for OpenZFS location was created.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.datasync#DescribeLocationFsxWindows": { @@ -1707,6 +1789,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.datasync#DescribeLocationFsxWindowsResponse": { @@ -1748,6 +1833,9 @@ "smithy.api#documentation": "

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

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.datasync#DescribeLocationHdfs": { @@ -1780,6 +1868,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.datasync#DescribeLocationHdfsResponse": { @@ -1857,6 +1948,9 @@ "smithy.api#documentation": "

The time that the HDFS location was created.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.datasync#DescribeLocationNfs": { @@ -1891,7 +1985,8 @@ } }, "traits": { - "smithy.api#documentation": "

DescribeLocationNfsRequest

" + "smithy.api#documentation": "

DescribeLocationNfsRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#DescribeLocationNfsResponse": { @@ -1926,7 +2021,8 @@ } }, "traits": { - "smithy.api#documentation": "

DescribeLocationNfsResponse

" + "smithy.api#documentation": "

DescribeLocationNfsResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#DescribeLocationObjectStorage": { @@ -1961,7 +2057,8 @@ } }, "traits": { - "smithy.api#documentation": "

DescribeLocationObjectStorageRequest

" + "smithy.api#documentation": "

DescribeLocationObjectStorageRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#DescribeLocationObjectStorageResponse": { @@ -2017,7 +2114,8 @@ } }, "traits": { - "smithy.api#documentation": "

DescribeLocationObjectStorageResponse

" + "smithy.api#documentation": "

DescribeLocationObjectStorageResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#DescribeLocationS3": { @@ -2052,7 +2150,8 @@ } }, "traits": { - "smithy.api#documentation": "

DescribeLocationS3Request

" + "smithy.api#documentation": "

DescribeLocationS3Request

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#DescribeLocationS3Response": { @@ -2093,7 +2192,8 @@ } }, "traits": { - "smithy.api#documentation": "

DescribeLocationS3Response

" + "smithy.api#documentation": "

DescribeLocationS3Response

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#DescribeLocationSmb": { @@ -2128,7 +2228,8 @@ } }, "traits": { - "smithy.api#documentation": "

DescribeLocationSmbRequest

" + "smithy.api#documentation": "

DescribeLocationSmbRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#DescribeLocationSmbResponse": { @@ -2178,7 +2279,8 @@ } }, "traits": { - "smithy.api#documentation": "

DescribeLocationSmbResponse

" + "smithy.api#documentation": "

DescribeLocationSmbResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#DescribeTask": { @@ -2233,7 +2335,8 @@ } }, "traits": { - "smithy.api#documentation": "

DescribeTaskExecutionRequest

" + "smithy.api#documentation": "

DescribeTaskExecutionRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#DescribeTaskExecutionResponse": { @@ -2322,7 +2425,8 @@ } }, "traits": { - "smithy.api#documentation": "

DescribeTaskExecutionResponse

" + "smithy.api#documentation": "

DescribeTaskExecutionResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#DescribeTaskRequest": { @@ -2337,7 +2441,8 @@ } }, "traits": { - "smithy.api#documentation": "

DescribeTaskRequest

" + "smithy.api#documentation": "

DescribeTaskRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#DescribeTaskResponse": { @@ -2441,7 +2546,8 @@ } }, "traits": { - "smithy.api#documentation": "

DescribeTaskResponse

" + "smithy.api#documentation": "

DescribeTaskResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#DestinationNetworkInterfaceArns": { @@ -2824,7 +2930,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": true, + "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -2853,13 +2959,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -2867,14 +2972,20 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true ] } ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], "type": "tree", "rules": [ { @@ -2883,67 +2994,42 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" + "endpoint": { + "url": { + "ref": "Endpoint" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", + "fn": "isSet", "argv": [ { - "ref": "UseDualStack" - }, - true + "ref": "Region" + } ] } ], @@ -2952,90 +3038,215 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "aws.partition", "argv": [ - true, { - "fn": "getAttr", + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] }, - "supportsFIPS" + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://datasync-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" } ] }, { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsDualStack" + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://datasync-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://datasync-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsFIPS" + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://datasync.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] - } - ], - "type": "tree", - "rules": [ + }, { "conditions": [], "type": "tree", @@ -3043,7 +3254,7 @@ { "conditions": [], "endpoint": { - "url": "https://datasync-fips.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://datasync.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, @@ -3052,74 +3263,13 @@ ] } ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://datasync.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } ] }, { "conditions": [], - "endpoint": { - "url": "https://datasync.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } @@ -3128,870 +3278,29 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync-fips.ap-south-1.api.aws" + "url": "https://datasync.af-south-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-south-1" - } - }, - { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.ap-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-south-1" - } - }, - { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.ap-south-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-south-1" - } - }, - { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.ap-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-south-1" - } - }, - { - "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.eu-south-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-south-1" - } - }, - { - "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.eu-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-south-1" - } - }, - { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.eu-south-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-south-1" - } - }, - { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.eu-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-south-1" - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-east-1" - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.us-gov-east-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-east-1" - } - }, - { - "documentation": "For region me-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.me-central-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "me-central-1" - } - }, - { - "documentation": "For region me-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.me-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "me-central-1" - } - }, - { - "documentation": "For region me-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.me-central-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "me-central-1" - } - }, - { - "documentation": "For region me-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.me-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "me-central-1" - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.ca-central-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "ca-central-1" - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.ca-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "ca-central-1" - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.ca-central-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "ca-central-1" - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.ca-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "ca-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.eu-central-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.eu-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.eu-central-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.eu-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "us-iso-west-1" - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.us-iso-west-1.c2s.ic.gov" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-west-1" - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "us-iso-west-1" - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.us-iso-west-1.c2s.ic.gov" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "us-iso-west-1" - } - }, - { - "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.us-west-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "us-west-1" - } - }, - { - "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.us-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "us-west-1" - } - }, - { - "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.us-west-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "us-west-1" - } - }, - { - "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.us-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-1" - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.us-west-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.us-west-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.us-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" - } - }, - { - "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.af-south-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "af-south-1" - } - }, - { - "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.af-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "af-south-1" - } - }, - { - "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.af-south-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "af-south-1" - } - }, - { - "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.af-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "af-south-1" - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.eu-north-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-north-1" - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.eu-north-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-north-1" - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.eu-north-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-north-1" - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.eu-north-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-north-1" - } - }, - { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.eu-west-3.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-west-3" - } - }, - { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.eu-west-3.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-west-3" - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.eu-west-3.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-west-3" - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.eu-west-3.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-3" - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.eu-west-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.eu-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.eu-west-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.eu-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.eu-west-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.eu-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, + "Region": "af-south-1", "UseDualStack": false, - "Region": "eu-west-1" + "UseFIPS": false } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.eu-west-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.eu-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.ap-northeast-3.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-northeast-3" - } - }, - { - "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.ap-northeast-3.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-northeast-3" - } - }, - { - "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.ap-northeast-3.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-northeast-3" - } - }, - { - "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.ap-northeast-3.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-3" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.ap-northeast-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.ap-northeast-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.ap-northeast-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-northeast-1" - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync-fips.ap-northeast-1.amazonaws.com" + "url": "https://datasync.ap-east-1.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "ap-east-1", "UseDualStack": false, - "Region": "ap-northeast-1" - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.ap-northeast-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-northeast-1" + "UseFIPS": false } }, { @@ -4002,473 +3311,321 @@ } }, "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-1" - } - }, - { - "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.me-south-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "me-south-1" - } - }, - { - "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.me-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "me-south-1" - } - }, - { - "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.me-south-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "me-south-1" - } - }, - { - "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.me-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "me-south-1" - } - }, - { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.sa-east-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "sa-east-1" - } - }, - { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.sa-east-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "sa-east-1" - } - }, - { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.sa-east-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "sa-east-1" - } - }, - { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.sa-east-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "sa-east-1" - } - }, - { - "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.ap-east-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-east-1" - } - }, - { - "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync-fips.ap-east-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-east-1" - } - }, - { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://datasync.ap-east-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-east-1" - } - }, - { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://datasync.ap-east-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, + "Region": "ap-northeast-1", "UseDualStack": false, - "Region": "ap-east-1" + "UseFIPS": false } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync-fips.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://datasync.ap-northeast-2.amazonaws.com" } }, "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-north-1" + "Region": "ap-northeast-2", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync-fips.cn-north-1.amazonaws.com.cn" + "url": "https://datasync.ap-northeast-3.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "ap-northeast-3", "UseDualStack": false, - "Region": "cn-north-1" + "UseFIPS": false } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://datasync.ap-south-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-north-1" + "Region": "ap-south-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync.cn-north-1.amazonaws.com.cn" + "url": "https://datasync.ap-southeast-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "ap-southeast-1", "UseDualStack": false, - "Region": "cn-north-1" + "UseFIPS": false } }, { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync-fips.us-gov-west-1.api.aws" + "url": "https://datasync.ap-southeast-2.amazonaws.com" } }, "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-west-1" + "Region": "ap-southeast-2", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync-fips.us-gov-west-1.amazonaws.com" + "url": "https://datasync.ap-southeast-3.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "ap-southeast-3", "UseDualStack": false, - "Region": "us-gov-west-1" + "UseFIPS": false } }, { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync.us-gov-west-1.api.aws" + "url": "https://datasync.ca-central-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-west-1" + "Region": "ca-central-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync.us-gov-west-1.amazonaws.com" + "url": "https://datasync-fips.ca-central-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "ca-central-1", "UseDualStack": false, - "Region": "us-gov-west-1" + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync-fips.ap-southeast-1.api.aws" + "url": "https://datasync.eu-central-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-southeast-1" + "Region": "eu-central-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync-fips.ap-southeast-1.amazonaws.com" + "url": "https://datasync.eu-north-1.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "eu-north-1", "UseDualStack": false, - "Region": "ap-southeast-1" + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync.ap-southeast-1.api.aws" + "url": "https://datasync.eu-south-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-southeast-1" + "Region": "eu-south-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync.ap-southeast-1.amazonaws.com" + "url": "https://datasync.eu-west-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "eu-west-1", "UseDualStack": false, - "Region": "ap-southeast-1" + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync-fips.ap-southeast-2.api.aws" + "url": "https://datasync.eu-west-2.amazonaws.com" } }, "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-southeast-2" + "Region": "eu-west-2", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync-fips.ap-southeast-2.amazonaws.com" + "url": "https://datasync.eu-west-3.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "eu-west-3", "UseDualStack": false, - "Region": "ap-southeast-2" + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync.ap-southeast-2.api.aws" + "url": "https://datasync.me-south-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-southeast-2" + "Region": "me-south-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync.ap-southeast-2.amazonaws.com" + "url": "https://datasync.sa-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "sa-east-1", "UseDualStack": false, - "Region": "ap-southeast-2" + "UseFIPS": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://datasync.us-east-1.amazonaws.com" + } }, "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "us-iso-east-1" + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://datasync-fips.us-east-1.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "us-east-1", "UseDualStack": false, - "Region": "us-iso-east-1" + "UseFIPS": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://datasync.us-east-2.amazonaws.com" + } }, "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "us-iso-east-1" + "Region": "us-east-2", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync.us-iso-east-1.c2s.ic.gov" + "url": "https://datasync-fips.us-east-2.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "us-east-2", "UseDualStack": false, - "Region": "us-iso-east-1" + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync-fips.ap-southeast-3.api.aws" + "url": "https://datasync.us-west-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-southeast-3" + "Region": "us-west-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync-fips.ap-southeast-3.amazonaws.com" + "url": "https://datasync-fips.us-west-1.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "us-west-1", "UseDualStack": false, - "Region": "ap-southeast-3" + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync.ap-southeast-3.api.aws" + "url": "https://datasync.us-west-2.amazonaws.com" } }, "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-southeast-3" + "Region": "us-west-2", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync.ap-southeast-3.amazonaws.com" + "url": "https://datasync-fips.us-west-2.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "us-west-2", "UseDualStack": false, - "Region": "ap-southeast-3" + "UseFIPS": true } }, { @@ -4479,187 +3636,191 @@ } }, "params": { - "UseFIPS": true, + "Region": "us-east-1", "UseDualStack": true, - "Region": "us-east-1" + "UseFIPS": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://datasync-fips.us-east-1.amazonaws.com" + "url": "https://datasync.us-east-1.api.aws" } }, "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://datasync.us-east-1.api.aws" + "url": "https://datasync-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseFIPS": false, + "Region": "cn-north-1", "UseDualStack": true, - "Region": "us-east-1" + "UseFIPS": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync.us-east-1.amazonaws.com" + "url": "https://datasync-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": false, + "Region": "cn-north-1", "UseDualStack": false, - "Region": "us-east-1" + "UseFIPS": true } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://datasync-fips.us-east-2.api.aws" + "url": "https://datasync.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseFIPS": true, + "Region": "cn-north-1", "UseDualStack": true, - "Region": "us-east-2" + "UseFIPS": false } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync-fips.us-east-2.amazonaws.com" + "url": "https://datasync.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": true, + "Region": "cn-north-1", "UseDualStack": false, - "Region": "us-east-2" + "UseFIPS": false } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync.us-east-2.api.aws" + "url": "https://datasync.us-gov-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-2" + "Region": "us-gov-east-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync.us-east-2.amazonaws.com" + "url": "https://datasync-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "us-gov-east-1", "UseDualStack": false, - "Region": "us-east-2" + "UseFIPS": true } }, { - "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync-fips.cn-northwest-1.api.amazonwebservices.com.cn" + "url": "https://datasync.us-gov-west-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-northwest-1" + "Region": "us-gov-west-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync-fips.cn-northwest-1.amazonaws.com.cn" + "url": "https://datasync-fips.us-gov-west-1.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "us-gov-west-1", "UseDualStack": false, - "Region": "cn-northwest-1" + "UseFIPS": true } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://datasync.cn-northwest-1.api.amazonwebservices.com.cn" + "url": "https://datasync-fips.us-gov-east-1.api.aws" } }, "params": { - "UseFIPS": false, + "Region": "us-gov-east-1", "UseDualStack": true, - "Region": "cn-northwest-1" + "UseFIPS": true } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://datasync.cn-northwest-1.amazonaws.com.cn" + "url": "https://datasync.us-gov-east-1.api.aws" } }, "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-northwest-1" + "Region": "us-gov-east-1", + "UseDualStack": true, + "UseFIPS": false } }, { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://datasync-fips.us-iso-east-1.c2s.ic.gov" + } }, "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "us-isob-east-1" + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://datasync-fips.us-isob-east-1.sc2s.sgov.gov" + "url": "https://datasync.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseFIPS": true, + "Region": "us-iso-east-1", "UseDualStack": false, - "Region": "us-isob-east-1" + "UseFIPS": false } }, { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://datasync-fips.us-isob-east-1.sc2s.sgov.gov" + } }, "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseDualStack": false, + "UseFIPS": true } }, { @@ -4670,22 +3831,35 @@ } }, "params": { - "UseFIPS": false, + "Region": "us-isob-east-1", "UseDualStack": false, - "Region": "us-isob-east-1" + "UseFIPS": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { + "Region": "us-east-1", + "UseDualStack": false, "UseFIPS": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { "UseDualStack": false, - "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } }, @@ -4695,9 +3869,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, - "UseDualStack": false, "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": true, "Endpoint": "https://example.com" } }, @@ -4707,9 +3881,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, - "UseDualStack": true, "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": false, "Endpoint": "https://example.com" } } @@ -5134,7 +4308,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a list of agents owned by an Amazon Web Services account in the Amazon Web Services Region specified in the\n request. The returned list is ordered by agent Amazon Resource Name (ARN).

\n

By default, this operation returns a maximum of 100 agents. This operation supports\n pagination that enables you to optionally reduce the number of agents returned in a\n response.

\n

If you have more agents than are returned in a response (that is, the response returns\n only a truncated list of your agents), the response contains a marker that you can specify in\n your next request to fetch the next page of agents.

", + "smithy.api#documentation": "

Returns a list of DataSync agents that belong to an Amazon Web Services account in the Amazon Web Services Region specified in the request.

\n

With pagination, you can reduce the number of agents returned in a response. If you get\n a truncated list of agents in a response, the response contains a marker that you can specify\n in your next request to fetch the next page of agents.

\n

\n ListAgents is eventually consistent. This means the result of running the\n operation might not reflect that you just created or deleted an agent. For example, if you\n create an agent with CreateAgent and then\n immediately run ListAgents, that agent might not show up in the list right away.\n In situations like this, you can always confirm whether an agent has been created (or deleted)\n by using DescribeAgent.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -5149,18 +4323,19 @@ "MaxResults": { "target": "com.amazonaws.datasync#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of agents to list.

" + "smithy.api#documentation": "

Specifies the maximum number of DataSync agents to list in a response. By\n default, a response shows a maximum of 100 agents.

" } }, "NextToken": { "target": "com.amazonaws.datasync#NextToken", "traits": { - "smithy.api#documentation": "

An opaque string that indicates the position at which to begin the next list of\n agents.

" + "smithy.api#documentation": "

Specifies an opaque string that indicates the position to begin the next list of\n results in the response.

" } } }, "traits": { - "smithy.api#documentation": "

ListAgentsRequest

" + "smithy.api#documentation": "

ListAgentsRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#ListAgentsResponse": { @@ -5169,18 +4344,19 @@ "Agents": { "target": "com.amazonaws.datasync#AgentList", "traits": { - "smithy.api#documentation": "

A list of agents in your account.

" + "smithy.api#documentation": "

A list of DataSync agents in your Amazon Web Services account in the Amazon Web Services Region specified in the request. The list is ordered by the agents' Amazon\n Resource Names (ARNs).

" } }, "NextToken": { "target": "com.amazonaws.datasync#NextToken", "traits": { - "smithy.api#documentation": "

An opaque string that indicates the position at which to begin returning the next list\n of agents.

" + "smithy.api#documentation": "

The opaque string that indicates the position to begin the next list of results in the\n response.

" } } }, "traits": { - "smithy.api#documentation": "

ListAgentsResponse

" + "smithy.api#documentation": "

ListAgentsResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#ListLocations": { @@ -5232,7 +4408,8 @@ } }, "traits": { - "smithy.api#documentation": "

ListLocationsRequest

" + "smithy.api#documentation": "

ListLocationsRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#ListLocationsResponse": { @@ -5252,7 +4429,8 @@ } }, "traits": { - "smithy.api#documentation": "

ListLocationsResponse

" + "smithy.api#documentation": "

ListLocationsResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#ListTagsForResource": { @@ -5305,7 +4483,8 @@ } }, "traits": { - "smithy.api#documentation": "

ListTagsForResourceRequest

" + "smithy.api#documentation": "

ListTagsForResourceRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#ListTagsForResourceResponse": { @@ -5325,7 +4504,8 @@ } }, "traits": { - "smithy.api#documentation": "

ListTagsForResourceResponse

" + "smithy.api#documentation": "

ListTagsForResourceResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#ListTaskExecutions": { @@ -5377,7 +4557,8 @@ } }, "traits": { - "smithy.api#documentation": "

ListTaskExecutions

" + "smithy.api#documentation": "

ListTaskExecutions

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#ListTaskExecutionsResponse": { @@ -5397,7 +4578,8 @@ } }, "traits": { - "smithy.api#documentation": "

ListTaskExecutionsResponse

" + "smithy.api#documentation": "

ListTaskExecutionsResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#ListTasks": { @@ -5449,7 +4631,8 @@ } }, "traits": { - "smithy.api#documentation": "

ListTasksRequest

" + "smithy.api#documentation": "

ListTasksRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#ListTasksResponse": { @@ -5469,7 +4652,8 @@ } }, "traits": { - "smithy.api#documentation": "

ListTasksResponse

" + "smithy.api#documentation": "

ListTasksResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#LocationArn": { @@ -5883,7 +5067,7 @@ "OverwriteMode": { "target": "com.amazonaws.datasync#OverwriteMode", "traits": { - "smithy.api#documentation": "

Specifies whether data at the destination location should be overwritten or preserved. If\n set to NEVER, a destination file for example will not be replaced by a source\n file (even if the destination file differs from the source file). If you modify files in the\n destination and you sync the files, you can use this value to protect against overwriting\n those changes.

\n

Some storage classes have specific behaviors that can affect your Amazon S3\n storage cost. For detailed information, see Considerations\n when working with Amazon S3 storage classes in DataSync .

" + "smithy.api#documentation": "

Specifies whether data at the destination location should be overwritten or preserved. If\n set to NEVER, a destination file for example will not be replaced by a source\n file (even if the destination file differs from the source file). If you modify files in the\n destination and you sync the files, you can use this value to protect against overwriting\n those changes.

\n

Some storage classes have specific behaviors that can affect your Amazon S3\n storage cost. For detailed information, see Considerations\n when working with Amazon S3 storage classes in DataSync.

" } }, "Atime": { @@ -5913,7 +5097,7 @@ "PreserveDeletedFiles": { "target": "com.amazonaws.datasync#PreserveDeletedFiles", "traits": { - "smithy.api#documentation": "

Specifies whether files in the destination location that don't exist in the source\n should be preserved. This option can affect your Amazon S3 storage cost. If your task\n deletes objects, you might incur minimum storage duration charges for certain storage classes.\n For detailed information, see Considerations\n when working with Amazon S3 storage classes in DataSync .

\n

Default value: PRESERVE\n

\n

\n PRESERVE: Ignore such destination files (recommended).

\n

\n REMOVE: Delete destination files that aren’t present in the\n source.

" + "smithy.api#documentation": "

Specifies whether files in the destination location that don't exist in the source\n should be preserved. This option can affect your Amazon S3 storage cost. If your task\n deletes objects, you might incur minimum storage duration charges for certain storage classes.\n For detailed information, see Considerations\n when working with Amazon S3 storage classes in DataSync.

\n

Default value: PRESERVE\n

\n

\n PRESERVE: Ignore such destination files (recommended).

\n

\n REMOVE: Delete destination files that aren’t present in the\n source.

\n \n

If you set this parameter to REMOVE, you can't set\n TransferMode to ALL. When you transfer all data, DataSync doesn't scan your destination location and doesn't know what to delete.

\n
" } }, "PreserveDevices": { @@ -6272,12 +5456,12 @@ "Version": { "target": "com.amazonaws.datasync#SmbVersion", "traits": { - "smithy.api#documentation": "

Specifies the SMB version that you want DataSync to use when mounting your SMB share. If you\n don't specify a version, DataSync defaults to AUTOMATIC and chooses a version based on negotiation with the SMB server.

" + "smithy.api#documentation": "

By default, DataSync automatically chooses an SMB protocol version based on\n negotiation with your SMB file server. You also can configure DataSync to use a\n specific SMB version, but we recommend doing this only if DataSync has trouble\n negotiating with the SMB file server automatically.

\n

These are the following options for configuring the SMB version:

\n
    \n
  • \n

    \n AUTOMATIC (default): DataSync and the SMB file server negotiate a\n protocol version that they mutually support. (DataSync supports SMB versions 1.0\n and later.)

    \n

    This is the recommended option. If you instead choose a specific version that your\n file server doesn't support, you may get an Operation Not Supported\n error.

    \n
  • \n
  • \n

    \n SMB3: Restricts the protocol negotiation to only SMB version 3.0.2.

    \n
  • \n
  • \n

    \n SMB2: Restricts the protocol negotiation to only SMB version 2.1.

    \n
  • \n
  • \n

    \n SMB2_0: Restricts the protocol negotiation to only SMB version 2.0.

    \n
  • \n
  • \n

    \n SMB1: Restricts the protocol negotiation to only SMB version 1.0.

    \n \n

    The SMB1 option isn't available when creating an Amazon FSx for NetApp ONTAP location.

    \n
    \n
  • \n
" } } }, "traits": { - "smithy.api#documentation": "

Specifies how DataSync can access a location using the SMB protocol.

" + "smithy.api#documentation": "

Specifies the version of the Server Message Block (SMB) protocol that DataSync uses to access an SMB file server.

" } }, "com.amazonaws.datasync#SmbPassword": { @@ -6354,6 +5538,18 @@ "traits": { "smithy.api#enumValue": "SMB3" } + }, + "SMB1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SMB1" + } + }, + "SMB2_0": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SMB2_0" + } } } }, @@ -6416,7 +5612,8 @@ } }, "traits": { - "smithy.api#documentation": "

StartTaskExecutionRequest

" + "smithy.api#documentation": "

StartTaskExecutionRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#StartTaskExecutionResponse": { @@ -6430,7 +5627,8 @@ } }, "traits": { - "smithy.api#documentation": "

StartTaskExecutionResponse

" + "smithy.api#documentation": "

StartTaskExecutionResponse

", + "smithy.api#output": {} } }, "com.amazonaws.datasync#StorageVirtualMachineArn": { @@ -6525,12 +5723,16 @@ } }, "traits": { - "smithy.api#documentation": "

TagResourceRequest

" + "smithy.api#documentation": "

TagResourceRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.datasync#TagValue": { "type": "string", @@ -6946,12 +6148,16 @@ } }, "traits": { - "smithy.api#documentation": "

UntagResourceRequest

" + "smithy.api#documentation": "

UntagResourceRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.datasync#UpdateAgent": { "type": "operation", @@ -6991,12 +6197,16 @@ } }, "traits": { - "smithy.api#documentation": "

UpdateAgentRequest

" + "smithy.api#documentation": "

UpdateAgentRequest

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#UpdateAgentResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.datasync#UpdateLocationHdfs": { "type": "operation", @@ -7100,11 +6310,17 @@ "smithy.api#documentation": "

The ARNs of the agents that are used to connect to the HDFS cluster.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.datasync#UpdateLocationHdfsResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.datasync#UpdateLocationNfs": { "type": "operation", @@ -7148,11 +6364,17 @@ "MountOptions": { "target": "com.amazonaws.datasync#NfsMountOptions" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.datasync#UpdateLocationNfsResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.datasync#UpdateLocationObjectStorage": { "type": "operation", @@ -7226,11 +6448,17 @@ "smithy.api#documentation": "

Specifies a certificate to authenticate with an object storage system that uses a private\n or self-signed certificate authority (CA). You must specify a Base64-encoded .pem\n file (for example, file:///home/user/.ssh/storage_sys_certificate.pem). The certificate can be up to 32768 bytes (before Base64 encoding).

\n

To use this parameter, configure ServerProtocol to HTTPS.

\n

Updating the certificate doesn't interfere with tasks that you have in progress.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.datasync#UpdateLocationObjectStorageResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.datasync#UpdateLocationSmb": { "type": "operation", @@ -7295,11 +6523,17 @@ "MountOptions": { "target": "com.amazonaws.datasync#SmbMountOptions" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.datasync#UpdateLocationSmbResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.datasync#UpdateTask": { "type": "operation", @@ -7357,11 +6591,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.datasync#UpdateTaskExecutionResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.datasync#UpdateTaskRequest": { "type": "structure", @@ -7408,12 +6648,16 @@ } }, "traits": { - "smithy.api#documentation": "

UpdateTaskResponse

" + "smithy.api#documentation": "

UpdateTaskResponse

", + "smithy.api#input": {} } }, "com.amazonaws.datasync#UpdateTaskResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.datasync#VerifyMode": { "type": "enum",