aws-sdk-transfer 1.56.0 → 1.57.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transfer/client.rb +1244 -243
- data/lib/aws-sdk-transfer/client_api.rb +627 -0
- data/lib/aws-sdk-transfer/types.rb +2000 -465
- data/lib/aws-sdk-transfer.rb +1 -1
- metadata +2 -2
@@ -23,6 +23,80 @@ module Aws::Transfer
|
|
23
23
|
include Aws::Structure
|
24
24
|
end
|
25
25
|
|
26
|
+
# Contains the details for a connector object. The connector object is
|
27
|
+
# used for AS2 outbound processes, to connect the Transfer Family
|
28
|
+
# customer with the trading partner.
|
29
|
+
#
|
30
|
+
# @note When making an API call, you may pass As2ConnectorConfig
|
31
|
+
# data as a hash:
|
32
|
+
#
|
33
|
+
# {
|
34
|
+
# local_profile_id: "ProfileId",
|
35
|
+
# partner_profile_id: "ProfileId",
|
36
|
+
# message_subject: "MessageSubject",
|
37
|
+
# compression: "ZLIB", # accepts ZLIB, DISABLED
|
38
|
+
# encryption_algorithm: "AES128_CBC", # accepts AES128_CBC, AES192_CBC, AES256_CBC
|
39
|
+
# signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE
|
40
|
+
# mdn_signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE, DEFAULT
|
41
|
+
# mdn_response: "SYNC", # accepts SYNC, NONE
|
42
|
+
# }
|
43
|
+
#
|
44
|
+
# @!attribute [rw] local_profile_id
|
45
|
+
# A unique identifier for the AS2 process.
|
46
|
+
# @return [String]
|
47
|
+
#
|
48
|
+
# @!attribute [rw] partner_profile_id
|
49
|
+
# A unique identifier for the partner for the connector.
|
50
|
+
# @return [String]
|
51
|
+
#
|
52
|
+
# @!attribute [rw] message_subject
|
53
|
+
# A short description to help identify the connector.
|
54
|
+
# @return [String]
|
55
|
+
#
|
56
|
+
# @!attribute [rw] compression
|
57
|
+
# Specifies whether the AS2 file is compressed.
|
58
|
+
# @return [String]
|
59
|
+
#
|
60
|
+
# @!attribute [rw] encryption_algorithm
|
61
|
+
# The algorithm that is used to encrypt the file.
|
62
|
+
# @return [String]
|
63
|
+
#
|
64
|
+
# @!attribute [rw] signing_algorithm
|
65
|
+
# The algorithm that is used to sign the AS2 transfers for this
|
66
|
+
# partner profile.
|
67
|
+
# @return [String]
|
68
|
+
#
|
69
|
+
# @!attribute [rw] mdn_signing_algorithm
|
70
|
+
# The signing algorithm for the MDN response.
|
71
|
+
# @return [String]
|
72
|
+
#
|
73
|
+
# @!attribute [rw] mdn_response
|
74
|
+
# Used for outbound requests (from an Transfer Family server to a
|
75
|
+
# partner AS2 server) to determine whether the partner response for
|
76
|
+
# transfers is synchronous or asynchronous. Specify either of the
|
77
|
+
# following values:
|
78
|
+
#
|
79
|
+
# * `SYNC`\: The system expects a synchronous MDN response, confirming
|
80
|
+
# that the file was transferred successfully (or not).
|
81
|
+
#
|
82
|
+
# * `NONE`\: Specifies that no MDN response is required.
|
83
|
+
# @return [String]
|
84
|
+
#
|
85
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/As2ConnectorConfig AWS API Documentation
|
86
|
+
#
|
87
|
+
class As2ConnectorConfig < Struct.new(
|
88
|
+
:local_profile_id,
|
89
|
+
:partner_profile_id,
|
90
|
+
:message_subject,
|
91
|
+
:compression,
|
92
|
+
:encryption_algorithm,
|
93
|
+
:signing_algorithm,
|
94
|
+
:mdn_signing_algorithm,
|
95
|
+
:mdn_response)
|
96
|
+
SENSITIVE = []
|
97
|
+
include Aws::Structure
|
98
|
+
end
|
99
|
+
|
26
100
|
# This exception is thrown when the `UpdateServer` is called for a file
|
27
101
|
# transfer protocol-enabled server that has VPC as the endpoint type and
|
28
102
|
# the server's `VpcEndpointID` is not in the available state.
|
@@ -129,13 +203,13 @@ module Aws::Transfer
|
|
129
203
|
# @return [String]
|
130
204
|
#
|
131
205
|
# @!attribute [rw] home_directory_type
|
132
|
-
# The type of landing directory (folder) you want your users'
|
133
|
-
# directory to be when they log
|
134
|
-
# `PATH`, the user will see the absolute Amazon S3 bucket or EFS
|
135
|
-
# as is in their file transfer protocol clients. If you set it
|
206
|
+
# The type of landing directory (folder) that you want your users'
|
207
|
+
# home directory to be when they log in to the server. If you set it
|
208
|
+
# to `PATH`, the user will see the absolute Amazon S3 bucket or EFS
|
209
|
+
# paths as is in their file transfer protocol clients. If you set it
|
136
210
|
# `LOGICAL`, you need to provide mappings in the
|
137
|
-
# `HomeDirectoryMappings` for how you want to make Amazon S3 or
|
138
|
-
# paths visible to your users.
|
211
|
+
# `HomeDirectoryMappings` for how you want to make Amazon S3 or Amazon
|
212
|
+
# EFS paths visible to your users.
|
139
213
|
# @return [String]
|
140
214
|
#
|
141
215
|
# @!attribute [rw] home_directory_mappings
|
@@ -144,10 +218,10 @@ module Aws::Transfer
|
|
144
218
|
# make them visible. You must specify the `Entry` and `Target` pair,
|
145
219
|
# where `Entry` shows how the path is made visible and `Target` is the
|
146
220
|
# actual Amazon S3 or Amazon EFS path. If you only specify a target,
|
147
|
-
# it is displayed as is. You also must ensure that your
|
148
|
-
#
|
149
|
-
#
|
150
|
-
#
|
221
|
+
# it is displayed as is. You also must ensure that your Identity and
|
222
|
+
# Access Management (IAM) role provides access to paths in `Target`.
|
223
|
+
# This value can be set only when `HomeDirectoryType` is set to
|
224
|
+
# *LOGICAL*.
|
151
225
|
#
|
152
226
|
# The following is an `Entry` and `Target` pair example.
|
153
227
|
#
|
@@ -165,24 +239,24 @@ module Aws::Transfer
|
|
165
239
|
# @return [Array<Types::HomeDirectoryMapEntry>]
|
166
240
|
#
|
167
241
|
# @!attribute [rw] policy
|
168
|
-
# A session policy for your user so that you can use the same
|
169
|
-
# across multiple users. This policy
|
170
|
-
# portions of their Amazon S3 bucket.
|
171
|
-
# inside this policy include
|
172
|
-
# `$\{Transfer:
|
242
|
+
# A session policy for your user so that you can use the same Identity
|
243
|
+
# and Access Management (IAM) role across multiple users. This policy
|
244
|
+
# scopes down a user's access to portions of their Amazon S3 bucket.
|
245
|
+
# Variables that you can use inside this policy include
|
246
|
+
# `$\{Transfer:UserName\}`, `$\{Transfer:HomeDirectory\}`, and
|
247
|
+
# `$\{Transfer:HomeBucket\}`.
|
173
248
|
#
|
174
|
-
# <note markdown="1"> This
|
175
|
-
# use session policies.
|
249
|
+
# <note markdown="1"> This policy applies only when the domain of `ServerId` is Amazon S3.
|
250
|
+
# Amazon EFS does not use session policies.
|
176
251
|
#
|
177
|
-
# For session policies,
|
178
|
-
#
|
179
|
-
#
|
180
|
-
# `Policy` argument.
|
252
|
+
# For session policies, Transfer Family stores the policy as a JSON
|
253
|
+
# blob, instead of the Amazon Resource Name (ARN) of the policy. You
|
254
|
+
# save the policy as a JSON blob and pass it in the `Policy` argument.
|
181
255
|
#
|
182
256
|
# For an example of a session policy, see [Example session policy][1].
|
183
257
|
#
|
184
|
-
# For more information, see [AssumeRole][2] in the *
|
185
|
-
#
|
258
|
+
# For more information, see [AssumeRole][2] in the *Security Token
|
259
|
+
# Service API Reference*.
|
186
260
|
#
|
187
261
|
# </note>
|
188
262
|
#
|
@@ -202,14 +276,14 @@ module Aws::Transfer
|
|
202
276
|
# @return [Types::PosixProfile]
|
203
277
|
#
|
204
278
|
# @!attribute [rw] role
|
205
|
-
#
|
206
|
-
# controls your users' access to your Amazon S3
|
207
|
-
# system. The policies attached to this role
|
208
|
-
# access that you want to provide your users
|
209
|
-
# into and out of your Amazon S3 bucket or
|
210
|
-
# role should also contain a trust
|
211
|
-
# to access your resources when
|
212
|
-
# requests.
|
279
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
280
|
+
# (IAM) role that controls your users' access to your Amazon S3
|
281
|
+
# bucket or Amazon EFS file system. The policies attached to this role
|
282
|
+
# determine the level of access that you want to provide your users
|
283
|
+
# when transferring files into and out of your Amazon S3 bucket or
|
284
|
+
# Amazon EFS file system. The IAM role should also contain a trust
|
285
|
+
# relationship that allows the server to access your resources when
|
286
|
+
# servicing your users' transfer requests.
|
213
287
|
# @return [String]
|
214
288
|
#
|
215
289
|
# @!attribute [rw] server_id
|
@@ -221,9 +295,9 @@ module Aws::Transfer
|
|
221
295
|
# A unique identifier that is required to identify specific groups
|
222
296
|
# within your directory. The users of the group that you associate
|
223
297
|
# have access to your Amazon S3 or Amazon EFS resources over the
|
224
|
-
# enabled protocols using
|
225
|
-
#
|
226
|
-
#
|
298
|
+
# enabled protocols using Transfer Family. If you know the group name,
|
299
|
+
# you can view the SID values by running the following command using
|
300
|
+
# Windows PowerShell.
|
227
301
|
#
|
228
302
|
# `Get-ADGroup -Filter \{samAccountName -like "YourGroupName*"\}
|
229
303
|
# -Properties * | Select SamAccountName,ObjectSid`
|
@@ -231,10 +305,10 @@ module Aws::Transfer
|
|
231
305
|
# In that command, replace *YourGroupName* with the name of your
|
232
306
|
# Active Directory group.
|
233
307
|
#
|
234
|
-
# The
|
235
|
-
# consisting of uppercase and lowercase alphanumeric
|
236
|
-
# no spaces. You can also include underscores or any
|
237
|
-
# characters: =,.@:/-
|
308
|
+
# The regular expression used to validate this parameter is a string
|
309
|
+
# of characters consisting of uppercase and lowercase alphanumeric
|
310
|
+
# characters with no spaces. You can also include underscores or any
|
311
|
+
# of the following characters: =,.@:/-
|
238
312
|
# @return [String]
|
239
313
|
#
|
240
314
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateAccessRequest AWS API Documentation
|
@@ -258,8 +332,8 @@ module Aws::Transfer
|
|
258
332
|
#
|
259
333
|
# @!attribute [rw] external_id
|
260
334
|
# The external ID of the group whose users have access to your Amazon
|
261
|
-
# S3 or Amazon EFS resources over the enabled protocols using
|
262
|
-
#
|
335
|
+
# S3 or Amazon EFS resources over the enabled protocols using Transfer
|
336
|
+
# Family.
|
263
337
|
# @return [String]
|
264
338
|
#
|
265
339
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateAccessResponse AWS API Documentation
|
@@ -271,6 +345,247 @@ module Aws::Transfer
|
|
271
345
|
include Aws::Structure
|
272
346
|
end
|
273
347
|
|
348
|
+
# @note When making an API call, you may pass CreateAgreementRequest
|
349
|
+
# data as a hash:
|
350
|
+
#
|
351
|
+
# {
|
352
|
+
# description: "Description",
|
353
|
+
# server_id: "ServerId", # required
|
354
|
+
# local_profile_id: "ProfileId", # required
|
355
|
+
# partner_profile_id: "ProfileId", # required
|
356
|
+
# base_directory: "HomeDirectory", # required
|
357
|
+
# access_role: "Role", # required
|
358
|
+
# status: "ACTIVE", # accepts ACTIVE, INACTIVE
|
359
|
+
# tags: [
|
360
|
+
# {
|
361
|
+
# key: "TagKey", # required
|
362
|
+
# value: "TagValue", # required
|
363
|
+
# },
|
364
|
+
# ],
|
365
|
+
# }
|
366
|
+
#
|
367
|
+
# @!attribute [rw] description
|
368
|
+
# A name or short description to identify the agreement.
|
369
|
+
# @return [String]
|
370
|
+
#
|
371
|
+
# @!attribute [rw] server_id
|
372
|
+
# A system-assigned unique identifier for a server instance. This is
|
373
|
+
# the specific server that the agreement uses.
|
374
|
+
# @return [String]
|
375
|
+
#
|
376
|
+
# @!attribute [rw] local_profile_id
|
377
|
+
# A unique identifier for the AS2 local profile.
|
378
|
+
# @return [String]
|
379
|
+
#
|
380
|
+
# @!attribute [rw] partner_profile_id
|
381
|
+
# A unique identifier for the partner profile used in the agreement.
|
382
|
+
# @return [String]
|
383
|
+
#
|
384
|
+
# @!attribute [rw] base_directory
|
385
|
+
# The landing directory (folder) for files transferred by using the
|
386
|
+
# AS2 protocol.
|
387
|
+
#
|
388
|
+
# A `BaseDirectory` example is `/DOC-EXAMPLE-BUCKET/home/mydirectory
|
389
|
+
# `.
|
390
|
+
# @return [String]
|
391
|
+
#
|
392
|
+
# @!attribute [rw] access_role
|
393
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
394
|
+
# (IAM) role that grants access to at least the `HomeDirectory` of
|
395
|
+
# your users' Amazon S3 buckets.
|
396
|
+
# @return [String]
|
397
|
+
#
|
398
|
+
# @!attribute [rw] status
|
399
|
+
# The status of the agreement. The agreement can be either `ACTIVE` or
|
400
|
+
# `INACTIVE`.
|
401
|
+
# @return [String]
|
402
|
+
#
|
403
|
+
# @!attribute [rw] tags
|
404
|
+
# Key-value pairs that can be used to group and search for agreements.
|
405
|
+
# @return [Array<Types::Tag>]
|
406
|
+
#
|
407
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateAgreementRequest AWS API Documentation
|
408
|
+
#
|
409
|
+
class CreateAgreementRequest < Struct.new(
|
410
|
+
:description,
|
411
|
+
:server_id,
|
412
|
+
:local_profile_id,
|
413
|
+
:partner_profile_id,
|
414
|
+
:base_directory,
|
415
|
+
:access_role,
|
416
|
+
:status,
|
417
|
+
:tags)
|
418
|
+
SENSITIVE = []
|
419
|
+
include Aws::Structure
|
420
|
+
end
|
421
|
+
|
422
|
+
# @!attribute [rw] agreement_id
|
423
|
+
# The unique identifier for the agreement. Use this ID for deleting,
|
424
|
+
# or updating an agreement, as well as in any other API calls that
|
425
|
+
# require that you specify the agreement ID.
|
426
|
+
# @return [String]
|
427
|
+
#
|
428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateAgreementResponse AWS API Documentation
|
429
|
+
#
|
430
|
+
class CreateAgreementResponse < Struct.new(
|
431
|
+
:agreement_id)
|
432
|
+
SENSITIVE = []
|
433
|
+
include Aws::Structure
|
434
|
+
end
|
435
|
+
|
436
|
+
# @note When making an API call, you may pass CreateConnectorRequest
|
437
|
+
# data as a hash:
|
438
|
+
#
|
439
|
+
# {
|
440
|
+
# url: "Url", # required
|
441
|
+
# as_2_config: { # required
|
442
|
+
# local_profile_id: "ProfileId",
|
443
|
+
# partner_profile_id: "ProfileId",
|
444
|
+
# message_subject: "MessageSubject",
|
445
|
+
# compression: "ZLIB", # accepts ZLIB, DISABLED
|
446
|
+
# encryption_algorithm: "AES128_CBC", # accepts AES128_CBC, AES192_CBC, AES256_CBC
|
447
|
+
# signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE
|
448
|
+
# mdn_signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE, DEFAULT
|
449
|
+
# mdn_response: "SYNC", # accepts SYNC, NONE
|
450
|
+
# },
|
451
|
+
# access_role: "Role", # required
|
452
|
+
# logging_role: "Role",
|
453
|
+
# tags: [
|
454
|
+
# {
|
455
|
+
# key: "TagKey", # required
|
456
|
+
# value: "TagValue", # required
|
457
|
+
# },
|
458
|
+
# ],
|
459
|
+
# }
|
460
|
+
#
|
461
|
+
# @!attribute [rw] url
|
462
|
+
# The URL of the partner's AS2 endpoint.
|
463
|
+
# @return [String]
|
464
|
+
#
|
465
|
+
# @!attribute [rw] as_2_config
|
466
|
+
# A structure that contains the parameters for a connector object.
|
467
|
+
# @return [Types::As2ConnectorConfig]
|
468
|
+
#
|
469
|
+
# @!attribute [rw] access_role
|
470
|
+
# With AS2, you can send files by calling `StartFileTransfer` and
|
471
|
+
# specifying the file paths in the request parameter, `SendFilePaths`.
|
472
|
+
# We use the file’s parent directory (for example, for
|
473
|
+
# `--send-file-paths /bucket/dir/file.txt`, parent directory is
|
474
|
+
# `/bucket/dir/`) to temporarily store a processed AS2 message file,
|
475
|
+
# store the MDN when we receive them from the partner, and write a
|
476
|
+
# final JSON file containing relevant metadata of the transmission.
|
477
|
+
# So, the `AccessRole` needs to provide read and write access to the
|
478
|
+
# parent directory of the file location used in the
|
479
|
+
# `StartFileTransfer` request. Additionally, you need to provide read
|
480
|
+
# and write access to the parent directory of the files that you
|
481
|
+
# intend to send with `StartFileTransfer`.
|
482
|
+
# @return [String]
|
483
|
+
#
|
484
|
+
# @!attribute [rw] logging_role
|
485
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
486
|
+
# (IAM) role that allows a connector to turn on CloudWatch logging for
|
487
|
+
# Amazon S3 events. When set, you can view connector activity in your
|
488
|
+
# CloudWatch logs.
|
489
|
+
# @return [String]
|
490
|
+
#
|
491
|
+
# @!attribute [rw] tags
|
492
|
+
# Key-value pairs that can be used to group and search for connectors.
|
493
|
+
# Tags are metadata attached to connectors for any purpose.
|
494
|
+
# @return [Array<Types::Tag>]
|
495
|
+
#
|
496
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateConnectorRequest AWS API Documentation
|
497
|
+
#
|
498
|
+
class CreateConnectorRequest < Struct.new(
|
499
|
+
:url,
|
500
|
+
:as_2_config,
|
501
|
+
:access_role,
|
502
|
+
:logging_role,
|
503
|
+
:tags)
|
504
|
+
SENSITIVE = []
|
505
|
+
include Aws::Structure
|
506
|
+
end
|
507
|
+
|
508
|
+
# @!attribute [rw] connector_id
|
509
|
+
# The unique identifier for the connector, returned after the API call
|
510
|
+
# succeeds.
|
511
|
+
# @return [String]
|
512
|
+
#
|
513
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateConnectorResponse AWS API Documentation
|
514
|
+
#
|
515
|
+
class CreateConnectorResponse < Struct.new(
|
516
|
+
:connector_id)
|
517
|
+
SENSITIVE = []
|
518
|
+
include Aws::Structure
|
519
|
+
end
|
520
|
+
|
521
|
+
# @note When making an API call, you may pass CreateProfileRequest
|
522
|
+
# data as a hash:
|
523
|
+
#
|
524
|
+
# {
|
525
|
+
# as_2_id: "As2Id", # required
|
526
|
+
# profile_type: "LOCAL", # required, accepts LOCAL, PARTNER
|
527
|
+
# certificate_ids: ["CertificateId"],
|
528
|
+
# tags: [
|
529
|
+
# {
|
530
|
+
# key: "TagKey", # required
|
531
|
+
# value: "TagValue", # required
|
532
|
+
# },
|
533
|
+
# ],
|
534
|
+
# }
|
535
|
+
#
|
536
|
+
# @!attribute [rw] as_2_id
|
537
|
+
# The `As2Id` is the *AS2-name*, as defined in the defined in the [RFC
|
538
|
+
# 4130][1]. For inbound transfers, this is the `AS2-From` header for
|
539
|
+
# the AS2 messages sent from the partner. For outbound connectors,
|
540
|
+
# this is the `AS2-To` header for the AS2 messages sent to the partner
|
541
|
+
# using the `StartFileTransfer` API operation. This ID cannot include
|
542
|
+
# spaces.
|
543
|
+
#
|
544
|
+
#
|
545
|
+
#
|
546
|
+
# [1]: https://datatracker.ietf.org/doc/html/rfc4130
|
547
|
+
# @return [String]
|
548
|
+
#
|
549
|
+
# @!attribute [rw] profile_type
|
550
|
+
# Indicates whether to list only `LOCAL` type profiles or only
|
551
|
+
# `PARTNER` type profiles. If not supplied in the request, the command
|
552
|
+
# lists all types of profiles.
|
553
|
+
# @return [String]
|
554
|
+
#
|
555
|
+
# @!attribute [rw] certificate_ids
|
556
|
+
# An array of identifiers for the imported certificates. You use this
|
557
|
+
# identifier for working with profiles and partner profiles.
|
558
|
+
# @return [Array<String>]
|
559
|
+
#
|
560
|
+
# @!attribute [rw] tags
|
561
|
+
# Key-value pairs that can be used to group and search for AS2
|
562
|
+
# profiles.
|
563
|
+
# @return [Array<Types::Tag>]
|
564
|
+
#
|
565
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateProfileRequest AWS API Documentation
|
566
|
+
#
|
567
|
+
class CreateProfileRequest < Struct.new(
|
568
|
+
:as_2_id,
|
569
|
+
:profile_type,
|
570
|
+
:certificate_ids,
|
571
|
+
:tags)
|
572
|
+
SENSITIVE = []
|
573
|
+
include Aws::Structure
|
574
|
+
end
|
575
|
+
|
576
|
+
# @!attribute [rw] profile_id
|
577
|
+
# The unique identifier for the AS2 profile, returned after the API
|
578
|
+
# call succeeds.
|
579
|
+
# @return [String]
|
580
|
+
#
|
581
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateProfileResponse AWS API Documentation
|
582
|
+
#
|
583
|
+
class CreateProfileResponse < Struct.new(
|
584
|
+
:profile_id)
|
585
|
+
SENSITIVE = []
|
586
|
+
include Aws::Structure
|
587
|
+
end
|
588
|
+
|
274
589
|
# @note When making an API call, you may pass CreateServerRequest
|
275
590
|
# data as a hash:
|
276
591
|
#
|
@@ -296,11 +611,12 @@ module Aws::Transfer
|
|
296
611
|
# logging_role: "Role",
|
297
612
|
# post_authentication_login_banner: "PostAuthenticationLoginBanner",
|
298
613
|
# pre_authentication_login_banner: "PreAuthenticationLoginBanner",
|
299
|
-
# protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
|
614
|
+
# protocols: ["SFTP"], # accepts SFTP, FTP, FTPS, AS2
|
300
615
|
# protocol_details: {
|
301
616
|
# passive_ip: "PassiveIp",
|
302
617
|
# tls_session_resumption_mode: "DISABLED", # accepts DISABLED, ENABLED, ENFORCED
|
303
618
|
# set_stat_option: "DEFAULT", # accepts DEFAULT, ENABLE_NO_OP
|
619
|
+
# as_2_transports: ["HTTP"], # accepts HTTP
|
304
620
|
# },
|
305
621
|
# security_policy_name: "SecurityPolicyName",
|
306
622
|
# tags: [
|
@@ -320,21 +636,18 @@ module Aws::Transfer
|
|
320
636
|
# }
|
321
637
|
#
|
322
638
|
# @!attribute [rw] certificate
|
323
|
-
# The Amazon Resource Name (ARN) of the
|
324
|
-
#
|
325
|
-
# set to `FTPS`.
|
639
|
+
# The Amazon Resource Name (ARN) of the Certificate Manager (ACM)
|
640
|
+
# certificate. Required when `Protocols` is set to `FTPS`.
|
326
641
|
#
|
327
642
|
# To request a new public certificate, see [Request a public
|
328
|
-
# certificate][1] in the
|
329
|
-
# User Guide</i>.
|
643
|
+
# certificate][1] in the *Certificate Manager User Guide*.
|
330
644
|
#
|
331
645
|
# To import an existing certificate into ACM, see [Importing
|
332
|
-
# certificates into ACM][2] in the
|
333
|
-
# Manager User Guide</i>.
|
646
|
+
# certificates into ACM][2] in the *Certificate Manager User Guide*.
|
334
647
|
#
|
335
648
|
# To request a private certificate to use FTPS through private IP
|
336
|
-
# addresses, see [Request a private certificate][3] in the
|
337
|
-
#
|
649
|
+
# addresses, see [Request a private certificate][3] in the
|
650
|
+
# *Certificate Manager User Guide*.
|
338
651
|
#
|
339
652
|
# Certificates with the following cryptographic algorithms and key
|
340
653
|
# sizes are supported:
|
@@ -375,10 +688,10 @@ module Aws::Transfer
|
|
375
688
|
# @!attribute [rw] endpoint_details
|
376
689
|
# The virtual private cloud (VPC) endpoint settings that are
|
377
690
|
# configured for your server. When you host your endpoint within your
|
378
|
-
# VPC, you can make
|
379
|
-
# or you can attach Elastic IP addresses and make
|
380
|
-
# clients over the internet. Your VPC's
|
381
|
-
# automatically assigned to your endpoint.
|
691
|
+
# VPC, you can make your endpoint accessible only to resources within
|
692
|
+
# your VPC, or you can attach Elastic IP addresses and make your
|
693
|
+
# endpoint accessible to clients over the internet. Your VPC's
|
694
|
+
# default security groups are automatically assigned to your endpoint.
|
382
695
|
# @return [Types::EndpointDetails]
|
383
696
|
#
|
384
697
|
# @!attribute [rw] endpoint_type
|
@@ -417,8 +730,8 @@ module Aws::Transfer
|
|
417
730
|
#
|
418
731
|
# `ssh-keygen -t rsa -b 2048 -N "" -m PEM -f my-new-server-key`.
|
419
732
|
#
|
420
|
-
# Use a minimum value of 2048 for the `-b` option
|
421
|
-
# stronger key using 3072 or 4096.
|
733
|
+
# Use a minimum value of 2048 for the `-b` option. You can create a
|
734
|
+
# stronger key by using 3072 or 4096.
|
422
735
|
#
|
423
736
|
# Use the following command to generate an ECDSA 256 bit key with no
|
424
737
|
# passphrase:
|
@@ -440,7 +753,7 @@ module Aws::Transfer
|
|
440
753
|
# Accidentally changing a server's host key can be disruptive.
|
441
754
|
#
|
442
755
|
# For more information, see [Change the host key for your SFTP-enabled
|
443
|
-
# server][1] in the *
|
756
|
+
# server][1] in the *Transfer Family User Guide*.
|
444
757
|
#
|
445
758
|
#
|
446
759
|
#
|
@@ -457,38 +770,37 @@ module Aws::Transfer
|
|
457
770
|
# @return [Types::IdentityProviderDetails]
|
458
771
|
#
|
459
772
|
# @!attribute [rw] identity_provider_type
|
460
|
-
#
|
461
|
-
#
|
462
|
-
# credentials within the
|
773
|
+
# The mode of authentication for a server. The default value is
|
774
|
+
# `SERVICE_MANAGED`, which allows you to store and access user
|
775
|
+
# credentials within the Transfer Family service.
|
463
776
|
#
|
464
777
|
# Use `AWS_DIRECTORY_SERVICE` to provide access to Active Directory
|
465
|
-
# groups in
|
466
|
-
# Active Directory in your on-premises environment or in
|
467
|
-
# Services using AD
|
468
|
-
# provide a Directory ID using the `IdentityProviderDetails`
|
778
|
+
# groups in Directory Service for Microsoft Active Directory or
|
779
|
+
# Microsoft Active Directory in your on-premises environment or in
|
780
|
+
# Amazon Web Services using AD Connector. This option also requires
|
781
|
+
# you to provide a Directory ID by using the `IdentityProviderDetails`
|
469
782
|
# parameter.
|
470
783
|
#
|
471
784
|
# Use the `API_GATEWAY` value to integrate with an identity provider
|
472
785
|
# of your choosing. The `API_GATEWAY` setting requires you to provide
|
473
|
-
# an API Gateway endpoint URL to call for authentication
|
474
|
-
# `IdentityProviderDetails` parameter.
|
786
|
+
# an Amazon API Gateway endpoint URL to call for authentication by
|
787
|
+
# using the `IdentityProviderDetails` parameter.
|
475
788
|
#
|
476
|
-
# Use the `AWS_LAMBDA` value to directly use
|
477
|
-
# identity provider. If you choose this value, you must specify
|
478
|
-
# ARN for the
|
789
|
+
# Use the `AWS_LAMBDA` value to directly use an Lambda function as
|
790
|
+
# your identity provider. If you choose this value, you must specify
|
791
|
+
# the ARN for the Lambda function in the `Function` parameter or the
|
479
792
|
# `IdentityProviderDetails` data type.
|
480
793
|
# @return [String]
|
481
794
|
#
|
482
795
|
# @!attribute [rw] logging_role
|
483
|
-
#
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
# logs.
|
796
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
797
|
+
# (IAM) role that allows a server to turn on Amazon CloudWatch logging
|
798
|
+
# for Amazon S3 or Amazon EFSevents. When set, you can view user
|
799
|
+
# activity in your CloudWatch logs.
|
488
800
|
# @return [String]
|
489
801
|
#
|
490
802
|
# @!attribute [rw] post_authentication_login_banner
|
491
|
-
#
|
803
|
+
# Specifies a string to display when users connect to a server. This
|
492
804
|
# string is displayed after the user authenticates.
|
493
805
|
#
|
494
806
|
# <note markdown="1"> The SFTP protocol does not support post-authentication display
|
@@ -498,9 +810,9 @@ module Aws::Transfer
|
|
498
810
|
# @return [String]
|
499
811
|
#
|
500
812
|
# @!attribute [rw] pre_authentication_login_banner
|
501
|
-
#
|
813
|
+
# Specifies a string to display when users connect to a server. This
|
502
814
|
# string is displayed before the user authenticates. For example, the
|
503
|
-
# following banner displays details about using the system
|
815
|
+
# following banner displays details about using the system:
|
504
816
|
#
|
505
817
|
# `This system is for the use of authorized users only. Individuals
|
506
818
|
# using this computer system without authority, or in excess of their
|
@@ -521,20 +833,26 @@ module Aws::Transfer
|
|
521
833
|
#
|
522
834
|
# * `FTP` (File Transfer Protocol): Unencrypted file transfer
|
523
835
|
#
|
524
|
-
#
|
525
|
-
#
|
526
|
-
# your server when clients connect to it over FTPS.
|
836
|
+
# * `AS2` (Applicability Statement 2): used for transporting
|
837
|
+
# structured business-to-business data
|
527
838
|
#
|
528
|
-
#
|
529
|
-
#
|
530
|
-
#
|
839
|
+
# <note markdown="1"> * If you select `FTPS`, you must choose a certificate stored in
|
840
|
+
# Certificate Manager (ACM) which is used to identify your server
|
841
|
+
# when clients connect to it over FTPS.
|
531
842
|
#
|
532
|
-
#
|
533
|
-
#
|
843
|
+
# * If `Protocol` includes either `FTP` or `FTPS`, then the
|
844
|
+
# `EndpointType` must be `VPC` and the `IdentityProviderType` must
|
845
|
+
# be `AWS_DIRECTORY_SERVICE` or `API_GATEWAY`.
|
534
846
|
#
|
535
|
-
#
|
536
|
-
#
|
537
|
-
#
|
847
|
+
# * If `Protocol` includes `FTP`, then `AddressAllocationIds` cannot
|
848
|
+
# be associated.
|
849
|
+
#
|
850
|
+
# * If `Protocol` is set only to `SFTP`, the `EndpointType` can be set
|
851
|
+
# to `PUBLIC` and the `IdentityProviderType` can be set to
|
852
|
+
# `SERVICE_MANAGED`.
|
853
|
+
#
|
854
|
+
# * If `Protocol` includes `AS2`, then the `EndpointType` must be
|
855
|
+
# `VPC`, and domain must be Amazon S3.
|
538
856
|
#
|
539
857
|
# </note>
|
540
858
|
# @return [Array<String>]
|
@@ -542,23 +860,27 @@ module Aws::Transfer
|
|
542
860
|
# @!attribute [rw] protocol_details
|
543
861
|
# The protocol settings that are configured for your server.
|
544
862
|
#
|
545
|
-
# *
|
546
|
-
#
|
547
|
-
# as the external IP address of a firewall, router, or load
|
863
|
+
# * To indicate passive mode (for FTP and FTPS protocols), use the
|
864
|
+
# `PassiveIp` parameter. Enter a single dotted-quad IPv4 address,
|
865
|
+
# such as the external IP address of a firewall, router, or load
|
548
866
|
# balancer.
|
549
867
|
#
|
550
|
-
# *
|
551
|
-
# the
|
552
|
-
#
|
553
|
-
# Family server ignore the SETSTAT command
|
554
|
-
# needing to make any changes to your SFTP client
|
555
|
-
#
|
556
|
-
#
|
557
|
-
#
|
558
|
-
#
|
559
|
-
#
|
560
|
-
#
|
561
|
-
# through a unique session ID
|
868
|
+
# * To ignore the error that is generated when the client attempts to
|
869
|
+
# use the `SETSTAT` command on a file that you are uploading to an
|
870
|
+
# Amazon S3 bucket, use the `SetStatOption` parameter. To have the
|
871
|
+
# Transfer Family server ignore the `SETSTAT` command and upload
|
872
|
+
# files without needing to make any changes to your SFTP client, set
|
873
|
+
# the value to `ENABLE_NO_OP`. If you set the `SetStatOption`
|
874
|
+
# parameter to `ENABLE_NO_OP`, Transfer Family generates a log entry
|
875
|
+
# to Amazon CloudWatch Logs, so that you can determine when the
|
876
|
+
# client is making a `SETSTAT` call.
|
877
|
+
#
|
878
|
+
# * To determine whether your Transfer Family server resumes recent,
|
879
|
+
# negotiated sessions through a unique session ID, use the
|
880
|
+
# `TlsSessionResumptionMode` parameter.
|
881
|
+
#
|
882
|
+
# * `As2Transports` indicates the transport method for the AS2
|
883
|
+
# messages. Currently, only HTTP is supported.
|
562
884
|
# @return [Types::ProtocolDetails]
|
563
885
|
#
|
564
886
|
# @!attribute [rw] security_policy_name
|
@@ -572,7 +894,7 @@ module Aws::Transfer
|
|
572
894
|
#
|
573
895
|
# @!attribute [rw] workflow_details
|
574
896
|
# Specifies the workflow ID for the workflow to assign and the
|
575
|
-
# execution role used for executing the workflow.
|
897
|
+
# execution role that's used for executing the workflow.
|
576
898
|
# @return [Types::WorkflowDetails]
|
577
899
|
#
|
578
900
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateServerRequest AWS API Documentation
|
@@ -647,13 +969,13 @@ module Aws::Transfer
|
|
647
969
|
# @return [String]
|
648
970
|
#
|
649
971
|
# @!attribute [rw] home_directory_type
|
650
|
-
# The type of landing directory (folder) you want your users'
|
651
|
-
# directory to be when they log
|
652
|
-
# `PATH`, the user will see the absolute Amazon S3 bucket or EFS
|
653
|
-
# as is in their file transfer protocol clients. If you set it
|
972
|
+
# The type of landing directory (folder) that you want your users'
|
973
|
+
# home directory to be when they log in to the server. If you set it
|
974
|
+
# to `PATH`, the user will see the absolute Amazon S3 bucket or EFS
|
975
|
+
# paths as is in their file transfer protocol clients. If you set it
|
654
976
|
# `LOGICAL`, you need to provide mappings in the
|
655
|
-
# `HomeDirectoryMappings` for how you want to make Amazon S3 or
|
656
|
-
# paths visible to your users.
|
977
|
+
# `HomeDirectoryMappings` for how you want to make Amazon S3 or Amazon
|
978
|
+
# EFS paths visible to your users.
|
657
979
|
# @return [String]
|
658
980
|
#
|
659
981
|
# @!attribute [rw] home_directory_mappings
|
@@ -662,10 +984,10 @@ module Aws::Transfer
|
|
662
984
|
# make them visible. You must specify the `Entry` and `Target` pair,
|
663
985
|
# where `Entry` shows how the path is made visible and `Target` is the
|
664
986
|
# actual Amazon S3 or Amazon EFS path. If you only specify a target,
|
665
|
-
# it is displayed as is. You also must ensure that your
|
666
|
-
#
|
667
|
-
#
|
668
|
-
#
|
987
|
+
# it is displayed as is. You also must ensure that your Identity and
|
988
|
+
# Access Management (IAM) role provides access to paths in `Target`.
|
989
|
+
# This value can be set only when `HomeDirectoryType` is set to
|
990
|
+
# *LOGICAL*.
|
669
991
|
#
|
670
992
|
# The following is an `Entry` and `Target` pair example.
|
671
993
|
#
|
@@ -683,19 +1005,19 @@ module Aws::Transfer
|
|
683
1005
|
# @return [Array<Types::HomeDirectoryMapEntry>]
|
684
1006
|
#
|
685
1007
|
# @!attribute [rw] policy
|
686
|
-
# A session policy for your user so that you can use the same
|
687
|
-
# across multiple users. This policy
|
688
|
-
# portions of their Amazon S3 bucket.
|
689
|
-
# inside this policy include
|
690
|
-
# `$\{Transfer:
|
1008
|
+
# A session policy for your user so that you can use the same Identity
|
1009
|
+
# and Access Management (IAM) role across multiple users. This policy
|
1010
|
+
# scopes down a user's access to portions of their Amazon S3 bucket.
|
1011
|
+
# Variables that you can use inside this policy include
|
1012
|
+
# `$\{Transfer:UserName\}`, `$\{Transfer:HomeDirectory\}`, and
|
1013
|
+
# `$\{Transfer:HomeBucket\}`.
|
691
1014
|
#
|
692
|
-
# <note markdown="1"> This
|
693
|
-
# use session policies.
|
1015
|
+
# <note markdown="1"> This policy applies only when the domain of `ServerId` is Amazon S3.
|
1016
|
+
# Amazon EFS does not use session policies.
|
694
1017
|
#
|
695
|
-
# For session policies,
|
696
|
-
#
|
697
|
-
#
|
698
|
-
# `Policy` argument.
|
1018
|
+
# For session policies, Transfer Family stores the policy as a JSON
|
1019
|
+
# blob, instead of the Amazon Resource Name (ARN) of the policy. You
|
1020
|
+
# save the policy as a JSON blob and pass it in the `Policy` argument.
|
699
1021
|
#
|
700
1022
|
# For an example of a session policy, see [Example session policy][1].
|
701
1023
|
#
|
@@ -720,14 +1042,14 @@ module Aws::Transfer
|
|
720
1042
|
# @return [Types::PosixProfile]
|
721
1043
|
#
|
722
1044
|
# @!attribute [rw] role
|
723
|
-
#
|
724
|
-
# controls your users' access to your Amazon S3
|
725
|
-
# system. The policies attached to this role
|
726
|
-
# access that you want to provide your users
|
727
|
-
# into and out of your Amazon S3 bucket or
|
728
|
-
# role should also contain a trust
|
729
|
-
# to access your resources when
|
730
|
-
# requests.
|
1045
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
1046
|
+
# (IAM) role that controls your users' access to your Amazon S3
|
1047
|
+
# bucket or Amazon EFS file system. The policies attached to this role
|
1048
|
+
# determine the level of access that you want to provide your users
|
1049
|
+
# when transferring files into and out of your Amazon S3 bucket or
|
1050
|
+
# Amazon EFS file system. The IAM role should also contain a trust
|
1051
|
+
# relationship that allows the server to access your resources when
|
1052
|
+
# servicing your users' transfer requests.
|
731
1053
|
# @return [String]
|
732
1054
|
#
|
733
1055
|
# @!attribute [rw] server_id
|
@@ -894,20 +1216,20 @@ module Aws::Transfer
|
|
894
1216
|
# The `TYPE` specifies which of the following actions is being taken
|
895
1217
|
# for this step.
|
896
1218
|
#
|
897
|
-
# * *COPY*\:
|
1219
|
+
# * *COPY*\: Copy the file to another location.
|
898
1220
|
#
|
899
|
-
# * *CUSTOM*\: custom step with
|
1221
|
+
# * *CUSTOM*\: Perform a custom step with an Lambda function target.
|
900
1222
|
#
|
901
|
-
# * *DELETE*\:
|
1223
|
+
# * *DELETE*\: Delete the file.
|
902
1224
|
#
|
903
|
-
# * *TAG*\:
|
1225
|
+
# * *TAG*\: Add a tag to the file.
|
904
1226
|
#
|
905
1227
|
# <note markdown="1"> Currently, copying and tagging are supported only on S3.
|
906
1228
|
#
|
907
1229
|
# </note>
|
908
1230
|
#
|
909
1231
|
# For file location, you specify either the S3 bucket and key, or the
|
910
|
-
# EFS
|
1232
|
+
# EFS file system ID and path.
|
911
1233
|
# @return [Array<Types::WorkflowStep>]
|
912
1234
|
#
|
913
1235
|
# @!attribute [rw] on_exception_steps
|
@@ -1015,9 +1337,9 @@ module Aws::Transfer
|
|
1015
1337
|
# A unique identifier that is required to identify specific groups
|
1016
1338
|
# within your directory. The users of the group that you associate
|
1017
1339
|
# have access to your Amazon S3 or Amazon EFS resources over the
|
1018
|
-
# enabled protocols using
|
1019
|
-
#
|
1020
|
-
#
|
1340
|
+
# enabled protocols using Transfer Family. If you know the group name,
|
1341
|
+
# you can view the SID values by running the following command using
|
1342
|
+
# Windows PowerShell.
|
1021
1343
|
#
|
1022
1344
|
# `Get-ADGroup -Filter \{samAccountName -like "YourGroupName*"\}
|
1023
1345
|
# -Properties * | Select SamAccountName,ObjectSid`
|
@@ -1025,10 +1347,10 @@ module Aws::Transfer
|
|
1025
1347
|
# In that command, replace *YourGroupName* with the name of your
|
1026
1348
|
# Active Directory group.
|
1027
1349
|
#
|
1028
|
-
# The
|
1029
|
-
# consisting of uppercase and lowercase alphanumeric
|
1030
|
-
# no spaces. You can also include underscores or any
|
1031
|
-
# characters: =,.@:/-
|
1350
|
+
# The regular expression used to validate this parameter is a string
|
1351
|
+
# of characters consisting of uppercase and lowercase alphanumeric
|
1352
|
+
# characters with no spaces. You can also include underscores or any
|
1353
|
+
# of the following characters: =,.@:/-
|
1032
1354
|
# @return [String]
|
1033
1355
|
#
|
1034
1356
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteAccessRequest AWS API Documentation
|
@@ -1040,6 +1362,89 @@ module Aws::Transfer
|
|
1040
1362
|
include Aws::Structure
|
1041
1363
|
end
|
1042
1364
|
|
1365
|
+
# @note When making an API call, you may pass DeleteAgreementRequest
|
1366
|
+
# data as a hash:
|
1367
|
+
#
|
1368
|
+
# {
|
1369
|
+
# agreement_id: "AgreementId", # required
|
1370
|
+
# server_id: "ServerId", # required
|
1371
|
+
# }
|
1372
|
+
#
|
1373
|
+
# @!attribute [rw] agreement_id
|
1374
|
+
# A unique identifier for the agreement. This identifier is returned
|
1375
|
+
# when you create an agreement.
|
1376
|
+
# @return [String]
|
1377
|
+
#
|
1378
|
+
# @!attribute [rw] server_id
|
1379
|
+
# The server ID associated with the agreement that you are deleting.
|
1380
|
+
# @return [String]
|
1381
|
+
#
|
1382
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteAgreementRequest AWS API Documentation
|
1383
|
+
#
|
1384
|
+
class DeleteAgreementRequest < Struct.new(
|
1385
|
+
:agreement_id,
|
1386
|
+
:server_id)
|
1387
|
+
SENSITIVE = []
|
1388
|
+
include Aws::Structure
|
1389
|
+
end
|
1390
|
+
|
1391
|
+
# @note When making an API call, you may pass DeleteCertificateRequest
|
1392
|
+
# data as a hash:
|
1393
|
+
#
|
1394
|
+
# {
|
1395
|
+
# certificate_id: "CertificateId", # required
|
1396
|
+
# }
|
1397
|
+
#
|
1398
|
+
# @!attribute [rw] certificate_id
|
1399
|
+
# The ID of the certificate object that you are deleting.
|
1400
|
+
# @return [String]
|
1401
|
+
#
|
1402
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteCertificateRequest AWS API Documentation
|
1403
|
+
#
|
1404
|
+
class DeleteCertificateRequest < Struct.new(
|
1405
|
+
:certificate_id)
|
1406
|
+
SENSITIVE = []
|
1407
|
+
include Aws::Structure
|
1408
|
+
end
|
1409
|
+
|
1410
|
+
# @note When making an API call, you may pass DeleteConnectorRequest
|
1411
|
+
# data as a hash:
|
1412
|
+
#
|
1413
|
+
# {
|
1414
|
+
# connector_id: "ConnectorId", # required
|
1415
|
+
# }
|
1416
|
+
#
|
1417
|
+
# @!attribute [rw] connector_id
|
1418
|
+
# The unique identifier for the connector.
|
1419
|
+
# @return [String]
|
1420
|
+
#
|
1421
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteConnectorRequest AWS API Documentation
|
1422
|
+
#
|
1423
|
+
class DeleteConnectorRequest < Struct.new(
|
1424
|
+
:connector_id)
|
1425
|
+
SENSITIVE = []
|
1426
|
+
include Aws::Structure
|
1427
|
+
end
|
1428
|
+
|
1429
|
+
# @note When making an API call, you may pass DeleteProfileRequest
|
1430
|
+
# data as a hash:
|
1431
|
+
#
|
1432
|
+
# {
|
1433
|
+
# profile_id: "ProfileId", # required
|
1434
|
+
# }
|
1435
|
+
#
|
1436
|
+
# @!attribute [rw] profile_id
|
1437
|
+
# The ID of the profile that you are deleting.
|
1438
|
+
# @return [String]
|
1439
|
+
#
|
1440
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteProfileRequest AWS API Documentation
|
1441
|
+
#
|
1442
|
+
class DeleteProfileRequest < Struct.new(
|
1443
|
+
:profile_id)
|
1444
|
+
SENSITIVE = []
|
1445
|
+
include Aws::Structure
|
1446
|
+
end
|
1447
|
+
|
1043
1448
|
# @note When making an API call, you may pass DeleteServerRequest
|
1044
1449
|
# data as a hash:
|
1045
1450
|
#
|
@@ -1191,9 +1596,9 @@ module Aws::Transfer
|
|
1191
1596
|
# A unique identifier that is required to identify specific groups
|
1192
1597
|
# within your directory. The users of the group that you associate
|
1193
1598
|
# have access to your Amazon S3 or Amazon EFS resources over the
|
1194
|
-
# enabled protocols using
|
1195
|
-
#
|
1196
|
-
#
|
1599
|
+
# enabled protocols using Transfer Family. If you know the group name,
|
1600
|
+
# you can view the SID values by running the following command using
|
1601
|
+
# Windows PowerShell.
|
1197
1602
|
#
|
1198
1603
|
# `Get-ADGroup -Filter \{samAccountName -like "YourGroupName*"\}
|
1199
1604
|
# -Properties * | Select SamAccountName,ObjectSid`
|
@@ -1201,10 +1606,10 @@ module Aws::Transfer
|
|
1201
1606
|
# In that command, replace *YourGroupName* with the name of your
|
1202
1607
|
# Active Directory group.
|
1203
1608
|
#
|
1204
|
-
# The
|
1205
|
-
# consisting of uppercase and lowercase alphanumeric
|
1206
|
-
# no spaces. You can also include underscores or any
|
1207
|
-
# characters: =,.@:/-
|
1609
|
+
# The regular expression used to validate this parameter is a string
|
1610
|
+
# of characters consisting of uppercase and lowercase alphanumeric
|
1611
|
+
# characters with no spaces. You can also include underscores or any
|
1612
|
+
# of the following characters: =,.@:/-
|
1208
1613
|
# @return [String]
|
1209
1614
|
#
|
1210
1615
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeAccessRequest AWS API Documentation
|
@@ -1234,58 +1639,191 @@ module Aws::Transfer
|
|
1234
1639
|
include Aws::Structure
|
1235
1640
|
end
|
1236
1641
|
|
1237
|
-
# @note When making an API call, you may pass
|
1642
|
+
# @note When making an API call, you may pass DescribeAgreementRequest
|
1238
1643
|
# data as a hash:
|
1239
1644
|
#
|
1240
1645
|
# {
|
1241
|
-
#
|
1242
|
-
#
|
1646
|
+
# agreement_id: "AgreementId", # required
|
1647
|
+
# server_id: "ServerId", # required
|
1243
1648
|
# }
|
1244
1649
|
#
|
1245
|
-
# @!attribute [rw]
|
1246
|
-
# A unique identifier for the
|
1650
|
+
# @!attribute [rw] agreement_id
|
1651
|
+
# A unique identifier for the agreement. This identifier is returned
|
1652
|
+
# when you create an agreement.
|
1247
1653
|
# @return [String]
|
1248
1654
|
#
|
1249
|
-
# @!attribute [rw]
|
1250
|
-
#
|
1655
|
+
# @!attribute [rw] server_id
|
1656
|
+
# The server ID that's associated with the agreement.
|
1251
1657
|
# @return [String]
|
1252
1658
|
#
|
1253
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/
|
1659
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeAgreementRequest AWS API Documentation
|
1254
1660
|
#
|
1255
|
-
class
|
1256
|
-
:
|
1257
|
-
:
|
1661
|
+
class DescribeAgreementRequest < Struct.new(
|
1662
|
+
:agreement_id,
|
1663
|
+
:server_id)
|
1258
1664
|
SENSITIVE = []
|
1259
1665
|
include Aws::Structure
|
1260
1666
|
end
|
1261
1667
|
|
1262
|
-
# @!attribute [rw]
|
1263
|
-
#
|
1264
|
-
#
|
1265
|
-
#
|
1266
|
-
# @!attribute [rw] execution
|
1267
|
-
# The structure that contains the details of the workflow' execution.
|
1268
|
-
# @return [Types::DescribedExecution]
|
1668
|
+
# @!attribute [rw] agreement
|
1669
|
+
# The details for the specified agreement, returned as a
|
1670
|
+
# `DescribedAgreement` object.
|
1671
|
+
# @return [Types::DescribedAgreement]
|
1269
1672
|
#
|
1270
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/
|
1673
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeAgreementResponse AWS API Documentation
|
1271
1674
|
#
|
1272
|
-
class
|
1273
|
-
:
|
1274
|
-
:execution)
|
1675
|
+
class DescribeAgreementResponse < Struct.new(
|
1676
|
+
:agreement)
|
1275
1677
|
SENSITIVE = []
|
1276
1678
|
include Aws::Structure
|
1277
1679
|
end
|
1278
1680
|
|
1279
|
-
# @note When making an API call, you may pass
|
1681
|
+
# @note When making an API call, you may pass DescribeCertificateRequest
|
1280
1682
|
# data as a hash:
|
1281
1683
|
#
|
1282
1684
|
# {
|
1283
|
-
#
|
1685
|
+
# certificate_id: "CertificateId", # required
|
1284
1686
|
# }
|
1285
1687
|
#
|
1286
|
-
# @!attribute [rw]
|
1287
|
-
#
|
1288
|
-
#
|
1688
|
+
# @!attribute [rw] certificate_id
|
1689
|
+
# An array of identifiers for the imported certificates. You use this
|
1690
|
+
# identifier for working with profiles and partner profiles.
|
1691
|
+
# @return [String]
|
1692
|
+
#
|
1693
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeCertificateRequest AWS API Documentation
|
1694
|
+
#
|
1695
|
+
class DescribeCertificateRequest < Struct.new(
|
1696
|
+
:certificate_id)
|
1697
|
+
SENSITIVE = []
|
1698
|
+
include Aws::Structure
|
1699
|
+
end
|
1700
|
+
|
1701
|
+
# @!attribute [rw] certificate
|
1702
|
+
# The details for the specified certificate, returned as an object.
|
1703
|
+
# @return [Types::DescribedCertificate]
|
1704
|
+
#
|
1705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeCertificateResponse AWS API Documentation
|
1706
|
+
#
|
1707
|
+
class DescribeCertificateResponse < Struct.new(
|
1708
|
+
:certificate)
|
1709
|
+
SENSITIVE = []
|
1710
|
+
include Aws::Structure
|
1711
|
+
end
|
1712
|
+
|
1713
|
+
# @note When making an API call, you may pass DescribeConnectorRequest
|
1714
|
+
# data as a hash:
|
1715
|
+
#
|
1716
|
+
# {
|
1717
|
+
# connector_id: "ConnectorId", # required
|
1718
|
+
# }
|
1719
|
+
#
|
1720
|
+
# @!attribute [rw] connector_id
|
1721
|
+
# The unique identifier for the connector.
|
1722
|
+
# @return [String]
|
1723
|
+
#
|
1724
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeConnectorRequest AWS API Documentation
|
1725
|
+
#
|
1726
|
+
class DescribeConnectorRequest < Struct.new(
|
1727
|
+
:connector_id)
|
1728
|
+
SENSITIVE = []
|
1729
|
+
include Aws::Structure
|
1730
|
+
end
|
1731
|
+
|
1732
|
+
# @!attribute [rw] connector
|
1733
|
+
# The structure that contains the details of the connector.
|
1734
|
+
# @return [Types::DescribedConnector]
|
1735
|
+
#
|
1736
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeConnectorResponse AWS API Documentation
|
1737
|
+
#
|
1738
|
+
class DescribeConnectorResponse < Struct.new(
|
1739
|
+
:connector)
|
1740
|
+
SENSITIVE = []
|
1741
|
+
include Aws::Structure
|
1742
|
+
end
|
1743
|
+
|
1744
|
+
# @note When making an API call, you may pass DescribeExecutionRequest
|
1745
|
+
# data as a hash:
|
1746
|
+
#
|
1747
|
+
# {
|
1748
|
+
# execution_id: "ExecutionId", # required
|
1749
|
+
# workflow_id: "WorkflowId", # required
|
1750
|
+
# }
|
1751
|
+
#
|
1752
|
+
# @!attribute [rw] execution_id
|
1753
|
+
# A unique identifier for the execution of a workflow.
|
1754
|
+
# @return [String]
|
1755
|
+
#
|
1756
|
+
# @!attribute [rw] workflow_id
|
1757
|
+
# A unique identifier for the workflow.
|
1758
|
+
# @return [String]
|
1759
|
+
#
|
1760
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeExecutionRequest AWS API Documentation
|
1761
|
+
#
|
1762
|
+
class DescribeExecutionRequest < Struct.new(
|
1763
|
+
:execution_id,
|
1764
|
+
:workflow_id)
|
1765
|
+
SENSITIVE = []
|
1766
|
+
include Aws::Structure
|
1767
|
+
end
|
1768
|
+
|
1769
|
+
# @!attribute [rw] workflow_id
|
1770
|
+
# A unique identifier for the workflow.
|
1771
|
+
# @return [String]
|
1772
|
+
#
|
1773
|
+
# @!attribute [rw] execution
|
1774
|
+
# The structure that contains the details of the workflow' execution.
|
1775
|
+
# @return [Types::DescribedExecution]
|
1776
|
+
#
|
1777
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeExecutionResponse AWS API Documentation
|
1778
|
+
#
|
1779
|
+
class DescribeExecutionResponse < Struct.new(
|
1780
|
+
:workflow_id,
|
1781
|
+
:execution)
|
1782
|
+
SENSITIVE = []
|
1783
|
+
include Aws::Structure
|
1784
|
+
end
|
1785
|
+
|
1786
|
+
# @note When making an API call, you may pass DescribeProfileRequest
|
1787
|
+
# data as a hash:
|
1788
|
+
#
|
1789
|
+
# {
|
1790
|
+
# profile_id: "ProfileId", # required
|
1791
|
+
# }
|
1792
|
+
#
|
1793
|
+
# @!attribute [rw] profile_id
|
1794
|
+
# The identifier of the profile that you want described.
|
1795
|
+
# @return [String]
|
1796
|
+
#
|
1797
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeProfileRequest AWS API Documentation
|
1798
|
+
#
|
1799
|
+
class DescribeProfileRequest < Struct.new(
|
1800
|
+
:profile_id)
|
1801
|
+
SENSITIVE = []
|
1802
|
+
include Aws::Structure
|
1803
|
+
end
|
1804
|
+
|
1805
|
+
# @!attribute [rw] profile
|
1806
|
+
# The details of the specified profile, returned as an object.
|
1807
|
+
# @return [Types::DescribedProfile]
|
1808
|
+
#
|
1809
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeProfileResponse AWS API Documentation
|
1810
|
+
#
|
1811
|
+
class DescribeProfileResponse < Struct.new(
|
1812
|
+
:profile)
|
1813
|
+
SENSITIVE = []
|
1814
|
+
include Aws::Structure
|
1815
|
+
end
|
1816
|
+
|
1817
|
+
# @note When making an API call, you may pass DescribeSecurityPolicyRequest
|
1818
|
+
# data as a hash:
|
1819
|
+
#
|
1820
|
+
# {
|
1821
|
+
# security_policy_name: "SecurityPolicyName", # required
|
1822
|
+
# }
|
1823
|
+
#
|
1824
|
+
# @!attribute [rw] security_policy_name
|
1825
|
+
# Specifies the name of the security policy that is attached to the
|
1826
|
+
# server.
|
1289
1827
|
# @return [String]
|
1290
1828
|
#
|
1291
1829
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeSecurityPolicyRequest AWS API Documentation
|
@@ -1355,8 +1893,8 @@ module Aws::Transfer
|
|
1355
1893
|
#
|
1356
1894
|
# @!attribute [rw] user_name
|
1357
1895
|
# The name of the user assigned to one or more servers. User names are
|
1358
|
-
# part of the sign-in credentials to use the
|
1359
|
-
#
|
1896
|
+
# part of the sign-in credentials to use the Transfer Family service
|
1897
|
+
# and perform file transfer tasks.
|
1360
1898
|
# @return [String]
|
1361
1899
|
#
|
1362
1900
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeUserRequest AWS API Documentation
|
@@ -1433,10 +1971,10 @@ module Aws::Transfer
|
|
1433
1971
|
# make them visible. You must specify the `Entry` and `Target` pair,
|
1434
1972
|
# where `Entry` shows how the path is made visible and `Target` is the
|
1435
1973
|
# actual Amazon S3 or Amazon EFS path. If you only specify a target,
|
1436
|
-
# it is displayed as is. You also must ensure that your
|
1437
|
-
#
|
1438
|
-
#
|
1439
|
-
#
|
1974
|
+
# it is displayed as is. You also must ensure that your Identity and
|
1975
|
+
# Access Management (IAM) role provides access to paths in `Target`.
|
1976
|
+
# This value can be set only when `HomeDirectoryType` is set to
|
1977
|
+
# *LOGICAL*.
|
1440
1978
|
#
|
1441
1979
|
# In most cases, you can use this value instead of the session policy
|
1442
1980
|
# to lock down the associated access to the designated home directory
|
@@ -1445,21 +1983,22 @@ module Aws::Transfer
|
|
1445
1983
|
# @return [Array<Types::HomeDirectoryMapEntry>]
|
1446
1984
|
#
|
1447
1985
|
# @!attribute [rw] home_directory_type
|
1448
|
-
# The type of landing directory (folder) you want your users'
|
1449
|
-
# directory to be when they log
|
1450
|
-
# `PATH`, the user will see the absolute Amazon S3 bucket or EFS
|
1451
|
-
# as is in their file transfer protocol clients. If you set it
|
1986
|
+
# The type of landing directory (folder) that you want your users'
|
1987
|
+
# home directory to be when they log in to the server. If you set it
|
1988
|
+
# to `PATH`, the user will see the absolute Amazon S3 bucket or EFS
|
1989
|
+
# paths as is in their file transfer protocol clients. If you set it
|
1452
1990
|
# `LOGICAL`, you need to provide mappings in the
|
1453
|
-
# `HomeDirectoryMappings` for how you want to make Amazon S3 or
|
1454
|
-
# paths visible to your users.
|
1991
|
+
# `HomeDirectoryMappings` for how you want to make Amazon S3 or Amazon
|
1992
|
+
# EFS paths visible to your users.
|
1455
1993
|
# @return [String]
|
1456
1994
|
#
|
1457
1995
|
# @!attribute [rw] policy
|
1458
|
-
# A session policy for your user so that you can use the same
|
1459
|
-
# across multiple users. This policy
|
1460
|
-
# portions of their Amazon S3 bucket.
|
1461
|
-
# inside this policy include
|
1462
|
-
# `$\{Transfer:
|
1996
|
+
# A session policy for your user so that you can use the same Identity
|
1997
|
+
# and Access Management (IAM) role across multiple users. This policy
|
1998
|
+
# scopes down a user's access to portions of their Amazon S3 bucket.
|
1999
|
+
# Variables that you can use inside this policy include
|
2000
|
+
# `$\{Transfer:UserName\}`, `$\{Transfer:HomeDirectory\}`, and
|
2001
|
+
# `$\{Transfer:HomeBucket\}`.
|
1463
2002
|
# @return [String]
|
1464
2003
|
#
|
1465
2004
|
# @!attribute [rw] posix_profile
|
@@ -1472,23 +2011,23 @@ module Aws::Transfer
|
|
1472
2011
|
# @return [Types::PosixProfile]
|
1473
2012
|
#
|
1474
2013
|
# @!attribute [rw] role
|
1475
|
-
#
|
1476
|
-
# controls your users' access to your Amazon S3
|
1477
|
-
# system. The policies attached to this role
|
1478
|
-
# access that you want to provide your users
|
1479
|
-
# into and out of your Amazon S3 bucket or
|
1480
|
-
# role should also contain a trust
|
1481
|
-
# to access your resources when
|
1482
|
-
# requests.
|
2014
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
2015
|
+
# (IAM) role that controls your users' access to your Amazon S3
|
2016
|
+
# bucket or Amazon EFS file system. The policies attached to this role
|
2017
|
+
# determine the level of access that you want to provide your users
|
2018
|
+
# when transferring files into and out of your Amazon S3 bucket or
|
2019
|
+
# Amazon EFS file system. The IAM role should also contain a trust
|
2020
|
+
# relationship that allows the server to access your resources when
|
2021
|
+
# servicing your users' transfer requests.
|
1483
2022
|
# @return [String]
|
1484
2023
|
#
|
1485
2024
|
# @!attribute [rw] external_id
|
1486
2025
|
# A unique identifier that is required to identify specific groups
|
1487
2026
|
# within your directory. The users of the group that you associate
|
1488
2027
|
# have access to your Amazon S3 or Amazon EFS resources over the
|
1489
|
-
# enabled protocols using
|
1490
|
-
#
|
1491
|
-
#
|
2028
|
+
# enabled protocols using Transfer Family. If you know the group name,
|
2029
|
+
# you can view the SID values by running the following command using
|
2030
|
+
# Windows PowerShell.
|
1492
2031
|
#
|
1493
2032
|
# `Get-ADGroup -Filter \{samAccountName -like "YourGroupName*"\}
|
1494
2033
|
# -Properties * | Select SamAccountName,ObjectSid`
|
@@ -1496,10 +2035,10 @@ module Aws::Transfer
|
|
1496
2035
|
# In that command, replace *YourGroupName* with the name of your
|
1497
2036
|
# Active Directory group.
|
1498
2037
|
#
|
1499
|
-
# The
|
1500
|
-
# consisting of uppercase and lowercase alphanumeric
|
1501
|
-
# no spaces. You can also include underscores or any
|
1502
|
-
# characters: =,.@:/-
|
2038
|
+
# The regular expression used to validate this parameter is a string
|
2039
|
+
# of characters consisting of uppercase and lowercase alphanumeric
|
2040
|
+
# characters with no spaces. You can also include underscores or any
|
2041
|
+
# of the following characters: =,.@:/-
|
1503
2042
|
# @return [String]
|
1504
2043
|
#
|
1505
2044
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribedAccess AWS API Documentation
|
@@ -1516,6 +2055,217 @@ module Aws::Transfer
|
|
1516
2055
|
include Aws::Structure
|
1517
2056
|
end
|
1518
2057
|
|
2058
|
+
# Describes the properties of an agreement.
|
2059
|
+
#
|
2060
|
+
# @!attribute [rw] arn
|
2061
|
+
# The unique Amazon Resource Name (ARN) for the agreement.
|
2062
|
+
# @return [String]
|
2063
|
+
#
|
2064
|
+
# @!attribute [rw] agreement_id
|
2065
|
+
# A unique identifier for the agreement. This identifier is returned
|
2066
|
+
# when you create an agreement.
|
2067
|
+
# @return [String]
|
2068
|
+
#
|
2069
|
+
# @!attribute [rw] description
|
2070
|
+
# The name or short description that's used to identify the
|
2071
|
+
# agreement.
|
2072
|
+
# @return [String]
|
2073
|
+
#
|
2074
|
+
# @!attribute [rw] status
|
2075
|
+
# The current status of the agreement, either `ACTIVE` or `INACTIVE`.
|
2076
|
+
# @return [String]
|
2077
|
+
#
|
2078
|
+
# @!attribute [rw] server_id
|
2079
|
+
# A system-assigned unique identifier for a server instance. This
|
2080
|
+
# identifier indicates the specific server that the agreement uses.
|
2081
|
+
# @return [String]
|
2082
|
+
#
|
2083
|
+
# @!attribute [rw] local_profile_id
|
2084
|
+
# A unique identifier for the AS2 process.
|
2085
|
+
# @return [String]
|
2086
|
+
#
|
2087
|
+
# @!attribute [rw] partner_profile_id
|
2088
|
+
# A unique identifier for the partner in the agreement.
|
2089
|
+
# @return [String]
|
2090
|
+
#
|
2091
|
+
# @!attribute [rw] base_directory
|
2092
|
+
# The landing directory (folder) for files that are transferred by
|
2093
|
+
# using the AS2 protocol.
|
2094
|
+
# @return [String]
|
2095
|
+
#
|
2096
|
+
# @!attribute [rw] access_role
|
2097
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
2098
|
+
# (IAM) role that grants access to at least the `HomeDirectory` of
|
2099
|
+
# your users' Amazon S3 buckets.
|
2100
|
+
# @return [String]
|
2101
|
+
#
|
2102
|
+
# @!attribute [rw] tags
|
2103
|
+
# Key-value pairs that can be used to group and search for agreements.
|
2104
|
+
# @return [Array<Types::Tag>]
|
2105
|
+
#
|
2106
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribedAgreement AWS API Documentation
|
2107
|
+
#
|
2108
|
+
class DescribedAgreement < Struct.new(
|
2109
|
+
:arn,
|
2110
|
+
:agreement_id,
|
2111
|
+
:description,
|
2112
|
+
:status,
|
2113
|
+
:server_id,
|
2114
|
+
:local_profile_id,
|
2115
|
+
:partner_profile_id,
|
2116
|
+
:base_directory,
|
2117
|
+
:access_role,
|
2118
|
+
:tags)
|
2119
|
+
SENSITIVE = []
|
2120
|
+
include Aws::Structure
|
2121
|
+
end
|
2122
|
+
|
2123
|
+
# Describes the properties of a certificate.
|
2124
|
+
#
|
2125
|
+
# @!attribute [rw] arn
|
2126
|
+
# The unique Amazon Resource Name (ARN) for the certificate.
|
2127
|
+
# @return [String]
|
2128
|
+
#
|
2129
|
+
# @!attribute [rw] certificate_id
|
2130
|
+
# An array of identifiers for the imported certificates. You use this
|
2131
|
+
# identifier for working with profiles and partner profiles.
|
2132
|
+
# @return [String]
|
2133
|
+
#
|
2134
|
+
# @!attribute [rw] usage
|
2135
|
+
# Specifies whether this certificate is used for signing or
|
2136
|
+
# encryption.
|
2137
|
+
# @return [String]
|
2138
|
+
#
|
2139
|
+
# @!attribute [rw] status
|
2140
|
+
# The certificate can be either `ACTIVE`, `PENDING_ROTATION`, or
|
2141
|
+
# `INACTIVE`. `PENDING_ROTATION` means that this certificate will
|
2142
|
+
# replace the current certificate when it expires.
|
2143
|
+
# @return [String]
|
2144
|
+
#
|
2145
|
+
# @!attribute [rw] certificate
|
2146
|
+
# The file name for the certificate.
|
2147
|
+
# @return [String]
|
2148
|
+
#
|
2149
|
+
# @!attribute [rw] certificate_chain
|
2150
|
+
# The list of certificates that make up the chain for the certificate.
|
2151
|
+
# @return [String]
|
2152
|
+
#
|
2153
|
+
# @!attribute [rw] active_date
|
2154
|
+
# An optional date that specifies when the certificate becomes active.
|
2155
|
+
# @return [Time]
|
2156
|
+
#
|
2157
|
+
# @!attribute [rw] inactive_date
|
2158
|
+
# An optional date that specifies when the certificate becomes
|
2159
|
+
# inactive.
|
2160
|
+
# @return [Time]
|
2161
|
+
#
|
2162
|
+
# @!attribute [rw] serial
|
2163
|
+
# The serial number for the certificate.
|
2164
|
+
# @return [String]
|
2165
|
+
#
|
2166
|
+
# @!attribute [rw] not_before_date
|
2167
|
+
# The earliest date that the certificate is valid.
|
2168
|
+
# @return [Time]
|
2169
|
+
#
|
2170
|
+
# @!attribute [rw] not_after_date
|
2171
|
+
# The final date that the certificate is valid.
|
2172
|
+
# @return [Time]
|
2173
|
+
#
|
2174
|
+
# @!attribute [rw] type
|
2175
|
+
# If a private key has been specified for the certificate, its type is
|
2176
|
+
# `CERTIFICATE_WITH_PRIVATE_KEY`. If there is no private key, the type
|
2177
|
+
# is `CERTIFICATE`.
|
2178
|
+
# @return [String]
|
2179
|
+
#
|
2180
|
+
# @!attribute [rw] description
|
2181
|
+
# The name or description that's used to identity the certificate.
|
2182
|
+
# @return [String]
|
2183
|
+
#
|
2184
|
+
# @!attribute [rw] tags
|
2185
|
+
# Key-value pairs that can be used to group and search for
|
2186
|
+
# certificates.
|
2187
|
+
# @return [Array<Types::Tag>]
|
2188
|
+
#
|
2189
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribedCertificate AWS API Documentation
|
2190
|
+
#
|
2191
|
+
class DescribedCertificate < Struct.new(
|
2192
|
+
:arn,
|
2193
|
+
:certificate_id,
|
2194
|
+
:usage,
|
2195
|
+
:status,
|
2196
|
+
:certificate,
|
2197
|
+
:certificate_chain,
|
2198
|
+
:active_date,
|
2199
|
+
:inactive_date,
|
2200
|
+
:serial,
|
2201
|
+
:not_before_date,
|
2202
|
+
:not_after_date,
|
2203
|
+
:type,
|
2204
|
+
:description,
|
2205
|
+
:tags)
|
2206
|
+
SENSITIVE = [:certificate, :certificate_chain]
|
2207
|
+
include Aws::Structure
|
2208
|
+
end
|
2209
|
+
|
2210
|
+
# Describes the parameters for the connector, as identified by the
|
2211
|
+
# `ConnectorId`.
|
2212
|
+
#
|
2213
|
+
# @!attribute [rw] arn
|
2214
|
+
# The unique Amazon Resource Name (ARN) for the connector.
|
2215
|
+
# @return [String]
|
2216
|
+
#
|
2217
|
+
# @!attribute [rw] connector_id
|
2218
|
+
# The unique identifier for the connector.
|
2219
|
+
# @return [String]
|
2220
|
+
#
|
2221
|
+
# @!attribute [rw] url
|
2222
|
+
# The URL of the partner's AS2 endpoint.
|
2223
|
+
# @return [String]
|
2224
|
+
#
|
2225
|
+
# @!attribute [rw] as_2_config
|
2226
|
+
# A structure that contains the parameters for a connector object.
|
2227
|
+
# @return [Types::As2ConnectorConfig]
|
2228
|
+
#
|
2229
|
+
# @!attribute [rw] access_role
|
2230
|
+
# With AS2, you can send files by calling `StartFileTransfer` and
|
2231
|
+
# specifying the file paths in the request parameter, `SendFilePaths`.
|
2232
|
+
# We use the file’s parent directory (for example, for
|
2233
|
+
# `--send-file-paths /bucket/dir/file.txt`, parent directory is
|
2234
|
+
# `/bucket/dir/`) to temporarily store a processed AS2 message file,
|
2235
|
+
# store the MDN when we receive them from the partner, and write a
|
2236
|
+
# final JSON file containing relevant metadata of the transmission.
|
2237
|
+
# So, the `AccessRole` needs to provide read and write access to the
|
2238
|
+
# parent directory of the file location used in the
|
2239
|
+
# `StartFileTransfer` request. Additionally, you need to provide read
|
2240
|
+
# and write access to the parent directory of the files that you
|
2241
|
+
# intend to send with `StartFileTransfer`.
|
2242
|
+
# @return [String]
|
2243
|
+
#
|
2244
|
+
# @!attribute [rw] logging_role
|
2245
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
2246
|
+
# (IAM) role that allows a connector to turn on CloudWatch logging for
|
2247
|
+
# Amazon S3 events. When set, you can view connector activity in your
|
2248
|
+
# CloudWatch logs.
|
2249
|
+
# @return [String]
|
2250
|
+
#
|
2251
|
+
# @!attribute [rw] tags
|
2252
|
+
# Key-value pairs that can be used to group and search for connectors.
|
2253
|
+
# @return [Array<Types::Tag>]
|
2254
|
+
#
|
2255
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribedConnector AWS API Documentation
|
2256
|
+
#
|
2257
|
+
class DescribedConnector < Struct.new(
|
2258
|
+
:arn,
|
2259
|
+
:connector_id,
|
2260
|
+
:url,
|
2261
|
+
:as_2_config,
|
2262
|
+
:access_role,
|
2263
|
+
:logging_role,
|
2264
|
+
:tags)
|
2265
|
+
SENSITIVE = []
|
2266
|
+
include Aws::Structure
|
2267
|
+
end
|
2268
|
+
|
1519
2269
|
# The details for an execution object.
|
1520
2270
|
#
|
1521
2271
|
# @!attribute [rw] execution_id
|
@@ -1530,8 +2280,8 @@ module Aws::Transfer
|
|
1530
2280
|
# @return [Types::FileLocation]
|
1531
2281
|
#
|
1532
2282
|
# @!attribute [rw] service_metadata
|
1533
|
-
# A container object for the session details associated with
|
1534
|
-
# workflow.
|
2283
|
+
# A container object for the session details that are associated with
|
2284
|
+
# a workflow.
|
1535
2285
|
# @return [Types::ServiceMetadata]
|
1536
2286
|
#
|
1537
2287
|
# @!attribute [rw] execution_role
|
@@ -1577,6 +2327,48 @@ module Aws::Transfer
|
|
1577
2327
|
include Aws::Structure
|
1578
2328
|
end
|
1579
2329
|
|
2330
|
+
# The details for a local or partner AS2 profile. profile.
|
2331
|
+
#
|
2332
|
+
# @!attribute [rw] arn
|
2333
|
+
# The unique Amazon Resource Name (ARN) for the profile.
|
2334
|
+
# @return [String]
|
2335
|
+
#
|
2336
|
+
# @!attribute [rw] profile_id
|
2337
|
+
# A unique identifier for the local or partner AS2 profile.
|
2338
|
+
# @return [String]
|
2339
|
+
#
|
2340
|
+
# @!attribute [rw] profile_type
|
2341
|
+
# Indicates whether to list only `LOCAL` type profiles or only
|
2342
|
+
# `PARTNER` type profiles. If not supplied in the request, the command
|
2343
|
+
# lists all types of profiles.
|
2344
|
+
# @return [String]
|
2345
|
+
#
|
2346
|
+
# @!attribute [rw] as_2_id
|
2347
|
+
# The unique identifier for the AS2 process.
|
2348
|
+
# @return [String]
|
2349
|
+
#
|
2350
|
+
# @!attribute [rw] certificate_ids
|
2351
|
+
# An array of identifiers for the imported certificates. You use this
|
2352
|
+
# identifier for working with profiles and partner profiles.
|
2353
|
+
# @return [Array<String>]
|
2354
|
+
#
|
2355
|
+
# @!attribute [rw] tags
|
2356
|
+
# Key-value pairs that can be used to group and search for profiles.
|
2357
|
+
# @return [Array<Types::Tag>]
|
2358
|
+
#
|
2359
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribedProfile AWS API Documentation
|
2360
|
+
#
|
2361
|
+
class DescribedProfile < Struct.new(
|
2362
|
+
:arn,
|
2363
|
+
:profile_id,
|
2364
|
+
:profile_type,
|
2365
|
+
:as_2_id,
|
2366
|
+
:certificate_ids,
|
2367
|
+
:tags)
|
2368
|
+
SENSITIVE = []
|
2369
|
+
include Aws::Structure
|
2370
|
+
end
|
2371
|
+
|
1580
2372
|
# Describes the properties of a security policy that was specified. For
|
1581
2373
|
# more information about security policies, see [Working with security
|
1582
2374
|
# policies][1].
|
@@ -1658,10 +2450,10 @@ module Aws::Transfer
|
|
1658
2450
|
# @!attribute [rw] endpoint_details
|
1659
2451
|
# The virtual private cloud (VPC) endpoint settings that are
|
1660
2452
|
# configured for your server. When you host your endpoint within your
|
1661
|
-
# VPC, you can make
|
1662
|
-
# or you can attach Elastic IP addresses and make
|
1663
|
-
# clients over the internet. Your VPC's
|
1664
|
-
# automatically assigned to your endpoint.
|
2453
|
+
# VPC, you can make your endpoint accessible only to resources within
|
2454
|
+
# your VPC, or you can attach Elastic IP addresses and make your
|
2455
|
+
# endpoint accessible to clients over the internet. Your VPC's
|
2456
|
+
# default security groups are automatically assigned to your endpoint.
|
1665
2457
|
# @return [Types::EndpointDetails]
|
1666
2458
|
#
|
1667
2459
|
# @!attribute [rw] endpoint_type
|
@@ -1683,38 +2475,37 @@ module Aws::Transfer
|
|
1683
2475
|
# @return [Types::IdentityProviderDetails]
|
1684
2476
|
#
|
1685
2477
|
# @!attribute [rw] identity_provider_type
|
1686
|
-
#
|
1687
|
-
#
|
1688
|
-
# credentials within the
|
2478
|
+
# The mode of authentication for a server. The default value is
|
2479
|
+
# `SERVICE_MANAGED`, which allows you to store and access user
|
2480
|
+
# credentials within the Transfer Family service.
|
1689
2481
|
#
|
1690
2482
|
# Use `AWS_DIRECTORY_SERVICE` to provide access to Active Directory
|
1691
|
-
# groups in
|
1692
|
-
# Active Directory in your on-premises environment or in
|
1693
|
-
# Services using AD
|
1694
|
-
# provide a Directory ID using the `IdentityProviderDetails`
|
2483
|
+
# groups in Directory Service for Microsoft Active Directory or
|
2484
|
+
# Microsoft Active Directory in your on-premises environment or in
|
2485
|
+
# Amazon Web Services using AD Connector. This option also requires
|
2486
|
+
# you to provide a Directory ID by using the `IdentityProviderDetails`
|
1695
2487
|
# parameter.
|
1696
2488
|
#
|
1697
2489
|
# Use the `API_GATEWAY` value to integrate with an identity provider
|
1698
2490
|
# of your choosing. The `API_GATEWAY` setting requires you to provide
|
1699
|
-
# an API Gateway endpoint URL to call for authentication
|
1700
|
-
# `IdentityProviderDetails` parameter.
|
2491
|
+
# an Amazon API Gateway endpoint URL to call for authentication by
|
2492
|
+
# using the `IdentityProviderDetails` parameter.
|
1701
2493
|
#
|
1702
|
-
# Use the `AWS_LAMBDA` value to directly use
|
1703
|
-
# identity provider. If you choose this value, you must specify
|
1704
|
-
# ARN for the
|
2494
|
+
# Use the `AWS_LAMBDA` value to directly use an Lambda function as
|
2495
|
+
# your identity provider. If you choose this value, you must specify
|
2496
|
+
# the ARN for the Lambda function in the `Function` parameter or the
|
1705
2497
|
# `IdentityProviderDetails` data type.
|
1706
2498
|
# @return [String]
|
1707
2499
|
#
|
1708
2500
|
# @!attribute [rw] logging_role
|
1709
|
-
#
|
1710
|
-
#
|
1711
|
-
#
|
1712
|
-
#
|
1713
|
-
# logs.
|
2501
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
2502
|
+
# (IAM) role that allows a server to turn on Amazon CloudWatch logging
|
2503
|
+
# for Amazon S3 or Amazon EFSevents. When set, you can view user
|
2504
|
+
# activity in your CloudWatch logs.
|
1714
2505
|
# @return [String]
|
1715
2506
|
#
|
1716
2507
|
# @!attribute [rw] post_authentication_login_banner
|
1717
|
-
#
|
2508
|
+
# Specifies a string to display when users connect to a server. This
|
1718
2509
|
# string is displayed after the user authenticates.
|
1719
2510
|
#
|
1720
2511
|
# <note markdown="1"> The SFTP protocol does not support post-authentication display
|
@@ -1724,9 +2515,9 @@ module Aws::Transfer
|
|
1724
2515
|
# @return [String]
|
1725
2516
|
#
|
1726
2517
|
# @!attribute [rw] pre_authentication_login_banner
|
1727
|
-
#
|
2518
|
+
# Specifies a string to display when users connect to a server. This
|
1728
2519
|
# string is displayed before the user authenticates. For example, the
|
1729
|
-
# following banner displays details about using the system
|
2520
|
+
# following banner displays details about using the system:
|
1730
2521
|
#
|
1731
2522
|
# `This system is for the use of authorized users only. Individuals
|
1732
2523
|
# using this computer system without authority, or in excess of their
|
@@ -1759,10 +2550,10 @@ module Aws::Transfer
|
|
1759
2550
|
# @return [String]
|
1760
2551
|
#
|
1761
2552
|
# @!attribute [rw] state
|
1762
|
-
#
|
1763
|
-
#
|
1764
|
-
#
|
1765
|
-
#
|
2553
|
+
# The condition of the server that was described. A value of `ONLINE`
|
2554
|
+
# indicates that the server can accept jobs and transfer files. A
|
2555
|
+
# `State` value of `OFFLINE` means that the server cannot perform file
|
2556
|
+
# transfer operations.
|
1766
2557
|
#
|
1767
2558
|
# The states of `STARTING` and `STOPPING` indicate that the server is
|
1768
2559
|
# in an intermediate state, either not fully able to respond, or not
|
@@ -1782,7 +2573,7 @@ module Aws::Transfer
|
|
1782
2573
|
#
|
1783
2574
|
# @!attribute [rw] workflow_details
|
1784
2575
|
# Specifies the workflow ID for the workflow to assign and the
|
1785
|
-
# execution role used for executing the workflow.
|
2576
|
+
# execution role that's used for executing the workflow.
|
1786
2577
|
# @return [Types::WorkflowDetails]
|
1787
2578
|
#
|
1788
2579
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribedServer AWS API Documentation
|
@@ -1831,10 +2622,10 @@ module Aws::Transfer
|
|
1831
2622
|
# make them visible. You must specify the `Entry` and `Target` pair,
|
1832
2623
|
# where `Entry` shows how the path is made visible and `Target` is the
|
1833
2624
|
# actual Amazon S3 or Amazon EFS path. If you only specify a target,
|
1834
|
-
# it is displayed as is. You also must ensure that your
|
1835
|
-
#
|
1836
|
-
#
|
1837
|
-
#
|
2625
|
+
# it is displayed as is. You also must ensure that your Identity and
|
2626
|
+
# Access Management (IAM) role provides access to paths in `Target`.
|
2627
|
+
# This value can be set only when `HomeDirectoryType` is set to
|
2628
|
+
# *LOGICAL*.
|
1838
2629
|
#
|
1839
2630
|
# In most cases, you can use this value instead of the session policy
|
1840
2631
|
# to lock your user down to the designated home directory
|
@@ -1843,21 +2634,22 @@ module Aws::Transfer
|
|
1843
2634
|
# @return [Array<Types::HomeDirectoryMapEntry>]
|
1844
2635
|
#
|
1845
2636
|
# @!attribute [rw] home_directory_type
|
1846
|
-
# The type of landing directory (folder) you want your users'
|
1847
|
-
# directory to be when they log
|
1848
|
-
# `PATH`, the user will see the absolute Amazon S3 bucket or EFS
|
1849
|
-
# as is in their file transfer protocol clients. If you set it
|
2637
|
+
# The type of landing directory (folder) that you want your users'
|
2638
|
+
# home directory to be when they log in to the server. If you set it
|
2639
|
+
# to `PATH`, the user will see the absolute Amazon S3 bucket or EFS
|
2640
|
+
# paths as is in their file transfer protocol clients. If you set it
|
1850
2641
|
# `LOGICAL`, you need to provide mappings in the
|
1851
|
-
# `HomeDirectoryMappings` for how you want to make Amazon S3 or
|
1852
|
-
# paths visible to your users.
|
2642
|
+
# `HomeDirectoryMappings` for how you want to make Amazon S3 or Amazon
|
2643
|
+
# EFS paths visible to your users.
|
1853
2644
|
# @return [String]
|
1854
2645
|
#
|
1855
2646
|
# @!attribute [rw] policy
|
1856
|
-
# A session policy for your user so that you can use the same
|
1857
|
-
# across multiple users. This policy
|
1858
|
-
# portions of their Amazon S3 bucket.
|
1859
|
-
# inside this policy include
|
1860
|
-
# `$\{Transfer:
|
2647
|
+
# A session policy for your user so that you can use the same Identity
|
2648
|
+
# and Access Management (IAM) role across multiple users. This policy
|
2649
|
+
# scopes down a user's access to portions of their Amazon S3 bucket.
|
2650
|
+
# Variables that you can use inside this policy include
|
2651
|
+
# `$\{Transfer:UserName\}`, `$\{Transfer:HomeDirectory\}`, and
|
2652
|
+
# `$\{Transfer:HomeBucket\}`.
|
1861
2653
|
# @return [String]
|
1862
2654
|
#
|
1863
2655
|
# @!attribute [rw] posix_profile
|
@@ -1871,14 +2663,14 @@ module Aws::Transfer
|
|
1871
2663
|
# @return [Types::PosixProfile]
|
1872
2664
|
#
|
1873
2665
|
# @!attribute [rw] role
|
1874
|
-
#
|
1875
|
-
# controls your users' access to your Amazon S3
|
1876
|
-
# system. The policies attached to this role
|
1877
|
-
# access that you want to provide your users
|
1878
|
-
# into and out of your Amazon S3 bucket or
|
1879
|
-
# role should also contain a trust
|
1880
|
-
# to access your resources when
|
1881
|
-
# requests.
|
2666
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
2667
|
+
# (IAM) role that controls your users' access to your Amazon S3
|
2668
|
+
# bucket or Amazon EFS file system. The policies attached to this role
|
2669
|
+
# determine the level of access that you want to provide your users
|
2670
|
+
# when transferring files into and out of your Amazon S3 bucket or
|
2671
|
+
# Amazon EFS file system. The IAM role should also contain a trust
|
2672
|
+
# relationship that allows the server to access your resources when
|
2673
|
+
# servicing your users' transfer requests.
|
1882
2674
|
# @return [String]
|
1883
2675
|
#
|
1884
2676
|
# @!attribute [rw] ssh_public_keys
|
@@ -2163,13 +2955,13 @@ module Aws::Transfer
|
|
2163
2955
|
# @!attribute [rw] step_type
|
2164
2956
|
# One of the available step types.
|
2165
2957
|
#
|
2166
|
-
# * *COPY*\:
|
2958
|
+
# * *COPY*\: Copy the file to another location.
|
2167
2959
|
#
|
2168
|
-
# * *CUSTOM*\: custom step with
|
2960
|
+
# * *CUSTOM*\: Perform a custom step with an Lambda function target.
|
2169
2961
|
#
|
2170
|
-
# * *DELETE*\:
|
2962
|
+
# * *DELETE*\: Delete the file.
|
2171
2963
|
#
|
2172
|
-
# * *TAG*\:
|
2964
|
+
# * *TAG*\: Add a tag to the file.
|
2173
2965
|
# @return [String]
|
2174
2966
|
#
|
2175
2967
|
# @!attribute [rw] outputs
|
@@ -2179,7 +2971,7 @@ module Aws::Transfer
|
|
2179
2971
|
#
|
2180
2972
|
# @!attribute [rw] error
|
2181
2973
|
# Specifies the details for an error, if it occurred during execution
|
2182
|
-
# of the specified
|
2974
|
+
# of the specified workflow step.
|
2183
2975
|
# @return [Types::ExecutionError]
|
2184
2976
|
#
|
2185
2977
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ExecutionStepResult AWS API Documentation
|
@@ -2196,7 +2988,7 @@ module Aws::Transfer
|
|
2196
2988
|
#
|
2197
2989
|
# @!attribute [rw] s3_file_location
|
2198
2990
|
# Specifies the S3 details for the file being used, such as bucket,
|
2199
|
-
#
|
2991
|
+
# ETag, and so forth.
|
2200
2992
|
# @return [Types::S3FileLocation]
|
2201
2993
|
#
|
2202
2994
|
# @!attribute [rw] efs_file_location
|
@@ -2269,8 +3061,8 @@ module Aws::Transfer
|
|
2269
3061
|
# @return [String]
|
2270
3062
|
#
|
2271
3063
|
# @!attribute [rw] directory_id
|
2272
|
-
# The identifier of the
|
2273
|
-
#
|
3064
|
+
# The identifier of the Directory Service directory that you want to
|
3065
|
+
# stop sharing.
|
2274
3066
|
# @return [String]
|
2275
3067
|
#
|
2276
3068
|
# @!attribute [rw] function
|
@@ -2288,6 +3080,90 @@ module Aws::Transfer
|
|
2288
3080
|
include Aws::Structure
|
2289
3081
|
end
|
2290
3082
|
|
3083
|
+
# @note When making an API call, you may pass ImportCertificateRequest
|
3084
|
+
# data as a hash:
|
3085
|
+
#
|
3086
|
+
# {
|
3087
|
+
# usage: "SIGNING", # required, accepts SIGNING, ENCRYPTION
|
3088
|
+
# certificate: "CertificateBodyType", # required
|
3089
|
+
# certificate_chain: "CertificateChainType",
|
3090
|
+
# private_key: "PrivateKeyType",
|
3091
|
+
# active_date: Time.now,
|
3092
|
+
# inactive_date: Time.now,
|
3093
|
+
# description: "Description",
|
3094
|
+
# tags: [
|
3095
|
+
# {
|
3096
|
+
# key: "TagKey", # required
|
3097
|
+
# value: "TagValue", # required
|
3098
|
+
# },
|
3099
|
+
# ],
|
3100
|
+
# }
|
3101
|
+
#
|
3102
|
+
# @!attribute [rw] usage
|
3103
|
+
# Specifies whether this certificate is used for signing or
|
3104
|
+
# encryption.
|
3105
|
+
# @return [String]
|
3106
|
+
#
|
3107
|
+
# @!attribute [rw] certificate
|
3108
|
+
# The file that contains the certificate to import.
|
3109
|
+
# @return [String]
|
3110
|
+
#
|
3111
|
+
# @!attribute [rw] certificate_chain
|
3112
|
+
# An optional list of certificates that make up the chain for the
|
3113
|
+
# certificate that's being imported.
|
3114
|
+
# @return [String]
|
3115
|
+
#
|
3116
|
+
# @!attribute [rw] private_key
|
3117
|
+
# The file that contains the private key for the certificate that's
|
3118
|
+
# being imported.
|
3119
|
+
# @return [String]
|
3120
|
+
#
|
3121
|
+
# @!attribute [rw] active_date
|
3122
|
+
# An optional date that specifies when the certificate becomes active.
|
3123
|
+
# @return [Time]
|
3124
|
+
#
|
3125
|
+
# @!attribute [rw] inactive_date
|
3126
|
+
# An optional date that specifies when the certificate becomes
|
3127
|
+
# inactive.
|
3128
|
+
# @return [Time]
|
3129
|
+
#
|
3130
|
+
# @!attribute [rw] description
|
3131
|
+
# A short description that helps identify the certificate.
|
3132
|
+
# @return [String]
|
3133
|
+
#
|
3134
|
+
# @!attribute [rw] tags
|
3135
|
+
# Key-value pairs that can be used to group and search for
|
3136
|
+
# certificates.
|
3137
|
+
# @return [Array<Types::Tag>]
|
3138
|
+
#
|
3139
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ImportCertificateRequest AWS API Documentation
|
3140
|
+
#
|
3141
|
+
class ImportCertificateRequest < Struct.new(
|
3142
|
+
:usage,
|
3143
|
+
:certificate,
|
3144
|
+
:certificate_chain,
|
3145
|
+
:private_key,
|
3146
|
+
:active_date,
|
3147
|
+
:inactive_date,
|
3148
|
+
:description,
|
3149
|
+
:tags)
|
3150
|
+
SENSITIVE = [:certificate, :certificate_chain, :private_key]
|
3151
|
+
include Aws::Structure
|
3152
|
+
end
|
3153
|
+
|
3154
|
+
# @!attribute [rw] certificate_id
|
3155
|
+
# An array of identifiers for the imported certificates. You use this
|
3156
|
+
# identifier for working with profiles and partner profiles.
|
3157
|
+
# @return [String]
|
3158
|
+
#
|
3159
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ImportCertificateResponse AWS API Documentation
|
3160
|
+
#
|
3161
|
+
class ImportCertificateResponse < Struct.new(
|
3162
|
+
:certificate_id)
|
3163
|
+
SENSITIVE = []
|
3164
|
+
include Aws::Structure
|
3165
|
+
end
|
3166
|
+
|
2291
3167
|
# @note When making an API call, you may pass ImportSshPublicKeyRequest
|
2292
3168
|
# data as a hash:
|
2293
3169
|
#
|
@@ -2484,6 +3360,154 @@ module Aws::Transfer
|
|
2484
3360
|
include Aws::Structure
|
2485
3361
|
end
|
2486
3362
|
|
3363
|
+
# @note When making an API call, you may pass ListAgreementsRequest
|
3364
|
+
# data as a hash:
|
3365
|
+
#
|
3366
|
+
# {
|
3367
|
+
# max_results: 1,
|
3368
|
+
# next_token: "NextToken",
|
3369
|
+
# server_id: "ServerId", # required
|
3370
|
+
# }
|
3371
|
+
#
|
3372
|
+
# @!attribute [rw] max_results
|
3373
|
+
# The maximum number of agreements to return.
|
3374
|
+
# @return [Integer]
|
3375
|
+
#
|
3376
|
+
# @!attribute [rw] next_token
|
3377
|
+
# When you can get additional results from the `ListAgreements` call,
|
3378
|
+
# a `NextToken` parameter is returned in the output. You can then pass
|
3379
|
+
# in a subsequent command to the `NextToken` parameter to continue
|
3380
|
+
# listing additional agreements.
|
3381
|
+
# @return [String]
|
3382
|
+
#
|
3383
|
+
# @!attribute [rw] server_id
|
3384
|
+
# The identifier of the server for which you want a list of
|
3385
|
+
# agreements.
|
3386
|
+
# @return [String]
|
3387
|
+
#
|
3388
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListAgreementsRequest AWS API Documentation
|
3389
|
+
#
|
3390
|
+
class ListAgreementsRequest < Struct.new(
|
3391
|
+
:max_results,
|
3392
|
+
:next_token,
|
3393
|
+
:server_id)
|
3394
|
+
SENSITIVE = []
|
3395
|
+
include Aws::Structure
|
3396
|
+
end
|
3397
|
+
|
3398
|
+
# @!attribute [rw] next_token
|
3399
|
+
# Returns a token that you can use to call `ListAgreements` again and
|
3400
|
+
# receive additional results, if there are any.
|
3401
|
+
# @return [String]
|
3402
|
+
#
|
3403
|
+
# @!attribute [rw] agreements
|
3404
|
+
# Returns an array, where each item contains the details of an
|
3405
|
+
# agreement.
|
3406
|
+
# @return [Array<Types::ListedAgreement>]
|
3407
|
+
#
|
3408
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListAgreementsResponse AWS API Documentation
|
3409
|
+
#
|
3410
|
+
class ListAgreementsResponse < Struct.new(
|
3411
|
+
:next_token,
|
3412
|
+
:agreements)
|
3413
|
+
SENSITIVE = []
|
3414
|
+
include Aws::Structure
|
3415
|
+
end
|
3416
|
+
|
3417
|
+
# @note When making an API call, you may pass ListCertificatesRequest
|
3418
|
+
# data as a hash:
|
3419
|
+
#
|
3420
|
+
# {
|
3421
|
+
# max_results: 1,
|
3422
|
+
# next_token: "NextToken",
|
3423
|
+
# }
|
3424
|
+
#
|
3425
|
+
# @!attribute [rw] max_results
|
3426
|
+
# The maximum number of certificates to return.
|
3427
|
+
# @return [Integer]
|
3428
|
+
#
|
3429
|
+
# @!attribute [rw] next_token
|
3430
|
+
# When you can get additional results from the `ListCertificates`
|
3431
|
+
# call, a `NextToken` parameter is returned in the output. You can
|
3432
|
+
# then pass in a subsequent command to the `NextToken` parameter to
|
3433
|
+
# continue listing additional certificates.
|
3434
|
+
# @return [String]
|
3435
|
+
#
|
3436
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListCertificatesRequest AWS API Documentation
|
3437
|
+
#
|
3438
|
+
class ListCertificatesRequest < Struct.new(
|
3439
|
+
:max_results,
|
3440
|
+
:next_token)
|
3441
|
+
SENSITIVE = []
|
3442
|
+
include Aws::Structure
|
3443
|
+
end
|
3444
|
+
|
3445
|
+
# @!attribute [rw] next_token
|
3446
|
+
# Returns the next token, which you can use to list the next
|
3447
|
+
# certificate.
|
3448
|
+
# @return [String]
|
3449
|
+
#
|
3450
|
+
# @!attribute [rw] certificates
|
3451
|
+
# Returns an array of the certificates that are specified in the
|
3452
|
+
# `ListCertificates` call.
|
3453
|
+
# @return [Array<Types::ListedCertificate>]
|
3454
|
+
#
|
3455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListCertificatesResponse AWS API Documentation
|
3456
|
+
#
|
3457
|
+
class ListCertificatesResponse < Struct.new(
|
3458
|
+
:next_token,
|
3459
|
+
:certificates)
|
3460
|
+
SENSITIVE = []
|
3461
|
+
include Aws::Structure
|
3462
|
+
end
|
3463
|
+
|
3464
|
+
# @note When making an API call, you may pass ListConnectorsRequest
|
3465
|
+
# data as a hash:
|
3466
|
+
#
|
3467
|
+
# {
|
3468
|
+
# max_results: 1,
|
3469
|
+
# next_token: "NextToken",
|
3470
|
+
# }
|
3471
|
+
#
|
3472
|
+
# @!attribute [rw] max_results
|
3473
|
+
# The maximum number of connectors to return.
|
3474
|
+
# @return [Integer]
|
3475
|
+
#
|
3476
|
+
# @!attribute [rw] next_token
|
3477
|
+
# When you can get additional results from the `ListConnectors` call,
|
3478
|
+
# a `NextToken` parameter is returned in the output. You can then pass
|
3479
|
+
# in a subsequent command to the `NextToken` parameter to continue
|
3480
|
+
# listing additional connectors.
|
3481
|
+
# @return [String]
|
3482
|
+
#
|
3483
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListConnectorsRequest AWS API Documentation
|
3484
|
+
#
|
3485
|
+
class ListConnectorsRequest < Struct.new(
|
3486
|
+
:max_results,
|
3487
|
+
:next_token)
|
3488
|
+
SENSITIVE = []
|
3489
|
+
include Aws::Structure
|
3490
|
+
end
|
3491
|
+
|
3492
|
+
# @!attribute [rw] next_token
|
3493
|
+
# Returns a token that you can use to call `ListConnectors` again and
|
3494
|
+
# receive additional results, if there are any.
|
3495
|
+
# @return [String]
|
3496
|
+
#
|
3497
|
+
# @!attribute [rw] connectors
|
3498
|
+
# Returns an array, where each item contains the details of a
|
3499
|
+
# connector.
|
3500
|
+
# @return [Array<Types::ListedConnector>]
|
3501
|
+
#
|
3502
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListConnectorsResponse AWS API Documentation
|
3503
|
+
#
|
3504
|
+
class ListConnectorsResponse < Struct.new(
|
3505
|
+
:next_token,
|
3506
|
+
:connectors)
|
3507
|
+
SENSITIVE = []
|
3508
|
+
include Aws::Structure
|
3509
|
+
end
|
3510
|
+
|
2487
3511
|
# @note When making an API call, you may pass ListExecutionsRequest
|
2488
3512
|
# data as a hash:
|
2489
3513
|
#
|
@@ -2494,7 +3518,7 @@ module Aws::Transfer
|
|
2494
3518
|
# }
|
2495
3519
|
#
|
2496
3520
|
# @!attribute [rw] max_results
|
2497
|
-
# Specifies the
|
3521
|
+
# Specifies the maximum number of executions to return.
|
2498
3522
|
# @return [Integer]
|
2499
3523
|
#
|
2500
3524
|
# @!attribute [rw] next_token
|
@@ -2504,13 +3528,13 @@ module Aws::Transfer
|
|
2504
3528
|
#
|
2505
3529
|
# This is useful for pagination, for instance. If you have 100
|
2506
3530
|
# executions for a workflow, you might only want to list first 10. If
|
2507
|
-
# so,
|
3531
|
+
# so, call the API by specifying the `max-results`\:
|
2508
3532
|
#
|
2509
3533
|
# `aws transfer list-executions --max-results 10`
|
2510
3534
|
#
|
2511
3535
|
# This returns details for the first 10 executions, as well as the
|
2512
3536
|
# pointer (`NextToken`) to the eleventh execution. You can now call
|
2513
|
-
# the API again,
|
3537
|
+
# the API again, supplying the `NextToken` value you received:
|
2514
3538
|
#
|
2515
3539
|
# `aws transfer list-executions --max-results 10 --next-token
|
2516
3540
|
# $somePointerReturnedFromPreviousListResult`
|
@@ -2547,25 +3571,78 @@ module Aws::Transfer
|
|
2547
3571
|
# @!attribute [rw] executions
|
2548
3572
|
# Returns the details for each execution.
|
2549
3573
|
#
|
2550
|
-
# * **NextToken**\: returned from a call to several APIs, you can use
|
2551
|
-
# pass it to a subsequent command to continue listing additional
|
2552
|
-
# executions.
|
3574
|
+
# * **NextToken**\: returned from a call to several APIs, you can use
|
3575
|
+
# pass it to a subsequent command to continue listing additional
|
3576
|
+
# executions.
|
3577
|
+
#
|
3578
|
+
# * **StartTime**\: timestamp indicating when the execution began.
|
3579
|
+
#
|
3580
|
+
# * **Executions**\: details of the execution, including the execution
|
3581
|
+
# ID, initial file location, and Service metadata.
|
3582
|
+
#
|
3583
|
+
# * **Status**\: one of the following values: `IN_PROGRESS`,
|
3584
|
+
# `COMPLETED`, `EXCEPTION`, `HANDLING_EXEPTION`.
|
3585
|
+
# @return [Array<Types::ListedExecution>]
|
3586
|
+
#
|
3587
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListExecutionsResponse AWS API Documentation
|
3588
|
+
#
|
3589
|
+
class ListExecutionsResponse < Struct.new(
|
3590
|
+
:next_token,
|
3591
|
+
:workflow_id,
|
3592
|
+
:executions)
|
3593
|
+
SENSITIVE = []
|
3594
|
+
include Aws::Structure
|
3595
|
+
end
|
3596
|
+
|
3597
|
+
# @note When making an API call, you may pass ListProfilesRequest
|
3598
|
+
# data as a hash:
|
3599
|
+
#
|
3600
|
+
# {
|
3601
|
+
# max_results: 1,
|
3602
|
+
# next_token: "NextToken",
|
3603
|
+
# profile_type: "LOCAL", # accepts LOCAL, PARTNER
|
3604
|
+
# }
|
3605
|
+
#
|
3606
|
+
# @!attribute [rw] max_results
|
3607
|
+
# The maximum number of profiles to return.
|
3608
|
+
# @return [Integer]
|
3609
|
+
#
|
3610
|
+
# @!attribute [rw] next_token
|
3611
|
+
# When there are additional results that were not returned, a
|
3612
|
+
# `NextToken` parameter is returned. You can use that value for a
|
3613
|
+
# subsequent call to `ListProfiles` to continue listing results.
|
3614
|
+
# @return [String]
|
3615
|
+
#
|
3616
|
+
# @!attribute [rw] profile_type
|
3617
|
+
# Indicates whether to list only `LOCAL` type profiles or only
|
3618
|
+
# `PARTNER` type profiles. If not supplied in the request, the command
|
3619
|
+
# lists all types of profiles.
|
3620
|
+
# @return [String]
|
2553
3621
|
#
|
2554
|
-
#
|
3622
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListProfilesRequest AWS API Documentation
|
2555
3623
|
#
|
2556
|
-
|
2557
|
-
|
3624
|
+
class ListProfilesRequest < Struct.new(
|
3625
|
+
:max_results,
|
3626
|
+
:next_token,
|
3627
|
+
:profile_type)
|
3628
|
+
SENSITIVE = []
|
3629
|
+
include Aws::Structure
|
3630
|
+
end
|
3631
|
+
|
3632
|
+
# @!attribute [rw] next_token
|
3633
|
+
# Returns a token that you can use to call `ListProfiles` again and
|
3634
|
+
# receive additional results, if there are any.
|
3635
|
+
# @return [String]
|
2558
3636
|
#
|
2559
|
-
#
|
2560
|
-
#
|
2561
|
-
# @return [Array<Types::
|
3637
|
+
# @!attribute [rw] profiles
|
3638
|
+
# Returns an array, where each item contains the details of a profile.
|
3639
|
+
# @return [Array<Types::ListedProfile>]
|
2562
3640
|
#
|
2563
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/
|
3641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListProfilesResponse AWS API Documentation
|
2564
3642
|
#
|
2565
|
-
class
|
3643
|
+
class ListProfilesResponse < Struct.new(
|
2566
3644
|
:next_token,
|
2567
|
-
:
|
2568
|
-
:executions)
|
3645
|
+
:profiles)
|
2569
3646
|
SENSITIVE = []
|
2570
3647
|
include Aws::Structure
|
2571
3648
|
end
|
@@ -2852,33 +3929,33 @@ module Aws::Transfer
|
|
2852
3929
|
# @return [String]
|
2853
3930
|
#
|
2854
3931
|
# @!attribute [rw] home_directory_type
|
2855
|
-
# The type of landing directory (folder) you want your users'
|
2856
|
-
# directory to be when they log
|
2857
|
-
# `PATH`, the user will see the absolute Amazon S3 bucket or EFS
|
2858
|
-
# as is in their file transfer protocol clients. If you set it
|
3932
|
+
# The type of landing directory (folder) that you want your users'
|
3933
|
+
# home directory to be when they log in to the server. If you set it
|
3934
|
+
# to `PATH`, the user will see the absolute Amazon S3 bucket or EFS
|
3935
|
+
# paths as is in their file transfer protocol clients. If you set it
|
2859
3936
|
# `LOGICAL`, you need to provide mappings in the
|
2860
|
-
# `HomeDirectoryMappings` for how you want to make Amazon S3 or
|
2861
|
-
# paths visible to your users.
|
3937
|
+
# `HomeDirectoryMappings` for how you want to make Amazon S3 or Amazon
|
3938
|
+
# EFS paths visible to your users.
|
2862
3939
|
# @return [String]
|
2863
3940
|
#
|
2864
3941
|
# @!attribute [rw] role
|
2865
|
-
#
|
2866
|
-
# controls your users' access to your Amazon S3
|
2867
|
-
# system. The policies attached to this role
|
2868
|
-
# access that you want to provide your users
|
2869
|
-
# into and out of your Amazon S3 bucket or
|
2870
|
-
# role should also contain a trust
|
2871
|
-
# to access your resources when
|
2872
|
-
# requests.
|
3942
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
3943
|
+
# (IAM) role that controls your users' access to your Amazon S3
|
3944
|
+
# bucket or Amazon EFS file system. The policies attached to this role
|
3945
|
+
# determine the level of access that you want to provide your users
|
3946
|
+
# when transferring files into and out of your Amazon S3 bucket or
|
3947
|
+
# Amazon EFS file system. The IAM role should also contain a trust
|
3948
|
+
# relationship that allows the server to access your resources when
|
3949
|
+
# servicing your users' transfer requests.
|
2873
3950
|
# @return [String]
|
2874
3951
|
#
|
2875
3952
|
# @!attribute [rw] external_id
|
2876
3953
|
# A unique identifier that is required to identify specific groups
|
2877
3954
|
# within your directory. The users of the group that you associate
|
2878
3955
|
# have access to your Amazon S3 or Amazon EFS resources over the
|
2879
|
-
# enabled protocols using
|
2880
|
-
#
|
2881
|
-
#
|
3956
|
+
# enabled protocols using Transfer Family. If you know the group name,
|
3957
|
+
# you can view the SID values by running the following command using
|
3958
|
+
# Windows PowerShell.
|
2882
3959
|
#
|
2883
3960
|
# `Get-ADGroup -Filter \{samAccountName -like "YourGroupName*"\}
|
2884
3961
|
# -Properties * | Select SamAccountName,ObjectSid`
|
@@ -2886,10 +3963,10 @@ module Aws::Transfer
|
|
2886
3963
|
# In that command, replace *YourGroupName* with the name of your
|
2887
3964
|
# Active Directory group.
|
2888
3965
|
#
|
2889
|
-
# The
|
2890
|
-
# consisting of uppercase and lowercase alphanumeric
|
2891
|
-
# no spaces. You can also include underscores or any
|
2892
|
-
# characters: =,.@:/-
|
3966
|
+
# The regular expression used to validate this parameter is a string
|
3967
|
+
# of characters consisting of uppercase and lowercase alphanumeric
|
3968
|
+
# characters with no spaces. You can also include underscores or any
|
3969
|
+
# of the following characters: =,.@:/-
|
2893
3970
|
# @return [String]
|
2894
3971
|
#
|
2895
3972
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListedAccess AWS API Documentation
|
@@ -2903,6 +3980,134 @@ module Aws::Transfer
|
|
2903
3980
|
include Aws::Structure
|
2904
3981
|
end
|
2905
3982
|
|
3983
|
+
# Describes the properties of an agreement.
|
3984
|
+
#
|
3985
|
+
# @!attribute [rw] arn
|
3986
|
+
# The Amazon Resource Name (ARN) of the specified agreement.
|
3987
|
+
# @return [String]
|
3988
|
+
#
|
3989
|
+
# @!attribute [rw] agreement_id
|
3990
|
+
# A unique identifier for the agreement. This identifier is returned
|
3991
|
+
# when you create an agreement.
|
3992
|
+
# @return [String]
|
3993
|
+
#
|
3994
|
+
# @!attribute [rw] description
|
3995
|
+
# The current description for the agreement. You can change it by
|
3996
|
+
# calling the `UpdateAgreement` operation and providing a new
|
3997
|
+
# description.
|
3998
|
+
# @return [String]
|
3999
|
+
#
|
4000
|
+
# @!attribute [rw] status
|
4001
|
+
# The agreement can be either `ACTIVE` or `INACTIVE`.
|
4002
|
+
# @return [String]
|
4003
|
+
#
|
4004
|
+
# @!attribute [rw] server_id
|
4005
|
+
# The unique identifier for the agreement.
|
4006
|
+
# @return [String]
|
4007
|
+
#
|
4008
|
+
# @!attribute [rw] local_profile_id
|
4009
|
+
# A unique identifier for the AS2 process.
|
4010
|
+
# @return [String]
|
4011
|
+
#
|
4012
|
+
# @!attribute [rw] partner_profile_id
|
4013
|
+
# A unique identifier for the partner process.
|
4014
|
+
# @return [String]
|
4015
|
+
#
|
4016
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListedAgreement AWS API Documentation
|
4017
|
+
#
|
4018
|
+
class ListedAgreement < Struct.new(
|
4019
|
+
:arn,
|
4020
|
+
:agreement_id,
|
4021
|
+
:description,
|
4022
|
+
:status,
|
4023
|
+
:server_id,
|
4024
|
+
:local_profile_id,
|
4025
|
+
:partner_profile_id)
|
4026
|
+
SENSITIVE = []
|
4027
|
+
include Aws::Structure
|
4028
|
+
end
|
4029
|
+
|
4030
|
+
# Describes the properties of a certificate.
|
4031
|
+
#
|
4032
|
+
# @!attribute [rw] arn
|
4033
|
+
# The Amazon Resource Name (ARN) of the specified certificate.
|
4034
|
+
# @return [String]
|
4035
|
+
#
|
4036
|
+
# @!attribute [rw] certificate_id
|
4037
|
+
# An array of identifiers for the imported certificates. You use this
|
4038
|
+
# identifier for working with profiles and partner profiles.
|
4039
|
+
# @return [String]
|
4040
|
+
#
|
4041
|
+
# @!attribute [rw] usage
|
4042
|
+
# Specifies whether this certificate is used for signing or
|
4043
|
+
# encryption.
|
4044
|
+
# @return [String]
|
4045
|
+
#
|
4046
|
+
# @!attribute [rw] status
|
4047
|
+
# The certificate can be either `ACTIVE`, `PENDING_ROTATION`, or
|
4048
|
+
# `INACTIVE`. `PENDING_ROTATION` means that this certificate will
|
4049
|
+
# replace the current certificate when it expires.
|
4050
|
+
# @return [String]
|
4051
|
+
#
|
4052
|
+
# @!attribute [rw] active_date
|
4053
|
+
# An optional date that specifies when the certificate becomes active.
|
4054
|
+
# @return [Time]
|
4055
|
+
#
|
4056
|
+
# @!attribute [rw] inactive_date
|
4057
|
+
# An optional date that specifies when the certificate becomes
|
4058
|
+
# inactive.
|
4059
|
+
# @return [Time]
|
4060
|
+
#
|
4061
|
+
# @!attribute [rw] type
|
4062
|
+
# The type for the certificate. If a private key has been specified
|
4063
|
+
# for the certificate, its type is `CERTIFICATE_WITH_PRIVATE_KEY`. If
|
4064
|
+
# there is no private key, the type is `CERTIFICATE`.
|
4065
|
+
# @return [String]
|
4066
|
+
#
|
4067
|
+
# @!attribute [rw] description
|
4068
|
+
# The name or short description that's used to identify the
|
4069
|
+
# certificate.
|
4070
|
+
# @return [String]
|
4071
|
+
#
|
4072
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListedCertificate AWS API Documentation
|
4073
|
+
#
|
4074
|
+
class ListedCertificate < Struct.new(
|
4075
|
+
:arn,
|
4076
|
+
:certificate_id,
|
4077
|
+
:usage,
|
4078
|
+
:status,
|
4079
|
+
:active_date,
|
4080
|
+
:inactive_date,
|
4081
|
+
:type,
|
4082
|
+
:description)
|
4083
|
+
SENSITIVE = []
|
4084
|
+
include Aws::Structure
|
4085
|
+
end
|
4086
|
+
|
4087
|
+
# Returns details of the connector that is specified.
|
4088
|
+
#
|
4089
|
+
# @!attribute [rw] arn
|
4090
|
+
# The Amazon Resource Name (ARN) of the specified connector.
|
4091
|
+
# @return [String]
|
4092
|
+
#
|
4093
|
+
# @!attribute [rw] connector_id
|
4094
|
+
# The unique identifier for the connector.
|
4095
|
+
# @return [String]
|
4096
|
+
#
|
4097
|
+
# @!attribute [rw] url
|
4098
|
+
# The URL of the partner's AS2 endpoint.
|
4099
|
+
# @return [String]
|
4100
|
+
#
|
4101
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListedConnector AWS API Documentation
|
4102
|
+
#
|
4103
|
+
class ListedConnector < Struct.new(
|
4104
|
+
:arn,
|
4105
|
+
:connector_id,
|
4106
|
+
:url)
|
4107
|
+
SENSITIVE = []
|
4108
|
+
include Aws::Structure
|
4109
|
+
end
|
4110
|
+
|
2906
4111
|
# Returns properties of the execution that is specified.
|
2907
4112
|
#
|
2908
4113
|
# @!attribute [rw] execution_id
|
@@ -2917,8 +4122,8 @@ module Aws::Transfer
|
|
2917
4122
|
# @return [Types::FileLocation]
|
2918
4123
|
#
|
2919
4124
|
# @!attribute [rw] service_metadata
|
2920
|
-
# A container object for the session details associated with
|
2921
|
-
# workflow.
|
4125
|
+
# A container object for the session details that are associated with
|
4126
|
+
# a workflow.
|
2922
4127
|
# @return [Types::ServiceMetadata]
|
2923
4128
|
#
|
2924
4129
|
# @!attribute [rw] status
|
@@ -2937,6 +4142,37 @@ module Aws::Transfer
|
|
2937
4142
|
include Aws::Structure
|
2938
4143
|
end
|
2939
4144
|
|
4145
|
+
# Returns the properties of the profile that was specified.
|
4146
|
+
#
|
4147
|
+
# @!attribute [rw] arn
|
4148
|
+
# The Amazon Resource Name (ARN) of the specified profile.
|
4149
|
+
# @return [String]
|
4150
|
+
#
|
4151
|
+
# @!attribute [rw] profile_id
|
4152
|
+
# A unique identifier for the local or partner AS2 profile.
|
4153
|
+
# @return [String]
|
4154
|
+
#
|
4155
|
+
# @!attribute [rw] as_2_id
|
4156
|
+
# The unique identifier for the AS2 process.
|
4157
|
+
# @return [String]
|
4158
|
+
#
|
4159
|
+
# @!attribute [rw] profile_type
|
4160
|
+
# Indicates whether to list only `LOCAL` type profiles or only
|
4161
|
+
# `PARTNER` type profiles. If not supplied in the request, the command
|
4162
|
+
# lists all types of profiles.
|
4163
|
+
# @return [String]
|
4164
|
+
#
|
4165
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListedProfile AWS API Documentation
|
4166
|
+
#
|
4167
|
+
class ListedProfile < Struct.new(
|
4168
|
+
:arn,
|
4169
|
+
:profile_id,
|
4170
|
+
:as_2_id,
|
4171
|
+
:profile_type)
|
4172
|
+
SENSITIVE = []
|
4173
|
+
include Aws::Structure
|
4174
|
+
end
|
4175
|
+
|
2940
4176
|
# Returns properties of a file transfer protocol-enabled server that was
|
2941
4177
|
# specified.
|
2942
4178
|
#
|
@@ -2951,25 +4187,25 @@ module Aws::Transfer
|
|
2951
4187
|
# @return [String]
|
2952
4188
|
#
|
2953
4189
|
# @!attribute [rw] identity_provider_type
|
2954
|
-
#
|
2955
|
-
#
|
2956
|
-
# credentials within the
|
4190
|
+
# The mode of authentication for a server. The default value is
|
4191
|
+
# `SERVICE_MANAGED`, which allows you to store and access user
|
4192
|
+
# credentials within the Transfer Family service.
|
2957
4193
|
#
|
2958
4194
|
# Use `AWS_DIRECTORY_SERVICE` to provide access to Active Directory
|
2959
|
-
# groups in
|
2960
|
-
# Active Directory in your on-premises environment or in
|
2961
|
-
# Services using AD
|
2962
|
-
# provide a Directory ID using the `IdentityProviderDetails`
|
4195
|
+
# groups in Directory Service for Microsoft Active Directory or
|
4196
|
+
# Microsoft Active Directory in your on-premises environment or in
|
4197
|
+
# Amazon Web Services using AD Connector. This option also requires
|
4198
|
+
# you to provide a Directory ID by using the `IdentityProviderDetails`
|
2963
4199
|
# parameter.
|
2964
4200
|
#
|
2965
4201
|
# Use the `API_GATEWAY` value to integrate with an identity provider
|
2966
4202
|
# of your choosing. The `API_GATEWAY` setting requires you to provide
|
2967
|
-
# an API Gateway endpoint URL to call for authentication
|
2968
|
-
# `IdentityProviderDetails` parameter.
|
4203
|
+
# an Amazon API Gateway endpoint URL to call for authentication by
|
4204
|
+
# using the `IdentityProviderDetails` parameter.
|
2969
4205
|
#
|
2970
|
-
# Use the `AWS_LAMBDA` value to directly use
|
2971
|
-
# identity provider. If you choose this value, you must specify
|
2972
|
-
# ARN for the
|
4206
|
+
# Use the `AWS_LAMBDA` value to directly use an Lambda function as
|
4207
|
+
# your identity provider. If you choose this value, you must specify
|
4208
|
+
# the ARN for the Lambda function in the `Function` parameter or the
|
2973
4209
|
# `IdentityProviderDetails` data type.
|
2974
4210
|
# @return [String]
|
2975
4211
|
#
|
@@ -2980,11 +4216,10 @@ module Aws::Transfer
|
|
2980
4216
|
# @return [String]
|
2981
4217
|
#
|
2982
4218
|
# @!attribute [rw] logging_role
|
2983
|
-
#
|
2984
|
-
#
|
2985
|
-
#
|
2986
|
-
#
|
2987
|
-
# logs.
|
4219
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
4220
|
+
# (IAM) role that allows a server to turn on Amazon CloudWatch logging
|
4221
|
+
# for Amazon S3 or Amazon EFSevents. When set, you can view user
|
4222
|
+
# activity in your CloudWatch logs.
|
2988
4223
|
# @return [String]
|
2989
4224
|
#
|
2990
4225
|
# @!attribute [rw] server_id
|
@@ -2993,10 +4228,10 @@ module Aws::Transfer
|
|
2993
4228
|
# @return [String]
|
2994
4229
|
#
|
2995
4230
|
# @!attribute [rw] state
|
2996
|
-
#
|
2997
|
-
#
|
2998
|
-
#
|
2999
|
-
#
|
4231
|
+
# The condition of the server that was described. A value of `ONLINE`
|
4232
|
+
# indicates that the server can accept jobs and transfer files. A
|
4233
|
+
# `State` value of `OFFLINE` means that the server cannot perform file
|
4234
|
+
# transfer operations.
|
3000
4235
|
#
|
3001
4236
|
# The states of `STARTING` and `STOPPING` indicate that the server is
|
3002
4237
|
# in an intermediate state, either not fully able to respond, or not
|
@@ -3039,24 +4274,24 @@ module Aws::Transfer
|
|
3039
4274
|
# @return [String]
|
3040
4275
|
#
|
3041
4276
|
# @!attribute [rw] home_directory_type
|
3042
|
-
# The type of landing directory (folder) you want your users'
|
3043
|
-
# directory to be when they log
|
3044
|
-
# `PATH`, the user will see the absolute Amazon S3 bucket or EFS
|
3045
|
-
# as is in their file transfer protocol clients. If you set it
|
4277
|
+
# The type of landing directory (folder) that you want your users'
|
4278
|
+
# home directory to be when they log in to the server. If you set it
|
4279
|
+
# to `PATH`, the user will see the absolute Amazon S3 bucket or EFS
|
4280
|
+
# paths as is in their file transfer protocol clients. If you set it
|
3046
4281
|
# `LOGICAL`, you need to provide mappings in the
|
3047
|
-
# `HomeDirectoryMappings` for how you want to make Amazon S3 or
|
3048
|
-
# paths visible to your users.
|
4282
|
+
# `HomeDirectoryMappings` for how you want to make Amazon S3 or Amazon
|
4283
|
+
# EFS paths visible to your users.
|
3049
4284
|
# @return [String]
|
3050
4285
|
#
|
3051
4286
|
# @!attribute [rw] role
|
3052
|
-
#
|
3053
|
-
# controls your users' access to your Amazon S3
|
3054
|
-
# system. The policies attached to this role
|
3055
|
-
# access that you want to provide your users
|
3056
|
-
# into and out of your Amazon S3 bucket or
|
3057
|
-
# role should also contain a trust
|
3058
|
-
# to access your resources when
|
3059
|
-
# requests.
|
4287
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
4288
|
+
# (IAM) role that controls your users' access to your Amazon S3
|
4289
|
+
# bucket or Amazon EFS file system. The policies attached to this role
|
4290
|
+
# determine the level of access that you want to provide your users
|
4291
|
+
# when transferring files into and out of your Amazon S3 bucket or
|
4292
|
+
# Amazon EFS file system. The IAM role should also contain a trust
|
4293
|
+
# relationship that allows the server to access your resources when
|
4294
|
+
# servicing your users' transfer requests.
|
3060
4295
|
#
|
3061
4296
|
# <note markdown="1"> The IAM role that controls your users' access to your Amazon S3
|
3062
4297
|
# bucket for servers with `Domain=S3`, or your EFS file system for
|
@@ -3120,16 +4355,15 @@ module Aws::Transfer
|
|
3120
4355
|
# Consists of the logging role and the log group name.
|
3121
4356
|
#
|
3122
4357
|
# @!attribute [rw] logging_role
|
3123
|
-
#
|
3124
|
-
#
|
3125
|
-
#
|
3126
|
-
#
|
3127
|
-
# logs.
|
4358
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
4359
|
+
# (IAM) role that allows a server to turn on Amazon CloudWatch logging
|
4360
|
+
# for Amazon S3 or Amazon EFSevents. When set, you can view user
|
4361
|
+
# activity in your CloudWatch logs.
|
3128
4362
|
# @return [String]
|
3129
4363
|
#
|
3130
4364
|
# @!attribute [rw] log_group_name
|
3131
|
-
# The name of the CloudWatch logging group for the
|
3132
|
-
#
|
4365
|
+
# The name of the CloudWatch logging group for the Transfer Family
|
4366
|
+
# server to which this workflow belongs.
|
3133
4367
|
# @return [String]
|
3134
4368
|
#
|
3135
4369
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/LoggingConfiguration AWS API Documentation
|
@@ -3189,6 +4423,7 @@ module Aws::Transfer
|
|
3189
4423
|
# passive_ip: "PassiveIp",
|
3190
4424
|
# tls_session_resumption_mode: "DISABLED", # accepts DISABLED, ENABLED, ENFORCED
|
3191
4425
|
# set_stat_option: "DEFAULT", # accepts DEFAULT, ENABLE_NO_OP
|
4426
|
+
# as_2_transports: ["HTTP"], # accepts HTTP
|
3192
4427
|
# }
|
3193
4428
|
#
|
3194
4429
|
# @!attribute [rw] passive_ip
|
@@ -3275,12 +4510,18 @@ module Aws::Transfer
|
|
3275
4510
|
# </note>
|
3276
4511
|
# @return [String]
|
3277
4512
|
#
|
4513
|
+
# @!attribute [rw] as_2_transports
|
4514
|
+
# Indicates the transport method for the AS2 messages. Currently, only
|
4515
|
+
# HTTP is supported.
|
4516
|
+
# @return [Array<String>]
|
4517
|
+
#
|
3278
4518
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ProtocolDetails AWS API Documentation
|
3279
4519
|
#
|
3280
4520
|
class ProtocolDetails < Struct.new(
|
3281
4521
|
:passive_ip,
|
3282
4522
|
:tls_session_resumption_mode,
|
3283
|
-
:set_stat_option
|
4523
|
+
:set_stat_option,
|
4524
|
+
:as_2_transports)
|
3284
4525
|
SENSITIVE = []
|
3285
4526
|
include Aws::Structure
|
3286
4527
|
end
|
@@ -3328,16 +4569,16 @@ module Aws::Transfer
|
|
3328
4569
|
include Aws::Structure
|
3329
4570
|
end
|
3330
4571
|
|
3331
|
-
# Specifies the details for the file location for the file being
|
3332
|
-
# the workflow. Only applicable if you are using S3 storage.
|
4572
|
+
# Specifies the details for the file location for the file that's being
|
4573
|
+
# used in the workflow. Only applicable if you are using S3 storage.
|
3333
4574
|
#
|
3334
4575
|
# @!attribute [rw] bucket
|
3335
4576
|
# Specifies the S3 bucket that contains the file being used.
|
3336
4577
|
# @return [String]
|
3337
4578
|
#
|
3338
4579
|
# @!attribute [rw] key
|
3339
|
-
# The name assigned to the file when it was created in S3. You
|
3340
|
-
# object key to retrieve the object.
|
4580
|
+
# The name assigned to the file when it was created in Amazon S3. You
|
4581
|
+
# use the object key to retrieve the object.
|
3341
4582
|
# @return [String]
|
3342
4583
|
#
|
3343
4584
|
# @!attribute [rw] version_id
|
@@ -3391,8 +4632,8 @@ module Aws::Transfer
|
|
3391
4632
|
# @return [String]
|
3392
4633
|
#
|
3393
4634
|
# @!attribute [rw] key
|
3394
|
-
# The name assigned to the file when it was created in S3. You
|
3395
|
-
# object key to retrieve the object.
|
4635
|
+
# The name assigned to the file when it was created in Amazon S3. You
|
4636
|
+
# use the object key to retrieve the object.
|
3396
4637
|
# @return [String]
|
3397
4638
|
#
|
3398
4639
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/S3InputFileLocation AWS API Documentation
|
@@ -3474,7 +4715,8 @@ module Aws::Transfer
|
|
3474
4715
|
#
|
3475
4716
|
class SendWorkflowStepStateResponse < Aws::EmptyStructure; end
|
3476
4717
|
|
3477
|
-
# A container object for the session details associated with a
|
4718
|
+
# A container object for the session details that are associated with a
|
4719
|
+
# workflow.
|
3478
4720
|
#
|
3479
4721
|
# @!attribute [rw] user_details
|
3480
4722
|
# The Server ID (`ServerId`), Session ID (`SessionId`) and user
|
@@ -3537,6 +4779,45 @@ module Aws::Transfer
|
|
3537
4779
|
include Aws::Structure
|
3538
4780
|
end
|
3539
4781
|
|
4782
|
+
# @note When making an API call, you may pass StartFileTransferRequest
|
4783
|
+
# data as a hash:
|
4784
|
+
#
|
4785
|
+
# {
|
4786
|
+
# connector_id: "ConnectorId", # required
|
4787
|
+
# send_file_paths: ["FilePath"], # required
|
4788
|
+
# }
|
4789
|
+
#
|
4790
|
+
# @!attribute [rw] connector_id
|
4791
|
+
# The unique identifier for the connector.
|
4792
|
+
# @return [String]
|
4793
|
+
#
|
4794
|
+
# @!attribute [rw] send_file_paths
|
4795
|
+
# An array of strings. Each string represents the absolute path for
|
4796
|
+
# one outbound file transfer. For example, `
|
4797
|
+
# DOC-EXAMPLE-BUCKET/myfile.txt `.
|
4798
|
+
# @return [Array<String>]
|
4799
|
+
#
|
4800
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartFileTransferRequest AWS API Documentation
|
4801
|
+
#
|
4802
|
+
class StartFileTransferRequest < Struct.new(
|
4803
|
+
:connector_id,
|
4804
|
+
:send_file_paths)
|
4805
|
+
SENSITIVE = []
|
4806
|
+
include Aws::Structure
|
4807
|
+
end
|
4808
|
+
|
4809
|
+
# @!attribute [rw] transfer_id
|
4810
|
+
# Returns the unique identifier for this file transfer.
|
4811
|
+
# @return [String]
|
4812
|
+
#
|
4813
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartFileTransferResponse AWS API Documentation
|
4814
|
+
#
|
4815
|
+
class StartFileTransferResponse < Struct.new(
|
4816
|
+
:transfer_id)
|
4817
|
+
SENSITIVE = []
|
4818
|
+
include Aws::Structure
|
4819
|
+
end
|
4820
|
+
|
3540
4821
|
# @note When making an API call, you may pass StartServerRequest
|
3541
4822
|
# data as a hash:
|
3542
4823
|
#
|
@@ -3696,7 +4977,7 @@ module Aws::Transfer
|
|
3696
4977
|
#
|
3697
4978
|
# {
|
3698
4979
|
# server_id: "ServerId", # required
|
3699
|
-
# server_protocol: "SFTP", # accepts SFTP, FTP, FTPS
|
4980
|
+
# server_protocol: "SFTP", # accepts SFTP, FTP, FTPS, AS2
|
3700
4981
|
# source_ip: "SourceIp",
|
3701
4982
|
# user_name: "UserName", # required
|
3702
4983
|
# user_password: "UserPassword",
|
@@ -3848,13 +5129,13 @@ module Aws::Transfer
|
|
3848
5129
|
# @return [String]
|
3849
5130
|
#
|
3850
5131
|
# @!attribute [rw] home_directory_type
|
3851
|
-
# The type of landing directory (folder) you want your users'
|
3852
|
-
# directory to be when they log
|
3853
|
-
# `PATH`, the user will see the absolute Amazon S3 bucket or EFS
|
3854
|
-
# as is in their file transfer protocol clients. If you set it
|
5132
|
+
# The type of landing directory (folder) that you want your users'
|
5133
|
+
# home directory to be when they log in to the server. If you set it
|
5134
|
+
# to `PATH`, the user will see the absolute Amazon S3 bucket or EFS
|
5135
|
+
# paths as is in their file transfer protocol clients. If you set it
|
3855
5136
|
# `LOGICAL`, you need to provide mappings in the
|
3856
|
-
# `HomeDirectoryMappings` for how you want to make Amazon S3 or
|
3857
|
-
# paths visible to your users.
|
5137
|
+
# `HomeDirectoryMappings` for how you want to make Amazon S3 or Amazon
|
5138
|
+
# EFS paths visible to your users.
|
3858
5139
|
# @return [String]
|
3859
5140
|
#
|
3860
5141
|
# @!attribute [rw] home_directory_mappings
|
@@ -3863,10 +5144,10 @@ module Aws::Transfer
|
|
3863
5144
|
# make them visible. You must specify the `Entry` and `Target` pair,
|
3864
5145
|
# where `Entry` shows how the path is made visible and `Target` is the
|
3865
5146
|
# actual Amazon S3 or Amazon EFS path. If you only specify a target,
|
3866
|
-
# it is displayed as is. You also must ensure that your
|
3867
|
-
#
|
3868
|
-
#
|
3869
|
-
#
|
5147
|
+
# it is displayed as is. You also must ensure that your Identity and
|
5148
|
+
# Access Management (IAM) role provides access to paths in `Target`.
|
5149
|
+
# This value can be set only when `HomeDirectoryType` is set to
|
5150
|
+
# *LOGICAL*.
|
3870
5151
|
#
|
3871
5152
|
# The following is an `Entry` and `Target` pair example.
|
3872
5153
|
#
|
@@ -3884,19 +5165,19 @@ module Aws::Transfer
|
|
3884
5165
|
# @return [Array<Types::HomeDirectoryMapEntry>]
|
3885
5166
|
#
|
3886
5167
|
# @!attribute [rw] policy
|
3887
|
-
# A session policy for your user so that you can use the same
|
3888
|
-
# across multiple users. This policy
|
3889
|
-
# portions of their Amazon S3 bucket.
|
3890
|
-
# inside this policy include
|
3891
|
-
# `$\{Transfer:
|
5168
|
+
# A session policy for your user so that you can use the same Identity
|
5169
|
+
# and Access Management (IAM) role across multiple users. This policy
|
5170
|
+
# scopes down a user's access to portions of their Amazon S3 bucket.
|
5171
|
+
# Variables that you can use inside this policy include
|
5172
|
+
# `$\{Transfer:UserName\}`, `$\{Transfer:HomeDirectory\}`, and
|
5173
|
+
# `$\{Transfer:HomeBucket\}`.
|
3892
5174
|
#
|
3893
|
-
# <note markdown="1"> This
|
3894
|
-
# use session policies.
|
5175
|
+
# <note markdown="1"> This policy applies only when the domain of `ServerId` is Amazon S3.
|
5176
|
+
# Amazon EFS does not use session policies.
|
3895
5177
|
#
|
3896
|
-
# For session policies,
|
3897
|
-
#
|
3898
|
-
#
|
3899
|
-
# `Policy` argument.
|
5178
|
+
# For session policies, Transfer Family stores the policy as a JSON
|
5179
|
+
# blob, instead of the Amazon Resource Name (ARN) of the policy. You
|
5180
|
+
# save the policy as a JSON blob and pass it in the `Policy` argument.
|
3900
5181
|
#
|
3901
5182
|
# For an example of a session policy, see [Example session policy][1].
|
3902
5183
|
#
|
@@ -3921,14 +5202,14 @@ module Aws::Transfer
|
|
3921
5202
|
# @return [Types::PosixProfile]
|
3922
5203
|
#
|
3923
5204
|
# @!attribute [rw] role
|
3924
|
-
#
|
3925
|
-
# controls your users' access to your Amazon S3
|
3926
|
-
# system. The policies attached to this role
|
3927
|
-
# access that you want to provide your users
|
3928
|
-
# into and out of your Amazon S3 bucket or
|
3929
|
-
# role should also contain a trust
|
3930
|
-
# to access your resources when
|
3931
|
-
# requests.
|
5205
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
5206
|
+
# (IAM) role that controls your users' access to your Amazon S3
|
5207
|
+
# bucket or Amazon EFS file system. The policies attached to this role
|
5208
|
+
# determine the level of access that you want to provide your users
|
5209
|
+
# when transferring files into and out of your Amazon S3 bucket or
|
5210
|
+
# Amazon EFS file system. The IAM role should also contain a trust
|
5211
|
+
# relationship that allows the server to access your resources when
|
5212
|
+
# servicing your users' transfer requests.
|
3932
5213
|
# @return [String]
|
3933
5214
|
#
|
3934
5215
|
# @!attribute [rw] server_id
|
@@ -3940,9 +5221,9 @@ module Aws::Transfer
|
|
3940
5221
|
# A unique identifier that is required to identify specific groups
|
3941
5222
|
# within your directory. The users of the group that you associate
|
3942
5223
|
# have access to your Amazon S3 or Amazon EFS resources over the
|
3943
|
-
# enabled protocols using
|
3944
|
-
#
|
3945
|
-
#
|
5224
|
+
# enabled protocols using Transfer Family. If you know the group name,
|
5225
|
+
# you can view the SID values by running the following command using
|
5226
|
+
# Windows PowerShell.
|
3946
5227
|
#
|
3947
5228
|
# `Get-ADGroup -Filter \{samAccountName -like "YourGroupName*"\}
|
3948
5229
|
# -Properties * | Select SamAccountName,ObjectSid`
|
@@ -3950,10 +5231,10 @@ module Aws::Transfer
|
|
3950
5231
|
# In that command, replace *YourGroupName* with the name of your
|
3951
5232
|
# Active Directory group.
|
3952
5233
|
#
|
3953
|
-
# The
|
3954
|
-
# consisting of uppercase and lowercase alphanumeric
|
3955
|
-
# no spaces. You can also include underscores or any
|
3956
|
-
# characters: =,.@:/-
|
5234
|
+
# The regular expression used to validate this parameter is a string
|
5235
|
+
# of characters consisting of uppercase and lowercase alphanumeric
|
5236
|
+
# characters with no spaces. You can also include underscores or any
|
5237
|
+
# of the following characters: =,.@:/-
|
3957
5238
|
# @return [String]
|
3958
5239
|
#
|
3959
5240
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateAccessRequest AWS API Documentation
|
@@ -3990,6 +5271,256 @@ module Aws::Transfer
|
|
3990
5271
|
include Aws::Structure
|
3991
5272
|
end
|
3992
5273
|
|
5274
|
+
# @note When making an API call, you may pass UpdateAgreementRequest
|
5275
|
+
# data as a hash:
|
5276
|
+
#
|
5277
|
+
# {
|
5278
|
+
# agreement_id: "AgreementId", # required
|
5279
|
+
# server_id: "ServerId", # required
|
5280
|
+
# description: "Description",
|
5281
|
+
# status: "ACTIVE", # accepts ACTIVE, INACTIVE
|
5282
|
+
# local_profile_id: "ProfileId",
|
5283
|
+
# partner_profile_id: "ProfileId",
|
5284
|
+
# base_directory: "HomeDirectory",
|
5285
|
+
# access_role: "Role",
|
5286
|
+
# }
|
5287
|
+
#
|
5288
|
+
# @!attribute [rw] agreement_id
|
5289
|
+
# A unique identifier for the agreement. This identifier is returned
|
5290
|
+
# when you create an agreement.
|
5291
|
+
# @return [String]
|
5292
|
+
#
|
5293
|
+
# @!attribute [rw] server_id
|
5294
|
+
# A system-assigned unique identifier for a server instance. This is
|
5295
|
+
# the specific server that the agreement uses.
|
5296
|
+
# @return [String]
|
5297
|
+
#
|
5298
|
+
# @!attribute [rw] description
|
5299
|
+
# To replace the existing description, provide a short description for
|
5300
|
+
# the agreement.
|
5301
|
+
# @return [String]
|
5302
|
+
#
|
5303
|
+
# @!attribute [rw] status
|
5304
|
+
# You can update the status for the agreement, either activating an
|
5305
|
+
# inactive agreement or the reverse.
|
5306
|
+
# @return [String]
|
5307
|
+
#
|
5308
|
+
# @!attribute [rw] local_profile_id
|
5309
|
+
# To change the local profile identifier, provide a new value here.
|
5310
|
+
# @return [String]
|
5311
|
+
#
|
5312
|
+
# @!attribute [rw] partner_profile_id
|
5313
|
+
# To change the partner profile identifier, provide a new value here.
|
5314
|
+
# @return [String]
|
5315
|
+
#
|
5316
|
+
# @!attribute [rw] base_directory
|
5317
|
+
# To change the landing directory (folder) for files that are
|
5318
|
+
# transferred, provide the bucket folder that you want to use; for
|
5319
|
+
# example, `/DOC-EXAMPLE-BUCKET/home/mydirectory `.
|
5320
|
+
# @return [String]
|
5321
|
+
#
|
5322
|
+
# @!attribute [rw] access_role
|
5323
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
5324
|
+
# (IAM) role that grants access to at least the `HomeDirectory` of
|
5325
|
+
# your users' Amazon S3 buckets.
|
5326
|
+
# @return [String]
|
5327
|
+
#
|
5328
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateAgreementRequest AWS API Documentation
|
5329
|
+
#
|
5330
|
+
class UpdateAgreementRequest < Struct.new(
|
5331
|
+
:agreement_id,
|
5332
|
+
:server_id,
|
5333
|
+
:description,
|
5334
|
+
:status,
|
5335
|
+
:local_profile_id,
|
5336
|
+
:partner_profile_id,
|
5337
|
+
:base_directory,
|
5338
|
+
:access_role)
|
5339
|
+
SENSITIVE = []
|
5340
|
+
include Aws::Structure
|
5341
|
+
end
|
5342
|
+
|
5343
|
+
# @!attribute [rw] agreement_id
|
5344
|
+
# A unique identifier for the agreement. This identifier is returned
|
5345
|
+
# when you create an agreement.
|
5346
|
+
# @return [String]
|
5347
|
+
#
|
5348
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateAgreementResponse AWS API Documentation
|
5349
|
+
#
|
5350
|
+
class UpdateAgreementResponse < Struct.new(
|
5351
|
+
:agreement_id)
|
5352
|
+
SENSITIVE = []
|
5353
|
+
include Aws::Structure
|
5354
|
+
end
|
5355
|
+
|
5356
|
+
# @note When making an API call, you may pass UpdateCertificateRequest
|
5357
|
+
# data as a hash:
|
5358
|
+
#
|
5359
|
+
# {
|
5360
|
+
# certificate_id: "CertificateId", # required
|
5361
|
+
# active_date: Time.now,
|
5362
|
+
# inactive_date: Time.now,
|
5363
|
+
# description: "Description",
|
5364
|
+
# }
|
5365
|
+
#
|
5366
|
+
# @!attribute [rw] certificate_id
|
5367
|
+
# The identifier of the certificate object that you are updating.
|
5368
|
+
# @return [String]
|
5369
|
+
#
|
5370
|
+
# @!attribute [rw] active_date
|
5371
|
+
# An optional date that specifies when the certificate becomes active.
|
5372
|
+
# @return [Time]
|
5373
|
+
#
|
5374
|
+
# @!attribute [rw] inactive_date
|
5375
|
+
# An optional date that specifies when the certificate becomes
|
5376
|
+
# inactive.
|
5377
|
+
# @return [Time]
|
5378
|
+
#
|
5379
|
+
# @!attribute [rw] description
|
5380
|
+
# A short description to help identify the certificate.
|
5381
|
+
# @return [String]
|
5382
|
+
#
|
5383
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateCertificateRequest AWS API Documentation
|
5384
|
+
#
|
5385
|
+
class UpdateCertificateRequest < Struct.new(
|
5386
|
+
:certificate_id,
|
5387
|
+
:active_date,
|
5388
|
+
:inactive_date,
|
5389
|
+
:description)
|
5390
|
+
SENSITIVE = []
|
5391
|
+
include Aws::Structure
|
5392
|
+
end
|
5393
|
+
|
5394
|
+
# @!attribute [rw] certificate_id
|
5395
|
+
# Returns the identifier of the certificate object that you are
|
5396
|
+
# updating.
|
5397
|
+
# @return [String]
|
5398
|
+
#
|
5399
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateCertificateResponse AWS API Documentation
|
5400
|
+
#
|
5401
|
+
class UpdateCertificateResponse < Struct.new(
|
5402
|
+
:certificate_id)
|
5403
|
+
SENSITIVE = []
|
5404
|
+
include Aws::Structure
|
5405
|
+
end
|
5406
|
+
|
5407
|
+
# @note When making an API call, you may pass UpdateConnectorRequest
|
5408
|
+
# data as a hash:
|
5409
|
+
#
|
5410
|
+
# {
|
5411
|
+
# connector_id: "ConnectorId", # required
|
5412
|
+
# url: "Url",
|
5413
|
+
# as_2_config: {
|
5414
|
+
# local_profile_id: "ProfileId",
|
5415
|
+
# partner_profile_id: "ProfileId",
|
5416
|
+
# message_subject: "MessageSubject",
|
5417
|
+
# compression: "ZLIB", # accepts ZLIB, DISABLED
|
5418
|
+
# encryption_algorithm: "AES128_CBC", # accepts AES128_CBC, AES192_CBC, AES256_CBC
|
5419
|
+
# signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE
|
5420
|
+
# mdn_signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE, DEFAULT
|
5421
|
+
# mdn_response: "SYNC", # accepts SYNC, NONE
|
5422
|
+
# },
|
5423
|
+
# access_role: "Role",
|
5424
|
+
# logging_role: "Role",
|
5425
|
+
# }
|
5426
|
+
#
|
5427
|
+
# @!attribute [rw] connector_id
|
5428
|
+
# The unique identifier for the connector.
|
5429
|
+
# @return [String]
|
5430
|
+
#
|
5431
|
+
# @!attribute [rw] url
|
5432
|
+
# The URL of the partner's AS2 endpoint.
|
5433
|
+
# @return [String]
|
5434
|
+
#
|
5435
|
+
# @!attribute [rw] as_2_config
|
5436
|
+
# A structure that contains the parameters for a connector object.
|
5437
|
+
# @return [Types::As2ConnectorConfig]
|
5438
|
+
#
|
5439
|
+
# @!attribute [rw] access_role
|
5440
|
+
# With AS2, you can send files by calling `StartFileTransfer` and
|
5441
|
+
# specifying the file paths in the request parameter, `SendFilePaths`.
|
5442
|
+
# We use the file’s parent directory (for example, for
|
5443
|
+
# `--send-file-paths /bucket/dir/file.txt`, parent directory is
|
5444
|
+
# `/bucket/dir/`) to temporarily store a processed AS2 message file,
|
5445
|
+
# store the MDN when we receive them from the partner, and write a
|
5446
|
+
# final JSON file containing relevant metadata of the transmission.
|
5447
|
+
# So, the `AccessRole` needs to provide read and write access to the
|
5448
|
+
# parent directory of the file location used in the
|
5449
|
+
# `StartFileTransfer` request. Additionally, you need to provide read
|
5450
|
+
# and write access to the parent directory of the files that you
|
5451
|
+
# intend to send with `StartFileTransfer`.
|
5452
|
+
# @return [String]
|
5453
|
+
#
|
5454
|
+
# @!attribute [rw] logging_role
|
5455
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
5456
|
+
# (IAM) role that allows a connector to turn on CloudWatch logging for
|
5457
|
+
# Amazon S3 events. When set, you can view connector activity in your
|
5458
|
+
# CloudWatch logs.
|
5459
|
+
# @return [String]
|
5460
|
+
#
|
5461
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateConnectorRequest AWS API Documentation
|
5462
|
+
#
|
5463
|
+
class UpdateConnectorRequest < Struct.new(
|
5464
|
+
:connector_id,
|
5465
|
+
:url,
|
5466
|
+
:as_2_config,
|
5467
|
+
:access_role,
|
5468
|
+
:logging_role)
|
5469
|
+
SENSITIVE = []
|
5470
|
+
include Aws::Structure
|
5471
|
+
end
|
5472
|
+
|
5473
|
+
# @!attribute [rw] connector_id
|
5474
|
+
# Returns the identifier of the connector object that you are
|
5475
|
+
# updating.
|
5476
|
+
# @return [String]
|
5477
|
+
#
|
5478
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateConnectorResponse AWS API Documentation
|
5479
|
+
#
|
5480
|
+
class UpdateConnectorResponse < Struct.new(
|
5481
|
+
:connector_id)
|
5482
|
+
SENSITIVE = []
|
5483
|
+
include Aws::Structure
|
5484
|
+
end
|
5485
|
+
|
5486
|
+
# @note When making an API call, you may pass UpdateProfileRequest
|
5487
|
+
# data as a hash:
|
5488
|
+
#
|
5489
|
+
# {
|
5490
|
+
# profile_id: "ProfileId", # required
|
5491
|
+
# certificate_ids: ["CertificateId"],
|
5492
|
+
# }
|
5493
|
+
#
|
5494
|
+
# @!attribute [rw] profile_id
|
5495
|
+
# The identifier of the profile object that you are updating.
|
5496
|
+
# @return [String]
|
5497
|
+
#
|
5498
|
+
# @!attribute [rw] certificate_ids
|
5499
|
+
# An array of identifiers for the imported certificates. You use this
|
5500
|
+
# identifier for working with profiles and partner profiles.
|
5501
|
+
# @return [Array<String>]
|
5502
|
+
#
|
5503
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateProfileRequest AWS API Documentation
|
5504
|
+
#
|
5505
|
+
class UpdateProfileRequest < Struct.new(
|
5506
|
+
:profile_id,
|
5507
|
+
:certificate_ids)
|
5508
|
+
SENSITIVE = []
|
5509
|
+
include Aws::Structure
|
5510
|
+
end
|
5511
|
+
|
5512
|
+
# @!attribute [rw] profile_id
|
5513
|
+
# Returns the identifier for the profile that's being updated.
|
5514
|
+
# @return [String]
|
5515
|
+
#
|
5516
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateProfileResponse AWS API Documentation
|
5517
|
+
#
|
5518
|
+
class UpdateProfileResponse < Struct.new(
|
5519
|
+
:profile_id)
|
5520
|
+
SENSITIVE = []
|
5521
|
+
include Aws::Structure
|
5522
|
+
end
|
5523
|
+
|
3993
5524
|
# @note When making an API call, you may pass UpdateServerRequest
|
3994
5525
|
# data as a hash:
|
3995
5526
|
#
|
@@ -3999,6 +5530,7 @@ module Aws::Transfer
|
|
3999
5530
|
# passive_ip: "PassiveIp",
|
4000
5531
|
# tls_session_resumption_mode: "DISABLED", # accepts DISABLED, ENABLED, ENFORCED
|
4001
5532
|
# set_stat_option: "DEFAULT", # accepts DEFAULT, ENABLE_NO_OP
|
5533
|
+
# as_2_transports: ["HTTP"], # accepts HTTP
|
4002
5534
|
# },
|
4003
5535
|
# endpoint_details: {
|
4004
5536
|
# address_allocation_ids: ["AddressAllocationId"],
|
@@ -4018,7 +5550,7 @@ module Aws::Transfer
|
|
4018
5550
|
# logging_role: "NullableRole",
|
4019
5551
|
# post_authentication_login_banner: "PostAuthenticationLoginBanner",
|
4020
5552
|
# pre_authentication_login_banner: "PreAuthenticationLoginBanner",
|
4021
|
-
# protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
|
5553
|
+
# protocols: ["SFTP"], # accepts SFTP, FTP, FTPS, AS2
|
4022
5554
|
# security_policy_name: "SecurityPolicyName",
|
4023
5555
|
# server_id: "ServerId", # required
|
4024
5556
|
# workflow_details: {
|
@@ -4076,32 +5608,36 @@ module Aws::Transfer
|
|
4076
5608
|
# @!attribute [rw] protocol_details
|
4077
5609
|
# The protocol settings that are configured for your server.
|
4078
5610
|
#
|
4079
|
-
# *
|
4080
|
-
#
|
4081
|
-
# as the external IP address of a firewall, router, or load
|
5611
|
+
# * To indicate passive mode (for FTP and FTPS protocols), use the
|
5612
|
+
# `PassiveIp` parameter. Enter a single dotted-quad IPv4 address,
|
5613
|
+
# such as the external IP address of a firewall, router, or load
|
4082
5614
|
# balancer.
|
4083
5615
|
#
|
4084
|
-
# *
|
4085
|
-
# the
|
4086
|
-
#
|
4087
|
-
# Family server ignore the SETSTAT command
|
4088
|
-
# needing to make any changes to your SFTP client
|
4089
|
-
#
|
4090
|
-
#
|
4091
|
-
#
|
4092
|
-
#
|
4093
|
-
#
|
4094
|
-
#
|
4095
|
-
# through a unique session ID
|
5616
|
+
# * To ignore the error that is generated when the client attempts to
|
5617
|
+
# use the `SETSTAT` command on a file that you are uploading to an
|
5618
|
+
# Amazon S3 bucket, use the `SetStatOption` parameter. To have the
|
5619
|
+
# Transfer Family server ignore the `SETSTAT` command and upload
|
5620
|
+
# files without needing to make any changes to your SFTP client, set
|
5621
|
+
# the value to `ENABLE_NO_OP`. If you set the `SetStatOption`
|
5622
|
+
# parameter to `ENABLE_NO_OP`, Transfer Family generates a log entry
|
5623
|
+
# to Amazon CloudWatch Logs, so that you can determine when the
|
5624
|
+
# client is making a `SETSTAT` call.
|
5625
|
+
#
|
5626
|
+
# * To determine whether your Transfer Family server resumes recent,
|
5627
|
+
# negotiated sessions through a unique session ID, use the
|
5628
|
+
# `TlsSessionResumptionMode` parameter.
|
5629
|
+
#
|
5630
|
+
# * `As2Transports` indicates the transport method for the AS2
|
5631
|
+
# messages. Currently, only HTTP is supported.
|
4096
5632
|
# @return [Types::ProtocolDetails]
|
4097
5633
|
#
|
4098
5634
|
# @!attribute [rw] endpoint_details
|
4099
5635
|
# The virtual private cloud (VPC) endpoint settings that are
|
4100
5636
|
# configured for your server. When you host your endpoint within your
|
4101
|
-
# VPC, you can make
|
4102
|
-
# or you can attach Elastic IP addresses and make
|
4103
|
-
# clients over the internet. Your VPC's
|
4104
|
-
# automatically assigned to your endpoint.
|
5637
|
+
# VPC, you can make your endpoint accessible only to resources within
|
5638
|
+
# your VPC, or you can attach Elastic IP addresses and make your
|
5639
|
+
# endpoint accessible to clients over the internet. Your VPC's
|
5640
|
+
# default security groups are automatically assigned to your endpoint.
|
4105
5641
|
# @return [Types::EndpointDetails]
|
4106
5642
|
#
|
4107
5643
|
# @!attribute [rw] endpoint_type
|
@@ -4140,8 +5676,8 @@ module Aws::Transfer
|
|
4140
5676
|
#
|
4141
5677
|
# `ssh-keygen -t rsa -b 2048 -N "" -m PEM -f my-new-server-key`.
|
4142
5678
|
#
|
4143
|
-
# Use a minimum value of 2048 for the `-b` option
|
4144
|
-
# stronger key using 3072 or 4096.
|
5679
|
+
# Use a minimum value of 2048 for the `-b` option. You can create a
|
5680
|
+
# stronger key by using 3072 or 4096.
|
4145
5681
|
#
|
4146
5682
|
# Use the following command to generate an ECDSA 256 bit key with no
|
4147
5683
|
# passphrase:
|
@@ -4163,7 +5699,7 @@ module Aws::Transfer
|
|
4163
5699
|
# Accidentally changing a server's host key can be disruptive.
|
4164
5700
|
#
|
4165
5701
|
# For more information, see [Change the host key for your SFTP-enabled
|
4166
|
-
# server][1] in the *
|
5702
|
+
# server][1] in the *Transfer Family User Guide*.
|
4167
5703
|
#
|
4168
5704
|
#
|
4169
5705
|
#
|
@@ -4176,15 +5712,14 @@ module Aws::Transfer
|
|
4176
5712
|
# @return [Types::IdentityProviderDetails]
|
4177
5713
|
#
|
4178
5714
|
# @!attribute [rw] logging_role
|
4179
|
-
#
|
4180
|
-
#
|
4181
|
-
#
|
4182
|
-
#
|
4183
|
-
# logs.
|
5715
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
5716
|
+
# (IAM) role that allows a server to turn on Amazon CloudWatch logging
|
5717
|
+
# for Amazon S3 or Amazon EFSevents. When set, you can view user
|
5718
|
+
# activity in your CloudWatch logs.
|
4184
5719
|
# @return [String]
|
4185
5720
|
#
|
4186
5721
|
# @!attribute [rw] post_authentication_login_banner
|
4187
|
-
#
|
5722
|
+
# Specifies a string to display when users connect to a server. This
|
4188
5723
|
# string is displayed after the user authenticates.
|
4189
5724
|
#
|
4190
5725
|
# <note markdown="1"> The SFTP protocol does not support post-authentication display
|
@@ -4194,9 +5729,9 @@ module Aws::Transfer
|
|
4194
5729
|
# @return [String]
|
4195
5730
|
#
|
4196
5731
|
# @!attribute [rw] pre_authentication_login_banner
|
4197
|
-
#
|
5732
|
+
# Specifies a string to display when users connect to a server. This
|
4198
5733
|
# string is displayed before the user authenticates. For example, the
|
4199
|
-
# following banner displays details about using the system
|
5734
|
+
# following banner displays details about using the system:
|
4200
5735
|
#
|
4201
5736
|
# `This system is for the use of authorized users only. Individuals
|
4202
5737
|
# using this computer system without authority, or in excess of their
|
@@ -4247,7 +5782,7 @@ module Aws::Transfer
|
|
4247
5782
|
#
|
4248
5783
|
# @!attribute [rw] workflow_details
|
4249
5784
|
# Specifies the workflow ID for the workflow to assign and the
|
4250
|
-
# execution role used for executing the workflow.
|
5785
|
+
# execution role that's used for executing the workflow.
|
4251
5786
|
#
|
4252
5787
|
# To remove an associated workflow from a server, you can provide an
|
4253
5788
|
# empty `OnUpload` object, as in the following example.
|
@@ -4320,13 +5855,13 @@ module Aws::Transfer
|
|
4320
5855
|
# @return [String]
|
4321
5856
|
#
|
4322
5857
|
# @!attribute [rw] home_directory_type
|
4323
|
-
# The type of landing directory (folder) you want your users'
|
4324
|
-
# directory to be when they log
|
4325
|
-
# `PATH`, the user will see the absolute Amazon S3 bucket or EFS
|
4326
|
-
# as is in their file transfer protocol clients. If you set it
|
5858
|
+
# The type of landing directory (folder) that you want your users'
|
5859
|
+
# home directory to be when they log in to the server. If you set it
|
5860
|
+
# to `PATH`, the user will see the absolute Amazon S3 bucket or EFS
|
5861
|
+
# paths as is in their file transfer protocol clients. If you set it
|
4327
5862
|
# `LOGICAL`, you need to provide mappings in the
|
4328
|
-
# `HomeDirectoryMappings` for how you want to make Amazon S3 or
|
4329
|
-
# paths visible to your users.
|
5863
|
+
# `HomeDirectoryMappings` for how you want to make Amazon S3 or Amazon
|
5864
|
+
# EFS paths visible to your users.
|
4330
5865
|
# @return [String]
|
4331
5866
|
#
|
4332
5867
|
# @!attribute [rw] home_directory_mappings
|
@@ -4335,10 +5870,10 @@ module Aws::Transfer
|
|
4335
5870
|
# make them visible. You must specify the `Entry` and `Target` pair,
|
4336
5871
|
# where `Entry` shows how the path is made visible and `Target` is the
|
4337
5872
|
# actual Amazon S3 or Amazon EFS path. If you only specify a target,
|
4338
|
-
# it is displayed as is. You also must ensure that your
|
4339
|
-
#
|
4340
|
-
#
|
4341
|
-
#
|
5873
|
+
# it is displayed as is. You also must ensure that your Identity and
|
5874
|
+
# Access Management (IAM) role provides access to paths in `Target`.
|
5875
|
+
# This value can be set only when `HomeDirectoryType` is set to
|
5876
|
+
# *LOGICAL*.
|
4342
5877
|
#
|
4343
5878
|
# The following is an `Entry` and `Target` pair example.
|
4344
5879
|
#
|
@@ -4356,19 +5891,19 @@ module Aws::Transfer
|
|
4356
5891
|
# @return [Array<Types::HomeDirectoryMapEntry>]
|
4357
5892
|
#
|
4358
5893
|
# @!attribute [rw] policy
|
4359
|
-
# A session policy for your user so that you can use the same
|
4360
|
-
# across multiple users. This policy
|
4361
|
-
# portions of their Amazon S3 bucket.
|
4362
|
-
# inside this policy include
|
4363
|
-
# `$\{Transfer:
|
5894
|
+
# A session policy for your user so that you can use the same Identity
|
5895
|
+
# and Access Management (IAM) role across multiple users. This policy
|
5896
|
+
# scopes down a user's access to portions of their Amazon S3 bucket.
|
5897
|
+
# Variables that you can use inside this policy include
|
5898
|
+
# `$\{Transfer:UserName\}`, `$\{Transfer:HomeDirectory\}`, and
|
5899
|
+
# `$\{Transfer:HomeBucket\}`.
|
4364
5900
|
#
|
4365
|
-
# <note markdown="1"> This
|
4366
|
-
# use session policies.
|
5901
|
+
# <note markdown="1"> This policy applies only when the domain of `ServerId` is Amazon S3.
|
5902
|
+
# Amazon EFS does not use session policies.
|
4367
5903
|
#
|
4368
|
-
# For session policies,
|
4369
|
-
#
|
4370
|
-
#
|
4371
|
-
# `Policy` argument.
|
5904
|
+
# For session policies, Transfer Family stores the policy as a JSON
|
5905
|
+
# blob, instead of the Amazon Resource Name (ARN) of the policy. You
|
5906
|
+
# save the policy as a JSON blob and pass it in the `Policy` argument.
|
4372
5907
|
#
|
4373
5908
|
# For an example of a session policy, see [Creating a session
|
4374
5909
|
# policy][1].
|
@@ -4395,14 +5930,14 @@ module Aws::Transfer
|
|
4395
5930
|
# @return [Types::PosixProfile]
|
4396
5931
|
#
|
4397
5932
|
# @!attribute [rw] role
|
4398
|
-
#
|
4399
|
-
# controls your users' access to your Amazon S3
|
4400
|
-
# system. The policies attached to this role
|
4401
|
-
# access that you want to provide your users
|
4402
|
-
# into and out of your Amazon S3 bucket or
|
4403
|
-
# role should also contain a trust
|
4404
|
-
# to access your resources when
|
4405
|
-
# requests.
|
5933
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
5934
|
+
# (IAM) role that controls your users' access to your Amazon S3
|
5935
|
+
# bucket or Amazon EFS file system. The policies attached to this role
|
5936
|
+
# determine the level of access that you want to provide your users
|
5937
|
+
# when transferring files into and out of your Amazon S3 bucket or
|
5938
|
+
# Amazon EFS file system. The IAM role should also contain a trust
|
5939
|
+
# relationship that allows the server to access your resources when
|
5940
|
+
# servicing your users' transfer requests.
|
4406
5941
|
# @return [String]
|
4407
5942
|
#
|
4408
5943
|
# @!attribute [rw] server_id
|
@@ -4484,7 +6019,7 @@ module Aws::Transfer
|
|
4484
6019
|
end
|
4485
6020
|
|
4486
6021
|
# Specifies the workflow ID for the workflow to assign and the execution
|
4487
|
-
# role used for executing the workflow.
|
6022
|
+
# role that's used for executing the workflow.
|
4488
6023
|
#
|
4489
6024
|
# @note When making an API call, you may pass WorkflowDetail
|
4490
6025
|
# data as a hash:
|
@@ -4594,13 +6129,13 @@ module Aws::Transfer
|
|
4594
6129
|
# @!attribute [rw] type
|
4595
6130
|
# Currently, the following step types are supported.
|
4596
6131
|
#
|
4597
|
-
# * *COPY*\:
|
6132
|
+
# * *COPY*\: Copy the file to another location.
|
4598
6133
|
#
|
4599
|
-
# * *CUSTOM*\: custom step with
|
6134
|
+
# * *CUSTOM*\: Perform a custom step with an Lambda function target.
|
4600
6135
|
#
|
4601
|
-
# * *DELETE*\:
|
6136
|
+
# * *DELETE*\: Delete the file.
|
4602
6137
|
#
|
4603
|
-
# * *TAG*\:
|
6138
|
+
# * *TAG*\: Add a tag to the file.
|
4604
6139
|
# @return [String]
|
4605
6140
|
#
|
4606
6141
|
# @!attribute [rw] copy_step_details
|