@aws-sdk/client-api-gateway 3.321.1 → 3.326.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.
Files changed (121) hide show
  1. package/dist-types/commands/CreateApiKeyCommand.d.ts +19 -0
  2. package/dist-types/commands/CreateAuthorizerCommand.d.ts +17 -0
  3. package/dist-types/commands/CreateBasePathMappingCommand.d.ts +8 -0
  4. package/dist-types/commands/CreateDeploymentCommand.d.ts +16 -0
  5. package/dist-types/commands/CreateDocumentationPartCommand.d.ts +14 -0
  6. package/dist-types/commands/CreateDocumentationVersionCommand.d.ts +8 -0
  7. package/dist-types/commands/CreateDomainNameCommand.d.ts +37 -0
  8. package/dist-types/commands/CreateModelCommand.d.ts +10 -0
  9. package/dist-types/commands/CreateRequestValidatorCommand.d.ts +9 -0
  10. package/dist-types/commands/CreateResourceCommand.d.ts +68 -0
  11. package/dist-types/commands/CreateRestApiCommand.d.ts +31 -0
  12. package/dist-types/commands/CreateStageCommand.d.ts +49 -0
  13. package/dist-types/commands/CreateUsagePlanCommand.d.ts +33 -0
  14. package/dist-types/commands/CreateUsagePlanKeyCommand.d.ts +9 -0
  15. package/dist-types/commands/CreateVpcLinkCommand.d.ts +16 -0
  16. package/dist-types/commands/DeleteApiKeyCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteAuthorizerCommand.d.ts +4 -0
  18. package/dist-types/commands/DeleteBasePathMappingCommand.d.ts +4 -0
  19. package/dist-types/commands/DeleteClientCertificateCommand.d.ts +4 -0
  20. package/dist-types/commands/DeleteDeploymentCommand.d.ts +4 -0
  21. package/dist-types/commands/DeleteDocumentationPartCommand.d.ts +4 -0
  22. package/dist-types/commands/DeleteDocumentationVersionCommand.d.ts +4 -0
  23. package/dist-types/commands/DeleteDomainNameCommand.d.ts +4 -0
  24. package/dist-types/commands/DeleteGatewayResponseCommand.d.ts +4 -0
  25. package/dist-types/commands/DeleteIntegrationCommand.d.ts +4 -0
  26. package/dist-types/commands/DeleteIntegrationResponseCommand.d.ts +4 -0
  27. package/dist-types/commands/DeleteMethodCommand.d.ts +4 -0
  28. package/dist-types/commands/DeleteMethodResponseCommand.d.ts +4 -0
  29. package/dist-types/commands/DeleteModelCommand.d.ts +4 -0
  30. package/dist-types/commands/DeleteRequestValidatorCommand.d.ts +4 -0
  31. package/dist-types/commands/DeleteResourceCommand.d.ts +4 -0
  32. package/dist-types/commands/DeleteRestApiCommand.d.ts +4 -0
  33. package/dist-types/commands/DeleteStageCommand.d.ts +4 -0
  34. package/dist-types/commands/DeleteUsagePlanCommand.d.ts +4 -0
  35. package/dist-types/commands/DeleteUsagePlanKeyCommand.d.ts +4 -0
  36. package/dist-types/commands/DeleteVpcLinkCommand.d.ts +4 -0
  37. package/dist-types/commands/FlushStageAuthorizersCacheCommand.d.ts +4 -0
  38. package/dist-types/commands/FlushStageCacheCommand.d.ts +4 -0
  39. package/dist-types/commands/GenerateClientCertificateCommand.d.ts +13 -0
  40. package/dist-types/commands/GetAccountCommand.d.ts +14 -0
  41. package/dist-types/commands/GetApiKeyCommand.d.ts +19 -0
  42. package/dist-types/commands/GetApiKeysCommand.d.ts +27 -0
  43. package/dist-types/commands/GetAuthorizerCommand.d.ts +17 -0
  44. package/dist-types/commands/GetAuthorizersCommand.d.ts +22 -0
  45. package/dist-types/commands/GetBasePathMappingCommand.d.ts +8 -0
  46. package/dist-types/commands/GetBasePathMappingsCommand.d.ts +13 -0
  47. package/dist-types/commands/GetClientCertificateCommand.d.ts +13 -0
  48. package/dist-types/commands/GetClientCertificatesCommand.d.ts +18 -0
  49. package/dist-types/commands/GetDeploymentCommand.d.ts +16 -0
  50. package/dist-types/commands/GetDeploymentsCommand.d.ts +21 -0
  51. package/dist-types/commands/GetDocumentationPartCommand.d.ts +14 -0
  52. package/dist-types/commands/GetDocumentationPartsCommand.d.ts +19 -0
  53. package/dist-types/commands/GetDocumentationVersionCommand.d.ts +8 -0
  54. package/dist-types/commands/GetDocumentationVersionsCommand.d.ts +13 -0
  55. package/dist-types/commands/GetDomainNameCommand.d.ts +37 -0
  56. package/dist-types/commands/GetDomainNamesCommand.d.ts +42 -0
  57. package/dist-types/commands/GetExportCommand.d.ts +8 -0
  58. package/dist-types/commands/GetGatewayResponseCommand.d.ts +14 -0
  59. package/dist-types/commands/GetGatewayResponsesCommand.d.ts +19 -0
  60. package/dist-types/commands/GetIntegrationCommand.d.ts +40 -0
  61. package/dist-types/commands/GetIntegrationResponseCommand.d.ts +14 -0
  62. package/dist-types/commands/GetMethodCommand.d.ts +60 -0
  63. package/dist-types/commands/GetMethodResponseCommand.d.ts +12 -0
  64. package/dist-types/commands/GetModelCommand.d.ts +10 -0
  65. package/dist-types/commands/GetModelTemplateCommand.d.ts +6 -0
  66. package/dist-types/commands/GetModelsCommand.d.ts +15 -0
  67. package/dist-types/commands/GetRequestValidatorCommand.d.ts +9 -0
  68. package/dist-types/commands/GetRequestValidatorsCommand.d.ts +14 -0
  69. package/dist-types/commands/GetResourceCommand.d.ts +68 -0
  70. package/dist-types/commands/GetResourcesCommand.d.ts +73 -0
  71. package/dist-types/commands/GetRestApiCommand.d.ts +31 -0
  72. package/dist-types/commands/GetRestApisCommand.d.ts +36 -0
  73. package/dist-types/commands/GetSdkCommand.d.ts +8 -0
  74. package/dist-types/commands/GetSdkTypeCommand.d.ts +17 -0
  75. package/dist-types/commands/GetSdkTypesCommand.d.ts +21 -0
  76. package/dist-types/commands/GetStageCommand.d.ts +49 -0
  77. package/dist-types/commands/GetStagesCommand.d.ts +53 -0
  78. package/dist-types/commands/GetTagsCommand.d.ts +8 -0
  79. package/dist-types/commands/GetUsageCommand.d.ts +16 -0
  80. package/dist-types/commands/GetUsagePlanCommand.d.ts +33 -0
  81. package/dist-types/commands/GetUsagePlanKeyCommand.d.ts +9 -0
  82. package/dist-types/commands/GetUsagePlanKeysCommand.d.ts +14 -0
  83. package/dist-types/commands/GetUsagePlansCommand.d.ts +38 -0
  84. package/dist-types/commands/GetVpcLinkCommand.d.ts +16 -0
  85. package/dist-types/commands/GetVpcLinksCommand.d.ts +21 -0
  86. package/dist-types/commands/ImportApiKeysCommand.d.ts +11 -0
  87. package/dist-types/commands/ImportDocumentationPartsCommand.d.ts +11 -0
  88. package/dist-types/commands/ImportRestApiCommand.d.ts +31 -0
  89. package/dist-types/commands/PutGatewayResponseCommand.d.ts +14 -0
  90. package/dist-types/commands/PutIntegrationCommand.d.ts +40 -0
  91. package/dist-types/commands/PutIntegrationResponseCommand.d.ts +14 -0
  92. package/dist-types/commands/PutMethodCommand.d.ts +60 -0
  93. package/dist-types/commands/PutMethodResponseCommand.d.ts +12 -0
  94. package/dist-types/commands/PutRestApiCommand.d.ts +31 -0
  95. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  96. package/dist-types/commands/TestInvokeAuthorizerCommand.d.ts +18 -0
  97. package/dist-types/commands/TestInvokeMethodCommand.d.ts +17 -0
  98. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  99. package/dist-types/commands/UpdateAccountCommand.d.ts +14 -0
  100. package/dist-types/commands/UpdateApiKeyCommand.d.ts +19 -0
  101. package/dist-types/commands/UpdateAuthorizerCommand.d.ts +17 -0
  102. package/dist-types/commands/UpdateBasePathMappingCommand.d.ts +8 -0
  103. package/dist-types/commands/UpdateClientCertificateCommand.d.ts +13 -0
  104. package/dist-types/commands/UpdateDeploymentCommand.d.ts +16 -0
  105. package/dist-types/commands/UpdateDocumentationPartCommand.d.ts +14 -0
  106. package/dist-types/commands/UpdateDocumentationVersionCommand.d.ts +8 -0
  107. package/dist-types/commands/UpdateDomainNameCommand.d.ts +37 -0
  108. package/dist-types/commands/UpdateGatewayResponseCommand.d.ts +14 -0
  109. package/dist-types/commands/UpdateIntegrationCommand.d.ts +40 -0
  110. package/dist-types/commands/UpdateIntegrationResponseCommand.d.ts +14 -0
  111. package/dist-types/commands/UpdateMethodCommand.d.ts +60 -0
  112. package/dist-types/commands/UpdateMethodResponseCommand.d.ts +12 -0
  113. package/dist-types/commands/UpdateModelCommand.d.ts +10 -0
  114. package/dist-types/commands/UpdateRequestValidatorCommand.d.ts +9 -0
  115. package/dist-types/commands/UpdateResourceCommand.d.ts +68 -0
  116. package/dist-types/commands/UpdateRestApiCommand.d.ts +31 -0
  117. package/dist-types/commands/UpdateStageCommand.d.ts +49 -0
  118. package/dist-types/commands/UpdateUsageCommand.d.ts +16 -0
  119. package/dist-types/commands/UpdateUsagePlanCommand.d.ts +33 -0
  120. package/dist-types/commands/UpdateVpcLinkCommand.d.ts +16 -0
  121. package/package.json +17 -17
@@ -40,6 +40,53 @@ export interface UpdateStageCommandOutput extends Stage, __MetadataBearer {
40
40
  * };
41
41
  * const command = new UpdateStageCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // Stage
44
+ * // deploymentId: "STRING_VALUE",
45
+ * // clientCertificateId: "STRING_VALUE",
46
+ * // stageName: "STRING_VALUE",
47
+ * // description: "STRING_VALUE",
48
+ * // cacheClusterEnabled: true || false,
49
+ * // cacheClusterSize: "0.5" || "1.6" || "6.1" || "13.5" || "28.4" || "58.2" || "118" || "237",
50
+ * // cacheClusterStatus: "CREATE_IN_PROGRESS" || "AVAILABLE" || "DELETE_IN_PROGRESS" || "NOT_AVAILABLE" || "FLUSH_IN_PROGRESS",
51
+ * // methodSettings: { // MapOfMethodSettings
52
+ * // "<keys>": { // MethodSetting
53
+ * // metricsEnabled: true || false,
54
+ * // loggingLevel: "STRING_VALUE",
55
+ * // dataTraceEnabled: true || false,
56
+ * // throttlingBurstLimit: Number("int"),
57
+ * // throttlingRateLimit: Number("double"),
58
+ * // cachingEnabled: true || false,
59
+ * // cacheTtlInSeconds: Number("int"),
60
+ * // cacheDataEncrypted: true || false,
61
+ * // requireAuthorizationForCacheControl: true || false,
62
+ * // unauthorizedCacheControlHeaderStrategy: "FAIL_WITH_403" || "SUCCEED_WITH_RESPONSE_HEADER" || "SUCCEED_WITHOUT_RESPONSE_HEADER",
63
+ * // },
64
+ * // },
65
+ * // variables: { // MapOfStringToString
66
+ * // "<keys>": "STRING_VALUE",
67
+ * // },
68
+ * // documentationVersion: "STRING_VALUE",
69
+ * // accessLogSettings: { // AccessLogSettings
70
+ * // format: "STRING_VALUE",
71
+ * // destinationArn: "STRING_VALUE",
72
+ * // },
73
+ * // canarySettings: { // CanarySettings
74
+ * // percentTraffic: Number("double"),
75
+ * // deploymentId: "STRING_VALUE",
76
+ * // stageVariableOverrides: {
77
+ * // "<keys>": "STRING_VALUE",
78
+ * // },
79
+ * // useStageCache: true || false,
80
+ * // },
81
+ * // tracingEnabled: true || false,
82
+ * // webAclArn: "STRING_VALUE",
83
+ * // tags: {
84
+ * // "<keys>": "STRING_VALUE",
85
+ * // },
86
+ * // createdDate: new Date("TIMESTAMP"),
87
+ * // lastUpdatedDate: new Date("TIMESTAMP"),
88
+ * // };
89
+ *
43
90
  * ```
44
91
  *
45
92
  * @param UpdateStageCommandInput - {@link UpdateStageCommandInput}
@@ -66,6 +113,8 @@ export interface UpdateStageCommandOutput extends Stage, __MetadataBearer {
66
113
  * @throws {@link UnauthorizedException} (client fault)
67
114
  * <p>The request is denied because the caller has insufficient permissions.</p>
68
115
  *
116
+ * @throws {@link APIGatewayServiceException}
117
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
69
118
  *
70
119
  */
71
120
  export declare class UpdateStageCommand extends $Command<UpdateStageCommandInput, UpdateStageCommandOutput, APIGatewayClientResolvedConfig> {
@@ -40,6 +40,20 @@ export interface UpdateUsageCommandOutput extends Usage, __MetadataBearer {
40
40
  * };
41
41
  * const command = new UpdateUsageCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // Usage
44
+ * // usagePlanId: "STRING_VALUE",
45
+ * // startDate: "STRING_VALUE",
46
+ * // endDate: "STRING_VALUE",
47
+ * // items: { // MapOfKeyUsages
48
+ * // "<keys>": [ // ListOfUsage
49
+ * // [ // ListOfLong
50
+ * // Number("long"),
51
+ * // ],
52
+ * // ],
53
+ * // },
54
+ * // position: "STRING_VALUE",
55
+ * // };
56
+ *
43
57
  * ```
44
58
  *
45
59
  * @param UpdateUsageCommandInput - {@link UpdateUsageCommandInput}
@@ -66,6 +80,8 @@ export interface UpdateUsageCommandOutput extends Usage, __MetadataBearer {
66
80
  * @throws {@link UnauthorizedException} (client fault)
67
81
  * <p>The request is denied because the caller has insufficient permissions.</p>
68
82
  *
83
+ * @throws {@link APIGatewayServiceException}
84
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
69
85
  *
70
86
  */
71
87
  export declare class UpdateUsageCommand extends $Command<UpdateUsageCommandInput, UpdateUsageCommandOutput, APIGatewayClientResolvedConfig> {
@@ -39,6 +39,37 @@ export interface UpdateUsagePlanCommandOutput extends UsagePlan, __MetadataBeare
39
39
  * };
40
40
  * const command = new UpdateUsagePlanCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // UsagePlan
43
+ * // id: "STRING_VALUE",
44
+ * // name: "STRING_VALUE",
45
+ * // description: "STRING_VALUE",
46
+ * // apiStages: [ // ListOfApiStage
47
+ * // { // ApiStage
48
+ * // apiId: "STRING_VALUE",
49
+ * // stage: "STRING_VALUE",
50
+ * // throttle: { // MapOfApiStageThrottleSettings
51
+ * // "<keys>": { // ThrottleSettings
52
+ * // burstLimit: Number("int"),
53
+ * // rateLimit: Number("double"),
54
+ * // },
55
+ * // },
56
+ * // },
57
+ * // ],
58
+ * // throttle: {
59
+ * // burstLimit: Number("int"),
60
+ * // rateLimit: Number("double"),
61
+ * // },
62
+ * // quota: { // QuotaSettings
63
+ * // limit: Number("int"),
64
+ * // offset: Number("int"),
65
+ * // period: "DAY" || "WEEK" || "MONTH",
66
+ * // },
67
+ * // productCode: "STRING_VALUE",
68
+ * // tags: { // MapOfStringToString
69
+ * // "<keys>": "STRING_VALUE",
70
+ * // },
71
+ * // };
72
+ *
42
73
  * ```
43
74
  *
44
75
  * @param UpdateUsagePlanCommandInput - {@link UpdateUsagePlanCommandInput}
@@ -65,6 +96,8 @@ export interface UpdateUsagePlanCommandOutput extends UsagePlan, __MetadataBeare
65
96
  * @throws {@link UnauthorizedException} (client fault)
66
97
  * <p>The request is denied because the caller has insufficient permissions.</p>
67
98
  *
99
+ * @throws {@link APIGatewayServiceException}
100
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
68
101
  *
69
102
  */
70
103
  export declare class UpdateUsagePlanCommand extends $Command<UpdateUsagePlanCommandInput, UpdateUsagePlanCommandOutput, APIGatewayClientResolvedConfig> {
@@ -39,6 +39,20 @@ export interface UpdateVpcLinkCommandOutput extends VpcLink, __MetadataBearer {
39
39
  * };
40
40
  * const command = new UpdateVpcLinkCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // VpcLink
43
+ * // id: "STRING_VALUE",
44
+ * // name: "STRING_VALUE",
45
+ * // description: "STRING_VALUE",
46
+ * // targetArns: [ // ListOfString
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // status: "AVAILABLE" || "PENDING" || "DELETING" || "FAILED",
50
+ * // statusMessage: "STRING_VALUE",
51
+ * // tags: { // MapOfStringToString
52
+ * // "<keys>": "STRING_VALUE",
53
+ * // },
54
+ * // };
55
+ *
42
56
  * ```
43
57
  *
44
58
  * @param UpdateVpcLinkCommandInput - {@link UpdateVpcLinkCommandInput}
@@ -65,6 +79,8 @@ export interface UpdateVpcLinkCommandOutput extends VpcLink, __MetadataBearer {
65
79
  * @throws {@link UnauthorizedException} (client fault)
66
80
  * <p>The request is denied because the caller has insufficient permissions.</p>
67
81
  *
82
+ * @throws {@link APIGatewayServiceException}
83
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
68
84
  *
69
85
  */
70
86
  export declare class UpdateVpcLinkCommand extends $Command<UpdateVpcLinkCommandInput, UpdateVpcLinkCommandOutput, APIGatewayClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-api-gateway",
3
3
  "description": "AWS SDK for JavaScript Api Gateway Client for Node.js, Browser and React Native",
4
- "version": "3.321.1",
4
+ "version": "3.326.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,34 +21,34 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-sdk-api-gateway": "3.310.0",
37
- "@aws-sdk/middleware-serde": "3.310.0",
38
- "@aws-sdk/middleware-signing": "3.310.0",
39
- "@aws-sdk/middleware-stack": "3.310.0",
40
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-sdk-api-gateway": "3.326.0",
37
+ "@aws-sdk/middleware-serde": "3.325.0",
38
+ "@aws-sdk/middleware-signing": "3.325.0",
39
+ "@aws-sdk/middleware-stack": "3.325.0",
40
+ "@aws-sdk/middleware-user-agent": "3.325.0",
41
41
  "@aws-sdk/node-config-provider": "3.310.0",
42
42
  "@aws-sdk/node-http-handler": "3.321.1",
43
43
  "@aws-sdk/protocol-http": "3.310.0",
44
- "@aws-sdk/smithy-client": "3.316.0",
44
+ "@aws-sdk/smithy-client": "3.325.0",
45
45
  "@aws-sdk/types": "3.310.0",
46
46
  "@aws-sdk/url-parser": "3.310.0",
47
47
  "@aws-sdk/util-base64": "3.310.0",
48
48
  "@aws-sdk/util-body-length-browser": "3.310.0",
49
49
  "@aws-sdk/util-body-length-node": "3.310.0",
50
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
51
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
51
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
52
52
  "@aws-sdk/util-endpoints": "3.319.0",
53
53
  "@aws-sdk/util-retry": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-browser": "3.310.0",