diff --git a/clients/client-appflow/package.json b/clients/client-appflow/package.json index 9716fdea8b6b..881230c8568e 100644 --- a/clients/client-appflow/package.json +++ b/clients/client-appflow/package.json @@ -53,12 +53,14 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@aws-sdk/util-utf8": "*", - "tslib": "^2.5.0" + "tslib": "^2.5.0", + "uuid": "^8.3.2" }, "devDependencies": { "@aws-sdk/service-client-documentation-generator": "*", "@tsconfig/node14": "1.0.3", "@types/node": "^14.14.31", + "@types/uuid": "^8.3.0", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/clients/client-appflow/src/commands/CreateConnectorProfileCommand.ts b/clients/client-appflow/src/commands/CreateConnectorProfileCommand.ts index d306d204ae04..8d5a29f6af49 100644 --- a/clients/client-appflow/src/commands/CreateConnectorProfileCommand.ts +++ b/clients/client-appflow/src/commands/CreateConnectorProfileCommand.ts @@ -278,6 +278,7 @@ export interface CreateConnectorProfileCommandOutput extends CreateConnectorProf * }, * }, * }, + * clientToken: "STRING_VALUE", * }; * const command = new CreateConnectorProfileCommand(input); * const response = await client.send(command); diff --git a/clients/client-appflow/src/commands/CreateFlowCommand.ts b/clients/client-appflow/src/commands/CreateFlowCommand.ts index 80fdf7fa0753..858cc760d3ff 100644 --- a/clients/client-appflow/src/commands/CreateFlowCommand.ts +++ b/clients/client-appflow/src/commands/CreateFlowCommand.ts @@ -313,6 +313,7 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB * tablePrefix: "STRING_VALUE", // required * }, * }, + * clientToken: "STRING_VALUE", * }; * const command = new CreateFlowCommand(input); * const response = await client.send(command); diff --git a/clients/client-appflow/src/commands/RegisterConnectorCommand.ts b/clients/client-appflow/src/commands/RegisterConnectorCommand.ts index b412a605af45..bd36e336f6bb 100644 --- a/clients/client-appflow/src/commands/RegisterConnectorCommand.ts +++ b/clients/client-appflow/src/commands/RegisterConnectorCommand.ts @@ -50,6 +50,7 @@ export interface RegisterConnectorCommandOutput extends RegisterConnectorRespons * lambdaArn: "STRING_VALUE", // required * }, * }, + * clientToken: "STRING_VALUE", * }; * const command = new RegisterConnectorCommand(input); * const response = await client.send(command); diff --git a/clients/client-appflow/src/commands/StartFlowCommand.ts b/clients/client-appflow/src/commands/StartFlowCommand.ts index 4c1f58c5ccc0..d187957400f9 100644 --- a/clients/client-appflow/src/commands/StartFlowCommand.ts +++ b/clients/client-appflow/src/commands/StartFlowCommand.ts @@ -42,6 +42,7 @@ export interface StartFlowCommandOutput extends StartFlowResponse, __MetadataBea * const client = new AppflowClient(config); * const input = { // StartFlowRequest * flowName: "STRING_VALUE", // required + * clientToken: "STRING_VALUE", * }; * const command = new StartFlowCommand(input); * const response = await client.send(command); diff --git a/clients/client-appflow/src/commands/UpdateConnectorProfileCommand.ts b/clients/client-appflow/src/commands/UpdateConnectorProfileCommand.ts index 4e2a9bfab638..32fd91051a87 100644 --- a/clients/client-appflow/src/commands/UpdateConnectorProfileCommand.ts +++ b/clients/client-appflow/src/commands/UpdateConnectorProfileCommand.ts @@ -271,6 +271,7 @@ export interface UpdateConnectorProfileCommandOutput extends UpdateConnectorProf * }, * }, * }, + * clientToken: "STRING_VALUE", * }; * const command = new UpdateConnectorProfileCommand(input); * const response = await client.send(command); diff --git a/clients/client-appflow/src/commands/UpdateConnectorRegistrationCommand.ts b/clients/client-appflow/src/commands/UpdateConnectorRegistrationCommand.ts index eb35b35fc685..7d128ef4e8be 100644 --- a/clients/client-appflow/src/commands/UpdateConnectorRegistrationCommand.ts +++ b/clients/client-appflow/src/commands/UpdateConnectorRegistrationCommand.ts @@ -61,6 +61,7 @@ export interface UpdateConnectorRegistrationCommandOutput * lambdaArn: "STRING_VALUE", // required * }, * }, + * clientToken: "STRING_VALUE", * }; * const command = new UpdateConnectorRegistrationCommand(input); * const response = await client.send(command); diff --git a/clients/client-appflow/src/commands/UpdateFlowCommand.ts b/clients/client-appflow/src/commands/UpdateFlowCommand.ts index 160136b2904c..51ab859cf516 100644 --- a/clients/client-appflow/src/commands/UpdateFlowCommand.ts +++ b/clients/client-appflow/src/commands/UpdateFlowCommand.ts @@ -305,6 +305,7 @@ export interface UpdateFlowCommandOutput extends UpdateFlowResponse, __MetadataB * tablePrefix: "STRING_VALUE", // required * }, * }, + * clientToken: "STRING_VALUE", * }; * const command = new UpdateFlowCommand(input); * const response = await client.send(command); diff --git a/clients/client-appflow/src/models/models_0.ts b/clients/client-appflow/src/models/models_0.ts index a78bb8c903f9..ae74df4dadaa 100644 --- a/clients/client-appflow/src/models/models_0.ts +++ b/clients/client-appflow/src/models/models_0.ts @@ -3177,6 +3177,20 @@ export interface CreateConnectorProfileRequest { *

Defines the connector-specific configuration and credentials.

*/ connectorProfileConfig: ConnectorProfileConfig | undefined; + + /** + *

The clientToken parameter is an idempotency token. It ensures that your + * CreateConnectorProfile request completes only once. You choose the value to + * pass. For example, if you don't receive a response from your request, you can safely retry the + * request with the same clientToken parameter value.

+ *

If you omit a clientToken value, the Amazon Web Services SDK that you are + * using inserts a value for you. This way, the SDK can safely retry requests multiple times + * after a network error. You must provide your own value for other use cases.

+ *

If you specify input parameters that differ from your first request, an error occurs. If + * you use a different value for clientToken, Amazon AppFlow considers it a new + * call to CreateConnectorProfile. The token is active for 8 hours.

+ */ + clientToken?: string; } /** @@ -4683,6 +4697,20 @@ export interface CreateFlowRequest { * stores metadata in a data catalog.

*/ metadataCatalogConfig?: MetadataCatalogConfig; + + /** + *

The clientToken parameter is an idempotency token. It ensures that your + * CreateFlow request completes only once. You choose the value to + * pass. For example, if you don't receive a response from your request, you can safely retry the + * request with the same clientToken parameter value.

+ *

If you omit a clientToken value, the Amazon Web Services SDK that you are + * using inserts a value for you. This way, the SDK can safely retry requests multiple times + * after a network error. You must provide your own value for other use cases.

+ *

If you specify input parameters that differ from your first request, an error occurs. If + * you use a different value for clientToken, Amazon AppFlow considers it a new + * call to CreateFlow. The token is active for 8 hours.

+ */ + clientToken?: string; } /** @@ -5563,6 +5591,20 @@ export interface RegisterConnectorRequest { * LAMBDA.

*/ connectorProvisioningConfig?: ConnectorProvisioningConfig; + + /** + *

The clientToken parameter is an idempotency token. It ensures that your + * RegisterConnector request completes only once. You choose the value to + * pass. For example, if you don't receive a response from your request, you can safely retry the + * request with the same clientToken parameter value.

+ *

If you omit a clientToken value, the Amazon Web Services SDK that you are + * using inserts a value for you. This way, the SDK can safely retry requests multiple times + * after a network error. You must provide your own value for other use cases.

+ *

If you specify input parameters that differ from your first request, an error occurs. If + * you use a different value for clientToken, Amazon AppFlow considers it a new + * call to RegisterConnector. The token is active for 8 hours.

+ */ + clientToken?: string; } /** @@ -5605,6 +5647,23 @@ export interface StartFlowRequest { * (-) only.

*/ flowName: string | undefined; + + /** + *

The clientToken parameter is an idempotency token. It ensures that your + * StartFlow request completes only once. You choose the value to + * pass. For example, if you don't receive a response from your request, you can safely retry the + * request with the same clientToken parameter value.

+ *

If you omit a clientToken value, the Amazon Web Services SDK that you are + * using inserts a value for you. This way, the SDK can safely retry requests multiple times + * after a network error. You must provide your own value for other use cases.

+ *

If you specify input parameters that differ from your first request, an error occurs for + * flows that run on a schedule or based on an event. However, the error doesn't occur for flows + * that run on demand. You set the conditions that initiate your flow for the + * triggerConfig parameter.

+ *

If you use a different value for clientToken, Amazon AppFlow considers + * it a new call to StartFlow. The token is active for 8 hours.

+ */ + clientToken?: string; } /** @@ -5755,6 +5814,20 @@ export interface UpdateConnectorProfileRequest { *

Defines the connector-specific profile configuration and credentials.

*/ connectorProfileConfig: ConnectorProfileConfig | undefined; + + /** + *

The clientToken parameter is an idempotency token. It ensures that your + * UpdateConnectorProfile request completes only once. You choose the value to + * pass. For example, if you don't receive a response from your request, you can safely retry the + * request with the same clientToken parameter value.

+ *

If you omit a clientToken value, the Amazon Web Services SDK that you are + * using inserts a value for you. This way, the SDK can safely retry requests multiple times + * after a network error. You must provide your own value for other use cases.

+ *

If you specify input parameters that differ from your first request, an error occurs. If + * you use a different value for clientToken, Amazon AppFlow considers it a new + * call to UpdateConnectorProfile. The token is active for 8 hours.

+ */ + clientToken?: string; } /** @@ -5786,6 +5859,20 @@ export interface UpdateConnectorRegistrationRequest { *

Contains information about the configuration of the connector being registered.

*/ connectorProvisioningConfig?: ConnectorProvisioningConfig; + + /** + *

The clientToken parameter is an idempotency token. It ensures that your + * UpdateConnectorRegistration request completes only once. You choose the value to + * pass. For example, if you don't receive a response from your request, you can safely retry the + * request with the same clientToken parameter value.

+ *

If you omit a clientToken value, the Amazon Web Services SDK that you are + * using inserts a value for you. This way, the SDK can safely retry requests multiple times + * after a network error. You must provide your own value for other use cases.

+ *

If you specify input parameters that differ from your first request, an error occurs. If + * you use a different value for clientToken, Amazon AppFlow considers it a new + * call to UpdateConnectorRegistration. The token is active for 8 hours.

+ */ + clientToken?: string; } /** @@ -5842,6 +5929,20 @@ export interface UpdateFlowRequest { * stores metadata in a data catalog.

*/ metadataCatalogConfig?: MetadataCatalogConfig; + + /** + *

The clientToken parameter is an idempotency token. It ensures that your + * UpdateFlow request completes only once. You choose the value to + * pass. For example, if you don't receive a response from your request, you can safely retry the + * request with the same clientToken parameter value.

+ *

If you omit a clientToken value, the Amazon Web Services SDK that you are + * using inserts a value for you. This way, the SDK can safely retry requests multiple times + * after a network error. You must provide your own value for other use cases.

+ *

If you specify input parameters that differ from your first request, an error occurs. If + * you use a different value for clientToken, Amazon AppFlow considers it a new + * call to UpdateFlow. The token is active for 8 hours.

+ */ + clientToken?: string; } /** diff --git a/clients/client-appflow/src/protocols/Aws_restJson1.ts b/clients/client-appflow/src/protocols/Aws_restJson1.ts index a82522896362..91b1c2ffdfec 100644 --- a/clients/client-appflow/src/protocols/Aws_restJson1.ts +++ b/clients/client-appflow/src/protocols/Aws_restJson1.ts @@ -23,6 +23,7 @@ import { ResponseMetadata as __ResponseMetadata, SerdeContext as __SerdeContext, } from "@aws-sdk/types"; +import { v4 as generateIdempotencyToken } from "uuid"; import { CreateConnectorProfileCommandInput, @@ -219,6 +220,7 @@ export const se_CreateConnectorProfileCommand = async ( let body: any; body = JSON.stringify( take(input, { + clientToken: (_) => _ ?? generateIdempotencyToken(), connectionMode: [], connectorLabel: [], connectorProfileConfig: (_) => _json(_), @@ -253,6 +255,7 @@ export const se_CreateFlowCommand = async ( let body: any; body = JSON.stringify( take(input, { + clientToken: (_) => _ ?? generateIdempotencyToken(), description: [], destinationFlowConfigList: (_) => _json(_), flowName: [], @@ -658,6 +661,7 @@ export const se_RegisterConnectorCommand = async ( let body: any; body = JSON.stringify( take(input, { + clientToken: (_) => _ ?? generateIdempotencyToken(), connectorLabel: [], connectorProvisioningConfig: (_) => _json(_), connectorProvisioningType: [], @@ -690,6 +694,7 @@ export const se_StartFlowCommand = async ( let body: any; body = JSON.stringify( take(input, { + clientToken: (_) => _ ?? generateIdempotencyToken(), flowName: [], }) ); @@ -839,6 +844,7 @@ export const se_UpdateConnectorProfileCommand = async ( let body: any; body = JSON.stringify( take(input, { + clientToken: (_) => _ ?? generateIdempotencyToken(), connectionMode: [], connectorProfileConfig: (_) => _json(_), connectorProfileName: [], @@ -871,6 +877,7 @@ export const se_UpdateConnectorRegistrationCommand = async ( let body: any; body = JSON.stringify( take(input, { + clientToken: (_) => _ ?? generateIdempotencyToken(), connectorLabel: [], connectorProvisioningConfig: (_) => _json(_), description: [], @@ -902,6 +909,7 @@ export const se_UpdateFlowCommand = async ( let body: any; body = JSON.stringify( take(input, { + clientToken: (_) => _ ?? generateIdempotencyToken(), description: [], destinationFlowConfigList: (_) => _json(_), flowName: [], diff --git a/codegen/sdk-codegen/aws-models/appflow.json b/codegen/sdk-codegen/aws-models/appflow.json index f5bfcf125034..752d55ce0f50 100644 --- a/codegen/sdk-codegen/aws-models/appflow.json +++ b/codegen/sdk-codegen/aws-models/appflow.json @@ -552,6 +552,16 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.appflow#ClientToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[ -~]+$" + } + }, "com.amazonaws.appflow#ClusterIdentifier": { "type": "string", "traits": { @@ -2060,6 +2070,13 @@ "smithy.api#documentation": "

Defines the connector-specific configuration and credentials.

", "smithy.api#required": {} } + }, + "clientToken": { + "target": "com.amazonaws.appflow#ClientToken", + "traits": { + "smithy.api#documentation": "

The clientToken parameter is an idempotency token. It ensures that your\n CreateConnectorProfile request completes only once. You choose the value to\n pass. For example, if you don't receive a response from your request, you can safely retry the\n request with the same clientToken parameter value.

\n

If you omit a clientToken value, the Amazon Web Services SDK that you are\n using inserts a value for you. This way, the SDK can safely retry requests multiple times\n after a network error. You must provide your own value for other use cases.

\n

If you specify input parameters that differ from your first request, an error occurs. If\n you use a different value for clientToken, Amazon AppFlow considers it a new\n call to CreateConnectorProfile. The token is active for 8 hours.

", + "smithy.api#idempotencyToken": {} + } } }, "traits": { @@ -2181,6 +2198,13 @@ "traits": { "smithy.api#documentation": "

Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's\n transferred by the associated flow. When Amazon AppFlow catalogs the data from a flow, it\n stores metadata in a data catalog.

" } + }, + "clientToken": { + "target": "com.amazonaws.appflow#ClientToken", + "traits": { + "smithy.api#documentation": "

The clientToken parameter is an idempotency token. It ensures that your\n CreateFlow request completes only once. You choose the value to\n pass. For example, if you don't receive a response from your request, you can safely retry the\n request with the same clientToken parameter value.

\n

If you omit a clientToken value, the Amazon Web Services SDK that you are\n using inserts a value for you. This way, the SDK can safely retry requests multiple times\n after a network error. You must provide your own value for other use cases.

\n

If you specify input parameters that differ from your first request, an error occurs. If\n you use a different value for clientToken, Amazon AppFlow considers it a new\n call to CreateFlow. The token is active for 8 hours.

", + "smithy.api#idempotencyToken": {} + } } }, "traits": { @@ -6776,6 +6800,13 @@ "traits": { "smithy.api#documentation": "

The provisioning type of the connector. Currently the only supported value is\n LAMBDA.

" } + }, + "clientToken": { + "target": "com.amazonaws.appflow#ClientToken", + "traits": { + "smithy.api#documentation": "

The clientToken parameter is an idempotency token. It ensures that your\n RegisterConnector request completes only once. You choose the value to\n pass. For example, if you don't receive a response from your request, you can safely retry the\n request with the same clientToken parameter value.

\n

If you omit a clientToken value, the Amazon Web Services SDK that you are\n using inserts a value for you. This way, the SDK can safely retry requests multiple times\n after a network error. You must provide your own value for other use cases.

\n

If you specify input parameters that differ from your first request, an error occurs. If\n you use a different value for clientToken, Amazon AppFlow considers it a new\n call to RegisterConnector. The token is active for 8 hours.

", + "smithy.api#idempotencyToken": {} + } } }, "traits": { @@ -8114,9 +8145,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "af-south-1", "UseFIPS": false, - "Region": "af-south-1" + "UseDualStack": false } }, { @@ -8127,9 +8158,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "ap-northeast-1", "UseFIPS": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { @@ -8140,9 +8171,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "ap-northeast-2", "UseFIPS": false, - "Region": "ap-northeast-2" + "UseDualStack": false } }, { @@ -8153,9 +8184,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "ap-south-1", "UseFIPS": false, - "Region": "ap-south-1" + "UseDualStack": false } }, { @@ -8166,9 +8197,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "ap-southeast-1", "UseFIPS": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { @@ -8179,9 +8210,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "ap-southeast-2", "UseFIPS": false, - "Region": "ap-southeast-2" + "UseDualStack": false } }, { @@ -8192,9 +8223,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "ca-central-1", "UseFIPS": false, - "Region": "ca-central-1" + "UseDualStack": false } }, { @@ -8205,9 +8236,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "eu-central-1", "UseFIPS": false, - "Region": "eu-central-1" + "UseDualStack": false } }, { @@ -8218,9 +8249,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "eu-west-1", "UseFIPS": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { @@ -8231,9 +8262,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "eu-west-2", "UseFIPS": false, - "Region": "eu-west-2" + "UseDualStack": false } }, { @@ -8244,9 +8275,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "eu-west-3", "UseFIPS": false, - "Region": "eu-west-3" + "UseDualStack": false } }, { @@ -8257,9 +8288,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "sa-east-1", "UseFIPS": false, - "Region": "sa-east-1" + "UseDualStack": false } }, { @@ -8270,9 +8301,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -8283,9 +8314,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-east-2", "UseFIPS": false, - "Region": "us-east-2" + "UseDualStack": false } }, { @@ -8296,9 +8327,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-west-1", "UseFIPS": false, - "Region": "us-west-1" + "UseDualStack": false } }, { @@ -8309,9 +8340,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-west-2", "UseFIPS": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -8322,9 +8353,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -8335,9 +8366,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -8348,9 +8379,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -8361,9 +8392,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -8374,9 +8405,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -8387,9 +8418,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -8400,9 +8431,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -8413,9 +8444,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -8426,9 +8457,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -8439,9 +8470,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -8452,9 +8483,20 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -8465,9 +8507,20 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -8478,9 +8531,20 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -8491,9 +8555,20 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -8504,9 +8579,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -8517,9 +8592,9 @@ } }, "params": { - "UseDualStack": false, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -8531,8 +8606,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -8542,9 +8617,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -8554,11 +8629,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -9587,6 +9668,13 @@ "smithy.api#documentation": "

The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens\n (-) only.

", "smithy.api#required": {} } + }, + "clientToken": { + "target": "com.amazonaws.appflow#ClientToken", + "traits": { + "smithy.api#documentation": "

The clientToken parameter is an idempotency token. It ensures that your\n StartFlow request completes only once. You choose the value to\n pass. For example, if you don't receive a response from your request, you can safely retry the\n request with the same clientToken parameter value.

\n

If you omit a clientToken value, the Amazon Web Services SDK that you are\n using inserts a value for you. This way, the SDK can safely retry requests multiple times\n after a network error. You must provide your own value for other use cases.

\n

If you specify input parameters that differ from your first request, an error occurs for\n flows that run on a schedule or based on an event. However, the error doesn't occur for flows\n that run on demand. You set the conditions that initiate your flow for the\n triggerConfig parameter.

\n

If you use a different value for clientToken, Amazon AppFlow considers\n it a new call to StartFlow. The token is active for 8 hours.

", + "smithy.api#idempotencyToken": {} + } } }, "traits": { @@ -10426,6 +10514,13 @@ "smithy.api#documentation": "

Defines the connector-specific profile configuration and credentials.

", "smithy.api#required": {} } + }, + "clientToken": { + "target": "com.amazonaws.appflow#ClientToken", + "traits": { + "smithy.api#documentation": "

The clientToken parameter is an idempotency token. It ensures that your\n UpdateConnectorProfile request completes only once. You choose the value to\n pass. For example, if you don't receive a response from your request, you can safely retry the\n request with the same clientToken parameter value.

\n

If you omit a clientToken value, the Amazon Web Services SDK that you are\n using inserts a value for you. This way, the SDK can safely retry requests multiple times\n after a network error. You must provide your own value for other use cases.

\n

If you specify input parameters that differ from your first request, an error occurs. If\n you use a different value for clientToken, Amazon AppFlow considers it a new\n call to UpdateConnectorProfile. The token is active for 8 hours.

", + "smithy.api#idempotencyToken": {} + } } }, "traits": { @@ -10510,6 +10605,13 @@ }, "connectorProvisioningConfig": { "target": "com.amazonaws.appflow#ConnectorProvisioningConfig" + }, + "clientToken": { + "target": "com.amazonaws.appflow#ClientToken", + "traits": { + "smithy.api#documentation": "

The clientToken parameter is an idempotency token. It ensures that your\n UpdateConnectorRegistration request completes only once. You choose the value to\n pass. For example, if you don't receive a response from your request, you can safely retry the\n request with the same clientToken parameter value.

\n

If you omit a clientToken value, the Amazon Web Services SDK that you are\n using inserts a value for you. This way, the SDK can safely retry requests multiple times\n after a network error. You must provide your own value for other use cases.

\n

If you specify input parameters that differ from your first request, an error occurs. If\n you use a different value for clientToken, Amazon AppFlow considers it a new\n call to UpdateConnectorRegistration. The token is active for 8 hours.

", + "smithy.api#idempotencyToken": {} + } } }, "traits": { @@ -10618,6 +10720,13 @@ "traits": { "smithy.api#documentation": "

Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's\n transferred by the associated flow. When Amazon AppFlow catalogs the data from a flow, it\n stores metadata in a data catalog.

" } + }, + "clientToken": { + "target": "com.amazonaws.appflow#ClientToken", + "traits": { + "smithy.api#documentation": "

The clientToken parameter is an idempotency token. It ensures that your\n UpdateFlow request completes only once. You choose the value to\n pass. For example, if you don't receive a response from your request, you can safely retry the\n request with the same clientToken parameter value.

\n

If you omit a clientToken value, the Amazon Web Services SDK that you are\n using inserts a value for you. This way, the SDK can safely retry requests multiple times\n after a network error. You must provide your own value for other use cases.

\n

If you specify input parameters that differ from your first request, an error occurs. If\n you use a different value for clientToken, Amazon AppFlow considers it a new\n call to UpdateFlow. The token is active for 8 hours.

", + "smithy.api#idempotencyToken": {} + } } }, "traits": {