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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.