aws-sdk-apigateway 1.1.0 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 55d730092c929ef161958cdaa678afca71ac021e
4
- data.tar.gz: a03c352bb7d70fc5a2c5065a561361443484f2ae
3
+ metadata.gz: 4895dce1436ec288a902bc9b3a01b852933fb5c5
4
+ data.tar.gz: 74df5d8ae1732c640cd19b8495cadf716eb69cf4
5
5
  SHA512:
6
- metadata.gz: 4da20f7782070796b9c5ee7f113b0f95cd427b4425f6bd4992a059905c97f853aea09db55169543dfcb76a12abde9ed5316bffcc4aef74fce453e1b0eb0fb7f4
7
- data.tar.gz: 7902b82be9e2e8c7daf321335bbd62877aaf5d6aadb46a6504dc652950b7481dab5943b7e8553c9ba9578215afe233f4e6a63826562bfa702efcd5b808c3dcd9
6
+ metadata.gz: 27c52a44b1c3f50b98bfda6fe64f50189a8fcbe138214bbbb6feb2fe9abf088284b76cb71a4d1068da86f4c918615d35dd0932f6692c3f64e11f5da03f8fc915
7
+ data.tar.gz: daaf904b6fdc08e839cce3411a3f4dd7f5e14624f67666c4614629ba5a0230f05ae291ac5c04e5bc32552b57293a653268e69ee4aa835b115ecb14e23e4efdd6
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-apigateway/customizations'
42
42
  # @service
43
43
  module Aws::APIGateway
44
44
 
45
- GEM_VERSION = '1.1.0'
45
+ GEM_VERSION = '1.2.0'
46
46
 
47
47
  end
@@ -580,35 +580,56 @@ module Aws::APIGateway
580
580
  # (Required) The name of the DomainName resource.
581
581
  #
582
582
  # @option params [String] :certificate_name
583
- # The user-friendly name of the certificate.
583
+ # The user-friendly name of the certificate that will be used by
584
+ # edge-optimized endpoint for this domain name.
584
585
  #
585
586
  # @option params [String] :certificate_body
586
- # \[Deprecated\] The body of the server certificate provided by your
587
+ # \[Deprecated\] The body of the server certificate that will be used by
588
+ # edge-optimized endpoint for this domain name provided by your
587
589
  # certificate authority.
588
590
  #
589
591
  # @option params [String] :certificate_private_key
590
- # \[Deprecated\] Your certificate's private key.
592
+ # \[Deprecated\] Your edge-optimized endpoint's domain name
593
+ # certificate's private key.
591
594
  #
592
595
  # @option params [String] :certificate_chain
593
596
  # \[Deprecated\] The intermediate certificates and optionally the root
594
- # certificate, one after the other without any blank lines. If you
595
- # include the root certificate, your certificate chain must start with
596
- # intermediate certificates and end with the root certificate. Use the
597
- # intermediate certificates that were provided by your certificate
598
- # authority. Do not include any intermediaries that are not in the chain
599
- # of trust path.
597
+ # certificate, one after the other without any blank lines, used by an
598
+ # edge-optimized endpoint for this domain name. If you include the root
599
+ # certificate, your certificate chain must start with intermediate
600
+ # certificates and end with the root certificate. Use the intermediate
601
+ # certificates that were provided by your certificate authority. Do not
602
+ # include any intermediaries that are not in the chain of trust path.
600
603
  #
601
604
  # @option params [String] :certificate_arn
602
- # The reference to an AWS-managed certificate. AWS Certificate Manager
605
+ # The reference to an AWS-managed certificate that will be used by
606
+ # edge-optimized endpoint for this domain name. AWS Certificate Manager
603
607
  # is the only supported source.
604
608
  #
609
+ # @option params [String] :regional_certificate_name
610
+ # The user-friendly name of the certificate that will be used by
611
+ # regional endpoint for this domain name.
612
+ #
613
+ # @option params [String] :regional_certificate_arn
614
+ # The reference to an AWS-managed certificate that will be used by
615
+ # regional endpoint for this domain name. AWS Certificate Manager is the
616
+ # only supported source.
617
+ #
618
+ # @option params [Types::EndpointConfiguration] :endpoint_configuration
619
+ # The endpoint configuration of this DomainName showing the endpoint
620
+ # types of the domain name.
621
+ #
605
622
  # @return [Types::DomainName] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
606
623
  #
607
624
  # * {Types::DomainName#domain_name #domain_name} => String
608
625
  # * {Types::DomainName#certificate_name #certificate_name} => String
609
626
  # * {Types::DomainName#certificate_arn #certificate_arn} => String
610
627
  # * {Types::DomainName#certificate_upload_date #certificate_upload_date} => Time
628
+ # * {Types::DomainName#regional_domain_name #regional_domain_name} => String
629
+ # * {Types::DomainName#regional_certificate_name #regional_certificate_name} => String
630
+ # * {Types::DomainName#regional_certificate_arn #regional_certificate_arn} => String
611
631
  # * {Types::DomainName#distribution_domain_name #distribution_domain_name} => String
632
+ # * {Types::DomainName#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
612
633
  #
613
634
  # @example Request syntax with placeholder values
614
635
  #
@@ -619,6 +640,11 @@ module Aws::APIGateway
619
640
  # certificate_private_key: "String",
620
641
  # certificate_chain: "String",
621
642
  # certificate_arn: "String",
643
+ # regional_certificate_name: "String",
644
+ # regional_certificate_arn: "String",
645
+ # endpoint_configuration: {
646
+ # types: ["REGIONAL"], # accepts REGIONAL, EDGE
647
+ # },
622
648
  # })
623
649
  #
624
650
  # @example Response structure
@@ -627,7 +653,12 @@ module Aws::APIGateway
627
653
  # resp.certificate_name #=> String
628
654
  # resp.certificate_arn #=> String
629
655
  # resp.certificate_upload_date #=> Time
656
+ # resp.regional_domain_name #=> String
657
+ # resp.regional_certificate_name #=> String
658
+ # resp.regional_certificate_arn #=> String
630
659
  # resp.distribution_domain_name #=> String
660
+ # resp.endpoint_configuration.types #=> Array
661
+ # resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
631
662
  #
632
663
  # @overload create_domain_name(params = {})
633
664
  # @param [Hash] params ({})
@@ -835,6 +866,10 @@ module Aws::APIGateway
835
866
  # The list of binary media types supported by the RestApi. By default,
836
867
  # the RestApi supports only UTF-8-encoded text payloads.
837
868
  #
869
+ # @option params [Types::EndpointConfiguration] :endpoint_configuration
870
+ # The endpoint configuration of this RestApi showing the endpoint types
871
+ # of the API.
872
+ #
838
873
  # @return [Types::RestApi] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
839
874
  #
840
875
  # * {Types::RestApi#id #id} => String
@@ -844,6 +879,7 @@ module Aws::APIGateway
844
879
  # * {Types::RestApi#version #version} => String
845
880
  # * {Types::RestApi#warnings #warnings} => Array<String>
846
881
  # * {Types::RestApi#binary_media_types #binary_media_types} => Array<String>
882
+ # * {Types::RestApi#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
847
883
  #
848
884
  # @example Request syntax with placeholder values
849
885
  #
@@ -853,6 +889,9 @@ module Aws::APIGateway
853
889
  # version: "String",
854
890
  # clone_from: "String",
855
891
  # binary_media_types: ["String"],
892
+ # endpoint_configuration: {
893
+ # types: ["REGIONAL"], # accepts REGIONAL, EDGE
894
+ # },
856
895
  # })
857
896
  #
858
897
  # @example Response structure
@@ -866,6 +905,8 @@ module Aws::APIGateway
866
905
  # resp.warnings[0] #=> String
867
906
  # resp.binary_media_types #=> Array
868
907
  # resp.binary_media_types[0] #=> String
908
+ # resp.endpoint_configuration.types #=> Array
909
+ # resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
869
910
  #
870
911
  # @overload create_rest_api(params = {})
871
912
  # @param [Hash] params ({})
@@ -2339,7 +2380,11 @@ module Aws::APIGateway
2339
2380
  # * {Types::DomainName#certificate_name #certificate_name} => String
2340
2381
  # * {Types::DomainName#certificate_arn #certificate_arn} => String
2341
2382
  # * {Types::DomainName#certificate_upload_date #certificate_upload_date} => Time
2383
+ # * {Types::DomainName#regional_domain_name #regional_domain_name} => String
2384
+ # * {Types::DomainName#regional_certificate_name #regional_certificate_name} => String
2385
+ # * {Types::DomainName#regional_certificate_arn #regional_certificate_arn} => String
2342
2386
  # * {Types::DomainName#distribution_domain_name #distribution_domain_name} => String
2387
+ # * {Types::DomainName#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
2343
2388
  #
2344
2389
  # @example Request syntax with placeholder values
2345
2390
  #
@@ -2353,7 +2398,12 @@ module Aws::APIGateway
2353
2398
  # resp.certificate_name #=> String
2354
2399
  # resp.certificate_arn #=> String
2355
2400
  # resp.certificate_upload_date #=> Time
2401
+ # resp.regional_domain_name #=> String
2402
+ # resp.regional_certificate_name #=> String
2403
+ # resp.regional_certificate_arn #=> String
2356
2404
  # resp.distribution_domain_name #=> String
2405
+ # resp.endpoint_configuration.types #=> Array
2406
+ # resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
2357
2407
  #
2358
2408
  # @overload get_domain_name(params = {})
2359
2409
  # @param [Hash] params ({})
@@ -2391,7 +2441,12 @@ module Aws::APIGateway
2391
2441
  # resp.items[0].certificate_name #=> String
2392
2442
  # resp.items[0].certificate_arn #=> String
2393
2443
  # resp.items[0].certificate_upload_date #=> Time
2444
+ # resp.items[0].regional_domain_name #=> String
2445
+ # resp.items[0].regional_certificate_name #=> String
2446
+ # resp.items[0].regional_certificate_arn #=> String
2394
2447
  # resp.items[0].distribution_domain_name #=> String
2448
+ # resp.items[0].endpoint_configuration.types #=> Array
2449
+ # resp.items[0].endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
2395
2450
  #
2396
2451
  # @overload get_domain_names(params = {})
2397
2452
  # @param [Hash] params ({})
@@ -3185,6 +3240,7 @@ module Aws::APIGateway
3185
3240
  # * {Types::RestApi#version #version} => String
3186
3241
  # * {Types::RestApi#warnings #warnings} => Array<String>
3187
3242
  # * {Types::RestApi#binary_media_types #binary_media_types} => Array<String>
3243
+ # * {Types::RestApi#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
3188
3244
  #
3189
3245
  # @example Request syntax with placeholder values
3190
3246
  #
@@ -3203,6 +3259,8 @@ module Aws::APIGateway
3203
3259
  # resp.warnings[0] #=> String
3204
3260
  # resp.binary_media_types #=> Array
3205
3261
  # resp.binary_media_types[0] #=> String
3262
+ # resp.endpoint_configuration.types #=> Array
3263
+ # resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
3206
3264
  #
3207
3265
  # @overload get_rest_api(params = {})
3208
3266
  # @param [Hash] params ({})
@@ -3245,6 +3303,8 @@ module Aws::APIGateway
3245
3303
  # resp.items[0].warnings[0] #=> String
3246
3304
  # resp.items[0].binary_media_types #=> Array
3247
3305
  # resp.items[0].binary_media_types[0] #=> String
3306
+ # resp.items[0].endpoint_configuration.types #=> Array
3307
+ # resp.items[0].endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
3248
3308
  #
3249
3309
  # @overload get_rest_apis(params = {})
3250
3310
  # @param [Hash] params ({})
@@ -3849,6 +3909,7 @@ module Aws::APIGateway
3849
3909
  # * {Types::RestApi#version #version} => String
3850
3910
  # * {Types::RestApi#warnings #warnings} => Array<String>
3851
3911
  # * {Types::RestApi#binary_media_types #binary_media_types} => Array<String>
3912
+ # * {Types::RestApi#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
3852
3913
  #
3853
3914
  # @example Request syntax with placeholder values
3854
3915
  #
@@ -3871,6 +3932,8 @@ module Aws::APIGateway
3871
3932
  # resp.warnings[0] #=> String
3872
3933
  # resp.binary_media_types #=> Array
3873
3934
  # resp.binary_media_types[0] #=> String
3935
+ # resp.endpoint_configuration.types #=> Array
3936
+ # resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
3874
3937
  #
3875
3938
  # @overload import_rest_api(params = {})
3876
3939
  # @param [Hash] params ({})
@@ -4454,6 +4517,7 @@ module Aws::APIGateway
4454
4517
  # * {Types::RestApi#version #version} => String
4455
4518
  # * {Types::RestApi#warnings #warnings} => Array<String>
4456
4519
  # * {Types::RestApi#binary_media_types #binary_media_types} => Array<String>
4520
+ # * {Types::RestApi#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
4457
4521
  #
4458
4522
  # @example Request syntax with placeholder values
4459
4523
  #
@@ -4478,6 +4542,8 @@ module Aws::APIGateway
4478
4542
  # resp.warnings[0] #=> String
4479
4543
  # resp.binary_media_types #=> Array
4480
4544
  # resp.binary_media_types[0] #=> String
4545
+ # resp.endpoint_configuration.types #=> Array
4546
+ # resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
4481
4547
  #
4482
4548
  # @overload put_rest_api(params = {})
4483
4549
  # @param [Hash] params ({})
@@ -5063,7 +5129,11 @@ module Aws::APIGateway
5063
5129
  # * {Types::DomainName#certificate_name #certificate_name} => String
5064
5130
  # * {Types::DomainName#certificate_arn #certificate_arn} => String
5065
5131
  # * {Types::DomainName#certificate_upload_date #certificate_upload_date} => Time
5132
+ # * {Types::DomainName#regional_domain_name #regional_domain_name} => String
5133
+ # * {Types::DomainName#regional_certificate_name #regional_certificate_name} => String
5134
+ # * {Types::DomainName#regional_certificate_arn #regional_certificate_arn} => String
5066
5135
  # * {Types::DomainName#distribution_domain_name #distribution_domain_name} => String
5136
+ # * {Types::DomainName#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
5067
5137
  #
5068
5138
  # @example Request syntax with placeholder values
5069
5139
  #
@@ -5085,7 +5155,12 @@ module Aws::APIGateway
5085
5155
  # resp.certificate_name #=> String
5086
5156
  # resp.certificate_arn #=> String
5087
5157
  # resp.certificate_upload_date #=> Time
5158
+ # resp.regional_domain_name #=> String
5159
+ # resp.regional_certificate_name #=> String
5160
+ # resp.regional_certificate_arn #=> String
5088
5161
  # resp.distribution_domain_name #=> String
5162
+ # resp.endpoint_configuration.types #=> Array
5163
+ # resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
5089
5164
  #
5090
5165
  # @overload update_domain_name(params = {})
5091
5166
  # @param [Hash] params ({})
@@ -5654,6 +5729,7 @@ module Aws::APIGateway
5654
5729
  # * {Types::RestApi#version #version} => String
5655
5730
  # * {Types::RestApi#warnings #warnings} => Array<String>
5656
5731
  # * {Types::RestApi#binary_media_types #binary_media_types} => Array<String>
5732
+ # * {Types::RestApi#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
5657
5733
  #
5658
5734
  # @example Request syntax with placeholder values
5659
5735
  #
@@ -5680,6 +5756,8 @@ module Aws::APIGateway
5680
5756
  # resp.warnings[0] #=> String
5681
5757
  # resp.binary_media_types #=> Array
5682
5758
  # resp.binary_media_types[0] #=> String
5759
+ # resp.endpoint_configuration.types #=> Array
5760
+ # resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE"
5683
5761
  #
5684
5762
  # @overload update_rest_api(params = {})
5685
5763
  # @param [Hash] params ({})
@@ -5886,7 +5964,7 @@ module Aws::APIGateway
5886
5964
  params: params,
5887
5965
  config: config)
5888
5966
  context[:gem_name] = 'aws-sdk-apigateway'
5889
- context[:gem_version] = '1.1.0'
5967
+ context[:gem_version] = '1.2.0'
5890
5968
  Seahorse::Client::Request.new(handlers, context)
5891
5969
  end
5892
5970
 
@@ -78,6 +78,8 @@ module Aws::APIGateway
78
78
  DomainName = Shapes::StructureShape.new(name: 'DomainName')
79
79
  DomainNames = Shapes::StructureShape.new(name: 'DomainNames')
80
80
  Double = Shapes::FloatShape.new(name: 'Double')
81
+ EndpointConfiguration = Shapes::StructureShape.new(name: 'EndpointConfiguration')
82
+ EndpointType = Shapes::StringShape.new(name: 'EndpointType')
81
83
  ExportResponse = Shapes::StructureShape.new(name: 'ExportResponse')
82
84
  FlushStageAuthorizersCacheRequest = Shapes::StructureShape.new(name: 'FlushStageAuthorizersCacheRequest')
83
85
  FlushStageCacheRequest = Shapes::StructureShape.new(name: 'FlushStageCacheRequest')
@@ -146,6 +148,7 @@ module Aws::APIGateway
146
148
  ListOfDocumentationPart = Shapes::ListShape.new(name: 'ListOfDocumentationPart')
147
149
  ListOfDocumentationVersion = Shapes::ListShape.new(name: 'ListOfDocumentationVersion')
148
150
  ListOfDomainName = Shapes::ListShape.new(name: 'ListOfDomainName')
151
+ ListOfEndpointType = Shapes::ListShape.new(name: 'ListOfEndpointType')
149
152
  ListOfGatewayResponse = Shapes::ListShape.new(name: 'ListOfGatewayResponse')
150
153
  ListOfLong = Shapes::ListShape.new(name: 'ListOfLong')
151
154
  ListOfModel = Shapes::ListShape.new(name: 'ListOfModel')
@@ -366,6 +369,9 @@ module Aws::APIGateway
366
369
  CreateDomainNameRequest.add_member(:certificate_private_key, Shapes::ShapeRef.new(shape: String, location_name: "certificatePrivateKey"))
367
370
  CreateDomainNameRequest.add_member(:certificate_chain, Shapes::ShapeRef.new(shape: String, location_name: "certificateChain"))
368
371
  CreateDomainNameRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "certificateArn"))
372
+ CreateDomainNameRequest.add_member(:regional_certificate_name, Shapes::ShapeRef.new(shape: String, location_name: "regionalCertificateName"))
373
+ CreateDomainNameRequest.add_member(:regional_certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "regionalCertificateArn"))
374
+ CreateDomainNameRequest.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointConfiguration, location_name: "endpointConfiguration"))
369
375
  CreateDomainNameRequest.struct_class = Types::CreateDomainNameRequest
370
376
 
371
377
  CreateModelRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
@@ -391,6 +397,7 @@ module Aws::APIGateway
391
397
  CreateRestApiRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
392
398
  CreateRestApiRequest.add_member(:clone_from, Shapes::ShapeRef.new(shape: String, location_name: "cloneFrom"))
393
399
  CreateRestApiRequest.add_member(:binary_media_types, Shapes::ShapeRef.new(shape: ListOfString, location_name: "binaryMediaTypes"))
400
+ CreateRestApiRequest.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointConfiguration, location_name: "endpointConfiguration"))
394
401
  CreateRestApiRequest.struct_class = Types::CreateRestApiRequest
395
402
 
396
403
  CreateStageRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
@@ -539,13 +546,20 @@ module Aws::APIGateway
539
546
  DomainName.add_member(:certificate_name, Shapes::ShapeRef.new(shape: String, location_name: "certificateName"))
540
547
  DomainName.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "certificateArn"))
541
548
  DomainName.add_member(:certificate_upload_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "certificateUploadDate"))
549
+ DomainName.add_member(:regional_domain_name, Shapes::ShapeRef.new(shape: String, location_name: "regionalDomainName"))
550
+ DomainName.add_member(:regional_certificate_name, Shapes::ShapeRef.new(shape: String, location_name: "regionalCertificateName"))
551
+ DomainName.add_member(:regional_certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "regionalCertificateArn"))
542
552
  DomainName.add_member(:distribution_domain_name, Shapes::ShapeRef.new(shape: String, location_name: "distributionDomainName"))
553
+ DomainName.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointConfiguration, location_name: "endpointConfiguration"))
543
554
  DomainName.struct_class = Types::DomainName
544
555
 
545
556
  DomainNames.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
546
557
  DomainNames.add_member(:items, Shapes::ShapeRef.new(shape: ListOfDomainName, location_name: "item"))
547
558
  DomainNames.struct_class = Types::DomainNames
548
559
 
560
+ EndpointConfiguration.add_member(:types, Shapes::ShapeRef.new(shape: ListOfEndpointType, location_name: "types"))
561
+ EndpointConfiguration.struct_class = Types::EndpointConfiguration
562
+
549
563
  ExportResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Content-Type"))
550
564
  ExportResponse.add_member(:content_disposition, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Content-Disposition"))
551
565
  ExportResponse.add_member(:body, Shapes::ShapeRef.new(shape: Blob, location_name: "body"))
@@ -839,6 +853,8 @@ module Aws::APIGateway
839
853
 
840
854
  ListOfDomainName.member = Shapes::ShapeRef.new(shape: DomainName)
841
855
 
856
+ ListOfEndpointType.member = Shapes::ShapeRef.new(shape: EndpointType)
857
+
842
858
  ListOfGatewayResponse.member = Shapes::ShapeRef.new(shape: GatewayResponse)
843
859
 
844
860
  ListOfLong.member = Shapes::ShapeRef.new(shape: Long)
@@ -1046,6 +1062,7 @@ module Aws::APIGateway
1046
1062
  RestApi.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
1047
1063
  RestApi.add_member(:warnings, Shapes::ShapeRef.new(shape: ListOfString, location_name: "warnings"))
1048
1064
  RestApi.add_member(:binary_media_types, Shapes::ShapeRef.new(shape: ListOfString, location_name: "binaryMediaTypes"))
1065
+ RestApi.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointConfiguration, location_name: "endpointConfiguration"))
1049
1066
  RestApi.struct_class = Types::RestApi
1050
1067
 
1051
1068
  RestApis.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
@@ -861,6 +861,11 @@ module Aws::APIGateway
861
861
  # certificate_private_key: "String",
862
862
  # certificate_chain: "String",
863
863
  # certificate_arn: "String",
864
+ # regional_certificate_name: "String",
865
+ # regional_certificate_arn: "String",
866
+ # endpoint_configuration: {
867
+ # types: ["REGIONAL"], # accepts REGIONAL, EDGE
868
+ # },
864
869
  # }
865
870
  #
866
871
  # @!attribute [rw] domain_name
@@ -868,22 +873,26 @@ module Aws::APIGateway
868
873
  # @return [String]
869
874
  #
870
875
  # @!attribute [rw] certificate_name
871
- # The user-friendly name of the certificate.
876
+ # The user-friendly name of the certificate that will be used by
877
+ # edge-optimized endpoint for this domain name.
872
878
  # @return [String]
873
879
  #
874
880
  # @!attribute [rw] certificate_body
875
- # \[Deprecated\] The body of the server certificate provided by your
881
+ # \[Deprecated\] The body of the server certificate that will be used
882
+ # by edge-optimized endpoint for this domain name provided by your
876
883
  # certificate authority.
877
884
  # @return [String]
878
885
  #
879
886
  # @!attribute [rw] certificate_private_key
880
- # \[Deprecated\] Your certificate's private key.
887
+ # \[Deprecated\] Your edge-optimized endpoint's domain name
888
+ # certificate's private key.
881
889
  # @return [String]
882
890
  #
883
891
  # @!attribute [rw] certificate_chain
884
892
  # \[Deprecated\] The intermediate certificates and optionally the root
885
- # certificate, one after the other without any blank lines. If you
886
- # include the root certificate, your certificate chain must start with
893
+ # certificate, one after the other without any blank lines, used by an
894
+ # edge-optimized endpoint for this domain name. If you include the
895
+ # root certificate, your certificate chain must start with
887
896
  # intermediate certificates and end with the root certificate. Use the
888
897
  # intermediate certificates that were provided by your certificate
889
898
  # authority. Do not include any intermediaries that are not in the
@@ -891,17 +900,37 @@ module Aws::APIGateway
891
900
  # @return [String]
892
901
  #
893
902
  # @!attribute [rw] certificate_arn
894
- # The reference to an AWS-managed certificate. AWS Certificate Manager
895
- # is the only supported source.
903
+ # The reference to an AWS-managed certificate that will be used by
904
+ # edge-optimized endpoint for this domain name. AWS Certificate
905
+ # Manager is the only supported source.
906
+ # @return [String]
907
+ #
908
+ # @!attribute [rw] regional_certificate_name
909
+ # The user-friendly name of the certificate that will be used by
910
+ # regional endpoint for this domain name.
911
+ # @return [String]
912
+ #
913
+ # @!attribute [rw] regional_certificate_arn
914
+ # The reference to an AWS-managed certificate that will be used by
915
+ # regional endpoint for this domain name. AWS Certificate Manager is
916
+ # the only supported source.
896
917
  # @return [String]
897
918
  #
919
+ # @!attribute [rw] endpoint_configuration
920
+ # The endpoint configuration of this DomainName showing the endpoint
921
+ # types of the domain name.
922
+ # @return [Types::EndpointConfiguration]
923
+ #
898
924
  class CreateDomainNameRequest < Struct.new(
899
925
  :domain_name,
900
926
  :certificate_name,
901
927
  :certificate_body,
902
928
  :certificate_private_key,
903
929
  :certificate_chain,
904
- :certificate_arn)
930
+ :certificate_arn,
931
+ :regional_certificate_name,
932
+ :regional_certificate_arn,
933
+ :endpoint_configuration)
905
934
  include Aws::Structure
906
935
  end
907
936
 
@@ -1032,6 +1061,9 @@ module Aws::APIGateway
1032
1061
  # version: "String",
1033
1062
  # clone_from: "String",
1034
1063
  # binary_media_types: ["String"],
1064
+ # endpoint_configuration: {
1065
+ # types: ["REGIONAL"], # accepts REGIONAL, EDGE
1066
+ # },
1035
1067
  # }
1036
1068
  #
1037
1069
  # @!attribute [rw] name
@@ -1055,12 +1087,18 @@ module Aws::APIGateway
1055
1087
  # the RestApi supports only UTF-8-encoded text payloads.
1056
1088
  # @return [Array<String>]
1057
1089
  #
1090
+ # @!attribute [rw] endpoint_configuration
1091
+ # The endpoint configuration of this RestApi showing the endpoint
1092
+ # types of the API.
1093
+ # @return [Types::EndpointConfiguration]
1094
+ #
1058
1095
  class CreateRestApiRequest < Struct.new(
1059
1096
  :name,
1060
1097
  :description,
1061
1098
  :version,
1062
1099
  :clone_from,
1063
- :binary_media_types)
1100
+ :binary_media_types,
1101
+ :endpoint_configuration)
1064
1102
  include Aws::Structure
1065
1103
  end
1066
1104
 
@@ -2063,11 +2101,25 @@ module Aws::APIGateway
2063
2101
  include Aws::Structure
2064
2102
  end
2065
2103
 
2066
- # Represents a domain name that is contained in a simpler, more
2067
- # intuitive URL that can be called.
2104
+ # Represents a custom domain name as a user-friendly host name of an API
2105
+ # (RestApi).
2106
+ #
2107
+ # <div class="Remarks" markdown="1">
2108
+ # When you deploy an API, Amazon API Gateway creates a default host name
2109
+ # for the API. This default API host name is of the
2110
+ # `\{restapi-id\}.execute-api.\{region\}.amazonaws.com` format. With the
2111
+ # default host name, you can access the API's root resource with the
2112
+ # URL of
2113
+ # `https://\{restapi-id\}.execute-api.\{region\}.amazonaws.com/\{stage\}/`.
2114
+ # When you set up a custom domain name of `apis.example.com` for this
2115
+ # API, you can then access the same resource using the URL of the
2116
+ # `https://apis.examples.com/myApi`, where `myApi` is the base path
2117
+ # mapping (BasePathMapping) of your API under the custom domain name.
2118
+ #
2119
+ # </div>
2068
2120
  #
2069
2121
  # <div class="seeAlso">
2070
- # [Use Client-Side Certificate][1]
2122
+ # [Set a Custom Host Name for an API][1]
2071
2123
  # </div>
2072
2124
  #
2073
2125
  #
@@ -2079,33 +2131,68 @@ module Aws::APIGateway
2079
2131
  # @return [String]
2080
2132
  #
2081
2133
  # @!attribute [rw] certificate_name
2082
- # The name of the certificate.
2134
+ # The name of the certificate that will be used by edge-optimized
2135
+ # endpoint for this domain name.
2083
2136
  # @return [String]
2084
2137
  #
2085
2138
  # @!attribute [rw] certificate_arn
2086
- # The reference to an AWS-managed certificate. AWS Certificate Manager
2087
- # is the only supported source.
2139
+ # The reference to an AWS-managed certificate that will be used by
2140
+ # edge-optimized endpoint for this domain name. AWS Certificate
2141
+ # Manager is the only supported source.
2088
2142
  # @return [String]
2089
2143
  #
2090
2144
  # @!attribute [rw] certificate_upload_date
2091
- # The timestamp when the certificate was uploaded.
2145
+ # The timestamp when the certificate that was used by edge-optimized
2146
+ # endpoint for this domain name was uploaded.
2092
2147
  # @return [Time]
2093
2148
  #
2149
+ # @!attribute [rw] regional_domain_name
2150
+ # The domain name associated with the regional endpoint for this
2151
+ # custom domain name. You set up this association by adding a DNS
2152
+ # record that points the custom domain name to this regional domain
2153
+ # name. The regional domain name is returned by Amazon API Gateway
2154
+ # when you create a regional endpoint.
2155
+ # @return [String]
2156
+ #
2157
+ # @!attribute [rw] regional_certificate_name
2158
+ # The name of the certificate that will be used for validating the
2159
+ # regional domain name.
2160
+ # @return [String]
2161
+ #
2162
+ # @!attribute [rw] regional_certificate_arn
2163
+ # The reference to an AWS-managed certificate that will be used for
2164
+ # validating the regional domain name. AWS Certificate Manager is the
2165
+ # only supported source.
2166
+ # @return [String]
2167
+ #
2094
2168
  # @!attribute [rw] distribution_domain_name
2095
- # The domain name of the Amazon CloudFront distribution. For more
2096
- # information, see the [Amazon CloudFront documentation][1].
2169
+ # The domain name of the Amazon CloudFront distribution associated
2170
+ # with this custom domain name for an edge-optimized endpoint. You set
2171
+ # up this association when adding a DNS record pointing the custom
2172
+ # domain name to this distribution name. For more information about
2173
+ # CloudFront distributions, see the [Amazon CloudFront
2174
+ # documentation][1].
2097
2175
  #
2098
2176
  #
2099
2177
  #
2100
2178
  # [1]: http://aws.amazon.com/documentation/cloudfront/
2101
2179
  # @return [String]
2102
2180
  #
2181
+ # @!attribute [rw] endpoint_configuration
2182
+ # The endpoint configuration of this DomainName showing the endpoint
2183
+ # types of the domain name.
2184
+ # @return [Types::EndpointConfiguration]
2185
+ #
2103
2186
  class DomainName < Struct.new(
2104
2187
  :domain_name,
2105
2188
  :certificate_name,
2106
2189
  :certificate_arn,
2107
2190
  :certificate_upload_date,
2108
- :distribution_domain_name)
2191
+ :regional_domain_name,
2192
+ :regional_certificate_name,
2193
+ :regional_certificate_arn,
2194
+ :distribution_domain_name,
2195
+ :endpoint_configuration)
2109
2196
  include Aws::Structure
2110
2197
  end
2111
2198
 
@@ -2132,6 +2219,28 @@ module Aws::APIGateway
2132
2219
  include Aws::Structure
2133
2220
  end
2134
2221
 
2222
+ # The endpoint configuration to indicate the types of endpoints an API
2223
+ # (RestApi) or its custom domain name (DomainName) has.
2224
+ #
2225
+ # @note When making an API call, you may pass EndpointConfiguration
2226
+ # data as a hash:
2227
+ #
2228
+ # {
2229
+ # types: ["REGIONAL"], # accepts REGIONAL, EDGE
2230
+ # }
2231
+ #
2232
+ # @!attribute [rw] types
2233
+ # A list of endpoint types of an API (RestApi) or its custom domain
2234
+ # name (DomainName). For an edge-optimized API and its custom domain
2235
+ # name, the endpoint type is `"EDGE"`. For a regional API and its
2236
+ # custom domain name, the endpoint type is `REGIONAL`.
2237
+ # @return [Array<String>]
2238
+ #
2239
+ class EndpointConfiguration < Struct.new(
2240
+ :types)
2241
+ include Aws::Structure
2242
+ end
2243
+
2135
2244
  # The binary blob response to GetExport, which contains the generated
2136
2245
  # SDK.
2137
2246
  #
@@ -5338,6 +5447,11 @@ module Aws::APIGateway
5338
5447
  # the RestApi supports only UTF-8-encoded text payloads.
5339
5448
  # @return [Array<String>]
5340
5449
  #
5450
+ # @!attribute [rw] endpoint_configuration
5451
+ # The endpoint configuration of this RestApi showing the endpoint
5452
+ # types of the API.
5453
+ # @return [Types::EndpointConfiguration]
5454
+ #
5341
5455
  class RestApi < Struct.new(
5342
5456
  :id,
5343
5457
  :name,
@@ -5345,7 +5459,8 @@ module Aws::APIGateway
5345
5459
  :created_date,
5346
5460
  :version,
5347
5461
  :warnings,
5348
- :binary_media_types)
5462
+ :binary_media_types,
5463
+ :endpoint_configuration)
5349
5464
  include Aws::Structure
5350
5465
  end
5351
5466
 
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.1.0
4
+ version: 1.2.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-09-15 00:00:00.000000000 Z
11
+ date: 2017-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core