@aws-sdk/client-api-gateway 3.325.0 → 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 +4 -4
@@ -45,6 +45,23 @@ export interface CreateApiKeyCommandOutput extends ApiKey, __MetadataBearer {
45
45
  * };
46
46
  * const command = new CreateApiKeyCommand(input);
47
47
  * const response = await client.send(command);
48
+ * // { // ApiKey
49
+ * // id: "STRING_VALUE",
50
+ * // value: "STRING_VALUE",
51
+ * // name: "STRING_VALUE",
52
+ * // customerId: "STRING_VALUE",
53
+ * // description: "STRING_VALUE",
54
+ * // enabled: true || false,
55
+ * // createdDate: new Date("TIMESTAMP"),
56
+ * // lastUpdatedDate: new Date("TIMESTAMP"),
57
+ * // stageKeys: [ // ListOfString
58
+ * // "STRING_VALUE",
59
+ * // ],
60
+ * // tags: { // MapOfStringToString
61
+ * // "<keys>": "STRING_VALUE",
62
+ * // },
63
+ * // };
64
+ *
48
65
  * ```
49
66
  *
50
67
  * @param CreateApiKeyCommandInput - {@link CreateApiKeyCommandInput}
@@ -71,6 +88,8 @@ export interface CreateApiKeyCommandOutput extends ApiKey, __MetadataBearer {
71
88
  * @throws {@link UnauthorizedException} (client fault)
72
89
  * <p>The request is denied because the caller has insufficient permissions.</p>
73
90
  *
91
+ * @throws {@link APIGatewayServiceException}
92
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
74
93
  *
75
94
  */
76
95
  export declare class CreateApiKeyCommand extends $Command<CreateApiKeyCommandInput, CreateApiKeyCommandOutput, APIGatewayClientResolvedConfig> {
@@ -42,6 +42,21 @@ export interface CreateAuthorizerCommandOutput extends Authorizer, __MetadataBea
42
42
  * };
43
43
  * const command = new CreateAuthorizerCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // Authorizer
46
+ * // id: "STRING_VALUE",
47
+ * // name: "STRING_VALUE",
48
+ * // type: "TOKEN" || "REQUEST" || "COGNITO_USER_POOLS",
49
+ * // providerARNs: [ // ListOfARNs
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // authType: "STRING_VALUE",
53
+ * // authorizerUri: "STRING_VALUE",
54
+ * // authorizerCredentials: "STRING_VALUE",
55
+ * // identitySource: "STRING_VALUE",
56
+ * // identityValidationExpression: "STRING_VALUE",
57
+ * // authorizerResultTtlInSeconds: Number("int"),
58
+ * // };
59
+ *
45
60
  * ```
46
61
  *
47
62
  * @param CreateAuthorizerCommandInput - {@link CreateAuthorizerCommandInput}
@@ -68,6 +83,8 @@ export interface CreateAuthorizerCommandOutput extends Authorizer, __MetadataBea
68
83
  * @throws {@link UnauthorizedException} (client fault)
69
84
  * <p>The request is denied because the caller has insufficient permissions.</p>
70
85
  *
86
+ * @throws {@link APIGatewayServiceException}
87
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
71
88
  *
72
89
  */
73
90
  export declare class CreateAuthorizerCommand extends $Command<CreateAuthorizerCommandInput, CreateAuthorizerCommandOutput, APIGatewayClientResolvedConfig> {
@@ -34,6 +34,12 @@ export interface CreateBasePathMappingCommandOutput extends BasePathMapping, __M
34
34
  * };
35
35
  * const command = new CreateBasePathMappingCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // BasePathMapping
38
+ * // basePath: "STRING_VALUE",
39
+ * // restApiId: "STRING_VALUE",
40
+ * // stage: "STRING_VALUE",
41
+ * // };
42
+ *
37
43
  * ```
38
44
  *
39
45
  * @param CreateBasePathMappingCommandInput - {@link CreateBasePathMappingCommandInput}
@@ -60,6 +66,8 @@ export interface CreateBasePathMappingCommandOutput extends BasePathMapping, __M
60
66
  * @throws {@link UnauthorizedException} (client fault)
61
67
  * <p>The request is denied because the caller has insufficient permissions.</p>
62
68
  *
69
+ * @throws {@link APIGatewayServiceException}
70
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
63
71
  *
64
72
  */
65
73
  export declare class CreateBasePathMappingCommand extends $Command<CreateBasePathMappingCommandInput, CreateBasePathMappingCommandOutput, APIGatewayClientResolvedConfig> {
@@ -47,6 +47,20 @@ export interface CreateDeploymentCommandOutput extends Deployment, __MetadataBea
47
47
  * };
48
48
  * const command = new CreateDeploymentCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // { // Deployment
51
+ * // id: "STRING_VALUE",
52
+ * // description: "STRING_VALUE",
53
+ * // createdDate: new Date("TIMESTAMP"),
54
+ * // apiSummary: { // PathToMapOfMethodSnapshot
55
+ * // "<keys>": { // MapOfMethodSnapshot
56
+ * // "<keys>": { // MethodSnapshot
57
+ * // authorizationType: "STRING_VALUE",
58
+ * // apiKeyRequired: true || false,
59
+ * // },
60
+ * // },
61
+ * // },
62
+ * // };
63
+ *
50
64
  * ```
51
65
  *
52
66
  * @param CreateDeploymentCommandInput - {@link CreateDeploymentCommandInput}
@@ -76,6 +90,8 @@ export interface CreateDeploymentCommandOutput extends Deployment, __MetadataBea
76
90
  * @throws {@link UnauthorizedException} (client fault)
77
91
  * <p>The request is denied because the caller has insufficient permissions.</p>
78
92
  *
93
+ * @throws {@link APIGatewayServiceException}
94
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
79
95
  *
80
96
  */
81
97
  export declare class CreateDeploymentCommand extends $Command<CreateDeploymentCommandInput, CreateDeploymentCommandOutput, APIGatewayClientResolvedConfig> {
@@ -39,6 +39,18 @@ export interface CreateDocumentationPartCommandOutput extends DocumentationPart,
39
39
  * };
40
40
  * const command = new CreateDocumentationPartCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // DocumentationPart
43
+ * // id: "STRING_VALUE",
44
+ * // location: { // DocumentationPartLocation
45
+ * // type: "API" || "AUTHORIZER" || "MODEL" || "RESOURCE" || "METHOD" || "PATH_PARAMETER" || "QUERY_PARAMETER" || "REQUEST_HEADER" || "REQUEST_BODY" || "RESPONSE" || "RESPONSE_HEADER" || "RESPONSE_BODY", // required
46
+ * // path: "STRING_VALUE",
47
+ * // method: "STRING_VALUE",
48
+ * // statusCode: "STRING_VALUE",
49
+ * // name: "STRING_VALUE",
50
+ * // },
51
+ * // properties: "STRING_VALUE",
52
+ * // };
53
+ *
42
54
  * ```
43
55
  *
44
56
  * @param CreateDocumentationPartCommandInput - {@link CreateDocumentationPartCommandInput}
@@ -65,6 +77,8 @@ export interface CreateDocumentationPartCommandOutput extends DocumentationPart,
65
77
  * @throws {@link UnauthorizedException} (client fault)
66
78
  * <p>The request is denied because the caller has insufficient permissions.</p>
67
79
  *
80
+ * @throws {@link APIGatewayServiceException}
81
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
68
82
  *
69
83
  */
70
84
  export declare class CreateDocumentationPartCommand extends $Command<CreateDocumentationPartCommandInput, CreateDocumentationPartCommandOutput, APIGatewayClientResolvedConfig> {
@@ -34,6 +34,12 @@ export interface CreateDocumentationVersionCommandOutput extends DocumentationVe
34
34
  * };
35
35
  * const command = new CreateDocumentationVersionCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // DocumentationVersion
38
+ * // version: "STRING_VALUE",
39
+ * // createdDate: new Date("TIMESTAMP"),
40
+ * // description: "STRING_VALUE",
41
+ * // };
42
+ *
37
43
  * ```
38
44
  *
39
45
  * @param CreateDocumentationVersionCommandInput - {@link CreateDocumentationVersionCommandInput}
@@ -60,6 +66,8 @@ export interface CreateDocumentationVersionCommandOutput extends DocumentationVe
60
66
  * @throws {@link UnauthorizedException} (client fault)
61
67
  * <p>The request is denied because the caller has insufficient permissions.</p>
62
68
  *
69
+ * @throws {@link APIGatewayServiceException}
70
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
63
71
  *
64
72
  */
65
73
  export declare class CreateDocumentationVersionCommand extends $Command<CreateDocumentationVersionCommandInput, CreateDocumentationVersionCommandOutput, APIGatewayClientResolvedConfig> {
@@ -55,6 +55,41 @@ export interface CreateDomainNameCommandOutput extends DomainName, __MetadataBea
55
55
  * };
56
56
  * const command = new CreateDomainNameCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // DomainName
59
+ * // domainName: "STRING_VALUE",
60
+ * // certificateName: "STRING_VALUE",
61
+ * // certificateArn: "STRING_VALUE",
62
+ * // certificateUploadDate: new Date("TIMESTAMP"),
63
+ * // regionalDomainName: "STRING_VALUE",
64
+ * // regionalHostedZoneId: "STRING_VALUE",
65
+ * // regionalCertificateName: "STRING_VALUE",
66
+ * // regionalCertificateArn: "STRING_VALUE",
67
+ * // distributionDomainName: "STRING_VALUE",
68
+ * // distributionHostedZoneId: "STRING_VALUE",
69
+ * // endpointConfiguration: { // EndpointConfiguration
70
+ * // types: [ // ListOfEndpointType
71
+ * // "REGIONAL" || "EDGE" || "PRIVATE",
72
+ * // ],
73
+ * // vpcEndpointIds: [ // ListOfString
74
+ * // "STRING_VALUE",
75
+ * // ],
76
+ * // },
77
+ * // domainNameStatus: "AVAILABLE" || "UPDATING" || "PENDING" || "PENDING_CERTIFICATE_REIMPORT" || "PENDING_OWNERSHIP_VERIFICATION",
78
+ * // domainNameStatusMessage: "STRING_VALUE",
79
+ * // securityPolicy: "TLS_1_0" || "TLS_1_2",
80
+ * // tags: { // MapOfStringToString
81
+ * // "<keys>": "STRING_VALUE",
82
+ * // },
83
+ * // mutualTlsAuthentication: { // MutualTlsAuthentication
84
+ * // truststoreUri: "STRING_VALUE",
85
+ * // truststoreVersion: "STRING_VALUE",
86
+ * // truststoreWarnings: [
87
+ * // "STRING_VALUE",
88
+ * // ],
89
+ * // },
90
+ * // ownershipVerificationCertificateArn: "STRING_VALUE",
91
+ * // };
92
+ *
58
93
  * ```
59
94
  *
60
95
  * @param CreateDomainNameCommandInput - {@link CreateDomainNameCommandInput}
@@ -78,6 +113,8 @@ export interface CreateDomainNameCommandOutput extends DomainName, __MetadataBea
78
113
  * @throws {@link UnauthorizedException} (client fault)
79
114
  * <p>The request is denied because the caller has insufficient permissions.</p>
80
115
  *
116
+ * @throws {@link APIGatewayServiceException}
117
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
81
118
  *
82
119
  */
83
120
  export declare class CreateDomainNameCommand extends $Command<CreateDomainNameCommandInput, CreateDomainNameCommandOutput, APIGatewayClientResolvedConfig> {
@@ -35,6 +35,14 @@ export interface CreateModelCommandOutput extends Model, __MetadataBearer {
35
35
  * };
36
36
  * const command = new CreateModelCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // Model
39
+ * // id: "STRING_VALUE",
40
+ * // name: "STRING_VALUE",
41
+ * // description: "STRING_VALUE",
42
+ * // schema: "STRING_VALUE",
43
+ * // contentType: "STRING_VALUE",
44
+ * // };
45
+ *
38
46
  * ```
39
47
  *
40
48
  * @param CreateModelCommandInput - {@link CreateModelCommandInput}
@@ -61,6 +69,8 @@ export interface CreateModelCommandOutput extends Model, __MetadataBearer {
61
69
  * @throws {@link UnauthorizedException} (client fault)
62
70
  * <p>The request is denied because the caller has insufficient permissions.</p>
63
71
  *
72
+ * @throws {@link APIGatewayServiceException}
73
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
64
74
  *
65
75
  */
66
76
  export declare class CreateModelCommand extends $Command<CreateModelCommandInput, CreateModelCommandOutput, APIGatewayClientResolvedConfig> {
@@ -34,6 +34,13 @@ export interface CreateRequestValidatorCommandOutput extends RequestValidator, _
34
34
  * };
35
35
  * const command = new CreateRequestValidatorCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // RequestValidator
38
+ * // id: "STRING_VALUE",
39
+ * // name: "STRING_VALUE",
40
+ * // validateRequestBody: true || false,
41
+ * // validateRequestParameters: true || false,
42
+ * // };
43
+ *
37
44
  * ```
38
45
  *
39
46
  * @param CreateRequestValidatorCommandInput - {@link CreateRequestValidatorCommandInput}
@@ -60,6 +67,8 @@ export interface CreateRequestValidatorCommandOutput extends RequestValidator, _
60
67
  * @throws {@link UnauthorizedException} (client fault)
61
68
  * <p>The request is denied because the caller has insufficient permissions.</p>
62
69
  *
70
+ * @throws {@link APIGatewayServiceException}
71
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
63
72
  *
64
73
  */
65
74
  export declare class CreateRequestValidatorCommand extends $Command<CreateRequestValidatorCommandInput, CreateRequestValidatorCommandOutput, APIGatewayClientResolvedConfig> {
@@ -33,6 +33,72 @@ export interface CreateResourceCommandOutput extends Resource, __MetadataBearer
33
33
  * };
34
34
  * const command = new CreateResourceCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // Resource
37
+ * // id: "STRING_VALUE",
38
+ * // parentId: "STRING_VALUE",
39
+ * // pathPart: "STRING_VALUE",
40
+ * // path: "STRING_VALUE",
41
+ * // resourceMethods: { // MapOfMethod
42
+ * // "<keys>": { // Method
43
+ * // httpMethod: "STRING_VALUE",
44
+ * // authorizationType: "STRING_VALUE",
45
+ * // authorizerId: "STRING_VALUE",
46
+ * // apiKeyRequired: true || false,
47
+ * // requestValidatorId: "STRING_VALUE",
48
+ * // operationName: "STRING_VALUE",
49
+ * // requestParameters: { // MapOfStringToBoolean
50
+ * // "<keys>": true || false,
51
+ * // },
52
+ * // requestModels: { // MapOfStringToString
53
+ * // "<keys>": "STRING_VALUE",
54
+ * // },
55
+ * // methodResponses: { // MapOfMethodResponse
56
+ * // "<keys>": { // MethodResponse
57
+ * // statusCode: "STRING_VALUE",
58
+ * // responseParameters: {
59
+ * // "<keys>": true || false,
60
+ * // },
61
+ * // responseModels: {
62
+ * // "<keys>": "STRING_VALUE",
63
+ * // },
64
+ * // },
65
+ * // },
66
+ * // methodIntegration: { // Integration
67
+ * // type: "HTTP" || "AWS" || "MOCK" || "HTTP_PROXY" || "AWS_PROXY",
68
+ * // httpMethod: "STRING_VALUE",
69
+ * // uri: "STRING_VALUE",
70
+ * // connectionType: "INTERNET" || "VPC_LINK",
71
+ * // connectionId: "STRING_VALUE",
72
+ * // credentials: "STRING_VALUE",
73
+ * // requestParameters: "<MapOfStringToString>",
74
+ * // requestTemplates: "<MapOfStringToString>",
75
+ * // passthroughBehavior: "STRING_VALUE",
76
+ * // contentHandling: "CONVERT_TO_BINARY" || "CONVERT_TO_TEXT",
77
+ * // timeoutInMillis: Number("int"),
78
+ * // cacheNamespace: "STRING_VALUE",
79
+ * // cacheKeyParameters: [ // ListOfString
80
+ * // "STRING_VALUE",
81
+ * // ],
82
+ * // integrationResponses: { // MapOfIntegrationResponse
83
+ * // "<keys>": { // IntegrationResponse
84
+ * // statusCode: "STRING_VALUE",
85
+ * // selectionPattern: "STRING_VALUE",
86
+ * // responseParameters: "<MapOfStringToString>",
87
+ * // responseTemplates: "<MapOfStringToString>",
88
+ * // contentHandling: "CONVERT_TO_BINARY" || "CONVERT_TO_TEXT",
89
+ * // },
90
+ * // },
91
+ * // tlsConfig: { // TlsConfig
92
+ * // insecureSkipVerification: true || false,
93
+ * // },
94
+ * // },
95
+ * // authorizationScopes: [
96
+ * // "STRING_VALUE",
97
+ * // ],
98
+ * // },
99
+ * // },
100
+ * // };
101
+ *
36
102
  * ```
37
103
  *
38
104
  * @param CreateResourceCommandInput - {@link CreateResourceCommandInput}
@@ -59,6 +125,8 @@ export interface CreateResourceCommandOutput extends Resource, __MetadataBearer
59
125
  * @throws {@link UnauthorizedException} (client fault)
60
126
  * <p>The request is denied because the caller has insufficient permissions.</p>
61
127
  *
128
+ * @throws {@link APIGatewayServiceException}
129
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
62
130
  *
63
131
  */
64
132
  export declare class CreateResourceCommand extends $Command<CreateResourceCommandInput, CreateResourceCommandOutput, APIGatewayClientResolvedConfig> {
@@ -52,6 +52,35 @@ export interface CreateRestApiCommandOutput extends RestApi, __MetadataBearer {
52
52
  * };
53
53
  * const command = new CreateRestApiCommand(input);
54
54
  * const response = await client.send(command);
55
+ * // { // RestApi
56
+ * // id: "STRING_VALUE",
57
+ * // name: "STRING_VALUE",
58
+ * // description: "STRING_VALUE",
59
+ * // createdDate: new Date("TIMESTAMP"),
60
+ * // version: "STRING_VALUE",
61
+ * // warnings: [ // ListOfString
62
+ * // "STRING_VALUE",
63
+ * // ],
64
+ * // binaryMediaTypes: [
65
+ * // "STRING_VALUE",
66
+ * // ],
67
+ * // minimumCompressionSize: Number("int"),
68
+ * // apiKeySource: "HEADER" || "AUTHORIZER",
69
+ * // endpointConfiguration: { // EndpointConfiguration
70
+ * // types: [ // ListOfEndpointType
71
+ * // "REGIONAL" || "EDGE" || "PRIVATE",
72
+ * // ],
73
+ * // vpcEndpointIds: [
74
+ * // "STRING_VALUE",
75
+ * // ],
76
+ * // },
77
+ * // policy: "STRING_VALUE",
78
+ * // tags: { // MapOfStringToString
79
+ * // "<keys>": "STRING_VALUE",
80
+ * // },
81
+ * // disableExecuteApiEndpoint: true || false,
82
+ * // };
83
+ *
55
84
  * ```
56
85
  *
57
86
  * @param CreateRestApiCommandInput - {@link CreateRestApiCommandInput}
@@ -75,6 +104,8 @@ export interface CreateRestApiCommandOutput extends RestApi, __MetadataBearer {
75
104
  * @throws {@link UnauthorizedException} (client fault)
76
105
  * <p>The request is denied because the caller has insufficient permissions.</p>
77
106
  *
107
+ * @throws {@link APIGatewayServiceException}
108
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
78
109
  *
79
110
  */
80
111
  export declare class CreateRestApiCommand extends $Command<CreateRestApiCommandInput, CreateRestApiCommandOutput, APIGatewayClientResolvedConfig> {
@@ -52,6 +52,53 @@ export interface CreateStageCommandOutput extends Stage, __MetadataBearer {
52
52
  * };
53
53
  * const command = new CreateStageCommand(input);
54
54
  * const response = await client.send(command);
55
+ * // { // Stage
56
+ * // deploymentId: "STRING_VALUE",
57
+ * // clientCertificateId: "STRING_VALUE",
58
+ * // stageName: "STRING_VALUE",
59
+ * // description: "STRING_VALUE",
60
+ * // cacheClusterEnabled: true || false,
61
+ * // cacheClusterSize: "0.5" || "1.6" || "6.1" || "13.5" || "28.4" || "58.2" || "118" || "237",
62
+ * // cacheClusterStatus: "CREATE_IN_PROGRESS" || "AVAILABLE" || "DELETE_IN_PROGRESS" || "NOT_AVAILABLE" || "FLUSH_IN_PROGRESS",
63
+ * // methodSettings: { // MapOfMethodSettings
64
+ * // "<keys>": { // MethodSetting
65
+ * // metricsEnabled: true || false,
66
+ * // loggingLevel: "STRING_VALUE",
67
+ * // dataTraceEnabled: true || false,
68
+ * // throttlingBurstLimit: Number("int"),
69
+ * // throttlingRateLimit: Number("double"),
70
+ * // cachingEnabled: true || false,
71
+ * // cacheTtlInSeconds: Number("int"),
72
+ * // cacheDataEncrypted: true || false,
73
+ * // requireAuthorizationForCacheControl: true || false,
74
+ * // unauthorizedCacheControlHeaderStrategy: "FAIL_WITH_403" || "SUCCEED_WITH_RESPONSE_HEADER" || "SUCCEED_WITHOUT_RESPONSE_HEADER",
75
+ * // },
76
+ * // },
77
+ * // variables: { // MapOfStringToString
78
+ * // "<keys>": "STRING_VALUE",
79
+ * // },
80
+ * // documentationVersion: "STRING_VALUE",
81
+ * // accessLogSettings: { // AccessLogSettings
82
+ * // format: "STRING_VALUE",
83
+ * // destinationArn: "STRING_VALUE",
84
+ * // },
85
+ * // canarySettings: { // CanarySettings
86
+ * // percentTraffic: Number("double"),
87
+ * // deploymentId: "STRING_VALUE",
88
+ * // stageVariableOverrides: {
89
+ * // "<keys>": "STRING_VALUE",
90
+ * // },
91
+ * // useStageCache: true || false,
92
+ * // },
93
+ * // tracingEnabled: true || false,
94
+ * // webAclArn: "STRING_VALUE",
95
+ * // tags: {
96
+ * // "<keys>": "STRING_VALUE",
97
+ * // },
98
+ * // createdDate: new Date("TIMESTAMP"),
99
+ * // lastUpdatedDate: new Date("TIMESTAMP"),
100
+ * // };
101
+ *
55
102
  * ```
56
103
  *
57
104
  * @param CreateStageCommandInput - {@link CreateStageCommandInput}
@@ -78,6 +125,8 @@ export interface CreateStageCommandOutput extends Stage, __MetadataBearer {
78
125
  * @throws {@link UnauthorizedException} (client fault)
79
126
  * <p>The request is denied because the caller has insufficient permissions.</p>
80
127
  *
128
+ * @throws {@link APIGatewayServiceException}
129
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
81
130
  *
82
131
  */
83
132
  export declare class CreateStageCommand extends $Command<CreateStageCommandInput, CreateStageCommandOutput, APIGatewayClientResolvedConfig> {
@@ -56,6 +56,37 @@ export interface CreateUsagePlanCommandOutput extends UsagePlan, __MetadataBeare
56
56
  * };
57
57
  * const command = new CreateUsagePlanCommand(input);
58
58
  * const response = await client.send(command);
59
+ * // { // UsagePlan
60
+ * // id: "STRING_VALUE",
61
+ * // name: "STRING_VALUE",
62
+ * // description: "STRING_VALUE",
63
+ * // apiStages: [ // ListOfApiStage
64
+ * // { // ApiStage
65
+ * // apiId: "STRING_VALUE",
66
+ * // stage: "STRING_VALUE",
67
+ * // throttle: { // MapOfApiStageThrottleSettings
68
+ * // "<keys>": { // ThrottleSettings
69
+ * // burstLimit: Number("int"),
70
+ * // rateLimit: Number("double"),
71
+ * // },
72
+ * // },
73
+ * // },
74
+ * // ],
75
+ * // throttle: {
76
+ * // burstLimit: Number("int"),
77
+ * // rateLimit: Number("double"),
78
+ * // },
79
+ * // quota: { // QuotaSettings
80
+ * // limit: Number("int"),
81
+ * // offset: Number("int"),
82
+ * // period: "DAY" || "WEEK" || "MONTH",
83
+ * // },
84
+ * // productCode: "STRING_VALUE",
85
+ * // tags: { // MapOfStringToString
86
+ * // "<keys>": "STRING_VALUE",
87
+ * // },
88
+ * // };
89
+ *
59
90
  * ```
60
91
  *
61
92
  * @param CreateUsagePlanCommandInput - {@link CreateUsagePlanCommandInput}
@@ -82,6 +113,8 @@ export interface CreateUsagePlanCommandOutput extends UsagePlan, __MetadataBeare
82
113
  * @throws {@link UnauthorizedException} (client fault)
83
114
  * <p>The request is denied because the caller has insufficient permissions.</p>
84
115
  *
116
+ * @throws {@link APIGatewayServiceException}
117
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
85
118
  *
86
119
  */
87
120
  export declare class CreateUsagePlanCommand extends $Command<CreateUsagePlanCommandInput, CreateUsagePlanCommandOutput, APIGatewayClientResolvedConfig> {
@@ -33,6 +33,13 @@ export interface CreateUsagePlanKeyCommandOutput extends UsagePlanKey, __Metadat
33
33
  * };
34
34
  * const command = new CreateUsagePlanKeyCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // UsagePlanKey
37
+ * // id: "STRING_VALUE",
38
+ * // type: "STRING_VALUE",
39
+ * // value: "STRING_VALUE",
40
+ * // name: "STRING_VALUE",
41
+ * // };
42
+ *
36
43
  * ```
37
44
  *
38
45
  * @param CreateUsagePlanKeyCommandInput - {@link CreateUsagePlanKeyCommandInput}
@@ -59,6 +66,8 @@ export interface CreateUsagePlanKeyCommandOutput extends UsagePlanKey, __Metadat
59
66
  * @throws {@link UnauthorizedException} (client fault)
60
67
  * <p>The request is denied because the caller has insufficient permissions.</p>
61
68
  *
69
+ * @throws {@link APIGatewayServiceException}
70
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
62
71
  *
63
72
  */
64
73
  export declare class CreateUsagePlanKeyCommand extends $Command<CreateUsagePlanKeyCommandInput, CreateUsagePlanKeyCommandOutput, APIGatewayClientResolvedConfig> {
@@ -38,6 +38,20 @@ export interface CreateVpcLinkCommandOutput extends VpcLink, __MetadataBearer {
38
38
  * };
39
39
  * const command = new CreateVpcLinkCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // VpcLink
42
+ * // id: "STRING_VALUE",
43
+ * // name: "STRING_VALUE",
44
+ * // description: "STRING_VALUE",
45
+ * // targetArns: [ // ListOfString
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // status: "AVAILABLE" || "PENDING" || "DELETING" || "FAILED",
49
+ * // statusMessage: "STRING_VALUE",
50
+ * // tags: { // MapOfStringToString
51
+ * // "<keys>": "STRING_VALUE",
52
+ * // },
53
+ * // };
54
+ *
41
55
  * ```
42
56
  *
43
57
  * @param CreateVpcLinkCommandInput - {@link CreateVpcLinkCommandInput}
@@ -61,6 +75,8 @@ export interface CreateVpcLinkCommandOutput extends VpcLink, __MetadataBearer {
61
75
  * @throws {@link UnauthorizedException} (client fault)
62
76
  * <p>The request is denied because the caller has insufficient permissions.</p>
63
77
  *
78
+ * @throws {@link APIGatewayServiceException}
79
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
64
80
  *
65
81
  */
66
82
  export declare class CreateVpcLinkCommand extends $Command<CreateVpcLinkCommandInput, CreateVpcLinkCommandOutput, APIGatewayClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeleteApiKeyCommandOutput extends __MetadataBearer {
31
31
  * };
32
32
  * const command = new DeleteApiKeyCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteApiKeyCommandInput - {@link DeleteApiKeyCommandInput}
@@ -54,6 +56,8 @@ export interface DeleteApiKeyCommandOutput extends __MetadataBearer {
54
56
  * @throws {@link UnauthorizedException} (client fault)
55
57
  * <p>The request is denied because the caller has insufficient permissions.</p>
56
58
  *
59
+ * @throws {@link APIGatewayServiceException}
60
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
57
61
  *
58
62
  */
59
63
  export declare class DeleteApiKeyCommand extends $Command<DeleteApiKeyCommandInput, DeleteApiKeyCommandOutput, APIGatewayClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface DeleteAuthorizerCommandOutput extends __MetadataBearer {
32
32
  * };
33
33
  * const command = new DeleteAuthorizerCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteAuthorizerCommandInput - {@link DeleteAuthorizerCommandInput}
@@ -55,6 +57,8 @@ export interface DeleteAuthorizerCommandOutput extends __MetadataBearer {
55
57
  * @throws {@link UnauthorizedException} (client fault)
56
58
  * <p>The request is denied because the caller has insufficient permissions.</p>
57
59
  *
60
+ * @throws {@link APIGatewayServiceException}
61
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
58
62
  *
59
63
  */
60
64
  export declare class DeleteAuthorizerCommand extends $Command<DeleteAuthorizerCommandInput, DeleteAuthorizerCommandOutput, APIGatewayClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface DeleteBasePathMappingCommandOutput extends __MetadataBearer {
32
32
  * };
33
33
  * const command = new DeleteBasePathMappingCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteBasePathMappingCommandInput - {@link DeleteBasePathMappingCommandInput}
@@ -55,6 +57,8 @@ export interface DeleteBasePathMappingCommandOutput extends __MetadataBearer {
55
57
  * @throws {@link UnauthorizedException} (client fault)
56
58
  * <p>The request is denied because the caller has insufficient permissions.</p>
57
59
  *
60
+ * @throws {@link APIGatewayServiceException}
61
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
58
62
  *
59
63
  */
60
64
  export declare class DeleteBasePathMappingCommand extends $Command<DeleteBasePathMappingCommandInput, DeleteBasePathMappingCommandOutput, APIGatewayClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeleteClientCertificateCommandOutput extends __MetadataBearer {
31
31
  * };
32
32
  * const command = new DeleteClientCertificateCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteClientCertificateCommandInput - {@link DeleteClientCertificateCommandInput}
@@ -54,6 +56,8 @@ export interface DeleteClientCertificateCommandOutput extends __MetadataBearer {
54
56
  * @throws {@link UnauthorizedException} (client fault)
55
57
  * <p>The request is denied because the caller has insufficient permissions.</p>
56
58
  *
59
+ * @throws {@link APIGatewayServiceException}
60
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
57
61
  *
58
62
  */
59
63
  export declare class DeleteClientCertificateCommand extends $Command<DeleteClientCertificateCommandInput, DeleteClientCertificateCommandOutput, APIGatewayClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface DeleteDeploymentCommandOutput extends __MetadataBearer {
32
32
  * };
33
33
  * const command = new DeleteDeploymentCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteDeploymentCommandInput - {@link DeleteDeploymentCommandInput}
@@ -58,6 +60,8 @@ export interface DeleteDeploymentCommandOutput extends __MetadataBearer {
58
60
  * @throws {@link UnauthorizedException} (client fault)
59
61
  * <p>The request is denied because the caller has insufficient permissions.</p>
60
62
  *
63
+ * @throws {@link APIGatewayServiceException}
64
+ * <p>Base exception class for all service exceptions from APIGateway service.</p>
61
65
  *
62
66
  */
63
67
  export declare class DeleteDeploymentCommand extends $Command<DeleteDeploymentCommandInput, DeleteDeploymentCommandOutput, APIGatewayClientResolvedConfig> {