aws-sdk-apigateway 1.107.0 → 1.109.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dfb537cee6dfe0a259c801d38a85a859ecaba7628bc79449414cf6f2f113191a
4
- data.tar.gz: d928b0d95e0084e4c76dd9b33141fbce0a7c10ab3dcdbd0fc446581d606629f5
3
+ metadata.gz: e270f31580647e112081484cb7e6a6d0197af32b15d15cf6af2bad721439a8f1
4
+ data.tar.gz: 4fdeeaa4b3964d9a1926d7567555b9a6fbb2de55977a6fca227da660dd5eaf6b
5
5
  SHA512:
6
- metadata.gz: 348c11ba461495f1f4631d6dc95efdef4c154d4d471a662388066cba5c8b3da32105d09684af67e5a12c53c71a9936e378e1ee18712dda48697e5a088bb1cf6b
7
- data.tar.gz: b3d6697a629e4c90925d5123da74773e262d177175c35ad867a5e0c23ac2e8121afe89de3dde496e58c77c9c06b98e353a60f8d6a2e4d03fd19a99f3d06a1ece
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.107.0
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:\{region\}:\{account_id\}:userpool/\{user_pool_id\}`.
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:\{account_id\}:function:\{lambda_function_name\}/invocations`.
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:\{region\}:lambda:path/\{service_api\}`, where
570
- # `\{region\}` is the same as the region hosting the Lambda function,
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://\{api_id\}.execute-api.\{region\}.amazonaws.com`
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/\{restapi_id\}/deployments/\{deployment_id\}?embed=var1,var2`.
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/\{restapi_id\}/deployments/\{deployment_id\}?embed=apisummary`.
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/\{restapi_id\}/resources/\{resource_id\}?embed=methods`.
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/\{restapi_id\}/resources?embed=methods`.
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:\{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
4889
- # service (e.g., s3); and \\\{subdomain\\} is a designated subdomain
4890
- # supported by certain Amazon Web Services service for fast host-name
4891
- # lookup. action can be used for an Amazon Web Services service
4892
- # action-based API, using an
4893
- # Action=\\\{name\\}&amp;\\\{p1\\}=\\\{v1\\}&amp;p2=\\\{v2\\}... query
4894
- # string. The ensuing \\\{service\_api\\} refers to a supported action
4895
- # \\\{name\\} plus any required input parameters. Alternatively, path
4896
- # can be used for an Amazon Web Services service path-based API. The
4897
- # ensuing service\_api refers to the path to an Amazon Web Services
4898
- # service resource, including the region of the integrated Amazon Web
4899
- # Services service, if applicable. For example, for integration with the
4900
- # S3 API of `GetObject`, the `uri` can be either
4901
- # `arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket=\{bucket\}&Key=\{key\}`
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}&amp;\{p1}=\{v1}&amp;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
- # `method.request.\{location\}.\{name\}`, where `location` is
4925
- # `querystring`, `path`, or `header` and `name` must be a valid and
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.\{name\}`, where
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.\{name\}` or
5077
- # `integration.response.body.\{JSON-expression\}`, where `name` must be
5078
- # a valid and unique response header name and `JSON-expression` a valid
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.\{location\}.\{name\}`, where `location` is
5170
- # `querystring`, `path`, or `header` and `name` is a valid and unique
5171
- # parameter name. The value associated with the key is a Boolean flag
5172
- # indicating whether the parameter is required (`true`) or optional
5173
- # (`false`). The method request parameter names defined here are
5174
- # available in Integration to be mapped to integration request
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.\{name\}`, where `name` is a valid and unique
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.\{name\}`, a static
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
- # `integration.response.body.\{JSON-expression\}`, where
5312
- # `JSON-expression` is a valid JSON expression without the `$` prefix.)
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.107.0'
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