aws-sdk-transfer 1.17.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-transfer.rb +4 -4
- data/lib/aws-sdk-transfer/client.rb +296 -207
- data/lib/aws-sdk-transfer/client_api.rb +21 -1
- data/lib/aws-sdk-transfer/errors.rb +16 -0
- data/lib/aws-sdk-transfer/resource.rb +1 -7
- data/lib/aws-sdk-transfer/types.rb +460 -337
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 817a17e5fcffdf0551b0c71dd1735c64abab55b680d288358132c50e14710bd4
|
4
|
+
data.tar.gz: 69647344335c5ed1146cdde5e1e805f38ceb6be887e9c75bd0f93085c51b76a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5e08fc016c7955517c0d1807edb7a55fe24b19bac9c36324a1c5a26823fbe19b46e340dbe7fc15a65d1d0ab09b5b04f0426b6d3e220dc30124af6ab87472a7b
|
7
|
+
data.tar.gz: c1e66815900dc1fba13250ac3b0197ce2fc245495df0069d97f37b9bf5c9ea6ece3f5255f902361ed3026461eef4bf143f90348a7d79ab43f6cce235b826773d
|
data/lib/aws-sdk-transfer.rb
CHANGED
@@ -15,7 +15,7 @@ require_relative 'aws-sdk-transfer/errors'
|
|
15
15
|
require_relative 'aws-sdk-transfer/resource'
|
16
16
|
require_relative 'aws-sdk-transfer/customizations'
|
17
17
|
|
18
|
-
# This module provides support for AWS Transfer
|
18
|
+
# This module provides support for AWS Transfer Family. This module is available in the
|
19
19
|
# `aws-sdk-transfer` gem.
|
20
20
|
#
|
21
21
|
# # Client
|
@@ -31,13 +31,13 @@ require_relative 'aws-sdk-transfer/customizations'
|
|
31
31
|
#
|
32
32
|
# # Errors
|
33
33
|
#
|
34
|
-
# Errors returned from AWS Transfer
|
34
|
+
# Errors returned from AWS Transfer Family are defined in the
|
35
35
|
# {Errors} module and all extend {Errors::ServiceError}.
|
36
36
|
#
|
37
37
|
# begin
|
38
38
|
# # do stuff
|
39
39
|
# rescue Aws::Transfer::Errors::ServiceError
|
40
|
-
# # rescues all AWS Transfer
|
40
|
+
# # rescues all AWS Transfer Family API errors
|
41
41
|
# end
|
42
42
|
#
|
43
43
|
# See {Errors} for more information.
|
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-transfer/customizations'
|
|
45
45
|
# @service
|
46
46
|
module Aws::Transfer
|
47
47
|
|
48
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.18.0'
|
49
49
|
|
50
50
|
end
|
@@ -279,8 +279,7 @@ module Aws::Transfer
|
|
279
279
|
#
|
280
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
281
281
|
# number of seconds to wait for response data. This value can
|
282
|
-
# safely be set
|
283
|
-
# per-request on the session yielded by {#session_for}.
|
282
|
+
# safely be set per-request on the session.
|
284
283
|
#
|
285
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
286
285
|
# seconds a connection is allowed to sit idle before it is
|
@@ -292,7 +291,7 @@ module Aws::Transfer
|
|
292
291
|
# request body. This option has no effect unless the request has
|
293
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
294
293
|
# disables this behaviour. This value can safely be set per
|
295
|
-
# request on the session
|
294
|
+
# request on the session.
|
296
295
|
#
|
297
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
298
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -319,58 +318,81 @@ module Aws::Transfer
|
|
319
318
|
|
320
319
|
# @!group API Operations
|
321
320
|
|
322
|
-
# Instantiates an autoscaling virtual server based on
|
323
|
-
#
|
324
|
-
# or when you work with users, use the
|
325
|
-
# property that is assigned to the newly
|
321
|
+
# Instantiates an autoscaling virtual server based on the selected file
|
322
|
+
# transfer protocol in AWS. When you make updates to your file transfer
|
323
|
+
# protocol-enabled server or when you work with users, use the
|
324
|
+
# service-generated `ServerId` property that is assigned to the newly
|
325
|
+
# created server.
|
326
|
+
#
|
327
|
+
# @option params [String] :certificate
|
328
|
+
# The Amazon Resource Name (ARN) of the AWS Certificate Manager (ACM)
|
329
|
+
# certificate. Required when `Protocols` is set to `FTPS`.
|
326
330
|
#
|
327
331
|
# @option params [Types::EndpointDetails] :endpoint_details
|
328
332
|
# The virtual private cloud (VPC) endpoint settings that are configured
|
329
|
-
# for your
|
330
|
-
# your
|
331
|
-
#
|
332
|
-
#
|
333
|
+
# for your file transfer protocol-enabled server. When you host your
|
334
|
+
# endpoint within your VPC, you can make it accessible only to resources
|
335
|
+
# within your VPC, or you can attach Elastic IPs and make it accessible
|
336
|
+
# to clients over the internet. Your VPC's default security groups are
|
337
|
+
# automatically assigned to your endpoint.
|
333
338
|
#
|
334
339
|
# @option params [String] :endpoint_type
|
335
|
-
# The type of VPC endpoint that you want your
|
336
|
-
#
|
337
|
-
# cloud (VPC) endpoint. With a
|
338
|
-
#
|
340
|
+
# The type of VPC endpoint that you want your file transfer
|
341
|
+
# protocol-enabled server to connect to. You can choose to connect to
|
342
|
+
# the public internet or a virtual private cloud (VPC) endpoint. With a
|
343
|
+
# VPC endpoint, you can restrict access to your server and resources
|
344
|
+
# only within your VPC.
|
339
345
|
#
|
340
346
|
# @option params [String] :host_key
|
341
347
|
# The RSA private key as generated by the `ssh-keygen -N "" -f
|
342
348
|
# my-new-server-key` command.
|
343
349
|
#
|
344
350
|
# If you aren't planning to migrate existing users from an existing
|
345
|
-
# SFTP server to a new
|
351
|
+
# SFTP-enabled server to a new server, don't update the host key.
|
346
352
|
# Accidentally changing a server's host key can be disruptive.
|
347
353
|
#
|
348
|
-
# For more information, see
|
349
|
-
#
|
350
|
-
#
|
354
|
+
# For more information, see [Changing the Host Key for Your AWS Transfer
|
355
|
+
# Family Server][1] in the *AWS Transfer Family User Guide*.
|
356
|
+
#
|
357
|
+
#
|
358
|
+
#
|
359
|
+
# [1]: https://docs.aws.amazon.com/transfer/latest/userguide/configuring-servers.html#change-host-key
|
351
360
|
#
|
352
361
|
# @option params [Types::IdentityProviderDetails] :identity_provider_details
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
# `IdentityProviderType` is set to `SERVICE_MANAGED`.
|
362
|
+
# Required when `IdentityProviderType` is set to `API_GATEWAY`. Accepts
|
363
|
+
# an array containing all of the information required to call a
|
364
|
+
# customer-supplied authentication API, including the API Gateway URL.
|
365
|
+
# Not required when `IdentityProviderType` is set to `SERVICE_MANAGED`.
|
358
366
|
#
|
359
367
|
# @option params [String] :identity_provider_type
|
360
|
-
# Specifies the mode of authentication for
|
361
|
-
# value is `SERVICE_MANAGED`, which
|
362
|
-
#
|
363
|
-
# `API_GATEWAY` value to integrate with
|
364
|
-
# choosing. The `API_GATEWAY` setting
|
365
|
-
# Gateway endpoint URL to call for
|
366
|
-
# `IdentityProviderDetails` parameter.
|
368
|
+
# Specifies the mode of authentication for a file transfer
|
369
|
+
# protocol-enabled server. The default value is `SERVICE_MANAGED`, which
|
370
|
+
# allows you to store and access user credentials within the AWS
|
371
|
+
# Transfer Family service. Use the `API_GATEWAY` value to integrate with
|
372
|
+
# an identity provider of your choosing. The `API_GATEWAY` setting
|
373
|
+
# requires you to provide an API Gateway endpoint URL to call for
|
374
|
+
# authentication using the `IdentityProviderDetails` parameter.
|
367
375
|
#
|
368
376
|
# @option params [String] :logging_role
|
369
|
-
#
|
370
|
-
#
|
377
|
+
# Allows the service to write your users' activity to your Amazon
|
378
|
+
# CloudWatch logs for monitoring and auditing purposes.
|
379
|
+
#
|
380
|
+
# @option params [Array<String>] :protocols
|
381
|
+
# Specifies the file transfer protocol or protocols over which your file
|
382
|
+
# transfer protocol client can connect to your server's endpoint. The
|
383
|
+
# available protocols are:
|
384
|
+
#
|
385
|
+
# * Secure Shell (SSH) File Transfer Protocol (SFTP): File transfer over
|
386
|
+
# SSH
|
387
|
+
#
|
388
|
+
# * File Transfer Protocol Secure (FTPS): File transfer with TLS
|
389
|
+
# encryption
|
390
|
+
#
|
391
|
+
# * File Transfer Protocol (FTP): Unencrypted file transfer
|
371
392
|
#
|
372
393
|
# @option params [Array<Types::Tag>] :tags
|
373
|
-
# Key-value pairs that can be used to group and search for
|
394
|
+
# Key-value pairs that can be used to group and search for file transfer
|
395
|
+
# protocol-enabled servers.
|
374
396
|
#
|
375
397
|
# @return [Types::CreateServerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
376
398
|
#
|
@@ -379,6 +401,7 @@ module Aws::Transfer
|
|
379
401
|
# @example Request syntax with placeholder values
|
380
402
|
#
|
381
403
|
# resp = client.create_server({
|
404
|
+
# certificate: "Certificate",
|
382
405
|
# endpoint_details: {
|
383
406
|
# address_allocation_ids: ["AddressAllocationId"],
|
384
407
|
# subnet_ids: ["SubnetId"],
|
@@ -393,6 +416,7 @@ module Aws::Transfer
|
|
393
416
|
# },
|
394
417
|
# identity_provider_type: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, API_GATEWAY
|
395
418
|
# logging_role: "Role",
|
419
|
+
# protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
|
396
420
|
# tags: [
|
397
421
|
# {
|
398
422
|
# key: "TagKey", # required
|
@@ -414,54 +438,56 @@ module Aws::Transfer
|
|
414
438
|
req.send_request(options)
|
415
439
|
end
|
416
440
|
|
417
|
-
# Creates a user and associates them with an existing
|
418
|
-
#
|
419
|
-
#
|
420
|
-
#
|
421
|
-
# the
|
422
|
-
#
|
423
|
-
#
|
424
|
-
#
|
441
|
+
# Creates a user and associates them with an existing file transfer
|
442
|
+
# protocol-enabled server. You can only create and associate users with
|
443
|
+
# servers that have the `IdentityProviderType` set to `SERVICE_MANAGED`.
|
444
|
+
# Using parameters for `CreateUser`, you can specify the user name, set
|
445
|
+
# the home directory, store the user's public key, and assign the
|
446
|
+
# user's AWS Identity and Access Management (IAM) role. You can also
|
447
|
+
# optionally add a scope-down policy, and assign metadata with tags that
|
448
|
+
# can be used to group and search for users.
|
425
449
|
#
|
426
450
|
# @option params [String] :home_directory
|
427
|
-
# The landing directory (folder) for a user when they log in to the
|
428
|
-
# server using
|
451
|
+
# The landing directory (folder) for a user when they log in to the file
|
452
|
+
# transfer protocol-enabled server using the client.
|
429
453
|
#
|
430
|
-
# An example is
|
454
|
+
# An example is `your-Amazon-S3-bucket-name>/home/username`.
|
431
455
|
#
|
432
456
|
# @option params [String] :home_directory_type
|
433
457
|
# The type of landing directory (folder) you want your users' home
|
434
|
-
# directory to be when they log into the
|
435
|
-
# `PATH`, the user will see the absolute Amazon
|
436
|
-
#
|
437
|
-
#
|
438
|
-
#
|
458
|
+
# directory to be when they log into the file transfer protocol-enabled
|
459
|
+
# server. If you set it to `PATH`, the user will see the absolute Amazon
|
460
|
+
# S3 bucket paths as is in their file transfer protocol clients. If you
|
461
|
+
# set it `LOGICAL`, you will need to provide mappings in the
|
462
|
+
# `HomeDirectoryMappings` for how you want to make Amazon S3 paths
|
463
|
+
# visible to your users.
|
439
464
|
#
|
440
465
|
# @option params [Array<Types::HomeDirectoryMapEntry>] :home_directory_mappings
|
441
|
-
# Logical directory mappings that specify what S3 paths and keys
|
442
|
-
# be visible to your user and how you want to make them visible.
|
443
|
-
# will need to specify the "`Entry`" and "`Target`" pair, where
|
466
|
+
# Logical directory mappings that specify what Amazon S3 paths and keys
|
467
|
+
# should be visible to your user and how you want to make them visible.
|
468
|
+
# You will need to specify the "`Entry`" and "`Target`" pair, where
|
444
469
|
# `Entry` shows how the path is made visible and `Target` is the actual
|
445
|
-
# S3 path. If you only specify a target, it will be displayed as
|
446
|
-
# will need to also make sure that your AWS IAM Role provides
|
447
|
-
# paths in `Target`. The following is an example.
|
470
|
+
# Amazon S3 path. If you only specify a target, it will be displayed as
|
471
|
+
# is. You will need to also make sure that your AWS IAM Role provides
|
472
|
+
# access to paths in `Target`. The following is an example.
|
448
473
|
#
|
449
474
|
# `'[ "/bucket2/documentation", \{ "Entry": "your-personal-report.pdf",
|
450
475
|
# "Target": "/bucket3/customized-reports/$\{transfer:UserName\}.pdf" \}
|
451
476
|
# ]'`
|
452
477
|
#
|
453
|
-
# In most cases, you can use this value instead of the scope
|
478
|
+
# In most cases, you can use this value instead of the scope-down policy
|
454
479
|
# to lock your user down to the designated home directory ("chroot").
|
455
480
|
# To do this, you can set `Entry` to '/' and set `Target` to the
|
456
481
|
# HomeDirectory parameter value.
|
457
482
|
#
|
458
|
-
# <note markdown="1"> If the target of a logical directory entry does not exist in
|
459
|
-
# entry will be ignored. As a workaround, you can use the
|
460
|
-
# create 0 byte objects as place holders for your directory.
|
461
|
-
# the CLI, use the s3api call instead of s3 so you can use
|
462
|
-
# put-object operation. For example, you use the following: `aws
|
463
|
-
# put-object --bucket bucketname --key path/to/folder/`. Make sure
|
464
|
-
# the end of the key name ends in a / for it to be considered a
|
483
|
+
# <note markdown="1"> If the target of a logical directory entry does not exist in Amazon
|
484
|
+
# S3, the entry will be ignored. As a workaround, you can use the Amazon
|
485
|
+
# S3 api to create 0 byte objects as place holders for your directory.
|
486
|
+
# If using the CLI, use the `s3api` call instead of `s3` so you can use
|
487
|
+
# the put-object operation. For example, you use the following: `aws
|
488
|
+
# s3api put-object --bucket bucketname --key path/to/folder/`. Make sure
|
489
|
+
# that the end of the key name ends in a '/' for it to be considered a
|
490
|
+
# folder.
|
465
491
|
#
|
466
492
|
# </note>
|
467
493
|
#
|
@@ -472,47 +498,52 @@ module Aws::Transfer
|
|
472
498
|
# policy include `$\{Transfer:UserName\}`,
|
473
499
|
# `$\{Transfer:HomeDirectory\}`, and `$\{Transfer:HomeBucket\}`.
|
474
500
|
#
|
475
|
-
# <note markdown="1"> For scope-down policies, AWS Transfer
|
501
|
+
# <note markdown="1"> For scope-down policies, AWS Transfer Family stores the policy as a
|
476
502
|
# JSON blob, instead of the Amazon Resource Name (ARN) of the policy.
|
477
503
|
# You save the policy as a JSON blob and pass it in the `Policy`
|
478
504
|
# argument.
|
479
505
|
#
|
480
|
-
# For an example of a scope-down policy, see
|
481
|
-
#
|
482
|
-
# a Scope-Down Policy.
|
506
|
+
# For an example of a scope-down policy, see [Creating a Scope-Down
|
507
|
+
# Policy][1].
|
483
508
|
#
|
484
|
-
# For more information, see
|
485
|
-
#
|
486
|
-
# in the *AWS Security Token Service API Reference*.
|
509
|
+
# For more information, see [AssumeRole][2] in the *AWS Security Token
|
510
|
+
# Service API Reference*.
|
487
511
|
#
|
488
512
|
# </note>
|
489
513
|
#
|
514
|
+
#
|
515
|
+
#
|
516
|
+
# [1]: https://docs.aws.amazon.com/transfer/latest/userguide/users.html#users-policies-scope-down
|
517
|
+
# [2]: https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
|
518
|
+
#
|
490
519
|
# @option params [required, String] :role
|
491
|
-
# The IAM role that controls your
|
520
|
+
# The IAM role that controls your users' access to your Amazon S3
|
492
521
|
# bucket. The policies attached to this role will determine the level of
|
493
522
|
# access you want to provide your users when transferring files into and
|
494
523
|
# out of your Amazon S3 bucket or buckets. The IAM role should also
|
495
|
-
# contain a trust relationship that allows the
|
496
|
-
# your resources when servicing your
|
524
|
+
# contain a trust relationship that allows the file transfer
|
525
|
+
# protocol-enabled server to access your resources when servicing your
|
526
|
+
# users' transfer requests.
|
497
527
|
#
|
498
528
|
# @option params [required, String] :server_id
|
499
|
-
# A system-assigned unique identifier for
|
500
|
-
# is the specific
|
529
|
+
# A system-assigned unique identifier for a file transfer
|
530
|
+
# protocol-enabled server instance. This is the specific server that you
|
531
|
+
# added your user to.
|
501
532
|
#
|
502
533
|
# @option params [String] :ssh_public_key_body
|
503
534
|
# The public portion of the Secure Shell (SSH) key used to authenticate
|
504
|
-
# the user to the
|
535
|
+
# the user to the file transfer protocol-enabled server.
|
505
536
|
#
|
506
537
|
# @option params [Array<Types::Tag>] :tags
|
507
538
|
# Key-value pairs that can be used to group and search for users. Tags
|
508
539
|
# are metadata attached to users for any purpose.
|
509
540
|
#
|
510
541
|
# @option params [required, String] :user_name
|
511
|
-
# A unique string that identifies a user and is associated with a
|
512
|
-
# as specified by the `ServerId`. This
|
513
|
-
# and a maximum of 32 characters long.
|
514
|
-
# characters: a-z, A-Z, 0-9, underscore, and
|
515
|
-
# can't start with a hyphen.
|
542
|
+
# A unique string that identifies a user and is associated with a file
|
543
|
+
# transfer protocol-enabled server as specified by the `ServerId`. This
|
544
|
+
# user name must be a minimum of 3 and a maximum of 32 characters long.
|
545
|
+
# The following are valid characters: a-z, A-Z, 0-9, underscore, and
|
546
|
+
# hyphen. The user name can't start with a hyphen.
|
516
547
|
#
|
517
548
|
# @return [Types::CreateUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
518
549
|
#
|
@@ -557,13 +588,13 @@ module Aws::Transfer
|
|
557
588
|
req.send_request(options)
|
558
589
|
end
|
559
590
|
|
560
|
-
# Deletes the
|
561
|
-
# specify.
|
591
|
+
# Deletes the file transfer protocol-enabled server that you specify.
|
562
592
|
#
|
563
593
|
# No response returns from this operation.
|
564
594
|
#
|
565
595
|
# @option params [required, String] :server_id
|
566
|
-
# A unique system-assigned identifier for
|
596
|
+
# A unique system-assigned identifier for a file transfer
|
597
|
+
# protocol-enabled server instance.
|
567
598
|
#
|
568
599
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
569
600
|
#
|
@@ -587,8 +618,8 @@ module Aws::Transfer
|
|
587
618
|
# No response is returned from this operation.
|
588
619
|
#
|
589
620
|
# @option params [required, String] :server_id
|
590
|
-
# A system-assigned unique identifier for a
|
591
|
-
#
|
621
|
+
# A system-assigned unique identifier for a file transfer
|
622
|
+
# protocol-enabled server instance that has the user assigned to it.
|
592
623
|
#
|
593
624
|
# @option params [required, String] :ssh_public_key_id
|
594
625
|
# A unique identifier used to reference your user's specific SSH key.
|
@@ -616,7 +647,8 @@ module Aws::Transfer
|
|
616
647
|
req.send_request(options)
|
617
648
|
end
|
618
649
|
|
619
|
-
# Deletes the user belonging to
|
650
|
+
# Deletes the user belonging to a file transfer protocol-enabled server
|
651
|
+
# you specify.
|
620
652
|
#
|
621
653
|
# No response returns from this operation.
|
622
654
|
#
|
@@ -625,12 +657,12 @@ module Aws::Transfer
|
|
625
657
|
# </note>
|
626
658
|
#
|
627
659
|
# @option params [required, String] :server_id
|
628
|
-
# A system-assigned unique identifier for
|
629
|
-
# has the user assigned to it.
|
660
|
+
# A system-assigned unique identifier for a file transfer
|
661
|
+
# protocol-enabled server instance that has the user assigned to it.
|
630
662
|
#
|
631
663
|
# @option params [required, String] :user_name
|
632
|
-
# A unique string that identifies a user that is being deleted from
|
633
|
-
# server.
|
664
|
+
# A unique string that identifies a user that is being deleted from a
|
665
|
+
# file transfer protocol-enabled server.
|
634
666
|
#
|
635
667
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
636
668
|
#
|
@@ -650,15 +682,16 @@ module Aws::Transfer
|
|
650
682
|
req.send_request(options)
|
651
683
|
end
|
652
684
|
|
653
|
-
# Describes
|
654
|
-
# parameter.
|
685
|
+
# Describes a file transfer protocol-enabled server that you specify by
|
686
|
+
# passing the `ServerId` parameter.
|
655
687
|
#
|
656
|
-
# The response contains a description of
|
688
|
+
# The response contains a description of a server's properties. When
|
657
689
|
# you set `EndpointType` to VPC, the response will contain the
|
658
690
|
# `EndpointDetails`.
|
659
691
|
#
|
660
692
|
# @option params [required, String] :server_id
|
661
|
-
# A system-assigned unique identifier for
|
693
|
+
# A system-assigned unique identifier for a file transfer
|
694
|
+
# protocol-enabled server.
|
662
695
|
#
|
663
696
|
# @return [Types::DescribeServerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
664
697
|
#
|
@@ -673,6 +706,7 @@ module Aws::Transfer
|
|
673
706
|
# @example Response structure
|
674
707
|
#
|
675
708
|
# resp.server.arn #=> String
|
709
|
+
# resp.server.certificate #=> String
|
676
710
|
# resp.server.endpoint_details.address_allocation_ids #=> Array
|
677
711
|
# resp.server.endpoint_details.address_allocation_ids[0] #=> String
|
678
712
|
# resp.server.endpoint_details.subnet_ids #=> Array
|
@@ -685,6 +719,8 @@ module Aws::Transfer
|
|
685
719
|
# resp.server.identity_provider_details.invocation_role #=> String
|
686
720
|
# resp.server.identity_provider_type #=> String, one of "SERVICE_MANAGED", "API_GATEWAY"
|
687
721
|
# resp.server.logging_role #=> String
|
722
|
+
# resp.server.protocols #=> Array
|
723
|
+
# resp.server.protocols[0] #=> String, one of "SFTP", "FTP", "FTPS"
|
688
724
|
# resp.server.server_id #=> String
|
689
725
|
# resp.server.state #=> String, one of "OFFLINE", "ONLINE", "STARTING", "STOPPING", "START_FAILED", "STOP_FAILED"
|
690
726
|
# resp.server.tags #=> Array
|
@@ -701,20 +737,21 @@ module Aws::Transfer
|
|
701
737
|
req.send_request(options)
|
702
738
|
end
|
703
739
|
|
704
|
-
# Describes the user assigned to
|
705
|
-
# `ServerId` property.
|
740
|
+
# Describes the user assigned to the specific file transfer
|
741
|
+
# protocol-enabled server, as identified by its `ServerId` property.
|
706
742
|
#
|
707
743
|
# The response from this call returns the properties of the user
|
708
744
|
# associated with the `ServerId` value that was specified.
|
709
745
|
#
|
710
746
|
# @option params [required, String] :server_id
|
711
|
-
# A system-assigned unique identifier for
|
712
|
-
# user assigned.
|
747
|
+
# A system-assigned unique identifier for a file transfer
|
748
|
+
# protocol-enabled server that has this user assigned.
|
713
749
|
#
|
714
750
|
# @option params [required, String] :user_name
|
715
|
-
# The name of the user assigned to one or more
|
716
|
-
# part of the sign-in
|
717
|
-
# service and perform file
|
751
|
+
# The name of the user assigned to one or more file transfer
|
752
|
+
# protocol-enabled servers. User names are part of the sign-in
|
753
|
+
# credentials to use the AWS Transfer Family service and perform file
|
754
|
+
# transfer tasks.
|
718
755
|
#
|
719
756
|
# @return [Types::DescribeUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
720
757
|
#
|
@@ -758,20 +795,22 @@ module Aws::Transfer
|
|
758
795
|
end
|
759
796
|
|
760
797
|
# Adds a Secure Shell (SSH) public key to a user account identified by a
|
761
|
-
# `UserName` value assigned to
|
762
|
-
# `ServerId`.
|
798
|
+
# `UserName` value assigned to the specific file transfer
|
799
|
+
# protocol-enabled server, identified by `ServerId`.
|
763
800
|
#
|
764
801
|
# The response returns the `UserName` value, the `ServerId` value, and
|
765
802
|
# the name of the `SshPublicKeyId`.
|
766
803
|
#
|
767
804
|
# @option params [required, String] :server_id
|
768
|
-
# A system-assigned unique identifier for
|
805
|
+
# A system-assigned unique identifier for a file transfer
|
806
|
+
# protocol-enabled server.
|
769
807
|
#
|
770
808
|
# @option params [required, String] :ssh_public_key_body
|
771
809
|
# The public key portion of an SSH key pair.
|
772
810
|
#
|
773
811
|
# @option params [required, String] :user_name
|
774
|
-
# The name of the user account that is assigned to one or more
|
812
|
+
# The name of the user account that is assigned to one or more file
|
813
|
+
# transfer protocol-enabled servers.
|
775
814
|
#
|
776
815
|
# @return [Types::ImportSshPublicKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
777
816
|
#
|
@@ -802,24 +841,26 @@ module Aws::Transfer
|
|
802
841
|
req.send_request(options)
|
803
842
|
end
|
804
843
|
|
805
|
-
# Lists the
|
806
|
-
#
|
844
|
+
# Lists the file transfer protocol-enabled servers that are associated
|
845
|
+
# with your AWS account.
|
807
846
|
#
|
808
847
|
# @option params [Integer] :max_results
|
809
|
-
# Specifies the number of
|
810
|
-
# `ListServers` query.
|
848
|
+
# Specifies the number of file transfer protocol-enabled servers to
|
849
|
+
# return as a response to the `ListServers` query.
|
811
850
|
#
|
812
851
|
# @option params [String] :next_token
|
813
|
-
# When additional results are obtained from the
|
852
|
+
# When additional results are obtained from the`ListServers` command, a
|
814
853
|
# `NextToken` parameter is returned in the output. You can then pass the
|
815
854
|
# `NextToken` parameter in a subsequent command to continue listing
|
816
|
-
# additional servers.
|
855
|
+
# additional file transfer protocol-enabled servers.
|
817
856
|
#
|
818
857
|
# @return [Types::ListServersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
819
858
|
#
|
820
859
|
# * {Types::ListServersResponse#next_token #next_token} => String
|
821
860
|
# * {Types::ListServersResponse#servers #servers} => Array<Types::ListedServer>
|
822
861
|
#
|
862
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
863
|
+
#
|
823
864
|
# @example Request syntax with placeholder values
|
824
865
|
#
|
825
866
|
# resp = client.list_servers({
|
@@ -872,6 +913,8 @@ module Aws::Transfer
|
|
872
913
|
# * {Types::ListTagsForResourceResponse#next_token #next_token} => String
|
873
914
|
# * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
|
874
915
|
#
|
916
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
917
|
+
#
|
875
918
|
# @example Request syntax with placeholder values
|
876
919
|
#
|
877
920
|
# resp = client.list_tags_for_resource({
|
@@ -897,8 +940,8 @@ module Aws::Transfer
|
|
897
940
|
req.send_request(options)
|
898
941
|
end
|
899
942
|
|
900
|
-
# Lists the users for
|
901
|
-
# `ServerId` parameter.
|
943
|
+
# Lists the users for a file transfer protocol-enabled server that you
|
944
|
+
# specify by passing the `ServerId` parameter.
|
902
945
|
#
|
903
946
|
# @option params [Integer] :max_results
|
904
947
|
# Specifies the number of users to return as a response to the
|
@@ -911,8 +954,8 @@ module Aws::Transfer
|
|
911
954
|
# additional users.
|
912
955
|
#
|
913
956
|
# @option params [required, String] :server_id
|
914
|
-
# A system-assigned unique identifier for a
|
915
|
-
#
|
957
|
+
# A system-assigned unique identifier for a file transfer
|
958
|
+
# protocol-enabled server that has users assigned to it.
|
916
959
|
#
|
917
960
|
# @return [Types::ListUsersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
918
961
|
#
|
@@ -920,6 +963,8 @@ module Aws::Transfer
|
|
920
963
|
# * {Types::ListUsersResponse#server_id #server_id} => String
|
921
964
|
# * {Types::ListUsersResponse#users #users} => Array<Types::ListedUser>
|
922
965
|
#
|
966
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
967
|
+
#
|
923
968
|
# @example Request syntax with placeholder values
|
924
969
|
#
|
925
970
|
# resp = client.list_users({
|
@@ -949,10 +994,10 @@ module Aws::Transfer
|
|
949
994
|
req.send_request(options)
|
950
995
|
end
|
951
996
|
|
952
|
-
# Changes the state of a
|
953
|
-
#
|
954
|
-
#
|
955
|
-
#
|
997
|
+
# Changes the state of a file transfer protocol-enabled server from
|
998
|
+
# `OFFLINE` to `ONLINE`. It has no impact on a server that is already
|
999
|
+
# `ONLINE`. An `ONLINE` server can accept and process file transfer
|
1000
|
+
# jobs.
|
956
1001
|
#
|
957
1002
|
# The state of `STARTING` indicates that the server is in an
|
958
1003
|
# intermediate state, either not fully able to respond, or not fully
|
@@ -961,7 +1006,8 @@ module Aws::Transfer
|
|
961
1006
|
# No response is returned from this call.
|
962
1007
|
#
|
963
1008
|
# @option params [required, String] :server_id
|
964
|
-
# A system-assigned unique identifier for
|
1009
|
+
# A system-assigned unique identifier for a file transfer
|
1010
|
+
# protocol-enabled server that you start.
|
965
1011
|
#
|
966
1012
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
967
1013
|
#
|
@@ -980,12 +1026,12 @@ module Aws::Transfer
|
|
980
1026
|
req.send_request(options)
|
981
1027
|
end
|
982
1028
|
|
983
|
-
# Changes the state of
|
984
|
-
# `OFFLINE` server cannot accept and process
|
985
|
-
# Information tied to your server such as server
|
986
|
-
# not affected by stopping your server.
|
987
|
-
# reduce or impact your
|
988
|
-
# billing.
|
1029
|
+
# Changes the state of a file transfer protocol-enabled server from
|
1030
|
+
# `ONLINE` to `OFFLINE`. An `OFFLINE` server cannot accept and process
|
1031
|
+
# file transfer jobs. Information tied to your server, such as server
|
1032
|
+
# and user properties, are not affected by stopping your server.
|
1033
|
+
# Stopping the server will not reduce or impact your file transfer
|
1034
|
+
# protocol endpoint billing.
|
989
1035
|
#
|
990
1036
|
# The state of `STOPPING` indicates that the server is in an
|
991
1037
|
# intermediate state, either not fully able to respond, or not fully
|
@@ -994,8 +1040,8 @@ module Aws::Transfer
|
|
994
1040
|
# No response is returned from this call.
|
995
1041
|
#
|
996
1042
|
# @option params [required, String] :server_id
|
997
|
-
# A system-assigned unique identifier for
|
998
|
-
# stopped.
|
1043
|
+
# A system-assigned unique identifier for a file transfer
|
1044
|
+
# protocol-enabled server that you stopped.
|
999
1045
|
#
|
1000
1046
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1001
1047
|
#
|
@@ -1052,23 +1098,35 @@ module Aws::Transfer
|
|
1052
1098
|
req.send_request(options)
|
1053
1099
|
end
|
1054
1100
|
|
1055
|
-
# If the `IdentityProviderType` of
|
1056
|
-
# whether your API Gateway is set up
|
1057
|
-
# that you call this operation to test
|
1058
|
-
# soon as you create your server. By doing
|
1059
|
-
# issues with the API Gateway integration to
|
1060
|
-
# successfully use the service.
|
1101
|
+
# If the `IdentityProviderType` of a file transfer protocol-enabled
|
1102
|
+
# server is `API_Gateway`, tests whether your API Gateway is set up
|
1103
|
+
# successfully. We highly recommend that you call this operation to test
|
1104
|
+
# your authentication method as soon as you create your server. By doing
|
1105
|
+
# so, you can troubleshoot issues with the API Gateway integration to
|
1106
|
+
# ensure that your users can successfully use the service.
|
1061
1107
|
#
|
1062
1108
|
# @option params [required, String] :server_id
|
1063
|
-
# A system-assigned identifier for a specific
|
1064
|
-
#
|
1109
|
+
# A system-assigned identifier for a specific file transfer
|
1110
|
+
# protocol-enabled server. That server's user authentication method is
|
1111
|
+
# tested with a user name and password.
|
1065
1112
|
#
|
1066
1113
|
# @option params [required, String] :user_name
|
1067
|
-
#
|
1114
|
+
# The name of the user account to be tested.
|
1068
1115
|
#
|
1069
1116
|
# @option params [String] :user_password
|
1070
1117
|
# The password of the user account to be tested.
|
1071
1118
|
#
|
1119
|
+
# @option params [String] :server_protocol
|
1120
|
+
# The type of file transfer protocol to be tested.
|
1121
|
+
#
|
1122
|
+
# The available protocols are:
|
1123
|
+
#
|
1124
|
+
# * Secure Shell (SSH) File Transfer Protocol (SFTP)
|
1125
|
+
#
|
1126
|
+
# * File Transfer Protocol Secure (FTPS)
|
1127
|
+
#
|
1128
|
+
# * File Transfer Protocol (FTP)
|
1129
|
+
#
|
1072
1130
|
# @return [Types::TestIdentityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1073
1131
|
#
|
1074
1132
|
# * {Types::TestIdentityProviderResponse#response #response} => String
|
@@ -1082,6 +1140,7 @@ module Aws::Transfer
|
|
1082
1140
|
# server_id: "ServerId", # required
|
1083
1141
|
# user_name: "UserName", # required
|
1084
1142
|
# user_password: "UserPassword",
|
1143
|
+
# server_protocol: "SFTP", # accepts SFTP, FTP, FTPS
|
1085
1144
|
# })
|
1086
1145
|
#
|
1087
1146
|
# @example Response structure
|
@@ -1107,9 +1166,9 @@ module Aws::Transfer
|
|
1107
1166
|
# No response is returned from this call.
|
1108
1167
|
#
|
1109
1168
|
# @option params [required, String] :arn
|
1110
|
-
#
|
1111
|
-
#
|
1112
|
-
#
|
1169
|
+
# The value of the resource that will have the tag removed. An Amazon
|
1170
|
+
# Resource Name (ARN) is an identifier for a specific AWS resource, such
|
1171
|
+
# as a server, user, or role.
|
1113
1172
|
#
|
1114
1173
|
# @option params [required, Array<String>] :tag_keys
|
1115
1174
|
# TagKeys are key-value pairs assigned to ARNs that can be used to group
|
@@ -1134,48 +1193,70 @@ module Aws::Transfer
|
|
1134
1193
|
req.send_request(options)
|
1135
1194
|
end
|
1136
1195
|
|
1137
|
-
# Updates the
|
1196
|
+
# Updates the file transfer protocol-enabled server's properties after
|
1197
|
+
# that server has been created.
|
1198
|
+
#
|
1199
|
+
# The `UpdateServer` call returns the `ServerId` of the server you
|
1200
|
+
# updated.
|
1138
1201
|
#
|
1139
|
-
#
|
1140
|
-
#
|
1202
|
+
# @option params [String] :certificate
|
1203
|
+
# The Amazon Resource Name (ARN) of the AWS Certificate Manager (ACM)
|
1204
|
+
# certificate. Required when `Protocols` is set to `FTPS`.
|
1141
1205
|
#
|
1142
1206
|
# @option params [Types::EndpointDetails] :endpoint_details
|
1143
1207
|
# The virtual private cloud (VPC) endpoint settings that are configured
|
1144
|
-
# for your
|
1145
|
-
# your
|
1146
|
-
# incoming internet traffic, you will need to associate
|
1147
|
-
# Elastic IP addresses with your server's endpoint.
|
1208
|
+
# for your file transfer protocol-enabled server. With a VPC endpoint,
|
1209
|
+
# you can restrict access to your server to resources only within your
|
1210
|
+
# VPC. To control incoming internet traffic, you will need to associate
|
1211
|
+
# one or more Elastic IP addresses with your server's endpoint.
|
1148
1212
|
#
|
1149
1213
|
# @option params [String] :endpoint_type
|
1150
|
-
# The type of endpoint that you want your
|
1151
|
-
# can choose to connect to the public internet
|
1152
|
-
#
|
1153
|
-
#
|
1214
|
+
# The type of endpoint that you want your file transfer protocol-enabled
|
1215
|
+
# server to connect to. You can choose to connect to the public internet
|
1216
|
+
# or a VPC endpoint. With a VPC endpoint, your server isn't accessible
|
1217
|
+
# over the public internet.
|
1154
1218
|
#
|
1155
1219
|
# @option params [String] :host_key
|
1156
1220
|
# The RSA private key as generated by `ssh-keygen -N "" -f
|
1157
1221
|
# my-new-server-key`.
|
1158
1222
|
#
|
1159
1223
|
# If you aren't planning to migrate existing users from an existing
|
1160
|
-
#
|
1161
|
-
# Accidentally changing a server's host key can be
|
1224
|
+
# file transfer protocol-enabled server to a new server, don't update
|
1225
|
+
# the host key. Accidentally changing a server's host key can be
|
1226
|
+
# disruptive.
|
1227
|
+
#
|
1228
|
+
# For more information, see [Changing the Host Key for Your AWS Transfer
|
1229
|
+
# Family Server][1] in the *AWS Transfer Family User Guide*.
|
1230
|
+
#
|
1231
|
+
#
|
1162
1232
|
#
|
1163
|
-
#
|
1164
|
-
# "https://docs.aws.amazon.com/transfer/latest/userguide/configuring-servers.html#change-host-key"
|
1165
|
-
# in the *AWS SFTP User Guide.*
|
1233
|
+
# [1]: https://docs.aws.amazon.com/transfer/latest/userguide/configuring-servers.html#change-host-key
|
1166
1234
|
#
|
1167
1235
|
# @option params [Types::IdentityProviderDetails] :identity_provider_details
|
1168
|
-
#
|
1169
|
-
#
|
1236
|
+
# An array containing all of the information required to call a
|
1237
|
+
# customer's authentication API method.
|
1170
1238
|
#
|
1171
1239
|
# @option params [String] :logging_role
|
1172
|
-
#
|
1173
|
-
#
|
1174
|
-
#
|
1240
|
+
# Changes the AWS Identity and Access Management (IAM) role that allows
|
1241
|
+
# Amazon S3 events to be logged in Amazon CloudWatch, turning logging on
|
1242
|
+
# or off.
|
1243
|
+
#
|
1244
|
+
# @option params [Array<String>] :protocols
|
1245
|
+
# Specifies the file transfer protocol or protocols over which your file
|
1246
|
+
# transfer protocol client can connect to your server's endpoint. The
|
1247
|
+
# available protocols are:
|
1248
|
+
#
|
1249
|
+
# * Secure Shell (SSH) File Transfer Protocol (SFTP): File transfer over
|
1250
|
+
# SSH
|
1251
|
+
#
|
1252
|
+
# * File Transfer Protocol Secure (FTPS): File transfer with TLS
|
1253
|
+
# encryption
|
1254
|
+
#
|
1255
|
+
# * File Transfer Protocol (FTP): Unencrypted file transfer
|
1175
1256
|
#
|
1176
1257
|
# @option params [required, String] :server_id
|
1177
|
-
# A system-assigned unique identifier for
|
1178
|
-
# the user account is assigned to.
|
1258
|
+
# A system-assigned unique identifier for a file transfer
|
1259
|
+
# protocol-enabled server instance that the user account is assigned to.
|
1179
1260
|
#
|
1180
1261
|
# @return [Types::UpdateServerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1181
1262
|
#
|
@@ -1184,6 +1265,7 @@ module Aws::Transfer
|
|
1184
1265
|
# @example Request syntax with placeholder values
|
1185
1266
|
#
|
1186
1267
|
# resp = client.update_server({
|
1268
|
+
# certificate: "Certificate",
|
1187
1269
|
# endpoint_details: {
|
1188
1270
|
# address_allocation_ids: ["AddressAllocationId"],
|
1189
1271
|
# subnet_ids: ["SubnetId"],
|
@@ -1197,6 +1279,7 @@ module Aws::Transfer
|
|
1197
1279
|
# invocation_role: "Role",
|
1198
1280
|
# },
|
1199
1281
|
# logging_role: "NullableRole",
|
1282
|
+
# protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
|
1200
1283
|
# server_id: "ServerId", # required
|
1201
1284
|
# })
|
1202
1285
|
#
|
@@ -1221,44 +1304,47 @@ module Aws::Transfer
|
|
1221
1304
|
# user.
|
1222
1305
|
#
|
1223
1306
|
# @option params [String] :home_directory
|
1224
|
-
#
|
1225
|
-
#
|
1307
|
+
# Specifies the landing directory (folder) for a user when they log in
|
1308
|
+
# to the file transfer protocol-enabled server using their file transfer
|
1309
|
+
# protocol client.
|
1226
1310
|
#
|
1227
|
-
# An example is
|
1311
|
+
# An example is `your-Amazon-S3-bucket-name>/home/username`.
|
1228
1312
|
#
|
1229
1313
|
# @option params [String] :home_directory_type
|
1230
1314
|
# The type of landing directory (folder) you want your users' home
|
1231
|
-
# directory to be when they log into the
|
1232
|
-
# `PATH`, the user will see the absolute Amazon
|
1233
|
-
#
|
1234
|
-
#
|
1235
|
-
#
|
1315
|
+
# directory to be when they log into the file transfer protocol-enabled
|
1316
|
+
# server. If you set it to `PATH`, the user will see the absolute Amazon
|
1317
|
+
# S3 bucket paths as is in their file transfer protocol clients. If you
|
1318
|
+
# set it `LOGICAL`, you will need to provide mappings in the
|
1319
|
+
# `HomeDirectoryMappings` for how you want to make Amazon S3 paths
|
1320
|
+
# visible to your users.
|
1236
1321
|
#
|
1237
1322
|
# @option params [Array<Types::HomeDirectoryMapEntry>] :home_directory_mappings
|
1238
|
-
# Logical directory mappings that specify what S3 paths and keys
|
1239
|
-
# be visible to your user and how you want to make them visible.
|
1240
|
-
# will need to specify the "`Entry`" and "`Target`" pair, where
|
1323
|
+
# Logical directory mappings that specify what Amazon S3 paths and keys
|
1324
|
+
# should be visible to your user and how you want to make them visible.
|
1325
|
+
# You will need to specify the "`Entry`" and "`Target`" pair, where
|
1241
1326
|
# `Entry` shows how the path is made visible and `Target` is the actual
|
1242
|
-
# S3 path. If you only specify a target, it will be displayed as
|
1243
|
-
# will need to also make sure that your AWS IAM Role provides
|
1244
|
-
# paths in `Target`. The following is an example.
|
1327
|
+
# Amazon S3 path. If you only specify a target, it will be displayed as
|
1328
|
+
# is. You will need to also make sure that your AWS IAM Role provides
|
1329
|
+
# access to paths in `Target`. The following is an example.
|
1245
1330
|
#
|
1246
1331
|
# `'[ "/bucket2/documentation", \{ "Entry": "your-personal-report.pdf",
|
1247
1332
|
# "Target": "/bucket3/customized-reports/$\{transfer:UserName\}.pdf" \}
|
1248
1333
|
# ]'`
|
1249
1334
|
#
|
1250
|
-
# In most cases, you can use this value instead of the scope
|
1335
|
+
# In most cases, you can use this value instead of the scope-down policy
|
1251
1336
|
# to lock your user down to the designated home directory ("chroot").
|
1252
1337
|
# To do this, you can set `Entry` to '/' and set `Target` to the
|
1253
1338
|
# HomeDirectory parameter value.
|
1254
1339
|
#
|
1255
|
-
# <note markdown="1"> If the target of a logical directory entry does not exist in
|
1256
|
-
# entry will be ignored. As a workaround, you can use the
|
1257
|
-
# create 0 byte objects as place holders for your directory.
|
1258
|
-
# the CLI, use the s3api call instead of s3 so you can use
|
1259
|
-
# put-object operation. For example, you use the following: `aws
|
1260
|
-
# put-object --bucket bucketname --key path/to/folder/`. Make sure
|
1261
|
-
# the end of the key name ends in a / for it to be considered a
|
1340
|
+
# <note markdown="1"> If the target of a logical directory entry does not exist in Amazon
|
1341
|
+
# S3, the entry will be ignored. As a workaround, you can use the Amazon
|
1342
|
+
# S3 api to create 0 byte objects as place holders for your directory.
|
1343
|
+
# If using the CLI, use the `s3api` call instead of `s3` so you can use
|
1344
|
+
# the put-object operation. For example, you use the following: `aws
|
1345
|
+
# s3api put-object --bucket bucketname --key path/to/folder/`. Make sure
|
1346
|
+
# that the end of the key name ends in a / for it to be considered a
|
1347
|
+
# folder.
|
1262
1348
|
#
|
1263
1349
|
# </note>
|
1264
1350
|
#
|
@@ -1270,41 +1356,44 @@ module Aws::Transfer
|
|
1270
1356
|
# `$\{Transfer:UserName\}`, `$\{Transfer:HomeDirectory\}`, and
|
1271
1357
|
# `$\{Transfer:HomeBucket\}`.
|
1272
1358
|
#
|
1273
|
-
# <note markdown="1"> For scope-down policies, AWS Transfer
|
1359
|
+
# <note markdown="1"> For scope-down policies, AWS Transfer Family stores the policy as a
|
1274
1360
|
# JSON blob, instead of the Amazon Resource Name (ARN) of the policy.
|
1275
1361
|
# You save the policy as a JSON blob and pass it in the `Policy`
|
1276
1362
|
# argument.
|
1277
1363
|
#
|
1278
|
-
# For an example of a scope-down policy, see
|
1279
|
-
#
|
1280
|
-
# a Scope-Down Policy.
|
1364
|
+
# For an example of a scope-down policy, see [Creating a Scope-Down
|
1365
|
+
# Policy][1].
|
1281
1366
|
#
|
1282
|
-
# For more information, see
|
1283
|
-
#
|
1284
|
-
# in the *AWS Security Token Service API Reference*.
|
1367
|
+
# For more information, see [AssumeRole][2] in the *AWS Security Token
|
1368
|
+
# Service API Reference*.
|
1285
1369
|
#
|
1286
1370
|
# </note>
|
1287
1371
|
#
|
1372
|
+
#
|
1373
|
+
#
|
1374
|
+
# [1]: https://docs.aws.amazon.com/transfer/latest/userguide/users.html#users-policies-scope-down
|
1375
|
+
# [2]: https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
|
1376
|
+
#
|
1288
1377
|
# @option params [String] :role
|
1289
|
-
# The IAM role that controls your
|
1378
|
+
# The IAM role that controls your users' access to your Amazon S3
|
1290
1379
|
# bucket. The policies attached to this role will determine the level of
|
1291
1380
|
# access you want to provide your users when transferring files into and
|
1292
1381
|
# out of your Amazon S3 bucket or buckets. The IAM role should also
|
1293
|
-
# contain a trust relationship that allows the
|
1294
|
-
#
|
1295
|
-
#
|
1382
|
+
# contain a trust relationship that allows the file transfer
|
1383
|
+
# protocol-enabled server to access your resources when servicing your
|
1384
|
+
# users' transfer requests.
|
1296
1385
|
#
|
1297
1386
|
# @option params [required, String] :server_id
|
1298
|
-
# A system-assigned unique identifier for
|
1299
|
-
# the user account is assigned to.
|
1387
|
+
# A system-assigned unique identifier for a file transfer
|
1388
|
+
# protocol-enabled server instance that the user account is assigned to.
|
1300
1389
|
#
|
1301
1390
|
# @option params [required, String] :user_name
|
1302
|
-
# A unique string that identifies a user and is associated with a
|
1303
|
-
# as specified by the `ServerId`. This
|
1304
|
-
# by your user when they log in to your
|
1305
|
-
# minimum of 3 and a maximum of 32
|
1306
|
-
# valid characters: a-z, A-Z, 0-9,
|
1307
|
-
# can't start with a hyphen.
|
1391
|
+
# A unique string that identifies a user and is associated with a file
|
1392
|
+
# transfer protocol-enabled server as specified by the `ServerId`. This
|
1393
|
+
# is the string that will be used by your user when they log in to your
|
1394
|
+
# server. This user name is a minimum of 3 and a maximum of 32
|
1395
|
+
# characters long. The following are valid characters: a-z, A-Z, 0-9,
|
1396
|
+
# underscore, and hyphen. The user name can't start with a hyphen.
|
1308
1397
|
#
|
1309
1398
|
# @return [Types::UpdateUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1310
1399
|
#
|
@@ -1355,7 +1444,7 @@ module Aws::Transfer
|
|
1355
1444
|
params: params,
|
1356
1445
|
config: config)
|
1357
1446
|
context[:gem_name] = 'aws-sdk-transfer'
|
1358
|
-
context[:gem_version] = '1.
|
1447
|
+
context[:gem_version] = '1.18.0'
|
1359
1448
|
Seahorse::Client::Request.new(handlers, context)
|
1360
1449
|
end
|
1361
1450
|
|