aws-sdk-apigateway 1.10.0 → 1.11.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/lib/aws-sdk-apigateway.rb +1 -1
- data/lib/aws-sdk-apigateway/client.rb +24 -23
- data/lib/aws-sdk-apigateway/types.rb +18 -15
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 857897ef920e739766b38554da0a42ad14e9a00a
|
4
|
+
data.tar.gz: ef2c91101143fbbe79826d8fc640af7689313400
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2c6e8fd6f33b98dc4abb130bb9c77c7cc510a07eb259ba5c623621f5b13a90b0a4ceaa3fedd4ea551f20d4b35e315873055de081592fd8e5b3e163354b041da
|
7
|
+
data.tar.gz: 5a7d2f39686e65eebd6dccb8af2592d8ae3e75a40acc4b2b36a1383347aa989f2a4de2cd6d94fbae66ffef64d621ee628287fe7a1d368d4e9176dea5949736d0
|
data/lib/aws-sdk-apigateway.rb
CHANGED
@@ -656,7 +656,7 @@ module Aws::APIGateway
|
|
656
656
|
# regional_certificate_name: "String",
|
657
657
|
# regional_certificate_arn: "String",
|
658
658
|
# endpoint_configuration: {
|
659
|
-
# types: ["REGIONAL"], # accepts REGIONAL, EDGE
|
659
|
+
# types: ["REGIONAL"], # accepts REGIONAL, EDGE, PRIVATE
|
660
660
|
# },
|
661
661
|
# })
|
662
662
|
#
|
@@ -673,7 +673,7 @@ module Aws::APIGateway
|
|
673
673
|
# resp.distribution_domain_name #=> String
|
674
674
|
# resp.distribution_hosted_zone_id #=> String
|
675
675
|
# resp.endpoint_configuration.types #=> Array
|
676
|
-
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
|
676
|
+
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE", "PRIVATE"
|
677
677
|
#
|
678
678
|
# @overload create_domain_name(params = {})
|
679
679
|
# @param [Hash] params ({})
|
@@ -935,7 +935,7 @@ module Aws::APIGateway
|
|
935
935
|
# minimum_compression_size: 1,
|
936
936
|
# api_key_source: "HEADER", # accepts HEADER, AUTHORIZER
|
937
937
|
# endpoint_configuration: {
|
938
|
-
# types: ["REGIONAL"], # accepts REGIONAL, EDGE
|
938
|
+
# types: ["REGIONAL"], # accepts REGIONAL, EDGE, PRIVATE
|
939
939
|
# },
|
940
940
|
# policy: "String",
|
941
941
|
# })
|
@@ -954,7 +954,7 @@ module Aws::APIGateway
|
|
954
954
|
# resp.minimum_compression_size #=> Integer
|
955
955
|
# resp.api_key_source #=> String, one of "HEADER", "AUTHORIZER"
|
956
956
|
# resp.endpoint_configuration.types #=> Array
|
957
|
-
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
|
957
|
+
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE", "PRIVATE"
|
958
958
|
# resp.policy #=> String
|
959
959
|
#
|
960
960
|
# @overload create_rest_api(params = {})
|
@@ -2583,7 +2583,7 @@ module Aws::APIGateway
|
|
2583
2583
|
# resp.distribution_domain_name #=> String
|
2584
2584
|
# resp.distribution_hosted_zone_id #=> String
|
2585
2585
|
# resp.endpoint_configuration.types #=> Array
|
2586
|
-
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
|
2586
|
+
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE", "PRIVATE"
|
2587
2587
|
#
|
2588
2588
|
# @overload get_domain_name(params = {})
|
2589
2589
|
# @param [Hash] params ({})
|
@@ -2628,7 +2628,7 @@ module Aws::APIGateway
|
|
2628
2628
|
# resp.items[0].distribution_domain_name #=> String
|
2629
2629
|
# resp.items[0].distribution_hosted_zone_id #=> String
|
2630
2630
|
# resp.items[0].endpoint_configuration.types #=> Array
|
2631
|
-
# resp.items[0].endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
|
2631
|
+
# resp.items[0].endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE", "PRIVATE"
|
2632
2632
|
#
|
2633
2633
|
# @overload get_domain_names(params = {})
|
2634
2634
|
# @param [Hash] params ({})
|
@@ -2653,11 +2653,11 @@ module Aws::APIGateway
|
|
2653
2653
|
# A key-value map of query string parameters that specify properties of
|
2654
2654
|
# the export, depending on the requested `exportType`. For `exportType`
|
2655
2655
|
# `swagger`, any combination of the following parameters are supported:
|
2656
|
-
# `integrations` will export
|
2657
|
-
# x-amazon-apigateway-integration extensions.
|
2658
|
-
# the API with
|
2659
|
-
#
|
2660
|
-
# Postman tool
|
2656
|
+
# `extensions='integrations'` or `extensions='apigateway'` will export
|
2657
|
+
# the API with x-amazon-apigateway-integration extensions.
|
2658
|
+
# `extensions='authorizers'` will export the API with
|
2659
|
+
# x-amazon-apigateway-authorizer extensions. `postman` will export the
|
2660
|
+
# API with Postman extensions, allowing for import to the Postman tool
|
2661
2661
|
#
|
2662
2662
|
# @option params [String] :accepts
|
2663
2663
|
# The content-type of the export, for example `application/json`.
|
@@ -3476,7 +3476,7 @@ module Aws::APIGateway
|
|
3476
3476
|
# resp.minimum_compression_size #=> Integer
|
3477
3477
|
# resp.api_key_source #=> String, one of "HEADER", "AUTHORIZER"
|
3478
3478
|
# resp.endpoint_configuration.types #=> Array
|
3479
|
-
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
|
3479
|
+
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE", "PRIVATE"
|
3480
3480
|
# resp.policy #=> String
|
3481
3481
|
#
|
3482
3482
|
# @overload get_rest_api(params = {})
|
@@ -3523,7 +3523,7 @@ module Aws::APIGateway
|
|
3523
3523
|
# resp.items[0].minimum_compression_size #=> Integer
|
3524
3524
|
# resp.items[0].api_key_source #=> String, one of "HEADER", "AUTHORIZER"
|
3525
3525
|
# resp.items[0].endpoint_configuration.types #=> Array
|
3526
|
-
# resp.items[0].endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
|
3526
|
+
# resp.items[0].endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE", "PRIVATE"
|
3527
3527
|
# resp.items[0].policy #=> String
|
3528
3528
|
#
|
3529
3529
|
# @overload get_rest_apis(params = {})
|
@@ -4261,8 +4261,9 @@ module Aws::APIGateway
|
|
4261
4261
|
# `ignore=documentation`.
|
4262
4262
|
#
|
4263
4263
|
# To configure the endpoint type, set `parameters` as
|
4264
|
-
# `endpointConfigurationTypes=EDGE
|
4265
|
-
#
|
4264
|
+
# `endpointConfigurationTypes=EDGE`,
|
4265
|
+
# `endpointConfigurationTypes=REGIONAL`, or
|
4266
|
+
# `endpointConfigurationTypes=PRIVATE`. The default endpoint type is
|
4266
4267
|
# `EDGE`.
|
4267
4268
|
#
|
4268
4269
|
# To handle imported `basePath`, set `parameters` as `basePath=ignore`,
|
@@ -4271,12 +4272,12 @@ module Aws::APIGateway
|
|
4271
4272
|
# For example, the AWS CLI command to exclude documentation from the
|
4272
4273
|
# imported API is:
|
4273
4274
|
#
|
4274
|
-
# aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json
|
4275
|
+
# aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'
|
4275
4276
|
#
|
4276
4277
|
# The AWS CLI command to set the regional endpoint on the imported API
|
4277
4278
|
# is:
|
4278
4279
|
#
|
4279
|
-
# aws apigateway import-rest-api --parameters endpointConfigurationTypes=REGIONAL --body 'file:///path/to/imported-api-body.json
|
4280
|
+
# aws apigateway import-rest-api --parameters endpointConfigurationTypes=REGIONAL --body 'file:///path/to/imported-api-body.json'
|
4280
4281
|
#
|
4281
4282
|
# @option params [required, String, IO] :body
|
4282
4283
|
# \[Required\] The POST request body containing external API
|
@@ -4321,7 +4322,7 @@ module Aws::APIGateway
|
|
4321
4322
|
# resp.minimum_compression_size #=> Integer
|
4322
4323
|
# resp.api_key_source #=> String, one of "HEADER", "AUTHORIZER"
|
4323
4324
|
# resp.endpoint_configuration.types #=> Array
|
4324
|
-
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
|
4325
|
+
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE", "PRIVATE"
|
4325
4326
|
# resp.policy #=> String
|
4326
4327
|
#
|
4327
4328
|
# @overload import_rest_api(params = {})
|
@@ -4954,7 +4955,7 @@ module Aws::APIGateway
|
|
4954
4955
|
# exclude DocumentationParts from an imported API, set
|
4955
4956
|
# `ignore=documentation` as a `parameters` value, as in the AWS CLI
|
4956
4957
|
# command of `aws apigateway import-rest-api --parameters
|
4957
|
-
# ignore=documentation --body 'file:///path/to/imported-api-body.json`.
|
4958
|
+
# ignore=documentation --body 'file:///path/to/imported-api-body.json'`.
|
4958
4959
|
#
|
4959
4960
|
# @option params [required, String, IO] :body
|
4960
4961
|
# \[Required\] The PUT request body containing external API definitions.
|
@@ -5001,7 +5002,7 @@ module Aws::APIGateway
|
|
5001
5002
|
# resp.minimum_compression_size #=> Integer
|
5002
5003
|
# resp.api_key_source #=> String, one of "HEADER", "AUTHORIZER"
|
5003
5004
|
# resp.endpoint_configuration.types #=> Array
|
5004
|
-
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
|
5005
|
+
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE", "PRIVATE"
|
5005
5006
|
# resp.policy #=> String
|
5006
5007
|
#
|
5007
5008
|
# @overload put_rest_api(params = {})
|
@@ -5682,7 +5683,7 @@ module Aws::APIGateway
|
|
5682
5683
|
# resp.distribution_domain_name #=> String
|
5683
5684
|
# resp.distribution_hosted_zone_id #=> String
|
5684
5685
|
# resp.endpoint_configuration.types #=> Array
|
5685
|
-
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
|
5686
|
+
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE", "PRIVATE"
|
5686
5687
|
#
|
5687
5688
|
# @overload update_domain_name(params = {})
|
5688
5689
|
# @param [Hash] params ({})
|
@@ -6305,7 +6306,7 @@ module Aws::APIGateway
|
|
6305
6306
|
# resp.minimum_compression_size #=> Integer
|
6306
6307
|
# resp.api_key_source #=> String, one of "HEADER", "AUTHORIZER"
|
6307
6308
|
# resp.endpoint_configuration.types #=> Array
|
6308
|
-
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
|
6309
|
+
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE", "PRIVATE"
|
6309
6310
|
# resp.policy #=> String
|
6310
6311
|
#
|
6311
6312
|
# @overload update_rest_api(params = {})
|
@@ -6576,7 +6577,7 @@ module Aws::APIGateway
|
|
6576
6577
|
params: params,
|
6577
6578
|
config: config)
|
6578
6579
|
context[:gem_name] = 'aws-sdk-apigateway'
|
6579
|
-
context[:gem_version] = '1.
|
6580
|
+
context[:gem_version] = '1.11.0'
|
6580
6581
|
Seahorse::Client::Request.new(handlers, context)
|
6581
6582
|
end
|
6582
6583
|
|
@@ -938,7 +938,7 @@ module Aws::APIGateway
|
|
938
938
|
# regional_certificate_name: "String",
|
939
939
|
# regional_certificate_arn: "String",
|
940
940
|
# endpoint_configuration: {
|
941
|
-
# types: ["REGIONAL"], # accepts REGIONAL, EDGE
|
941
|
+
# types: ["REGIONAL"], # accepts REGIONAL, EDGE, PRIVATE
|
942
942
|
# },
|
943
943
|
# }
|
944
944
|
#
|
@@ -1139,7 +1139,7 @@ module Aws::APIGateway
|
|
1139
1139
|
# minimum_compression_size: 1,
|
1140
1140
|
# api_key_source: "HEADER", # accepts HEADER, AUTHORIZER
|
1141
1141
|
# endpoint_configuration: {
|
1142
|
-
# types: ["REGIONAL"], # accepts REGIONAL, EDGE
|
1142
|
+
# types: ["REGIONAL"], # accepts REGIONAL, EDGE, PRIVATE
|
1143
1143
|
# },
|
1144
1144
|
# policy: "String",
|
1145
1145
|
# }
|
@@ -2482,14 +2482,15 @@ module Aws::APIGateway
|
|
2482
2482
|
# data as a hash:
|
2483
2483
|
#
|
2484
2484
|
# {
|
2485
|
-
# types: ["REGIONAL"], # accepts REGIONAL, EDGE
|
2485
|
+
# types: ["REGIONAL"], # accepts REGIONAL, EDGE, PRIVATE
|
2486
2486
|
# }
|
2487
2487
|
#
|
2488
2488
|
# @!attribute [rw] types
|
2489
2489
|
# A list of endpoint types of an API (RestApi) or its custom domain
|
2490
2490
|
# name (DomainName). For an edge-optimized API and its custom domain
|
2491
2491
|
# name, the endpoint type is `"EDGE"`. For a regional API and its
|
2492
|
-
# custom domain name, the endpoint type is `REGIONAL`.
|
2492
|
+
# custom domain name, the endpoint type is `REGIONAL`. For a private
|
2493
|
+
# API, the endpoint type is `PRIVATE`.
|
2493
2494
|
# @return [Array<String>]
|
2494
2495
|
#
|
2495
2496
|
class EndpointConfiguration < Struct.new(
|
@@ -3258,11 +3259,12 @@ module Aws::APIGateway
|
|
3258
3259
|
# A key-value map of query string parameters that specify properties
|
3259
3260
|
# of the export, depending on the requested `exportType`. For
|
3260
3261
|
# `exportType` `swagger`, any combination of the following parameters
|
3261
|
-
# are supported: `integrations`
|
3262
|
-
#
|
3263
|
-
#
|
3264
|
-
# `
|
3265
|
-
#
|
3262
|
+
# are supported: `extensions='integrations'` or
|
3263
|
+
# `extensions='apigateway'` will export the API with
|
3264
|
+
# x-amazon-apigateway-integration extensions.
|
3265
|
+
# `extensions='authorizers'` will export the API with
|
3266
|
+
# x-amazon-apigateway-authorizer extensions. `postman` will export the
|
3267
|
+
# API with Postman extensions, allowing for import to the Postman tool
|
3266
3268
|
# @return [Hash<String,String>]
|
3267
3269
|
#
|
3268
3270
|
# @!attribute [rw] accepts
|
@@ -4266,9 +4268,10 @@ module Aws::APIGateway
|
|
4266
4268
|
# `ignore=documentation`.
|
4267
4269
|
#
|
4268
4270
|
# To configure the endpoint type, set `parameters` as
|
4269
|
-
# `endpointConfigurationTypes=EDGE
|
4270
|
-
#
|
4271
|
-
#
|
4271
|
+
# `endpointConfigurationTypes=EDGE`,
|
4272
|
+
# `endpointConfigurationTypes=REGIONAL`, or
|
4273
|
+
# `endpointConfigurationTypes=PRIVATE`. The default endpoint type is
|
4274
|
+
# `EDGE`.
|
4272
4275
|
#
|
4273
4276
|
# To handle imported `basePath`, set `parameters` as
|
4274
4277
|
# `basePath=ignore`, `basePath=prepend` or `basePath=split`.
|
@@ -4276,12 +4279,12 @@ module Aws::APIGateway
|
|
4276
4279
|
# For example, the AWS CLI command to exclude documentation from the
|
4277
4280
|
# imported API is:
|
4278
4281
|
#
|
4279
|
-
# aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json
|
4282
|
+
# aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'
|
4280
4283
|
#
|
4281
4284
|
# The AWS CLI command to set the regional endpoint on the imported API
|
4282
4285
|
# is:
|
4283
4286
|
#
|
4284
|
-
# aws apigateway import-rest-api --parameters endpointConfigurationTypes=REGIONAL --body 'file:///path/to/imported-api-body.json
|
4287
|
+
# aws apigateway import-rest-api --parameters endpointConfigurationTypes=REGIONAL --body 'file:///path/to/imported-api-body.json'
|
4285
4288
|
# @return [Hash<String,String>]
|
4286
4289
|
#
|
4287
4290
|
# @!attribute [rw] body
|
@@ -5721,7 +5724,7 @@ module Aws::APIGateway
|
|
5721
5724
|
# `ignore=documentation` as a `parameters` value, as in the AWS CLI
|
5722
5725
|
# command of `aws apigateway import-rest-api --parameters
|
5723
5726
|
# ignore=documentation --body
|
5724
|
-
# 'file:///path/to/imported-api-body.json`.
|
5727
|
+
# 'file:///path/to/imported-api-body.json'`.
|
5725
5728
|
# @return [Hash<String,String>]
|
5726
5729
|
#
|
5727
5730
|
# @!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.11.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: 2018-
|
11
|
+
date: 2018-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
78
|
rubyforge_project:
|
79
|
-
rubygems_version: 2.5.2.
|
79
|
+
rubygems_version: 2.5.2.3
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: AWS SDK for Ruby - Amazon API Gateway
|