aws-sdk-apigatewayv2 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 86bece35ff9d5e88f3c8dd3e7a170bcc0aa6ef67
4
+ data.tar.gz: 8298cf2fbc95a795606fce89057d4179cff05e22
5
+ SHA512:
6
+ metadata.gz: 8b447ec25d5aa1852eba81084a115d55a7dfbea6e3449add7aa359942aec9bd82d7bbb90965ed62cb6cbd44fec2a63a25f8e9443346b1006de66a4d8c2d4672f
7
+ data.tar.gz: b3b96c5557caa73628a7dfa9f04d7287c667c743229153bc24265b958855b7ee7baa686c17dda013ffde854ad91eb2d4e1d516d3f8da10f121d4afc289c1b51c
@@ -0,0 +1,47 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ require 'aws-sdk-core'
9
+ require 'aws-sigv4'
10
+
11
+ require_relative 'aws-sdk-apigatewayv2/types'
12
+ require_relative 'aws-sdk-apigatewayv2/client_api'
13
+ require_relative 'aws-sdk-apigatewayv2/client'
14
+ require_relative 'aws-sdk-apigatewayv2/errors'
15
+ require_relative 'aws-sdk-apigatewayv2/resource'
16
+ require_relative 'aws-sdk-apigatewayv2/customizations'
17
+
18
+ # This module provides support for AmazonApiGatewayV2. This module is available in the
19
+ # `aws-sdk-apigatewayv2` gem.
20
+ #
21
+ # # Client
22
+ #
23
+ # The {Client} class provides one method for each API operation. Operation
24
+ # methods each accept a hash of request parameters and return a response
25
+ # structure.
26
+ #
27
+ # See {Client} for more information.
28
+ #
29
+ # # Errors
30
+ #
31
+ # Errors returned from AmazonApiGatewayV2 all
32
+ # extend {Errors::ServiceError}.
33
+ #
34
+ # begin
35
+ # # do stuff
36
+ # rescue Aws::ApiGatewayV2::Errors::ServiceError
37
+ # # rescues all service API errors
38
+ # end
39
+ #
40
+ # See {Errors} for more information.
41
+ #
42
+ # @service
43
+ module Aws::ApiGatewayV2
44
+
45
+ GEM_VERSION = '1.0.0'
46
+
47
+ end
@@ -0,0 +1,3255 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ require 'seahorse/client/plugins/content_length.rb'
9
+ require 'aws-sdk-core/plugins/credentials_configuration.rb'
10
+ require 'aws-sdk-core/plugins/logging.rb'
11
+ require 'aws-sdk-core/plugins/param_converter.rb'
12
+ require 'aws-sdk-core/plugins/param_validator.rb'
13
+ require 'aws-sdk-core/plugins/user_agent.rb'
14
+ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
15
+ require 'aws-sdk-core/plugins/retry_errors.rb'
16
+ require 'aws-sdk-core/plugins/global_configuration.rb'
17
+ require 'aws-sdk-core/plugins/regional_endpoint.rb'
18
+ require 'aws-sdk-core/plugins/endpoint_discovery.rb'
19
+ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
20
+ require 'aws-sdk-core/plugins/response_paging.rb'
21
+ require 'aws-sdk-core/plugins/stub_responses.rb'
22
+ require 'aws-sdk-core/plugins/idempotency_token.rb'
23
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
+ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
+ require 'aws-sdk-core/plugins/signature_v4.rb'
27
+ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
28
+
29
+ Aws::Plugins::GlobalConfiguration.add_identifier(:apigatewayv2)
30
+
31
+ module Aws::ApiGatewayV2
32
+ class Client < Seahorse::Client::Base
33
+
34
+ include Aws::ClientStubs
35
+
36
+ @identifier = :apigatewayv2
37
+
38
+ set_api(ClientApi::API)
39
+
40
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
41
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
42
+ add_plugin(Aws::Plugins::Logging)
43
+ add_plugin(Aws::Plugins::ParamConverter)
44
+ add_plugin(Aws::Plugins::ParamValidator)
45
+ add_plugin(Aws::Plugins::UserAgent)
46
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
47
+ add_plugin(Aws::Plugins::RetryErrors)
48
+ add_plugin(Aws::Plugins::GlobalConfiguration)
49
+ add_plugin(Aws::Plugins::RegionalEndpoint)
50
+ add_plugin(Aws::Plugins::EndpointDiscovery)
51
+ add_plugin(Aws::Plugins::EndpointPattern)
52
+ add_plugin(Aws::Plugins::ResponsePaging)
53
+ add_plugin(Aws::Plugins::StubResponses)
54
+ add_plugin(Aws::Plugins::IdempotencyToken)
55
+ add_plugin(Aws::Plugins::JsonvalueConverter)
56
+ add_plugin(Aws::Plugins::ClientMetricsPlugin)
57
+ add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
58
+ add_plugin(Aws::Plugins::SignatureV4)
59
+ add_plugin(Aws::Plugins::Protocols::RestJson)
60
+
61
+ # @overload initialize(options)
62
+ # @param [Hash] options
63
+ # @option options [required, Aws::CredentialProvider] :credentials
64
+ # Your AWS credentials. This can be an instance of any one of the
65
+ # following classes:
66
+ #
67
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
68
+ # credentials.
69
+ #
70
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
71
+ # from an EC2 IMDS on an EC2 instance.
72
+ #
73
+ # * `Aws::SharedCredentials` - Used for loading credentials from a
74
+ # shared file, such as `~/.aws/config`.
75
+ #
76
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
77
+ #
78
+ # When `:credentials` are not configured directly, the following
79
+ # locations will be searched for credentials:
80
+ #
81
+ # * `Aws.config[:credentials]`
82
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
83
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
84
+ # * `~/.aws/credentials`
85
+ # * `~/.aws/config`
86
+ # * EC2 IMDS instance profile - When used by default, the timeouts are
87
+ # very aggressive. Construct and pass an instance of
88
+ # `Aws::InstanceProfileCredentails` to enable retries and extended
89
+ # timeouts.
90
+ #
91
+ # @option options [required, String] :region
92
+ # The AWS region to connect to. The configured `:region` is
93
+ # used to determine the service `:endpoint`. When not passed,
94
+ # a default `:region` is search for in the following locations:
95
+ #
96
+ # * `Aws.config[:region]`
97
+ # * `ENV['AWS_REGION']`
98
+ # * `ENV['AMAZON_REGION']`
99
+ # * `ENV['AWS_DEFAULT_REGION']`
100
+ # * `~/.aws/credentials`
101
+ # * `~/.aws/config`
102
+ #
103
+ # @option options [String] :access_key_id
104
+ #
105
+ # @option options [Boolean] :active_endpoint_cache (false)
106
+ # When set to `true`, a thread polling for endpoints will be running in
107
+ # the background every 60 secs (default). Defaults to `false`.
108
+ #
109
+ # @option options [Boolean] :client_side_monitoring (false)
110
+ # When `true`, client-side metrics will be collected for all API requests from
111
+ # this client.
112
+ #
113
+ # @option options [String] :client_side_monitoring_client_id ("")
114
+ # Allows you to provide an identifier for this client which will be attached to
115
+ # all generated client side metrics. Defaults to an empty string.
116
+ #
117
+ # @option options [Integer] :client_side_monitoring_port (31000)
118
+ # Required for publishing client metrics. The port that the client side monitoring
119
+ # agent is running on, where client metrics will be published via UDP.
120
+ #
121
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
122
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
123
+ # will use the Client Side Monitoring Agent Publisher.
124
+ #
125
+ # @option options [Boolean] :convert_params (true)
126
+ # When `true`, an attempt is made to coerce request parameters into
127
+ # the required types.
128
+ #
129
+ # @option options [Boolean] :disable_host_prefix_injection (false)
130
+ # Set to true to disable SDK automatically adding host prefix
131
+ # to default service endpoint when available.
132
+ #
133
+ # @option options [String] :endpoint
134
+ # The client endpoint is normally constructed from the `:region`
135
+ # option. You should only configure an `:endpoint` when connecting
136
+ # to test endpoints. This should be avalid HTTP(S) URI.
137
+ #
138
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
139
+ # Used for the maximum size limit of the LRU cache storing endpoints data
140
+ # for endpoint discovery enabled operations. Defaults to 1000.
141
+ #
142
+ # @option options [Integer] :endpoint_cache_max_threads (10)
143
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
144
+ #
145
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
146
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
147
+ # Use this option to config the time interval in seconds for making
148
+ # requests fetching endpoints information. Defaults to 60 sec.
149
+ #
150
+ # @option options [Boolean] :endpoint_discovery (false)
151
+ # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
152
+ #
153
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
154
+ # The log formatter.
155
+ #
156
+ # @option options [Symbol] :log_level (:info)
157
+ # The log level to send messages to the `:logger` at.
158
+ #
159
+ # @option options [Logger] :logger
160
+ # The Logger instance to send log messages to. If this option
161
+ # is not set, logging will be disabled.
162
+ #
163
+ # @option options [String] :profile ("default")
164
+ # Used when loading credentials from the shared credentials file
165
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
166
+ #
167
+ # @option options [Float] :retry_base_delay (0.3)
168
+ # The base delay in seconds used by the default backoff function.
169
+ #
170
+ # @option options [Symbol] :retry_jitter (:none)
171
+ # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
172
+ #
173
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
174
+ #
175
+ # @option options [Integer] :retry_limit (3)
176
+ # The maximum number of times to retry failed requests. Only
177
+ # ~ 500 level server errors and certain ~ 400 level client errors
178
+ # are retried. Generally, these are throttling errors, data
179
+ # checksum errors, networking errors, timeout errors and auth
180
+ # errors from expired credentials.
181
+ #
182
+ # @option options [Integer] :retry_max_delay (0)
183
+ # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
184
+ #
185
+ # @option options [String] :secret_access_key
186
+ #
187
+ # @option options [String] :session_token
188
+ #
189
+ # @option options [Boolean] :stub_responses (false)
190
+ # Causes the client to return stubbed responses. By default
191
+ # fake responses are generated and returned. You can specify
192
+ # the response data to return or errors to raise by calling
193
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
194
+ #
195
+ # ** Please note ** When response stubbing is enabled, no HTTP
196
+ # requests are made, and retries are disabled.
197
+ #
198
+ # @option options [Boolean] :validate_params (true)
199
+ # When `true`, request parameters are validated before
200
+ # sending the request.
201
+ #
202
+ def initialize(*args)
203
+ super
204
+ end
205
+
206
+ # @!group API Operations
207
+
208
+ # Creates an Api resource.
209
+ #
210
+ # @option params [String] :api_key_selection_expression
211
+ # An expression used to extract information at runtime. See [Selection
212
+ # Expressions][1] for more information.
213
+ #
214
+ #
215
+ #
216
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
217
+ #
218
+ # @option params [String] :description
219
+ # A string with a length between \[0-1024\].
220
+ #
221
+ # @option params [Boolean] :disable_schema_validation
222
+ #
223
+ # @option params [required, String] :name
224
+ # A string with a length between \[1-128\].
225
+ #
226
+ # @option params [required, String] :protocol_type
227
+ #
228
+ # @option params [required, String] :route_selection_expression
229
+ # An expression used to extract information at runtime. See [Selection
230
+ # Expressions][1] for more information.
231
+ #
232
+ #
233
+ #
234
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
235
+ #
236
+ # @option params [String] :version
237
+ # A string with a length between \[1-64\].
238
+ #
239
+ # @return [Types::CreateApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
240
+ #
241
+ # * {Types::CreateApiResponse#api_endpoint #api_endpoint} => String
242
+ # * {Types::CreateApiResponse#api_id #api_id} => String
243
+ # * {Types::CreateApiResponse#api_key_selection_expression #api_key_selection_expression} => String
244
+ # * {Types::CreateApiResponse#created_date #created_date} => Time
245
+ # * {Types::CreateApiResponse#description #description} => String
246
+ # * {Types::CreateApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
247
+ # * {Types::CreateApiResponse#name #name} => String
248
+ # * {Types::CreateApiResponse#protocol_type #protocol_type} => String
249
+ # * {Types::CreateApiResponse#route_selection_expression #route_selection_expression} => String
250
+ # * {Types::CreateApiResponse#version #version} => String
251
+ # * {Types::CreateApiResponse#warnings #warnings} => Array&lt;String&gt;
252
+ #
253
+ # @example Request syntax with placeholder values
254
+ #
255
+ # resp = client.create_api({
256
+ # api_key_selection_expression: "SelectionExpression",
257
+ # description: "StringWithLengthBetween0And1024",
258
+ # disable_schema_validation: false,
259
+ # name: "StringWithLengthBetween1And128", # required
260
+ # protocol_type: "WEBSOCKET", # required, accepts WEBSOCKET
261
+ # route_selection_expression: "SelectionExpression", # required
262
+ # version: "StringWithLengthBetween1And64",
263
+ # })
264
+ #
265
+ # @example Response structure
266
+ #
267
+ # resp.api_endpoint #=> String
268
+ # resp.api_id #=> String
269
+ # resp.api_key_selection_expression #=> String
270
+ # resp.created_date #=> Time
271
+ # resp.description #=> String
272
+ # resp.disable_schema_validation #=> Boolean
273
+ # resp.name #=> String
274
+ # resp.protocol_type #=> String, one of "WEBSOCKET"
275
+ # resp.route_selection_expression #=> String
276
+ # resp.version #=> String
277
+ # resp.warnings #=> Array
278
+ # resp.warnings[0] #=> String
279
+ #
280
+ # @overload create_api(params = {})
281
+ # @param [Hash] params ({})
282
+ def create_api(params = {}, options = {})
283
+ req = build_request(:create_api, params)
284
+ req.send_request(options)
285
+ end
286
+
287
+ # Creates an API mapping.
288
+ #
289
+ # @option params [required, String] :api_id
290
+ # An API Gateway-generated, unique identifier.
291
+ #
292
+ # @option params [String] :api_mapping_key
293
+ # After evaulating a selection expression, the result is compared
294
+ # against one or more selection keys to find a matching key. See
295
+ # [Selection Expressions][1] for a list of expressions and each
296
+ # expression's associated selection key type.
297
+ #
298
+ #
299
+ #
300
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
301
+ #
302
+ # @option params [required, String] :domain_name
303
+ #
304
+ # @option params [required, String] :stage
305
+ # A string with a length between \[1-128\].
306
+ #
307
+ # @return [Types::CreateApiMappingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
308
+ #
309
+ # * {Types::CreateApiMappingResponse#api_id #api_id} => String
310
+ # * {Types::CreateApiMappingResponse#api_mapping_id #api_mapping_id} => String
311
+ # * {Types::CreateApiMappingResponse#api_mapping_key #api_mapping_key} => String
312
+ # * {Types::CreateApiMappingResponse#stage #stage} => String
313
+ #
314
+ # @example Request syntax with placeholder values
315
+ #
316
+ # resp = client.create_api_mapping({
317
+ # api_id: "Id", # required
318
+ # api_mapping_key: "SelectionKey",
319
+ # domain_name: "__string", # required
320
+ # stage: "StringWithLengthBetween1And128", # required
321
+ # })
322
+ #
323
+ # @example Response structure
324
+ #
325
+ # resp.api_id #=> String
326
+ # resp.api_mapping_id #=> String
327
+ # resp.api_mapping_key #=> String
328
+ # resp.stage #=> String
329
+ #
330
+ # @overload create_api_mapping(params = {})
331
+ # @param [Hash] params ({})
332
+ def create_api_mapping(params = {}, options = {})
333
+ req = build_request(:create_api_mapping, params)
334
+ req.send_request(options)
335
+ end
336
+
337
+ # Creates an Authorizer for an API.
338
+ #
339
+ # @option params [required, String] :api_id
340
+ #
341
+ # @option params [String] :authorizer_credentials_arn
342
+ # Represents an Amazon Resource Name (ARN).
343
+ #
344
+ # @option params [Integer] :authorizer_result_ttl_in_seconds
345
+ # An integer with a value between \[0-3600\].
346
+ #
347
+ # @option params [required, String] :authorizer_type
348
+ # The authorizer type. Currently the only valid value is REQUEST, for a
349
+ # Lambda function using incoming request parameters.
350
+ #
351
+ # @option params [required, String] :authorizer_uri
352
+ # A string representation of a URI with a length between \[1-2048\].
353
+ #
354
+ # @option params [required, Array<String>] :identity_source
355
+ # The identity source for which authorization is requested.
356
+ #
357
+ # For the REQUEST authorizer, this is required when authorization
358
+ # caching is enabled. The value is a comma-separated string of one or
359
+ # more mapping expressions of the specified request parameters. For
360
+ # example, if an Auth header, a Name query string parameter are defined
361
+ # as identity sources, this value is $method.request.header.Auth,
362
+ # $method.request.querystring.Name. These parameters will be used to
363
+ # derive the authorization caching key and to perform runtime validation
364
+ # of the REQUEST authorizer by verifying all of the identity-related
365
+ # request parameters are present, not null and non-empty. Only when this
366
+ # is true does the authorizer invoke the authorizer Lambda function,
367
+ # otherwise, it returns a 401 Unauthorized response without calling the
368
+ # Lambda function. The valid value is a string of comma-separated
369
+ # mapping expressions of the specified request parameters. When the
370
+ # authorization caching is not enabled, this property is optional.
371
+ #
372
+ # @option params [String] :identity_validation_expression
373
+ # A string with a length between \[0-1024\].
374
+ #
375
+ # @option params [required, String] :name
376
+ # A string with a length between \[1-128\].
377
+ #
378
+ # @option params [Array<String>] :provider_arns
379
+ # For REQUEST authorizer, this is not defined.
380
+ #
381
+ # @return [Types::CreateAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
382
+ #
383
+ # * {Types::CreateAuthorizerResponse#authorizer_credentials_arn #authorizer_credentials_arn} => String
384
+ # * {Types::CreateAuthorizerResponse#authorizer_id #authorizer_id} => String
385
+ # * {Types::CreateAuthorizerResponse#authorizer_result_ttl_in_seconds #authorizer_result_ttl_in_seconds} => Integer
386
+ # * {Types::CreateAuthorizerResponse#authorizer_type #authorizer_type} => String
387
+ # * {Types::CreateAuthorizerResponse#authorizer_uri #authorizer_uri} => String
388
+ # * {Types::CreateAuthorizerResponse#identity_source #identity_source} => Array&lt;String&gt;
389
+ # * {Types::CreateAuthorizerResponse#identity_validation_expression #identity_validation_expression} => String
390
+ # * {Types::CreateAuthorizerResponse#name #name} => String
391
+ # * {Types::CreateAuthorizerResponse#provider_arns #provider_arns} => Array&lt;String&gt;
392
+ #
393
+ # @example Request syntax with placeholder values
394
+ #
395
+ # resp = client.create_authorizer({
396
+ # api_id: "__string", # required
397
+ # authorizer_credentials_arn: "Arn",
398
+ # authorizer_result_ttl_in_seconds: 1,
399
+ # authorizer_type: "REQUEST", # required, accepts REQUEST
400
+ # authorizer_uri: "UriWithLengthBetween1And2048", # required
401
+ # identity_source: ["__string"], # required
402
+ # identity_validation_expression: "StringWithLengthBetween0And1024",
403
+ # name: "StringWithLengthBetween1And128", # required
404
+ # provider_arns: ["Arn"],
405
+ # })
406
+ #
407
+ # @example Response structure
408
+ #
409
+ # resp.authorizer_credentials_arn #=> String
410
+ # resp.authorizer_id #=> String
411
+ # resp.authorizer_result_ttl_in_seconds #=> Integer
412
+ # resp.authorizer_type #=> String, one of "REQUEST"
413
+ # resp.authorizer_uri #=> String
414
+ # resp.identity_source #=> Array
415
+ # resp.identity_source[0] #=> String
416
+ # resp.identity_validation_expression #=> String
417
+ # resp.name #=> String
418
+ # resp.provider_arns #=> Array
419
+ # resp.provider_arns[0] #=> String
420
+ #
421
+ # @overload create_authorizer(params = {})
422
+ # @param [Hash] params ({})
423
+ def create_authorizer(params = {}, options = {})
424
+ req = build_request(:create_authorizer, params)
425
+ req.send_request(options)
426
+ end
427
+
428
+ # Creates a Deployment for an API.
429
+ #
430
+ # @option params [required, String] :api_id
431
+ #
432
+ # @option params [String] :description
433
+ # A string with a length between \[0-1024\].
434
+ #
435
+ # @option params [String] :stage_name
436
+ # A string with a length between \[1-128\].
437
+ #
438
+ # @return [Types::CreateDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
439
+ #
440
+ # * {Types::CreateDeploymentResponse#created_date #created_date} => Time
441
+ # * {Types::CreateDeploymentResponse#deployment_id #deployment_id} => String
442
+ # * {Types::CreateDeploymentResponse#deployment_status #deployment_status} => String
443
+ # * {Types::CreateDeploymentResponse#deployment_status_message #deployment_status_message} => String
444
+ # * {Types::CreateDeploymentResponse#description #description} => String
445
+ #
446
+ # @example Request syntax with placeholder values
447
+ #
448
+ # resp = client.create_deployment({
449
+ # api_id: "__string", # required
450
+ # description: "StringWithLengthBetween0And1024",
451
+ # stage_name: "StringWithLengthBetween1And128",
452
+ # })
453
+ #
454
+ # @example Response structure
455
+ #
456
+ # resp.created_date #=> Time
457
+ # resp.deployment_id #=> String
458
+ # resp.deployment_status #=> String, one of "PENDING", "FAILED", "DEPLOYED"
459
+ # resp.deployment_status_message #=> String
460
+ # resp.description #=> String
461
+ #
462
+ # @overload create_deployment(params = {})
463
+ # @param [Hash] params ({})
464
+ def create_deployment(params = {}, options = {})
465
+ req = build_request(:create_deployment, params)
466
+ req.send_request(options)
467
+ end
468
+
469
+ # Creates a domain name.
470
+ #
471
+ # @option params [required, String] :domain_name
472
+ # A string with a length between \[1-512\].
473
+ #
474
+ # @option params [Array<Types::DomainNameConfiguration>] :domain_name_configurations
475
+ # The domain name configurations.
476
+ #
477
+ # @return [Types::CreateDomainNameResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
478
+ #
479
+ # * {Types::CreateDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
480
+ # * {Types::CreateDomainNameResponse#domain_name #domain_name} => String
481
+ # * {Types::CreateDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array&lt;Types::DomainNameConfiguration&gt;
482
+ #
483
+ # @example Request syntax with placeholder values
484
+ #
485
+ # resp = client.create_domain_name({
486
+ # domain_name: "StringWithLengthBetween1And512", # required
487
+ # domain_name_configurations: [
488
+ # {
489
+ # api_gateway_domain_name: "__string",
490
+ # certificate_arn: "Arn",
491
+ # certificate_name: "StringWithLengthBetween1And128",
492
+ # certificate_upload_date: Time.now,
493
+ # endpoint_type: "REGIONAL", # accepts REGIONAL, EDGE
494
+ # hosted_zone_id: "__string",
495
+ # },
496
+ # ],
497
+ # })
498
+ #
499
+ # @example Response structure
500
+ #
501
+ # resp.api_mapping_selection_expression #=> String
502
+ # resp.domain_name #=> String
503
+ # resp.domain_name_configurations #=> Array
504
+ # resp.domain_name_configurations[0].api_gateway_domain_name #=> String
505
+ # resp.domain_name_configurations[0].certificate_arn #=> String
506
+ # resp.domain_name_configurations[0].certificate_name #=> String
507
+ # resp.domain_name_configurations[0].certificate_upload_date #=> Time
508
+ # resp.domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
509
+ # resp.domain_name_configurations[0].hosted_zone_id #=> String
510
+ #
511
+ # @overload create_domain_name(params = {})
512
+ # @param [Hash] params ({})
513
+ def create_domain_name(params = {}, options = {})
514
+ req = build_request(:create_domain_name, params)
515
+ req.send_request(options)
516
+ end
517
+
518
+ # Creates an Integration.
519
+ #
520
+ # @option params [required, String] :api_id
521
+ #
522
+ # @option params [String] :connection_id
523
+ # A string with a length between \[1-1024\].
524
+ #
525
+ # @option params [String] :connection_type
526
+ # Represents a connection type.
527
+ #
528
+ # @option params [String] :content_handling_strategy
529
+ # Specifies how to handle response payload content type conversions.
530
+ #
531
+ # @option params [String] :credentials_arn
532
+ # Represents an Amazon Resource Name (ARN).
533
+ #
534
+ # @option params [String] :description
535
+ # A string with a length between \[0-1024\].
536
+ #
537
+ # @option params [String] :integration_method
538
+ # A string with a length between \[1-64\].
539
+ #
540
+ # @option params [String] :integration_type
541
+ # Represents an API method integration type.
542
+ #
543
+ # @option params [String] :integration_uri
544
+ # A string representation of a URI with a length between \[1-2048\].
545
+ #
546
+ # @option params [String] :passthrough_behavior
547
+ # Represents passthrough behavior for an integration response.
548
+ #
549
+ # @option params [Hash<String,String>] :request_parameters
550
+ # A key-value map specifying response parameters that are passed to the
551
+ # method response from the backend. The key is a method response header
552
+ # parameter name and the mapped value is an integration response header
553
+ # value, a static value enclosed within a pair of single quotes, or a
554
+ # JSON expression from the integration response body. The mapping key
555
+ # must match the pattern of method.response.header.\\\{name\\}, where
556
+ # name is a valid and unique header name. The mapped non-static value
557
+ # must match the pattern of integration.response.header.\\\{name\\} or
558
+ # integration.response.body.\\\{JSON-expression\\}, where name is a
559
+ # valid and unique response header name and JSON-expression is a valid
560
+ # JSON expression without the $ prefix.
561
+ #
562
+ # @option params [Hash<String,String>] :request_templates
563
+ # A mapping of identifier keys to templates. The value is an actual
564
+ # template script. The key is typically a SelectionKey which is chosen
565
+ # based on evaluating a selection expression.
566
+ #
567
+ # @option params [String] :template_selection_expression
568
+ # An expression used to extract information at runtime. See [Selection
569
+ # Expressions][1] for more information.
570
+ #
571
+ #
572
+ #
573
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
574
+ #
575
+ # @option params [Integer] :timeout_in_millis
576
+ # An integer with a value between \[50-29000\].
577
+ #
578
+ # @return [Types::CreateIntegrationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
579
+ #
580
+ # * {Types::CreateIntegrationResult#connection_id #connection_id} => String
581
+ # * {Types::CreateIntegrationResult#connection_type #connection_type} => String
582
+ # * {Types::CreateIntegrationResult#content_handling_strategy #content_handling_strategy} => String
583
+ # * {Types::CreateIntegrationResult#credentials_arn #credentials_arn} => String
584
+ # * {Types::CreateIntegrationResult#description #description} => String
585
+ # * {Types::CreateIntegrationResult#integration_id #integration_id} => String
586
+ # * {Types::CreateIntegrationResult#integration_method #integration_method} => String
587
+ # * {Types::CreateIntegrationResult#integration_response_selection_expression #integration_response_selection_expression} => String
588
+ # * {Types::CreateIntegrationResult#integration_type #integration_type} => String
589
+ # * {Types::CreateIntegrationResult#integration_uri #integration_uri} => String
590
+ # * {Types::CreateIntegrationResult#passthrough_behavior #passthrough_behavior} => String
591
+ # * {Types::CreateIntegrationResult#request_parameters #request_parameters} => Hash&lt;String,String&gt;
592
+ # * {Types::CreateIntegrationResult#request_templates #request_templates} => Hash&lt;String,String&gt;
593
+ # * {Types::CreateIntegrationResult#template_selection_expression #template_selection_expression} => String
594
+ # * {Types::CreateIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
595
+ #
596
+ # @example Request syntax with placeholder values
597
+ #
598
+ # resp = client.create_integration({
599
+ # api_id: "__string", # required
600
+ # connection_id: "StringWithLengthBetween1And1024",
601
+ # connection_type: "INTERNET", # accepts INTERNET, VPC_LINK
602
+ # content_handling_strategy: "CONVERT_TO_BINARY", # accepts CONVERT_TO_BINARY, CONVERT_TO_TEXT
603
+ # credentials_arn: "Arn",
604
+ # description: "StringWithLengthBetween0And1024",
605
+ # integration_method: "StringWithLengthBetween1And64",
606
+ # integration_type: "AWS", # accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY
607
+ # integration_uri: "UriWithLengthBetween1And2048",
608
+ # passthrough_behavior: "WHEN_NO_MATCH", # accepts WHEN_NO_MATCH, NEVER, WHEN_NO_TEMPLATES
609
+ # request_parameters: {
610
+ # "__string" => "StringWithLengthBetween1And512",
611
+ # },
612
+ # request_templates: {
613
+ # "__string" => "StringWithLengthBetween0And32K",
614
+ # },
615
+ # template_selection_expression: "SelectionExpression",
616
+ # timeout_in_millis: 1,
617
+ # })
618
+ #
619
+ # @example Response structure
620
+ #
621
+ # resp.connection_id #=> String
622
+ # resp.connection_type #=> String, one of "INTERNET", "VPC_LINK"
623
+ # resp.content_handling_strategy #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
624
+ # resp.credentials_arn #=> String
625
+ # resp.description #=> String
626
+ # resp.integration_id #=> String
627
+ # resp.integration_method #=> String
628
+ # resp.integration_response_selection_expression #=> String
629
+ # resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
630
+ # resp.integration_uri #=> String
631
+ # resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
632
+ # resp.request_parameters #=> Hash
633
+ # resp.request_parameters["__string"] #=> String
634
+ # resp.request_templates #=> Hash
635
+ # resp.request_templates["__string"] #=> String
636
+ # resp.template_selection_expression #=> String
637
+ # resp.timeout_in_millis #=> Integer
638
+ #
639
+ # @overload create_integration(params = {})
640
+ # @param [Hash] params ({})
641
+ def create_integration(params = {}, options = {})
642
+ req = build_request(:create_integration, params)
643
+ req.send_request(options)
644
+ end
645
+
646
+ # Creates an IntegrationResponses.
647
+ #
648
+ # @option params [required, String] :api_id
649
+ #
650
+ # @option params [String] :content_handling_strategy
651
+ # Specifies how to handle response payload content type conversions.
652
+ #
653
+ # @option params [required, String] :integration_id
654
+ #
655
+ # @option params [required, String] :integration_response_key
656
+ # After evaulating a selection expression, the result is compared
657
+ # against one or more selection keys to find a matching key. See
658
+ # [Selection Expressions][1] for a list of expressions and each
659
+ # expression's associated selection key type.
660
+ #
661
+ #
662
+ #
663
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
664
+ #
665
+ # @option params [Hash<String,String>] :response_parameters
666
+ # A key-value map specifying response parameters that are passed to the
667
+ # method response from the backend. The key is a method response header
668
+ # parameter name and the mapped value is an integration response header
669
+ # value, a static value enclosed within a pair of single quotes, or a
670
+ # JSON expression from the integration response body. The mapping key
671
+ # must match the pattern of method.response.header.\\\{name\\}, where
672
+ # name is a valid and unique header name. The mapped non-static value
673
+ # must match the pattern of integration.response.header.\\\{name\\} or
674
+ # integration.response.body.\\\{JSON-expression\\}, where name is a
675
+ # valid and unique response header name and JSON-expression is a valid
676
+ # JSON expression without the $ prefix.
677
+ #
678
+ # @option params [Hash<String,String>] :response_templates
679
+ # A mapping of identifier keys to templates. The value is an actual
680
+ # template script. The key is typically a SelectionKey which is chosen
681
+ # based on evaluating a selection expression.
682
+ #
683
+ # @option params [String] :template_selection_expression
684
+ # An expression used to extract information at runtime. See [Selection
685
+ # Expressions][1] for more information.
686
+ #
687
+ #
688
+ #
689
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
690
+ #
691
+ # @return [Types::CreateIntegrationResponseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
692
+ #
693
+ # * {Types::CreateIntegrationResponseResponse#content_handling_strategy #content_handling_strategy} => String
694
+ # * {Types::CreateIntegrationResponseResponse#integration_response_id #integration_response_id} => String
695
+ # * {Types::CreateIntegrationResponseResponse#integration_response_key #integration_response_key} => String
696
+ # * {Types::CreateIntegrationResponseResponse#response_parameters #response_parameters} => Hash&lt;String,String&gt;
697
+ # * {Types::CreateIntegrationResponseResponse#response_templates #response_templates} => Hash&lt;String,String&gt;
698
+ # * {Types::CreateIntegrationResponseResponse#template_selection_expression #template_selection_expression} => String
699
+ #
700
+ # @example Request syntax with placeholder values
701
+ #
702
+ # resp = client.create_integration_response({
703
+ # api_id: "__string", # required
704
+ # content_handling_strategy: "CONVERT_TO_BINARY", # accepts CONVERT_TO_BINARY, CONVERT_TO_TEXT
705
+ # integration_id: "__string", # required
706
+ # integration_response_key: "SelectionKey", # required
707
+ # response_parameters: {
708
+ # "__string" => "StringWithLengthBetween1And512",
709
+ # },
710
+ # response_templates: {
711
+ # "__string" => "StringWithLengthBetween0And32K",
712
+ # },
713
+ # template_selection_expression: "SelectionExpression",
714
+ # })
715
+ #
716
+ # @example Response structure
717
+ #
718
+ # resp.content_handling_strategy #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
719
+ # resp.integration_response_id #=> String
720
+ # resp.integration_response_key #=> String
721
+ # resp.response_parameters #=> Hash
722
+ # resp.response_parameters["__string"] #=> String
723
+ # resp.response_templates #=> Hash
724
+ # resp.response_templates["__string"] #=> String
725
+ # resp.template_selection_expression #=> String
726
+ #
727
+ # @overload create_integration_response(params = {})
728
+ # @param [Hash] params ({})
729
+ def create_integration_response(params = {}, options = {})
730
+ req = build_request(:create_integration_response, params)
731
+ req.send_request(options)
732
+ end
733
+
734
+ # Creates a Model for an API.
735
+ #
736
+ # @option params [required, String] :api_id
737
+ #
738
+ # @option params [String] :content_type
739
+ # A string with a length between \[1-256\].
740
+ #
741
+ # @option params [String] :description
742
+ # A string with a length between \[0-1024\].
743
+ #
744
+ # @option params [required, String] :name
745
+ # A string with a length between \[1-128\].
746
+ #
747
+ # @option params [String] :schema
748
+ # A string with a length between \[0-32768\].
749
+ #
750
+ # @return [Types::CreateModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
751
+ #
752
+ # * {Types::CreateModelResponse#content_type #content_type} => String
753
+ # * {Types::CreateModelResponse#description #description} => String
754
+ # * {Types::CreateModelResponse#model_id #model_id} => String
755
+ # * {Types::CreateModelResponse#name #name} => String
756
+ # * {Types::CreateModelResponse#schema #schema} => String
757
+ #
758
+ # @example Request syntax with placeholder values
759
+ #
760
+ # resp = client.create_model({
761
+ # api_id: "__string", # required
762
+ # content_type: "StringWithLengthBetween1And256",
763
+ # description: "StringWithLengthBetween0And1024",
764
+ # name: "StringWithLengthBetween1And128", # required
765
+ # schema: "StringWithLengthBetween0And32K",
766
+ # })
767
+ #
768
+ # @example Response structure
769
+ #
770
+ # resp.content_type #=> String
771
+ # resp.description #=> String
772
+ # resp.model_id #=> String
773
+ # resp.name #=> String
774
+ # resp.schema #=> String
775
+ #
776
+ # @overload create_model(params = {})
777
+ # @param [Hash] params ({})
778
+ def create_model(params = {}, options = {})
779
+ req = build_request(:create_model, params)
780
+ req.send_request(options)
781
+ end
782
+
783
+ # Creates a Route for an API.
784
+ #
785
+ # @option params [required, String] :api_id
786
+ #
787
+ # @option params [Boolean] :api_key_required
788
+ #
789
+ # @option params [Array<String>] :authorization_scopes
790
+ # A list of authorization scopes configured on a route. The scopes are
791
+ # used with a COGNITO\_USER\_POOLS authorizer to authorize the method
792
+ # invocation. The authorization works by matching the route scopes
793
+ # against the scopes parsed from the access token in the incoming
794
+ # request. The method invocation is authorized if any route scope
795
+ # matches a claimed scope in the access token. Otherwise, the invocation
796
+ # is not authorized. When the route scope is configured, the client must
797
+ # provide an access token instead of an identity token for authorization
798
+ # purposes.
799
+ #
800
+ # @option params [String] :authorization_type
801
+ # The authorization type. Valid values are NONE for open access,
802
+ # AWS\_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda
803
+ # authorizer.
804
+ #
805
+ # @option params [String] :authorizer_id
806
+ # An API Gateway-generated, unique identifier.
807
+ #
808
+ # @option params [String] :model_selection_expression
809
+ # An expression used to extract information at runtime. See [Selection
810
+ # Expressions][1] for more information.
811
+ #
812
+ #
813
+ #
814
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
815
+ #
816
+ # @option params [String] :operation_name
817
+ # A string with a length between \[1-64\].
818
+ #
819
+ # @option params [Hash<String,String>] :request_models
820
+ # The route models.
821
+ #
822
+ # @option params [Hash<String,Types::ParameterConstraints>] :request_parameters
823
+ # The route parameters.
824
+ #
825
+ # @option params [required, String] :route_key
826
+ # After evaulating a selection expression, the result is compared
827
+ # against one or more selection keys to find a matching key. See
828
+ # [Selection Expressions][1] for a list of expressions and each
829
+ # expression's associated selection key type.
830
+ #
831
+ #
832
+ #
833
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
834
+ #
835
+ # @option params [String] :route_response_selection_expression
836
+ # An expression used to extract information at runtime. See [Selection
837
+ # Expressions][1] for more information.
838
+ #
839
+ #
840
+ #
841
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
842
+ #
843
+ # @option params [String] :target
844
+ # A string with a length between \[1-128\].
845
+ #
846
+ # @return [Types::CreateRouteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
847
+ #
848
+ # * {Types::CreateRouteResult#api_key_required #api_key_required} => Boolean
849
+ # * {Types::CreateRouteResult#authorization_scopes #authorization_scopes} => Array&lt;String&gt;
850
+ # * {Types::CreateRouteResult#authorization_type #authorization_type} => String
851
+ # * {Types::CreateRouteResult#authorizer_id #authorizer_id} => String
852
+ # * {Types::CreateRouteResult#model_selection_expression #model_selection_expression} => String
853
+ # * {Types::CreateRouteResult#operation_name #operation_name} => String
854
+ # * {Types::CreateRouteResult#request_models #request_models} => Hash&lt;String,String&gt;
855
+ # * {Types::CreateRouteResult#request_parameters #request_parameters} => Hash&lt;String,Types::ParameterConstraints&gt;
856
+ # * {Types::CreateRouteResult#route_id #route_id} => String
857
+ # * {Types::CreateRouteResult#route_key #route_key} => String
858
+ # * {Types::CreateRouteResult#route_response_selection_expression #route_response_selection_expression} => String
859
+ # * {Types::CreateRouteResult#target #target} => String
860
+ #
861
+ # @example Request syntax with placeholder values
862
+ #
863
+ # resp = client.create_route({
864
+ # api_id: "__string", # required
865
+ # api_key_required: false,
866
+ # authorization_scopes: ["StringWithLengthBetween1And64"],
867
+ # authorization_type: "NONE", # accepts NONE, AWS_IAM, CUSTOM
868
+ # authorizer_id: "Id",
869
+ # model_selection_expression: "SelectionExpression",
870
+ # operation_name: "StringWithLengthBetween1And64",
871
+ # request_models: {
872
+ # "__string" => "StringWithLengthBetween1And128",
873
+ # },
874
+ # request_parameters: {
875
+ # "__string" => {
876
+ # required: false,
877
+ # },
878
+ # },
879
+ # route_key: "SelectionKey", # required
880
+ # route_response_selection_expression: "SelectionExpression",
881
+ # target: "StringWithLengthBetween1And128",
882
+ # })
883
+ #
884
+ # @example Response structure
885
+ #
886
+ # resp.api_key_required #=> Boolean
887
+ # resp.authorization_scopes #=> Array
888
+ # resp.authorization_scopes[0] #=> String
889
+ # resp.authorization_type #=> String, one of "NONE", "AWS_IAM", "CUSTOM"
890
+ # resp.authorizer_id #=> String
891
+ # resp.model_selection_expression #=> String
892
+ # resp.operation_name #=> String
893
+ # resp.request_models #=> Hash
894
+ # resp.request_models["__string"] #=> String
895
+ # resp.request_parameters #=> Hash
896
+ # resp.request_parameters["__string"].required #=> Boolean
897
+ # resp.route_id #=> String
898
+ # resp.route_key #=> String
899
+ # resp.route_response_selection_expression #=> String
900
+ # resp.target #=> String
901
+ #
902
+ # @overload create_route(params = {})
903
+ # @param [Hash] params ({})
904
+ def create_route(params = {}, options = {})
905
+ req = build_request(:create_route, params)
906
+ req.send_request(options)
907
+ end
908
+
909
+ # Creates a RouteResponse for a Route.
910
+ #
911
+ # @option params [required, String] :api_id
912
+ #
913
+ # @option params [String] :model_selection_expression
914
+ # An expression used to extract information at runtime. See [Selection
915
+ # Expressions][1] for more information.
916
+ #
917
+ #
918
+ #
919
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
920
+ #
921
+ # @option params [Hash<String,String>] :response_models
922
+ # The route models.
923
+ #
924
+ # @option params [Hash<String,Types::ParameterConstraints>] :response_parameters
925
+ # The route parameters.
926
+ #
927
+ # @option params [required, String] :route_id
928
+ #
929
+ # @option params [required, String] :route_response_key
930
+ # After evaulating a selection expression, the result is compared
931
+ # against one or more selection keys to find a matching key. See
932
+ # [Selection Expressions][1] for a list of expressions and each
933
+ # expression's associated selection key type.
934
+ #
935
+ #
936
+ #
937
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
938
+ #
939
+ # @return [Types::CreateRouteResponseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
940
+ #
941
+ # * {Types::CreateRouteResponseResponse#model_selection_expression #model_selection_expression} => String
942
+ # * {Types::CreateRouteResponseResponse#response_models #response_models} => Hash&lt;String,String&gt;
943
+ # * {Types::CreateRouteResponseResponse#response_parameters #response_parameters} => Hash&lt;String,Types::ParameterConstraints&gt;
944
+ # * {Types::CreateRouteResponseResponse#route_response_id #route_response_id} => String
945
+ # * {Types::CreateRouteResponseResponse#route_response_key #route_response_key} => String
946
+ #
947
+ # @example Request syntax with placeholder values
948
+ #
949
+ # resp = client.create_route_response({
950
+ # api_id: "__string", # required
951
+ # model_selection_expression: "SelectionExpression",
952
+ # response_models: {
953
+ # "__string" => "StringWithLengthBetween1And128",
954
+ # },
955
+ # response_parameters: {
956
+ # "__string" => {
957
+ # required: false,
958
+ # },
959
+ # },
960
+ # route_id: "__string", # required
961
+ # route_response_key: "SelectionKey", # required
962
+ # })
963
+ #
964
+ # @example Response structure
965
+ #
966
+ # resp.model_selection_expression #=> String
967
+ # resp.response_models #=> Hash
968
+ # resp.response_models["__string"] #=> String
969
+ # resp.response_parameters #=> Hash
970
+ # resp.response_parameters["__string"].required #=> Boolean
971
+ # resp.route_response_id #=> String
972
+ # resp.route_response_key #=> String
973
+ #
974
+ # @overload create_route_response(params = {})
975
+ # @param [Hash] params ({})
976
+ def create_route_response(params = {}, options = {})
977
+ req = build_request(:create_route_response, params)
978
+ req.send_request(options)
979
+ end
980
+
981
+ # Creates a Stage for an API.
982
+ #
983
+ # @option params [Types::AccessLogSettings] :access_log_settings
984
+ # Settings for logging access in a stage.
985
+ #
986
+ # @option params [required, String] :api_id
987
+ #
988
+ # @option params [String] :client_certificate_id
989
+ # An API Gateway-generated, unique identifier.
990
+ #
991
+ # @option params [Types::RouteSettings] :default_route_settings
992
+ # Represents a collection of route settings.
993
+ #
994
+ # @option params [String] :deployment_id
995
+ # An API Gateway-generated, unique identifier.
996
+ #
997
+ # @option params [String] :description
998
+ # A string with a length between \[0-1024\].
999
+ #
1000
+ # @option params [Hash<String,Types::RouteSettings>] :route_settings
1001
+ # The route settings map.
1002
+ #
1003
+ # @option params [required, String] :stage_name
1004
+ # A string with a length between \[1-128\].
1005
+ #
1006
+ # @option params [Hash<String,String>] :stage_variables
1007
+ # The stage variable map.
1008
+ #
1009
+ # @return [Types::CreateStageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1010
+ #
1011
+ # * {Types::CreateStageResponse#access_log_settings #access_log_settings} => Types::AccessLogSettings
1012
+ # * {Types::CreateStageResponse#client_certificate_id #client_certificate_id} => String
1013
+ # * {Types::CreateStageResponse#created_date #created_date} => Time
1014
+ # * {Types::CreateStageResponse#default_route_settings #default_route_settings} => Types::RouteSettings
1015
+ # * {Types::CreateStageResponse#deployment_id #deployment_id} => String
1016
+ # * {Types::CreateStageResponse#description #description} => String
1017
+ # * {Types::CreateStageResponse#last_updated_date #last_updated_date} => Time
1018
+ # * {Types::CreateStageResponse#route_settings #route_settings} => Hash&lt;String,Types::RouteSettings&gt;
1019
+ # * {Types::CreateStageResponse#stage_name #stage_name} => String
1020
+ # * {Types::CreateStageResponse#stage_variables #stage_variables} => Hash&lt;String,String&gt;
1021
+ #
1022
+ # @example Request syntax with placeholder values
1023
+ #
1024
+ # resp = client.create_stage({
1025
+ # access_log_settings: {
1026
+ # destination_arn: "Arn",
1027
+ # format: "StringWithLengthBetween1And1024",
1028
+ # },
1029
+ # api_id: "__string", # required
1030
+ # client_certificate_id: "Id",
1031
+ # default_route_settings: {
1032
+ # data_trace_enabled: false,
1033
+ # detailed_metrics_enabled: false,
1034
+ # logging_level: "ERROR", # accepts ERROR, INFO, false
1035
+ # throttling_burst_limit: 1,
1036
+ # throttling_rate_limit: 1.0,
1037
+ # },
1038
+ # deployment_id: "Id",
1039
+ # description: "StringWithLengthBetween0And1024",
1040
+ # route_settings: {
1041
+ # "__string" => {
1042
+ # data_trace_enabled: false,
1043
+ # detailed_metrics_enabled: false,
1044
+ # logging_level: "ERROR", # accepts ERROR, INFO, false
1045
+ # throttling_burst_limit: 1,
1046
+ # throttling_rate_limit: 1.0,
1047
+ # },
1048
+ # },
1049
+ # stage_name: "StringWithLengthBetween1And128", # required
1050
+ # stage_variables: {
1051
+ # "__string" => "StringWithLengthBetween0And2048",
1052
+ # },
1053
+ # })
1054
+ #
1055
+ # @example Response structure
1056
+ #
1057
+ # resp.access_log_settings.destination_arn #=> String
1058
+ # resp.access_log_settings.format #=> String
1059
+ # resp.client_certificate_id #=> String
1060
+ # resp.created_date #=> Time
1061
+ # resp.default_route_settings.data_trace_enabled #=> Boolean
1062
+ # resp.default_route_settings.detailed_metrics_enabled #=> Boolean
1063
+ # resp.default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "false"
1064
+ # resp.default_route_settings.throttling_burst_limit #=> Integer
1065
+ # resp.default_route_settings.throttling_rate_limit #=> Float
1066
+ # resp.deployment_id #=> String
1067
+ # resp.description #=> String
1068
+ # resp.last_updated_date #=> Time
1069
+ # resp.route_settings #=> Hash
1070
+ # resp.route_settings["__string"].data_trace_enabled #=> Boolean
1071
+ # resp.route_settings["__string"].detailed_metrics_enabled #=> Boolean
1072
+ # resp.route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "false"
1073
+ # resp.route_settings["__string"].throttling_burst_limit #=> Integer
1074
+ # resp.route_settings["__string"].throttling_rate_limit #=> Float
1075
+ # resp.stage_name #=> String
1076
+ # resp.stage_variables #=> Hash
1077
+ # resp.stage_variables["__string"] #=> String
1078
+ #
1079
+ # @overload create_stage(params = {})
1080
+ # @param [Hash] params ({})
1081
+ def create_stage(params = {}, options = {})
1082
+ req = build_request(:create_stage, params)
1083
+ req.send_request(options)
1084
+ end
1085
+
1086
+ # Deletes an Api resource.
1087
+ #
1088
+ # @option params [required, String] :api_id
1089
+ #
1090
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1091
+ #
1092
+ # @example Request syntax with placeholder values
1093
+ #
1094
+ # resp = client.delete_api({
1095
+ # api_id: "__string", # required
1096
+ # })
1097
+ #
1098
+ # @overload delete_api(params = {})
1099
+ # @param [Hash] params ({})
1100
+ def delete_api(params = {}, options = {})
1101
+ req = build_request(:delete_api, params)
1102
+ req.send_request(options)
1103
+ end
1104
+
1105
+ # Deletes an API mapping.
1106
+ #
1107
+ # @option params [required, String] :api_id
1108
+ #
1109
+ # @option params [required, String] :api_mapping_id
1110
+ #
1111
+ # @option params [required, String] :domain_name
1112
+ #
1113
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1114
+ #
1115
+ # @example Request syntax with placeholder values
1116
+ #
1117
+ # resp = client.delete_api_mapping({
1118
+ # api_id: "__string", # required
1119
+ # api_mapping_id: "__string", # required
1120
+ # domain_name: "__string", # required
1121
+ # })
1122
+ #
1123
+ # @overload delete_api_mapping(params = {})
1124
+ # @param [Hash] params ({})
1125
+ def delete_api_mapping(params = {}, options = {})
1126
+ req = build_request(:delete_api_mapping, params)
1127
+ req.send_request(options)
1128
+ end
1129
+
1130
+ # Deletes an Authorizer.
1131
+ #
1132
+ # @option params [required, String] :api_id
1133
+ #
1134
+ # @option params [required, String] :authorizer_id
1135
+ #
1136
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1137
+ #
1138
+ # @example Request syntax with placeholder values
1139
+ #
1140
+ # resp = client.delete_authorizer({
1141
+ # api_id: "__string", # required
1142
+ # authorizer_id: "__string", # required
1143
+ # })
1144
+ #
1145
+ # @overload delete_authorizer(params = {})
1146
+ # @param [Hash] params ({})
1147
+ def delete_authorizer(params = {}, options = {})
1148
+ req = build_request(:delete_authorizer, params)
1149
+ req.send_request(options)
1150
+ end
1151
+
1152
+ # Deletes a Deployment.
1153
+ #
1154
+ # @option params [required, String] :api_id
1155
+ #
1156
+ # @option params [required, String] :deployment_id
1157
+ #
1158
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1159
+ #
1160
+ # @example Request syntax with placeholder values
1161
+ #
1162
+ # resp = client.delete_deployment({
1163
+ # api_id: "__string", # required
1164
+ # deployment_id: "__string", # required
1165
+ # })
1166
+ #
1167
+ # @overload delete_deployment(params = {})
1168
+ # @param [Hash] params ({})
1169
+ def delete_deployment(params = {}, options = {})
1170
+ req = build_request(:delete_deployment, params)
1171
+ req.send_request(options)
1172
+ end
1173
+
1174
+ # Deletes a domain name.
1175
+ #
1176
+ # @option params [required, String] :domain_name
1177
+ #
1178
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1179
+ #
1180
+ # @example Request syntax with placeholder values
1181
+ #
1182
+ # resp = client.delete_domain_name({
1183
+ # domain_name: "__string", # required
1184
+ # })
1185
+ #
1186
+ # @overload delete_domain_name(params = {})
1187
+ # @param [Hash] params ({})
1188
+ def delete_domain_name(params = {}, options = {})
1189
+ req = build_request(:delete_domain_name, params)
1190
+ req.send_request(options)
1191
+ end
1192
+
1193
+ # Deletes an Integration.
1194
+ #
1195
+ # @option params [required, String] :api_id
1196
+ #
1197
+ # @option params [required, String] :integration_id
1198
+ #
1199
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1200
+ #
1201
+ # @example Request syntax with placeholder values
1202
+ #
1203
+ # resp = client.delete_integration({
1204
+ # api_id: "__string", # required
1205
+ # integration_id: "__string", # required
1206
+ # })
1207
+ #
1208
+ # @overload delete_integration(params = {})
1209
+ # @param [Hash] params ({})
1210
+ def delete_integration(params = {}, options = {})
1211
+ req = build_request(:delete_integration, params)
1212
+ req.send_request(options)
1213
+ end
1214
+
1215
+ # Deletes an IntegrationResponses.
1216
+ #
1217
+ # @option params [required, String] :api_id
1218
+ #
1219
+ # @option params [required, String] :integration_id
1220
+ #
1221
+ # @option params [required, String] :integration_response_id
1222
+ #
1223
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1224
+ #
1225
+ # @example Request syntax with placeholder values
1226
+ #
1227
+ # resp = client.delete_integration_response({
1228
+ # api_id: "__string", # required
1229
+ # integration_id: "__string", # required
1230
+ # integration_response_id: "__string", # required
1231
+ # })
1232
+ #
1233
+ # @overload delete_integration_response(params = {})
1234
+ # @param [Hash] params ({})
1235
+ def delete_integration_response(params = {}, options = {})
1236
+ req = build_request(:delete_integration_response, params)
1237
+ req.send_request(options)
1238
+ end
1239
+
1240
+ # Deletes a Model.
1241
+ #
1242
+ # @option params [required, String] :api_id
1243
+ #
1244
+ # @option params [required, String] :model_id
1245
+ #
1246
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1247
+ #
1248
+ # @example Request syntax with placeholder values
1249
+ #
1250
+ # resp = client.delete_model({
1251
+ # api_id: "__string", # required
1252
+ # model_id: "__string", # required
1253
+ # })
1254
+ #
1255
+ # @overload delete_model(params = {})
1256
+ # @param [Hash] params ({})
1257
+ def delete_model(params = {}, options = {})
1258
+ req = build_request(:delete_model, params)
1259
+ req.send_request(options)
1260
+ end
1261
+
1262
+ # Deletes a Route.
1263
+ #
1264
+ # @option params [required, String] :api_id
1265
+ #
1266
+ # @option params [required, String] :route_id
1267
+ #
1268
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1269
+ #
1270
+ # @example Request syntax with placeholder values
1271
+ #
1272
+ # resp = client.delete_route({
1273
+ # api_id: "__string", # required
1274
+ # route_id: "__string", # required
1275
+ # })
1276
+ #
1277
+ # @overload delete_route(params = {})
1278
+ # @param [Hash] params ({})
1279
+ def delete_route(params = {}, options = {})
1280
+ req = build_request(:delete_route, params)
1281
+ req.send_request(options)
1282
+ end
1283
+
1284
+ # Deletes a RouteResponse.
1285
+ #
1286
+ # @option params [required, String] :api_id
1287
+ #
1288
+ # @option params [required, String] :route_id
1289
+ #
1290
+ # @option params [required, String] :route_response_id
1291
+ #
1292
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1293
+ #
1294
+ # @example Request syntax with placeholder values
1295
+ #
1296
+ # resp = client.delete_route_response({
1297
+ # api_id: "__string", # required
1298
+ # route_id: "__string", # required
1299
+ # route_response_id: "__string", # required
1300
+ # })
1301
+ #
1302
+ # @overload delete_route_response(params = {})
1303
+ # @param [Hash] params ({})
1304
+ def delete_route_response(params = {}, options = {})
1305
+ req = build_request(:delete_route_response, params)
1306
+ req.send_request(options)
1307
+ end
1308
+
1309
+ # Deletes a Stage.
1310
+ #
1311
+ # @option params [required, String] :api_id
1312
+ #
1313
+ # @option params [required, String] :stage_name
1314
+ #
1315
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1316
+ #
1317
+ # @example Request syntax with placeholder values
1318
+ #
1319
+ # resp = client.delete_stage({
1320
+ # api_id: "__string", # required
1321
+ # stage_name: "__string", # required
1322
+ # })
1323
+ #
1324
+ # @overload delete_stage(params = {})
1325
+ # @param [Hash] params ({})
1326
+ def delete_stage(params = {}, options = {})
1327
+ req = build_request(:delete_stage, params)
1328
+ req.send_request(options)
1329
+ end
1330
+
1331
+ # Gets an Api resource.
1332
+ #
1333
+ # @option params [required, String] :api_id
1334
+ #
1335
+ # @return [Types::GetApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1336
+ #
1337
+ # * {Types::GetApiResponse#api_endpoint #api_endpoint} => String
1338
+ # * {Types::GetApiResponse#api_id #api_id} => String
1339
+ # * {Types::GetApiResponse#api_key_selection_expression #api_key_selection_expression} => String
1340
+ # * {Types::GetApiResponse#created_date #created_date} => Time
1341
+ # * {Types::GetApiResponse#description #description} => String
1342
+ # * {Types::GetApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
1343
+ # * {Types::GetApiResponse#name #name} => String
1344
+ # * {Types::GetApiResponse#protocol_type #protocol_type} => String
1345
+ # * {Types::GetApiResponse#route_selection_expression #route_selection_expression} => String
1346
+ # * {Types::GetApiResponse#version #version} => String
1347
+ # * {Types::GetApiResponse#warnings #warnings} => Array&lt;String&gt;
1348
+ #
1349
+ # @example Request syntax with placeholder values
1350
+ #
1351
+ # resp = client.get_api({
1352
+ # api_id: "__string", # required
1353
+ # })
1354
+ #
1355
+ # @example Response structure
1356
+ #
1357
+ # resp.api_endpoint #=> String
1358
+ # resp.api_id #=> String
1359
+ # resp.api_key_selection_expression #=> String
1360
+ # resp.created_date #=> Time
1361
+ # resp.description #=> String
1362
+ # resp.disable_schema_validation #=> Boolean
1363
+ # resp.name #=> String
1364
+ # resp.protocol_type #=> String, one of "WEBSOCKET"
1365
+ # resp.route_selection_expression #=> String
1366
+ # resp.version #=> String
1367
+ # resp.warnings #=> Array
1368
+ # resp.warnings[0] #=> String
1369
+ #
1370
+ # @overload get_api(params = {})
1371
+ # @param [Hash] params ({})
1372
+ def get_api(params = {}, options = {})
1373
+ req = build_request(:get_api, params)
1374
+ req.send_request(options)
1375
+ end
1376
+
1377
+ # The API mapping.
1378
+ #
1379
+ # @option params [required, String] :api_id
1380
+ #
1381
+ # @option params [required, String] :api_mapping_id
1382
+ #
1383
+ # @option params [required, String] :domain_name
1384
+ #
1385
+ # @return [Types::GetApiMappingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1386
+ #
1387
+ # * {Types::GetApiMappingResponse#api_id #api_id} => String
1388
+ # * {Types::GetApiMappingResponse#api_mapping_id #api_mapping_id} => String
1389
+ # * {Types::GetApiMappingResponse#api_mapping_key #api_mapping_key} => String
1390
+ # * {Types::GetApiMappingResponse#stage #stage} => String
1391
+ #
1392
+ # @example Request syntax with placeholder values
1393
+ #
1394
+ # resp = client.get_api_mapping({
1395
+ # api_id: "__string", # required
1396
+ # api_mapping_id: "__string", # required
1397
+ # domain_name: "__string", # required
1398
+ # })
1399
+ #
1400
+ # @example Response structure
1401
+ #
1402
+ # resp.api_id #=> String
1403
+ # resp.api_mapping_id #=> String
1404
+ # resp.api_mapping_key #=> String
1405
+ # resp.stage #=> String
1406
+ #
1407
+ # @overload get_api_mapping(params = {})
1408
+ # @param [Hash] params ({})
1409
+ def get_api_mapping(params = {}, options = {})
1410
+ req = build_request(:get_api_mapping, params)
1411
+ req.send_request(options)
1412
+ end
1413
+
1414
+ # The API mappings.
1415
+ #
1416
+ # @option params [required, String] :domain_name
1417
+ #
1418
+ # @option params [String] :max_results
1419
+ #
1420
+ # @option params [String] :next_token
1421
+ #
1422
+ # @return [Types::GetApiMappingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1423
+ #
1424
+ # * {Types::GetApiMappingsResponse#api_id #api_id} => String
1425
+ # * {Types::GetApiMappingsResponse#api_mapping_id #api_mapping_id} => String
1426
+ # * {Types::GetApiMappingsResponse#api_mapping_key #api_mapping_key} => String
1427
+ # * {Types::GetApiMappingsResponse#stage #stage} => String
1428
+ #
1429
+ # @example Request syntax with placeholder values
1430
+ #
1431
+ # resp = client.get_api_mappings({
1432
+ # domain_name: "__string", # required
1433
+ # max_results: "__string",
1434
+ # next_token: "__string",
1435
+ # })
1436
+ #
1437
+ # @example Response structure
1438
+ #
1439
+ # resp.api_id #=> String
1440
+ # resp.api_mapping_id #=> String
1441
+ # resp.api_mapping_key #=> String
1442
+ # resp.stage #=> String
1443
+ #
1444
+ # @overload get_api_mappings(params = {})
1445
+ # @param [Hash] params ({})
1446
+ def get_api_mappings(params = {}, options = {})
1447
+ req = build_request(:get_api_mappings, params)
1448
+ req.send_request(options)
1449
+ end
1450
+
1451
+ # Gets a collection of Api resources.
1452
+ #
1453
+ # @option params [String] :max_results
1454
+ #
1455
+ # @option params [String] :next_token
1456
+ #
1457
+ # @return [Types::GetApisResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1458
+ #
1459
+ # * {Types::GetApisResponse#items #items} => Array&lt;Types::Api&gt;
1460
+ # * {Types::GetApisResponse#next_token #next_token} => String
1461
+ #
1462
+ # @example Request syntax with placeholder values
1463
+ #
1464
+ # resp = client.get_apis({
1465
+ # max_results: "__string",
1466
+ # next_token: "__string",
1467
+ # })
1468
+ #
1469
+ # @example Response structure
1470
+ #
1471
+ # resp.items #=> Array
1472
+ # resp.items[0].api_endpoint #=> String
1473
+ # resp.items[0].api_id #=> String
1474
+ # resp.items[0].api_key_selection_expression #=> String
1475
+ # resp.items[0].created_date #=> Time
1476
+ # resp.items[0].description #=> String
1477
+ # resp.items[0].disable_schema_validation #=> Boolean
1478
+ # resp.items[0].name #=> String
1479
+ # resp.items[0].protocol_type #=> String, one of "WEBSOCKET"
1480
+ # resp.items[0].route_selection_expression #=> String
1481
+ # resp.items[0].version #=> String
1482
+ # resp.items[0].warnings #=> Array
1483
+ # resp.items[0].warnings[0] #=> String
1484
+ # resp.next_token #=> String
1485
+ #
1486
+ # @overload get_apis(params = {})
1487
+ # @param [Hash] params ({})
1488
+ def get_apis(params = {}, options = {})
1489
+ req = build_request(:get_apis, params)
1490
+ req.send_request(options)
1491
+ end
1492
+
1493
+ # Gets an Authorizer.
1494
+ #
1495
+ # @option params [required, String] :api_id
1496
+ #
1497
+ # @option params [required, String] :authorizer_id
1498
+ #
1499
+ # @return [Types::GetAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1500
+ #
1501
+ # * {Types::GetAuthorizerResponse#authorizer_credentials_arn #authorizer_credentials_arn} => String
1502
+ # * {Types::GetAuthorizerResponse#authorizer_id #authorizer_id} => String
1503
+ # * {Types::GetAuthorizerResponse#authorizer_result_ttl_in_seconds #authorizer_result_ttl_in_seconds} => Integer
1504
+ # * {Types::GetAuthorizerResponse#authorizer_type #authorizer_type} => String
1505
+ # * {Types::GetAuthorizerResponse#authorizer_uri #authorizer_uri} => String
1506
+ # * {Types::GetAuthorizerResponse#identity_source #identity_source} => Array&lt;String&gt;
1507
+ # * {Types::GetAuthorizerResponse#identity_validation_expression #identity_validation_expression} => String
1508
+ # * {Types::GetAuthorizerResponse#name #name} => String
1509
+ # * {Types::GetAuthorizerResponse#provider_arns #provider_arns} => Array&lt;String&gt;
1510
+ #
1511
+ # @example Request syntax with placeholder values
1512
+ #
1513
+ # resp = client.get_authorizer({
1514
+ # api_id: "__string", # required
1515
+ # authorizer_id: "__string", # required
1516
+ # })
1517
+ #
1518
+ # @example Response structure
1519
+ #
1520
+ # resp.authorizer_credentials_arn #=> String
1521
+ # resp.authorizer_id #=> String
1522
+ # resp.authorizer_result_ttl_in_seconds #=> Integer
1523
+ # resp.authorizer_type #=> String, one of "REQUEST"
1524
+ # resp.authorizer_uri #=> String
1525
+ # resp.identity_source #=> Array
1526
+ # resp.identity_source[0] #=> String
1527
+ # resp.identity_validation_expression #=> String
1528
+ # resp.name #=> String
1529
+ # resp.provider_arns #=> Array
1530
+ # resp.provider_arns[0] #=> String
1531
+ #
1532
+ # @overload get_authorizer(params = {})
1533
+ # @param [Hash] params ({})
1534
+ def get_authorizer(params = {}, options = {})
1535
+ req = build_request(:get_authorizer, params)
1536
+ req.send_request(options)
1537
+ end
1538
+
1539
+ # Gets the Authorizers for an API.
1540
+ #
1541
+ # @option params [required, String] :api_id
1542
+ #
1543
+ # @option params [String] :max_results
1544
+ #
1545
+ # @option params [String] :next_token
1546
+ #
1547
+ # @return [Types::GetAuthorizersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1548
+ #
1549
+ # * {Types::GetAuthorizersResponse#items #items} => Array&lt;Types::Authorizer&gt;
1550
+ # * {Types::GetAuthorizersResponse#next_token #next_token} => String
1551
+ #
1552
+ # @example Request syntax with placeholder values
1553
+ #
1554
+ # resp = client.get_authorizers({
1555
+ # api_id: "__string", # required
1556
+ # max_results: "__string",
1557
+ # next_token: "__string",
1558
+ # })
1559
+ #
1560
+ # @example Response structure
1561
+ #
1562
+ # resp.items #=> Array
1563
+ # resp.items[0].authorizer_credentials_arn #=> String
1564
+ # resp.items[0].authorizer_id #=> String
1565
+ # resp.items[0].authorizer_result_ttl_in_seconds #=> Integer
1566
+ # resp.items[0].authorizer_type #=> String, one of "REQUEST"
1567
+ # resp.items[0].authorizer_uri #=> String
1568
+ # resp.items[0].identity_source #=> Array
1569
+ # resp.items[0].identity_source[0] #=> String
1570
+ # resp.items[0].identity_validation_expression #=> String
1571
+ # resp.items[0].name #=> String
1572
+ # resp.items[0].provider_arns #=> Array
1573
+ # resp.items[0].provider_arns[0] #=> String
1574
+ # resp.next_token #=> String
1575
+ #
1576
+ # @overload get_authorizers(params = {})
1577
+ # @param [Hash] params ({})
1578
+ def get_authorizers(params = {}, options = {})
1579
+ req = build_request(:get_authorizers, params)
1580
+ req.send_request(options)
1581
+ end
1582
+
1583
+ # Gets a Deployment.
1584
+ #
1585
+ # @option params [required, String] :api_id
1586
+ #
1587
+ # @option params [required, String] :deployment_id
1588
+ #
1589
+ # @return [Types::GetDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1590
+ #
1591
+ # * {Types::GetDeploymentResponse#created_date #created_date} => Time
1592
+ # * {Types::GetDeploymentResponse#deployment_id #deployment_id} => String
1593
+ # * {Types::GetDeploymentResponse#deployment_status #deployment_status} => String
1594
+ # * {Types::GetDeploymentResponse#deployment_status_message #deployment_status_message} => String
1595
+ # * {Types::GetDeploymentResponse#description #description} => String
1596
+ #
1597
+ # @example Request syntax with placeholder values
1598
+ #
1599
+ # resp = client.get_deployment({
1600
+ # api_id: "__string", # required
1601
+ # deployment_id: "__string", # required
1602
+ # })
1603
+ #
1604
+ # @example Response structure
1605
+ #
1606
+ # resp.created_date #=> Time
1607
+ # resp.deployment_id #=> String
1608
+ # resp.deployment_status #=> String, one of "PENDING", "FAILED", "DEPLOYED"
1609
+ # resp.deployment_status_message #=> String
1610
+ # resp.description #=> String
1611
+ #
1612
+ # @overload get_deployment(params = {})
1613
+ # @param [Hash] params ({})
1614
+ def get_deployment(params = {}, options = {})
1615
+ req = build_request(:get_deployment, params)
1616
+ req.send_request(options)
1617
+ end
1618
+
1619
+ # Gets the Deployments for an API.
1620
+ #
1621
+ # @option params [required, String] :api_id
1622
+ #
1623
+ # @option params [String] :max_results
1624
+ #
1625
+ # @option params [String] :next_token
1626
+ #
1627
+ # @return [Types::GetDeploymentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1628
+ #
1629
+ # * {Types::GetDeploymentsResponse#items #items} => Array&lt;Types::Deployment&gt;
1630
+ # * {Types::GetDeploymentsResponse#next_token #next_token} => String
1631
+ #
1632
+ # @example Request syntax with placeholder values
1633
+ #
1634
+ # resp = client.get_deployments({
1635
+ # api_id: "__string", # required
1636
+ # max_results: "__string",
1637
+ # next_token: "__string",
1638
+ # })
1639
+ #
1640
+ # @example Response structure
1641
+ #
1642
+ # resp.items #=> Array
1643
+ # resp.items[0].created_date #=> Time
1644
+ # resp.items[0].deployment_id #=> String
1645
+ # resp.items[0].deployment_status #=> String, one of "PENDING", "FAILED", "DEPLOYED"
1646
+ # resp.items[0].deployment_status_message #=> String
1647
+ # resp.items[0].description #=> String
1648
+ # resp.next_token #=> String
1649
+ #
1650
+ # @overload get_deployments(params = {})
1651
+ # @param [Hash] params ({})
1652
+ def get_deployments(params = {}, options = {})
1653
+ req = build_request(:get_deployments, params)
1654
+ req.send_request(options)
1655
+ end
1656
+
1657
+ # Gets a domain name.
1658
+ #
1659
+ # @option params [required, String] :domain_name
1660
+ #
1661
+ # @return [Types::GetDomainNameResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1662
+ #
1663
+ # * {Types::GetDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
1664
+ # * {Types::GetDomainNameResponse#domain_name #domain_name} => String
1665
+ # * {Types::GetDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array&lt;Types::DomainNameConfiguration&gt;
1666
+ #
1667
+ # @example Request syntax with placeholder values
1668
+ #
1669
+ # resp = client.get_domain_name({
1670
+ # domain_name: "__string", # required
1671
+ # })
1672
+ #
1673
+ # @example Response structure
1674
+ #
1675
+ # resp.api_mapping_selection_expression #=> String
1676
+ # resp.domain_name #=> String
1677
+ # resp.domain_name_configurations #=> Array
1678
+ # resp.domain_name_configurations[0].api_gateway_domain_name #=> String
1679
+ # resp.domain_name_configurations[0].certificate_arn #=> String
1680
+ # resp.domain_name_configurations[0].certificate_name #=> String
1681
+ # resp.domain_name_configurations[0].certificate_upload_date #=> Time
1682
+ # resp.domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
1683
+ # resp.domain_name_configurations[0].hosted_zone_id #=> String
1684
+ #
1685
+ # @overload get_domain_name(params = {})
1686
+ # @param [Hash] params ({})
1687
+ def get_domain_name(params = {}, options = {})
1688
+ req = build_request(:get_domain_name, params)
1689
+ req.send_request(options)
1690
+ end
1691
+
1692
+ # Gets the domain names for an AWS account.
1693
+ #
1694
+ # @option params [String] :max_results
1695
+ #
1696
+ # @option params [String] :next_token
1697
+ #
1698
+ # @return [Types::GetDomainNamesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1699
+ #
1700
+ # * {Types::GetDomainNamesResponse#items #items} => Array&lt;Types::DomainName&gt;
1701
+ # * {Types::GetDomainNamesResponse#next_token #next_token} => String
1702
+ #
1703
+ # @example Request syntax with placeholder values
1704
+ #
1705
+ # resp = client.get_domain_names({
1706
+ # max_results: "__string",
1707
+ # next_token: "__string",
1708
+ # })
1709
+ #
1710
+ # @example Response structure
1711
+ #
1712
+ # resp.items #=> Array
1713
+ # resp.items[0].api_mapping_selection_expression #=> String
1714
+ # resp.items[0].domain_name #=> String
1715
+ # resp.items[0].domain_name_configurations #=> Array
1716
+ # resp.items[0].domain_name_configurations[0].api_gateway_domain_name #=> String
1717
+ # resp.items[0].domain_name_configurations[0].certificate_arn #=> String
1718
+ # resp.items[0].domain_name_configurations[0].certificate_name #=> String
1719
+ # resp.items[0].domain_name_configurations[0].certificate_upload_date #=> Time
1720
+ # resp.items[0].domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
1721
+ # resp.items[0].domain_name_configurations[0].hosted_zone_id #=> String
1722
+ # resp.next_token #=> String
1723
+ #
1724
+ # @overload get_domain_names(params = {})
1725
+ # @param [Hash] params ({})
1726
+ def get_domain_names(params = {}, options = {})
1727
+ req = build_request(:get_domain_names, params)
1728
+ req.send_request(options)
1729
+ end
1730
+
1731
+ # Gets an Integration.
1732
+ #
1733
+ # @option params [required, String] :api_id
1734
+ #
1735
+ # @option params [required, String] :integration_id
1736
+ #
1737
+ # @return [Types::GetIntegrationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1738
+ #
1739
+ # * {Types::GetIntegrationResult#connection_id #connection_id} => String
1740
+ # * {Types::GetIntegrationResult#connection_type #connection_type} => String
1741
+ # * {Types::GetIntegrationResult#content_handling_strategy #content_handling_strategy} => String
1742
+ # * {Types::GetIntegrationResult#credentials_arn #credentials_arn} => String
1743
+ # * {Types::GetIntegrationResult#description #description} => String
1744
+ # * {Types::GetIntegrationResult#integration_id #integration_id} => String
1745
+ # * {Types::GetIntegrationResult#integration_method #integration_method} => String
1746
+ # * {Types::GetIntegrationResult#integration_response_selection_expression #integration_response_selection_expression} => String
1747
+ # * {Types::GetIntegrationResult#integration_type #integration_type} => String
1748
+ # * {Types::GetIntegrationResult#integration_uri #integration_uri} => String
1749
+ # * {Types::GetIntegrationResult#passthrough_behavior #passthrough_behavior} => String
1750
+ # * {Types::GetIntegrationResult#request_parameters #request_parameters} => Hash&lt;String,String&gt;
1751
+ # * {Types::GetIntegrationResult#request_templates #request_templates} => Hash&lt;String,String&gt;
1752
+ # * {Types::GetIntegrationResult#template_selection_expression #template_selection_expression} => String
1753
+ # * {Types::GetIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
1754
+ #
1755
+ # @example Request syntax with placeholder values
1756
+ #
1757
+ # resp = client.get_integration({
1758
+ # api_id: "__string", # required
1759
+ # integration_id: "__string", # required
1760
+ # })
1761
+ #
1762
+ # @example Response structure
1763
+ #
1764
+ # resp.connection_id #=> String
1765
+ # resp.connection_type #=> String, one of "INTERNET", "VPC_LINK"
1766
+ # resp.content_handling_strategy #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
1767
+ # resp.credentials_arn #=> String
1768
+ # resp.description #=> String
1769
+ # resp.integration_id #=> String
1770
+ # resp.integration_method #=> String
1771
+ # resp.integration_response_selection_expression #=> String
1772
+ # resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
1773
+ # resp.integration_uri #=> String
1774
+ # resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
1775
+ # resp.request_parameters #=> Hash
1776
+ # resp.request_parameters["__string"] #=> String
1777
+ # resp.request_templates #=> Hash
1778
+ # resp.request_templates["__string"] #=> String
1779
+ # resp.template_selection_expression #=> String
1780
+ # resp.timeout_in_millis #=> Integer
1781
+ #
1782
+ # @overload get_integration(params = {})
1783
+ # @param [Hash] params ({})
1784
+ def get_integration(params = {}, options = {})
1785
+ req = build_request(:get_integration, params)
1786
+ req.send_request(options)
1787
+ end
1788
+
1789
+ # Gets an IntegrationResponses.
1790
+ #
1791
+ # @option params [required, String] :api_id
1792
+ #
1793
+ # @option params [required, String] :integration_id
1794
+ #
1795
+ # @option params [required, String] :integration_response_id
1796
+ #
1797
+ # @return [Types::GetIntegrationResponseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1798
+ #
1799
+ # * {Types::GetIntegrationResponseResponse#content_handling_strategy #content_handling_strategy} => String
1800
+ # * {Types::GetIntegrationResponseResponse#integration_response_id #integration_response_id} => String
1801
+ # * {Types::GetIntegrationResponseResponse#integration_response_key #integration_response_key} => String
1802
+ # * {Types::GetIntegrationResponseResponse#response_parameters #response_parameters} => Hash&lt;String,String&gt;
1803
+ # * {Types::GetIntegrationResponseResponse#response_templates #response_templates} => Hash&lt;String,String&gt;
1804
+ # * {Types::GetIntegrationResponseResponse#template_selection_expression #template_selection_expression} => String
1805
+ #
1806
+ # @example Request syntax with placeholder values
1807
+ #
1808
+ # resp = client.get_integration_response({
1809
+ # api_id: "__string", # required
1810
+ # integration_id: "__string", # required
1811
+ # integration_response_id: "__string", # required
1812
+ # })
1813
+ #
1814
+ # @example Response structure
1815
+ #
1816
+ # resp.content_handling_strategy #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
1817
+ # resp.integration_response_id #=> String
1818
+ # resp.integration_response_key #=> String
1819
+ # resp.response_parameters #=> Hash
1820
+ # resp.response_parameters["__string"] #=> String
1821
+ # resp.response_templates #=> Hash
1822
+ # resp.response_templates["__string"] #=> String
1823
+ # resp.template_selection_expression #=> String
1824
+ #
1825
+ # @overload get_integration_response(params = {})
1826
+ # @param [Hash] params ({})
1827
+ def get_integration_response(params = {}, options = {})
1828
+ req = build_request(:get_integration_response, params)
1829
+ req.send_request(options)
1830
+ end
1831
+
1832
+ # Gets the IntegrationResponses for an Integration.
1833
+ #
1834
+ # @option params [required, String] :api_id
1835
+ #
1836
+ # @option params [required, String] :integration_id
1837
+ #
1838
+ # @option params [String] :max_results
1839
+ #
1840
+ # @option params [String] :next_token
1841
+ #
1842
+ # @return [Types::GetIntegrationResponsesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1843
+ #
1844
+ # * {Types::GetIntegrationResponsesResponse#items #items} => Array&lt;Types::IntegrationResponse&gt;
1845
+ # * {Types::GetIntegrationResponsesResponse#next_token #next_token} => String
1846
+ #
1847
+ # @example Request syntax with placeholder values
1848
+ #
1849
+ # resp = client.get_integration_responses({
1850
+ # api_id: "__string", # required
1851
+ # integration_id: "__string", # required
1852
+ # max_results: "__string",
1853
+ # next_token: "__string",
1854
+ # })
1855
+ #
1856
+ # @example Response structure
1857
+ #
1858
+ # resp.items #=> Array
1859
+ # resp.items[0].content_handling_strategy #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
1860
+ # resp.items[0].integration_response_id #=> String
1861
+ # resp.items[0].integration_response_key #=> String
1862
+ # resp.items[0].response_parameters #=> Hash
1863
+ # resp.items[0].response_parameters["__string"] #=> String
1864
+ # resp.items[0].response_templates #=> Hash
1865
+ # resp.items[0].response_templates["__string"] #=> String
1866
+ # resp.items[0].template_selection_expression #=> String
1867
+ # resp.next_token #=> String
1868
+ #
1869
+ # @overload get_integration_responses(params = {})
1870
+ # @param [Hash] params ({})
1871
+ def get_integration_responses(params = {}, options = {})
1872
+ req = build_request(:get_integration_responses, params)
1873
+ req.send_request(options)
1874
+ end
1875
+
1876
+ # Gets the Integrations for an API.
1877
+ #
1878
+ # @option params [required, String] :api_id
1879
+ #
1880
+ # @option params [String] :max_results
1881
+ #
1882
+ # @option params [String] :next_token
1883
+ #
1884
+ # @return [Types::GetIntegrationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1885
+ #
1886
+ # * {Types::GetIntegrationsResponse#items #items} => Array&lt;Types::Integration&gt;
1887
+ # * {Types::GetIntegrationsResponse#next_token #next_token} => String
1888
+ #
1889
+ # @example Request syntax with placeholder values
1890
+ #
1891
+ # resp = client.get_integrations({
1892
+ # api_id: "__string", # required
1893
+ # max_results: "__string",
1894
+ # next_token: "__string",
1895
+ # })
1896
+ #
1897
+ # @example Response structure
1898
+ #
1899
+ # resp.items #=> Array
1900
+ # resp.items[0].connection_id #=> String
1901
+ # resp.items[0].connection_type #=> String, one of "INTERNET", "VPC_LINK"
1902
+ # resp.items[0].content_handling_strategy #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
1903
+ # resp.items[0].credentials_arn #=> String
1904
+ # resp.items[0].description #=> String
1905
+ # resp.items[0].integration_id #=> String
1906
+ # resp.items[0].integration_method #=> String
1907
+ # resp.items[0].integration_response_selection_expression #=> String
1908
+ # resp.items[0].integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
1909
+ # resp.items[0].integration_uri #=> String
1910
+ # resp.items[0].passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
1911
+ # resp.items[0].request_parameters #=> Hash
1912
+ # resp.items[0].request_parameters["__string"] #=> String
1913
+ # resp.items[0].request_templates #=> Hash
1914
+ # resp.items[0].request_templates["__string"] #=> String
1915
+ # resp.items[0].template_selection_expression #=> String
1916
+ # resp.items[0].timeout_in_millis #=> Integer
1917
+ # resp.next_token #=> String
1918
+ #
1919
+ # @overload get_integrations(params = {})
1920
+ # @param [Hash] params ({})
1921
+ def get_integrations(params = {}, options = {})
1922
+ req = build_request(:get_integrations, params)
1923
+ req.send_request(options)
1924
+ end
1925
+
1926
+ # Gets a Model.
1927
+ #
1928
+ # @option params [required, String] :api_id
1929
+ #
1930
+ # @option params [required, String] :model_id
1931
+ #
1932
+ # @return [Types::GetModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1933
+ #
1934
+ # * {Types::GetModelResponse#content_type #content_type} => String
1935
+ # * {Types::GetModelResponse#description #description} => String
1936
+ # * {Types::GetModelResponse#model_id #model_id} => String
1937
+ # * {Types::GetModelResponse#name #name} => String
1938
+ # * {Types::GetModelResponse#schema #schema} => String
1939
+ #
1940
+ # @example Request syntax with placeholder values
1941
+ #
1942
+ # resp = client.get_model({
1943
+ # api_id: "__string", # required
1944
+ # model_id: "__string", # required
1945
+ # })
1946
+ #
1947
+ # @example Response structure
1948
+ #
1949
+ # resp.content_type #=> String
1950
+ # resp.description #=> String
1951
+ # resp.model_id #=> String
1952
+ # resp.name #=> String
1953
+ # resp.schema #=> String
1954
+ #
1955
+ # @overload get_model(params = {})
1956
+ # @param [Hash] params ({})
1957
+ def get_model(params = {}, options = {})
1958
+ req = build_request(:get_model, params)
1959
+ req.send_request(options)
1960
+ end
1961
+
1962
+ # Gets a model template.
1963
+ #
1964
+ # @option params [required, String] :api_id
1965
+ #
1966
+ # @option params [required, String] :model_id
1967
+ #
1968
+ # @return [Types::GetModelTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1969
+ #
1970
+ # * {Types::GetModelTemplateResponse#value #value} => String
1971
+ #
1972
+ # @example Request syntax with placeholder values
1973
+ #
1974
+ # resp = client.get_model_template({
1975
+ # api_id: "__string", # required
1976
+ # model_id: "__string", # required
1977
+ # })
1978
+ #
1979
+ # @example Response structure
1980
+ #
1981
+ # resp.value #=> String
1982
+ #
1983
+ # @overload get_model_template(params = {})
1984
+ # @param [Hash] params ({})
1985
+ def get_model_template(params = {}, options = {})
1986
+ req = build_request(:get_model_template, params)
1987
+ req.send_request(options)
1988
+ end
1989
+
1990
+ # Gets the Models for an API.
1991
+ #
1992
+ # @option params [required, String] :api_id
1993
+ #
1994
+ # @option params [String] :max_results
1995
+ #
1996
+ # @option params [String] :next_token
1997
+ #
1998
+ # @return [Types::GetModelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1999
+ #
2000
+ # * {Types::GetModelsResponse#items #items} => Array&lt;Types::Model&gt;
2001
+ # * {Types::GetModelsResponse#next_token #next_token} => String
2002
+ #
2003
+ # @example Request syntax with placeholder values
2004
+ #
2005
+ # resp = client.get_models({
2006
+ # api_id: "__string", # required
2007
+ # max_results: "__string",
2008
+ # next_token: "__string",
2009
+ # })
2010
+ #
2011
+ # @example Response structure
2012
+ #
2013
+ # resp.items #=> Array
2014
+ # resp.items[0].content_type #=> String
2015
+ # resp.items[0].description #=> String
2016
+ # resp.items[0].model_id #=> String
2017
+ # resp.items[0].name #=> String
2018
+ # resp.items[0].schema #=> String
2019
+ # resp.next_token #=> String
2020
+ #
2021
+ # @overload get_models(params = {})
2022
+ # @param [Hash] params ({})
2023
+ def get_models(params = {}, options = {})
2024
+ req = build_request(:get_models, params)
2025
+ req.send_request(options)
2026
+ end
2027
+
2028
+ # Gets a Route.
2029
+ #
2030
+ # @option params [required, String] :api_id
2031
+ #
2032
+ # @option params [required, String] :route_id
2033
+ #
2034
+ # @return [Types::GetRouteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2035
+ #
2036
+ # * {Types::GetRouteResult#api_key_required #api_key_required} => Boolean
2037
+ # * {Types::GetRouteResult#authorization_scopes #authorization_scopes} => Array&lt;String&gt;
2038
+ # * {Types::GetRouteResult#authorization_type #authorization_type} => String
2039
+ # * {Types::GetRouteResult#authorizer_id #authorizer_id} => String
2040
+ # * {Types::GetRouteResult#model_selection_expression #model_selection_expression} => String
2041
+ # * {Types::GetRouteResult#operation_name #operation_name} => String
2042
+ # * {Types::GetRouteResult#request_models #request_models} => Hash&lt;String,String&gt;
2043
+ # * {Types::GetRouteResult#request_parameters #request_parameters} => Hash&lt;String,Types::ParameterConstraints&gt;
2044
+ # * {Types::GetRouteResult#route_id #route_id} => String
2045
+ # * {Types::GetRouteResult#route_key #route_key} => String
2046
+ # * {Types::GetRouteResult#route_response_selection_expression #route_response_selection_expression} => String
2047
+ # * {Types::GetRouteResult#target #target} => String
2048
+ #
2049
+ # @example Request syntax with placeholder values
2050
+ #
2051
+ # resp = client.get_route({
2052
+ # api_id: "__string", # required
2053
+ # route_id: "__string", # required
2054
+ # })
2055
+ #
2056
+ # @example Response structure
2057
+ #
2058
+ # resp.api_key_required #=> Boolean
2059
+ # resp.authorization_scopes #=> Array
2060
+ # resp.authorization_scopes[0] #=> String
2061
+ # resp.authorization_type #=> String, one of "NONE", "AWS_IAM", "CUSTOM"
2062
+ # resp.authorizer_id #=> String
2063
+ # resp.model_selection_expression #=> String
2064
+ # resp.operation_name #=> String
2065
+ # resp.request_models #=> Hash
2066
+ # resp.request_models["__string"] #=> String
2067
+ # resp.request_parameters #=> Hash
2068
+ # resp.request_parameters["__string"].required #=> Boolean
2069
+ # resp.route_id #=> String
2070
+ # resp.route_key #=> String
2071
+ # resp.route_response_selection_expression #=> String
2072
+ # resp.target #=> String
2073
+ #
2074
+ # @overload get_route(params = {})
2075
+ # @param [Hash] params ({})
2076
+ def get_route(params = {}, options = {})
2077
+ req = build_request(:get_route, params)
2078
+ req.send_request(options)
2079
+ end
2080
+
2081
+ # Gets a RouteResponse.
2082
+ #
2083
+ # @option params [required, String] :api_id
2084
+ #
2085
+ # @option params [required, String] :route_id
2086
+ #
2087
+ # @option params [required, String] :route_response_id
2088
+ #
2089
+ # @return [Types::GetRouteResponseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2090
+ #
2091
+ # * {Types::GetRouteResponseResponse#model_selection_expression #model_selection_expression} => String
2092
+ # * {Types::GetRouteResponseResponse#response_models #response_models} => Hash&lt;String,String&gt;
2093
+ # * {Types::GetRouteResponseResponse#response_parameters #response_parameters} => Hash&lt;String,Types::ParameterConstraints&gt;
2094
+ # * {Types::GetRouteResponseResponse#route_response_id #route_response_id} => String
2095
+ # * {Types::GetRouteResponseResponse#route_response_key #route_response_key} => String
2096
+ #
2097
+ # @example Request syntax with placeholder values
2098
+ #
2099
+ # resp = client.get_route_response({
2100
+ # api_id: "__string", # required
2101
+ # route_id: "__string", # required
2102
+ # route_response_id: "__string", # required
2103
+ # })
2104
+ #
2105
+ # @example Response structure
2106
+ #
2107
+ # resp.model_selection_expression #=> String
2108
+ # resp.response_models #=> Hash
2109
+ # resp.response_models["__string"] #=> String
2110
+ # resp.response_parameters #=> Hash
2111
+ # resp.response_parameters["__string"].required #=> Boolean
2112
+ # resp.route_response_id #=> String
2113
+ # resp.route_response_key #=> String
2114
+ #
2115
+ # @overload get_route_response(params = {})
2116
+ # @param [Hash] params ({})
2117
+ def get_route_response(params = {}, options = {})
2118
+ req = build_request(:get_route_response, params)
2119
+ req.send_request(options)
2120
+ end
2121
+
2122
+ # Gets the RouteResponses for a Route.
2123
+ #
2124
+ # @option params [required, String] :api_id
2125
+ #
2126
+ # @option params [String] :max_results
2127
+ #
2128
+ # @option params [String] :next_token
2129
+ #
2130
+ # @option params [required, String] :route_id
2131
+ #
2132
+ # @return [Types::GetRouteResponsesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2133
+ #
2134
+ # * {Types::GetRouteResponsesResponse#items #items} => Array&lt;Types::RouteResponse&gt;
2135
+ # * {Types::GetRouteResponsesResponse#next_token #next_token} => String
2136
+ #
2137
+ # @example Request syntax with placeholder values
2138
+ #
2139
+ # resp = client.get_route_responses({
2140
+ # api_id: "__string", # required
2141
+ # max_results: "__string",
2142
+ # next_token: "__string",
2143
+ # route_id: "__string", # required
2144
+ # })
2145
+ #
2146
+ # @example Response structure
2147
+ #
2148
+ # resp.items #=> Array
2149
+ # resp.items[0].model_selection_expression #=> String
2150
+ # resp.items[0].response_models #=> Hash
2151
+ # resp.items[0].response_models["__string"] #=> String
2152
+ # resp.items[0].response_parameters #=> Hash
2153
+ # resp.items[0].response_parameters["__string"].required #=> Boolean
2154
+ # resp.items[0].route_response_id #=> String
2155
+ # resp.items[0].route_response_key #=> String
2156
+ # resp.next_token #=> String
2157
+ #
2158
+ # @overload get_route_responses(params = {})
2159
+ # @param [Hash] params ({})
2160
+ def get_route_responses(params = {}, options = {})
2161
+ req = build_request(:get_route_responses, params)
2162
+ req.send_request(options)
2163
+ end
2164
+
2165
+ # Gets the Routes for an API.
2166
+ #
2167
+ # @option params [required, String] :api_id
2168
+ #
2169
+ # @option params [String] :max_results
2170
+ #
2171
+ # @option params [String] :next_token
2172
+ #
2173
+ # @return [Types::GetRoutesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2174
+ #
2175
+ # * {Types::GetRoutesResponse#items #items} => Array&lt;Types::Route&gt;
2176
+ # * {Types::GetRoutesResponse#next_token #next_token} => String
2177
+ #
2178
+ # @example Request syntax with placeholder values
2179
+ #
2180
+ # resp = client.get_routes({
2181
+ # api_id: "__string", # required
2182
+ # max_results: "__string",
2183
+ # next_token: "__string",
2184
+ # })
2185
+ #
2186
+ # @example Response structure
2187
+ #
2188
+ # resp.items #=> Array
2189
+ # resp.items[0].api_key_required #=> Boolean
2190
+ # resp.items[0].authorization_scopes #=> Array
2191
+ # resp.items[0].authorization_scopes[0] #=> String
2192
+ # resp.items[0].authorization_type #=> String, one of "NONE", "AWS_IAM", "CUSTOM"
2193
+ # resp.items[0].authorizer_id #=> String
2194
+ # resp.items[0].model_selection_expression #=> String
2195
+ # resp.items[0].operation_name #=> String
2196
+ # resp.items[0].request_models #=> Hash
2197
+ # resp.items[0].request_models["__string"] #=> String
2198
+ # resp.items[0].request_parameters #=> Hash
2199
+ # resp.items[0].request_parameters["__string"].required #=> Boolean
2200
+ # resp.items[0].route_id #=> String
2201
+ # resp.items[0].route_key #=> String
2202
+ # resp.items[0].route_response_selection_expression #=> String
2203
+ # resp.items[0].target #=> String
2204
+ # resp.next_token #=> String
2205
+ #
2206
+ # @overload get_routes(params = {})
2207
+ # @param [Hash] params ({})
2208
+ def get_routes(params = {}, options = {})
2209
+ req = build_request(:get_routes, params)
2210
+ req.send_request(options)
2211
+ end
2212
+
2213
+ # Gets a Stage.
2214
+ #
2215
+ # @option params [required, String] :api_id
2216
+ #
2217
+ # @option params [required, String] :stage_name
2218
+ #
2219
+ # @return [Types::GetStageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2220
+ #
2221
+ # * {Types::GetStageResponse#access_log_settings #access_log_settings} => Types::AccessLogSettings
2222
+ # * {Types::GetStageResponse#client_certificate_id #client_certificate_id} => String
2223
+ # * {Types::GetStageResponse#created_date #created_date} => Time
2224
+ # * {Types::GetStageResponse#default_route_settings #default_route_settings} => Types::RouteSettings
2225
+ # * {Types::GetStageResponse#deployment_id #deployment_id} => String
2226
+ # * {Types::GetStageResponse#description #description} => String
2227
+ # * {Types::GetStageResponse#last_updated_date #last_updated_date} => Time
2228
+ # * {Types::GetStageResponse#route_settings #route_settings} => Hash&lt;String,Types::RouteSettings&gt;
2229
+ # * {Types::GetStageResponse#stage_name #stage_name} => String
2230
+ # * {Types::GetStageResponse#stage_variables #stage_variables} => Hash&lt;String,String&gt;
2231
+ #
2232
+ # @example Request syntax with placeholder values
2233
+ #
2234
+ # resp = client.get_stage({
2235
+ # api_id: "__string", # required
2236
+ # stage_name: "__string", # required
2237
+ # })
2238
+ #
2239
+ # @example Response structure
2240
+ #
2241
+ # resp.access_log_settings.destination_arn #=> String
2242
+ # resp.access_log_settings.format #=> String
2243
+ # resp.client_certificate_id #=> String
2244
+ # resp.created_date #=> Time
2245
+ # resp.default_route_settings.data_trace_enabled #=> Boolean
2246
+ # resp.default_route_settings.detailed_metrics_enabled #=> Boolean
2247
+ # resp.default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "false"
2248
+ # resp.default_route_settings.throttling_burst_limit #=> Integer
2249
+ # resp.default_route_settings.throttling_rate_limit #=> Float
2250
+ # resp.deployment_id #=> String
2251
+ # resp.description #=> String
2252
+ # resp.last_updated_date #=> Time
2253
+ # resp.route_settings #=> Hash
2254
+ # resp.route_settings["__string"].data_trace_enabled #=> Boolean
2255
+ # resp.route_settings["__string"].detailed_metrics_enabled #=> Boolean
2256
+ # resp.route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "false"
2257
+ # resp.route_settings["__string"].throttling_burst_limit #=> Integer
2258
+ # resp.route_settings["__string"].throttling_rate_limit #=> Float
2259
+ # resp.stage_name #=> String
2260
+ # resp.stage_variables #=> Hash
2261
+ # resp.stage_variables["__string"] #=> String
2262
+ #
2263
+ # @overload get_stage(params = {})
2264
+ # @param [Hash] params ({})
2265
+ def get_stage(params = {}, options = {})
2266
+ req = build_request(:get_stage, params)
2267
+ req.send_request(options)
2268
+ end
2269
+
2270
+ # Gets the Stages for an API.
2271
+ #
2272
+ # @option params [required, String] :api_id
2273
+ #
2274
+ # @option params [String] :max_results
2275
+ #
2276
+ # @option params [String] :next_token
2277
+ #
2278
+ # @return [Types::GetStagesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2279
+ #
2280
+ # * {Types::GetStagesResponse#items #items} => Array&lt;Types::Stage&gt;
2281
+ # * {Types::GetStagesResponse#next_token #next_token} => String
2282
+ #
2283
+ # @example Request syntax with placeholder values
2284
+ #
2285
+ # resp = client.get_stages({
2286
+ # api_id: "__string", # required
2287
+ # max_results: "__string",
2288
+ # next_token: "__string",
2289
+ # })
2290
+ #
2291
+ # @example Response structure
2292
+ #
2293
+ # resp.items #=> Array
2294
+ # resp.items[0].access_log_settings.destination_arn #=> String
2295
+ # resp.items[0].access_log_settings.format #=> String
2296
+ # resp.items[0].client_certificate_id #=> String
2297
+ # resp.items[0].created_date #=> Time
2298
+ # resp.items[0].default_route_settings.data_trace_enabled #=> Boolean
2299
+ # resp.items[0].default_route_settings.detailed_metrics_enabled #=> Boolean
2300
+ # resp.items[0].default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "false"
2301
+ # resp.items[0].default_route_settings.throttling_burst_limit #=> Integer
2302
+ # resp.items[0].default_route_settings.throttling_rate_limit #=> Float
2303
+ # resp.items[0].deployment_id #=> String
2304
+ # resp.items[0].description #=> String
2305
+ # resp.items[0].last_updated_date #=> Time
2306
+ # resp.items[0].route_settings #=> Hash
2307
+ # resp.items[0].route_settings["__string"].data_trace_enabled #=> Boolean
2308
+ # resp.items[0].route_settings["__string"].detailed_metrics_enabled #=> Boolean
2309
+ # resp.items[0].route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "false"
2310
+ # resp.items[0].route_settings["__string"].throttling_burst_limit #=> Integer
2311
+ # resp.items[0].route_settings["__string"].throttling_rate_limit #=> Float
2312
+ # resp.items[0].stage_name #=> String
2313
+ # resp.items[0].stage_variables #=> Hash
2314
+ # resp.items[0].stage_variables["__string"] #=> String
2315
+ # resp.next_token #=> String
2316
+ #
2317
+ # @overload get_stages(params = {})
2318
+ # @param [Hash] params ({})
2319
+ def get_stages(params = {}, options = {})
2320
+ req = build_request(:get_stages, params)
2321
+ req.send_request(options)
2322
+ end
2323
+
2324
+ # Updates an Api resource.
2325
+ #
2326
+ # @option params [required, String] :api_id
2327
+ #
2328
+ # @option params [String] :api_key_selection_expression
2329
+ # An expression used to extract information at runtime. See [Selection
2330
+ # Expressions][1] for more information.
2331
+ #
2332
+ #
2333
+ #
2334
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2335
+ #
2336
+ # @option params [String] :description
2337
+ # A string with a length between \[0-1024\].
2338
+ #
2339
+ # @option params [Boolean] :disable_schema_validation
2340
+ #
2341
+ # @option params [String] :name
2342
+ # A string with a length between \[1-128\].
2343
+ #
2344
+ # @option params [String] :route_selection_expression
2345
+ # An expression used to extract information at runtime. See [Selection
2346
+ # Expressions][1] for more information.
2347
+ #
2348
+ #
2349
+ #
2350
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2351
+ #
2352
+ # @option params [String] :version
2353
+ # A string with a length between \[1-64\].
2354
+ #
2355
+ # @return [Types::UpdateApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2356
+ #
2357
+ # * {Types::UpdateApiResponse#api_endpoint #api_endpoint} => String
2358
+ # * {Types::UpdateApiResponse#api_id #api_id} => String
2359
+ # * {Types::UpdateApiResponse#api_key_selection_expression #api_key_selection_expression} => String
2360
+ # * {Types::UpdateApiResponse#created_date #created_date} => Time
2361
+ # * {Types::UpdateApiResponse#description #description} => String
2362
+ # * {Types::UpdateApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
2363
+ # * {Types::UpdateApiResponse#name #name} => String
2364
+ # * {Types::UpdateApiResponse#protocol_type #protocol_type} => String
2365
+ # * {Types::UpdateApiResponse#route_selection_expression #route_selection_expression} => String
2366
+ # * {Types::UpdateApiResponse#version #version} => String
2367
+ # * {Types::UpdateApiResponse#warnings #warnings} => Array&lt;String&gt;
2368
+ #
2369
+ # @example Request syntax with placeholder values
2370
+ #
2371
+ # resp = client.update_api({
2372
+ # api_id: "__string", # required
2373
+ # api_key_selection_expression: "SelectionExpression",
2374
+ # description: "StringWithLengthBetween0And1024",
2375
+ # disable_schema_validation: false,
2376
+ # name: "StringWithLengthBetween1And128",
2377
+ # route_selection_expression: "SelectionExpression",
2378
+ # version: "StringWithLengthBetween1And64",
2379
+ # })
2380
+ #
2381
+ # @example Response structure
2382
+ #
2383
+ # resp.api_endpoint #=> String
2384
+ # resp.api_id #=> String
2385
+ # resp.api_key_selection_expression #=> String
2386
+ # resp.created_date #=> Time
2387
+ # resp.description #=> String
2388
+ # resp.disable_schema_validation #=> Boolean
2389
+ # resp.name #=> String
2390
+ # resp.protocol_type #=> String, one of "WEBSOCKET"
2391
+ # resp.route_selection_expression #=> String
2392
+ # resp.version #=> String
2393
+ # resp.warnings #=> Array
2394
+ # resp.warnings[0] #=> String
2395
+ #
2396
+ # @overload update_api(params = {})
2397
+ # @param [Hash] params ({})
2398
+ def update_api(params = {}, options = {})
2399
+ req = build_request(:update_api, params)
2400
+ req.send_request(options)
2401
+ end
2402
+
2403
+ # The API mapping.
2404
+ #
2405
+ # @option params [required, String] :api_id
2406
+ # An API Gateway-generated, unique identifier.
2407
+ #
2408
+ # @option params [required, String] :api_mapping_id
2409
+ #
2410
+ # @option params [String] :api_mapping_key
2411
+ # After evaulating a selection expression, the result is compared
2412
+ # against one or more selection keys to find a matching key. See
2413
+ # [Selection Expressions][1] for a list of expressions and each
2414
+ # expression's associated selection key type.
2415
+ #
2416
+ #
2417
+ #
2418
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2419
+ #
2420
+ # @option params [required, String] :domain_name
2421
+ #
2422
+ # @option params [String] :stage
2423
+ # A string with a length between \[1-128\].
2424
+ #
2425
+ # @return [Types::UpdateApiMappingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2426
+ #
2427
+ # * {Types::UpdateApiMappingResponse#api_id #api_id} => String
2428
+ # * {Types::UpdateApiMappingResponse#api_mapping_id #api_mapping_id} => String
2429
+ # * {Types::UpdateApiMappingResponse#api_mapping_key #api_mapping_key} => String
2430
+ # * {Types::UpdateApiMappingResponse#stage #stage} => String
2431
+ #
2432
+ # @example Request syntax with placeholder values
2433
+ #
2434
+ # resp = client.update_api_mapping({
2435
+ # api_id: "Id", # required
2436
+ # api_mapping_id: "__string", # required
2437
+ # api_mapping_key: "SelectionKey",
2438
+ # domain_name: "__string", # required
2439
+ # stage: "StringWithLengthBetween1And128",
2440
+ # })
2441
+ #
2442
+ # @example Response structure
2443
+ #
2444
+ # resp.api_id #=> String
2445
+ # resp.api_mapping_id #=> String
2446
+ # resp.api_mapping_key #=> String
2447
+ # resp.stage #=> String
2448
+ #
2449
+ # @overload update_api_mapping(params = {})
2450
+ # @param [Hash] params ({})
2451
+ def update_api_mapping(params = {}, options = {})
2452
+ req = build_request(:update_api_mapping, params)
2453
+ req.send_request(options)
2454
+ end
2455
+
2456
+ # Updates an Authorizer.
2457
+ #
2458
+ # @option params [required, String] :api_id
2459
+ #
2460
+ # @option params [String] :authorizer_credentials_arn
2461
+ # Represents an Amazon Resource Name (ARN).
2462
+ #
2463
+ # @option params [required, String] :authorizer_id
2464
+ #
2465
+ # @option params [Integer] :authorizer_result_ttl_in_seconds
2466
+ # An integer with a value between \[0-3600\].
2467
+ #
2468
+ # @option params [String] :authorizer_type
2469
+ # The authorizer type. Currently the only valid value is REQUEST, for a
2470
+ # Lambda function using incoming request parameters.
2471
+ #
2472
+ # @option params [String] :authorizer_uri
2473
+ # A string representation of a URI with a length between \[1-2048\].
2474
+ #
2475
+ # @option params [Array<String>] :identity_source
2476
+ # The identity source for which authorization is requested.
2477
+ #
2478
+ # For the REQUEST authorizer, this is required when authorization
2479
+ # caching is enabled. The value is a comma-separated string of one or
2480
+ # more mapping expressions of the specified request parameters. For
2481
+ # example, if an Auth header, a Name query string parameter are defined
2482
+ # as identity sources, this value is $method.request.header.Auth,
2483
+ # $method.request.querystring.Name. These parameters will be used to
2484
+ # derive the authorization caching key and to perform runtime validation
2485
+ # of the REQUEST authorizer by verifying all of the identity-related
2486
+ # request parameters are present, not null and non-empty. Only when this
2487
+ # is true does the authorizer invoke the authorizer Lambda function,
2488
+ # otherwise, it returns a 401 Unauthorized response without calling the
2489
+ # Lambda function. The valid value is a string of comma-separated
2490
+ # mapping expressions of the specified request parameters. When the
2491
+ # authorization caching is not enabled, this property is optional.
2492
+ #
2493
+ # @option params [String] :identity_validation_expression
2494
+ # A string with a length between \[0-1024\].
2495
+ #
2496
+ # @option params [String] :name
2497
+ # A string with a length between \[1-128\].
2498
+ #
2499
+ # @option params [Array<String>] :provider_arns
2500
+ # For REQUEST authorizer, this is not defined.
2501
+ #
2502
+ # @return [Types::UpdateAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2503
+ #
2504
+ # * {Types::UpdateAuthorizerResponse#authorizer_credentials_arn #authorizer_credentials_arn} => String
2505
+ # * {Types::UpdateAuthorizerResponse#authorizer_id #authorizer_id} => String
2506
+ # * {Types::UpdateAuthorizerResponse#authorizer_result_ttl_in_seconds #authorizer_result_ttl_in_seconds} => Integer
2507
+ # * {Types::UpdateAuthorizerResponse#authorizer_type #authorizer_type} => String
2508
+ # * {Types::UpdateAuthorizerResponse#authorizer_uri #authorizer_uri} => String
2509
+ # * {Types::UpdateAuthorizerResponse#identity_source #identity_source} => Array&lt;String&gt;
2510
+ # * {Types::UpdateAuthorizerResponse#identity_validation_expression #identity_validation_expression} => String
2511
+ # * {Types::UpdateAuthorizerResponse#name #name} => String
2512
+ # * {Types::UpdateAuthorizerResponse#provider_arns #provider_arns} => Array&lt;String&gt;
2513
+ #
2514
+ # @example Request syntax with placeholder values
2515
+ #
2516
+ # resp = client.update_authorizer({
2517
+ # api_id: "__string", # required
2518
+ # authorizer_credentials_arn: "Arn",
2519
+ # authorizer_id: "__string", # required
2520
+ # authorizer_result_ttl_in_seconds: 1,
2521
+ # authorizer_type: "REQUEST", # accepts REQUEST
2522
+ # authorizer_uri: "UriWithLengthBetween1And2048",
2523
+ # identity_source: ["__string"],
2524
+ # identity_validation_expression: "StringWithLengthBetween0And1024",
2525
+ # name: "StringWithLengthBetween1And128",
2526
+ # provider_arns: ["Arn"],
2527
+ # })
2528
+ #
2529
+ # @example Response structure
2530
+ #
2531
+ # resp.authorizer_credentials_arn #=> String
2532
+ # resp.authorizer_id #=> String
2533
+ # resp.authorizer_result_ttl_in_seconds #=> Integer
2534
+ # resp.authorizer_type #=> String, one of "REQUEST"
2535
+ # resp.authorizer_uri #=> String
2536
+ # resp.identity_source #=> Array
2537
+ # resp.identity_source[0] #=> String
2538
+ # resp.identity_validation_expression #=> String
2539
+ # resp.name #=> String
2540
+ # resp.provider_arns #=> Array
2541
+ # resp.provider_arns[0] #=> String
2542
+ #
2543
+ # @overload update_authorizer(params = {})
2544
+ # @param [Hash] params ({})
2545
+ def update_authorizer(params = {}, options = {})
2546
+ req = build_request(:update_authorizer, params)
2547
+ req.send_request(options)
2548
+ end
2549
+
2550
+ # Updates a Deployment.
2551
+ #
2552
+ # @option params [required, String] :api_id
2553
+ #
2554
+ # @option params [required, String] :deployment_id
2555
+ #
2556
+ # @option params [String] :description
2557
+ # A string with a length between \[0-1024\].
2558
+ #
2559
+ # @return [Types::UpdateDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2560
+ #
2561
+ # * {Types::UpdateDeploymentResponse#created_date #created_date} => Time
2562
+ # * {Types::UpdateDeploymentResponse#deployment_id #deployment_id} => String
2563
+ # * {Types::UpdateDeploymentResponse#deployment_status #deployment_status} => String
2564
+ # * {Types::UpdateDeploymentResponse#deployment_status_message #deployment_status_message} => String
2565
+ # * {Types::UpdateDeploymentResponse#description #description} => String
2566
+ #
2567
+ # @example Request syntax with placeholder values
2568
+ #
2569
+ # resp = client.update_deployment({
2570
+ # api_id: "__string", # required
2571
+ # deployment_id: "__string", # required
2572
+ # description: "StringWithLengthBetween0And1024",
2573
+ # })
2574
+ #
2575
+ # @example Response structure
2576
+ #
2577
+ # resp.created_date #=> Time
2578
+ # resp.deployment_id #=> String
2579
+ # resp.deployment_status #=> String, one of "PENDING", "FAILED", "DEPLOYED"
2580
+ # resp.deployment_status_message #=> String
2581
+ # resp.description #=> String
2582
+ #
2583
+ # @overload update_deployment(params = {})
2584
+ # @param [Hash] params ({})
2585
+ def update_deployment(params = {}, options = {})
2586
+ req = build_request(:update_deployment, params)
2587
+ req.send_request(options)
2588
+ end
2589
+
2590
+ # Updates a domain name.
2591
+ #
2592
+ # @option params [required, String] :domain_name
2593
+ #
2594
+ # @option params [Array<Types::DomainNameConfiguration>] :domain_name_configurations
2595
+ # The domain name configurations.
2596
+ #
2597
+ # @return [Types::UpdateDomainNameResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2598
+ #
2599
+ # * {Types::UpdateDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
2600
+ # * {Types::UpdateDomainNameResponse#domain_name #domain_name} => String
2601
+ # * {Types::UpdateDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array&lt;Types::DomainNameConfiguration&gt;
2602
+ #
2603
+ # @example Request syntax with placeholder values
2604
+ #
2605
+ # resp = client.update_domain_name({
2606
+ # domain_name: "__string", # required
2607
+ # domain_name_configurations: [
2608
+ # {
2609
+ # api_gateway_domain_name: "__string",
2610
+ # certificate_arn: "Arn",
2611
+ # certificate_name: "StringWithLengthBetween1And128",
2612
+ # certificate_upload_date: Time.now,
2613
+ # endpoint_type: "REGIONAL", # accepts REGIONAL, EDGE
2614
+ # hosted_zone_id: "__string",
2615
+ # },
2616
+ # ],
2617
+ # })
2618
+ #
2619
+ # @example Response structure
2620
+ #
2621
+ # resp.api_mapping_selection_expression #=> String
2622
+ # resp.domain_name #=> String
2623
+ # resp.domain_name_configurations #=> Array
2624
+ # resp.domain_name_configurations[0].api_gateway_domain_name #=> String
2625
+ # resp.domain_name_configurations[0].certificate_arn #=> String
2626
+ # resp.domain_name_configurations[0].certificate_name #=> String
2627
+ # resp.domain_name_configurations[0].certificate_upload_date #=> Time
2628
+ # resp.domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
2629
+ # resp.domain_name_configurations[0].hosted_zone_id #=> String
2630
+ #
2631
+ # @overload update_domain_name(params = {})
2632
+ # @param [Hash] params ({})
2633
+ def update_domain_name(params = {}, options = {})
2634
+ req = build_request(:update_domain_name, params)
2635
+ req.send_request(options)
2636
+ end
2637
+
2638
+ # Updates an Integration.
2639
+ #
2640
+ # @option params [required, String] :api_id
2641
+ #
2642
+ # @option params [String] :connection_id
2643
+ # A string with a length between \[1-1024\].
2644
+ #
2645
+ # @option params [String] :connection_type
2646
+ # Represents a connection type.
2647
+ #
2648
+ # @option params [String] :content_handling_strategy
2649
+ # Specifies how to handle response payload content type conversions.
2650
+ #
2651
+ # @option params [String] :credentials_arn
2652
+ # Represents an Amazon Resource Name (ARN).
2653
+ #
2654
+ # @option params [String] :description
2655
+ # A string with a length between \[0-1024\].
2656
+ #
2657
+ # @option params [required, String] :integration_id
2658
+ #
2659
+ # @option params [String] :integration_method
2660
+ # A string with a length between \[1-64\].
2661
+ #
2662
+ # @option params [String] :integration_type
2663
+ # Represents an API method integration type.
2664
+ #
2665
+ # @option params [String] :integration_uri
2666
+ # A string representation of a URI with a length between \[1-2048\].
2667
+ #
2668
+ # @option params [String] :passthrough_behavior
2669
+ # Represents passthrough behavior for an integration response.
2670
+ #
2671
+ # @option params [Hash<String,String>] :request_parameters
2672
+ # A key-value map specifying response parameters that are passed to the
2673
+ # method response from the backend. The key is a method response header
2674
+ # parameter name and the mapped value is an integration response header
2675
+ # value, a static value enclosed within a pair of single quotes, or a
2676
+ # JSON expression from the integration response body. The mapping key
2677
+ # must match the pattern of method.response.header.\\\{name\\}, where
2678
+ # name is a valid and unique header name. The mapped non-static value
2679
+ # must match the pattern of integration.response.header.\\\{name\\} or
2680
+ # integration.response.body.\\\{JSON-expression\\}, where name is a
2681
+ # valid and unique response header name and JSON-expression is a valid
2682
+ # JSON expression without the $ prefix.
2683
+ #
2684
+ # @option params [Hash<String,String>] :request_templates
2685
+ # A mapping of identifier keys to templates. The value is an actual
2686
+ # template script. The key is typically a SelectionKey which is chosen
2687
+ # based on evaluating a selection expression.
2688
+ #
2689
+ # @option params [String] :template_selection_expression
2690
+ # An expression used to extract information at runtime. See [Selection
2691
+ # Expressions][1] for more information.
2692
+ #
2693
+ #
2694
+ #
2695
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2696
+ #
2697
+ # @option params [Integer] :timeout_in_millis
2698
+ # An integer with a value between \[50-29000\].
2699
+ #
2700
+ # @return [Types::UpdateIntegrationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2701
+ #
2702
+ # * {Types::UpdateIntegrationResult#connection_id #connection_id} => String
2703
+ # * {Types::UpdateIntegrationResult#connection_type #connection_type} => String
2704
+ # * {Types::UpdateIntegrationResult#content_handling_strategy #content_handling_strategy} => String
2705
+ # * {Types::UpdateIntegrationResult#credentials_arn #credentials_arn} => String
2706
+ # * {Types::UpdateIntegrationResult#description #description} => String
2707
+ # * {Types::UpdateIntegrationResult#integration_id #integration_id} => String
2708
+ # * {Types::UpdateIntegrationResult#integration_method #integration_method} => String
2709
+ # * {Types::UpdateIntegrationResult#integration_response_selection_expression #integration_response_selection_expression} => String
2710
+ # * {Types::UpdateIntegrationResult#integration_type #integration_type} => String
2711
+ # * {Types::UpdateIntegrationResult#integration_uri #integration_uri} => String
2712
+ # * {Types::UpdateIntegrationResult#passthrough_behavior #passthrough_behavior} => String
2713
+ # * {Types::UpdateIntegrationResult#request_parameters #request_parameters} => Hash&lt;String,String&gt;
2714
+ # * {Types::UpdateIntegrationResult#request_templates #request_templates} => Hash&lt;String,String&gt;
2715
+ # * {Types::UpdateIntegrationResult#template_selection_expression #template_selection_expression} => String
2716
+ # * {Types::UpdateIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
2717
+ #
2718
+ # @example Request syntax with placeholder values
2719
+ #
2720
+ # resp = client.update_integration({
2721
+ # api_id: "__string", # required
2722
+ # connection_id: "StringWithLengthBetween1And1024",
2723
+ # connection_type: "INTERNET", # accepts INTERNET, VPC_LINK
2724
+ # content_handling_strategy: "CONVERT_TO_BINARY", # accepts CONVERT_TO_BINARY, CONVERT_TO_TEXT
2725
+ # credentials_arn: "Arn",
2726
+ # description: "StringWithLengthBetween0And1024",
2727
+ # integration_id: "__string", # required
2728
+ # integration_method: "StringWithLengthBetween1And64",
2729
+ # integration_type: "AWS", # accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY
2730
+ # integration_uri: "UriWithLengthBetween1And2048",
2731
+ # passthrough_behavior: "WHEN_NO_MATCH", # accepts WHEN_NO_MATCH, NEVER, WHEN_NO_TEMPLATES
2732
+ # request_parameters: {
2733
+ # "__string" => "StringWithLengthBetween1And512",
2734
+ # },
2735
+ # request_templates: {
2736
+ # "__string" => "StringWithLengthBetween0And32K",
2737
+ # },
2738
+ # template_selection_expression: "SelectionExpression",
2739
+ # timeout_in_millis: 1,
2740
+ # })
2741
+ #
2742
+ # @example Response structure
2743
+ #
2744
+ # resp.connection_id #=> String
2745
+ # resp.connection_type #=> String, one of "INTERNET", "VPC_LINK"
2746
+ # resp.content_handling_strategy #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
2747
+ # resp.credentials_arn #=> String
2748
+ # resp.description #=> String
2749
+ # resp.integration_id #=> String
2750
+ # resp.integration_method #=> String
2751
+ # resp.integration_response_selection_expression #=> String
2752
+ # resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
2753
+ # resp.integration_uri #=> String
2754
+ # resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
2755
+ # resp.request_parameters #=> Hash
2756
+ # resp.request_parameters["__string"] #=> String
2757
+ # resp.request_templates #=> Hash
2758
+ # resp.request_templates["__string"] #=> String
2759
+ # resp.template_selection_expression #=> String
2760
+ # resp.timeout_in_millis #=> Integer
2761
+ #
2762
+ # @overload update_integration(params = {})
2763
+ # @param [Hash] params ({})
2764
+ def update_integration(params = {}, options = {})
2765
+ req = build_request(:update_integration, params)
2766
+ req.send_request(options)
2767
+ end
2768
+
2769
+ # Updates an IntegrationResponses.
2770
+ #
2771
+ # @option params [required, String] :api_id
2772
+ #
2773
+ # @option params [String] :content_handling_strategy
2774
+ # Specifies how to handle response payload content type conversions.
2775
+ #
2776
+ # @option params [required, String] :integration_id
2777
+ #
2778
+ # @option params [required, String] :integration_response_id
2779
+ #
2780
+ # @option params [String] :integration_response_key
2781
+ # After evaulating a selection expression, the result is compared
2782
+ # against one or more selection keys to find a matching key. See
2783
+ # [Selection Expressions][1] for a list of expressions and each
2784
+ # expression's associated selection key type.
2785
+ #
2786
+ #
2787
+ #
2788
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2789
+ #
2790
+ # @option params [Hash<String,String>] :response_parameters
2791
+ # A key-value map specifying response parameters that are passed to the
2792
+ # method response from the backend. The key is a method response header
2793
+ # parameter name and the mapped value is an integration response header
2794
+ # value, a static value enclosed within a pair of single quotes, or a
2795
+ # JSON expression from the integration response body. The mapping key
2796
+ # must match the pattern of method.response.header.\\\{name\\}, where
2797
+ # name is a valid and unique header name. The mapped non-static value
2798
+ # must match the pattern of integration.response.header.\\\{name\\} or
2799
+ # integration.response.body.\\\{JSON-expression\\}, where name is a
2800
+ # valid and unique response header name and JSON-expression is a valid
2801
+ # JSON expression without the $ prefix.
2802
+ #
2803
+ # @option params [Hash<String,String>] :response_templates
2804
+ # A mapping of identifier keys to templates. The value is an actual
2805
+ # template script. The key is typically a SelectionKey which is chosen
2806
+ # based on evaluating a selection expression.
2807
+ #
2808
+ # @option params [String] :template_selection_expression
2809
+ # An expression used to extract information at runtime. See [Selection
2810
+ # Expressions][1] for more information.
2811
+ #
2812
+ #
2813
+ #
2814
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2815
+ #
2816
+ # @return [Types::UpdateIntegrationResponseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2817
+ #
2818
+ # * {Types::UpdateIntegrationResponseResponse#content_handling_strategy #content_handling_strategy} => String
2819
+ # * {Types::UpdateIntegrationResponseResponse#integration_response_id #integration_response_id} => String
2820
+ # * {Types::UpdateIntegrationResponseResponse#integration_response_key #integration_response_key} => String
2821
+ # * {Types::UpdateIntegrationResponseResponse#response_parameters #response_parameters} => Hash&lt;String,String&gt;
2822
+ # * {Types::UpdateIntegrationResponseResponse#response_templates #response_templates} => Hash&lt;String,String&gt;
2823
+ # * {Types::UpdateIntegrationResponseResponse#template_selection_expression #template_selection_expression} => String
2824
+ #
2825
+ # @example Request syntax with placeholder values
2826
+ #
2827
+ # resp = client.update_integration_response({
2828
+ # api_id: "__string", # required
2829
+ # content_handling_strategy: "CONVERT_TO_BINARY", # accepts CONVERT_TO_BINARY, CONVERT_TO_TEXT
2830
+ # integration_id: "__string", # required
2831
+ # integration_response_id: "__string", # required
2832
+ # integration_response_key: "SelectionKey",
2833
+ # response_parameters: {
2834
+ # "__string" => "StringWithLengthBetween1And512",
2835
+ # },
2836
+ # response_templates: {
2837
+ # "__string" => "StringWithLengthBetween0And32K",
2838
+ # },
2839
+ # template_selection_expression: "SelectionExpression",
2840
+ # })
2841
+ #
2842
+ # @example Response structure
2843
+ #
2844
+ # resp.content_handling_strategy #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
2845
+ # resp.integration_response_id #=> String
2846
+ # resp.integration_response_key #=> String
2847
+ # resp.response_parameters #=> Hash
2848
+ # resp.response_parameters["__string"] #=> String
2849
+ # resp.response_templates #=> Hash
2850
+ # resp.response_templates["__string"] #=> String
2851
+ # resp.template_selection_expression #=> String
2852
+ #
2853
+ # @overload update_integration_response(params = {})
2854
+ # @param [Hash] params ({})
2855
+ def update_integration_response(params = {}, options = {})
2856
+ req = build_request(:update_integration_response, params)
2857
+ req.send_request(options)
2858
+ end
2859
+
2860
+ # Updates a Model.
2861
+ #
2862
+ # @option params [required, String] :api_id
2863
+ #
2864
+ # @option params [String] :content_type
2865
+ # A string with a length between \[1-256\].
2866
+ #
2867
+ # @option params [String] :description
2868
+ # A string with a length between \[0-1024\].
2869
+ #
2870
+ # @option params [required, String] :model_id
2871
+ #
2872
+ # @option params [String] :name
2873
+ # A string with a length between \[1-128\].
2874
+ #
2875
+ # @option params [String] :schema
2876
+ # A string with a length between \[0-32768\].
2877
+ #
2878
+ # @return [Types::UpdateModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2879
+ #
2880
+ # * {Types::UpdateModelResponse#content_type #content_type} => String
2881
+ # * {Types::UpdateModelResponse#description #description} => String
2882
+ # * {Types::UpdateModelResponse#model_id #model_id} => String
2883
+ # * {Types::UpdateModelResponse#name #name} => String
2884
+ # * {Types::UpdateModelResponse#schema #schema} => String
2885
+ #
2886
+ # @example Request syntax with placeholder values
2887
+ #
2888
+ # resp = client.update_model({
2889
+ # api_id: "__string", # required
2890
+ # content_type: "StringWithLengthBetween1And256",
2891
+ # description: "StringWithLengthBetween0And1024",
2892
+ # model_id: "__string", # required
2893
+ # name: "StringWithLengthBetween1And128",
2894
+ # schema: "StringWithLengthBetween0And32K",
2895
+ # })
2896
+ #
2897
+ # @example Response structure
2898
+ #
2899
+ # resp.content_type #=> String
2900
+ # resp.description #=> String
2901
+ # resp.model_id #=> String
2902
+ # resp.name #=> String
2903
+ # resp.schema #=> String
2904
+ #
2905
+ # @overload update_model(params = {})
2906
+ # @param [Hash] params ({})
2907
+ def update_model(params = {}, options = {})
2908
+ req = build_request(:update_model, params)
2909
+ req.send_request(options)
2910
+ end
2911
+
2912
+ # Updates a Route.
2913
+ #
2914
+ # @option params [required, String] :api_id
2915
+ #
2916
+ # @option params [Boolean] :api_key_required
2917
+ #
2918
+ # @option params [Array<String>] :authorization_scopes
2919
+ # A list of authorization scopes configured on a route. The scopes are
2920
+ # used with a COGNITO\_USER\_POOLS authorizer to authorize the method
2921
+ # invocation. The authorization works by matching the route scopes
2922
+ # against the scopes parsed from the access token in the incoming
2923
+ # request. The method invocation is authorized if any route scope
2924
+ # matches a claimed scope in the access token. Otherwise, the invocation
2925
+ # is not authorized. When the route scope is configured, the client must
2926
+ # provide an access token instead of an identity token for authorization
2927
+ # purposes.
2928
+ #
2929
+ # @option params [String] :authorization_type
2930
+ # The authorization type. Valid values are NONE for open access,
2931
+ # AWS\_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda
2932
+ # authorizer.
2933
+ #
2934
+ # @option params [String] :authorizer_id
2935
+ # An API Gateway-generated, unique identifier.
2936
+ #
2937
+ # @option params [String] :model_selection_expression
2938
+ # An expression used to extract information at runtime. See [Selection
2939
+ # Expressions][1] for more information.
2940
+ #
2941
+ #
2942
+ #
2943
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2944
+ #
2945
+ # @option params [String] :operation_name
2946
+ # A string with a length between \[1-64\].
2947
+ #
2948
+ # @option params [Hash<String,String>] :request_models
2949
+ # The route models.
2950
+ #
2951
+ # @option params [Hash<String,Types::ParameterConstraints>] :request_parameters
2952
+ # The route parameters.
2953
+ #
2954
+ # @option params [required, String] :route_id
2955
+ #
2956
+ # @option params [String] :route_key
2957
+ # After evaulating a selection expression, the result is compared
2958
+ # against one or more selection keys to find a matching key. See
2959
+ # [Selection Expressions][1] for a list of expressions and each
2960
+ # expression's associated selection key type.
2961
+ #
2962
+ #
2963
+ #
2964
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2965
+ #
2966
+ # @option params [String] :route_response_selection_expression
2967
+ # An expression used to extract information at runtime. See [Selection
2968
+ # Expressions][1] for more information.
2969
+ #
2970
+ #
2971
+ #
2972
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2973
+ #
2974
+ # @option params [String] :target
2975
+ # A string with a length between \[1-128\].
2976
+ #
2977
+ # @return [Types::UpdateRouteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2978
+ #
2979
+ # * {Types::UpdateRouteResult#api_key_required #api_key_required} => Boolean
2980
+ # * {Types::UpdateRouteResult#authorization_scopes #authorization_scopes} => Array&lt;String&gt;
2981
+ # * {Types::UpdateRouteResult#authorization_type #authorization_type} => String
2982
+ # * {Types::UpdateRouteResult#authorizer_id #authorizer_id} => String
2983
+ # * {Types::UpdateRouteResult#model_selection_expression #model_selection_expression} => String
2984
+ # * {Types::UpdateRouteResult#operation_name #operation_name} => String
2985
+ # * {Types::UpdateRouteResult#request_models #request_models} => Hash&lt;String,String&gt;
2986
+ # * {Types::UpdateRouteResult#request_parameters #request_parameters} => Hash&lt;String,Types::ParameterConstraints&gt;
2987
+ # * {Types::UpdateRouteResult#route_id #route_id} => String
2988
+ # * {Types::UpdateRouteResult#route_key #route_key} => String
2989
+ # * {Types::UpdateRouteResult#route_response_selection_expression #route_response_selection_expression} => String
2990
+ # * {Types::UpdateRouteResult#target #target} => String
2991
+ #
2992
+ # @example Request syntax with placeholder values
2993
+ #
2994
+ # resp = client.update_route({
2995
+ # api_id: "__string", # required
2996
+ # api_key_required: false,
2997
+ # authorization_scopes: ["StringWithLengthBetween1And64"],
2998
+ # authorization_type: "NONE", # accepts NONE, AWS_IAM, CUSTOM
2999
+ # authorizer_id: "Id",
3000
+ # model_selection_expression: "SelectionExpression",
3001
+ # operation_name: "StringWithLengthBetween1And64",
3002
+ # request_models: {
3003
+ # "__string" => "StringWithLengthBetween1And128",
3004
+ # },
3005
+ # request_parameters: {
3006
+ # "__string" => {
3007
+ # required: false,
3008
+ # },
3009
+ # },
3010
+ # route_id: "__string", # required
3011
+ # route_key: "SelectionKey",
3012
+ # route_response_selection_expression: "SelectionExpression",
3013
+ # target: "StringWithLengthBetween1And128",
3014
+ # })
3015
+ #
3016
+ # @example Response structure
3017
+ #
3018
+ # resp.api_key_required #=> Boolean
3019
+ # resp.authorization_scopes #=> Array
3020
+ # resp.authorization_scopes[0] #=> String
3021
+ # resp.authorization_type #=> String, one of "NONE", "AWS_IAM", "CUSTOM"
3022
+ # resp.authorizer_id #=> String
3023
+ # resp.model_selection_expression #=> String
3024
+ # resp.operation_name #=> String
3025
+ # resp.request_models #=> Hash
3026
+ # resp.request_models["__string"] #=> String
3027
+ # resp.request_parameters #=> Hash
3028
+ # resp.request_parameters["__string"].required #=> Boolean
3029
+ # resp.route_id #=> String
3030
+ # resp.route_key #=> String
3031
+ # resp.route_response_selection_expression #=> String
3032
+ # resp.target #=> String
3033
+ #
3034
+ # @overload update_route(params = {})
3035
+ # @param [Hash] params ({})
3036
+ def update_route(params = {}, options = {})
3037
+ req = build_request(:update_route, params)
3038
+ req.send_request(options)
3039
+ end
3040
+
3041
+ # Updates a RouteResponse.
3042
+ #
3043
+ # @option params [required, String] :api_id
3044
+ #
3045
+ # @option params [String] :model_selection_expression
3046
+ # An expression used to extract information at runtime. See [Selection
3047
+ # Expressions][1] for more information.
3048
+ #
3049
+ #
3050
+ #
3051
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
3052
+ #
3053
+ # @option params [Hash<String,String>] :response_models
3054
+ # The route models.
3055
+ #
3056
+ # @option params [Hash<String,Types::ParameterConstraints>] :response_parameters
3057
+ # The route parameters.
3058
+ #
3059
+ # @option params [required, String] :route_id
3060
+ #
3061
+ # @option params [required, String] :route_response_id
3062
+ #
3063
+ # @option params [String] :route_response_key
3064
+ # After evaulating a selection expression, the result is compared
3065
+ # against one or more selection keys to find a matching key. See
3066
+ # [Selection Expressions][1] for a list of expressions and each
3067
+ # expression's associated selection key type.
3068
+ #
3069
+ #
3070
+ #
3071
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
3072
+ #
3073
+ # @return [Types::UpdateRouteResponseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3074
+ #
3075
+ # * {Types::UpdateRouteResponseResponse#model_selection_expression #model_selection_expression} => String
3076
+ # * {Types::UpdateRouteResponseResponse#response_models #response_models} => Hash&lt;String,String&gt;
3077
+ # * {Types::UpdateRouteResponseResponse#response_parameters #response_parameters} => Hash&lt;String,Types::ParameterConstraints&gt;
3078
+ # * {Types::UpdateRouteResponseResponse#route_response_id #route_response_id} => String
3079
+ # * {Types::UpdateRouteResponseResponse#route_response_key #route_response_key} => String
3080
+ #
3081
+ # @example Request syntax with placeholder values
3082
+ #
3083
+ # resp = client.update_route_response({
3084
+ # api_id: "__string", # required
3085
+ # model_selection_expression: "SelectionExpression",
3086
+ # response_models: {
3087
+ # "__string" => "StringWithLengthBetween1And128",
3088
+ # },
3089
+ # response_parameters: {
3090
+ # "__string" => {
3091
+ # required: false,
3092
+ # },
3093
+ # },
3094
+ # route_id: "__string", # required
3095
+ # route_response_id: "__string", # required
3096
+ # route_response_key: "SelectionKey",
3097
+ # })
3098
+ #
3099
+ # @example Response structure
3100
+ #
3101
+ # resp.model_selection_expression #=> String
3102
+ # resp.response_models #=> Hash
3103
+ # resp.response_models["__string"] #=> String
3104
+ # resp.response_parameters #=> Hash
3105
+ # resp.response_parameters["__string"].required #=> Boolean
3106
+ # resp.route_response_id #=> String
3107
+ # resp.route_response_key #=> String
3108
+ #
3109
+ # @overload update_route_response(params = {})
3110
+ # @param [Hash] params ({})
3111
+ def update_route_response(params = {}, options = {})
3112
+ req = build_request(:update_route_response, params)
3113
+ req.send_request(options)
3114
+ end
3115
+
3116
+ # Updates a Stage.
3117
+ #
3118
+ # @option params [Types::AccessLogSettings] :access_log_settings
3119
+ # Settings for logging access in a stage.
3120
+ #
3121
+ # @option params [required, String] :api_id
3122
+ #
3123
+ # @option params [String] :client_certificate_id
3124
+ # An API Gateway-generated, unique identifier.
3125
+ #
3126
+ # @option params [Types::RouteSettings] :default_route_settings
3127
+ # Represents a collection of route settings.
3128
+ #
3129
+ # @option params [String] :deployment_id
3130
+ # An API Gateway-generated, unique identifier.
3131
+ #
3132
+ # @option params [String] :description
3133
+ # A string with a length between \[0-1024\].
3134
+ #
3135
+ # @option params [Hash<String,Types::RouteSettings>] :route_settings
3136
+ # The route settings map.
3137
+ #
3138
+ # @option params [required, String] :stage_name
3139
+ #
3140
+ # @option params [Hash<String,String>] :stage_variables
3141
+ # The stage variable map.
3142
+ #
3143
+ # @return [Types::UpdateStageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3144
+ #
3145
+ # * {Types::UpdateStageResponse#access_log_settings #access_log_settings} => Types::AccessLogSettings
3146
+ # * {Types::UpdateStageResponse#client_certificate_id #client_certificate_id} => String
3147
+ # * {Types::UpdateStageResponse#created_date #created_date} => Time
3148
+ # * {Types::UpdateStageResponse#default_route_settings #default_route_settings} => Types::RouteSettings
3149
+ # * {Types::UpdateStageResponse#deployment_id #deployment_id} => String
3150
+ # * {Types::UpdateStageResponse#description #description} => String
3151
+ # * {Types::UpdateStageResponse#last_updated_date #last_updated_date} => Time
3152
+ # * {Types::UpdateStageResponse#route_settings #route_settings} => Hash&lt;String,Types::RouteSettings&gt;
3153
+ # * {Types::UpdateStageResponse#stage_name #stage_name} => String
3154
+ # * {Types::UpdateStageResponse#stage_variables #stage_variables} => Hash&lt;String,String&gt;
3155
+ #
3156
+ # @example Request syntax with placeholder values
3157
+ #
3158
+ # resp = client.update_stage({
3159
+ # access_log_settings: {
3160
+ # destination_arn: "Arn",
3161
+ # format: "StringWithLengthBetween1And1024",
3162
+ # },
3163
+ # api_id: "__string", # required
3164
+ # client_certificate_id: "Id",
3165
+ # default_route_settings: {
3166
+ # data_trace_enabled: false,
3167
+ # detailed_metrics_enabled: false,
3168
+ # logging_level: "ERROR", # accepts ERROR, INFO, false
3169
+ # throttling_burst_limit: 1,
3170
+ # throttling_rate_limit: 1.0,
3171
+ # },
3172
+ # deployment_id: "Id",
3173
+ # description: "StringWithLengthBetween0And1024",
3174
+ # route_settings: {
3175
+ # "__string" => {
3176
+ # data_trace_enabled: false,
3177
+ # detailed_metrics_enabled: false,
3178
+ # logging_level: "ERROR", # accepts ERROR, INFO, false
3179
+ # throttling_burst_limit: 1,
3180
+ # throttling_rate_limit: 1.0,
3181
+ # },
3182
+ # },
3183
+ # stage_name: "__string", # required
3184
+ # stage_variables: {
3185
+ # "__string" => "StringWithLengthBetween0And2048",
3186
+ # },
3187
+ # })
3188
+ #
3189
+ # @example Response structure
3190
+ #
3191
+ # resp.access_log_settings.destination_arn #=> String
3192
+ # resp.access_log_settings.format #=> String
3193
+ # resp.client_certificate_id #=> String
3194
+ # resp.created_date #=> Time
3195
+ # resp.default_route_settings.data_trace_enabled #=> Boolean
3196
+ # resp.default_route_settings.detailed_metrics_enabled #=> Boolean
3197
+ # resp.default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "false"
3198
+ # resp.default_route_settings.throttling_burst_limit #=> Integer
3199
+ # resp.default_route_settings.throttling_rate_limit #=> Float
3200
+ # resp.deployment_id #=> String
3201
+ # resp.description #=> String
3202
+ # resp.last_updated_date #=> Time
3203
+ # resp.route_settings #=> Hash
3204
+ # resp.route_settings["__string"].data_trace_enabled #=> Boolean
3205
+ # resp.route_settings["__string"].detailed_metrics_enabled #=> Boolean
3206
+ # resp.route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "false"
3207
+ # resp.route_settings["__string"].throttling_burst_limit #=> Integer
3208
+ # resp.route_settings["__string"].throttling_rate_limit #=> Float
3209
+ # resp.stage_name #=> String
3210
+ # resp.stage_variables #=> Hash
3211
+ # resp.stage_variables["__string"] #=> String
3212
+ #
3213
+ # @overload update_stage(params = {})
3214
+ # @param [Hash] params ({})
3215
+ def update_stage(params = {}, options = {})
3216
+ req = build_request(:update_stage, params)
3217
+ req.send_request(options)
3218
+ end
3219
+
3220
+ # @!endgroup
3221
+
3222
+ # @param params ({})
3223
+ # @api private
3224
+ def build_request(operation_name, params = {})
3225
+ handlers = @handlers.for(operation_name)
3226
+ context = Seahorse::Client::RequestContext.new(
3227
+ operation_name: operation_name,
3228
+ operation: config.api.operation(operation_name),
3229
+ client: self,
3230
+ params: params,
3231
+ config: config)
3232
+ context[:gem_name] = 'aws-sdk-apigatewayv2'
3233
+ context[:gem_version] = '1.0.0'
3234
+ Seahorse::Client::Request.new(handlers, context)
3235
+ end
3236
+
3237
+ # @api private
3238
+ # @deprecated
3239
+ def waiter_names
3240
+ []
3241
+ end
3242
+
3243
+ class << self
3244
+
3245
+ # @api private
3246
+ attr_reader :identifier
3247
+
3248
+ # @api private
3249
+ def errors_module
3250
+ Errors
3251
+ end
3252
+
3253
+ end
3254
+ end
3255
+ end