lib/aws-sdk-transfer/client.rb in aws-sdk-transfer-1.63.0 vs lib/aws-sdk-transfer/client.rb in aws-sdk-transfer-1.64.0
- old
+ new
@@ -1012,12 +1012,12 @@
#
# @option params [Types::WorkflowDetails] :workflow_details
# Specifies the workflow ID for the workflow to assign and the execution
# role that's used for executing the workflow.
#
- # In addition to a workflow to execute when a file is uploaded
- # completely, `WorkflowDetails` can also contain a workflow ID (and
+ # In additon to a workflow to execute when a file is uploaded
+ # completely, `WorkflowDeatails` can also contain a workflow ID (and
# execution role) for a workflow to execute on partial upload. A partial
# upload occurs when a file is open when the session disconnects.
#
# @return [Types::CreateServerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
@@ -1189,24 +1189,12 @@
#
# @option params [String] :ssh_public_key_body
# The public portion of the Secure Shell (SSH) key used to authenticate
# the user to the server.
#
- # The three standard SSH public key format elements are `<key type>`,
- # `<body base64>`, and an optional `<comment>`, with spaces between each
- # element.
- #
# Transfer Family accepts RSA, ECDSA, and ED25519 keys.
#
- # * For RSA keys, the key type is `ssh-rsa`.
- #
- # * For ED25519 keys, the key type is `ssh-ed25519`.
- #
- # * For ECDSA keys, the key type is either `ecdsa-sha2-nistp256`,
- # `ecdsa-sha2-nistp384`, or `ecdsa-sha2-nistp521`, depending on the
- # size of the key you generated.
- #
# @option params [Array<Types::Tag>] :tags
# Key-value pairs that can be used to group and search for users. Tags
# are metadata attached to users for any purpose.
#
# @option params [required, String] :user_name
@@ -1318,11 +1306,11 @@
#
# resp = client.create_workflow({
# description: "WorkflowDescription",
# steps: [ # required
# {
- # type: "COPY", # accepts COPY, CUSTOM, TAG, DELETE
+ # type: "COPY", # accepts COPY, CUSTOM, TAG, DELETE, DECRYPT
# copy_step_details: {
# name: "WorkflowStepName",
# destination_file_location: {
# s3_file_location: {
# bucket: "S3Bucket",
@@ -1354,15 +1342,31 @@
# value: "S3TagValue", # required
# },
# ],
# source_file_location: "SourceFileLocation",
# },
+ # decrypt_step_details: {
+ # name: "WorkflowStepName",
+ # type: "PGP", # required, accepts PGP
+ # source_file_location: "SourceFileLocation",
+ # overwrite_existing: "TRUE", # accepts TRUE, FALSE
+ # destination_file_location: { # required
+ # s3_file_location: {
+ # bucket: "S3Bucket",
+ # key: "S3Key",
+ # },
+ # efs_file_location: {
+ # file_system_id: "EfsFileSystemId",
+ # path: "EfsPath",
+ # },
+ # },
+ # },
# },
# ],
# on_exception_steps: [
# {
- # type: "COPY", # accepts COPY, CUSTOM, TAG, DELETE
+ # type: "COPY", # accepts COPY, CUSTOM, TAG, DELETE, DECRYPT
# copy_step_details: {
# name: "WorkflowStepName",
# destination_file_location: {
# s3_file_location: {
# bucket: "S3Bucket",
@@ -1394,10 +1398,26 @@
# value: "S3TagValue", # required
# },
# ],
# source_file_location: "SourceFileLocation",
# },
+ # decrypt_step_details: {
+ # name: "WorkflowStepName",
+ # type: "PGP", # required, accepts PGP
+ # source_file_location: "SourceFileLocation",
+ # overwrite_existing: "TRUE", # accepts TRUE, FALSE
+ # destination_file_location: { # required
+ # s3_file_location: {
+ # bucket: "S3Bucket",
+ # key: "S3Key",
+ # },
+ # efs_file_location: {
+ # file_system_id: "EfsFileSystemId",
+ # path: "EfsPath",
+ # },
+ # },
+ # },
# },
# ],
# tags: [
# {
# key: "TagKey", # required
@@ -1937,16 +1957,16 @@
# resp.execution.posix_profile.gid #=> Integer
# resp.execution.posix_profile.secondary_gids #=> Array
# resp.execution.posix_profile.secondary_gids[0] #=> Integer
# resp.execution.status #=> String, one of "IN_PROGRESS", "COMPLETED", "EXCEPTION", "HANDLING_EXCEPTION"
# resp.execution.results.steps #=> Array
- # resp.execution.results.steps[0].step_type #=> String, one of "COPY", "CUSTOM", "TAG", "DELETE"
+ # resp.execution.results.steps[0].step_type #=> String, one of "COPY", "CUSTOM", "TAG", "DELETE", "DECRYPT"
# resp.execution.results.steps[0].outputs #=> String
# resp.execution.results.steps[0].error.type #=> String, one of "PERMISSION_DENIED", "CUSTOM_STEP_FAILED", "THROTTLED", "ALREADY_EXISTS", "NOT_FOUND", "BAD_REQUEST", "TIMEOUT", "INTERNAL_SERVER_ERROR"
# resp.execution.results.steps[0].error.message #=> String
# resp.execution.results.on_exception_steps #=> Array
- # resp.execution.results.on_exception_steps[0].step_type #=> String, one of "COPY", "CUSTOM", "TAG", "DELETE"
+ # resp.execution.results.on_exception_steps[0].step_type #=> String, one of "COPY", "CUSTOM", "TAG", "DELETE", "DECRYPT"
# resp.execution.results.on_exception_steps[0].outputs #=> String
# resp.execution.results.on_exception_steps[0].error.type #=> String, one of "PERMISSION_DENIED", "CUSTOM_STEP_FAILED", "THROTTLED", "ALREADY_EXISTS", "NOT_FOUND", "BAD_REQUEST", "TIMEOUT", "INTERNAL_SERVER_ERROR"
# resp.execution.results.on_exception_steps[0].error.message #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeExecution AWS API Documentation
@@ -2239,11 +2259,11 @@
# @example Response structure
#
# resp.workflow.arn #=> String
# resp.workflow.description #=> String
# resp.workflow.steps #=> Array
- # resp.workflow.steps[0].type #=> String, one of "COPY", "CUSTOM", "TAG", "DELETE"
+ # resp.workflow.steps[0].type #=> String, one of "COPY", "CUSTOM", "TAG", "DELETE", "DECRYPT"
# resp.workflow.steps[0].copy_step_details.name #=> String
# resp.workflow.steps[0].copy_step_details.destination_file_location.s3_file_location.bucket #=> String
# resp.workflow.steps[0].copy_step_details.destination_file_location.s3_file_location.key #=> String
# resp.workflow.steps[0].copy_step_details.destination_file_location.efs_file_location.file_system_id #=> String
# resp.workflow.steps[0].copy_step_details.destination_file_location.efs_file_location.path #=> String
@@ -2258,12 +2278,20 @@
# resp.workflow.steps[0].tag_step_details.name #=> String
# resp.workflow.steps[0].tag_step_details.tags #=> Array
# resp.workflow.steps[0].tag_step_details.tags[0].key #=> String
# resp.workflow.steps[0].tag_step_details.tags[0].value #=> String
# resp.workflow.steps[0].tag_step_details.source_file_location #=> String
+ # resp.workflow.steps[0].decrypt_step_details.name #=> String
+ # resp.workflow.steps[0].decrypt_step_details.type #=> String, one of "PGP"
+ # resp.workflow.steps[0].decrypt_step_details.source_file_location #=> String
+ # resp.workflow.steps[0].decrypt_step_details.overwrite_existing #=> String, one of "TRUE", "FALSE"
+ # resp.workflow.steps[0].decrypt_step_details.destination_file_location.s3_file_location.bucket #=> String
+ # resp.workflow.steps[0].decrypt_step_details.destination_file_location.s3_file_location.key #=> String
+ # resp.workflow.steps[0].decrypt_step_details.destination_file_location.efs_file_location.file_system_id #=> String
+ # resp.workflow.steps[0].decrypt_step_details.destination_file_location.efs_file_location.path #=> String
# resp.workflow.on_exception_steps #=> Array
- # resp.workflow.on_exception_steps[0].type #=> String, one of "COPY", "CUSTOM", "TAG", "DELETE"
+ # resp.workflow.on_exception_steps[0].type #=> String, one of "COPY", "CUSTOM", "TAG", "DELETE", "DECRYPT"
# resp.workflow.on_exception_steps[0].copy_step_details.name #=> String
# resp.workflow.on_exception_steps[0].copy_step_details.destination_file_location.s3_file_location.bucket #=> String
# resp.workflow.on_exception_steps[0].copy_step_details.destination_file_location.s3_file_location.key #=> String
# resp.workflow.on_exception_steps[0].copy_step_details.destination_file_location.efs_file_location.file_system_id #=> String
# resp.workflow.on_exception_steps[0].copy_step_details.destination_file_location.efs_file_location.path #=> String
@@ -2278,10 +2306,18 @@
# resp.workflow.on_exception_steps[0].tag_step_details.name #=> String
# resp.workflow.on_exception_steps[0].tag_step_details.tags #=> Array
# resp.workflow.on_exception_steps[0].tag_step_details.tags[0].key #=> String
# resp.workflow.on_exception_steps[0].tag_step_details.tags[0].value #=> String
# resp.workflow.on_exception_steps[0].tag_step_details.source_file_location #=> String
+ # resp.workflow.on_exception_steps[0].decrypt_step_details.name #=> String
+ # resp.workflow.on_exception_steps[0].decrypt_step_details.type #=> String, one of "PGP"
+ # resp.workflow.on_exception_steps[0].decrypt_step_details.source_file_location #=> String
+ # resp.workflow.on_exception_steps[0].decrypt_step_details.overwrite_existing #=> String, one of "TRUE", "FALSE"
+ # resp.workflow.on_exception_steps[0].decrypt_step_details.destination_file_location.s3_file_location.bucket #=> String
+ # resp.workflow.on_exception_steps[0].decrypt_step_details.destination_file_location.s3_file_location.key #=> String
+ # resp.workflow.on_exception_steps[0].decrypt_step_details.destination_file_location.efs_file_location.file_system_id #=> String
+ # resp.workflow.on_exception_steps[0].decrypt_step_details.destination_file_location.efs_file_location.path #=> String
# resp.workflow.workflow_id #=> String
# resp.workflow.tags #=> Array
# resp.workflow.tags[0].key #=> String
# resp.workflow.tags[0].value #=> String
#
@@ -4002,12 +4038,12 @@
#
# @option params [Types::WorkflowDetails] :workflow_details
# Specifies the workflow ID for the workflow to assign and the execution
# role that's used for executing the workflow.
#
- # In addition to a workflow to execute when a file is uploaded
- # completely, `WorkflowDetails` can also contain a workflow ID (and
+ # In additon to a workflow to execute when a file is uploaded
+ # completely, `WorkflowDeatails` can also contain a workflow ID (and
# execution role) for a workflow to execute on partial upload. A partial
# upload occurs when a file is open when the session disconnects.
#
# To remove an associated workflow from a server, you can provide an
# empty `OnUpload` object, as in the following example.
@@ -4235,10 +4271,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-transfer'
- context[:gem_version] = '1.63.0'
+ context[:gem_version] = '1.64.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#