aws-sdk-apigatewayv2 1.0.0 → 1.1.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: 86bece35ff9d5e88f3c8dd3e7a170bcc0aa6ef67
4
- data.tar.gz: 8298cf2fbc95a795606fce89057d4179cff05e22
3
+ metadata.gz: f987cf291c462ae06c808babf7f8483fa9b0d7e9
4
+ data.tar.gz: cd5141c2805b15364be8477c9a890dce63e5929d
5
5
  SHA512:
6
- metadata.gz: 8b447ec25d5aa1852eba81084a115d55a7dfbea6e3449add7aa359942aec9bd82d7bbb90965ed62cb6cbd44fec2a63a25f8e9443346b1006de66a4d8c2d4672f
7
- data.tar.gz: b3b96c5557caa73628a7dfa9f04d7287c667c743229153bc24265b958855b7ee7baa686c17dda013ffde854ad91eb2d4e1d516d3f8da10f121d4afc289c1b51c
6
+ metadata.gz: 7fa68f7fe7423e606e769105700ae42f47a50273d4299af1c394bbf7ac9845d535f596241516af8b3e577ac219c08d32d10d726d93c145524e0916bd6ab7b4ee
7
+ data.tar.gz: 9878be85ecfe88d826951ed33904cffebe9818ab88d2a0dc040facadfa1c816b243f0cdc1a352835a13f9b91a0b9c77a87956088950b680fc2ecdaac7f382aa0
@@ -213,7 +213,7 @@ module Aws::ApiGatewayV2
213
213
  #
214
214
  #
215
215
  #
216
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
216
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
217
217
  #
218
218
  # @option params [String] :description
219
219
  # A string with a length between \[0-1024\].
@@ -231,7 +231,7 @@ module Aws::ApiGatewayV2
231
231
  #
232
232
  #
233
233
  #
234
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
234
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
235
235
  #
236
236
  # @option params [String] :version
237
237
  # A string with a length between \[1-64\].
@@ -287,7 +287,7 @@ module Aws::ApiGatewayV2
287
287
  # Creates an API mapping.
288
288
  #
289
289
  # @option params [required, String] :api_id
290
- # An API Gateway-generated, unique identifier.
290
+ # The identifier.
291
291
  #
292
292
  # @option params [String] :api_mapping_key
293
293
  # After evaulating a selection expression, the result is compared
@@ -297,7 +297,7 @@ module Aws::ApiGatewayV2
297
297
  #
298
298
  #
299
299
  #
300
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
300
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
301
301
  #
302
302
  # @option params [required, String] :domain_name
303
303
  #
@@ -352,13 +352,12 @@ module Aws::ApiGatewayV2
352
352
  # A string representation of a URI with a length between \[1-2048\].
353
353
  #
354
354
  # @option params [required, Array<String>] :identity_source
355
- # The identity source for which authorization is requested.
356
- #
357
- # For the REQUEST authorizer, this is required when authorization
358
- # caching is enabled. The value is a comma-separated string of one or
359
- # more mapping expressions of the specified request parameters. For
360
- # example, if an Auth header, a Name query string parameter are defined
361
- # as identity sources, this value is $method.request.header.Auth,
355
+ # The identity source for which authorization is requested. For the
356
+ # REQUEST authorizer, this is required when authorization caching is
357
+ # enabled. The value is a comma-separated string of one or more mapping
358
+ # expressions of the specified request parameters. For example, if an
359
+ # Auth header, a Name query string parameter are defined as identity
360
+ # sources, this value is $method.request.header.Auth,
362
361
  # $method.request.querystring.Name. These parameters will be used to
363
362
  # derive the authorization caching key and to perform runtime validation
364
363
  # of the REQUEST authorizer by verifying all of the identity-related
@@ -537,7 +536,7 @@ module Aws::ApiGatewayV2
537
536
  # @option params [String] :integration_method
538
537
  # A string with a length between \[1-64\].
539
538
  #
540
- # @option params [String] :integration_type
539
+ # @option params [required, String] :integration_type
541
540
  # Represents an API method integration type.
542
541
  #
543
542
  # @option params [String] :integration_uri
@@ -570,7 +569,7 @@ module Aws::ApiGatewayV2
570
569
  #
571
570
  #
572
571
  #
573
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
572
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
574
573
  #
575
574
  # @option params [Integer] :timeout_in_millis
576
575
  # An integer with a value between \[50-29000\].
@@ -603,7 +602,7 @@ module Aws::ApiGatewayV2
603
602
  # credentials_arn: "Arn",
604
603
  # description: "StringWithLengthBetween0And1024",
605
604
  # integration_method: "StringWithLengthBetween1And64",
606
- # integration_type: "AWS", # accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY
605
+ # integration_type: "AWS", # required, accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY
607
606
  # integration_uri: "UriWithLengthBetween1And2048",
608
607
  # passthrough_behavior: "WHEN_NO_MATCH", # accepts WHEN_NO_MATCH, NEVER, WHEN_NO_TEMPLATES
609
608
  # request_parameters: {
@@ -660,7 +659,7 @@ module Aws::ApiGatewayV2
660
659
  #
661
660
  #
662
661
  #
663
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
662
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
664
663
  #
665
664
  # @option params [Hash<String,String>] :response_parameters
666
665
  # A key-value map specifying response parameters that are passed to the
@@ -686,7 +685,7 @@ module Aws::ApiGatewayV2
686
685
  #
687
686
  #
688
687
  #
689
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
688
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
690
689
  #
691
690
  # @return [Types::CreateIntegrationResponseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
692
691
  #
@@ -744,7 +743,7 @@ module Aws::ApiGatewayV2
744
743
  # @option params [required, String] :name
745
744
  # A string with a length between \[1-128\].
746
745
  #
747
- # @option params [String] :schema
746
+ # @option params [required, String] :schema
748
747
  # A string with a length between \[0-32768\].
749
748
  #
750
749
  # @return [Types::CreateModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -762,7 +761,7 @@ module Aws::ApiGatewayV2
762
761
  # content_type: "StringWithLengthBetween1And256",
763
762
  # description: "StringWithLengthBetween0And1024",
764
763
  # name: "StringWithLengthBetween1And128", # required
765
- # schema: "StringWithLengthBetween0And32K",
764
+ # schema: "StringWithLengthBetween0And32K", # required
766
765
  # })
767
766
  #
768
767
  # @example Response structure
@@ -803,7 +802,7 @@ module Aws::ApiGatewayV2
803
802
  # authorizer.
804
803
  #
805
804
  # @option params [String] :authorizer_id
806
- # An API Gateway-generated, unique identifier.
805
+ # The identifier.
807
806
  #
808
807
  # @option params [String] :model_selection_expression
809
808
  # An expression used to extract information at runtime. See [Selection
@@ -811,7 +810,7 @@ module Aws::ApiGatewayV2
811
810
  #
812
811
  #
813
812
  #
814
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
813
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
815
814
  #
816
815
  # @option params [String] :operation_name
817
816
  # A string with a length between \[1-64\].
@@ -830,7 +829,7 @@ module Aws::ApiGatewayV2
830
829
  #
831
830
  #
832
831
  #
833
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
832
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
834
833
  #
835
834
  # @option params [String] :route_response_selection_expression
836
835
  # An expression used to extract information at runtime. See [Selection
@@ -838,7 +837,7 @@ module Aws::ApiGatewayV2
838
837
  #
839
838
  #
840
839
  #
841
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
840
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
842
841
  #
843
842
  # @option params [String] :target
844
843
  # A string with a length between \[1-128\].
@@ -916,7 +915,7 @@ module Aws::ApiGatewayV2
916
915
  #
917
916
  #
918
917
  #
919
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
918
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
920
919
  #
921
920
  # @option params [Hash<String,String>] :response_models
922
921
  # The route models.
@@ -934,7 +933,7 @@ module Aws::ApiGatewayV2
934
933
  #
935
934
  #
936
935
  #
937
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
936
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
938
937
  #
939
938
  # @return [Types::CreateRouteResponseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
940
939
  #
@@ -986,13 +985,13 @@ module Aws::ApiGatewayV2
986
985
  # @option params [required, String] :api_id
987
986
  #
988
987
  # @option params [String] :client_certificate_id
989
- # An API Gateway-generated, unique identifier.
988
+ # The identifier.
990
989
  #
991
990
  # @option params [Types::RouteSettings] :default_route_settings
992
991
  # Represents a collection of route settings.
993
992
  #
994
993
  # @option params [String] :deployment_id
995
- # An API Gateway-generated, unique identifier.
994
+ # The identifier.
996
995
  #
997
996
  # @option params [String] :description
998
997
  # A string with a length between \[0-1024\].
@@ -1104,8 +1103,6 @@ module Aws::ApiGatewayV2
1104
1103
 
1105
1104
  # Deletes an API mapping.
1106
1105
  #
1107
- # @option params [required, String] :api_id
1108
- #
1109
1106
  # @option params [required, String] :api_mapping_id
1110
1107
  #
1111
1108
  # @option params [required, String] :domain_name
@@ -1115,7 +1112,6 @@ module Aws::ApiGatewayV2
1115
1112
  # @example Request syntax with placeholder values
1116
1113
  #
1117
1114
  # resp = client.delete_api_mapping({
1118
- # api_id: "__string", # required
1119
1115
  # api_mapping_id: "__string", # required
1120
1116
  # domain_name: "__string", # required
1121
1117
  # })
@@ -1376,8 +1372,6 @@ module Aws::ApiGatewayV2
1376
1372
 
1377
1373
  # The API mapping.
1378
1374
  #
1379
- # @option params [required, String] :api_id
1380
- #
1381
1375
  # @option params [required, String] :api_mapping_id
1382
1376
  #
1383
1377
  # @option params [required, String] :domain_name
@@ -1392,7 +1386,6 @@ module Aws::ApiGatewayV2
1392
1386
  # @example Request syntax with placeholder values
1393
1387
  #
1394
1388
  # resp = client.get_api_mapping({
1395
- # api_id: "__string", # required
1396
1389
  # api_mapping_id: "__string", # required
1397
1390
  # domain_name: "__string", # required
1398
1391
  # })
@@ -1421,10 +1414,8 @@ module Aws::ApiGatewayV2
1421
1414
  #
1422
1415
  # @return [Types::GetApiMappingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1423
1416
  #
1424
- # * {Types::GetApiMappingsResponse#api_id #api_id} => String
1425
- # * {Types::GetApiMappingsResponse#api_mapping_id #api_mapping_id} => String
1426
- # * {Types::GetApiMappingsResponse#api_mapping_key #api_mapping_key} => String
1427
- # * {Types::GetApiMappingsResponse#stage #stage} => String
1417
+ # * {Types::GetApiMappingsResponse#items #items} => Array&lt;Types::ApiMapping&gt;
1418
+ # * {Types::GetApiMappingsResponse#next_token #next_token} => String
1428
1419
  #
1429
1420
  # @example Request syntax with placeholder values
1430
1421
  #
@@ -1436,10 +1427,12 @@ module Aws::ApiGatewayV2
1436
1427
  #
1437
1428
  # @example Response structure
1438
1429
  #
1439
- # resp.api_id #=> String
1440
- # resp.api_mapping_id #=> String
1441
- # resp.api_mapping_key #=> String
1442
- # resp.stage #=> String
1430
+ # resp.items #=> Array
1431
+ # resp.items[0].api_id #=> String
1432
+ # resp.items[0].api_mapping_id #=> String
1433
+ # resp.items[0].api_mapping_key #=> String
1434
+ # resp.items[0].stage #=> String
1435
+ # resp.next_token #=> String
1443
1436
  #
1444
1437
  # @overload get_api_mappings(params = {})
1445
1438
  # @param [Hash] params ({})
@@ -2331,7 +2324,7 @@ module Aws::ApiGatewayV2
2331
2324
  #
2332
2325
  #
2333
2326
  #
2334
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2327
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
2335
2328
  #
2336
2329
  # @option params [String] :description
2337
2330
  # A string with a length between \[0-1024\].
@@ -2347,7 +2340,7 @@ module Aws::ApiGatewayV2
2347
2340
  #
2348
2341
  #
2349
2342
  #
2350
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2343
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
2351
2344
  #
2352
2345
  # @option params [String] :version
2353
2346
  # A string with a length between \[1-64\].
@@ -2403,7 +2396,7 @@ module Aws::ApiGatewayV2
2403
2396
  # The API mapping.
2404
2397
  #
2405
2398
  # @option params [required, String] :api_id
2406
- # An API Gateway-generated, unique identifier.
2399
+ # The identifier.
2407
2400
  #
2408
2401
  # @option params [required, String] :api_mapping_id
2409
2402
  #
@@ -2415,7 +2408,7 @@ module Aws::ApiGatewayV2
2415
2408
  #
2416
2409
  #
2417
2410
  #
2418
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2411
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
2419
2412
  #
2420
2413
  # @option params [required, String] :domain_name
2421
2414
  #
@@ -2473,13 +2466,12 @@ module Aws::ApiGatewayV2
2473
2466
  # A string representation of a URI with a length between \[1-2048\].
2474
2467
  #
2475
2468
  # @option params [Array<String>] :identity_source
2476
- # The identity source for which authorization is requested.
2477
- #
2478
- # For the REQUEST authorizer, this is required when authorization
2479
- # caching is enabled. The value is a comma-separated string of one or
2480
- # more mapping expressions of the specified request parameters. For
2481
- # example, if an Auth header, a Name query string parameter are defined
2482
- # as identity sources, this value is $method.request.header.Auth,
2469
+ # The identity source for which authorization is requested. For the
2470
+ # REQUEST authorizer, this is required when authorization caching is
2471
+ # enabled. The value is a comma-separated string of one or more mapping
2472
+ # expressions of the specified request parameters. For example, if an
2473
+ # Auth header, a Name query string parameter are defined as identity
2474
+ # sources, this value is $method.request.header.Auth,
2483
2475
  # $method.request.querystring.Name. These parameters will be used to
2484
2476
  # derive the authorization caching key and to perform runtime validation
2485
2477
  # of the REQUEST authorizer by verifying all of the identity-related
@@ -2692,7 +2684,7 @@ module Aws::ApiGatewayV2
2692
2684
  #
2693
2685
  #
2694
2686
  #
2695
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2687
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
2696
2688
  #
2697
2689
  # @option params [Integer] :timeout_in_millis
2698
2690
  # An integer with a value between \[50-29000\].
@@ -2785,7 +2777,7 @@ module Aws::ApiGatewayV2
2785
2777
  #
2786
2778
  #
2787
2779
  #
2788
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2780
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
2789
2781
  #
2790
2782
  # @option params [Hash<String,String>] :response_parameters
2791
2783
  # A key-value map specifying response parameters that are passed to the
@@ -2811,7 +2803,7 @@ module Aws::ApiGatewayV2
2811
2803
  #
2812
2804
  #
2813
2805
  #
2814
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2806
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
2815
2807
  #
2816
2808
  # @return [Types::UpdateIntegrationResponseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2817
2809
  #
@@ -2932,7 +2924,7 @@ module Aws::ApiGatewayV2
2932
2924
  # authorizer.
2933
2925
  #
2934
2926
  # @option params [String] :authorizer_id
2935
- # An API Gateway-generated, unique identifier.
2927
+ # The identifier.
2936
2928
  #
2937
2929
  # @option params [String] :model_selection_expression
2938
2930
  # An expression used to extract information at runtime. See [Selection
@@ -2940,7 +2932,7 @@ module Aws::ApiGatewayV2
2940
2932
  #
2941
2933
  #
2942
2934
  #
2943
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2935
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
2944
2936
  #
2945
2937
  # @option params [String] :operation_name
2946
2938
  # A string with a length between \[1-64\].
@@ -2961,7 +2953,7 @@ module Aws::ApiGatewayV2
2961
2953
  #
2962
2954
  #
2963
2955
  #
2964
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2956
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
2965
2957
  #
2966
2958
  # @option params [String] :route_response_selection_expression
2967
2959
  # An expression used to extract information at runtime. See [Selection
@@ -2969,7 +2961,7 @@ module Aws::ApiGatewayV2
2969
2961
  #
2970
2962
  #
2971
2963
  #
2972
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
2964
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
2973
2965
  #
2974
2966
  # @option params [String] :target
2975
2967
  # A string with a length between \[1-128\].
@@ -3048,7 +3040,7 @@ module Aws::ApiGatewayV2
3048
3040
  #
3049
3041
  #
3050
3042
  #
3051
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
3043
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
3052
3044
  #
3053
3045
  # @option params [Hash<String,String>] :response_models
3054
3046
  # The route models.
@@ -3068,7 +3060,7 @@ module Aws::ApiGatewayV2
3068
3060
  #
3069
3061
  #
3070
3062
  #
3071
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html
3063
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
3072
3064
  #
3073
3065
  # @return [Types::UpdateRouteResponseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3074
3066
  #
@@ -3121,13 +3113,13 @@ module Aws::ApiGatewayV2
3121
3113
  # @option params [required, String] :api_id
3122
3114
  #
3123
3115
  # @option params [String] :client_certificate_id
3124
- # An API Gateway-generated, unique identifier.
3116
+ # The identifier.
3125
3117
  #
3126
3118
  # @option params [Types::RouteSettings] :default_route_settings
3127
3119
  # Represents a collection of route settings.
3128
3120
  #
3129
3121
  # @option params [String] :deployment_id
3130
- # An API Gateway-generated, unique identifier.
3122
+ # The identifier.
3131
3123
  #
3132
3124
  # @option params [String] :description
3133
3125
  # A string with a length between \[0-1024\].
@@ -3230,7 +3222,7 @@ module Aws::ApiGatewayV2
3230
3222
  params: params,
3231
3223
  config: config)
3232
3224
  context[:gem_name] = 'aws-sdk-apigatewayv2'
3233
- context[:gem_version] = '1.0.0'
3225
+ context[:gem_version] = '1.1.0'
3234
3226
  Seahorse::Client::Request.new(handlers, context)
3235
3227
  end
3236
3228
 
@@ -14,6 +14,7 @@ module Aws::ApiGatewayV2
14
14
  AccessLogSettings = Shapes::StructureShape.new(name: 'AccessLogSettings')
15
15
  Api = Shapes::StructureShape.new(name: 'Api')
16
16
  ApiMapping = Shapes::StructureShape.new(name: 'ApiMapping')
17
+ ApiMappings = Shapes::StructureShape.new(name: 'ApiMappings')
17
18
  Apis = Shapes::StructureShape.new(name: 'Apis')
18
19
  Arn = Shapes::StringShape.new(name: 'Arn')
19
20
  AuthorizationScopes = Shapes::ListShape.new(name: 'AuthorizationScopes')
@@ -205,6 +206,7 @@ module Aws::ApiGatewayV2
205
206
  __double = Shapes::FloatShape.new(name: '__double')
206
207
  __integer = Shapes::IntegerShape.new(name: '__integer')
207
208
  __listOfApi = Shapes::ListShape.new(name: '__listOfApi')
209
+ __listOfApiMapping = Shapes::ListShape.new(name: '__listOfApiMapping')
208
210
  __listOfAuthorizer = Shapes::ListShape.new(name: '__listOfAuthorizer')
209
211
  __listOfDeployment = Shapes::ListShape.new(name: '__listOfDeployment')
210
212
  __listOfDomainName = Shapes::ListShape.new(name: '__listOfDomainName')
@@ -243,6 +245,10 @@ module Aws::ApiGatewayV2
243
245
  ApiMapping.add_member(:stage, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "stage"))
244
246
  ApiMapping.struct_class = Types::ApiMapping
245
247
 
248
+ ApiMappings.add_member(:items, Shapes::ShapeRef.new(shape: __listOfApiMapping, location_name: "items"))
249
+ ApiMappings.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
250
+ ApiMappings.struct_class = Types::ApiMappings
251
+
246
252
  Apis.add_member(:items, Shapes::ShapeRef.new(shape: __listOfApi, location_name: "items"))
247
253
  Apis.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
248
254
  Apis.struct_class = Types::Apis
@@ -379,7 +385,7 @@ module Aws::ApiGatewayV2
379
385
  CreateIntegrationInput.add_member(:credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "credentialsArn"))
380
386
  CreateIntegrationInput.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
381
387
  CreateIntegrationInput.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
382
- CreateIntegrationInput.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, location_name: "integrationType"))
388
+ CreateIntegrationInput.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, required: true, location_name: "integrationType"))
383
389
  CreateIntegrationInput.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
384
390
  CreateIntegrationInput.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
385
391
  CreateIntegrationInput.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
@@ -395,7 +401,7 @@ module Aws::ApiGatewayV2
395
401
  CreateIntegrationRequest.add_member(:credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "credentialsArn"))
396
402
  CreateIntegrationRequest.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
397
403
  CreateIntegrationRequest.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
398
- CreateIntegrationRequest.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, location_name: "integrationType"))
404
+ CreateIntegrationRequest.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, required: true, location_name: "integrationType"))
399
405
  CreateIntegrationRequest.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
400
406
  CreateIntegrationRequest.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
401
407
  CreateIntegrationRequest.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
@@ -448,14 +454,14 @@ module Aws::ApiGatewayV2
448
454
  CreateModelInput.add_member(:content_type, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And256, location_name: "contentType"))
449
455
  CreateModelInput.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
450
456
  CreateModelInput.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "name"))
451
- CreateModelInput.add_member(:schema, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And32K, location_name: "schema"))
457
+ CreateModelInput.add_member(:schema, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And32K, required: true, location_name: "schema"))
452
458
  CreateModelInput.struct_class = Types::CreateModelInput
453
459
 
454
460
  CreateModelRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiId"))
455
461
  CreateModelRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And256, location_name: "contentType"))
456
462
  CreateModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
457
463
  CreateModelRequest.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "name"))
458
- CreateModelRequest.add_member(:schema, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And32K, location_name: "schema"))
464
+ CreateModelRequest.add_member(:schema, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And32K, required: true, location_name: "schema"))
459
465
  CreateModelRequest.struct_class = Types::CreateModelRequest
460
466
 
461
467
  CreateModelResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And256, location_name: "contentType"))
@@ -560,7 +566,6 @@ module Aws::ApiGatewayV2
560
566
  CreateStageResponse.add_member(:stage_variables, Shapes::ShapeRef.new(shape: StageVariablesMap, location_name: "stageVariables"))
561
567
  CreateStageResponse.struct_class = Types::CreateStageResponse
562
568
 
563
- DeleteApiMappingRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "querystring", location_name: "apiId"))
564
569
  DeleteApiMappingRequest.add_member(:api_mapping_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiMappingId"))
565
570
  DeleteApiMappingRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "domainName"))
566
571
  DeleteApiMappingRequest.struct_class = Types::DeleteApiMappingRequest
@@ -635,7 +640,6 @@ module Aws::ApiGatewayV2
635
640
  DomainNames.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
636
641
  DomainNames.struct_class = Types::DomainNames
637
642
 
638
- GetApiMappingRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "querystring", location_name: "apiId"))
639
643
  GetApiMappingRequest.add_member(:api_mapping_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiMappingId"))
640
644
  GetApiMappingRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "domainName"))
641
645
  GetApiMappingRequest.struct_class = Types::GetApiMappingRequest
@@ -651,10 +655,8 @@ module Aws::ApiGatewayV2
651
655
  GetApiMappingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
652
656
  GetApiMappingsRequest.struct_class = Types::GetApiMappingsRequest
653
657
 
654
- GetApiMappingsResponse.add_member(:api_id, Shapes::ShapeRef.new(shape: Id, location_name: "apiId"))
655
- GetApiMappingsResponse.add_member(:api_mapping_id, Shapes::ShapeRef.new(shape: Id, location_name: "apiMappingId"))
656
- GetApiMappingsResponse.add_member(:api_mapping_key, Shapes::ShapeRef.new(shape: SelectionKey, location_name: "apiMappingKey"))
657
- GetApiMappingsResponse.add_member(:stage, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "stage"))
658
+ GetApiMappingsResponse.add_member(:items, Shapes::ShapeRef.new(shape: __listOfApiMapping, location_name: "items"))
659
+ GetApiMappingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
658
660
  GetApiMappingsResponse.struct_class = Types::GetApiMappingsResponse
659
661
 
660
662
  GetApiRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiId"))
@@ -1324,6 +1326,8 @@ module Aws::ApiGatewayV2
1324
1326
 
1325
1327
  __listOfApi.member = Shapes::ShapeRef.new(shape: Api)
1326
1328
 
1329
+ __listOfApiMapping.member = Shapes::ShapeRef.new(shape: ApiMapping)
1330
+
1327
1331
  __listOfAuthorizer.member = Shapes::ShapeRef.new(shape: Authorizer)
1328
1332
 
1329
1333
  __listOfDeployment.member = Shapes::ShapeRef.new(shape: Deployment)