aws-sdk-apigateway 1.28.0 → 1.29.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: '0841cf63dc79ca562fb4f5a23e5bf41929d1b083'
4
- data.tar.gz: c065f8aa465e6f0eb8e64d80807b5a7b46cb4c07
3
+ metadata.gz: f51a2a689545a4047fd8f435974e3a44a4c6c35f
4
+ data.tar.gz: 229061fa19eceb62c00ed2b0084823731883c52f
5
5
  SHA512:
6
- metadata.gz: c73361db1a2ad84eabed2351a88984a342d2a832a2ad260e429db11832b5bd00787542ad9a6540edb3244cc5874eaa98d9d21dd69bcb71636147833de410c1b6
7
- data.tar.gz: 0f3c115678b6429573965e7fced1d3b3ef601e027b31d6af3b3525ee54b1d47f49e400286a4a7fc26b417fabb7c7995406e2e1063d3343b195ec081b66320d30
6
+ metadata.gz: 96782fab9082a6f4e097df4337bd50a764f3dc7cc4c87a0a2931a325af2bae5365596edcc17766d867949ba0a58c33eb199b26f1f3f72f0fee93f18e568814d7
7
+ data.tar.gz: d69fd8fc2c243b2cd7307fbdec3ca0826e5e130ce33ddab74f2e3f046c16501188a3d384b1506ed3c4f5455533f1ea510e075f4297b062dd282ef093c6137fca
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-apigateway/customizations'
42
42
  # @service
43
43
  module Aws::APIGateway
44
44
 
45
- GEM_VERSION = '1.28.0'
45
+ GEM_VERSION = '1.29.0'
46
46
 
47
47
  end
@@ -6741,7 +6741,7 @@ module Aws::APIGateway
6741
6741
  params: params,
6742
6742
  config: config)
6743
6743
  context[:gem_name] = 'aws-sdk-apigateway'
6744
- context[:gem_version] = '1.28.0'
6744
+ context[:gem_version] = '1.29.0'
6745
6745
  Seahorse::Client::Request.new(handlers, context)
6746
6746
  end
6747
6747
 
@@ -320,6 +320,9 @@ module Aws::APIGateway
320
320
  Authorizers.add_member(:items, Shapes::ShapeRef.new(shape: ListOfAuthorizer, location_name: "item"))
321
321
  Authorizers.struct_class = Types::Authorizers
322
322
 
323
+ BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
324
+ BadRequestException.struct_class = Types::BadRequestException
325
+
323
326
  BasePathMapping.add_member(:base_path, Shapes::ShapeRef.new(shape: String, location_name: "basePath"))
324
327
  BasePathMapping.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, location_name: "restApiId"))
325
328
  BasePathMapping.add_member(:stage, Shapes::ShapeRef.new(shape: String, location_name: "stage"))
@@ -346,6 +349,9 @@ module Aws::APIGateway
346
349
  ClientCertificates.add_member(:items, Shapes::ShapeRef.new(shape: ListOfClientCertificate, location_name: "item"))
347
350
  ClientCertificates.struct_class = Types::ClientCertificates
348
351
 
352
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
353
+ ConflictException.struct_class = Types::ConflictException
354
+
349
355
  CreateApiKeyRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
350
356
  CreateApiKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
351
357
  CreateApiKeyRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
@@ -902,6 +908,10 @@ module Aws::APIGateway
902
908
  IntegrationResponse.add_member(:content_handling, Shapes::ShapeRef.new(shape: ContentHandlingStrategy, location_name: "contentHandling"))
903
909
  IntegrationResponse.struct_class = Types::IntegrationResponse
904
910
 
911
+ LimitExceededException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Retry-After"))
912
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
913
+ LimitExceededException.struct_class = Types::LimitExceededException
914
+
905
915
  ListOfARNs.member = Shapes::ShapeRef.new(shape: ProviderARN)
906
916
 
907
917
  ListOfApiKey.member = Shapes::ShapeRef.new(shape: ApiKey)
@@ -1031,6 +1041,9 @@ module Aws::APIGateway
1031
1041
  Models.add_member(:items, Shapes::ShapeRef.new(shape: ListOfModel, location_name: "item"))
1032
1042
  Models.struct_class = Types::Models
1033
1043
 
1044
+ NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1045
+ NotFoundException.struct_class = Types::NotFoundException
1046
+
1034
1047
  PatchOperation.add_member(:op, Shapes::ShapeRef.new(shape: Op, location_name: "op"))
1035
1048
  PatchOperation.add_member(:path, Shapes::ShapeRef.new(shape: String, location_name: "path"))
1036
1049
  PatchOperation.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
@@ -1172,6 +1185,10 @@ module Aws::APIGateway
1172
1185
  SdkTypes.add_member(:items, Shapes::ShapeRef.new(shape: ListOfSdkType, location_name: "item"))
1173
1186
  SdkTypes.struct_class = Types::SdkTypes
1174
1187
 
1188
+ ServiceUnavailableException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Retry-After"))
1189
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1190
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
1191
+
1175
1192
  Stage.add_member(:deployment_id, Shapes::ShapeRef.new(shape: String, location_name: "deploymentId"))
1176
1193
  Stage.add_member(:client_certificate_id, Shapes::ShapeRef.new(shape: String, location_name: "clientCertificateId"))
1177
1194
  Stage.add_member(:stage_name, Shapes::ShapeRef.new(shape: String, location_name: "stageName"))
@@ -1250,6 +1267,13 @@ module Aws::APIGateway
1250
1267
  ThrottleSettings.add_member(:rate_limit, Shapes::ShapeRef.new(shape: Double, location_name: "rateLimit"))
1251
1268
  ThrottleSettings.struct_class = Types::ThrottleSettings
1252
1269
 
1270
+ TooManyRequestsException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Retry-After"))
1271
+ TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1272
+ TooManyRequestsException.struct_class = Types::TooManyRequestsException
1273
+
1274
+ UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1275
+ UnauthorizedException.struct_class = Types::UnauthorizedException
1276
+
1253
1277
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_arn"))
1254
1278
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: ListOfString, required: true, location: "querystring", location_name: "tagKeys"))
1255
1279
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -10,5 +10,132 @@ module Aws::APIGateway
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class BadRequestException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::APIGateway::Types::BadRequestException] 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 ConflictException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::APIGateway::Types::ConflictException] 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 LimitExceededException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::APIGateway::Types::LimitExceededException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def retry_after_seconds
56
+ @data[:retry_after_seconds]
57
+ end
58
+
59
+ # @return [String]
60
+ def message
61
+ @message || @data[:message]
62
+ end
63
+
64
+ end
65
+
66
+ class NotFoundException < ServiceError
67
+
68
+ # @param [Seahorse::Client::RequestContext] context
69
+ # @param [String] message
70
+ # @param [Aws::APIGateway::Types::NotFoundException] data
71
+ def initialize(context, message, data = Aws::EmptyStructure.new)
72
+ super(context, message, data)
73
+ end
74
+
75
+ # @return [String]
76
+ def message
77
+ @message || @data[:message]
78
+ end
79
+
80
+ end
81
+
82
+ class ServiceUnavailableException < ServiceError
83
+
84
+ # @param [Seahorse::Client::RequestContext] context
85
+ # @param [String] message
86
+ # @param [Aws::APIGateway::Types::ServiceUnavailableException] data
87
+ def initialize(context, message, data = Aws::EmptyStructure.new)
88
+ super(context, message, data)
89
+ end
90
+
91
+ # @return [String]
92
+ def retry_after_seconds
93
+ @data[:retry_after_seconds]
94
+ end
95
+
96
+ # @return [String]
97
+ def message
98
+ @message || @data[:message]
99
+ end
100
+
101
+ end
102
+
103
+ class TooManyRequestsException < ServiceError
104
+
105
+ # @param [Seahorse::Client::RequestContext] context
106
+ # @param [String] message
107
+ # @param [Aws::APIGateway::Types::TooManyRequestsException] data
108
+ def initialize(context, message, data = Aws::EmptyStructure.new)
109
+ super(context, message, data)
110
+ end
111
+
112
+ # @return [String]
113
+ def retry_after_seconds
114
+ @data[:retry_after_seconds]
115
+ end
116
+
117
+ # @return [String]
118
+ def message
119
+ @message || @data[:message]
120
+ end
121
+
122
+ end
123
+
124
+ class UnauthorizedException < ServiceError
125
+
126
+ # @param [Seahorse::Client::RequestContext] context
127
+ # @param [String] message
128
+ # @param [Aws::APIGateway::Types::UnauthorizedException] data
129
+ def initialize(context, message, data = Aws::EmptyStructure.new)
130
+ super(context, message, data)
131
+ end
132
+
133
+ # @return [String]
134
+ def message
135
+ @message || @data[:message]
136
+ end
137
+
138
+ end
139
+
13
140
  end
14
141
  end
@@ -385,6 +385,18 @@ module Aws::APIGateway
385
385
  include Aws::Structure
386
386
  end
387
387
 
388
+ # The submitted request is not valid, for example, the input is
389
+ # incomplete or incorrect. See the accompanying error message for
390
+ # details.
391
+ #
392
+ # @!attribute [rw] message
393
+ # @return [String]
394
+ #
395
+ class BadRequestException < Struct.new(
396
+ :message)
397
+ include Aws::Structure
398
+ end
399
+
388
400
  # Represents the base path that callers of the API must provide as part
389
401
  # of the URL after the domain name.
390
402
  #
@@ -557,6 +569,17 @@ module Aws::APIGateway
557
569
  include Aws::Structure
558
570
  end
559
571
 
572
+ # The request configuration has conflicts. For details, see the
573
+ # accompanying error message.
574
+ #
575
+ # @!attribute [rw] message
576
+ # @return [String]
577
+ #
578
+ class ConflictException < Struct.new(
579
+ :message)
580
+ include Aws::Structure
581
+ end
582
+
560
583
  # Request to create an ApiKey resource.
561
584
  #
562
585
  # @note When making an API call, you may pass CreateApiKeyRequest
@@ -4647,6 +4670,21 @@ module Aws::APIGateway
4647
4670
  include Aws::Structure
4648
4671
  end
4649
4672
 
4673
+ # The request exceeded the rate limit. Retry after the specified time
4674
+ # period.
4675
+ #
4676
+ # @!attribute [rw] retry_after_seconds
4677
+ # @return [String]
4678
+ #
4679
+ # @!attribute [rw] message
4680
+ # @return [String]
4681
+ #
4682
+ class LimitExceededException < Struct.new(
4683
+ :retry_after_seconds,
4684
+ :message)
4685
+ include Aws::Structure
4686
+ end
4687
+
4650
4688
  # Represents a client-facing interface by which the client calls the API
4651
4689
  # to access back-end resources. A **Method** resource is integrated with
4652
4690
  # an Integration resource. Both consist of a request and one or more
@@ -5114,6 +5152,17 @@ module Aws::APIGateway
5114
5152
  include Aws::Structure
5115
5153
  end
5116
5154
 
5155
+ # The requested resource is not found. Make sure that the request URI is
5156
+ # correct.
5157
+ #
5158
+ # @!attribute [rw] message
5159
+ # @return [String]
5160
+ #
5161
+ class NotFoundException < Struct.new(
5162
+ :message)
5163
+ include Aws::Structure
5164
+ end
5165
+
5117
5166
  # A single patch operation to apply to the specified resource. Please
5118
5167
  # refer to http://tools.ietf.org/html/rfc6902#section-4 for an
5119
5168
  # explanation of how each operation is used.
@@ -6175,6 +6224,21 @@ module Aws::APIGateway
6175
6224
  include Aws::Structure
6176
6225
  end
6177
6226
 
6227
+ # The requested service is not available. For details see the
6228
+ # accompanying error message. Retry after the specified time period.
6229
+ #
6230
+ # @!attribute [rw] retry_after_seconds
6231
+ # @return [String]
6232
+ #
6233
+ # @!attribute [rw] message
6234
+ # @return [String]
6235
+ #
6236
+ class ServiceUnavailableException < Struct.new(
6237
+ :retry_after_seconds,
6238
+ :message)
6239
+ include Aws::Structure
6240
+ end
6241
+
6178
6242
  # Represents a unique identifier for a version of a deployed RestApi
6179
6243
  # that is callable by users.
6180
6244
  #
@@ -6671,6 +6735,31 @@ module Aws::APIGateway
6671
6735
  include Aws::Structure
6672
6736
  end
6673
6737
 
6738
+ # The request has reached its throttling limit. Retry after the
6739
+ # specified time period.
6740
+ #
6741
+ # @!attribute [rw] retry_after_seconds
6742
+ # @return [String]
6743
+ #
6744
+ # @!attribute [rw] message
6745
+ # @return [String]
6746
+ #
6747
+ class TooManyRequestsException < Struct.new(
6748
+ :retry_after_seconds,
6749
+ :message)
6750
+ include Aws::Structure
6751
+ end
6752
+
6753
+ # The request is denied because the caller has insufficient permissions.
6754
+ #
6755
+ # @!attribute [rw] message
6756
+ # @return [String]
6757
+ #
6758
+ class UnauthorizedException < Struct.new(
6759
+ :message)
6760
+ include Aws::Structure
6761
+ end
6762
+
6674
6763
  # Removes a tag from a given resource.
6675
6764
  #
6676
6765
  # @note When making an API call, you may pass UntagResourceRequest
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-apigateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.28.0
4
+ version: 1.29.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