aws-sdk-apigatewayv2 1.14.0 → 1.15.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: 95092db023e2d6b2837325ef5d20d2f01c7a0892
4
- data.tar.gz: '009e0dd699dd3231481b3b12ce9ea8b7f99ea14c'
3
+ metadata.gz: e7c1e3663c2ed4f9fe5e71831fc50360fa268dee
4
+ data.tar.gz: 0ead1d2faabb151fdd37f988cea54e261dd0b599
5
5
  SHA512:
6
- metadata.gz: bebe3e782ef913c51794a3a349fb16d07a576e195c96d9623035f46a26ce917848c6148e05ba4326d8f82cf87202d91e9121b7b5948a0e6d8e752090967322db
7
- data.tar.gz: 938ad30c28f41dee0b2fbcde24b039af7292879eb1cbf6ee3db82855b51ae6c64f8397d1627913066a67905ae76c71a17a17707d178e1764acc650f78af0aa98
6
+ metadata.gz: 48efd58a378b4360d6538e950ddbad1ee321aeef997c4c1ad7094c5c7e9fd769c061fd04447ac37d10865680d2fa13e578d196438cc75c0151cac2e3342afafa
7
+ data.tar.gz: '019bbb1164617ff2447fc1843d7b3c1691d7c5421f4f98bda84b7befc22305bd56f8a6d0c1d3c980c060c29cde5ac9733cec2d57df846e99d8d309e0cdea4e69'
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-apigatewayv2/customizations'
42
42
  # @service
43
43
  module Aws::ApiGatewayV2
44
44
 
45
- GEM_VERSION = '1.14.0'
45
+ GEM_VERSION = '1.15.0'
46
46
 
47
47
  end
@@ -264,6 +264,17 @@ module Aws::ApiGatewayV2
264
264
  #
265
265
  # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
266
266
  #
267
+ # @option params [Types::Cors] :cors_configuration
268
+ # Represents a CORS configuration. Supported only for HTTP APIs. See
269
+ # [Configuring CORS][1] for more information.
270
+ #
271
+ #
272
+ #
273
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html
274
+ #
275
+ # @option params [String] :credentials_arn
276
+ # Represents an Amazon Resource Name (ARN).
277
+ #
267
278
  # @option params [String] :description
268
279
  # A string with a length between \[0-1024\].
269
280
  #
@@ -273,8 +284,19 @@ module Aws::ApiGatewayV2
273
284
  # A string with a length between \[1-128\].
274
285
  #
275
286
  # @option params [required, String] :protocol_type
287
+ # Represents a protocol type.
288
+ #
289
+ # @option params [String] :route_key
290
+ # After evaluating a selection expression, the result is compared
291
+ # against one or more selection keys to find a matching key. See
292
+ # [Selection Expressions][1] for a list of expressions and each
293
+ # expression's associated selection key type.
294
+ #
295
+ #
276
296
  #
277
- # @option params [required, String] :route_selection_expression
297
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
298
+ #
299
+ # @option params [String] :route_selection_expression
278
300
  # An expression used to extract information at runtime. See [Selection
279
301
  # Expressions][1] for more information.
280
302
  #
@@ -282,6 +304,12 @@ module Aws::ApiGatewayV2
282
304
  #
283
305
  # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
284
306
  #
307
+ # @option params [Hash<String,String>] :tags
308
+ # Represents a collection of tags associated with the resource.
309
+ #
310
+ # @option params [String] :target
311
+ # A string representation of a URI with a length between \[1-2048\].
312
+ #
285
313
  # @option params [String] :version
286
314
  # A string with a length between \[1-64\].
287
315
  #
@@ -290,12 +318,15 @@ module Aws::ApiGatewayV2
290
318
  # * {Types::CreateApiResponse#api_endpoint #api_endpoint} => String
291
319
  # * {Types::CreateApiResponse#api_id #api_id} => String
292
320
  # * {Types::CreateApiResponse#api_key_selection_expression #api_key_selection_expression} => String
321
+ # * {Types::CreateApiResponse#cors_configuration #cors_configuration} => Types::Cors
293
322
  # * {Types::CreateApiResponse#created_date #created_date} => Time
294
323
  # * {Types::CreateApiResponse#description #description} => String
295
324
  # * {Types::CreateApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
325
+ # * {Types::CreateApiResponse#import_info #import_info} => Array&lt;String&gt;
296
326
  # * {Types::CreateApiResponse#name #name} => String
297
327
  # * {Types::CreateApiResponse#protocol_type #protocol_type} => String
298
328
  # * {Types::CreateApiResponse#route_selection_expression #route_selection_expression} => String
329
+ # * {Types::CreateApiResponse#tags #tags} => Hash&lt;String,String&gt;
299
330
  # * {Types::CreateApiResponse#version #version} => String
300
331
  # * {Types::CreateApiResponse#warnings #warnings} => Array&lt;String&gt;
301
332
  #
@@ -303,11 +334,25 @@ module Aws::ApiGatewayV2
303
334
  #
304
335
  # resp = client.create_api({
305
336
  # api_key_selection_expression: "SelectionExpression",
337
+ # cors_configuration: {
338
+ # allow_credentials: false,
339
+ # allow_headers: ["__string"],
340
+ # allow_methods: ["StringWithLengthBetween1And64"],
341
+ # allow_origins: ["__string"],
342
+ # expose_headers: ["__string"],
343
+ # max_age: 1,
344
+ # },
345
+ # credentials_arn: "Arn",
306
346
  # description: "StringWithLengthBetween0And1024",
307
347
  # disable_schema_validation: false,
308
348
  # name: "StringWithLengthBetween1And128", # required
309
- # protocol_type: "WEBSOCKET", # required, accepts WEBSOCKET
310
- # route_selection_expression: "SelectionExpression", # required
349
+ # protocol_type: "WEBSOCKET", # required, accepts WEBSOCKET, HTTP
350
+ # route_key: "SelectionKey",
351
+ # route_selection_expression: "SelectionExpression",
352
+ # tags: {
353
+ # "__string" => "StringWithLengthBetween1And1600",
354
+ # },
355
+ # target: "UriWithLengthBetween1And2048",
311
356
  # version: "StringWithLengthBetween1And64",
312
357
  # })
313
358
  #
@@ -316,12 +361,26 @@ module Aws::ApiGatewayV2
316
361
  # resp.api_endpoint #=> String
317
362
  # resp.api_id #=> String
318
363
  # resp.api_key_selection_expression #=> String
364
+ # resp.cors_configuration.allow_credentials #=> Boolean
365
+ # resp.cors_configuration.allow_headers #=> Array
366
+ # resp.cors_configuration.allow_headers[0] #=> String
367
+ # resp.cors_configuration.allow_methods #=> Array
368
+ # resp.cors_configuration.allow_methods[0] #=> String
369
+ # resp.cors_configuration.allow_origins #=> Array
370
+ # resp.cors_configuration.allow_origins[0] #=> String
371
+ # resp.cors_configuration.expose_headers #=> Array
372
+ # resp.cors_configuration.expose_headers[0] #=> String
373
+ # resp.cors_configuration.max_age #=> Integer
319
374
  # resp.created_date #=> Time
320
375
  # resp.description #=> String
321
376
  # resp.disable_schema_validation #=> Boolean
377
+ # resp.import_info #=> Array
378
+ # resp.import_info[0] #=> String
322
379
  # resp.name #=> String
323
- # resp.protocol_type #=> String, one of "WEBSOCKET"
380
+ # resp.protocol_type #=> String, one of "WEBSOCKET", "HTTP"
324
381
  # resp.route_selection_expression #=> String
382
+ # resp.tags #=> Hash
383
+ # resp.tags["__string"] #=> String
325
384
  # resp.version #=> String
326
385
  # resp.warnings #=> Array
327
386
  # resp.warnings[0] #=> String
@@ -339,7 +398,7 @@ module Aws::ApiGatewayV2
339
398
  # The identifier.
340
399
  #
341
400
  # @option params [String] :api_mapping_key
342
- # After evaulating a selection expression, the result is compared
401
+ # After evaluating a selection expression, the result is compared
343
402
  # against one or more selection keys to find a matching key. See
344
403
  # [Selection Expressions][1] for a list of expressions and each
345
404
  # expression's associated selection key type.
@@ -394,10 +453,11 @@ module Aws::ApiGatewayV2
394
453
  # An integer with a value between \[0-3600\].
395
454
  #
396
455
  # @option params [required, String] :authorizer_type
397
- # The authorizer type. Currently the only valid value is REQUEST, for a
398
- # Lambda function using incoming request parameters.
456
+ # The authorizer type. For WebSocket APIs, specify REQUEST for a Lambda
457
+ # function using incoming request parameters. For HTTP APIs, specify JWT
458
+ # to use JSON Web Tokens.
399
459
  #
400
- # @option params [required, String] :authorizer_uri
460
+ # @option params [String] :authorizer_uri
401
461
  # A string representation of a URI with a length between \[1-2048\].
402
462
  #
403
463
  # @option params [required, Array<String>] :identity_source
@@ -420,12 +480,13 @@ module Aws::ApiGatewayV2
420
480
  # @option params [String] :identity_validation_expression
421
481
  # A string with a length between \[0-1024\].
422
482
  #
483
+ # @option params [Types::JWTConfiguration] :jwt_configuration
484
+ # Represents the configuration of a JWT authorizer. Required for the JWT
485
+ # authorizer type. Supported only for HTTP APIs.
486
+ #
423
487
  # @option params [required, String] :name
424
488
  # A string with a length between \[1-128\].
425
489
  #
426
- # @option params [Array<String>] :provider_arns
427
- # For REQUEST authorizer, this is not defined.
428
- #
429
490
  # @return [Types::CreateAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
430
491
  #
431
492
  # * {Types::CreateAuthorizerResponse#authorizer_credentials_arn #authorizer_credentials_arn} => String
@@ -435,8 +496,8 @@ module Aws::ApiGatewayV2
435
496
  # * {Types::CreateAuthorizerResponse#authorizer_uri #authorizer_uri} => String
436
497
  # * {Types::CreateAuthorizerResponse#identity_source #identity_source} => Array&lt;String&gt;
437
498
  # * {Types::CreateAuthorizerResponse#identity_validation_expression #identity_validation_expression} => String
499
+ # * {Types::CreateAuthorizerResponse#jwt_configuration #jwt_configuration} => Types::JWTConfiguration
438
500
  # * {Types::CreateAuthorizerResponse#name #name} => String
439
- # * {Types::CreateAuthorizerResponse#provider_arns #provider_arns} => Array&lt;String&gt;
440
501
  #
441
502
  # @example Request syntax with placeholder values
442
503
  #
@@ -444,12 +505,15 @@ module Aws::ApiGatewayV2
444
505
  # api_id: "__string", # required
445
506
  # authorizer_credentials_arn: "Arn",
446
507
  # authorizer_result_ttl_in_seconds: 1,
447
- # authorizer_type: "REQUEST", # required, accepts REQUEST
448
- # authorizer_uri: "UriWithLengthBetween1And2048", # required
508
+ # authorizer_type: "REQUEST", # required, accepts REQUEST, JWT
509
+ # authorizer_uri: "UriWithLengthBetween1And2048",
449
510
  # identity_source: ["__string"], # required
450
511
  # identity_validation_expression: "StringWithLengthBetween0And1024",
512
+ # jwt_configuration: {
513
+ # audience: ["__string"],
514
+ # issuer: "UriWithLengthBetween1And2048",
515
+ # },
451
516
  # name: "StringWithLengthBetween1And128", # required
452
- # provider_arns: ["Arn"],
453
517
  # })
454
518
  #
455
519
  # @example Response structure
@@ -457,14 +521,15 @@ module Aws::ApiGatewayV2
457
521
  # resp.authorizer_credentials_arn #=> String
458
522
  # resp.authorizer_id #=> String
459
523
  # resp.authorizer_result_ttl_in_seconds #=> Integer
460
- # resp.authorizer_type #=> String, one of "REQUEST"
524
+ # resp.authorizer_type #=> String, one of "REQUEST", "JWT"
461
525
  # resp.authorizer_uri #=> String
462
526
  # resp.identity_source #=> Array
463
527
  # resp.identity_source[0] #=> String
464
528
  # resp.identity_validation_expression #=> String
529
+ # resp.jwt_configuration.audience #=> Array
530
+ # resp.jwt_configuration.audience[0] #=> String
531
+ # resp.jwt_configuration.issuer #=> String
465
532
  # resp.name #=> String
466
- # resp.provider_arns #=> Array
467
- # resp.provider_arns[0] #=> String
468
533
  #
469
534
  # @overload create_authorizer(params = {})
470
535
  # @param [Hash] params ({})
@@ -485,6 +550,7 @@ module Aws::ApiGatewayV2
485
550
  #
486
551
  # @return [Types::CreateDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
487
552
  #
553
+ # * {Types::CreateDeploymentResponse#auto_deployed #auto_deployed} => Boolean
488
554
  # * {Types::CreateDeploymentResponse#created_date #created_date} => Time
489
555
  # * {Types::CreateDeploymentResponse#deployment_id #deployment_id} => String
490
556
  # * {Types::CreateDeploymentResponse#deployment_status #deployment_status} => String
@@ -501,6 +567,7 @@ module Aws::ApiGatewayV2
501
567
  #
502
568
  # @example Response structure
503
569
  #
570
+ # resp.auto_deployed #=> Boolean
504
571
  # resp.created_date #=> Time
505
572
  # resp.deployment_id #=> String
506
573
  # resp.deployment_status #=> String, one of "PENDING", "FAILED", "DEPLOYED"
@@ -523,8 +590,7 @@ module Aws::ApiGatewayV2
523
590
  # The domain name configurations.
524
591
  #
525
592
  # @option params [Hash<String,String>] :tags
526
- # A key value pair of string with key length between\[1-128\] and value
527
- # length between\[1-256\]
593
+ # Represents a collection of tags associated with the resource.
528
594
  #
529
595
  # @return [Types::CreateDomainNameResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
530
596
  #
@@ -543,11 +609,11 @@ module Aws::ApiGatewayV2
543
609
  # certificate_arn: "Arn",
544
610
  # certificate_name: "StringWithLengthBetween1And128",
545
611
  # certificate_upload_date: Time.now,
612
+ # domain_name_status: "AVAILABLE", # accepts AVAILABLE, UPDATING
613
+ # domain_name_status_message: "__string",
546
614
  # endpoint_type: "REGIONAL", # accepts REGIONAL, EDGE
547
615
  # hosted_zone_id: "__string",
548
616
  # security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
549
- # domain_name_status: "AVAILABLE", # accepts AVAILABLE, UPDATING
550
- # domain_name_status_message: "__string",
551
617
  # },
552
618
  # ],
553
619
  # tags: {
@@ -564,11 +630,11 @@ module Aws::ApiGatewayV2
564
630
  # resp.domain_name_configurations[0].certificate_arn #=> String
565
631
  # resp.domain_name_configurations[0].certificate_name #=> String
566
632
  # resp.domain_name_configurations[0].certificate_upload_date #=> Time
633
+ # resp.domain_name_configurations[0].domain_name_status #=> String, one of "AVAILABLE", "UPDATING"
634
+ # resp.domain_name_configurations[0].domain_name_status_message #=> String
567
635
  # resp.domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
568
636
  # resp.domain_name_configurations[0].hosted_zone_id #=> String
569
637
  # resp.domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
570
- # resp.domain_name_configurations[0].domain_name_status #=> String, one of "AVAILABLE", "UPDATING"
571
- # resp.domain_name_configurations[0].domain_name_status_message #=> String
572
638
  # resp.tags #=> Hash
573
639
  # resp.tags["__string"] #=> String
574
640
  #
@@ -591,6 +657,7 @@ module Aws::ApiGatewayV2
591
657
  #
592
658
  # @option params [String] :content_handling_strategy
593
659
  # Specifies how to handle response payload content type conversions.
660
+ # Supported only for WebSocket APIs.
594
661
  #
595
662
  # @option params [String] :credentials_arn
596
663
  # Represents an Amazon Resource Name (ARN).
@@ -608,7 +675,11 @@ module Aws::ApiGatewayV2
608
675
  # A string representation of a URI with a length between \[1-2048\].
609
676
  #
610
677
  # @option params [String] :passthrough_behavior
611
- # Represents passthrough behavior for an integration response.
678
+ # Represents passthrough behavior for an integration response. Supported
679
+ # only for WebSocket APIs.
680
+ #
681
+ # @option params [String] :payload_format_version
682
+ # A string with a length between \[1-64\].
612
683
  #
613
684
  # @option params [Hash<String,String>] :request_parameters
614
685
  # A key-value map specifying response parameters that are passed to the
@@ -641,6 +712,7 @@ module Aws::ApiGatewayV2
641
712
  #
642
713
  # @return [Types::CreateIntegrationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
643
714
  #
715
+ # * {Types::CreateIntegrationResult#api_gateway_managed #api_gateway_managed} => Boolean
644
716
  # * {Types::CreateIntegrationResult#connection_id #connection_id} => String
645
717
  # * {Types::CreateIntegrationResult#connection_type #connection_type} => String
646
718
  # * {Types::CreateIntegrationResult#content_handling_strategy #content_handling_strategy} => String
@@ -652,6 +724,7 @@ module Aws::ApiGatewayV2
652
724
  # * {Types::CreateIntegrationResult#integration_type #integration_type} => String
653
725
  # * {Types::CreateIntegrationResult#integration_uri #integration_uri} => String
654
726
  # * {Types::CreateIntegrationResult#passthrough_behavior #passthrough_behavior} => String
727
+ # * {Types::CreateIntegrationResult#payload_format_version #payload_format_version} => String
655
728
  # * {Types::CreateIntegrationResult#request_parameters #request_parameters} => Hash&lt;String,String&gt;
656
729
  # * {Types::CreateIntegrationResult#request_templates #request_templates} => Hash&lt;String,String&gt;
657
730
  # * {Types::CreateIntegrationResult#template_selection_expression #template_selection_expression} => String
@@ -670,6 +743,7 @@ module Aws::ApiGatewayV2
670
743
  # integration_type: "AWS", # required, accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY
671
744
  # integration_uri: "UriWithLengthBetween1And2048",
672
745
  # passthrough_behavior: "WHEN_NO_MATCH", # accepts WHEN_NO_MATCH, NEVER, WHEN_NO_TEMPLATES
746
+ # payload_format_version: "StringWithLengthBetween1And64",
673
747
  # request_parameters: {
674
748
  # "__string" => "StringWithLengthBetween1And512",
675
749
  # },
@@ -682,6 +756,7 @@ module Aws::ApiGatewayV2
682
756
  #
683
757
  # @example Response structure
684
758
  #
759
+ # resp.api_gateway_managed #=> Boolean
685
760
  # resp.connection_id #=> String
686
761
  # resp.connection_type #=> String, one of "INTERNET", "VPC_LINK"
687
762
  # resp.content_handling_strategy #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
@@ -693,6 +768,7 @@ module Aws::ApiGatewayV2
693
768
  # resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
694
769
  # resp.integration_uri #=> String
695
770
  # resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
771
+ # resp.payload_format_version #=> String
696
772
  # resp.request_parameters #=> Hash
697
773
  # resp.request_parameters["__string"] #=> String
698
774
  # resp.request_templates #=> Hash
@@ -713,11 +789,12 @@ module Aws::ApiGatewayV2
713
789
  #
714
790
  # @option params [String] :content_handling_strategy
715
791
  # Specifies how to handle response payload content type conversions.
792
+ # Supported only for WebSocket APIs.
716
793
  #
717
794
  # @option params [required, String] :integration_id
718
795
  #
719
796
  # @option params [required, String] :integration_response_key
720
- # After evaulating a selection expression, the result is compared
797
+ # After evaluating a selection expression, the result is compared
721
798
  # against one or more selection keys to find a matching key. See
722
799
  # [Selection Expressions][1] for a list of expressions and each
723
800
  # expression's associated selection key type.
@@ -852,19 +929,19 @@ module Aws::ApiGatewayV2
852
929
  #
853
930
  # @option params [Array<String>] :authorization_scopes
854
931
  # A list of authorization scopes configured on a route. The scopes are
855
- # used with a COGNITO\_USER\_POOLS authorizer to authorize the method
856
- # invocation. The authorization works by matching the route scopes
857
- # against the scopes parsed from the access token in the incoming
858
- # request. The method invocation is authorized if any route scope
859
- # matches a claimed scope in the access token. Otherwise, the invocation
860
- # is not authorized. When the route scope is configured, the client must
861
- # provide an access token instead of an identity token for authorization
862
- # purposes.
932
+ # used with a JWT authorizer to authorize the method invocation. The
933
+ # authorization works by matching the route scopes against the scopes
934
+ # parsed from the access token in the incoming request. The method
935
+ # invocation is authorized if any route scope matches a claimed scope in
936
+ # the access token. Otherwise, the invocation is not authorized. When
937
+ # the route scope is configured, the client must provide an access token
938
+ # instead of an identity token for authorization purposes.
863
939
  #
864
940
  # @option params [String] :authorization_type
865
- # The authorization type. Valid values are NONE for open access,
866
- # AWS\_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda
867
- # authorizer.
941
+ # The authorization type. For WebSocket APIs, valid values are NONE for
942
+ # open access, AWS\_IAM for using AWS IAM permissions, and CUSTOM for
943
+ # using a Lambda authorizer. For HTTP APIs, valid values are NONE for
944
+ # open access, or JWT for using JSON Web Tokens.
868
945
  #
869
946
  # @option params [String] :authorizer_id
870
947
  # The identifier.
@@ -887,7 +964,7 @@ module Aws::ApiGatewayV2
887
964
  # The route parameters.
888
965
  #
889
966
  # @option params [required, String] :route_key
890
- # After evaulating a selection expression, the result is compared
967
+ # After evaluating a selection expression, the result is compared
891
968
  # against one or more selection keys to find a matching key. See
892
969
  # [Selection Expressions][1] for a list of expressions and each
893
970
  # expression's associated selection key type.
@@ -909,6 +986,7 @@ module Aws::ApiGatewayV2
909
986
  #
910
987
  # @return [Types::CreateRouteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
911
988
  #
989
+ # * {Types::CreateRouteResult#api_gateway_managed #api_gateway_managed} => Boolean
912
990
  # * {Types::CreateRouteResult#api_key_required #api_key_required} => Boolean
913
991
  # * {Types::CreateRouteResult#authorization_scopes #authorization_scopes} => Array&lt;String&gt;
914
992
  # * {Types::CreateRouteResult#authorization_type #authorization_type} => String
@@ -928,7 +1006,7 @@ module Aws::ApiGatewayV2
928
1006
  # api_id: "__string", # required
929
1007
  # api_key_required: false,
930
1008
  # authorization_scopes: ["StringWithLengthBetween1And64"],
931
- # authorization_type: "NONE", # accepts NONE, AWS_IAM, CUSTOM
1009
+ # authorization_type: "NONE", # accepts NONE, AWS_IAM, CUSTOM, JWT
932
1010
  # authorizer_id: "Id",
933
1011
  # model_selection_expression: "SelectionExpression",
934
1012
  # operation_name: "StringWithLengthBetween1And64",
@@ -947,10 +1025,11 @@ module Aws::ApiGatewayV2
947
1025
  #
948
1026
  # @example Response structure
949
1027
  #
1028
+ # resp.api_gateway_managed #=> Boolean
950
1029
  # resp.api_key_required #=> Boolean
951
1030
  # resp.authorization_scopes #=> Array
952
1031
  # resp.authorization_scopes[0] #=> String
953
- # resp.authorization_type #=> String, one of "NONE", "AWS_IAM", "CUSTOM"
1032
+ # resp.authorization_type #=> String, one of "NONE", "AWS_IAM", "CUSTOM", "JWT"
954
1033
  # resp.authorizer_id #=> String
955
1034
  # resp.model_selection_expression #=> String
956
1035
  # resp.operation_name #=> String
@@ -991,7 +1070,7 @@ module Aws::ApiGatewayV2
991
1070
  # @option params [required, String] :route_id
992
1071
  #
993
1072
  # @option params [required, String] :route_response_key
994
- # After evaulating a selection expression, the result is compared
1073
+ # After evaluating a selection expression, the result is compared
995
1074
  # against one or more selection keys to find a matching key. See
996
1075
  # [Selection Expressions][1] for a list of expressions and each
997
1076
  # expression's associated selection key type.
@@ -1049,6 +1128,8 @@ module Aws::ApiGatewayV2
1049
1128
  #
1050
1129
  # @option params [required, String] :api_id
1051
1130
  #
1131
+ # @option params [Boolean] :auto_deploy
1132
+ #
1052
1133
  # @option params [String] :client_certificate_id
1053
1134
  # The identifier.
1054
1135
  #
@@ -1071,17 +1152,19 @@ module Aws::ApiGatewayV2
1071
1152
  # The stage variable map.
1072
1153
  #
1073
1154
  # @option params [Hash<String,String>] :tags
1074
- # A key value pair of string with key length between\[1-128\] and value
1075
- # length between\[1-256\]
1155
+ # Represents a collection of tags associated with the resource.
1076
1156
  #
1077
1157
  # @return [Types::CreateStageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1078
1158
  #
1079
1159
  # * {Types::CreateStageResponse#access_log_settings #access_log_settings} => Types::AccessLogSettings
1160
+ # * {Types::CreateStageResponse#api_gateway_managed #api_gateway_managed} => Boolean
1161
+ # * {Types::CreateStageResponse#auto_deploy #auto_deploy} => Boolean
1080
1162
  # * {Types::CreateStageResponse#client_certificate_id #client_certificate_id} => String
1081
1163
  # * {Types::CreateStageResponse#created_date #created_date} => Time
1082
1164
  # * {Types::CreateStageResponse#default_route_settings #default_route_settings} => Types::RouteSettings
1083
1165
  # * {Types::CreateStageResponse#deployment_id #deployment_id} => String
1084
1166
  # * {Types::CreateStageResponse#description #description} => String
1167
+ # * {Types::CreateStageResponse#last_deployment_status_message #last_deployment_status_message} => String
1085
1168
  # * {Types::CreateStageResponse#last_updated_date #last_updated_date} => Time
1086
1169
  # * {Types::CreateStageResponse#route_settings #route_settings} => Hash&lt;String,Types::RouteSettings&gt;
1087
1170
  # * {Types::CreateStageResponse#stage_name #stage_name} => String
@@ -1096,6 +1179,7 @@ module Aws::ApiGatewayV2
1096
1179
  # format: "StringWithLengthBetween1And1024",
1097
1180
  # },
1098
1181
  # api_id: "__string", # required
1182
+ # auto_deploy: false,
1099
1183
  # client_certificate_id: "Id",
1100
1184
  # default_route_settings: {
1101
1185
  # data_trace_enabled: false,
@@ -1128,6 +1212,8 @@ module Aws::ApiGatewayV2
1128
1212
  #
1129
1213
  # resp.access_log_settings.destination_arn #=> String
1130
1214
  # resp.access_log_settings.format #=> String
1215
+ # resp.api_gateway_managed #=> Boolean
1216
+ # resp.auto_deploy #=> Boolean
1131
1217
  # resp.client_certificate_id #=> String
1132
1218
  # resp.created_date #=> Time
1133
1219
  # resp.default_route_settings.data_trace_enabled #=> Boolean
@@ -1137,6 +1223,7 @@ module Aws::ApiGatewayV2
1137
1223
  # resp.default_route_settings.throttling_rate_limit #=> Float
1138
1224
  # resp.deployment_id #=> String
1139
1225
  # resp.description #=> String
1226
+ # resp.last_deployment_status_message #=> String
1140
1227
  # resp.last_updated_date #=> Time
1141
1228
  # resp.route_settings #=> Hash
1142
1229
  # resp.route_settings["__string"].data_trace_enabled #=> Boolean
@@ -1220,6 +1307,25 @@ module Aws::ApiGatewayV2
1220
1307
  req.send_request(options)
1221
1308
  end
1222
1309
 
1310
+ # Deletes a CORS configuration.
1311
+ #
1312
+ # @option params [required, String] :api_id
1313
+ #
1314
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1315
+ #
1316
+ # @example Request syntax with placeholder values
1317
+ #
1318
+ # resp = client.delete_cors_configuration({
1319
+ # api_id: "__string", # required
1320
+ # })
1321
+ #
1322
+ # @overload delete_cors_configuration(params = {})
1323
+ # @param [Hash] params ({})
1324
+ def delete_cors_configuration(params = {}, options = {})
1325
+ req = build_request(:delete_cors_configuration, params)
1326
+ req.send_request(options)
1327
+ end
1328
+
1223
1329
  # Deletes a Deployment.
1224
1330
  #
1225
1331
  # @option params [required, String] :api_id
@@ -1377,6 +1483,39 @@ module Aws::ApiGatewayV2
1377
1483
  req.send_request(options)
1378
1484
  end
1379
1485
 
1486
+ # Deletes the RouteSettings for a stage.
1487
+ #
1488
+ # @option params [required, String] :api_id
1489
+ #
1490
+ # @option params [required, String] :route_key
1491
+ # After evaluating a selection expression, the result is compared
1492
+ # against one or more selection keys to find a matching key. See
1493
+ # [Selection Expressions][1] for a list of expressions and each
1494
+ # expression's associated selection key type.
1495
+ #
1496
+ #
1497
+ #
1498
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
1499
+ #
1500
+ # @option params [required, String] :stage_name
1501
+ #
1502
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1503
+ #
1504
+ # @example Request syntax with placeholder values
1505
+ #
1506
+ # resp = client.delete_route_settings({
1507
+ # api_id: "__string", # required
1508
+ # route_key: "SelectionKey", # required
1509
+ # stage_name: "__string", # required
1510
+ # })
1511
+ #
1512
+ # @overload delete_route_settings(params = {})
1513
+ # @param [Hash] params ({})
1514
+ def delete_route_settings(params = {}, options = {})
1515
+ req = build_request(:delete_route_settings, params)
1516
+ req.send_request(options)
1517
+ end
1518
+
1380
1519
  # Deletes a Stage.
1381
1520
  #
1382
1521
  # @option params [required, String] :api_id
@@ -1408,15 +1547,17 @@ module Aws::ApiGatewayV2
1408
1547
  # * {Types::GetApiResponse#api_endpoint #api_endpoint} => String
1409
1548
  # * {Types::GetApiResponse#api_id #api_id} => String
1410
1549
  # * {Types::GetApiResponse#api_key_selection_expression #api_key_selection_expression} => String
1550
+ # * {Types::GetApiResponse#cors_configuration #cors_configuration} => Types::Cors
1411
1551
  # * {Types::GetApiResponse#created_date #created_date} => Time
1412
1552
  # * {Types::GetApiResponse#description #description} => String
1413
1553
  # * {Types::GetApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
1554
+ # * {Types::GetApiResponse#import_info #import_info} => Array&lt;String&gt;
1414
1555
  # * {Types::GetApiResponse#name #name} => String
1415
1556
  # * {Types::GetApiResponse#protocol_type #protocol_type} => String
1416
1557
  # * {Types::GetApiResponse#route_selection_expression #route_selection_expression} => String
1558
+ # * {Types::GetApiResponse#tags #tags} => Hash&lt;String,String&gt;
1417
1559
  # * {Types::GetApiResponse#version #version} => String
1418
1560
  # * {Types::GetApiResponse#warnings #warnings} => Array&lt;String&gt;
1419
- # * {Types::GetApiResponse#tags #tags} => Hash&lt;String,String&gt;
1420
1561
  #
1421
1562
  # @example Request syntax with placeholder values
1422
1563
  #
@@ -1429,17 +1570,29 @@ module Aws::ApiGatewayV2
1429
1570
  # resp.api_endpoint #=> String
1430
1571
  # resp.api_id #=> String
1431
1572
  # resp.api_key_selection_expression #=> String
1573
+ # resp.cors_configuration.allow_credentials #=> Boolean
1574
+ # resp.cors_configuration.allow_headers #=> Array
1575
+ # resp.cors_configuration.allow_headers[0] #=> String
1576
+ # resp.cors_configuration.allow_methods #=> Array
1577
+ # resp.cors_configuration.allow_methods[0] #=> String
1578
+ # resp.cors_configuration.allow_origins #=> Array
1579
+ # resp.cors_configuration.allow_origins[0] #=> String
1580
+ # resp.cors_configuration.expose_headers #=> Array
1581
+ # resp.cors_configuration.expose_headers[0] #=> String
1582
+ # resp.cors_configuration.max_age #=> Integer
1432
1583
  # resp.created_date #=> Time
1433
1584
  # resp.description #=> String
1434
1585
  # resp.disable_schema_validation #=> Boolean
1586
+ # resp.import_info #=> Array
1587
+ # resp.import_info[0] #=> String
1435
1588
  # resp.name #=> String
1436
- # resp.protocol_type #=> String, one of "WEBSOCKET"
1589
+ # resp.protocol_type #=> String, one of "WEBSOCKET", "HTTP"
1437
1590
  # resp.route_selection_expression #=> String
1591
+ # resp.tags #=> Hash
1592
+ # resp.tags["__string"] #=> String
1438
1593
  # resp.version #=> String
1439
1594
  # resp.warnings #=> Array
1440
1595
  # resp.warnings[0] #=> String
1441
- # resp.tags #=> Hash
1442
- # resp.tags["__string"] #=> String
1443
1596
  #
1444
1597
  # @overload get_api(params = {})
1445
1598
  # @param [Hash] params ({})
@@ -1448,7 +1601,7 @@ module Aws::ApiGatewayV2
1448
1601
  req.send_request(options)
1449
1602
  end
1450
1603
 
1451
- # The API mapping.
1604
+ # Gets an API mapping.
1452
1605
  #
1453
1606
  # @option params [required, String] :api_mapping_id
1454
1607
  #
@@ -1482,7 +1635,7 @@ module Aws::ApiGatewayV2
1482
1635
  req.send_request(options)
1483
1636
  end
1484
1637
 
1485
- # The API mappings.
1638
+ # Gets API mappings.
1486
1639
  #
1487
1640
  # @option params [required, String] :domain_name
1488
1641
  #
@@ -1543,17 +1696,29 @@ module Aws::ApiGatewayV2
1543
1696
  # resp.items[0].api_endpoint #=> String
1544
1697
  # resp.items[0].api_id #=> String
1545
1698
  # resp.items[0].api_key_selection_expression #=> String
1699
+ # resp.items[0].cors_configuration.allow_credentials #=> Boolean
1700
+ # resp.items[0].cors_configuration.allow_headers #=> Array
1701
+ # resp.items[0].cors_configuration.allow_headers[0] #=> String
1702
+ # resp.items[0].cors_configuration.allow_methods #=> Array
1703
+ # resp.items[0].cors_configuration.allow_methods[0] #=> String
1704
+ # resp.items[0].cors_configuration.allow_origins #=> Array
1705
+ # resp.items[0].cors_configuration.allow_origins[0] #=> String
1706
+ # resp.items[0].cors_configuration.expose_headers #=> Array
1707
+ # resp.items[0].cors_configuration.expose_headers[0] #=> String
1708
+ # resp.items[0].cors_configuration.max_age #=> Integer
1546
1709
  # resp.items[0].created_date #=> Time
1547
1710
  # resp.items[0].description #=> String
1548
1711
  # resp.items[0].disable_schema_validation #=> Boolean
1712
+ # resp.items[0].import_info #=> Array
1713
+ # resp.items[0].import_info[0] #=> String
1549
1714
  # resp.items[0].name #=> String
1550
- # resp.items[0].protocol_type #=> String, one of "WEBSOCKET"
1715
+ # resp.items[0].protocol_type #=> String, one of "WEBSOCKET", "HTTP"
1551
1716
  # resp.items[0].route_selection_expression #=> String
1717
+ # resp.items[0].tags #=> Hash
1718
+ # resp.items[0].tags["__string"] #=> String
1552
1719
  # resp.items[0].version #=> String
1553
1720
  # resp.items[0].warnings #=> Array
1554
1721
  # resp.items[0].warnings[0] #=> String
1555
- # resp.items[0].tags #=> Hash
1556
- # resp.items[0].tags["__string"] #=> String
1557
1722
  # resp.next_token #=> String
1558
1723
  #
1559
1724
  # @overload get_apis(params = {})
@@ -1578,8 +1743,8 @@ module Aws::ApiGatewayV2
1578
1743
  # * {Types::GetAuthorizerResponse#authorizer_uri #authorizer_uri} => String
1579
1744
  # * {Types::GetAuthorizerResponse#identity_source #identity_source} => Array&lt;String&gt;
1580
1745
  # * {Types::GetAuthorizerResponse#identity_validation_expression #identity_validation_expression} => String
1746
+ # * {Types::GetAuthorizerResponse#jwt_configuration #jwt_configuration} => Types::JWTConfiguration
1581
1747
  # * {Types::GetAuthorizerResponse#name #name} => String
1582
- # * {Types::GetAuthorizerResponse#provider_arns #provider_arns} => Array&lt;String&gt;
1583
1748
  #
1584
1749
  # @example Request syntax with placeholder values
1585
1750
  #
@@ -1593,14 +1758,15 @@ module Aws::ApiGatewayV2
1593
1758
  # resp.authorizer_credentials_arn #=> String
1594
1759
  # resp.authorizer_id #=> String
1595
1760
  # resp.authorizer_result_ttl_in_seconds #=> Integer
1596
- # resp.authorizer_type #=> String, one of "REQUEST"
1761
+ # resp.authorizer_type #=> String, one of "REQUEST", "JWT"
1597
1762
  # resp.authorizer_uri #=> String
1598
1763
  # resp.identity_source #=> Array
1599
1764
  # resp.identity_source[0] #=> String
1600
1765
  # resp.identity_validation_expression #=> String
1766
+ # resp.jwt_configuration.audience #=> Array
1767
+ # resp.jwt_configuration.audience[0] #=> String
1768
+ # resp.jwt_configuration.issuer #=> String
1601
1769
  # resp.name #=> String
1602
- # resp.provider_arns #=> Array
1603
- # resp.provider_arns[0] #=> String
1604
1770
  #
1605
1771
  # @overload get_authorizer(params = {})
1606
1772
  # @param [Hash] params ({})
@@ -1636,14 +1802,15 @@ module Aws::ApiGatewayV2
1636
1802
  # resp.items[0].authorizer_credentials_arn #=> String
1637
1803
  # resp.items[0].authorizer_id #=> String
1638
1804
  # resp.items[0].authorizer_result_ttl_in_seconds #=> Integer
1639
- # resp.items[0].authorizer_type #=> String, one of "REQUEST"
1805
+ # resp.items[0].authorizer_type #=> String, one of "REQUEST", "JWT"
1640
1806
  # resp.items[0].authorizer_uri #=> String
1641
1807
  # resp.items[0].identity_source #=> Array
1642
1808
  # resp.items[0].identity_source[0] #=> String
1643
1809
  # resp.items[0].identity_validation_expression #=> String
1810
+ # resp.items[0].jwt_configuration.audience #=> Array
1811
+ # resp.items[0].jwt_configuration.audience[0] #=> String
1812
+ # resp.items[0].jwt_configuration.issuer #=> String
1644
1813
  # resp.items[0].name #=> String
1645
- # resp.items[0].provider_arns #=> Array
1646
- # resp.items[0].provider_arns[0] #=> String
1647
1814
  # resp.next_token #=> String
1648
1815
  #
1649
1816
  # @overload get_authorizers(params = {})
@@ -1661,6 +1828,7 @@ module Aws::ApiGatewayV2
1661
1828
  #
1662
1829
  # @return [Types::GetDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1663
1830
  #
1831
+ # * {Types::GetDeploymentResponse#auto_deployed #auto_deployed} => Boolean
1664
1832
  # * {Types::GetDeploymentResponse#created_date #created_date} => Time
1665
1833
  # * {Types::GetDeploymentResponse#deployment_id #deployment_id} => String
1666
1834
  # * {Types::GetDeploymentResponse#deployment_status #deployment_status} => String
@@ -1676,6 +1844,7 @@ module Aws::ApiGatewayV2
1676
1844
  #
1677
1845
  # @example Response structure
1678
1846
  #
1847
+ # resp.auto_deployed #=> Boolean
1679
1848
  # resp.created_date #=> Time
1680
1849
  # resp.deployment_id #=> String
1681
1850
  # resp.deployment_status #=> String, one of "PENDING", "FAILED", "DEPLOYED"
@@ -1713,6 +1882,7 @@ module Aws::ApiGatewayV2
1713
1882
  # @example Response structure
1714
1883
  #
1715
1884
  # resp.items #=> Array
1885
+ # resp.items[0].auto_deployed #=> Boolean
1716
1886
  # resp.items[0].created_date #=> Time
1717
1887
  # resp.items[0].deployment_id #=> String
1718
1888
  # resp.items[0].deployment_status #=> String, one of "PENDING", "FAILED", "DEPLOYED"
@@ -1753,11 +1923,11 @@ module Aws::ApiGatewayV2
1753
1923
  # resp.domain_name_configurations[0].certificate_arn #=> String
1754
1924
  # resp.domain_name_configurations[0].certificate_name #=> String
1755
1925
  # resp.domain_name_configurations[0].certificate_upload_date #=> Time
1926
+ # resp.domain_name_configurations[0].domain_name_status #=> String, one of "AVAILABLE", "UPDATING"
1927
+ # resp.domain_name_configurations[0].domain_name_status_message #=> String
1756
1928
  # resp.domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
1757
1929
  # resp.domain_name_configurations[0].hosted_zone_id #=> String
1758
1930
  # resp.domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
1759
- # resp.domain_name_configurations[0].domain_name_status #=> String, one of "AVAILABLE", "UPDATING"
1760
- # resp.domain_name_configurations[0].domain_name_status_message #=> String
1761
1931
  # resp.tags #=> Hash
1762
1932
  # resp.tags["__string"] #=> String
1763
1933
  #
@@ -1796,11 +1966,11 @@ module Aws::ApiGatewayV2
1796
1966
  # resp.items[0].domain_name_configurations[0].certificate_arn #=> String
1797
1967
  # resp.items[0].domain_name_configurations[0].certificate_name #=> String
1798
1968
  # resp.items[0].domain_name_configurations[0].certificate_upload_date #=> Time
1969
+ # resp.items[0].domain_name_configurations[0].domain_name_status #=> String, one of "AVAILABLE", "UPDATING"
1970
+ # resp.items[0].domain_name_configurations[0].domain_name_status_message #=> String
1799
1971
  # resp.items[0].domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
1800
1972
  # resp.items[0].domain_name_configurations[0].hosted_zone_id #=> String
1801
1973
  # resp.items[0].domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
1802
- # resp.items[0].domain_name_configurations[0].domain_name_status #=> String, one of "AVAILABLE", "UPDATING"
1803
- # resp.items[0].domain_name_configurations[0].domain_name_status_message #=> String
1804
1974
  # resp.items[0].tags #=> Hash
1805
1975
  # resp.items[0].tags["__string"] #=> String
1806
1976
  # resp.next_token #=> String
@@ -1820,6 +1990,7 @@ module Aws::ApiGatewayV2
1820
1990
  #
1821
1991
  # @return [Types::GetIntegrationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1822
1992
  #
1993
+ # * {Types::GetIntegrationResult#api_gateway_managed #api_gateway_managed} => Boolean
1823
1994
  # * {Types::GetIntegrationResult#connection_id #connection_id} => String
1824
1995
  # * {Types::GetIntegrationResult#connection_type #connection_type} => String
1825
1996
  # * {Types::GetIntegrationResult#content_handling_strategy #content_handling_strategy} => String
@@ -1831,6 +2002,7 @@ module Aws::ApiGatewayV2
1831
2002
  # * {Types::GetIntegrationResult#integration_type #integration_type} => String
1832
2003
  # * {Types::GetIntegrationResult#integration_uri #integration_uri} => String
1833
2004
  # * {Types::GetIntegrationResult#passthrough_behavior #passthrough_behavior} => String
2005
+ # * {Types::GetIntegrationResult#payload_format_version #payload_format_version} => String
1834
2006
  # * {Types::GetIntegrationResult#request_parameters #request_parameters} => Hash&lt;String,String&gt;
1835
2007
  # * {Types::GetIntegrationResult#request_templates #request_templates} => Hash&lt;String,String&gt;
1836
2008
  # * {Types::GetIntegrationResult#template_selection_expression #template_selection_expression} => String
@@ -1845,6 +2017,7 @@ module Aws::ApiGatewayV2
1845
2017
  #
1846
2018
  # @example Response structure
1847
2019
  #
2020
+ # resp.api_gateway_managed #=> Boolean
1848
2021
  # resp.connection_id #=> String
1849
2022
  # resp.connection_type #=> String, one of "INTERNET", "VPC_LINK"
1850
2023
  # resp.content_handling_strategy #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
@@ -1856,6 +2029,7 @@ module Aws::ApiGatewayV2
1856
2029
  # resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
1857
2030
  # resp.integration_uri #=> String
1858
2031
  # resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
2032
+ # resp.payload_format_version #=> String
1859
2033
  # resp.request_parameters #=> Hash
1860
2034
  # resp.request_parameters["__string"] #=> String
1861
2035
  # resp.request_templates #=> Hash
@@ -1981,6 +2155,7 @@ module Aws::ApiGatewayV2
1981
2155
  # @example Response structure
1982
2156
  #
1983
2157
  # resp.items #=> Array
2158
+ # resp.items[0].api_gateway_managed #=> Boolean
1984
2159
  # resp.items[0].connection_id #=> String
1985
2160
  # resp.items[0].connection_type #=> String, one of "INTERNET", "VPC_LINK"
1986
2161
  # resp.items[0].content_handling_strategy #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
@@ -1992,6 +2167,7 @@ module Aws::ApiGatewayV2
1992
2167
  # resp.items[0].integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
1993
2168
  # resp.items[0].integration_uri #=> String
1994
2169
  # resp.items[0].passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
2170
+ # resp.items[0].payload_format_version #=> String
1995
2171
  # resp.items[0].request_parameters #=> Hash
1996
2172
  # resp.items[0].request_parameters["__string"] #=> String
1997
2173
  # resp.items[0].request_templates #=> Hash
@@ -2117,6 +2293,7 @@ module Aws::ApiGatewayV2
2117
2293
  #
2118
2294
  # @return [Types::GetRouteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2119
2295
  #
2296
+ # * {Types::GetRouteResult#api_gateway_managed #api_gateway_managed} => Boolean
2120
2297
  # * {Types::GetRouteResult#api_key_required #api_key_required} => Boolean
2121
2298
  # * {Types::GetRouteResult#authorization_scopes #authorization_scopes} => Array&lt;String&gt;
2122
2299
  # * {Types::GetRouteResult#authorization_type #authorization_type} => String
@@ -2139,10 +2316,11 @@ module Aws::ApiGatewayV2
2139
2316
  #
2140
2317
  # @example Response structure
2141
2318
  #
2319
+ # resp.api_gateway_managed #=> Boolean
2142
2320
  # resp.api_key_required #=> Boolean
2143
2321
  # resp.authorization_scopes #=> Array
2144
2322
  # resp.authorization_scopes[0] #=> String
2145
- # resp.authorization_type #=> String, one of "NONE", "AWS_IAM", "CUSTOM"
2323
+ # resp.authorization_type #=> String, one of "NONE", "AWS_IAM", "CUSTOM", "JWT"
2146
2324
  # resp.authorizer_id #=> String
2147
2325
  # resp.model_selection_expression #=> String
2148
2326
  # resp.operation_name #=> String
@@ -2270,10 +2448,11 @@ module Aws::ApiGatewayV2
2270
2448
  # @example Response structure
2271
2449
  #
2272
2450
  # resp.items #=> Array
2451
+ # resp.items[0].api_gateway_managed #=> Boolean
2273
2452
  # resp.items[0].api_key_required #=> Boolean
2274
2453
  # resp.items[0].authorization_scopes #=> Array
2275
2454
  # resp.items[0].authorization_scopes[0] #=> String
2276
- # resp.items[0].authorization_type #=> String, one of "NONE", "AWS_IAM", "CUSTOM"
2455
+ # resp.items[0].authorization_type #=> String, one of "NONE", "AWS_IAM", "CUSTOM", "JWT"
2277
2456
  # resp.items[0].authorizer_id #=> String
2278
2457
  # resp.items[0].model_selection_expression #=> String
2279
2458
  # resp.items[0].operation_name #=> String
@@ -2303,11 +2482,14 @@ module Aws::ApiGatewayV2
2303
2482
  # @return [Types::GetStageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2304
2483
  #
2305
2484
  # * {Types::GetStageResponse#access_log_settings #access_log_settings} => Types::AccessLogSettings
2485
+ # * {Types::GetStageResponse#api_gateway_managed #api_gateway_managed} => Boolean
2486
+ # * {Types::GetStageResponse#auto_deploy #auto_deploy} => Boolean
2306
2487
  # * {Types::GetStageResponse#client_certificate_id #client_certificate_id} => String
2307
2488
  # * {Types::GetStageResponse#created_date #created_date} => Time
2308
2489
  # * {Types::GetStageResponse#default_route_settings #default_route_settings} => Types::RouteSettings
2309
2490
  # * {Types::GetStageResponse#deployment_id #deployment_id} => String
2310
2491
  # * {Types::GetStageResponse#description #description} => String
2492
+ # * {Types::GetStageResponse#last_deployment_status_message #last_deployment_status_message} => String
2311
2493
  # * {Types::GetStageResponse#last_updated_date #last_updated_date} => Time
2312
2494
  # * {Types::GetStageResponse#route_settings #route_settings} => Hash&lt;String,Types::RouteSettings&gt;
2313
2495
  # * {Types::GetStageResponse#stage_name #stage_name} => String
@@ -2325,6 +2507,8 @@ module Aws::ApiGatewayV2
2325
2507
  #
2326
2508
  # resp.access_log_settings.destination_arn #=> String
2327
2509
  # resp.access_log_settings.format #=> String
2510
+ # resp.api_gateway_managed #=> Boolean
2511
+ # resp.auto_deploy #=> Boolean
2328
2512
  # resp.client_certificate_id #=> String
2329
2513
  # resp.created_date #=> Time
2330
2514
  # resp.default_route_settings.data_trace_enabled #=> Boolean
@@ -2334,6 +2518,7 @@ module Aws::ApiGatewayV2
2334
2518
  # resp.default_route_settings.throttling_rate_limit #=> Float
2335
2519
  # resp.deployment_id #=> String
2336
2520
  # resp.description #=> String
2521
+ # resp.last_deployment_status_message #=> String
2337
2522
  # resp.last_updated_date #=> Time
2338
2523
  # resp.route_settings #=> Hash
2339
2524
  # resp.route_settings["__string"].data_trace_enabled #=> Boolean
@@ -2380,6 +2565,8 @@ module Aws::ApiGatewayV2
2380
2565
  # resp.items #=> Array
2381
2566
  # resp.items[0].access_log_settings.destination_arn #=> String
2382
2567
  # resp.items[0].access_log_settings.format #=> String
2568
+ # resp.items[0].api_gateway_managed #=> Boolean
2569
+ # resp.items[0].auto_deploy #=> Boolean
2383
2570
  # resp.items[0].client_certificate_id #=> String
2384
2571
  # resp.items[0].created_date #=> Time
2385
2572
  # resp.items[0].default_route_settings.data_trace_enabled #=> Boolean
@@ -2389,6 +2576,7 @@ module Aws::ApiGatewayV2
2389
2576
  # resp.items[0].default_route_settings.throttling_rate_limit #=> Float
2390
2577
  # resp.items[0].deployment_id #=> String
2391
2578
  # resp.items[0].description #=> String
2579
+ # resp.items[0].last_deployment_status_message #=> String
2392
2580
  # resp.items[0].last_updated_date #=> Time
2393
2581
  # resp.items[0].route_settings #=> Hash
2394
2582
  # resp.items[0].route_settings["__string"].data_trace_enabled #=> Boolean
@@ -2410,7 +2598,7 @@ module Aws::ApiGatewayV2
2410
2598
  req.send_request(options)
2411
2599
  end
2412
2600
 
2413
- # Gets the Tags for a resource.
2601
+ # Gets a collection of Tag resources.
2414
2602
  #
2415
2603
  # @option params [required, String] :resource_arn
2416
2604
  #
@@ -2436,11 +2624,153 @@ module Aws::ApiGatewayV2
2436
2624
  req.send_request(options)
2437
2625
  end
2438
2626
 
2627
+ # Imports an API.
2628
+ #
2629
+ # @option params [String] :basepath
2630
+ #
2631
+ # @option params [required, String] :body
2632
+ #
2633
+ # @option params [Boolean] :fail_on_warnings
2634
+ #
2635
+ # @return [Types::ImportApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2636
+ #
2637
+ # * {Types::ImportApiResponse#api_endpoint #api_endpoint} => String
2638
+ # * {Types::ImportApiResponse#api_id #api_id} => String
2639
+ # * {Types::ImportApiResponse#api_key_selection_expression #api_key_selection_expression} => String
2640
+ # * {Types::ImportApiResponse#cors_configuration #cors_configuration} => Types::Cors
2641
+ # * {Types::ImportApiResponse#created_date #created_date} => Time
2642
+ # * {Types::ImportApiResponse#description #description} => String
2643
+ # * {Types::ImportApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
2644
+ # * {Types::ImportApiResponse#import_info #import_info} => Array&lt;String&gt;
2645
+ # * {Types::ImportApiResponse#name #name} => String
2646
+ # * {Types::ImportApiResponse#protocol_type #protocol_type} => String
2647
+ # * {Types::ImportApiResponse#route_selection_expression #route_selection_expression} => String
2648
+ # * {Types::ImportApiResponse#tags #tags} => Hash&lt;String,String&gt;
2649
+ # * {Types::ImportApiResponse#version #version} => String
2650
+ # * {Types::ImportApiResponse#warnings #warnings} => Array&lt;String&gt;
2651
+ #
2652
+ # @example Request syntax with placeholder values
2653
+ #
2654
+ # resp = client.import_api({
2655
+ # basepath: "__string",
2656
+ # body: "__string", # required
2657
+ # fail_on_warnings: false,
2658
+ # })
2659
+ #
2660
+ # @example Response structure
2661
+ #
2662
+ # resp.api_endpoint #=> String
2663
+ # resp.api_id #=> String
2664
+ # resp.api_key_selection_expression #=> String
2665
+ # resp.cors_configuration.allow_credentials #=> Boolean
2666
+ # resp.cors_configuration.allow_headers #=> Array
2667
+ # resp.cors_configuration.allow_headers[0] #=> String
2668
+ # resp.cors_configuration.allow_methods #=> Array
2669
+ # resp.cors_configuration.allow_methods[0] #=> String
2670
+ # resp.cors_configuration.allow_origins #=> Array
2671
+ # resp.cors_configuration.allow_origins[0] #=> String
2672
+ # resp.cors_configuration.expose_headers #=> Array
2673
+ # resp.cors_configuration.expose_headers[0] #=> String
2674
+ # resp.cors_configuration.max_age #=> Integer
2675
+ # resp.created_date #=> Time
2676
+ # resp.description #=> String
2677
+ # resp.disable_schema_validation #=> Boolean
2678
+ # resp.import_info #=> Array
2679
+ # resp.import_info[0] #=> String
2680
+ # resp.name #=> String
2681
+ # resp.protocol_type #=> String, one of "WEBSOCKET", "HTTP"
2682
+ # resp.route_selection_expression #=> String
2683
+ # resp.tags #=> Hash
2684
+ # resp.tags["__string"] #=> String
2685
+ # resp.version #=> String
2686
+ # resp.warnings #=> Array
2687
+ # resp.warnings[0] #=> String
2688
+ #
2689
+ # @overload import_api(params = {})
2690
+ # @param [Hash] params ({})
2691
+ def import_api(params = {}, options = {})
2692
+ req = build_request(:import_api, params)
2693
+ req.send_request(options)
2694
+ end
2695
+
2696
+ # Puts an Api resource.
2697
+ #
2698
+ # @option params [required, String] :api_id
2699
+ #
2700
+ # @option params [String] :basepath
2701
+ #
2702
+ # @option params [required, String] :body
2703
+ #
2704
+ # @option params [Boolean] :fail_on_warnings
2705
+ #
2706
+ # @return [Types::ReimportApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2707
+ #
2708
+ # * {Types::ReimportApiResponse#api_endpoint #api_endpoint} => String
2709
+ # * {Types::ReimportApiResponse#api_id #api_id} => String
2710
+ # * {Types::ReimportApiResponse#api_key_selection_expression #api_key_selection_expression} => String
2711
+ # * {Types::ReimportApiResponse#cors_configuration #cors_configuration} => Types::Cors
2712
+ # * {Types::ReimportApiResponse#created_date #created_date} => Time
2713
+ # * {Types::ReimportApiResponse#description #description} => String
2714
+ # * {Types::ReimportApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
2715
+ # * {Types::ReimportApiResponse#import_info #import_info} => Array&lt;String&gt;
2716
+ # * {Types::ReimportApiResponse#name #name} => String
2717
+ # * {Types::ReimportApiResponse#protocol_type #protocol_type} => String
2718
+ # * {Types::ReimportApiResponse#route_selection_expression #route_selection_expression} => String
2719
+ # * {Types::ReimportApiResponse#tags #tags} => Hash&lt;String,String&gt;
2720
+ # * {Types::ReimportApiResponse#version #version} => String
2721
+ # * {Types::ReimportApiResponse#warnings #warnings} => Array&lt;String&gt;
2722
+ #
2723
+ # @example Request syntax with placeholder values
2724
+ #
2725
+ # resp = client.reimport_api({
2726
+ # api_id: "__string", # required
2727
+ # basepath: "__string",
2728
+ # body: "__string", # required
2729
+ # fail_on_warnings: false,
2730
+ # })
2731
+ #
2732
+ # @example Response structure
2733
+ #
2734
+ # resp.api_endpoint #=> String
2735
+ # resp.api_id #=> String
2736
+ # resp.api_key_selection_expression #=> String
2737
+ # resp.cors_configuration.allow_credentials #=> Boolean
2738
+ # resp.cors_configuration.allow_headers #=> Array
2739
+ # resp.cors_configuration.allow_headers[0] #=> String
2740
+ # resp.cors_configuration.allow_methods #=> Array
2741
+ # resp.cors_configuration.allow_methods[0] #=> String
2742
+ # resp.cors_configuration.allow_origins #=> Array
2743
+ # resp.cors_configuration.allow_origins[0] #=> String
2744
+ # resp.cors_configuration.expose_headers #=> Array
2745
+ # resp.cors_configuration.expose_headers[0] #=> String
2746
+ # resp.cors_configuration.max_age #=> Integer
2747
+ # resp.created_date #=> Time
2748
+ # resp.description #=> String
2749
+ # resp.disable_schema_validation #=> Boolean
2750
+ # resp.import_info #=> Array
2751
+ # resp.import_info[0] #=> String
2752
+ # resp.name #=> String
2753
+ # resp.protocol_type #=> String, one of "WEBSOCKET", "HTTP"
2754
+ # resp.route_selection_expression #=> String
2755
+ # resp.tags #=> Hash
2756
+ # resp.tags["__string"] #=> String
2757
+ # resp.version #=> String
2758
+ # resp.warnings #=> Array
2759
+ # resp.warnings[0] #=> String
2760
+ #
2761
+ # @overload reimport_api(params = {})
2762
+ # @param [Hash] params ({})
2763
+ def reimport_api(params = {}, options = {})
2764
+ req = build_request(:reimport_api, params)
2765
+ req.send_request(options)
2766
+ end
2767
+
2768
+ # Creates a new Tag resource to represent a tag.
2769
+ #
2439
2770
  # @option params [required, String] :resource_arn
2440
2771
  #
2441
2772
  # @option params [Hash<String,String>] :tags
2442
- # A key value pair of string with key length between\[1-128\] and value
2443
- # length between\[1-256\]
2773
+ # Represents a collection of tags associated with the resource.
2444
2774
  #
2445
2775
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2446
2776
  #
@@ -2460,6 +2790,8 @@ module Aws::ApiGatewayV2
2460
2790
  req.send_request(options)
2461
2791
  end
2462
2792
 
2793
+ # Deletes a Tag.
2794
+ #
2463
2795
  # @option params [required, String] :resource_arn
2464
2796
  #
2465
2797
  # @option params [required, Array<String>] :tag_keys
@@ -2492,6 +2824,17 @@ module Aws::ApiGatewayV2
2492
2824
  #
2493
2825
  # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
2494
2826
  #
2827
+ # @option params [Types::Cors] :cors_configuration
2828
+ # Represents a CORS configuration. Supported only for HTTP APIs. See
2829
+ # [Configuring CORS][1] for more information.
2830
+ #
2831
+ #
2832
+ #
2833
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html
2834
+ #
2835
+ # @option params [String] :credentials_arn
2836
+ # Represents an Amazon Resource Name (ARN).
2837
+ #
2495
2838
  # @option params [String] :description
2496
2839
  # A string with a length between \[0-1024\].
2497
2840
  #
@@ -2500,6 +2843,16 @@ module Aws::ApiGatewayV2
2500
2843
  # @option params [String] :name
2501
2844
  # A string with a length between \[1-128\].
2502
2845
  #
2846
+ # @option params [String] :route_key
2847
+ # After evaluating a selection expression, the result is compared
2848
+ # against one or more selection keys to find a matching key. See
2849
+ # [Selection Expressions][1] for a list of expressions and each
2850
+ # expression's associated selection key type.
2851
+ #
2852
+ #
2853
+ #
2854
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
2855
+ #
2503
2856
  # @option params [String] :route_selection_expression
2504
2857
  # An expression used to extract information at runtime. See [Selection
2505
2858
  # Expressions][1] for more information.
@@ -2508,6 +2861,9 @@ module Aws::ApiGatewayV2
2508
2861
  #
2509
2862
  # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
2510
2863
  #
2864
+ # @option params [String] :target
2865
+ # A string representation of a URI with a length between \[1-2048\].
2866
+ #
2511
2867
  # @option params [String] :version
2512
2868
  # A string with a length between \[1-64\].
2513
2869
  #
@@ -2516,25 +2872,38 @@ module Aws::ApiGatewayV2
2516
2872
  # * {Types::UpdateApiResponse#api_endpoint #api_endpoint} => String
2517
2873
  # * {Types::UpdateApiResponse#api_id #api_id} => String
2518
2874
  # * {Types::UpdateApiResponse#api_key_selection_expression #api_key_selection_expression} => String
2875
+ # * {Types::UpdateApiResponse#cors_configuration #cors_configuration} => Types::Cors
2519
2876
  # * {Types::UpdateApiResponse#created_date #created_date} => Time
2520
2877
  # * {Types::UpdateApiResponse#description #description} => String
2521
2878
  # * {Types::UpdateApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
2879
+ # * {Types::UpdateApiResponse#import_info #import_info} => Array&lt;String&gt;
2522
2880
  # * {Types::UpdateApiResponse#name #name} => String
2523
2881
  # * {Types::UpdateApiResponse#protocol_type #protocol_type} => String
2524
2882
  # * {Types::UpdateApiResponse#route_selection_expression #route_selection_expression} => String
2883
+ # * {Types::UpdateApiResponse#tags #tags} => Hash&lt;String,String&gt;
2525
2884
  # * {Types::UpdateApiResponse#version #version} => String
2526
2885
  # * {Types::UpdateApiResponse#warnings #warnings} => Array&lt;String&gt;
2527
- # * {Types::UpdateApiResponse#tags #tags} => Hash&lt;String,String&gt;
2528
2886
  #
2529
2887
  # @example Request syntax with placeholder values
2530
2888
  #
2531
2889
  # resp = client.update_api({
2532
2890
  # api_id: "__string", # required
2533
2891
  # api_key_selection_expression: "SelectionExpression",
2892
+ # cors_configuration: {
2893
+ # allow_credentials: false,
2894
+ # allow_headers: ["__string"],
2895
+ # allow_methods: ["StringWithLengthBetween1And64"],
2896
+ # allow_origins: ["__string"],
2897
+ # expose_headers: ["__string"],
2898
+ # max_age: 1,
2899
+ # },
2900
+ # credentials_arn: "Arn",
2534
2901
  # description: "StringWithLengthBetween0And1024",
2535
2902
  # disable_schema_validation: false,
2536
2903
  # name: "StringWithLengthBetween1And128",
2904
+ # route_key: "SelectionKey",
2537
2905
  # route_selection_expression: "SelectionExpression",
2906
+ # target: "UriWithLengthBetween1And2048",
2538
2907
  # version: "StringWithLengthBetween1And64",
2539
2908
  # })
2540
2909
  #
@@ -2543,17 +2912,29 @@ module Aws::ApiGatewayV2
2543
2912
  # resp.api_endpoint #=> String
2544
2913
  # resp.api_id #=> String
2545
2914
  # resp.api_key_selection_expression #=> String
2915
+ # resp.cors_configuration.allow_credentials #=> Boolean
2916
+ # resp.cors_configuration.allow_headers #=> Array
2917
+ # resp.cors_configuration.allow_headers[0] #=> String
2918
+ # resp.cors_configuration.allow_methods #=> Array
2919
+ # resp.cors_configuration.allow_methods[0] #=> String
2920
+ # resp.cors_configuration.allow_origins #=> Array
2921
+ # resp.cors_configuration.allow_origins[0] #=> String
2922
+ # resp.cors_configuration.expose_headers #=> Array
2923
+ # resp.cors_configuration.expose_headers[0] #=> String
2924
+ # resp.cors_configuration.max_age #=> Integer
2546
2925
  # resp.created_date #=> Time
2547
2926
  # resp.description #=> String
2548
2927
  # resp.disable_schema_validation #=> Boolean
2928
+ # resp.import_info #=> Array
2929
+ # resp.import_info[0] #=> String
2549
2930
  # resp.name #=> String
2550
- # resp.protocol_type #=> String, one of "WEBSOCKET"
2931
+ # resp.protocol_type #=> String, one of "WEBSOCKET", "HTTP"
2551
2932
  # resp.route_selection_expression #=> String
2933
+ # resp.tags #=> Hash
2934
+ # resp.tags["__string"] #=> String
2552
2935
  # resp.version #=> String
2553
2936
  # resp.warnings #=> Array
2554
2937
  # resp.warnings[0] #=> String
2555
- # resp.tags #=> Hash
2556
- # resp.tags["__string"] #=> String
2557
2938
  #
2558
2939
  # @overload update_api(params = {})
2559
2940
  # @param [Hash] params ({})
@@ -2570,7 +2951,7 @@ module Aws::ApiGatewayV2
2570
2951
  # @option params [required, String] :api_mapping_id
2571
2952
  #
2572
2953
  # @option params [String] :api_mapping_key
2573
- # After evaulating a selection expression, the result is compared
2954
+ # After evaluating a selection expression, the result is compared
2574
2955
  # against one or more selection keys to find a matching key. See
2575
2956
  # [Selection Expressions][1] for a list of expressions and each
2576
2957
  # expression's associated selection key type.
@@ -2628,8 +3009,9 @@ module Aws::ApiGatewayV2
2628
3009
  # An integer with a value between \[0-3600\].
2629
3010
  #
2630
3011
  # @option params [String] :authorizer_type
2631
- # The authorizer type. Currently the only valid value is REQUEST, for a
2632
- # Lambda function using incoming request parameters.
3012
+ # The authorizer type. For WebSocket APIs, specify REQUEST for a Lambda
3013
+ # function using incoming request parameters. For HTTP APIs, specify JWT
3014
+ # to use JSON Web Tokens.
2633
3015
  #
2634
3016
  # @option params [String] :authorizer_uri
2635
3017
  # A string representation of a URI with a length between \[1-2048\].
@@ -2654,12 +3036,13 @@ module Aws::ApiGatewayV2
2654
3036
  # @option params [String] :identity_validation_expression
2655
3037
  # A string with a length between \[0-1024\].
2656
3038
  #
3039
+ # @option params [Types::JWTConfiguration] :jwt_configuration
3040
+ # Represents the configuration of a JWT authorizer. Required for the JWT
3041
+ # authorizer type. Supported only for HTTP APIs.
3042
+ #
2657
3043
  # @option params [String] :name
2658
3044
  # A string with a length between \[1-128\].
2659
3045
  #
2660
- # @option params [Array<String>] :provider_arns
2661
- # For REQUEST authorizer, this is not defined.
2662
- #
2663
3046
  # @return [Types::UpdateAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2664
3047
  #
2665
3048
  # * {Types::UpdateAuthorizerResponse#authorizer_credentials_arn #authorizer_credentials_arn} => String
@@ -2669,8 +3052,8 @@ module Aws::ApiGatewayV2
2669
3052
  # * {Types::UpdateAuthorizerResponse#authorizer_uri #authorizer_uri} => String
2670
3053
  # * {Types::UpdateAuthorizerResponse#identity_source #identity_source} => Array&lt;String&gt;
2671
3054
  # * {Types::UpdateAuthorizerResponse#identity_validation_expression #identity_validation_expression} => String
3055
+ # * {Types::UpdateAuthorizerResponse#jwt_configuration #jwt_configuration} => Types::JWTConfiguration
2672
3056
  # * {Types::UpdateAuthorizerResponse#name #name} => String
2673
- # * {Types::UpdateAuthorizerResponse#provider_arns #provider_arns} => Array&lt;String&gt;
2674
3057
  #
2675
3058
  # @example Request syntax with placeholder values
2676
3059
  #
@@ -2679,12 +3062,15 @@ module Aws::ApiGatewayV2
2679
3062
  # authorizer_credentials_arn: "Arn",
2680
3063
  # authorizer_id: "__string", # required
2681
3064
  # authorizer_result_ttl_in_seconds: 1,
2682
- # authorizer_type: "REQUEST", # accepts REQUEST
3065
+ # authorizer_type: "REQUEST", # accepts REQUEST, JWT
2683
3066
  # authorizer_uri: "UriWithLengthBetween1And2048",
2684
3067
  # identity_source: ["__string"],
2685
3068
  # identity_validation_expression: "StringWithLengthBetween0And1024",
3069
+ # jwt_configuration: {
3070
+ # audience: ["__string"],
3071
+ # issuer: "UriWithLengthBetween1And2048",
3072
+ # },
2686
3073
  # name: "StringWithLengthBetween1And128",
2687
- # provider_arns: ["Arn"],
2688
3074
  # })
2689
3075
  #
2690
3076
  # @example Response structure
@@ -2692,14 +3078,15 @@ module Aws::ApiGatewayV2
2692
3078
  # resp.authorizer_credentials_arn #=> String
2693
3079
  # resp.authorizer_id #=> String
2694
3080
  # resp.authorizer_result_ttl_in_seconds #=> Integer
2695
- # resp.authorizer_type #=> String, one of "REQUEST"
3081
+ # resp.authorizer_type #=> String, one of "REQUEST", "JWT"
2696
3082
  # resp.authorizer_uri #=> String
2697
3083
  # resp.identity_source #=> Array
2698
3084
  # resp.identity_source[0] #=> String
2699
3085
  # resp.identity_validation_expression #=> String
3086
+ # resp.jwt_configuration.audience #=> Array
3087
+ # resp.jwt_configuration.audience[0] #=> String
3088
+ # resp.jwt_configuration.issuer #=> String
2700
3089
  # resp.name #=> String
2701
- # resp.provider_arns #=> Array
2702
- # resp.provider_arns[0] #=> String
2703
3090
  #
2704
3091
  # @overload update_authorizer(params = {})
2705
3092
  # @param [Hash] params ({})
@@ -2719,6 +3106,7 @@ module Aws::ApiGatewayV2
2719
3106
  #
2720
3107
  # @return [Types::UpdateDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2721
3108
  #
3109
+ # * {Types::UpdateDeploymentResponse#auto_deployed #auto_deployed} => Boolean
2722
3110
  # * {Types::UpdateDeploymentResponse#created_date #created_date} => Time
2723
3111
  # * {Types::UpdateDeploymentResponse#deployment_id #deployment_id} => String
2724
3112
  # * {Types::UpdateDeploymentResponse#deployment_status #deployment_status} => String
@@ -2735,6 +3123,7 @@ module Aws::ApiGatewayV2
2735
3123
  #
2736
3124
  # @example Response structure
2737
3125
  #
3126
+ # resp.auto_deployed #=> Boolean
2738
3127
  # resp.created_date #=> Time
2739
3128
  # resp.deployment_id #=> String
2740
3129
  # resp.deployment_status #=> String, one of "PENDING", "FAILED", "DEPLOYED"
@@ -2772,11 +3161,11 @@ module Aws::ApiGatewayV2
2772
3161
  # certificate_arn: "Arn",
2773
3162
  # certificate_name: "StringWithLengthBetween1And128",
2774
3163
  # certificate_upload_date: Time.now,
3164
+ # domain_name_status: "AVAILABLE", # accepts AVAILABLE, UPDATING
3165
+ # domain_name_status_message: "__string",
2775
3166
  # endpoint_type: "REGIONAL", # accepts REGIONAL, EDGE
2776
3167
  # hosted_zone_id: "__string",
2777
3168
  # security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
2778
- # domain_name_status: "AVAILABLE", # accepts AVAILABLE, UPDATING
2779
- # domain_name_status_message: "__string",
2780
3169
  # },
2781
3170
  # ],
2782
3171
  # })
@@ -2790,11 +3179,11 @@ module Aws::ApiGatewayV2
2790
3179
  # resp.domain_name_configurations[0].certificate_arn #=> String
2791
3180
  # resp.domain_name_configurations[0].certificate_name #=> String
2792
3181
  # resp.domain_name_configurations[0].certificate_upload_date #=> Time
3182
+ # resp.domain_name_configurations[0].domain_name_status #=> String, one of "AVAILABLE", "UPDATING"
3183
+ # resp.domain_name_configurations[0].domain_name_status_message #=> String
2793
3184
  # resp.domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
2794
3185
  # resp.domain_name_configurations[0].hosted_zone_id #=> String
2795
3186
  # resp.domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
2796
- # resp.domain_name_configurations[0].domain_name_status #=> String, one of "AVAILABLE", "UPDATING"
2797
- # resp.domain_name_configurations[0].domain_name_status_message #=> String
2798
3187
  # resp.tags #=> Hash
2799
3188
  # resp.tags["__string"] #=> String
2800
3189
  #
@@ -2817,6 +3206,7 @@ module Aws::ApiGatewayV2
2817
3206
  #
2818
3207
  # @option params [String] :content_handling_strategy
2819
3208
  # Specifies how to handle response payload content type conversions.
3209
+ # Supported only for WebSocket APIs.
2820
3210
  #
2821
3211
  # @option params [String] :credentials_arn
2822
3212
  # Represents an Amazon Resource Name (ARN).
@@ -2836,7 +3226,11 @@ module Aws::ApiGatewayV2
2836
3226
  # A string representation of a URI with a length between \[1-2048\].
2837
3227
  #
2838
3228
  # @option params [String] :passthrough_behavior
2839
- # Represents passthrough behavior for an integration response.
3229
+ # Represents passthrough behavior for an integration response. Supported
3230
+ # only for WebSocket APIs.
3231
+ #
3232
+ # @option params [String] :payload_format_version
3233
+ # A string with a length between \[1-64\].
2840
3234
  #
2841
3235
  # @option params [Hash<String,String>] :request_parameters
2842
3236
  # A key-value map specifying response parameters that are passed to the
@@ -2869,6 +3263,7 @@ module Aws::ApiGatewayV2
2869
3263
  #
2870
3264
  # @return [Types::UpdateIntegrationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2871
3265
  #
3266
+ # * {Types::UpdateIntegrationResult#api_gateway_managed #api_gateway_managed} => Boolean
2872
3267
  # * {Types::UpdateIntegrationResult#connection_id #connection_id} => String
2873
3268
  # * {Types::UpdateIntegrationResult#connection_type #connection_type} => String
2874
3269
  # * {Types::UpdateIntegrationResult#content_handling_strategy #content_handling_strategy} => String
@@ -2880,6 +3275,7 @@ module Aws::ApiGatewayV2
2880
3275
  # * {Types::UpdateIntegrationResult#integration_type #integration_type} => String
2881
3276
  # * {Types::UpdateIntegrationResult#integration_uri #integration_uri} => String
2882
3277
  # * {Types::UpdateIntegrationResult#passthrough_behavior #passthrough_behavior} => String
3278
+ # * {Types::UpdateIntegrationResult#payload_format_version #payload_format_version} => String
2883
3279
  # * {Types::UpdateIntegrationResult#request_parameters #request_parameters} => Hash&lt;String,String&gt;
2884
3280
  # * {Types::UpdateIntegrationResult#request_templates #request_templates} => Hash&lt;String,String&gt;
2885
3281
  # * {Types::UpdateIntegrationResult#template_selection_expression #template_selection_expression} => String
@@ -2899,6 +3295,7 @@ module Aws::ApiGatewayV2
2899
3295
  # integration_type: "AWS", # accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY
2900
3296
  # integration_uri: "UriWithLengthBetween1And2048",
2901
3297
  # passthrough_behavior: "WHEN_NO_MATCH", # accepts WHEN_NO_MATCH, NEVER, WHEN_NO_TEMPLATES
3298
+ # payload_format_version: "StringWithLengthBetween1And64",
2902
3299
  # request_parameters: {
2903
3300
  # "__string" => "StringWithLengthBetween1And512",
2904
3301
  # },
@@ -2911,6 +3308,7 @@ module Aws::ApiGatewayV2
2911
3308
  #
2912
3309
  # @example Response structure
2913
3310
  #
3311
+ # resp.api_gateway_managed #=> Boolean
2914
3312
  # resp.connection_id #=> String
2915
3313
  # resp.connection_type #=> String, one of "INTERNET", "VPC_LINK"
2916
3314
  # resp.content_handling_strategy #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
@@ -2922,6 +3320,7 @@ module Aws::ApiGatewayV2
2922
3320
  # resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
2923
3321
  # resp.integration_uri #=> String
2924
3322
  # resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
3323
+ # resp.payload_format_version #=> String
2925
3324
  # resp.request_parameters #=> Hash
2926
3325
  # resp.request_parameters["__string"] #=> String
2927
3326
  # resp.request_templates #=> Hash
@@ -2942,13 +3341,14 @@ module Aws::ApiGatewayV2
2942
3341
  #
2943
3342
  # @option params [String] :content_handling_strategy
2944
3343
  # Specifies how to handle response payload content type conversions.
3344
+ # Supported only for WebSocket APIs.
2945
3345
  #
2946
3346
  # @option params [required, String] :integration_id
2947
3347
  #
2948
3348
  # @option params [required, String] :integration_response_id
2949
3349
  #
2950
3350
  # @option params [String] :integration_response_key
2951
- # After evaulating a selection expression, the result is compared
3351
+ # After evaluating a selection expression, the result is compared
2952
3352
  # against one or more selection keys to find a matching key. See
2953
3353
  # [Selection Expressions][1] for a list of expressions and each
2954
3354
  # expression's associated selection key type.
@@ -3087,19 +3487,19 @@ module Aws::ApiGatewayV2
3087
3487
  #
3088
3488
  # @option params [Array<String>] :authorization_scopes
3089
3489
  # A list of authorization scopes configured on a route. The scopes are
3090
- # used with a COGNITO\_USER\_POOLS authorizer to authorize the method
3091
- # invocation. The authorization works by matching the route scopes
3092
- # against the scopes parsed from the access token in the incoming
3093
- # request. The method invocation is authorized if any route scope
3094
- # matches a claimed scope in the access token. Otherwise, the invocation
3095
- # is not authorized. When the route scope is configured, the client must
3096
- # provide an access token instead of an identity token for authorization
3097
- # purposes.
3490
+ # used with a JWT authorizer to authorize the method invocation. The
3491
+ # authorization works by matching the route scopes against the scopes
3492
+ # parsed from the access token in the incoming request. The method
3493
+ # invocation is authorized if any route scope matches a claimed scope in
3494
+ # the access token. Otherwise, the invocation is not authorized. When
3495
+ # the route scope is configured, the client must provide an access token
3496
+ # instead of an identity token for authorization purposes.
3098
3497
  #
3099
3498
  # @option params [String] :authorization_type
3100
- # The authorization type. Valid values are NONE for open access,
3101
- # AWS\_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda
3102
- # authorizer.
3499
+ # The authorization type. For WebSocket APIs, valid values are NONE for
3500
+ # open access, AWS\_IAM for using AWS IAM permissions, and CUSTOM for
3501
+ # using a Lambda authorizer. For HTTP APIs, valid values are NONE for
3502
+ # open access, or JWT for using JSON Web Tokens.
3103
3503
  #
3104
3504
  # @option params [String] :authorizer_id
3105
3505
  # The identifier.
@@ -3124,7 +3524,7 @@ module Aws::ApiGatewayV2
3124
3524
  # @option params [required, String] :route_id
3125
3525
  #
3126
3526
  # @option params [String] :route_key
3127
- # After evaulating a selection expression, the result is compared
3527
+ # After evaluating a selection expression, the result is compared
3128
3528
  # against one or more selection keys to find a matching key. See
3129
3529
  # [Selection Expressions][1] for a list of expressions and each
3130
3530
  # expression's associated selection key type.
@@ -3146,6 +3546,7 @@ module Aws::ApiGatewayV2
3146
3546
  #
3147
3547
  # @return [Types::UpdateRouteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3148
3548
  #
3549
+ # * {Types::UpdateRouteResult#api_gateway_managed #api_gateway_managed} => Boolean
3149
3550
  # * {Types::UpdateRouteResult#api_key_required #api_key_required} => Boolean
3150
3551
  # * {Types::UpdateRouteResult#authorization_scopes #authorization_scopes} => Array&lt;String&gt;
3151
3552
  # * {Types::UpdateRouteResult#authorization_type #authorization_type} => String
@@ -3165,7 +3566,7 @@ module Aws::ApiGatewayV2
3165
3566
  # api_id: "__string", # required
3166
3567
  # api_key_required: false,
3167
3568
  # authorization_scopes: ["StringWithLengthBetween1And64"],
3168
- # authorization_type: "NONE", # accepts NONE, AWS_IAM, CUSTOM
3569
+ # authorization_type: "NONE", # accepts NONE, AWS_IAM, CUSTOM, JWT
3169
3570
  # authorizer_id: "Id",
3170
3571
  # model_selection_expression: "SelectionExpression",
3171
3572
  # operation_name: "StringWithLengthBetween1And64",
@@ -3185,10 +3586,11 @@ module Aws::ApiGatewayV2
3185
3586
  #
3186
3587
  # @example Response structure
3187
3588
  #
3589
+ # resp.api_gateway_managed #=> Boolean
3188
3590
  # resp.api_key_required #=> Boolean
3189
3591
  # resp.authorization_scopes #=> Array
3190
3592
  # resp.authorization_scopes[0] #=> String
3191
- # resp.authorization_type #=> String, one of "NONE", "AWS_IAM", "CUSTOM"
3593
+ # resp.authorization_type #=> String, one of "NONE", "AWS_IAM", "CUSTOM", "JWT"
3192
3594
  # resp.authorizer_id #=> String
3193
3595
  # resp.model_selection_expression #=> String
3194
3596
  # resp.operation_name #=> String
@@ -3231,7 +3633,7 @@ module Aws::ApiGatewayV2
3231
3633
  # @option params [required, String] :route_response_id
3232
3634
  #
3233
3635
  # @option params [String] :route_response_key
3234
- # After evaulating a selection expression, the result is compared
3636
+ # After evaluating a selection expression, the result is compared
3235
3637
  # against one or more selection keys to find a matching key. See
3236
3638
  # [Selection Expressions][1] for a list of expressions and each
3237
3639
  # expression's associated selection key type.
@@ -3290,6 +3692,8 @@ module Aws::ApiGatewayV2
3290
3692
  #
3291
3693
  # @option params [required, String] :api_id
3292
3694
  #
3695
+ # @option params [Boolean] :auto_deploy
3696
+ #
3293
3697
  # @option params [String] :client_certificate_id
3294
3698
  # The identifier.
3295
3699
  #
@@ -3313,11 +3717,14 @@ module Aws::ApiGatewayV2
3313
3717
  # @return [Types::UpdateStageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3314
3718
  #
3315
3719
  # * {Types::UpdateStageResponse#access_log_settings #access_log_settings} => Types::AccessLogSettings
3720
+ # * {Types::UpdateStageResponse#api_gateway_managed #api_gateway_managed} => Boolean
3721
+ # * {Types::UpdateStageResponse#auto_deploy #auto_deploy} => Boolean
3316
3722
  # * {Types::UpdateStageResponse#client_certificate_id #client_certificate_id} => String
3317
3723
  # * {Types::UpdateStageResponse#created_date #created_date} => Time
3318
3724
  # * {Types::UpdateStageResponse#default_route_settings #default_route_settings} => Types::RouteSettings
3319
3725
  # * {Types::UpdateStageResponse#deployment_id #deployment_id} => String
3320
3726
  # * {Types::UpdateStageResponse#description #description} => String
3727
+ # * {Types::UpdateStageResponse#last_deployment_status_message #last_deployment_status_message} => String
3321
3728
  # * {Types::UpdateStageResponse#last_updated_date #last_updated_date} => Time
3322
3729
  # * {Types::UpdateStageResponse#route_settings #route_settings} => Hash&lt;String,Types::RouteSettings&gt;
3323
3730
  # * {Types::UpdateStageResponse#stage_name #stage_name} => String
@@ -3332,6 +3739,7 @@ module Aws::ApiGatewayV2
3332
3739
  # format: "StringWithLengthBetween1And1024",
3333
3740
  # },
3334
3741
  # api_id: "__string", # required
3742
+ # auto_deploy: false,
3335
3743
  # client_certificate_id: "Id",
3336
3744
  # default_route_settings: {
3337
3745
  # data_trace_enabled: false,
@@ -3361,6 +3769,8 @@ module Aws::ApiGatewayV2
3361
3769
  #
3362
3770
  # resp.access_log_settings.destination_arn #=> String
3363
3771
  # resp.access_log_settings.format #=> String
3772
+ # resp.api_gateway_managed #=> Boolean
3773
+ # resp.auto_deploy #=> Boolean
3364
3774
  # resp.client_certificate_id #=> String
3365
3775
  # resp.created_date #=> Time
3366
3776
  # resp.default_route_settings.data_trace_enabled #=> Boolean
@@ -3370,6 +3780,7 @@ module Aws::ApiGatewayV2
3370
3780
  # resp.default_route_settings.throttling_rate_limit #=> Float
3371
3781
  # resp.deployment_id #=> String
3372
3782
  # resp.description #=> String
3783
+ # resp.last_deployment_status_message #=> String
3373
3784
  # resp.last_updated_date #=> Time
3374
3785
  # resp.route_settings #=> Hash
3375
3786
  # resp.route_settings["__string"].data_trace_enabled #=> Boolean
@@ -3403,7 +3814,7 @@ module Aws::ApiGatewayV2
3403
3814
  params: params,
3404
3815
  config: config)
3405
3816
  context[:gem_name] = 'aws-sdk-apigatewayv2'
3406
- context[:gem_version] = '1.14.0'
3817
+ context[:gem_version] = '1.15.0'
3407
3818
  Seahorse::Client::Request.new(handlers, context)
3408
3819
  end
3409
3820