aws-sdk-apigateway 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-apigateway.rb +1 -1
- data/lib/aws-sdk-apigateway/client.rb +46 -6
- data/lib/aws-sdk-apigateway/client_api.rb +4 -0
- data/lib/aws-sdk-apigateway/types.rb +60 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a089ab1a57fc7672a4e4b30de16f1a31d8616c2a
|
4
|
+
data.tar.gz: 4c54dbe17ed84bb30a48e1eecafcfcac0603faf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63f374c52bd09adaeb97fd50a71f2b9b4636a68f454167e6ac6db1b273ff73e3fb5697fec29914fafdba8125ce2e1740bc6873d29391035285ca69fbbab8a7c1
|
7
|
+
data.tar.gz: b0a913b49f2d8cf3d375bc1409465b06c27f3d6996557589fb9d89c3ac47fcee0c4d515feae120653db288d99e0a298e7d00f2f21956e4d422af199d865fae28
|
data/lib/aws-sdk-apigateway.rb
CHANGED
@@ -626,9 +626,11 @@ module Aws::APIGateway
|
|
626
626
|
# * {Types::DomainName#certificate_arn #certificate_arn} => String
|
627
627
|
# * {Types::DomainName#certificate_upload_date #certificate_upload_date} => Time
|
628
628
|
# * {Types::DomainName#regional_domain_name #regional_domain_name} => String
|
629
|
+
# * {Types::DomainName#regional_hosted_zone_id #regional_hosted_zone_id} => String
|
629
630
|
# * {Types::DomainName#regional_certificate_name #regional_certificate_name} => String
|
630
631
|
# * {Types::DomainName#regional_certificate_arn #regional_certificate_arn} => String
|
631
632
|
# * {Types::DomainName#distribution_domain_name #distribution_domain_name} => String
|
633
|
+
# * {Types::DomainName#distribution_hosted_zone_id #distribution_hosted_zone_id} => String
|
632
634
|
# * {Types::DomainName#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
|
633
635
|
#
|
634
636
|
# @example Request syntax with placeholder values
|
@@ -654,9 +656,11 @@ module Aws::APIGateway
|
|
654
656
|
# resp.certificate_arn #=> String
|
655
657
|
# resp.certificate_upload_date #=> Time
|
656
658
|
# resp.regional_domain_name #=> String
|
659
|
+
# resp.regional_hosted_zone_id #=> String
|
657
660
|
# resp.regional_certificate_name #=> String
|
658
661
|
# resp.regional_certificate_arn #=> String
|
659
662
|
# resp.distribution_domain_name #=> String
|
663
|
+
# resp.distribution_hosted_zone_id #=> String
|
660
664
|
# resp.endpoint_configuration.types #=> Array
|
661
665
|
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
|
662
666
|
#
|
@@ -2263,6 +2267,12 @@ module Aws::APIGateway
|
|
2263
2267
|
# @option params [Integer] :limit
|
2264
2268
|
# The maximum number of returned results per page.
|
2265
2269
|
#
|
2270
|
+
# @option params [String] :location_status
|
2271
|
+
# The status of the API documentation parts to retrieve. Valid values
|
2272
|
+
# are `DOCUMENTED` for retrieving DocumentationPart resources with
|
2273
|
+
# content and `UNDOCUMENTED` for DocumentationPart resources without
|
2274
|
+
# content.
|
2275
|
+
#
|
2266
2276
|
# @return [Types::DocumentationParts] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2267
2277
|
#
|
2268
2278
|
# * {Types::DocumentationParts#position #position} => String
|
@@ -2277,6 +2287,7 @@ module Aws::APIGateway
|
|
2277
2287
|
# path: "String",
|
2278
2288
|
# position: "String",
|
2279
2289
|
# limit: 1,
|
2290
|
+
# location_status: "DOCUMENTED", # accepts DOCUMENTED, UNDOCUMENTED
|
2280
2291
|
# })
|
2281
2292
|
#
|
2282
2293
|
# @example Response structure
|
@@ -2381,9 +2392,11 @@ module Aws::APIGateway
|
|
2381
2392
|
# * {Types::DomainName#certificate_arn #certificate_arn} => String
|
2382
2393
|
# * {Types::DomainName#certificate_upload_date #certificate_upload_date} => Time
|
2383
2394
|
# * {Types::DomainName#regional_domain_name #regional_domain_name} => String
|
2395
|
+
# * {Types::DomainName#regional_hosted_zone_id #regional_hosted_zone_id} => String
|
2384
2396
|
# * {Types::DomainName#regional_certificate_name #regional_certificate_name} => String
|
2385
2397
|
# * {Types::DomainName#regional_certificate_arn #regional_certificate_arn} => String
|
2386
2398
|
# * {Types::DomainName#distribution_domain_name #distribution_domain_name} => String
|
2399
|
+
# * {Types::DomainName#distribution_hosted_zone_id #distribution_hosted_zone_id} => String
|
2387
2400
|
# * {Types::DomainName#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
|
2388
2401
|
#
|
2389
2402
|
# @example Request syntax with placeholder values
|
@@ -2399,9 +2412,11 @@ module Aws::APIGateway
|
|
2399
2412
|
# resp.certificate_arn #=> String
|
2400
2413
|
# resp.certificate_upload_date #=> Time
|
2401
2414
|
# resp.regional_domain_name #=> String
|
2415
|
+
# resp.regional_hosted_zone_id #=> String
|
2402
2416
|
# resp.regional_certificate_name #=> String
|
2403
2417
|
# resp.regional_certificate_arn #=> String
|
2404
2418
|
# resp.distribution_domain_name #=> String
|
2419
|
+
# resp.distribution_hosted_zone_id #=> String
|
2405
2420
|
# resp.endpoint_configuration.types #=> Array
|
2406
2421
|
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
|
2407
2422
|
#
|
@@ -2442,9 +2457,11 @@ module Aws::APIGateway
|
|
2442
2457
|
# resp.items[0].certificate_arn #=> String
|
2443
2458
|
# resp.items[0].certificate_upload_date #=> Time
|
2444
2459
|
# resp.items[0].regional_domain_name #=> String
|
2460
|
+
# resp.items[0].regional_hosted_zone_id #=> String
|
2445
2461
|
# resp.items[0].regional_certificate_name #=> String
|
2446
2462
|
# resp.items[0].regional_certificate_arn #=> String
|
2447
2463
|
# resp.items[0].distribution_domain_name #=> String
|
2464
|
+
# resp.items[0].distribution_hosted_zone_id #=> String
|
2448
2465
|
# resp.items[0].endpoint_configuration.types #=> Array
|
2449
2466
|
# resp.items[0].endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
|
2450
2467
|
#
|
@@ -3889,11 +3906,30 @@ module Aws::APIGateway
|
|
3889
3906
|
# value is `false`.
|
3890
3907
|
#
|
3891
3908
|
# @option params [Hash<String,String>] :parameters
|
3892
|
-
#
|
3893
|
-
#
|
3894
|
-
#
|
3895
|
-
#
|
3896
|
-
#
|
3909
|
+
# A key-value map of context-specific query string parameters specifying
|
3910
|
+
# the behavior of different API importing operations. The following
|
3911
|
+
# shows operation-specific parameters and their supported values.
|
3912
|
+
#
|
3913
|
+
# To exclude DocumentationParts from the import, set `parameters` as
|
3914
|
+
# `ignore=documentation`.
|
3915
|
+
#
|
3916
|
+
# To configure the endpoint type, set `parameters` as
|
3917
|
+
# `endpointConfigurationTypes=EDGE`
|
3918
|
+
# or`endpointConfigurationTypes=REGIONAL`. The default endpoint type is
|
3919
|
+
# `EDGE`.
|
3920
|
+
#
|
3921
|
+
# To handle imported `basePath`, set `parameters` as `basePath=ignore`,
|
3922
|
+
# `basePath=prepend` or `basePath=split`.
|
3923
|
+
#
|
3924
|
+
# For example, the AWS CLI command to exclude documentation from the
|
3925
|
+
# imported API is:
|
3926
|
+
#
|
3927
|
+
# aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json
|
3928
|
+
#
|
3929
|
+
# The AWS CLI command to set the regional endpoint on the imported API
|
3930
|
+
# is:
|
3931
|
+
#
|
3932
|
+
# aws apigateway import-rest-api --parameters endpointConfigurationTypes=REGIONAL --body 'file:///path/to/imported-api-body.json
|
3897
3933
|
#
|
3898
3934
|
# @option params [required, String, IO] :body
|
3899
3935
|
# The POST request body containing external API definitions. Currently,
|
@@ -5130,9 +5166,11 @@ module Aws::APIGateway
|
|
5130
5166
|
# * {Types::DomainName#certificate_arn #certificate_arn} => String
|
5131
5167
|
# * {Types::DomainName#certificate_upload_date #certificate_upload_date} => Time
|
5132
5168
|
# * {Types::DomainName#regional_domain_name #regional_domain_name} => String
|
5169
|
+
# * {Types::DomainName#regional_hosted_zone_id #regional_hosted_zone_id} => String
|
5133
5170
|
# * {Types::DomainName#regional_certificate_name #regional_certificate_name} => String
|
5134
5171
|
# * {Types::DomainName#regional_certificate_arn #regional_certificate_arn} => String
|
5135
5172
|
# * {Types::DomainName#distribution_domain_name #distribution_domain_name} => String
|
5173
|
+
# * {Types::DomainName#distribution_hosted_zone_id #distribution_hosted_zone_id} => String
|
5136
5174
|
# * {Types::DomainName#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
|
5137
5175
|
#
|
5138
5176
|
# @example Request syntax with placeholder values
|
@@ -5156,9 +5194,11 @@ module Aws::APIGateway
|
|
5156
5194
|
# resp.certificate_arn #=> String
|
5157
5195
|
# resp.certificate_upload_date #=> Time
|
5158
5196
|
# resp.regional_domain_name #=> String
|
5197
|
+
# resp.regional_hosted_zone_id #=> String
|
5159
5198
|
# resp.regional_certificate_name #=> String
|
5160
5199
|
# resp.regional_certificate_arn #=> String
|
5161
5200
|
# resp.distribution_domain_name #=> String
|
5201
|
+
# resp.distribution_hosted_zone_id #=> String
|
5162
5202
|
# resp.endpoint_configuration.types #=> Array
|
5163
5203
|
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
|
5164
5204
|
#
|
@@ -5964,7 +6004,7 @@ module Aws::APIGateway
|
|
5964
6004
|
params: params,
|
5965
6005
|
config: config)
|
5966
6006
|
context[:gem_name] = 'aws-sdk-apigateway'
|
5967
|
-
context[:gem_version] = '1.
|
6007
|
+
context[:gem_version] = '1.3.0'
|
5968
6008
|
Seahorse::Client::Request.new(handlers, context)
|
5969
6009
|
end
|
5970
6010
|
|
@@ -164,6 +164,7 @@ module Aws::APIGateway
|
|
164
164
|
ListOfUsage = Shapes::ListShape.new(name: 'ListOfUsage')
|
165
165
|
ListOfUsagePlan = Shapes::ListShape.new(name: 'ListOfUsagePlan')
|
166
166
|
ListOfUsagePlanKey = Shapes::ListShape.new(name: 'ListOfUsagePlanKey')
|
167
|
+
LocationStatusType = Shapes::StringShape.new(name: 'LocationStatusType')
|
167
168
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
168
169
|
MapOfHeaderValues = Shapes::MapShape.new(name: 'MapOfHeaderValues')
|
169
170
|
MapOfIntegrationResponse = Shapes::MapShape.new(name: 'MapOfIntegrationResponse')
|
@@ -547,9 +548,11 @@ module Aws::APIGateway
|
|
547
548
|
DomainName.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "certificateArn"))
|
548
549
|
DomainName.add_member(:certificate_upload_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "certificateUploadDate"))
|
549
550
|
DomainName.add_member(:regional_domain_name, Shapes::ShapeRef.new(shape: String, location_name: "regionalDomainName"))
|
551
|
+
DomainName.add_member(:regional_hosted_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "regionalHostedZoneId"))
|
550
552
|
DomainName.add_member(:regional_certificate_name, Shapes::ShapeRef.new(shape: String, location_name: "regionalCertificateName"))
|
551
553
|
DomainName.add_member(:regional_certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "regionalCertificateArn"))
|
552
554
|
DomainName.add_member(:distribution_domain_name, Shapes::ShapeRef.new(shape: String, location_name: "distributionDomainName"))
|
555
|
+
DomainName.add_member(:distribution_hosted_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "distributionHostedZoneId"))
|
553
556
|
DomainName.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointConfiguration, location_name: "endpointConfiguration"))
|
554
557
|
DomainName.struct_class = Types::DomainName
|
555
558
|
|
@@ -647,6 +650,7 @@ module Aws::APIGateway
|
|
647
650
|
GetDocumentationPartsRequest.add_member(:path, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "path"))
|
648
651
|
GetDocumentationPartsRequest.add_member(:position, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "position"))
|
649
652
|
GetDocumentationPartsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: NullableInteger, location: "querystring", location_name: "limit"))
|
653
|
+
GetDocumentationPartsRequest.add_member(:location_status, Shapes::ShapeRef.new(shape: LocationStatusType, location: "querystring", location_name: "locationStatus"))
|
650
654
|
GetDocumentationPartsRequest.struct_class = Types::GetDocumentationPartsRequest
|
651
655
|
|
652
656
|
GetDocumentationVersionRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
|
@@ -2154,6 +2154,17 @@ module Aws::APIGateway
|
|
2154
2154
|
# when you create a regional endpoint.
|
2155
2155
|
# @return [String]
|
2156
2156
|
#
|
2157
|
+
# @!attribute [rw] regional_hosted_zone_id
|
2158
|
+
# The region-specific Amazon Route 53 Hosted Zone ID of the regional
|
2159
|
+
# endpoint. For more information, see [Set up a Regional Custom Domain
|
2160
|
+
# Name][1] and [AWS Regions and Endpoints for API Gateway][2].
|
2161
|
+
#
|
2162
|
+
#
|
2163
|
+
#
|
2164
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html
|
2165
|
+
# [2]: http://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region
|
2166
|
+
# @return [String]
|
2167
|
+
#
|
2157
2168
|
# @!attribute [rw] regional_certificate_name
|
2158
2169
|
# The name of the certificate that will be used for validating the
|
2159
2170
|
# regional domain name.
|
@@ -2178,6 +2189,18 @@ module Aws::APIGateway
|
|
2178
2189
|
# [1]: http://aws.amazon.com/documentation/cloudfront/
|
2179
2190
|
# @return [String]
|
2180
2191
|
#
|
2192
|
+
# @!attribute [rw] distribution_hosted_zone_id
|
2193
|
+
# The region-agnostic Amazon Route 53 Hosted Zone ID of the
|
2194
|
+
# edge-optimized endpoint. The valid value is `Z2FDTNDATAQYW2` for all
|
2195
|
+
# the regions. For more information, see [Set up a Regional Custom
|
2196
|
+
# Domain Name][1] and [AWS Regions and Endpoints for API Gateway][2].
|
2197
|
+
#
|
2198
|
+
#
|
2199
|
+
#
|
2200
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html
|
2201
|
+
# [2]: http://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region
|
2202
|
+
# @return [String]
|
2203
|
+
#
|
2181
2204
|
# @!attribute [rw] endpoint_configuration
|
2182
2205
|
# The endpoint configuration of this DomainName showing the endpoint
|
2183
2206
|
# types of the domain name.
|
@@ -2189,9 +2212,11 @@ module Aws::APIGateway
|
|
2189
2212
|
:certificate_arn,
|
2190
2213
|
:certificate_upload_date,
|
2191
2214
|
:regional_domain_name,
|
2215
|
+
:regional_hosted_zone_id,
|
2192
2216
|
:regional_certificate_name,
|
2193
2217
|
:regional_certificate_arn,
|
2194
2218
|
:distribution_domain_name,
|
2219
|
+
:distribution_hosted_zone_id,
|
2195
2220
|
:endpoint_configuration)
|
2196
2221
|
include Aws::Structure
|
2197
2222
|
end
|
@@ -2820,6 +2845,7 @@ module Aws::APIGateway
|
|
2820
2845
|
# path: "String",
|
2821
2846
|
# position: "String",
|
2822
2847
|
# limit: 1,
|
2848
|
+
# location_status: "DOCUMENTED", # accepts DOCUMENTED, UNDOCUMENTED
|
2823
2849
|
# }
|
2824
2850
|
#
|
2825
2851
|
# @!attribute [rw] rest_api_id
|
@@ -2846,13 +2872,21 @@ module Aws::APIGateway
|
|
2846
2872
|
# The maximum number of returned results per page.
|
2847
2873
|
# @return [Integer]
|
2848
2874
|
#
|
2875
|
+
# @!attribute [rw] location_status
|
2876
|
+
# The status of the API documentation parts to retrieve. Valid values
|
2877
|
+
# are `DOCUMENTED` for retrieving DocumentationPart resources with
|
2878
|
+
# content and `UNDOCUMENTED` for DocumentationPart resources without
|
2879
|
+
# content.
|
2880
|
+
# @return [String]
|
2881
|
+
#
|
2849
2882
|
class GetDocumentationPartsRequest < Struct.new(
|
2850
2883
|
:rest_api_id,
|
2851
2884
|
:type,
|
2852
2885
|
:name_query,
|
2853
2886
|
:path,
|
2854
2887
|
:position,
|
2855
|
-
:limit
|
2888
|
+
:limit,
|
2889
|
+
:location_status)
|
2856
2890
|
include Aws::Structure
|
2857
2891
|
end
|
2858
2892
|
|
@@ -3890,12 +3924,31 @@ module Aws::APIGateway
|
|
3890
3924
|
# @return [Boolean]
|
3891
3925
|
#
|
3892
3926
|
# @!attribute [rw] parameters
|
3893
|
-
#
|
3894
|
-
#
|
3895
|
-
#
|
3896
|
-
#
|
3897
|
-
#
|
3898
|
-
#
|
3927
|
+
# A key-value map of context-specific query string parameters
|
3928
|
+
# specifying the behavior of different API importing operations. The
|
3929
|
+
# following shows operation-specific parameters and their supported
|
3930
|
+
# values.
|
3931
|
+
#
|
3932
|
+
# To exclude DocumentationParts from the import, set `parameters` as
|
3933
|
+
# `ignore=documentation`.
|
3934
|
+
#
|
3935
|
+
# To configure the endpoint type, set `parameters` as
|
3936
|
+
# `endpointConfigurationTypes=EDGE`
|
3937
|
+
# or`endpointConfigurationTypes=REGIONAL`. The default endpoint type
|
3938
|
+
# is `EDGE`.
|
3939
|
+
#
|
3940
|
+
# To handle imported `basePath`, set `parameters` as
|
3941
|
+
# `basePath=ignore`, `basePath=prepend` or `basePath=split`.
|
3942
|
+
#
|
3943
|
+
# For example, the AWS CLI command to exclude documentation from the
|
3944
|
+
# imported API is:
|
3945
|
+
#
|
3946
|
+
# aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json
|
3947
|
+
#
|
3948
|
+
# The AWS CLI command to set the regional endpoint on the imported API
|
3949
|
+
# is:
|
3950
|
+
#
|
3951
|
+
# aws apigateway import-rest-api --parameters endpointConfigurationTypes=REGIONAL --body 'file:///path/to/imported-api-body.json
|
3899
3952
|
# @return [Hash<String,String>]
|
3900
3953
|
#
|
3901
3954
|
# @!attribute [rw] body
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-apigateway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
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: 2017-11-
|
11
|
+
date: 2017-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|