aws-sdk-apigateway 1.6.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32dd66a417cb0ffcb831d383c6d74ea9f563aab9
4
- data.tar.gz: 13f1c58992c5a9ec442c733c9f68dc827266251a
3
+ metadata.gz: c47ecf733a6f396552715f63f34d65dc19eb8c2f
4
+ data.tar.gz: 151b0d9cfc00da42e6791406000abc64712bafc4
5
5
  SHA512:
6
- metadata.gz: 4c9c4fae6b7847ac07765a475dead9bb944fb95b5e0600602e6e44a15790c577b6ad4eb7a5b4042f098f88abc6fbe070e31f77e4ac9a788c0c239865dac03aae
7
- data.tar.gz: a042b9c8786959e803536f51868a7e74b6f3f5e0a0e784e537417a4372667ffbf635d06599a35546a2349a1e9095634ab5d347b6afc2e9b9d3e0d8839c3b9ac5
6
+ metadata.gz: 88b6fadf88b8b30c9efc7681c335656c68776d5c2052e596bde0540dd8e01f69efd48a398c9670b2076e7da0f48fd46d61fd21c3b1ec7622ca188f44eeabc122
7
+ data.tar.gz: 880a2da011de91685c57929a51bb8bb89b6df29c918f1a17459b6bccd166b15d82a9241ef4fef94290c0981b21efd6c7a76fa7765d5182f1339186853171b447
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-apigateway/customizations'
42
42
  # @service
43
43
  module Aws::APIGateway
44
44
 
45
- GEM_VERSION = '1.6.0'
45
+ GEM_VERSION = '1.7.0'
46
46
 
47
47
  end
@@ -277,10 +277,10 @@ module Aws::APIGateway
277
277
  # `/2015-03-31/functions/[FunctionARN]/invocations`.
278
278
  #
279
279
  # @option params [String] :authorizer_credentials
280
- # Specifies the required credentials as an IAM role for Amazon API
281
- # Gateway to invoke the authorizer. To specify an IAM role for Amazon
282
- # API Gateway to assume, use the role's Amazon Resource Name (ARN). To
283
- # use resource-based permissions on the Lambda function, specify null.
280
+ # Specifies the required credentials as an IAM role for API Gateway to
281
+ # invoke the authorizer. To specify an IAM role for API Gateway to
282
+ # assume, use the role's Amazon Resource Name (ARN). To use
283
+ # resource-based permissions on the Lambda function, specify null.
284
284
  #
285
285
  # @option params [String] :identity_source
286
286
  # The identity source for which authorization is requested. * For a
@@ -308,12 +308,12 @@ module Aws::APIGateway
308
308
  #
309
309
  # @option params [String] :identity_validation_expression
310
310
  # A validation expression for the incoming identity token. For `TOKEN`
311
- # authorizers, this value is a regular expression. Amazon API Gateway
312
- # will match the incoming token from the client against the specified
313
- # regular expression. It will invoke the authorizer's Lambda function
314
- # there is a match. Otherwise, it will return a 401 Unauthorized
315
- # response without calling the Lambda function. The validation
316
- # expression does not apply to the `REQUEST` authorizer.
311
+ # authorizers, this value is a regular expression. API Gateway will
312
+ # match the incoming token from the client against the specified regular
313
+ # expression. It will invoke the authorizer's Lambda function there is
314
+ # a match. Otherwise, it will return a 401 Unauthorized response without
315
+ # calling the Lambda function. The validation expression does not apply
316
+ # to the `REQUEST` authorizer.
317
317
  #
318
318
  # @option params [Integer] :authorizer_result_ttl_in_seconds
319
319
  # The TTL in seconds of cached authorizer results. If it equals 0,
@@ -837,6 +837,8 @@ module Aws::APIGateway
837
837
  # resp.resource_methods["String"].method_integration.type #=> String, one of "HTTP", "AWS", "MOCK", "HTTP_PROXY", "AWS_PROXY"
838
838
  # resp.resource_methods["String"].method_integration.http_method #=> String
839
839
  # resp.resource_methods["String"].method_integration.uri #=> String
840
+ # resp.resource_methods["String"].method_integration.connection_type #=> String, one of "INTERNET", "VPC_LINK"
841
+ # resp.resource_methods["String"].method_integration.connection_id #=> String
840
842
  # resp.resource_methods["String"].method_integration.credentials #=> String
841
843
  # resp.resource_methods["String"].method_integration.request_parameters #=> Hash
842
844
  # resp.resource_methods["String"].method_integration.request_parameters["String"] #=> String
@@ -938,7 +940,7 @@ module Aws::APIGateway
938
940
  # The string identifier of the associated RestApi.
939
941
  #
940
942
  # @option params [required, String] :stage_name
941
- # \\\{Required\] The name for the Stage resource.
943
+ # \[Required\] The name for the Stage resource.
942
944
  #
943
945
  # @option params [required, String] :deployment_id
944
946
  # \[Required\] The identifier of the Deployment resource for the Stage
@@ -1159,6 +1161,56 @@ module Aws::APIGateway
1159
1161
  req.send_request(options)
1160
1162
  end
1161
1163
 
1164
+ # Creates a VPC link, under the caller's account in a selected region,
1165
+ # in an asynchronous operation that typically takes 2-4 minutes to
1166
+ # complete and become operational. The caller must have permissions to
1167
+ # create and update VPC Endpoint services.
1168
+ #
1169
+ # @option params [required, String] :name
1170
+ # \[Required\] The name used to label and identify the VPC link.
1171
+ #
1172
+ # @option params [String] :description
1173
+ # The description of the VPC link.
1174
+ #
1175
+ # @option params [required, Array<String>] :target_arns
1176
+ # \[Required\] The ARNs of network load balancers of the VPC targeted by
1177
+ # the VPC link. The network load balancers must be owned by the same AWS
1178
+ # account of the API owner.
1179
+ #
1180
+ # @return [Types::VpcLink] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1181
+ #
1182
+ # * {Types::VpcLink#id #id} => String
1183
+ # * {Types::VpcLink#name #name} => String
1184
+ # * {Types::VpcLink#description #description} => String
1185
+ # * {Types::VpcLink#target_arns #target_arns} => Array&lt;String&gt;
1186
+ # * {Types::VpcLink#status #status} => String
1187
+ # * {Types::VpcLink#status_message #status_message} => String
1188
+ #
1189
+ # @example Request syntax with placeholder values
1190
+ #
1191
+ # resp = client.create_vpc_link({
1192
+ # name: "String", # required
1193
+ # description: "String",
1194
+ # target_arns: ["String"], # required
1195
+ # })
1196
+ #
1197
+ # @example Response structure
1198
+ #
1199
+ # resp.id #=> String
1200
+ # resp.name #=> String
1201
+ # resp.description #=> String
1202
+ # resp.target_arns #=> Array
1203
+ # resp.target_arns[0] #=> String
1204
+ # resp.status #=> String, one of "AVAILABLE", "PENDING", "DELETING", "FAILED"
1205
+ # resp.status_message #=> String
1206
+ #
1207
+ # @overload create_vpc_link(params = {})
1208
+ # @param [Hash] params ({})
1209
+ def create_vpc_link(params = {}, options = {})
1210
+ req = build_request(:create_vpc_link, params)
1211
+ req.send_request(options)
1212
+ end
1213
+
1162
1214
  # Deletes the ApiKey resource.
1163
1215
  #
1164
1216
  # @option params [required, String] :api_key
@@ -1674,6 +1726,27 @@ module Aws::APIGateway
1674
1726
  req.send_request(options)
1675
1727
  end
1676
1728
 
1729
+ # Deletes an existing VpcLink of a specified identifier.
1730
+ #
1731
+ # @option params [required, String] :vpc_link_id
1732
+ # \[Required\] The identifier of the VpcLink. It is used in an
1733
+ # Integration to reference this VpcLink.
1734
+ #
1735
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1736
+ #
1737
+ # @example Request syntax with placeholder values
1738
+ #
1739
+ # resp = client.delete_vpc_link({
1740
+ # vpc_link_id: "String", # required
1741
+ # })
1742
+ #
1743
+ # @overload delete_vpc_link(params = {})
1744
+ # @param [Hash] params ({})
1745
+ def delete_vpc_link(params = {}, options = {})
1746
+ req = build_request(:delete_vpc_link, params)
1747
+ req.send_request(options)
1748
+ end
1749
+
1677
1750
  # Flushes all authorizer cache entries on a stage.
1678
1751
  #
1679
1752
  # @option params [required, String] :rest_api_id
@@ -2626,8 +2699,8 @@ module Aws::APIGateway
2626
2699
 
2627
2700
  # Gets the GatewayResponses collection on the given RestApi. If an API
2628
2701
  # developer has not added any definitions for gateway responses, the
2629
- # result will be the Amazon API Gateway-generated default
2630
- # GatewayResponses collection for the supported response types.
2702
+ # result will be the API Gateway-generated default GatewayResponses
2703
+ # collection for the supported response types.
2631
2704
  #
2632
2705
  # @option params [required, String] :rest_api_id
2633
2706
  # The string identifier of the associated RestApi.
@@ -2690,6 +2763,8 @@ module Aws::APIGateway
2690
2763
  # * {Types::Integration#type #type} => String
2691
2764
  # * {Types::Integration#http_method #http_method} => String
2692
2765
  # * {Types::Integration#uri #uri} => String
2766
+ # * {Types::Integration#connection_type #connection_type} => String
2767
+ # * {Types::Integration#connection_id #connection_id} => String
2693
2768
  # * {Types::Integration#credentials #credentials} => String
2694
2769
  # * {Types::Integration#request_parameters #request_parameters} => Hash&lt;String,String&gt;
2695
2770
  # * {Types::Integration#request_templates #request_templates} => Hash&lt;String,String&gt;
@@ -2713,6 +2788,8 @@ module Aws::APIGateway
2713
2788
  # resp.type #=> String, one of "HTTP", "AWS", "MOCK", "HTTP_PROXY", "AWS_PROXY"
2714
2789
  # resp.http_method #=> String
2715
2790
  # resp.uri #=> String
2791
+ # resp.connection_type #=> String, one of "INTERNET", "VPC_LINK"
2792
+ # resp.connection_id #=> String
2716
2793
  # resp.credentials #=> String
2717
2794
  # resp.request_parameters #=> Hash
2718
2795
  # resp.request_parameters["String"] #=> String
@@ -2841,6 +2918,8 @@ module Aws::APIGateway
2841
2918
  # resp.method_integration.type #=> String, one of "HTTP", "AWS", "MOCK", "HTTP_PROXY", "AWS_PROXY"
2842
2919
  # resp.method_integration.http_method #=> String
2843
2920
  # resp.method_integration.uri #=> String
2921
+ # resp.method_integration.connection_type #=> String, one of "INTERNET", "VPC_LINK"
2922
+ # resp.method_integration.connection_id #=> String
2844
2923
  # resp.method_integration.credentials #=> String
2845
2924
  # resp.method_integration.request_parameters #=> Hash
2846
2925
  # resp.method_integration.request_parameters["String"] #=> String
@@ -3164,6 +3243,8 @@ module Aws::APIGateway
3164
3243
  # resp.resource_methods["String"].method_integration.type #=> String, one of "HTTP", "AWS", "MOCK", "HTTP_PROXY", "AWS_PROXY"
3165
3244
  # resp.resource_methods["String"].method_integration.http_method #=> String
3166
3245
  # resp.resource_methods["String"].method_integration.uri #=> String
3246
+ # resp.resource_methods["String"].method_integration.connection_type #=> String, one of "INTERNET", "VPC_LINK"
3247
+ # resp.resource_methods["String"].method_integration.connection_id #=> String
3167
3248
  # resp.resource_methods["String"].method_integration.credentials #=> String
3168
3249
  # resp.resource_methods["String"].method_integration.request_parameters #=> Hash
3169
3250
  # resp.resource_methods["String"].method_integration.request_parameters["String"] #=> String
@@ -3254,6 +3335,8 @@ module Aws::APIGateway
3254
3335
  # resp.items[0].resource_methods["String"].method_integration.type #=> String, one of "HTTP", "AWS", "MOCK", "HTTP_PROXY", "AWS_PROXY"
3255
3336
  # resp.items[0].resource_methods["String"].method_integration.http_method #=> String
3256
3337
  # resp.items[0].resource_methods["String"].method_integration.uri #=> String
3338
+ # resp.items[0].resource_methods["String"].method_integration.connection_type #=> String, one of "INTERNET", "VPC_LINK"
3339
+ # resp.items[0].resource_methods["String"].method_integration.connection_id #=> String
3257
3340
  # resp.items[0].resource_methods["String"].method_integration.credentials #=> String
3258
3341
  # resp.items[0].resource_methods["String"].method_integration.request_parameters #=> Hash
3259
3342
  # resp.items[0].resource_methods["String"].method_integration.request_parameters["String"] #=> String
@@ -3861,6 +3944,84 @@ module Aws::APIGateway
3861
3944
  req.send_request(options)
3862
3945
  end
3863
3946
 
3947
+ # Gets a specified VPC link under the caller's account in a region.
3948
+ #
3949
+ # @option params [required, String] :vpc_link_id
3950
+ # \[Required\] The identifier of the VpcLink. It is used in an
3951
+ # Integration to reference this VpcLink.
3952
+ #
3953
+ # @return [Types::VpcLink] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3954
+ #
3955
+ # * {Types::VpcLink#id #id} => String
3956
+ # * {Types::VpcLink#name #name} => String
3957
+ # * {Types::VpcLink#description #description} => String
3958
+ # * {Types::VpcLink#target_arns #target_arns} => Array&lt;String&gt;
3959
+ # * {Types::VpcLink#status #status} => String
3960
+ # * {Types::VpcLink#status_message #status_message} => String
3961
+ #
3962
+ # @example Request syntax with placeholder values
3963
+ #
3964
+ # resp = client.get_vpc_link({
3965
+ # vpc_link_id: "String", # required
3966
+ # })
3967
+ #
3968
+ # @example Response structure
3969
+ #
3970
+ # resp.id #=> String
3971
+ # resp.name #=> String
3972
+ # resp.description #=> String
3973
+ # resp.target_arns #=> Array
3974
+ # resp.target_arns[0] #=> String
3975
+ # resp.status #=> String, one of "AVAILABLE", "PENDING", "DELETING", "FAILED"
3976
+ # resp.status_message #=> String
3977
+ #
3978
+ # @overload get_vpc_link(params = {})
3979
+ # @param [Hash] params ({})
3980
+ def get_vpc_link(params = {}, options = {})
3981
+ req = build_request(:get_vpc_link, params)
3982
+ req.send_request(options)
3983
+ end
3984
+
3985
+ # Gets the VpcLinks collection under the caller's account in a selected
3986
+ # region.
3987
+ #
3988
+ # @option params [String] :position
3989
+ # The current pagination position in the paged result set.
3990
+ #
3991
+ # @option params [Integer] :limit
3992
+ # The maximum number of returned results per page.
3993
+ #
3994
+ # @return [Types::VpcLinks] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3995
+ #
3996
+ # * {Types::VpcLinks#position #position} => String
3997
+ # * {Types::VpcLinks#items #items} => Array&lt;Types::VpcLink&gt;
3998
+ #
3999
+ # @example Request syntax with placeholder values
4000
+ #
4001
+ # resp = client.get_vpc_links({
4002
+ # position: "String",
4003
+ # limit: 1,
4004
+ # })
4005
+ #
4006
+ # @example Response structure
4007
+ #
4008
+ # resp.position #=> String
4009
+ # resp.items #=> Array
4010
+ # resp.items[0].id #=> String
4011
+ # resp.items[0].name #=> String
4012
+ # resp.items[0].description #=> String
4013
+ # resp.items[0].target_arns #=> Array
4014
+ # resp.items[0].target_arns[0] #=> String
4015
+ # resp.items[0].status #=> String, one of "AVAILABLE", "PENDING", "DELETING", "FAILED"
4016
+ # resp.items[0].status_message #=> String
4017
+ #
4018
+ # @overload get_vpc_links(params = {})
4019
+ # @param [Hash] params ({})
4020
+ def get_vpc_links(params = {}, options = {})
4021
+ req = build_request(:get_vpc_links, params)
4022
+ req.send_request(options)
4023
+ end
4024
+
3864
4025
  # Import API keys from an external source, such as a CSV-formatted file.
3865
4026
  #
3866
4027
  # @option params [required, String, IO] :body
@@ -3952,8 +4113,8 @@ module Aws::APIGateway
3952
4113
  req.send_request(options)
3953
4114
  end
3954
4115
 
3955
- # A feature of the Amazon API Gateway control service for creating a new
3956
- # API from an external API definition file.
4116
+ # A feature of the API Gateway control service for creating a new API
4117
+ # from an external API definition file.
3957
4118
  #
3958
4119
  # @option params [Boolean] :fail_on_warnings
3959
4120
  # A query parameter to indicate whether to rollback the API creation
@@ -4131,22 +4292,51 @@ module Aws::APIGateway
4131
4292
  # HTTP or AWS, this field is required.
4132
4293
  #
4133
4294
  # @option params [String] :uri
4134
- # Specifies the integration's Uniform Resource Identifier (URI). For
4135
- # HTTP integrations, the URI must be a fully formed, encoded HTTP(S) URL
4136
- # according to the [RFC-3986 specification][1]. For AWS integrations,
4137
- # the URI should be of the form
4138
- # `arn:aws:apigateway:\{region\}:\{subdomain.service|service\}:\{path|action\}/\{service_api\}`.
4139
- # `Region`, `subdomain` and `service` are used to determine the right
4140
- # endpoint. For AWS services that use the `Action=` query string
4141
- # parameter, `service_api` should be a valid action for the desired
4142
- # service. For RESTful AWS service APIs, `path` is used to indicate that
4143
- # the remaining substring in the URI should be treated as the path to
4144
- # the resource, including the initial `/`.
4295
+ # Specifies Uniform Resource Identifier (URI) of the integration
4296
+ # endpoint.
4297
+ #
4298
+ # * For `HTTP` or `HTTP_PROXY` integrations, the URI must be a fully
4299
+ # formed, encoded HTTP(S) URL according to the [RFC-3986
4300
+ # specification][1], for either standard integration, where
4301
+ # `connectionType` is not `VPC_LINK`, or private integration, where
4302
+ # `connectionType` is `VPC_LINK`. For a private HTTP integration, the
4303
+ # URI is not used for routing.
4304
+ #
4305
+ # * For `AWS` or `AWS_PROXY` integrations, the URI is of the form
4306
+ # `arn:aws:apigateway:\{region\}:\{subdomain.service|service\}:path|action/\{service_api\}`.
4307
+ # Here, `\{Region\}` is the API Gateway region (e.g., `us-east-1`);
4308
+ # `\{service\}` is the name of the integrated AWS service (e.g.,
4309
+ # `s3`); and `\{subdomain\}` is a designated subdomain supported by
4310
+ # certain AWS service for fast host-name lookup. `action` can be used
4311
+ # for an AWS service action-based API, using an
4312
+ # `Action=\{name\}&\{p1\}=\{v1\}&p2=\{v2\}...` query string. The
4313
+ # ensuing `\{service_api\}` refers to a supported action `\{name\}`
4314
+ # plus any required input parameters. Alternatively, `path` can be
4315
+ # used for an AWS service path-based API. The ensuing `service_api`
4316
+ # refers to the path to an AWS service resource, including the region
4317
+ # of the integrated AWS service, if applicable. For example, for
4318
+ # integration with the S3 API of `GetObject`, the `uri` can be either
4319
+ # `arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket=\{bucket\}&Key=\{key\}`
4320
+ # or `arn:aws:apigateway:us-west-2:s3:path/\{bucket\}/\{key\}`
4145
4321
  #
4146
4322
  #
4147
4323
  #
4148
4324
  # [1]: https://en.wikipedia.org/wiki/Uniform_Resource_Identifier
4149
4325
  #
4326
+ # @option params [String] :connection_type
4327
+ # The type of the network connection to the integration endpoint. The
4328
+ # valid value is `INTERNET` for connections through the public routable
4329
+ # internet or `VPC_LINK` for private connections between API Gateway and
4330
+ # an network load balancer in a VPC. The default value is `INTERNET`.
4331
+ #
4332
+ # @option params [String] :connection_id
4333
+ # The ([`id`][1]) of the VpcLink used for the integration when
4334
+ # `connectionType=VPC_LINK` and undefined, otherwise.
4335
+ #
4336
+ #
4337
+ #
4338
+ # [1]: http://docs.aws.amazon.com/apigateway/api-reference/resource/vpc-link/#id
4339
+ #
4150
4340
  # @option params [String] :credentials
4151
4341
  # Specifies whether credentials are required for a put integration.
4152
4342
  #
@@ -4216,6 +4406,8 @@ module Aws::APIGateway
4216
4406
  # * {Types::Integration#type #type} => String
4217
4407
  # * {Types::Integration#http_method #http_method} => String
4218
4408
  # * {Types::Integration#uri #uri} => String
4409
+ # * {Types::Integration#connection_type #connection_type} => String
4410
+ # * {Types::Integration#connection_id #connection_id} => String
4219
4411
  # * {Types::Integration#credentials #credentials} => String
4220
4412
  # * {Types::Integration#request_parameters #request_parameters} => Hash&lt;String,String&gt;
4221
4413
  # * {Types::Integration#request_templates #request_templates} => Hash&lt;String,String&gt;
@@ -4235,6 +4427,8 @@ module Aws::APIGateway
4235
4427
  # type: "HTTP", # required, accepts HTTP, AWS, MOCK, HTTP_PROXY, AWS_PROXY
4236
4428
  # integration_http_method: "String",
4237
4429
  # uri: "String",
4430
+ # connection_type: "INTERNET", # accepts INTERNET, VPC_LINK
4431
+ # connection_id: "String",
4238
4432
  # credentials: "String",
4239
4433
  # request_parameters: {
4240
4434
  # "String" => "String",
@@ -4254,6 +4448,8 @@ module Aws::APIGateway
4254
4448
  # resp.type #=> String, one of "HTTP", "AWS", "MOCK", "HTTP_PROXY", "AWS_PROXY"
4255
4449
  # resp.http_method #=> String
4256
4450
  # resp.uri #=> String
4451
+ # resp.connection_type #=> String, one of "INTERNET", "VPC_LINK"
4452
+ # resp.connection_id #=> String
4257
4453
  # resp.credentials #=> String
4258
4454
  # resp.request_parameters #=> Hash
4259
4455
  # resp.request_parameters["String"] #=> String
@@ -4407,8 +4603,8 @@ module Aws::APIGateway
4407
4603
  #
4408
4604
  # @option params [Hash<String,Boolean>] :request_parameters
4409
4605
  # A key-value map defining required or optional method request
4410
- # parameters that can be accepted by Amazon API Gateway. A key defines a
4411
- # method request parameter name matching the pattern of
4606
+ # parameters that can be accepted by API Gateway. A key defines a method
4607
+ # request parameter name matching the pattern of
4412
4608
  # `method.request.\{location\}.\{name\}`, where `location` is
4413
4609
  # `querystring`, `path`, or `header` and `name` is a valid and unique
4414
4610
  # parameter name. The value associated with the key is a Boolean flag
@@ -4479,6 +4675,8 @@ module Aws::APIGateway
4479
4675
  # resp.method_integration.type #=> String, one of "HTTP", "AWS", "MOCK", "HTTP_PROXY", "AWS_PROXY"
4480
4676
  # resp.method_integration.http_method #=> String
4481
4677
  # resp.method_integration.uri #=> String
4678
+ # resp.method_integration.connection_type #=> String, one of "INTERNET", "VPC_LINK"
4679
+ # resp.method_integration.connection_id #=> String
4482
4680
  # resp.method_integration.credentials #=> String
4483
4681
  # resp.method_integration.request_parameters #=> Hash
4484
4682
  # resp.method_integration.request_parameters["String"] #=> String
@@ -4522,8 +4720,8 @@ module Aws::APIGateway
4522
4720
  #
4523
4721
  # @option params [Hash<String,Boolean>] :response_parameters
4524
4722
  # A key-value map specifying required or optional response parameters
4525
- # that Amazon API Gateway can send back to the caller. A key defines a
4526
- # method response header name and the associated value is a Boolean flag
4723
+ # that API Gateway can send back to the caller. A key defines a method
4724
+ # response header name and the associated value is a Boolean flag
4527
4725
  # indicating whether the method response parameter is required or not.
4528
4726
  # The method response header names must match the pattern of
4529
4727
  # `method.response.header.\{name\}`, where `name` is a valid and unique
@@ -4577,10 +4775,10 @@ module Aws::APIGateway
4577
4775
  req.send_request(options)
4578
4776
  end
4579
4777
 
4580
- # A feature of the Amazon API Gateway control service for updating an
4581
- # existing API with an input of external API definitions. The update can
4582
- # take the form of merging the supplied definition into the existing API
4583
- # or overwriting the existing API.
4778
+ # A feature of the API Gateway control service for updating an existing
4779
+ # API with an input of external API definitions. The update can take the
4780
+ # form of merging the supplied definition into the existing API or
4781
+ # overwriting the existing API.
4584
4782
  #
4585
4783
  # @option params [required, String] :rest_api_id
4586
4784
  # The string identifier of the associated RestApi.
@@ -5365,6 +5563,8 @@ module Aws::APIGateway
5365
5563
  # * {Types::Integration#type #type} => String
5366
5564
  # * {Types::Integration#http_method #http_method} => String
5367
5565
  # * {Types::Integration#uri #uri} => String
5566
+ # * {Types::Integration#connection_type #connection_type} => String
5567
+ # * {Types::Integration#connection_id #connection_id} => String
5368
5568
  # * {Types::Integration#credentials #credentials} => String
5369
5569
  # * {Types::Integration#request_parameters #request_parameters} => Hash&lt;String,String&gt;
5370
5570
  # * {Types::Integration#request_templates #request_templates} => Hash&lt;String,String&gt;
@@ -5396,6 +5596,8 @@ module Aws::APIGateway
5396
5596
  # resp.type #=> String, one of "HTTP", "AWS", "MOCK", "HTTP_PROXY", "AWS_PROXY"
5397
5597
  # resp.http_method #=> String
5398
5598
  # resp.uri #=> String
5599
+ # resp.connection_type #=> String, one of "INTERNET", "VPC_LINK"
5600
+ # resp.connection_id #=> String
5399
5601
  # resp.credentials #=> String
5400
5602
  # resp.request_parameters #=> Hash
5401
5603
  # resp.request_parameters["String"] #=> String
@@ -5549,6 +5751,8 @@ module Aws::APIGateway
5549
5751
  # resp.method_integration.type #=> String, one of "HTTP", "AWS", "MOCK", "HTTP_PROXY", "AWS_PROXY"
5550
5752
  # resp.method_integration.http_method #=> String
5551
5753
  # resp.method_integration.uri #=> String
5754
+ # resp.method_integration.connection_type #=> String, one of "INTERNET", "VPC_LINK"
5755
+ # resp.method_integration.connection_id #=> String
5552
5756
  # resp.method_integration.credentials #=> String
5553
5757
  # resp.method_integration.request_parameters #=> Hash
5554
5758
  # resp.method_integration.request_parameters["String"] #=> String
@@ -5791,6 +5995,8 @@ module Aws::APIGateway
5791
5995
  # resp.resource_methods["String"].method_integration.type #=> String, one of "HTTP", "AWS", "MOCK", "HTTP_PROXY", "AWS_PROXY"
5792
5996
  # resp.resource_methods["String"].method_integration.http_method #=> String
5793
5997
  # resp.resource_methods["String"].method_integration.uri #=> String
5998
+ # resp.resource_methods["String"].method_integration.connection_type #=> String, one of "INTERNET", "VPC_LINK"
5999
+ # resp.resource_methods["String"].method_integration.connection_id #=> String
5794
6000
  # resp.resource_methods["String"].method_integration.credentials #=> String
5795
6001
  # resp.resource_methods["String"].method_integration.request_parameters #=> Hash
5796
6002
  # resp.resource_methods["String"].method_integration.request_parameters["String"] #=> String
@@ -6067,6 +6273,56 @@ module Aws::APIGateway
6067
6273
  req.send_request(options)
6068
6274
  end
6069
6275
 
6276
+ # Updates an existing VpcLink of a specified identifier.
6277
+ #
6278
+ # @option params [required, String] :vpc_link_id
6279
+ # \[Required\] The identifier of the VpcLink. It is used in an
6280
+ # Integration to reference this VpcLink.
6281
+ #
6282
+ # @option params [Array<Types::PatchOperation>] :patch_operations
6283
+ # A list of update operations to be applied to the specified resource
6284
+ # and in the order specified in this list.
6285
+ #
6286
+ # @return [Types::VpcLink] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6287
+ #
6288
+ # * {Types::VpcLink#id #id} => String
6289
+ # * {Types::VpcLink#name #name} => String
6290
+ # * {Types::VpcLink#description #description} => String
6291
+ # * {Types::VpcLink#target_arns #target_arns} => Array&lt;String&gt;
6292
+ # * {Types::VpcLink#status #status} => String
6293
+ # * {Types::VpcLink#status_message #status_message} => String
6294
+ #
6295
+ # @example Request syntax with placeholder values
6296
+ #
6297
+ # resp = client.update_vpc_link({
6298
+ # vpc_link_id: "String", # required
6299
+ # patch_operations: [
6300
+ # {
6301
+ # op: "add", # accepts add, remove, replace, move, copy, test
6302
+ # path: "String",
6303
+ # value: "String",
6304
+ # from: "String",
6305
+ # },
6306
+ # ],
6307
+ # })
6308
+ #
6309
+ # @example Response structure
6310
+ #
6311
+ # resp.id #=> String
6312
+ # resp.name #=> String
6313
+ # resp.description #=> String
6314
+ # resp.target_arns #=> Array
6315
+ # resp.target_arns[0] #=> String
6316
+ # resp.status #=> String, one of "AVAILABLE", "PENDING", "DELETING", "FAILED"
6317
+ # resp.status_message #=> String
6318
+ #
6319
+ # @overload update_vpc_link(params = {})
6320
+ # @param [Hash] params ({})
6321
+ def update_vpc_link(params = {}, options = {})
6322
+ req = build_request(:update_vpc_link, params)
6323
+ req.send_request(options)
6324
+ end
6325
+
6070
6326
  # @!endgroup
6071
6327
 
6072
6328
  # @param params ({})
@@ -6080,7 +6336,7 @@ module Aws::APIGateway
6080
6336
  params: params,
6081
6337
  config: config)
6082
6338
  context[:gem_name] = 'aws-sdk-apigateway'
6083
- context[:gem_version] = '1.6.0'
6339
+ context[:gem_version] = '1.7.0'
6084
6340
  Seahorse::Client::Request.new(handlers, context)
6085
6341
  end
6086
6342