aws-sdk-transfer 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb099344db6a491c1f21a1bb041c14014ca0ec11
4
- data.tar.gz: eeb6e96c16843309f71e777a997ebe7bc0e886e9
3
+ metadata.gz: 1dad16cae56b1204abe7134f2bef408e29ea03f9
4
+ data.tar.gz: d505437ba82a80ac3e8d3f63d501db6da75f9147
5
5
  SHA512:
6
- metadata.gz: 68abe028e2b5c0fd18e27bb8a75821a1a505f2ea13de001a69345c91f9c5b312a47021e15b1c8de417dfc69e966397de8b916963b319ce16a2145aba57189be9
7
- data.tar.gz: c03e5f52367edb77f5482701a45efe6c637b6a82a22d1d0e5ad0accaa9c133b952f8b2113850652361fe52f9fa0f804eb8318e4704c034225cfa6c299e73f83f
6
+ metadata.gz: 83eb4e3d3841d06766320941be37a42b56f7a12bcf233fb1546307f631ab6aedea5b45f89dad77ed81692312d9ce9c10d658f5af0b4e12735d9e7edf63071236
7
+ data.tar.gz: 7ecb49b565e9f43a1e9dfba3f954d18c39a16a535d4495661863e16c06abf6fa746e00e9d5f3d11e26be3263d1555543ed93e81fcc4c53b7c84083c3be6cb936
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-transfer/customizations'
42
42
  # @service
43
43
  module Aws::Transfer
44
44
 
45
- GEM_VERSION = '1.5.0'
45
+ GEM_VERSION = '1.6.0'
46
46
 
47
47
  end
@@ -268,8 +268,22 @@ module Aws::Transfer
268
268
  # server.
269
269
  #
270
270
  # @option params [Types::EndpointDetails] :endpoint_details
271
+ # The virtual private cloud (VPC) endpoint settings that you want to
272
+ # configure for your SFTP server.
271
273
  #
272
274
  # @option params [String] :endpoint_type
275
+ # The type of VPC endpoint that you want your SFTP server connect to. If
276
+ # you connect to a VPC endpoint, your SFTP server isn't accessible over
277
+ # the public internet.
278
+ #
279
+ # @option params [String] :host_key
280
+ # The RSA private key as generated by `ssh-keygen -N "" -f
281
+ # my-new-server-key` command.
282
+ #
283
+ # If you aren't planning to migrate existing users from an existing
284
+ # SFTP server to a new AWS SFTP server, don't update the host key.
285
+ # Accidentally changing a server's host key can be disruptive. For more
286
+ # information, see change-host-key in the *AWS SFTP User Guide.*
273
287
  #
274
288
  # @option params [Types::IdentityProviderDetails] :identity_provider_details
275
289
  # An array containing all of the information required to call a
@@ -303,6 +317,7 @@ module Aws::Transfer
303
317
  # vpc_endpoint_id: "VpcEndpointId",
304
318
  # },
305
319
  # endpoint_type: "PUBLIC", # accepts PUBLIC, VPC_ENDPOINT
320
+ # host_key: "HostKey",
306
321
  # identity_provider_details: {
307
322
  # url: "Url",
308
323
  # invocation_role: "Role",
@@ -374,7 +389,10 @@ module Aws::Transfer
374
389
  #
375
390
  # @option params [required, String] :user_name
376
391
  # A unique string that identifies a user and is associated with a server
377
- # as specified by the `ServerId`.
392
+ # as specified by the `ServerId`. This user name must be a minimum of 3
393
+ # and a maximum of 32 characters long. The following are valid
394
+ # characters: a-z, A-Z, 0-9, underscore, and hyphen. The user name
395
+ # can't start with a hyphen.
378
396
  #
379
397
  # @return [Types::CreateUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
380
398
  #
@@ -530,6 +548,7 @@ module Aws::Transfer
530
548
  # resp.server.arn #=> String
531
549
  # resp.server.endpoint_details.vpc_endpoint_id #=> String
532
550
  # resp.server.endpoint_type #=> String, one of "PUBLIC", "VPC_ENDPOINT"
551
+ # resp.server.host_key_fingerprint #=> String
533
552
  # resp.server.identity_provider_details.url #=> String
534
553
  # resp.server.identity_provider_details.invocation_role #=> String
535
554
  # resp.server.identity_provider_type #=> String, one of "SERVICE_MANAGED", "API_GATEWAY"
@@ -982,17 +1001,33 @@ module Aws::Transfer
982
1001
  # Transfer Protocol (SFTP) server you updated.
983
1002
  #
984
1003
  # @option params [Types::EndpointDetails] :endpoint_details
1004
+ # The virtual private cloud (VPC) endpoint settings that are configured
1005
+ # for your SFTP server. With a VPC endpoint, your SFTP server isn't
1006
+ # accessible over the public internet.
985
1007
  #
986
1008
  # @option params [String] :endpoint_type
1009
+ # The type of endpoint that you want your SFTP server to connect to. You
1010
+ # can choose to connect to the public internet or a virtual private
1011
+ # cloud (VPC) endpoint. With a VPC endpoint, your SFTP server isn't
1012
+ # accessible over the public internet.
1013
+ #
1014
+ # @option params [String] :host_key
1015
+ # The RSA private key as generated by `ssh-keygen -N "" -f
1016
+ # my-new-server-key`.
1017
+ #
1018
+ # If you aren't planning to migrate existing users from an existing
1019
+ # SFTP server to a new AWS SFTP server, don't update the host key.
1020
+ # Accidentally changing a server's host key can be disruptive. For more
1021
+ # information, see change-host-key in the *AWS SFTP User Guide.*
987
1022
  #
988
1023
  # @option params [Types::IdentityProviderDetails] :identity_provider_details
989
1024
  # This response parameter is an array containing all of the information
990
1025
  # required to call a customer's authentication API method.
991
1026
  #
992
1027
  # @option params [String] :logging_role
993
- # Changes the AWS Identity and Access Management (IAM) role that allows
994
- # Amazon S3 events to be logged in Amazon CloudWatch, turning logging on
995
- # or off.
1028
+ # A value that changes the AWS Identity and Access Management (IAM) role
1029
+ # that allows Amazon S3 events to be logged in Amazon CloudWatch,
1030
+ # turning logging on or off.
996
1031
  #
997
1032
  # @option params [required, String] :server_id
998
1033
  # A system-assigned unique identifier for an SFTP server instance that
@@ -1009,6 +1044,7 @@ module Aws::Transfer
1009
1044
  # vpc_endpoint_id: "VpcEndpointId",
1010
1045
  # },
1011
1046
  # endpoint_type: "PUBLIC", # accepts PUBLIC, VPC_ENDPOINT
1047
+ # host_key: "HostKey",
1012
1048
  # identity_provider_details: {
1013
1049
  # url: "Url",
1014
1050
  # invocation_role: "Role",
@@ -1066,7 +1102,10 @@ module Aws::Transfer
1066
1102
  # @option params [required, String] :user_name
1067
1103
  # A unique string that identifies a user and is associated with a server
1068
1104
  # as specified by the ServerId. This is the string that will be used by
1069
- # your user when they log in to your SFTP server.
1105
+ # your user when they log in to your SFTP server. This user name is a
1106
+ # minimum of 3 and a maximum of 32 characters long. The following are
1107
+ # valid characters: a-z, A-Z, 0-9, underscore, and hyphen. The user name
1108
+ # can't start with a hyphen.
1070
1109
  #
1071
1110
  # @return [Types::UpdateUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1072
1111
  #
@@ -1110,7 +1149,7 @@ module Aws::Transfer
1110
1149
  params: params,
1111
1150
  config: config)
1112
1151
  context[:gem_name] = 'aws-sdk-transfer'
1113
- context[:gem_version] = '1.5.0'
1152
+ context[:gem_version] = '1.6.0'
1114
1153
  Seahorse::Client::Request.new(handlers, context)
1115
1154
  end
1116
1155
 
@@ -29,6 +29,8 @@ module Aws::Transfer
29
29
  EndpointDetails = Shapes::StructureShape.new(name: 'EndpointDetails')
30
30
  EndpointType = Shapes::StringShape.new(name: 'EndpointType')
31
31
  HomeDirectory = Shapes::StringShape.new(name: 'HomeDirectory')
32
+ HostKey = Shapes::StringShape.new(name: 'HostKey')
33
+ HostKeyFingerprint = Shapes::StringShape.new(name: 'HostKeyFingerprint')
32
34
  IdentityProviderDetails = Shapes::StructureShape.new(name: 'IdentityProviderDetails')
33
35
  IdentityProviderType = Shapes::StringShape.new(name: 'IdentityProviderType')
34
36
  ImportSshPublicKeyRequest = Shapes::StructureShape.new(name: 'ImportSshPublicKeyRequest')
@@ -89,6 +91,7 @@ module Aws::Transfer
89
91
 
90
92
  CreateServerRequest.add_member(:endpoint_details, Shapes::ShapeRef.new(shape: EndpointDetails, location_name: "EndpointDetails"))
91
93
  CreateServerRequest.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location_name: "EndpointType"))
94
+ CreateServerRequest.add_member(:host_key, Shapes::ShapeRef.new(shape: HostKey, location_name: "HostKey"))
92
95
  CreateServerRequest.add_member(:identity_provider_details, Shapes::ShapeRef.new(shape: IdentityProviderDetails, location_name: "IdentityProviderDetails"))
93
96
  CreateServerRequest.add_member(:identity_provider_type, Shapes::ShapeRef.new(shape: IdentityProviderType, location_name: "IdentityProviderType"))
94
97
  CreateServerRequest.add_member(:logging_role, Shapes::ShapeRef.new(shape: Role, location_name: "LoggingRole"))
@@ -140,6 +143,7 @@ module Aws::Transfer
140
143
  DescribedServer.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
141
144
  DescribedServer.add_member(:endpoint_details, Shapes::ShapeRef.new(shape: EndpointDetails, location_name: "EndpointDetails"))
142
145
  DescribedServer.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location_name: "EndpointType"))
146
+ DescribedServer.add_member(:host_key_fingerprint, Shapes::ShapeRef.new(shape: HostKeyFingerprint, location_name: "HostKeyFingerprint"))
143
147
  DescribedServer.add_member(:identity_provider_details, Shapes::ShapeRef.new(shape: IdentityProviderDetails, location_name: "IdentityProviderDetails"))
144
148
  DescribedServer.add_member(:identity_provider_type, Shapes::ShapeRef.new(shape: IdentityProviderType, location_name: "IdentityProviderType"))
145
149
  DescribedServer.add_member(:logging_role, Shapes::ShapeRef.new(shape: Role, location_name: "LoggingRole"))
@@ -264,6 +268,7 @@ module Aws::Transfer
264
268
 
265
269
  UpdateServerRequest.add_member(:endpoint_details, Shapes::ShapeRef.new(shape: EndpointDetails, location_name: "EndpointDetails"))
266
270
  UpdateServerRequest.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location_name: "EndpointType"))
271
+ UpdateServerRequest.add_member(:host_key, Shapes::ShapeRef.new(shape: HostKey, location_name: "HostKey"))
267
272
  UpdateServerRequest.add_member(:identity_provider_details, Shapes::ShapeRef.new(shape: IdentityProviderDetails, location_name: "IdentityProviderDetails"))
268
273
  UpdateServerRequest.add_member(:logging_role, Shapes::ShapeRef.new(shape: NullableRole, location_name: "LoggingRole"))
269
274
  UpdateServerRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
@@ -312,6 +317,7 @@ module Aws::Transfer
312
317
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
313
318
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
314
319
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
320
+ o.errors << Shapes::ShapeRef.new(shape: ResourceExistsException)
315
321
  end)
316
322
 
317
323
  api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
@@ -410,6 +416,12 @@ module Aws::Transfer
410
416
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
411
417
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
412
418
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
419
+ o[:pager] = Aws::Pager.new(
420
+ limit_key: "max_results",
421
+ tokens: {
422
+ "next_token" => "next_token"
423
+ }
424
+ )
413
425
  end)
414
426
 
415
427
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -422,6 +434,12 @@ module Aws::Transfer
422
434
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
423
435
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
424
436
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
437
+ o[:pager] = Aws::Pager.new(
438
+ limit_key: "max_results",
439
+ tokens: {
440
+ "next_token" => "next_token"
441
+ }
442
+ )
425
443
  end)
426
444
 
427
445
  api.add_operation(:list_users, Seahorse::Model::Operation.new.tap do |o|
@@ -435,6 +453,12 @@ module Aws::Transfer
435
453
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
436
454
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
437
455
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
456
+ o[:pager] = Aws::Pager.new(
457
+ limit_key: "max_results",
458
+ tokens: {
459
+ "next_token" => "next_token"
460
+ }
461
+ )
438
462
  end)
439
463
 
440
464
  api.add_operation(:start_server, Seahorse::Model::Operation.new.tap do |o|
@@ -16,6 +16,7 @@ module Aws::Transfer
16
16
  # vpc_endpoint_id: "VpcEndpointId",
17
17
  # },
18
18
  # endpoint_type: "PUBLIC", # accepts PUBLIC, VPC_ENDPOINT
19
+ # host_key: "HostKey",
19
20
  # identity_provider_details: {
20
21
  # url: "Url",
21
22
  # invocation_role: "Role",
@@ -31,9 +32,24 @@ module Aws::Transfer
31
32
  # }
32
33
  #
33
34
  # @!attribute [rw] endpoint_details
35
+ # The virtual private cloud (VPC) endpoint settings that you want to
36
+ # configure for your SFTP server.
34
37
  # @return [Types::EndpointDetails]
35
38
  #
36
39
  # @!attribute [rw] endpoint_type
40
+ # The type of VPC endpoint that you want your SFTP server connect to.
41
+ # If you connect to a VPC endpoint, your SFTP server isn't accessible
42
+ # over the public internet.
43
+ # @return [String]
44
+ #
45
+ # @!attribute [rw] host_key
46
+ # The RSA private key as generated by `ssh-keygen -N "" -f
47
+ # my-new-server-key` command.
48
+ #
49
+ # If you aren't planning to migrate existing users from an existing
50
+ # SFTP server to a new AWS SFTP server, don't update the host key.
51
+ # Accidentally changing a server's host key can be disruptive. For
52
+ # more information, see change-host-key in the *AWS SFTP User Guide.*
37
53
  # @return [String]
38
54
  #
39
55
  # @!attribute [rw] identity_provider_details
@@ -66,6 +82,7 @@ module Aws::Transfer
66
82
  class CreateServerRequest < Struct.new(
67
83
  :endpoint_details,
68
84
  :endpoint_type,
85
+ :host_key,
69
86
  :identity_provider_details,
70
87
  :identity_provider_type,
71
88
  :logging_role,
@@ -142,7 +159,10 @@ module Aws::Transfer
142
159
  #
143
160
  # @!attribute [rw] user_name
144
161
  # A unique string that identifies a user and is associated with a
145
- # server as specified by the `ServerId`.
162
+ # server as specified by the `ServerId`. This user name must be a
163
+ # minimum of 3 and a maximum of 32 characters long. The following are
164
+ # valid characters: a-z, A-Z, 0-9, underscore, and hyphen. The user
165
+ # name can't start with a hyphen.
146
166
  # @return [String]
147
167
  #
148
168
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateUserRequest AWS API Documentation
@@ -337,9 +357,20 @@ module Aws::Transfer
337
357
  # @return [String]
338
358
  #
339
359
  # @!attribute [rw] endpoint_details
360
+ # The virtual private cloud (VPC) endpoint settings that you
361
+ # configured for your SFTP server.
340
362
  # @return [Types::EndpointDetails]
341
363
  #
342
364
  # @!attribute [rw] endpoint_type
365
+ # The type of endpoint that your SFTP server is connected to. If your
366
+ # SFTP server is connected to a VPC endpoint, your server isn't
367
+ # accessible over the public internet.
368
+ # @return [String]
369
+ #
370
+ # @!attribute [rw] host_key_fingerprint
371
+ # This value contains the Message-Digest Algorithm (MD5) hash of the
372
+ # server's host key. This value is equivalent to the output of
373
+ # `ssh-keygen -l -E md5 -f my-new-server-key` command.
343
374
  # @return [String]
344
375
  #
345
376
  # @!attribute [rw] identity_provider_details
@@ -398,6 +429,7 @@ module Aws::Transfer
398
429
  :arn,
399
430
  :endpoint_details,
400
431
  :endpoint_type,
432
+ :host_key_fingerprint,
401
433
  :identity_provider_details,
402
434
  :identity_provider_type,
403
435
  :logging_role,
@@ -467,6 +499,9 @@ module Aws::Transfer
467
499
  include Aws::Structure
468
500
  end
469
501
 
502
+ # The configuration settings for the virtual private cloud (VPC)
503
+ # endpoint for your SFTP server.
504
+ #
470
505
  # @note When making an API call, you may pass EndpointDetails
471
506
  # data as a hash:
472
507
  #
@@ -475,6 +510,7 @@ module Aws::Transfer
475
510
  # }
476
511
  #
477
512
  # @!attribute [rw] vpc_endpoint_id
513
+ # The ID of the VPC endpoint.
478
514
  # @return [String]
479
515
  #
480
516
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/EndpointDetails AWS API Documentation
@@ -756,6 +792,9 @@ module Aws::Transfer
756
792
  # @return [String]
757
793
  #
758
794
  # @!attribute [rw] endpoint_type
795
+ # The type of VPC endpoint that your SFTP server is connected to. If
796
+ # your SFTP server is connected to a VPC endpoint, your server isn't
797
+ # accessible over the public internet.
759
798
  # @return [String]
760
799
  #
761
800
  # @!attribute [rw] logging_role
@@ -1060,6 +1099,7 @@ module Aws::Transfer
1060
1099
  # vpc_endpoint_id: "VpcEndpointId",
1061
1100
  # },
1062
1101
  # endpoint_type: "PUBLIC", # accepts PUBLIC, VPC_ENDPOINT
1102
+ # host_key: "HostKey",
1063
1103
  # identity_provider_details: {
1064
1104
  # url: "Url",
1065
1105
  # invocation_role: "Role",
@@ -1069,9 +1109,26 @@ module Aws::Transfer
1069
1109
  # }
1070
1110
  #
1071
1111
  # @!attribute [rw] endpoint_details
1112
+ # The virtual private cloud (VPC) endpoint settings that are
1113
+ # configured for your SFTP server. With a VPC endpoint, your SFTP
1114
+ # server isn't accessible over the public internet.
1072
1115
  # @return [Types::EndpointDetails]
1073
1116
  #
1074
1117
  # @!attribute [rw] endpoint_type
1118
+ # The type of endpoint that you want your SFTP server to connect to.
1119
+ # You can choose to connect to the public internet or a virtual
1120
+ # private cloud (VPC) endpoint. With a VPC endpoint, your SFTP server
1121
+ # isn't accessible over the public internet.
1122
+ # @return [String]
1123
+ #
1124
+ # @!attribute [rw] host_key
1125
+ # The RSA private key as generated by `ssh-keygen -N "" -f
1126
+ # my-new-server-key`.
1127
+ #
1128
+ # If you aren't planning to migrate existing users from an existing
1129
+ # SFTP server to a new AWS SFTP server, don't update the host key.
1130
+ # Accidentally changing a server's host key can be disruptive. For
1131
+ # more information, see change-host-key in the *AWS SFTP User Guide.*
1075
1132
  # @return [String]
1076
1133
  #
1077
1134
  # @!attribute [rw] identity_provider_details
@@ -1081,9 +1138,9 @@ module Aws::Transfer
1081
1138
  # @return [Types::IdentityProviderDetails]
1082
1139
  #
1083
1140
  # @!attribute [rw] logging_role
1084
- # Changes the AWS Identity and Access Management (IAM) role that
1085
- # allows Amazon S3 events to be logged in Amazon CloudWatch, turning
1086
- # logging on or off.
1141
+ # A value that changes the AWS Identity and Access Management (IAM)
1142
+ # role that allows Amazon S3 events to be logged in Amazon CloudWatch,
1143
+ # turning logging on or off.
1087
1144
  # @return [String]
1088
1145
  #
1089
1146
  # @!attribute [rw] server_id
@@ -1096,6 +1153,7 @@ module Aws::Transfer
1096
1153
  class UpdateServerRequest < Struct.new(
1097
1154
  :endpoint_details,
1098
1155
  :endpoint_type,
1156
+ :host_key,
1099
1157
  :identity_provider_details,
1100
1158
  :logging_role,
1101
1159
  :server_id)
@@ -1158,7 +1216,10 @@ module Aws::Transfer
1158
1216
  # @!attribute [rw] user_name
1159
1217
  # A unique string that identifies a user and is associated with a
1160
1218
  # server as specified by the ServerId. This is the string that will be
1161
- # used by your user when they log in to your SFTP server.
1219
+ # used by your user when they log in to your SFTP server. This user
1220
+ # name is a minimum of 3 and a maximum of 32 characters long. The
1221
+ # following are valid characters: a-z, A-Z, 0-9, underscore, and
1222
+ # hyphen. The user name can't start with a hyphen.
1162
1223
  # @return [String]
1163
1224
  #
1164
1225
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateUserRequest AWS API Documentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-transfer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-27 00:00:00.000000000 Z
11
+ date: 2019-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -59,7 +59,7 @@ files:
59
59
  - lib/aws-sdk-transfer/errors.rb
60
60
  - lib/aws-sdk-transfer/resource.rb
61
61
  - lib/aws-sdk-transfer/types.rb
62
- homepage: http://github.com/aws/aws-sdk-ruby
62
+ homepage: https://github.com/aws/aws-sdk-ruby
63
63
  licenses:
64
64
  - Apache-2.0
65
65
  metadata: