aws-sdk-apigateway 1.49.0 → 1.55.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
  SHA256:
3
- metadata.gz: bf73ce666f1a5925f376b8b4f6ec239c5bf0add57796abda78f314dd212f2bf6
4
- data.tar.gz: 0654b10eb2f758163c054c1e6a5db58e76d51d0d30dd5a174b0cfb90b5fe5eb8
3
+ metadata.gz: 49aa392a593d56a08c95b46f2bde371d29dc7c8d3babfeba9e54a5861827af81
4
+ data.tar.gz: 194e33bcce5ffd9d3533052995070d99c52191c70582b3cf02bd149d6085c961
5
5
  SHA512:
6
- metadata.gz: 44e5421981feee30ebb34f1e83c7efa60cbc3170ec63feda123c5a9e24808a5d96390e8bcf7594d577e6f523a4ff08fe5845da564d9f75c1bf10668250873ed3
7
- data.tar.gz: 846e565f14d12d0bf83e8a09a57a2679be512a8d44741ed34e09e13c912c0391ffa7abc7158d4b8ca6fe1ec096ad730f7be4187620642a24fb6cd8ad196a6db9
6
+ metadata.gz: 9a1f46bab66316736924a9b53c80871d00c64008c09cea1ace30e7a1aa288f51c810c0aa4de408bf9267cbe708676556cb28b744f05e5e82413c49ff4dd6672f
7
+ data.tar.gz: 8adee285130e7bb3dabc3e8b049518a2812f2584ead7e3ad36772a351355e410d7aac456b717c041bdd04748af11007d5c8d50d0149467d3e14006e9680b8807
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-apigateway/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::APIGateway
49
50
 
50
- GEM_VERSION = '1.49.0'
51
+ GEM_VERSION = '1.55.0'
51
52
 
52
53
  end
@@ -87,13 +87,28 @@ module Aws::APIGateway
87
87
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
88
88
  # credentials.
89
89
  #
90
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
91
+ # shared file, such as `~/.aws/config`.
92
+ #
93
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
94
+ #
95
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
96
+ # assume a role after providing credentials via the web.
97
+ #
98
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
99
+ # access token generated from `aws login`.
100
+ #
101
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
102
+ # process that outputs to stdout.
103
+ #
90
104
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
91
105
  # from an EC2 IMDS on an EC2 instance.
92
106
  #
93
- # * `Aws::SharedCredentials` - Used for loading credentials from a
94
- # shared file, such as `~/.aws/config`.
107
+ # * `Aws::ECSCredentials` - Used for loading credentials from
108
+ # instances running in ECS.
95
109
  #
96
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
110
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
111
+ # from the Cognito Identity service.
97
112
  #
98
113
  # When `:credentials` are not configured directly, the following
99
114
  # locations will be searched for credentials:
@@ -103,10 +118,10 @@ module Aws::APIGateway
103
118
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
104
119
  # * `~/.aws/credentials`
105
120
  # * `~/.aws/config`
106
- # * EC2 IMDS instance profile - When used by default, the timeouts are
107
- # very aggressive. Construct and pass an instance of
108
- # `Aws::InstanceProfileCredentails` to enable retries and extended
109
- # timeouts.
121
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
122
+ # are very aggressive. Construct and pass an instance of
123
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
124
+ # enable retries and extended timeouts.
110
125
  #
111
126
  # @option options [required, String] :region
112
127
  # The AWS region to connect to. The configured `:region` is
@@ -823,6 +838,11 @@ module Aws::APIGateway
823
838
  # The Transport Layer Security (TLS) version + cipher suite for this
824
839
  # DomainName. The valid values are `TLS_1_0` and `TLS_1_2`.
825
840
  #
841
+ # @option params [Types::MutualTlsAuthenticationInput] :mutual_tls_authentication
842
+ # If specified, API Gateway performs two-way authentication between the
843
+ # client and the server. Clients must present a trusted certificate to
844
+ # access your custom domain name.
845
+ #
826
846
  # @return [Types::DomainName] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
827
847
  #
828
848
  # * {Types::DomainName#domain_name #domain_name} => String
@@ -840,6 +860,7 @@ module Aws::APIGateway
840
860
  # * {Types::DomainName#domain_name_status_message #domain_name_status_message} => String
841
861
  # * {Types::DomainName#security_policy #security_policy} => String
842
862
  # * {Types::DomainName#tags #tags} => Hash<String,String>
863
+ # * {Types::DomainName#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
843
864
  #
844
865
  # @example Request syntax with placeholder values
845
866
  #
@@ -860,6 +881,10 @@ module Aws::APIGateway
860
881
  # "String" => "String",
861
882
  # },
862
883
  # security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
884
+ # mutual_tls_authentication: {
885
+ # truststore_uri: "String",
886
+ # truststore_version: "String",
887
+ # },
863
888
  # })
864
889
  #
865
890
  # @example Response structure
@@ -883,6 +908,10 @@ module Aws::APIGateway
883
908
  # resp.security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
884
909
  # resp.tags #=> Hash
885
910
  # resp.tags["String"] #=> String
911
+ # resp.mutual_tls_authentication.truststore_uri #=> String
912
+ # resp.mutual_tls_authentication.truststore_version #=> String
913
+ # resp.mutual_tls_authentication.truststore_warnings #=> Array
914
+ # resp.mutual_tls_authentication.truststore_warnings[0] #=> String
886
915
  #
887
916
  # @overload create_domain_name(params = {})
888
917
  # @param [Hash] params ({})
@@ -2863,6 +2892,7 @@ module Aws::APIGateway
2863
2892
  # * {Types::DomainName#domain_name_status_message #domain_name_status_message} => String
2864
2893
  # * {Types::DomainName#security_policy #security_policy} => String
2865
2894
  # * {Types::DomainName#tags #tags} => Hash<String,String>
2895
+ # * {Types::DomainName#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
2866
2896
  #
2867
2897
  # @example Request syntax with placeholder values
2868
2898
  #
@@ -2891,6 +2921,10 @@ module Aws::APIGateway
2891
2921
  # resp.security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
2892
2922
  # resp.tags #=> Hash
2893
2923
  # resp.tags["String"] #=> String
2924
+ # resp.mutual_tls_authentication.truststore_uri #=> String
2925
+ # resp.mutual_tls_authentication.truststore_version #=> String
2926
+ # resp.mutual_tls_authentication.truststore_warnings #=> Array
2927
+ # resp.mutual_tls_authentication.truststore_warnings[0] #=> String
2894
2928
  #
2895
2929
  # @overload get_domain_name(params = {})
2896
2930
  # @param [Hash] params ({})
@@ -2945,6 +2979,10 @@ module Aws::APIGateway
2945
2979
  # resp.items[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
2946
2980
  # resp.items[0].tags #=> Hash
2947
2981
  # resp.items[0].tags["String"] #=> String
2982
+ # resp.items[0].mutual_tls_authentication.truststore_uri #=> String
2983
+ # resp.items[0].mutual_tls_authentication.truststore_version #=> String
2984
+ # resp.items[0].mutual_tls_authentication.truststore_warnings #=> Array
2985
+ # resp.items[0].mutual_tls_authentication.truststore_warnings[0] #=> String
2948
2986
  #
2949
2987
  # @overload get_domain_names(params = {})
2950
2988
  # @param [Hash] params ({})
@@ -6067,6 +6105,7 @@ module Aws::APIGateway
6067
6105
  # * {Types::DomainName#domain_name_status_message #domain_name_status_message} => String
6068
6106
  # * {Types::DomainName#security_policy #security_policy} => String
6069
6107
  # * {Types::DomainName#tags #tags} => Hash<String,String>
6108
+ # * {Types::DomainName#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
6070
6109
  #
6071
6110
  # @example Request syntax with placeholder values
6072
6111
  #
@@ -6103,6 +6142,10 @@ module Aws::APIGateway
6103
6142
  # resp.security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
6104
6143
  # resp.tags #=> Hash
6105
6144
  # resp.tags["String"] #=> String
6145
+ # resp.mutual_tls_authentication.truststore_uri #=> String
6146
+ # resp.mutual_tls_authentication.truststore_version #=> String
6147
+ # resp.mutual_tls_authentication.truststore_warnings #=> Array
6148
+ # resp.mutual_tls_authentication.truststore_warnings[0] #=> String
6106
6149
  #
6107
6150
  # @overload update_domain_name(params = {})
6108
6151
  # @param [Hash] params ({})
@@ -7018,7 +7061,7 @@ module Aws::APIGateway
7018
7061
  params: params,
7019
7062
  config: config)
7020
7063
  context[:gem_name] = 'aws-sdk-apigateway'
7021
- context[:gem_version] = '1.49.0'
7064
+ context[:gem_version] = '1.55.0'
7022
7065
  Seahorse::Client::Request.new(handlers, context)
7023
7066
  end
7024
7067
 
@@ -196,6 +196,8 @@ module Aws::APIGateway
196
196
  MethodSnapshot = Shapes::StructureShape.new(name: 'MethodSnapshot')
197
197
  Model = Shapes::StructureShape.new(name: 'Model')
198
198
  Models = Shapes::StructureShape.new(name: 'Models')
199
+ MutualTlsAuthentication = Shapes::StructureShape.new(name: 'MutualTlsAuthentication')
200
+ MutualTlsAuthenticationInput = Shapes::StructureShape.new(name: 'MutualTlsAuthenticationInput')
199
201
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
200
202
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
201
203
  NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
@@ -420,6 +422,7 @@ module Aws::APIGateway
420
422
  CreateDomainNameRequest.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointConfiguration, location_name: "endpointConfiguration"))
421
423
  CreateDomainNameRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "tags"))
422
424
  CreateDomainNameRequest.add_member(:security_policy, Shapes::ShapeRef.new(shape: SecurityPolicy, location_name: "securityPolicy"))
425
+ CreateDomainNameRequest.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
423
426
  CreateDomainNameRequest.struct_class = Types::CreateDomainNameRequest
424
427
 
425
428
  CreateModelRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
@@ -627,6 +630,7 @@ module Aws::APIGateway
627
630
  DomainName.add_member(:domain_name_status_message, Shapes::ShapeRef.new(shape: String, location_name: "domainNameStatusMessage"))
628
631
  DomainName.add_member(:security_policy, Shapes::ShapeRef.new(shape: SecurityPolicy, location_name: "securityPolicy"))
629
632
  DomainName.add_member(:tags, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "tags"))
633
+ DomainName.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
630
634
  DomainName.struct_class = Types::DomainName
631
635
 
632
636
  DomainNames.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
@@ -1061,6 +1065,15 @@ module Aws::APIGateway
1061
1065
  Models.add_member(:items, Shapes::ShapeRef.new(shape: ListOfModel, location_name: "item"))
1062
1066
  Models.struct_class = Types::Models
1063
1067
 
1068
+ MutualTlsAuthentication.add_member(:truststore_uri, Shapes::ShapeRef.new(shape: String, location_name: "truststoreUri"))
1069
+ MutualTlsAuthentication.add_member(:truststore_version, Shapes::ShapeRef.new(shape: String, location_name: "truststoreVersion"))
1070
+ MutualTlsAuthentication.add_member(:truststore_warnings, Shapes::ShapeRef.new(shape: ListOfString, location_name: "truststoreWarnings"))
1071
+ MutualTlsAuthentication.struct_class = Types::MutualTlsAuthentication
1072
+
1073
+ MutualTlsAuthenticationInput.add_member(:truststore_uri, Shapes::ShapeRef.new(shape: String, location_name: "truststoreUri"))
1074
+ MutualTlsAuthenticationInput.add_member(:truststore_version, Shapes::ShapeRef.new(shape: String, location_name: "truststoreVersion"))
1075
+ MutualTlsAuthenticationInput.struct_class = Types::MutualTlsAuthenticationInput
1076
+
1064
1077
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1065
1078
  NotFoundException.struct_class = Types::NotFoundException
1066
1079
 
@@ -2105,6 +2118,7 @@ module Aws::APIGateway
2105
2118
  o.input = Shapes::ShapeRef.new(shape: GetDeploymentsRequest)
2106
2119
  o.output = Shapes::ShapeRef.new(shape: Deployments)
2107
2120
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2121
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2108
2122
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2109
2123
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2110
2124
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
@@ -1042,6 +1042,10 @@ module Aws::APIGateway
1042
1042
  # "String" => "String",
1043
1043
  # },
1044
1044
  # security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
1045
+ # mutual_tls_authentication: {
1046
+ # truststore_uri: "String",
1047
+ # truststore_version: "String",
1048
+ # },
1045
1049
  # }
1046
1050
  #
1047
1051
  # @!attribute [rw] domain_name
@@ -1108,6 +1112,12 @@ module Aws::APIGateway
1108
1112
  # DomainName. The valid values are `TLS_1_0` and `TLS_1_2`.
1109
1113
  # @return [String]
1110
1114
  #
1115
+ # @!attribute [rw] mutual_tls_authentication
1116
+ # If specified, API Gateway performs two-way authentication between
1117
+ # the client and the server. Clients must present a trusted
1118
+ # certificate to access your custom domain name.
1119
+ # @return [Types::MutualTlsAuthenticationInput]
1120
+ #
1111
1121
  class CreateDomainNameRequest < Struct.new(
1112
1122
  :domain_name,
1113
1123
  :certificate_name,
@@ -1119,7 +1129,8 @@ module Aws::APIGateway
1119
1129
  :regional_certificate_arn,
1120
1130
  :endpoint_configuration,
1121
1131
  :tags,
1122
- :security_policy)
1132
+ :security_policy,
1133
+ :mutual_tls_authentication)
1123
1134
  SENSITIVE = []
1124
1135
  include Aws::Structure
1125
1136
  end
@@ -2661,6 +2672,13 @@ module Aws::APIGateway
2661
2672
  # resource.
2662
2673
  # @return [Hash<String,String>]
2663
2674
  #
2675
+ # @!attribute [rw] mutual_tls_authentication
2676
+ # The mutual TLS authentication configuration for a custom domain
2677
+ # name. If specified, API Gateway performs two-way authentication
2678
+ # between the client and the server. Clients must present a trusted
2679
+ # certificate to access your API.
2680
+ # @return [Types::MutualTlsAuthentication]
2681
+ #
2664
2682
  class DomainName < Struct.new(
2665
2683
  :domain_name,
2666
2684
  :certificate_name,
@@ -2676,7 +2694,8 @@ module Aws::APIGateway
2676
2694
  :domain_name_status,
2677
2695
  :domain_name_status_message,
2678
2696
  :security_policy,
2679
- :tags)
2697
+ :tags,
2698
+ :mutual_tls_authentication)
2680
2699
  SENSITIVE = []
2681
2700
  include Aws::Structure
2682
2701
  end
@@ -5414,6 +5433,77 @@ module Aws::APIGateway
5414
5433
  include Aws::Structure
5415
5434
  end
5416
5435
 
5436
+ # If specified, API Gateway performs two-way authentication between the
5437
+ # client and the server. Clients must present a trusted certificate to
5438
+ # access your custom domain name.
5439
+ #
5440
+ # @!attribute [rw] truststore_uri
5441
+ # An Amazon S3 URL that specifies the truststore for mutual TLS
5442
+ # authentication, for example `s3://bucket-name/key-name`. The
5443
+ # truststore can contain certificates from public or private
5444
+ # certificate authorities. To update the truststore, upload a new
5445
+ # version to S3, and then update your custom domain name to use the
5446
+ # new version. To update the truststore, you must have permissions to
5447
+ # access the S3 object.
5448
+ # @return [String]
5449
+ #
5450
+ # @!attribute [rw] truststore_version
5451
+ # The version of the S3 object that contains your truststore. To
5452
+ # specify a version, you must have versioning enabled for the S3
5453
+ # bucket.
5454
+ # @return [String]
5455
+ #
5456
+ # @!attribute [rw] truststore_warnings
5457
+ # A list of warnings that API Gateway returns while processing your
5458
+ # truststore. Invalid certificates produce warnings. Mutual TLS is
5459
+ # still enabled, but some clients might not be able to access your
5460
+ # API. To resolve warnings, upload a new truststore to S3, and then
5461
+ # update you domain name to use the new version.
5462
+ # @return [Array<String>]
5463
+ #
5464
+ class MutualTlsAuthentication < Struct.new(
5465
+ :truststore_uri,
5466
+ :truststore_version,
5467
+ :truststore_warnings)
5468
+ SENSITIVE = []
5469
+ include Aws::Structure
5470
+ end
5471
+
5472
+ # If specified, API Gateway performs two-way authentication between the
5473
+ # client and the server. Clients must present a trusted certificate to
5474
+ # access your custom domain name.
5475
+ #
5476
+ # @note When making an API call, you may pass MutualTlsAuthenticationInput
5477
+ # data as a hash:
5478
+ #
5479
+ # {
5480
+ # truststore_uri: "String",
5481
+ # truststore_version: "String",
5482
+ # }
5483
+ #
5484
+ # @!attribute [rw] truststore_uri
5485
+ # An Amazon S3 resource ARN that specifies the truststore for mutual
5486
+ # TLS authentication, for example, `s3://bucket-name/key-name`. The
5487
+ # truststore can contain certificates from public or private
5488
+ # certificate authorities. To update the truststore, upload a new
5489
+ # version to S3, and then update your custom domain name to use the
5490
+ # new version. To update the truststore, you must have permissions to
5491
+ # access the S3 object.
5492
+ # @return [String]
5493
+ #
5494
+ # @!attribute [rw] truststore_version
5495
+ # The version of the S3 object that contains your truststore. To
5496
+ # specify a version, you must have versioning enabled for the S3
5497
+ # bucket.
5498
+ # @return [String]
5499
+ #
5500
+ class MutualTlsAuthenticationInput < Struct.new(
5501
+ :truststore_uri,
5502
+ :truststore_version)
5503
+ SENSITIVE = []
5504
+ include Aws::Structure
5505
+ end
5506
+
5417
5507
  # The requested resource is not found. Make sure that the request URI is
5418
5508
  # correct.
5419
5509
  #
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.49.0
4
+ version: 1.55.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: 2020-08-11 00:00:00.000000000 Z
11
+ date: 2020-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.109.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement