aws-sdk-transfer 1.8.0 → 1.9.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: abae661568856dc211d3032cc8fb8784ae59d3b5
4
- data.tar.gz: bb4004540edfd83a66c98cd234e925df99807c5f
3
+ metadata.gz: 60e878dae8566ae1f6e12fbf433f88f59c460f29
4
+ data.tar.gz: 41da07a1c22755377964127b04053c6818230a96
5
5
  SHA512:
6
- metadata.gz: 3bf9245d0b093aa9fcf0503af8d53a9f9bfe92872e92979071be83117603f963d043a0d704a929796b165dfe7281046b63a4974587fbe48118e5981d885e9deb
7
- data.tar.gz: c977f3cec08e8bf667f57e9f212a0559e5c5ae05ff5a5596ed1156675ec34bf74c5262d6280e283d8af13389732a0075c8196c2a243eb0a92ef8aa1ac4f0a5c0
6
+ metadata.gz: 3ffea8a58080affbe615bdc5cff6aadcf3c3d8afc3752f13b10dc3278bc3ffdfd7722ec4f85a398a22ffa3afe0afc7c2eb9216d130df7945eca76ac9eb18ec72
7
+ data.tar.gz: 16c8e746c9e9096583781670edb9848faf7d6952c6292fd0c6e97a0d57a48475f1df2371fcc0ad46baaa82e8582c91fbebab2782aa0a6940286e5ef6523d9d88
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-transfer/customizations'
42
42
  # @service
43
43
  module Aws::Transfer
44
44
 
45
- GEM_VERSION = '1.8.0'
45
+ GEM_VERSION = '1.9.0'
46
46
 
47
47
  end
@@ -1151,7 +1151,7 @@ module Aws::Transfer
1151
1151
  params: params,
1152
1152
  config: config)
1153
1153
  context[:gem_name] = 'aws-sdk-transfer'
1154
- context[:gem_version] = '1.8.0'
1154
+ context[:gem_version] = '1.9.0'
1155
1155
  Seahorse::Client::Request.new(handlers, context)
1156
1156
  end
1157
1157
 
@@ -179,6 +179,15 @@ module Aws::Transfer
179
179
  ImportSshPublicKeyResponse.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "UserName"))
180
180
  ImportSshPublicKeyResponse.struct_class = Types::ImportSshPublicKeyResponse
181
181
 
182
+ InternalServiceError.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
183
+ InternalServiceError.struct_class = Types::InternalServiceError
184
+
185
+ InvalidNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
186
+ InvalidNextTokenException.struct_class = Types::InvalidNextTokenException
187
+
188
+ InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
189
+ InvalidRequestException.struct_class = Types::InvalidRequestException
190
+
182
191
  ListServersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
183
192
  ListServersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
184
193
  ListServersRequest.struct_class = Types::ListServersRequest
@@ -227,6 +236,19 @@ module Aws::Transfer
227
236
 
228
237
  ListedUsers.member = Shapes::ShapeRef.new(shape: ListedUser)
229
238
 
239
+ ResourceExistsException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
240
+ ResourceExistsException.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, required: true, location_name: "Resource"))
241
+ ResourceExistsException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType"))
242
+ ResourceExistsException.struct_class = Types::ResourceExistsException
243
+
244
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
245
+ ResourceNotFoundException.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, required: true, location_name: "Resource"))
246
+ ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType"))
247
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
248
+
249
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ServiceErrorMessage, location_name: "Message"))
250
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
251
+
230
252
  SshPublicKey.add_member(:date_imported, Shapes::ShapeRef.new(shape: DateImported, required: true, location_name: "DateImported"))
231
253
  SshPublicKey.add_member(:ssh_public_key_body, Shapes::ShapeRef.new(shape: SshPublicKeyBody, required: true, location_name: "SshPublicKeyBody"))
232
254
  SshPublicKey.add_member(:ssh_public_key_id, Shapes::ShapeRef.new(shape: SshPublicKeyId, required: true, location_name: "SshPublicKeyId"))
@@ -10,5 +10,121 @@ module Aws::Transfer
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class InternalServiceError < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::Transfer::Types::InternalServiceError] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class InvalidNextTokenException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::Transfer::Types::InvalidNextTokenException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class InvalidRequestException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::Transfer::Types::InvalidRequestException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class ResourceExistsException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::Transfer::Types::ResourceExistsException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ # @return [String]
76
+ def resource
77
+ @data[:resource]
78
+ end
79
+
80
+ # @return [String]
81
+ def resource_type
82
+ @data[:resource_type]
83
+ end
84
+
85
+ end
86
+
87
+ class ResourceNotFoundException < ServiceError
88
+
89
+ # @param [Seahorse::Client::RequestContext] context
90
+ # @param [String] message
91
+ # @param [Aws::Transfer::Types::ResourceNotFoundException] data
92
+ def initialize(context, message, data = Aws::EmptyStructure.new)
93
+ super(context, message, data)
94
+ end
95
+
96
+ # @return [String]
97
+ def message
98
+ @message || @data[:message]
99
+ end
100
+
101
+ # @return [String]
102
+ def resource
103
+ @data[:resource]
104
+ end
105
+
106
+ # @return [String]
107
+ def resource_type
108
+ @data[:resource_type]
109
+ end
110
+
111
+ end
112
+
113
+ class ServiceUnavailableException < ServiceError
114
+
115
+ # @param [Seahorse::Client::RequestContext] context
116
+ # @param [String] message
117
+ # @param [Aws::Transfer::Types::ServiceUnavailableException] data
118
+ def initialize(context, message, data = Aws::EmptyStructure.new)
119
+ super(context, message, data)
120
+ end
121
+
122
+ # @return [String]
123
+ def message
124
+ @message || @data[:message]
125
+ end
126
+
127
+ end
128
+
13
129
  end
14
130
  end
@@ -607,6 +607,43 @@ module Aws::Transfer
607
607
  include Aws::Structure
608
608
  end
609
609
 
610
+ # This exception is thrown when an error occurs in the AWS Transfer for
611
+ # SFTP service.
612
+ #
613
+ # @!attribute [rw] message
614
+ # @return [String]
615
+ #
616
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/InternalServiceError AWS API Documentation
617
+ #
618
+ class InternalServiceError < Struct.new(
619
+ :message)
620
+ include Aws::Structure
621
+ end
622
+
623
+ # The `NextToken` parameter that was passed is invalid.
624
+ #
625
+ # @!attribute [rw] message
626
+ # @return [String]
627
+ #
628
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/InvalidNextTokenException AWS API Documentation
629
+ #
630
+ class InvalidNextTokenException < Struct.new(
631
+ :message)
632
+ include Aws::Structure
633
+ end
634
+
635
+ # This exception is thrown when the client submits a malformed request.
636
+ #
637
+ # @!attribute [rw] message
638
+ # @return [String]
639
+ #
640
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/InvalidRequestException AWS API Documentation
641
+ #
642
+ class InvalidRequestException < Struct.new(
643
+ :message)
644
+ include Aws::Structure
645
+ end
646
+
610
647
  # @note When making an API call, you may pass ListServersRequest
611
648
  # data as a hash:
612
649
  #
@@ -880,6 +917,60 @@ module Aws::Transfer
880
917
  include Aws::Structure
881
918
  end
882
919
 
920
+ # The requested resource does not exist.
921
+ #
922
+ # @!attribute [rw] message
923
+ # @return [String]
924
+ #
925
+ # @!attribute [rw] resource
926
+ # @return [String]
927
+ #
928
+ # @!attribute [rw] resource_type
929
+ # @return [String]
930
+ #
931
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ResourceExistsException AWS API Documentation
932
+ #
933
+ class ResourceExistsException < Struct.new(
934
+ :message,
935
+ :resource,
936
+ :resource_type)
937
+ include Aws::Structure
938
+ end
939
+
940
+ # This exception is thrown when a resource is not found by the AWS
941
+ # Transfer for SFTP service.
942
+ #
943
+ # @!attribute [rw] message
944
+ # @return [String]
945
+ #
946
+ # @!attribute [rw] resource
947
+ # @return [String]
948
+ #
949
+ # @!attribute [rw] resource_type
950
+ # @return [String]
951
+ #
952
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ResourceNotFoundException AWS API Documentation
953
+ #
954
+ class ResourceNotFoundException < Struct.new(
955
+ :message,
956
+ :resource,
957
+ :resource_type)
958
+ include Aws::Structure
959
+ end
960
+
961
+ # The request has failed because the AWS Transfer for SFTP service is
962
+ # not available.
963
+ #
964
+ # @!attribute [rw] message
965
+ # @return [String]
966
+ #
967
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ServiceUnavailableException AWS API Documentation
968
+ #
969
+ class ServiceUnavailableException < Struct.new(
970
+ :message)
971
+ include Aws::Structure
972
+ end
973
+
883
974
  # Provides information about the public Secure Shell (SSH) key that is
884
975
  # associated with a user account for a specific server (as identified by
885
976
  # `ServerId`). The information returned includes the date the key was
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.8.0
4
+ version: 1.9.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-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.52.1
22
+ version: 3.53.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement