aws-sdk-apigatewayv2 1.17.0 → 1.22.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88645f9778e16bafc4195157df03c671745e10cf5445a74e819494cc1e4676bc
|
4
|
+
data.tar.gz: cae5d29fc3decb9027bbeefa92d851d109e52113d4abf4b2c870c7bb18dab8b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93768632e48c91f5a9147f42fe2ee03f69fa4a886ebcf2cb52eec5d8c650085171ebe516d78063665c982eb5a13260fae81b6108480a2961b4db36e976173bcc
|
7
|
+
data.tar.gz: 07d336fb77a86c4649a9db895c8163f1679a756b4bf0d0d2ce75cce16e38cd154b6603a5dd0b481521cecb8ed5d85982125a641e54f94eff878f82aa1b988948
|
data/lib/aws-sdk-apigatewayv2.rb
CHANGED
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
30
|
|
@@ -69,6 +70,7 @@ module Aws::ApiGatewayV2
|
|
69
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
75
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
76
|
|
@@ -105,7 +107,7 @@ module Aws::ApiGatewayV2
|
|
105
107
|
# @option options [required, String] :region
|
106
108
|
# The AWS region to connect to. The configured `:region` is
|
107
109
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
110
|
+
# a default `:region` is searched for in the following locations:
|
109
111
|
#
|
110
112
|
# * `Aws.config[:region]`
|
111
113
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +163,7 @@ module Aws::ApiGatewayV2
|
|
161
163
|
# @option options [String] :endpoint
|
162
164
|
# The client endpoint is normally constructed from the `:region`
|
163
165
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
167
|
#
|
166
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +178,7 @@ module Aws::ApiGatewayV2
|
|
176
178
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
179
|
#
|
178
180
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
181
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
182
|
#
|
181
183
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
184
|
# The log formatter.
|
@@ -269,8 +271,7 @@ module Aws::ApiGatewayV2
|
|
269
271
|
#
|
270
272
|
# @option options [Integer] :http_read_timeout (60) The default
|
271
273
|
# number of seconds to wait for response data. This value can
|
272
|
-
# safely be set
|
273
|
-
# per-request on the session yielded by {#session_for}.
|
274
|
+
# safely be set per-request on the session.
|
274
275
|
#
|
275
276
|
# @option options [Float] :http_idle_timeout (5) The number of
|
276
277
|
# seconds a connection is allowed to sit idle before it is
|
@@ -282,7 +283,7 @@ module Aws::ApiGatewayV2
|
|
282
283
|
# request body. This option has no effect unless the request has
|
283
284
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
284
285
|
# disables this behaviour. This value can safely be set per
|
285
|
-
# request on the session
|
286
|
+
# request on the session.
|
286
287
|
#
|
287
288
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
288
289
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -763,7 +764,7 @@ module Aws::ApiGatewayV2
|
|
763
764
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
|
764
765
|
#
|
765
766
|
# @option params [Integer] :timeout_in_millis
|
766
|
-
# An integer with a value between \[50-
|
767
|
+
# An integer with a value between \[50-30000\].
|
767
768
|
#
|
768
769
|
# @option params [Types::TlsConfigInput] :tls_config
|
769
770
|
# The TLS configuration for a private integration. If you specify a TLS
|
@@ -1721,6 +1722,47 @@ module Aws::ApiGatewayV2
|
|
1721
1722
|
req.send_request(options)
|
1722
1723
|
end
|
1723
1724
|
|
1725
|
+
# Exports a definition of an API in a particular output format and
|
1726
|
+
# specification.
|
1727
|
+
#
|
1728
|
+
# @option params [required, String] :api_id
|
1729
|
+
#
|
1730
|
+
# @option params [String] :export_version
|
1731
|
+
#
|
1732
|
+
# @option params [Boolean] :include_extensions
|
1733
|
+
#
|
1734
|
+
# @option params [required, String] :output_type
|
1735
|
+
#
|
1736
|
+
# @option params [required, String] :specification
|
1737
|
+
#
|
1738
|
+
# @option params [String] :stage_name
|
1739
|
+
#
|
1740
|
+
# @return [Types::ExportApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1741
|
+
#
|
1742
|
+
# * {Types::ExportApiResponse#body #body} => String
|
1743
|
+
#
|
1744
|
+
# @example Request syntax with placeholder values
|
1745
|
+
#
|
1746
|
+
# resp = client.export_api({
|
1747
|
+
# api_id: "__string", # required
|
1748
|
+
# export_version: "__string",
|
1749
|
+
# include_extensions: false,
|
1750
|
+
# output_type: "__string", # required
|
1751
|
+
# specification: "__string", # required
|
1752
|
+
# stage_name: "__string",
|
1753
|
+
# })
|
1754
|
+
#
|
1755
|
+
# @example Response structure
|
1756
|
+
#
|
1757
|
+
# resp.body #=> String
|
1758
|
+
#
|
1759
|
+
# @overload export_api(params = {})
|
1760
|
+
# @param [Hash] params ({})
|
1761
|
+
def export_api(params = {}, options = {})
|
1762
|
+
req = build_request(:export_api, params)
|
1763
|
+
req.send_request(options)
|
1764
|
+
end
|
1765
|
+
|
1724
1766
|
# Gets an Api resource.
|
1725
1767
|
#
|
1726
1768
|
# @option params [required, String] :api_id
|
@@ -3531,7 +3573,7 @@ module Aws::ApiGatewayV2
|
|
3531
3573
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
|
3532
3574
|
#
|
3533
3575
|
# @option params [Integer] :timeout_in_millis
|
3534
|
-
# An integer with a value between \[50-
|
3576
|
+
# An integer with a value between \[50-30000\].
|
3535
3577
|
#
|
3536
3578
|
# @option params [Types::TlsConfigInput] :tls_config
|
3537
3579
|
# The TLS configuration for a private integration. If you specify a TLS
|
@@ -4144,7 +4186,7 @@ module Aws::ApiGatewayV2
|
|
4144
4186
|
params: params,
|
4145
4187
|
config: config)
|
4146
4188
|
context[:gem_name] = 'aws-sdk-apigatewayv2'
|
4147
|
-
context[:gem_version] = '1.
|
4189
|
+
context[:gem_version] = '1.22.1'
|
4148
4190
|
Seahorse::Client::Request.new(handlers, context)
|
4149
4191
|
end
|
4150
4192
|
|
@@ -93,6 +93,9 @@ module Aws::ApiGatewayV2
|
|
93
93
|
DomainNameStatus = Shapes::StringShape.new(name: 'DomainNameStatus')
|
94
94
|
DomainNames = Shapes::StructureShape.new(name: 'DomainNames')
|
95
95
|
EndpointType = Shapes::StringShape.new(name: 'EndpointType')
|
96
|
+
ExportApiRequest = Shapes::StructureShape.new(name: 'ExportApiRequest')
|
97
|
+
ExportApiResponse = Shapes::StructureShape.new(name: 'ExportApiResponse')
|
98
|
+
ExportedApi = Shapes::BlobShape.new(name: 'ExportedApi')
|
96
99
|
GetApiMappingRequest = Shapes::StructureShape.new(name: 'GetApiMappingRequest')
|
97
100
|
GetApiMappingResponse = Shapes::StructureShape.new(name: 'GetApiMappingResponse')
|
98
101
|
GetApiMappingsRequest = Shapes::StructureShape.new(name: 'GetApiMappingsRequest')
|
@@ -151,7 +154,7 @@ module Aws::ApiGatewayV2
|
|
151
154
|
ImportApiRequest = Shapes::StructureShape.new(name: 'ImportApiRequest')
|
152
155
|
ImportApiResponse = Shapes::StructureShape.new(name: 'ImportApiResponse')
|
153
156
|
IntegerWithLengthBetween0And3600 = Shapes::IntegerShape.new(name: 'IntegerWithLengthBetween0And3600')
|
154
|
-
|
157
|
+
IntegerWithLengthBetween50And30000 = Shapes::IntegerShape.new(name: 'IntegerWithLengthBetween50And30000')
|
155
158
|
IntegerWithLengthBetweenMinus1And86400 = Shapes::IntegerShape.new(name: 'IntegerWithLengthBetweenMinus1And86400')
|
156
159
|
Integration = Shapes::StructureShape.new(name: 'Integration')
|
157
160
|
IntegrationParameters = Shapes::MapShape.new(name: 'IntegrationParameters')
|
@@ -482,7 +485,7 @@ module Aws::ApiGatewayV2
|
|
482
485
|
CreateIntegrationInput.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
483
486
|
CreateIntegrationInput.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
484
487
|
CreateIntegrationInput.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
485
|
-
CreateIntegrationInput.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape:
|
488
|
+
CreateIntegrationInput.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
486
489
|
CreateIntegrationInput.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfigInput, location_name: "tlsConfig"))
|
487
490
|
CreateIntegrationInput.struct_class = Types::CreateIntegrationInput
|
488
491
|
|
@@ -500,7 +503,7 @@ module Aws::ApiGatewayV2
|
|
500
503
|
CreateIntegrationRequest.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
501
504
|
CreateIntegrationRequest.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
502
505
|
CreateIntegrationRequest.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
503
|
-
CreateIntegrationRequest.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape:
|
506
|
+
CreateIntegrationRequest.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
504
507
|
CreateIntegrationRequest.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfigInput, location_name: "tlsConfig"))
|
505
508
|
CreateIntegrationRequest.struct_class = Types::CreateIntegrationRequest
|
506
509
|
|
@@ -544,7 +547,7 @@ module Aws::ApiGatewayV2
|
|
544
547
|
CreateIntegrationResult.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
545
548
|
CreateIntegrationResult.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
546
549
|
CreateIntegrationResult.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
547
|
-
CreateIntegrationResult.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape:
|
550
|
+
CreateIntegrationResult.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
548
551
|
CreateIntegrationResult.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
|
549
552
|
CreateIntegrationResult.struct_class = Types::CreateIntegrationResult
|
550
553
|
|
@@ -796,6 +799,19 @@ module Aws::ApiGatewayV2
|
|
796
799
|
DomainNames.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
797
800
|
DomainNames.struct_class = Types::DomainNames
|
798
801
|
|
802
|
+
ExportApiRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiId"))
|
803
|
+
ExportApiRequest.add_member(:export_version, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "exportVersion"))
|
804
|
+
ExportApiRequest.add_member(:include_extensions, Shapes::ShapeRef.new(shape: __boolean, location: "querystring", location_name: "includeExtensions"))
|
805
|
+
ExportApiRequest.add_member(:output_type, Shapes::ShapeRef.new(shape: __string, required: true, location: "querystring", location_name: "outputType", metadata: {"enum"=>["YAML", "JSON"]}))
|
806
|
+
ExportApiRequest.add_member(:specification, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "specification", metadata: {"enum"=>["OAS30"]}))
|
807
|
+
ExportApiRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "stageName"))
|
808
|
+
ExportApiRequest.struct_class = Types::ExportApiRequest
|
809
|
+
|
810
|
+
ExportApiResponse.add_member(:body, Shapes::ShapeRef.new(shape: ExportedApi, location_name: "body"))
|
811
|
+
ExportApiResponse.struct_class = Types::ExportApiResponse
|
812
|
+
ExportApiResponse[:payload] = :body
|
813
|
+
ExportApiResponse[:payload_member] = ExportApiResponse.member(:body)
|
814
|
+
|
799
815
|
GetApiMappingRequest.add_member(:api_mapping_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiMappingId"))
|
800
816
|
GetApiMappingRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "domainName"))
|
801
817
|
GetApiMappingRequest.struct_class = Types::GetApiMappingRequest
|
@@ -947,7 +963,7 @@ module Aws::ApiGatewayV2
|
|
947
963
|
GetIntegrationResult.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
948
964
|
GetIntegrationResult.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
949
965
|
GetIntegrationResult.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
950
|
-
GetIntegrationResult.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape:
|
966
|
+
GetIntegrationResult.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
951
967
|
GetIntegrationResult.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
|
952
968
|
GetIntegrationResult.struct_class = Types::GetIntegrationResult
|
953
969
|
|
@@ -1136,7 +1152,7 @@ module Aws::ApiGatewayV2
|
|
1136
1152
|
Integration.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
1137
1153
|
Integration.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
1138
1154
|
Integration.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
1139
|
-
Integration.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape:
|
1155
|
+
Integration.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
1140
1156
|
Integration.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
|
1141
1157
|
Integration.struct_class = Types::Integration
|
1142
1158
|
|
@@ -1449,7 +1465,7 @@ module Aws::ApiGatewayV2
|
|
1449
1465
|
UpdateIntegrationInput.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
1450
1466
|
UpdateIntegrationInput.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
1451
1467
|
UpdateIntegrationInput.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
1452
|
-
UpdateIntegrationInput.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape:
|
1468
|
+
UpdateIntegrationInput.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
1453
1469
|
UpdateIntegrationInput.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfigInput, location_name: "tlsConfig"))
|
1454
1470
|
UpdateIntegrationInput.struct_class = Types::UpdateIntegrationInput
|
1455
1471
|
|
@@ -1468,7 +1484,7 @@ module Aws::ApiGatewayV2
|
|
1468
1484
|
UpdateIntegrationRequest.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
1469
1485
|
UpdateIntegrationRequest.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
1470
1486
|
UpdateIntegrationRequest.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
1471
|
-
UpdateIntegrationRequest.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape:
|
1487
|
+
UpdateIntegrationRequest.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
1472
1488
|
UpdateIntegrationRequest.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfigInput, location_name: "tlsConfig"))
|
1473
1489
|
UpdateIntegrationRequest.struct_class = Types::UpdateIntegrationRequest
|
1474
1490
|
|
@@ -1513,7 +1529,7 @@ module Aws::ApiGatewayV2
|
|
1513
1529
|
UpdateIntegrationResult.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
1514
1530
|
UpdateIntegrationResult.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
1515
1531
|
UpdateIntegrationResult.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
1516
|
-
UpdateIntegrationResult.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape:
|
1532
|
+
UpdateIntegrationResult.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
1517
1533
|
UpdateIntegrationResult.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
|
1518
1534
|
UpdateIntegrationResult.struct_class = Types::UpdateIntegrationResult
|
1519
1535
|
|
@@ -2022,6 +2038,17 @@ module Aws::ApiGatewayV2
|
|
2022
2038
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2023
2039
|
end)
|
2024
2040
|
|
2041
|
+
api.add_operation(:export_api, Seahorse::Model::Operation.new.tap do |o|
|
2042
|
+
o.name = "ExportApi"
|
2043
|
+
o.http_method = "GET"
|
2044
|
+
o.http_request_uri = "/v2/apis/{apiId}/exports/{specification}"
|
2045
|
+
o.input = Shapes::ShapeRef.new(shape: ExportApiRequest)
|
2046
|
+
o.output = Shapes::ShapeRef.new(shape: ExportApiResponse)
|
2047
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2048
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2049
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2050
|
+
end)
|
2051
|
+
|
2025
2052
|
api.add_operation(:get_api, Seahorse::Model::Operation.new.tap do |o|
|
2026
2053
|
o.name = "GetApi"
|
2027
2054
|
o.http_method = "GET"
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::ApiGatewayV2
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::ApiGatewayV2::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::ApiGatewayV2::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::ApiGatewayV2::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
@@ -222,16 +222,10 @@ module Aws::ApiGatewayV2
|
|
222
222
|
# The authorizer's Uniform Resource Identifier (URI). ForREQUEST
|
223
223
|
# authorizers, this must be a well-formed Lambda function URI, for
|
224
224
|
# example,
|
225
|
-
# arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2
|
226
|
-
#
|
227
|
-
#
|
228
|
-
#
|
229
|
-
# /invocations. In general, the URI has this form:
|
230
|
-
# arn:aws:apigateway:<replaceable>\{region\}</replaceable>
|
231
|
-
#
|
232
|
-
# \:lambda:path/<replaceable>\{service_api\}</replaceable>
|
233
|
-
#
|
234
|
-
# , where <replaceable />
|
225
|
+
# arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:*\\\{account\_id\\}*\:function:*\\\{lambda\_function\_name\\}*/invocations.
|
226
|
+
# In general, the URI has this form:
|
227
|
+
# arn:aws:apigateway:*\\\{region\\}*\:lambda:path/*\\\{service\_api\\}*
|
228
|
+
# , where <replaceable />
|
235
229
|
#
|
236
230
|
# \\\{region\\} is the same as the region hosting the Lambda function,
|
237
231
|
# path indicates that the remaining substring in the URI should be
|
@@ -804,16 +798,10 @@ module Aws::ApiGatewayV2
|
|
804
798
|
# The authorizer's Uniform Resource Identifier (URI). For REQUEST
|
805
799
|
# authorizers, this must be a well-formed Lambda function URI, for
|
806
800
|
# example,
|
807
|
-
# arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2
|
808
|
-
#
|
809
|
-
#
|
810
|
-
#
|
811
|
-
# /invocations. In general, the URI has this form:
|
812
|
-
# arn:aws:apigateway:<replaceable>\{region\}</replaceable>
|
813
|
-
#
|
814
|
-
# \:lambda:path/<replaceable>\{service_api\}</replaceable>
|
815
|
-
#
|
816
|
-
# , where <replaceable />
|
801
|
+
# arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:*\\\{account\_id\\}*\:function:*\\\{lambda\_function\_name\\}*/invocations.
|
802
|
+
# In general, the URI has this form:
|
803
|
+
# arn:aws:apigateway:*\\\{region\\}*\:lambda:path/*\\\{service\_api\\}*
|
804
|
+
# , where <replaceable />
|
817
805
|
#
|
818
806
|
# \\\{region\\} is the same as the region hosting the Lambda function,
|
819
807
|
# path indicates that the remaining substring in the URI should be
|
@@ -1280,7 +1268,7 @@ module Aws::ApiGatewayV2
|
|
1280
1268
|
#
|
1281
1269
|
#
|
1282
1270
|
#
|
1283
|
-
# [1]: https://
|
1271
|
+
# [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html
|
1284
1272
|
# @return [String]
|
1285
1273
|
#
|
1286
1274
|
# @!attribute [rw] passthrough_behavior
|
@@ -1314,16 +1302,9 @@ module Aws::ApiGatewayV2
|
|
1314
1302
|
# parameter value or static value that must be enclosed within single
|
1315
1303
|
# quotes and pre-encoded as required by the backend. The method
|
1316
1304
|
# request parameter value must match the pattern of
|
1317
|
-
# method.request
|
1318
|
-
#
|
1319
|
-
#
|
1320
|
-
#
|
1321
|
-
# , where <replaceable>\{location\}</replaceable>
|
1322
|
-
#
|
1323
|
-
# is querystring, path, or header; and
|
1324
|
-
# <replaceable>\{name\}</replaceable>
|
1325
|
-
#
|
1326
|
-
# must be a valid and unique method request parameter name. Supported
|
1305
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
1306
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
1307
|
+
# must be a valid and unique method request parameter name. Supported
|
1327
1308
|
# only for WebSocket APIs.
|
1328
1309
|
# @return [Hash<String,String>]
|
1329
1310
|
#
|
@@ -1340,9 +1321,10 @@ module Aws::ApiGatewayV2
|
|
1340
1321
|
# @return [String]
|
1341
1322
|
#
|
1342
1323
|
# @!attribute [rw] timeout_in_millis
|
1343
|
-
# Custom timeout between 50 and 29,000 milliseconds
|
1344
|
-
#
|
1345
|
-
#
|
1324
|
+
# Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs
|
1325
|
+
# and between 50 and 30,000 milliseconds for HTTP APIs. The default
|
1326
|
+
# timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP
|
1327
|
+
# APIs.
|
1346
1328
|
# @return [Integer]
|
1347
1329
|
#
|
1348
1330
|
# @!attribute [rw] tls_config
|
@@ -1474,7 +1456,7 @@ module Aws::ApiGatewayV2
|
|
1474
1456
|
# @return [String]
|
1475
1457
|
#
|
1476
1458
|
# @!attribute [rw] timeout_in_millis
|
1477
|
-
# An integer with a value between \[50-
|
1459
|
+
# An integer with a value between \[50-30000\].
|
1478
1460
|
# @return [Integer]
|
1479
1461
|
#
|
1480
1462
|
# @!attribute [rw] tls_config
|
@@ -1592,7 +1574,7 @@ module Aws::ApiGatewayV2
|
|
1592
1574
|
# @return [String]
|
1593
1575
|
#
|
1594
1576
|
# @!attribute [rw] timeout_in_millis
|
1595
|
-
# An integer with a value between \[50-
|
1577
|
+
# An integer with a value between \[50-30000\].
|
1596
1578
|
# @return [Integer]
|
1597
1579
|
#
|
1598
1580
|
# @!attribute [rw] tls_config
|
@@ -3161,6 +3143,57 @@ module Aws::ApiGatewayV2
|
|
3161
3143
|
include Aws::Structure
|
3162
3144
|
end
|
3163
3145
|
|
3146
|
+
# @note When making an API call, you may pass ExportApiRequest
|
3147
|
+
# data as a hash:
|
3148
|
+
#
|
3149
|
+
# {
|
3150
|
+
# api_id: "__string", # required
|
3151
|
+
# export_version: "__string",
|
3152
|
+
# include_extensions: false,
|
3153
|
+
# output_type: "__string", # required
|
3154
|
+
# specification: "__string", # required
|
3155
|
+
# stage_name: "__string",
|
3156
|
+
# }
|
3157
|
+
#
|
3158
|
+
# @!attribute [rw] api_id
|
3159
|
+
# @return [String]
|
3160
|
+
#
|
3161
|
+
# @!attribute [rw] export_version
|
3162
|
+
# @return [String]
|
3163
|
+
#
|
3164
|
+
# @!attribute [rw] include_extensions
|
3165
|
+
# @return [Boolean]
|
3166
|
+
#
|
3167
|
+
# @!attribute [rw] output_type
|
3168
|
+
# @return [String]
|
3169
|
+
#
|
3170
|
+
# @!attribute [rw] specification
|
3171
|
+
# @return [String]
|
3172
|
+
#
|
3173
|
+
# @!attribute [rw] stage_name
|
3174
|
+
# @return [String]
|
3175
|
+
#
|
3176
|
+
class ExportApiRequest < Struct.new(
|
3177
|
+
:api_id,
|
3178
|
+
:export_version,
|
3179
|
+
:include_extensions,
|
3180
|
+
:output_type,
|
3181
|
+
:specification,
|
3182
|
+
:stage_name)
|
3183
|
+
include Aws::Structure
|
3184
|
+
end
|
3185
|
+
|
3186
|
+
# @!attribute [rw] body
|
3187
|
+
# Represents an exported definition of an API in a particular output
|
3188
|
+
# format, for example, YAML. The API is serialized to the requested
|
3189
|
+
# specification, for example, OpenAPI 3.0.
|
3190
|
+
# @return [String]
|
3191
|
+
#
|
3192
|
+
class ExportApiResponse < Struct.new(
|
3193
|
+
:body)
|
3194
|
+
include Aws::Structure
|
3195
|
+
end
|
3196
|
+
|
3164
3197
|
# @note When making an API call, you may pass GetApiMappingRequest
|
3165
3198
|
# data as a hash:
|
3166
3199
|
#
|
@@ -3787,7 +3820,7 @@ module Aws::ApiGatewayV2
|
|
3787
3820
|
# @return [String]
|
3788
3821
|
#
|
3789
3822
|
# @!attribute [rw] timeout_in_millis
|
3790
|
-
# An integer with a value between \[50-
|
3823
|
+
# An integer with a value between \[50-30000\].
|
3791
3824
|
# @return [Integer]
|
3792
3825
|
#
|
3793
3826
|
# @!attribute [rw] tls_config
|
@@ -4846,7 +4879,7 @@ module Aws::ApiGatewayV2
|
|
4846
4879
|
#
|
4847
4880
|
#
|
4848
4881
|
#
|
4849
|
-
# [1]: https://
|
4882
|
+
# [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html
|
4850
4883
|
# @return [String]
|
4851
4884
|
#
|
4852
4885
|
# @!attribute [rw] passthrough_behavior
|
@@ -4880,16 +4913,9 @@ module Aws::ApiGatewayV2
|
|
4880
4913
|
# parameter value or static value that must be enclosed within single
|
4881
4914
|
# quotes and pre-encoded as required by the backend. The method
|
4882
4915
|
# request parameter value must match the pattern of
|
4883
|
-
# method.request
|
4884
|
-
#
|
4885
|
-
#
|
4886
|
-
#
|
4887
|
-
# , where <replaceable>\{location\}</replaceable>
|
4888
|
-
#
|
4889
|
-
# is querystring, path, or header; and
|
4890
|
-
# <replaceable>\{name\}</replaceable>
|
4891
|
-
#
|
4892
|
-
# must be a valid and unique method request parameter name. Supported
|
4916
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
4917
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
4918
|
+
# must be a valid and unique method request parameter name. Supported
|
4893
4919
|
# only for WebSocket APIs.
|
4894
4920
|
# @return [Hash<String,String>]
|
4895
4921
|
#
|
@@ -4907,9 +4933,10 @@ module Aws::ApiGatewayV2
|
|
4907
4933
|
# @return [String]
|
4908
4934
|
#
|
4909
4935
|
# @!attribute [rw] timeout_in_millis
|
4910
|
-
# Custom timeout between 50 and 29,000 milliseconds
|
4911
|
-
#
|
4912
|
-
#
|
4936
|
+
# Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs
|
4937
|
+
# and between 50 and 30,000 milliseconds for HTTP APIs. The default
|
4938
|
+
# timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP
|
4939
|
+
# APIs.
|
4913
4940
|
# @return [Integer]
|
4914
4941
|
#
|
4915
4942
|
# @!attribute [rw] tls_config
|
@@ -5061,11 +5088,9 @@ module Aws::ApiGatewayV2
|
|
5061
5088
|
# @!attribute [rw] issuer
|
5062
5089
|
# The base domain of the identity provider that issues JSON Web
|
5063
5090
|
# Tokens. For example, an Amazon Cognito user pool has the following
|
5064
|
-
# format:
|
5065
|
-
#
|
5066
|
-
# .
|
5067
|
-
#
|
5068
|
-
# . Required for the JWT authorizer type. Supported only for HTTP
|
5091
|
+
# format:
|
5092
|
+
# https://cognito-idp.*\\\{region\\}*.amazonaws.com/*\\\{userPoolId\\}*
|
5093
|
+
# . Required for the JWT authorizer type. Supported only for HTTP
|
5069
5094
|
# APIs.
|
5070
5095
|
# @return [String]
|
5071
5096
|
#
|
@@ -6132,16 +6157,10 @@ module Aws::ApiGatewayV2
|
|
6132
6157
|
# The authorizer's Uniform Resource Identifier (URI). For REQUEST
|
6133
6158
|
# authorizers, this must be a well-formed Lambda function URI, for
|
6134
6159
|
# example,
|
6135
|
-
# arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2
|
6136
|
-
#
|
6137
|
-
#
|
6138
|
-
#
|
6139
|
-
# /invocations. In general, the URI has this form:
|
6140
|
-
# arn:aws:apigateway:<replaceable>\{region\}</replaceable>
|
6141
|
-
#
|
6142
|
-
# \:lambda:path/<replaceable>\{service_api\}</replaceable>
|
6143
|
-
#
|
6144
|
-
# , where <replaceable />
|
6160
|
+
# arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:*\\\{account\_id\\}*\:function:*\\\{lambda\_function\_name\\}*/invocations.
|
6161
|
+
# In general, the URI has this form:
|
6162
|
+
# arn:aws:apigateway:*\\\{region\\}*\:lambda:path/*\\\{service\_api\\}*
|
6163
|
+
# , where <replaceable />
|
6145
6164
|
#
|
6146
6165
|
# \\\{region\\} is the same as the region hosting the Lambda function,
|
6147
6166
|
# path indicates that the remaining substring in the URI should be
|
@@ -6587,7 +6606,7 @@ module Aws::ApiGatewayV2
|
|
6587
6606
|
#
|
6588
6607
|
#
|
6589
6608
|
#
|
6590
|
-
# [1]: https://
|
6609
|
+
# [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html
|
6591
6610
|
# @return [String]
|
6592
6611
|
#
|
6593
6612
|
# @!attribute [rw] passthrough_behavior
|
@@ -6621,16 +6640,9 @@ module Aws::ApiGatewayV2
|
|
6621
6640
|
# parameter value or static value that must be enclosed within single
|
6622
6641
|
# quotes and pre-encoded as required by the backend. The method
|
6623
6642
|
# request parameter value must match the pattern of
|
6624
|
-
# method.request
|
6625
|
-
#
|
6626
|
-
#
|
6627
|
-
#
|
6628
|
-
# , where <replaceable>\{location\}</replaceable>
|
6629
|
-
#
|
6630
|
-
# is querystring, path, or header; and
|
6631
|
-
# <replaceable>\{name\}</replaceable>
|
6632
|
-
#
|
6633
|
-
# must be a valid and unique method request parameter name. Supported
|
6643
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
6644
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
6645
|
+
# must be a valid and unique method request parameter name. Supported
|
6634
6646
|
# only for WebSocket APIs.
|
6635
6647
|
# @return [Hash<String,String>]
|
6636
6648
|
#
|
@@ -6647,9 +6659,10 @@ module Aws::ApiGatewayV2
|
|
6647
6659
|
# @return [String]
|
6648
6660
|
#
|
6649
6661
|
# @!attribute [rw] timeout_in_millis
|
6650
|
-
# Custom timeout between 50 and 29,000 milliseconds
|
6651
|
-
#
|
6652
|
-
#
|
6662
|
+
# Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs
|
6663
|
+
# and between 50 and 30,000 milliseconds for HTTP APIs. The default
|
6664
|
+
# timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP
|
6665
|
+
# APIs.
|
6653
6666
|
# @return [Integer]
|
6654
6667
|
#
|
6655
6668
|
# @!attribute [rw] tls_config
|
@@ -6785,7 +6798,7 @@ module Aws::ApiGatewayV2
|
|
6785
6798
|
# @return [String]
|
6786
6799
|
#
|
6787
6800
|
# @!attribute [rw] timeout_in_millis
|
6788
|
-
# An integer with a value between \[50-
|
6801
|
+
# An integer with a value between \[50-30000\].
|
6789
6802
|
# @return [Integer]
|
6790
6803
|
#
|
6791
6804
|
# @!attribute [rw] tls_config
|
@@ -6904,7 +6917,7 @@ module Aws::ApiGatewayV2
|
|
6904
6917
|
# @return [String]
|
6905
6918
|
#
|
6906
6919
|
# @!attribute [rw] timeout_in_millis
|
6907
|
-
# An integer with a value between \[50-
|
6920
|
+
# An integer with a value between \[50-30000\].
|
6908
6921
|
# @return [Integer]
|
6909
6922
|
#
|
6910
6923
|
# @!attribute [rw] tls_config
|
@@ -6966,21 +6979,13 @@ module Aws::ApiGatewayV2
|
|
6966
6979
|
# response header value, a static value enclosed within a pair of
|
6967
6980
|
# single quotes, or a JSON expression from the integration response
|
6968
6981
|
# body. The mapping key must match the pattern of
|
6969
|
-
# method.response.header
|
6970
|
-
#
|
6971
|
-
#
|
6972
|
-
#
|
6973
|
-
#
|
6974
|
-
#
|
6975
|
-
#
|
6976
|
-
# integration.response.body.<replaceable>\{JSON-expression\}</replaceable>
|
6977
|
-
#
|
6978
|
-
# , where <replaceable>\{name\}</replaceable>
|
6979
|
-
#
|
6980
|
-
# is a valid and unique response header name and
|
6981
|
-
# <replaceable>\{JSON-expression\}</replaceable>
|
6982
|
-
#
|
6983
|
-
# is a valid JSON expression without the $ prefix.
|
6982
|
+
# method.response.header.*\\\{name\\}* , where name is a valid and
|
6983
|
+
# unique header name. The mapped non-static value must match the
|
6984
|
+
# pattern of integration.response.header.*\\\{name\\}* or
|
6985
|
+
# integration.response.body.*\\\{JSON-expression\\}* , where
|
6986
|
+
# *\\\{name\\}* is a valid and unique response header name and
|
6987
|
+
# *\\\{JSON-expression\\}* is a valid JSON expression without the $
|
6988
|
+
# prefix.
|
6984
6989
|
# @return [Hash<String,String>]
|
6985
6990
|
#
|
6986
6991
|
# @!attribute [rw] response_templates
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-apigatewayv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.22.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.99.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,7 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
|
-
|
83
|
+
rubyforge_project:
|
84
|
+
rubygems_version: 2.7.6.2
|
84
85
|
signing_key:
|
85
86
|
specification_version: 4
|
86
87
|
summary: AWS SDK for Ruby - AmazonApiGatewayV2
|