aws-sdk-apigateway 1.107.0 → 1.109.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-apigateway/client.rb +44 -47
- data/lib/aws-sdk-apigateway/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-apigateway/endpoints.rb +2 -1318
- data/lib/aws-sdk-apigateway/plugins/endpoints.rb +1 -246
- data/lib/aws-sdk-apigateway/types.rb +85 -91
- data/lib/aws-sdk-apigateway.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e270f31580647e112081484cb7e6a6d0197af32b15d15cf6af2bad721439a8f1
|
4
|
+
data.tar.gz: 4fdeeaa4b3964d9a1926d7567555b9a6fbb2de55977a6fca227da660dd5eaf6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1236d1ba98e20f00526ef380d88e5c3e8521a2cc65df22cd5dab3ca5929a8fce55a02d5b7e86709a561b357fbf45185725166d1f622f637a4e8bca5d7f30263
|
7
|
+
data.tar.gz: 857b819aa38203fa9a9f6cc471b5b4d0e5a39f9c1131fbc6b45216f86d8e72a8a45fdde3a986683240a9cebe1aaddf584c95b94823543d7404ec227813e3c5a6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.109.0 (2024-11-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.108.0 (2024-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.107.0 (2024-09-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.109.0
|
@@ -553,7 +553,7 @@ module Aws::APIGateway
|
|
553
553
|
# @option params [Array<String>] :provider_arns
|
554
554
|
# A list of the Amazon Cognito user pool ARNs for the
|
555
555
|
# `COGNITO_USER_POOLS` authorizer. Each element is of this format:
|
556
|
-
# `arn:aws:cognito-idp
|
556
|
+
# `arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}`.
|
557
557
|
# For a `TOKEN` or `REQUEST` authorizer, this is not defined.
|
558
558
|
#
|
559
559
|
# @option params [String] :auth_type
|
@@ -564,10 +564,10 @@ module Aws::APIGateway
|
|
564
564
|
# Specifies the authorizer's Uniform Resource Identifier (URI). For
|
565
565
|
# `TOKEN` or `REQUEST` authorizers, this must be a well-formed Lambda
|
566
566
|
# function URI, for example,
|
567
|
-
# `arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2
|
567
|
+
# `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`.
|
568
568
|
# In general, the URI has this form
|
569
|
-
# `arn:aws:apigateway
|
570
|
-
#
|
569
|
+
# `arn:aws:apigateway:{region}:lambda:path/{service_api}`, where
|
570
|
+
# `{region}` is the same as the region hosting the Lambda function,
|
571
571
|
# `path` indicates that the remaining substring in the URI should be
|
572
572
|
# treated as the path to the resource, including the initial `/`. For
|
573
573
|
# Lambda functions, this is usually of the form
|
@@ -1269,7 +1269,7 @@ module Aws::APIGateway
|
|
1269
1269
|
# @option params [Boolean] :disable_execute_api_endpoint
|
1270
1270
|
# Specifies whether clients can invoke your API by using the default
|
1271
1271
|
# `execute-api` endpoint. By default, clients can invoke your API with
|
1272
|
-
# the default `https
|
1272
|
+
# the default `https://{api_id}.execute-api.{region}.amazonaws.com`
|
1273
1273
|
# endpoint. To require that clients use a custom domain name to invoke
|
1274
1274
|
# your API, disable the default endpoint
|
1275
1275
|
#
|
@@ -2689,13 +2689,13 @@ module Aws::APIGateway
|
|
2689
2689
|
# returned Deployment resource in the response. In a REST API call, this
|
2690
2690
|
# `embed` parameter value is a list of comma-separated strings, as in
|
2691
2691
|
# `GET
|
2692
|
-
# /restapis
|
2692
|
+
# /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2`.
|
2693
2693
|
# The SDK and other platform-dependent libraries might use a different
|
2694
2694
|
# format for the list. Currently, this request supports only retrieval
|
2695
2695
|
# of the embedded API summary this way. Hence, the parameter value must
|
2696
2696
|
# be a single-valued list containing only the `"apisummary"` string. For
|
2697
2697
|
# example, `GET
|
2698
|
-
# /restapis
|
2698
|
+
# /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary`.
|
2699
2699
|
#
|
2700
2700
|
# @return [Types::Deployment] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2701
2701
|
#
|
@@ -3686,7 +3686,7 @@ module Aws::APIGateway
|
|
3686
3686
|
# request supports only retrieval of the embedded Method resources this
|
3687
3687
|
# way. The query parameter value must be a single-valued list and
|
3688
3688
|
# contain the `"methods"` string. For example, `GET
|
3689
|
-
# /restapis
|
3689
|
+
# /restapis/{restapi_id}/resources/{resource_id}?embed=methods`.
|
3690
3690
|
#
|
3691
3691
|
# @return [Types::Resource] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3692
3692
|
#
|
@@ -3781,7 +3781,7 @@ module Aws::APIGateway
|
|
3781
3781
|
# request supports only retrieval of the embedded Method resources this
|
3782
3782
|
# way. The query parameter value must be a single-valued list and
|
3783
3783
|
# contain the `"methods"` string. For example, `GET
|
3784
|
-
# /restapis
|
3784
|
+
# /restapis/{restapi_id}/resources?embed=methods`.
|
3785
3785
|
#
|
3786
3786
|
# @return [Types::Resources] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3787
3787
|
#
|
@@ -4883,23 +4883,22 @@ module Aws::APIGateway
|
|
4883
4883
|
# is not `VPC_LINK`, or private integration, where `connectionType` is
|
4884
4884
|
# `VPC_LINK`. For a private HTTP integration, the URI is not used for
|
4885
4885
|
# routing. For `AWS` or `AWS_PROXY` integrations, the URI is of the form
|
4886
|
-
# `arn:aws:apigateway
|
4887
|
-
# Here,
|
4888
|
-
#
|
4889
|
-
#
|
4890
|
-
#
|
4891
|
-
#
|
4892
|
-
#
|
4893
|
-
#
|
4894
|
-
#
|
4895
|
-
#
|
4896
|
-
#
|
4897
|
-
#
|
4898
|
-
#
|
4899
|
-
#
|
4900
|
-
#
|
4901
|
-
# `arn:aws:apigateway:us-west-2:s3:
|
4902
|
-
# or `arn:aws:apigateway:us-west-2:s3:path/\{bucket\}/\{key\}`.
|
4886
|
+
# `arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api`}.
|
4887
|
+
# Here, \{Region} is the API Gateway region (e.g., us-east-1);
|
4888
|
+
# \{service} is the name of the integrated Amazon Web Services service
|
4889
|
+
# (e.g., s3); and \{subdomain} is a designated subdomain supported by
|
4890
|
+
# certain Amazon Web Services service for fast host-name lookup. action
|
4891
|
+
# can be used for an Amazon Web Services service action-based API, using
|
4892
|
+
# an Action=\{name}&\{p1}=\{v1}&p2=\{v2}... query string. The
|
4893
|
+
# ensuing \{service\_api} refers to a supported action \{name} plus any
|
4894
|
+
# required input parameters. Alternatively, path can be used for an
|
4895
|
+
# Amazon Web Services service path-based API. The ensuing service\_api
|
4896
|
+
# refers to the path to an Amazon Web Services service resource,
|
4897
|
+
# including the region of the integrated Amazon Web Services service, if
|
4898
|
+
# applicable. For example, for integration with the S3 API of
|
4899
|
+
# `GetObject`, the `uri` can be either
|
4900
|
+
# `arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key}`
|
4901
|
+
# or `arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}`.
|
4903
4902
|
#
|
4904
4903
|
# @option params [String] :connection_type
|
4905
4904
|
# The type of the network connection to the integration endpoint. The
|
@@ -4920,10 +4919,9 @@ module Aws::APIGateway
|
|
4920
4919
|
# parameter name and the associated value is a method request parameter
|
4921
4920
|
# value or static value that must be enclosed within single quotes and
|
4922
4921
|
# pre-encoded as required by the back end. The method request parameter
|
4923
|
-
# value must match the pattern of
|
4924
|
-
# `
|
4925
|
-
#
|
4926
|
-
# unique method request parameter name.
|
4922
|
+
# value must match the pattern of `method.request.{location}.{name}`,
|
4923
|
+
# where `location` is `querystring`, `path`, or `header` and `name` must
|
4924
|
+
# be a valid and unique method request parameter name.
|
4927
4925
|
#
|
4928
4926
|
# @option params [Hash<String,String>] :request_templates
|
4929
4927
|
# Represents a map of Velocity templates that are applied on the request
|
@@ -5071,11 +5069,11 @@ module Aws::APIGateway
|
|
5071
5069
|
# parameter name and the mapped value is an integration response header
|
5072
5070
|
# value, a static value enclosed within a pair of single quotes, or a
|
5073
5071
|
# JSON expression from the integration response body. The mapping key
|
5074
|
-
# must match the pattern of `method.response.header
|
5072
|
+
# must match the pattern of `method.response.header.{name}`, where
|
5075
5073
|
# `name` is a valid and unique header name. The mapped non-static value
|
5076
|
-
# must match the pattern of `integration.response.header
|
5077
|
-
# `integration.response.body
|
5078
|
-
#
|
5074
|
+
# must match the pattern of `integration.response.header.{name}` or
|
5075
|
+
# `integration.response.body.{JSON-expression}`, where `name` must be a
|
5076
|
+
# valid and unique response header name and `JSON-expression` a valid
|
5079
5077
|
# JSON expression without the `$` prefix.
|
5080
5078
|
#
|
5081
5079
|
# @option params [Hash<String,String>] :response_templates
|
@@ -5166,13 +5164,12 @@ module Aws::APIGateway
|
|
5166
5164
|
# A key-value map defining required or optional method request
|
5167
5165
|
# parameters that can be accepted by API Gateway. A key defines a method
|
5168
5166
|
# request parameter name matching the pattern of
|
5169
|
-
# `method.request
|
5170
|
-
# `
|
5171
|
-
#
|
5172
|
-
#
|
5173
|
-
#
|
5174
|
-
#
|
5175
|
-
# parameters or body-mapping templates.
|
5167
|
+
# `method.request.{location}.{name}`, where `location` is `querystring`,
|
5168
|
+
# `path`, or `header` and `name` is a valid and unique parameter name.
|
5169
|
+
# The value associated with the key is a Boolean flag indicating whether
|
5170
|
+
# the parameter is required (`true`) or optional (`false`). The method
|
5171
|
+
# request parameter names defined here are available in Integration to
|
5172
|
+
# be mapped to integration request parameters or body-mapping templates.
|
5176
5173
|
#
|
5177
5174
|
# @option params [Hash<String,String>] :request_models
|
5178
5175
|
# Specifies the Model resources used for the request's content type.
|
@@ -5301,15 +5298,15 @@ module Aws::APIGateway
|
|
5301
5298
|
# response header name and the associated value is a Boolean flag
|
5302
5299
|
# indicating whether the method response parameter is required or not.
|
5303
5300
|
# The method response header names must match the pattern of
|
5304
|
-
# `method.response.header
|
5301
|
+
# `method.response.header.{name}`, where `name` is a valid and unique
|
5305
5302
|
# header name. The response parameter names defined here are available
|
5306
5303
|
# in the integration response to be mapped from an integration response
|
5307
|
-
# header expressed in `integration.response.header
|
5304
|
+
# header expressed in `integration.response.header.{name}`, a static
|
5308
5305
|
# value enclosed within a pair of single quotes (e.g.,
|
5309
5306
|
# `'application/json'`), or a JSON expression from the back-end response
|
5310
|
-
# payload in the form of
|
5311
|
-
# `
|
5312
|
-
#
|
5307
|
+
# payload in the form of `integration.response.body.{JSON-expression}`,
|
5308
|
+
# where `JSON-expression` is a valid JSON expression without the `$`
|
5309
|
+
# prefix.)
|
5313
5310
|
#
|
5314
5311
|
# @option params [Hash<String,String>] :response_models
|
5315
5312
|
# Specifies the Model resources used for the response's content type.
|
@@ -7125,7 +7122,7 @@ module Aws::APIGateway
|
|
7125
7122
|
tracer: tracer
|
7126
7123
|
)
|
7127
7124
|
context[:gem_name] = 'aws-sdk-apigateway'
|
7128
|
-
context[:gem_version] = '1.
|
7125
|
+
context[:gem_version] = '1.109.0'
|
7129
7126
|
Seahorse::Client::Request.new(handlers, context)
|
7130
7127
|
end
|
7131
7128
|
|
@@ -52,15 +52,18 @@ module Aws::APIGateway
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
-
if self[:use_dual_stack].nil?
|
56
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
-
end
|
58
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
-
if self[:use_fips].nil?
|
61
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
-
end
|
63
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|