@aws-sdk/client-api-gateway 3.696.0 → 3.698.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.
- package/README.md +32 -0
- package/dist-cjs/index.js +241 -8
- package/dist-es/APIGateway.js +8 -0
- package/dist-es/commands/CreateDomainNameAccessAssociationCommand.js +22 -0
- package/dist-es/commands/DeleteDomainNameAccessAssociationCommand.js +22 -0
- package/dist-es/commands/GetDomainNameAccessAssociationsCommand.js +22 -0
- package/dist-es/commands/RejectDomainNameAccessAssociationCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +153 -6
- package/dist-types/APIGateway.d.ts +29 -0
- package/dist-types/APIGatewayClient.d.ts +6 -2
- package/dist-types/commands/CreateBasePathMappingCommand.d.ts +1 -0
- package/dist-types/commands/CreateDomainNameAccessAssociationCommand.d.ts +98 -0
- package/dist-types/commands/CreateDomainNameCommand.d.ts +5 -0
- package/dist-types/commands/DeleteBasePathMappingCommand.d.ts +1 -0
- package/dist-types/commands/DeleteDomainNameAccessAssociationCommand.d.ts +85 -0
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +1 -0
- package/dist-types/commands/GetBasePathMappingCommand.d.ts +1 -0
- package/dist-types/commands/GetBasePathMappingsCommand.d.ts +1 -0
- package/dist-types/commands/GetDomainNameAccessAssociationsCommand.d.ts +96 -0
- package/dist-types/commands/GetDomainNameCommand.d.ts +5 -0
- package/dist-types/commands/GetDomainNamesCommand.d.ts +5 -0
- package/dist-types/commands/RejectDomainNameAccessAssociationCommand.d.ts +86 -0
- package/dist-types/commands/UpdateBasePathMappingCommand.d.ts +1 -0
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +5 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +259 -6
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/APIGateway.d.ts +87 -0
- package/dist-types/ts3.4/APIGatewayClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateDomainNameAccessAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteDomainNameAccessAssociationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetDomainNameAccessAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RejectDomainNameAccessAssociationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +53 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ import { CreateBasePathMappingCommandInput, CreateBasePathMappingCommandOutput }
|
|
|
13
13
|
import { CreateDeploymentCommandInput, CreateDeploymentCommandOutput } from "./commands/CreateDeploymentCommand";
|
|
14
14
|
import { CreateDocumentationPartCommandInput, CreateDocumentationPartCommandOutput } from "./commands/CreateDocumentationPartCommand";
|
|
15
15
|
import { CreateDocumentationVersionCommandInput, CreateDocumentationVersionCommandOutput } from "./commands/CreateDocumentationVersionCommand";
|
|
16
|
+
import { CreateDomainNameAccessAssociationCommandInput, CreateDomainNameAccessAssociationCommandOutput } from "./commands/CreateDomainNameAccessAssociationCommand";
|
|
16
17
|
import { CreateDomainNameCommandInput, CreateDomainNameCommandOutput } from "./commands/CreateDomainNameCommand";
|
|
17
18
|
import { CreateModelCommandInput, CreateModelCommandOutput } from "./commands/CreateModelCommand";
|
|
18
19
|
import { CreateRequestValidatorCommandInput, CreateRequestValidatorCommandOutput } from "./commands/CreateRequestValidatorCommand";
|
|
@@ -29,6 +30,7 @@ import { DeleteClientCertificateCommandInput, DeleteClientCertificateCommandOutp
|
|
|
29
30
|
import { DeleteDeploymentCommandInput, DeleteDeploymentCommandOutput } from "./commands/DeleteDeploymentCommand";
|
|
30
31
|
import { DeleteDocumentationPartCommandInput, DeleteDocumentationPartCommandOutput } from "./commands/DeleteDocumentationPartCommand";
|
|
31
32
|
import { DeleteDocumentationVersionCommandInput, DeleteDocumentationVersionCommandOutput } from "./commands/DeleteDocumentationVersionCommand";
|
|
33
|
+
import { DeleteDomainNameAccessAssociationCommandInput, DeleteDomainNameAccessAssociationCommandOutput } from "./commands/DeleteDomainNameAccessAssociationCommand";
|
|
32
34
|
import { DeleteDomainNameCommandInput, DeleteDomainNameCommandOutput } from "./commands/DeleteDomainNameCommand";
|
|
33
35
|
import { DeleteGatewayResponseCommandInput, DeleteGatewayResponseCommandOutput } from "./commands/DeleteGatewayResponseCommand";
|
|
34
36
|
import { DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
|
|
@@ -61,6 +63,7 @@ import { GetDocumentationPartCommandInput, GetDocumentationPartCommandOutput } f
|
|
|
61
63
|
import { GetDocumentationPartsCommandInput, GetDocumentationPartsCommandOutput } from "./commands/GetDocumentationPartsCommand";
|
|
62
64
|
import { GetDocumentationVersionCommandInput, GetDocumentationVersionCommandOutput } from "./commands/GetDocumentationVersionCommand";
|
|
63
65
|
import { GetDocumentationVersionsCommandInput, GetDocumentationVersionsCommandOutput } from "./commands/GetDocumentationVersionsCommand";
|
|
66
|
+
import { GetDomainNameAccessAssociationsCommandInput, GetDomainNameAccessAssociationsCommandOutput } from "./commands/GetDomainNameAccessAssociationsCommand";
|
|
64
67
|
import { GetDomainNameCommandInput, GetDomainNameCommandOutput } from "./commands/GetDomainNameCommand";
|
|
65
68
|
import { GetDomainNamesCommandInput, GetDomainNamesCommandOutput } from "./commands/GetDomainNamesCommand";
|
|
66
69
|
import { GetExportCommandInput, GetExportCommandOutput } from "./commands/GetExportCommand";
|
|
@@ -101,6 +104,7 @@ import { PutIntegrationResponseCommandInput, PutIntegrationResponseCommandOutput
|
|
|
101
104
|
import { PutMethodCommandInput, PutMethodCommandOutput } from "./commands/PutMethodCommand";
|
|
102
105
|
import { PutMethodResponseCommandInput, PutMethodResponseCommandOutput } from "./commands/PutMethodResponseCommand";
|
|
103
106
|
import { PutRestApiCommandInput, PutRestApiCommandOutput } from "./commands/PutRestApiCommand";
|
|
107
|
+
import { RejectDomainNameAccessAssociationCommandInput, RejectDomainNameAccessAssociationCommandOutput } from "./commands/RejectDomainNameAccessAssociationCommand";
|
|
104
108
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
105
109
|
import { TestInvokeAuthorizerCommandInput, TestInvokeAuthorizerCommandOutput } from "./commands/TestInvokeAuthorizerCommand";
|
|
106
110
|
import { TestInvokeMethodCommandInput, TestInvokeMethodCommandOutput } from "./commands/TestInvokeMethodCommand";
|
|
@@ -133,11 +137,11 @@ export { __Client };
|
|
|
133
137
|
/**
|
|
134
138
|
* @public
|
|
135
139
|
*/
|
|
136
|
-
export type ServiceInputTypes = CreateApiKeyCommandInput | CreateAuthorizerCommandInput | CreateBasePathMappingCommandInput | CreateDeploymentCommandInput | CreateDocumentationPartCommandInput | CreateDocumentationVersionCommandInput | CreateDomainNameCommandInput | CreateModelCommandInput | CreateRequestValidatorCommandInput | CreateResourceCommandInput | CreateRestApiCommandInput | CreateStageCommandInput | CreateUsagePlanCommandInput | CreateUsagePlanKeyCommandInput | CreateVpcLinkCommandInput | DeleteApiKeyCommandInput | DeleteAuthorizerCommandInput | DeleteBasePathMappingCommandInput | DeleteClientCertificateCommandInput | DeleteDeploymentCommandInput | DeleteDocumentationPartCommandInput | DeleteDocumentationVersionCommandInput | DeleteDomainNameCommandInput | DeleteGatewayResponseCommandInput | DeleteIntegrationCommandInput | DeleteIntegrationResponseCommandInput | DeleteMethodCommandInput | DeleteMethodResponseCommandInput | DeleteModelCommandInput | DeleteRequestValidatorCommandInput | DeleteResourceCommandInput | DeleteRestApiCommandInput | DeleteStageCommandInput | DeleteUsagePlanCommandInput | DeleteUsagePlanKeyCommandInput | DeleteVpcLinkCommandInput | FlushStageAuthorizersCacheCommandInput | FlushStageCacheCommandInput | GenerateClientCertificateCommandInput | GetAccountCommandInput | GetApiKeyCommandInput | GetApiKeysCommandInput | GetAuthorizerCommandInput | GetAuthorizersCommandInput | GetBasePathMappingCommandInput | GetBasePathMappingsCommandInput | GetClientCertificateCommandInput | GetClientCertificatesCommandInput | GetDeploymentCommandInput | GetDeploymentsCommandInput | GetDocumentationPartCommandInput | GetDocumentationPartsCommandInput | GetDocumentationVersionCommandInput | GetDocumentationVersionsCommandInput | GetDomainNameCommandInput | GetDomainNamesCommandInput | GetExportCommandInput | GetGatewayResponseCommandInput | GetGatewayResponsesCommandInput | GetIntegrationCommandInput | GetIntegrationResponseCommandInput | GetMethodCommandInput | GetMethodResponseCommandInput | GetModelCommandInput | GetModelTemplateCommandInput | GetModelsCommandInput | GetRequestValidatorCommandInput | GetRequestValidatorsCommandInput | GetResourceCommandInput | GetResourcesCommandInput | GetRestApiCommandInput | GetRestApisCommandInput | GetSdkCommandInput | GetSdkTypeCommandInput | GetSdkTypesCommandInput | GetStageCommandInput | GetStagesCommandInput | GetTagsCommandInput | GetUsageCommandInput | GetUsagePlanCommandInput | GetUsagePlanKeyCommandInput | GetUsagePlanKeysCommandInput | GetUsagePlansCommandInput | GetVpcLinkCommandInput | GetVpcLinksCommandInput | ImportApiKeysCommandInput | ImportDocumentationPartsCommandInput | ImportRestApiCommandInput | PutGatewayResponseCommandInput | PutIntegrationCommandInput | PutIntegrationResponseCommandInput | PutMethodCommandInput | PutMethodResponseCommandInput | PutRestApiCommandInput | TagResourceCommandInput | TestInvokeAuthorizerCommandInput | TestInvokeMethodCommandInput | UntagResourceCommandInput | UpdateAccountCommandInput | UpdateApiKeyCommandInput | UpdateAuthorizerCommandInput | UpdateBasePathMappingCommandInput | UpdateClientCertificateCommandInput | UpdateDeploymentCommandInput | UpdateDocumentationPartCommandInput | UpdateDocumentationVersionCommandInput | UpdateDomainNameCommandInput | UpdateGatewayResponseCommandInput | UpdateIntegrationCommandInput | UpdateIntegrationResponseCommandInput | UpdateMethodCommandInput | UpdateMethodResponseCommandInput | UpdateModelCommandInput | UpdateRequestValidatorCommandInput | UpdateResourceCommandInput | UpdateRestApiCommandInput | UpdateStageCommandInput | UpdateUsageCommandInput | UpdateUsagePlanCommandInput | UpdateVpcLinkCommandInput;
|
|
140
|
+
export type ServiceInputTypes = CreateApiKeyCommandInput | CreateAuthorizerCommandInput | CreateBasePathMappingCommandInput | CreateDeploymentCommandInput | CreateDocumentationPartCommandInput | CreateDocumentationVersionCommandInput | CreateDomainNameAccessAssociationCommandInput | CreateDomainNameCommandInput | CreateModelCommandInput | CreateRequestValidatorCommandInput | CreateResourceCommandInput | CreateRestApiCommandInput | CreateStageCommandInput | CreateUsagePlanCommandInput | CreateUsagePlanKeyCommandInput | CreateVpcLinkCommandInput | DeleteApiKeyCommandInput | DeleteAuthorizerCommandInput | DeleteBasePathMappingCommandInput | DeleteClientCertificateCommandInput | DeleteDeploymentCommandInput | DeleteDocumentationPartCommandInput | DeleteDocumentationVersionCommandInput | DeleteDomainNameAccessAssociationCommandInput | DeleteDomainNameCommandInput | DeleteGatewayResponseCommandInput | DeleteIntegrationCommandInput | DeleteIntegrationResponseCommandInput | DeleteMethodCommandInput | DeleteMethodResponseCommandInput | DeleteModelCommandInput | DeleteRequestValidatorCommandInput | DeleteResourceCommandInput | DeleteRestApiCommandInput | DeleteStageCommandInput | DeleteUsagePlanCommandInput | DeleteUsagePlanKeyCommandInput | DeleteVpcLinkCommandInput | FlushStageAuthorizersCacheCommandInput | FlushStageCacheCommandInput | GenerateClientCertificateCommandInput | GetAccountCommandInput | GetApiKeyCommandInput | GetApiKeysCommandInput | GetAuthorizerCommandInput | GetAuthorizersCommandInput | GetBasePathMappingCommandInput | GetBasePathMappingsCommandInput | GetClientCertificateCommandInput | GetClientCertificatesCommandInput | GetDeploymentCommandInput | GetDeploymentsCommandInput | GetDocumentationPartCommandInput | GetDocumentationPartsCommandInput | GetDocumentationVersionCommandInput | GetDocumentationVersionsCommandInput | GetDomainNameAccessAssociationsCommandInput | GetDomainNameCommandInput | GetDomainNamesCommandInput | GetExportCommandInput | GetGatewayResponseCommandInput | GetGatewayResponsesCommandInput | GetIntegrationCommandInput | GetIntegrationResponseCommandInput | GetMethodCommandInput | GetMethodResponseCommandInput | GetModelCommandInput | GetModelTemplateCommandInput | GetModelsCommandInput | GetRequestValidatorCommandInput | GetRequestValidatorsCommandInput | GetResourceCommandInput | GetResourcesCommandInput | GetRestApiCommandInput | GetRestApisCommandInput | GetSdkCommandInput | GetSdkTypeCommandInput | GetSdkTypesCommandInput | GetStageCommandInput | GetStagesCommandInput | GetTagsCommandInput | GetUsageCommandInput | GetUsagePlanCommandInput | GetUsagePlanKeyCommandInput | GetUsagePlanKeysCommandInput | GetUsagePlansCommandInput | GetVpcLinkCommandInput | GetVpcLinksCommandInput | ImportApiKeysCommandInput | ImportDocumentationPartsCommandInput | ImportRestApiCommandInput | PutGatewayResponseCommandInput | PutIntegrationCommandInput | PutIntegrationResponseCommandInput | PutMethodCommandInput | PutMethodResponseCommandInput | PutRestApiCommandInput | RejectDomainNameAccessAssociationCommandInput | TagResourceCommandInput | TestInvokeAuthorizerCommandInput | TestInvokeMethodCommandInput | UntagResourceCommandInput | UpdateAccountCommandInput | UpdateApiKeyCommandInput | UpdateAuthorizerCommandInput | UpdateBasePathMappingCommandInput | UpdateClientCertificateCommandInput | UpdateDeploymentCommandInput | UpdateDocumentationPartCommandInput | UpdateDocumentationVersionCommandInput | UpdateDomainNameCommandInput | UpdateGatewayResponseCommandInput | UpdateIntegrationCommandInput | UpdateIntegrationResponseCommandInput | UpdateMethodCommandInput | UpdateMethodResponseCommandInput | UpdateModelCommandInput | UpdateRequestValidatorCommandInput | UpdateResourceCommandInput | UpdateRestApiCommandInput | UpdateStageCommandInput | UpdateUsageCommandInput | UpdateUsagePlanCommandInput | UpdateVpcLinkCommandInput;
|
|
137
141
|
/**
|
|
138
142
|
* @public
|
|
139
143
|
*/
|
|
140
|
-
export type ServiceOutputTypes = CreateApiKeyCommandOutput | CreateAuthorizerCommandOutput | CreateBasePathMappingCommandOutput | CreateDeploymentCommandOutput | CreateDocumentationPartCommandOutput | CreateDocumentationVersionCommandOutput | CreateDomainNameCommandOutput | CreateModelCommandOutput | CreateRequestValidatorCommandOutput | CreateResourceCommandOutput | CreateRestApiCommandOutput | CreateStageCommandOutput | CreateUsagePlanCommandOutput | CreateUsagePlanKeyCommandOutput | CreateVpcLinkCommandOutput | DeleteApiKeyCommandOutput | DeleteAuthorizerCommandOutput | DeleteBasePathMappingCommandOutput | DeleteClientCertificateCommandOutput | DeleteDeploymentCommandOutput | DeleteDocumentationPartCommandOutput | DeleteDocumentationVersionCommandOutput | DeleteDomainNameCommandOutput | DeleteGatewayResponseCommandOutput | DeleteIntegrationCommandOutput | DeleteIntegrationResponseCommandOutput | DeleteMethodCommandOutput | DeleteMethodResponseCommandOutput | DeleteModelCommandOutput | DeleteRequestValidatorCommandOutput | DeleteResourceCommandOutput | DeleteRestApiCommandOutput | DeleteStageCommandOutput | DeleteUsagePlanCommandOutput | DeleteUsagePlanKeyCommandOutput | DeleteVpcLinkCommandOutput | FlushStageAuthorizersCacheCommandOutput | FlushStageCacheCommandOutput | GenerateClientCertificateCommandOutput | GetAccountCommandOutput | GetApiKeyCommandOutput | GetApiKeysCommandOutput | GetAuthorizerCommandOutput | GetAuthorizersCommandOutput | GetBasePathMappingCommandOutput | GetBasePathMappingsCommandOutput | GetClientCertificateCommandOutput | GetClientCertificatesCommandOutput | GetDeploymentCommandOutput | GetDeploymentsCommandOutput | GetDocumentationPartCommandOutput | GetDocumentationPartsCommandOutput | GetDocumentationVersionCommandOutput | GetDocumentationVersionsCommandOutput | GetDomainNameCommandOutput | GetDomainNamesCommandOutput | GetExportCommandOutput | GetGatewayResponseCommandOutput | GetGatewayResponsesCommandOutput | GetIntegrationCommandOutput | GetIntegrationResponseCommandOutput | GetMethodCommandOutput | GetMethodResponseCommandOutput | GetModelCommandOutput | GetModelTemplateCommandOutput | GetModelsCommandOutput | GetRequestValidatorCommandOutput | GetRequestValidatorsCommandOutput | GetResourceCommandOutput | GetResourcesCommandOutput | GetRestApiCommandOutput | GetRestApisCommandOutput | GetSdkCommandOutput | GetSdkTypeCommandOutput | GetSdkTypesCommandOutput | GetStageCommandOutput | GetStagesCommandOutput | GetTagsCommandOutput | GetUsageCommandOutput | GetUsagePlanCommandOutput | GetUsagePlanKeyCommandOutput | GetUsagePlanKeysCommandOutput | GetUsagePlansCommandOutput | GetVpcLinkCommandOutput | GetVpcLinksCommandOutput | ImportApiKeysCommandOutput | ImportDocumentationPartsCommandOutput | ImportRestApiCommandOutput | PutGatewayResponseCommandOutput | PutIntegrationCommandOutput | PutIntegrationResponseCommandOutput | PutMethodCommandOutput | PutMethodResponseCommandOutput | PutRestApiCommandOutput | TagResourceCommandOutput | TestInvokeAuthorizerCommandOutput | TestInvokeMethodCommandOutput | UntagResourceCommandOutput | UpdateAccountCommandOutput | UpdateApiKeyCommandOutput | UpdateAuthorizerCommandOutput | UpdateBasePathMappingCommandOutput | UpdateClientCertificateCommandOutput | UpdateDeploymentCommandOutput | UpdateDocumentationPartCommandOutput | UpdateDocumentationVersionCommandOutput | UpdateDomainNameCommandOutput | UpdateGatewayResponseCommandOutput | UpdateIntegrationCommandOutput | UpdateIntegrationResponseCommandOutput | UpdateMethodCommandOutput | UpdateMethodResponseCommandOutput | UpdateModelCommandOutput | UpdateRequestValidatorCommandOutput | UpdateResourceCommandOutput | UpdateRestApiCommandOutput | UpdateStageCommandOutput | UpdateUsageCommandOutput | UpdateUsagePlanCommandOutput | UpdateVpcLinkCommandOutput;
|
|
144
|
+
export type ServiceOutputTypes = CreateApiKeyCommandOutput | CreateAuthorizerCommandOutput | CreateBasePathMappingCommandOutput | CreateDeploymentCommandOutput | CreateDocumentationPartCommandOutput | CreateDocumentationVersionCommandOutput | CreateDomainNameAccessAssociationCommandOutput | CreateDomainNameCommandOutput | CreateModelCommandOutput | CreateRequestValidatorCommandOutput | CreateResourceCommandOutput | CreateRestApiCommandOutput | CreateStageCommandOutput | CreateUsagePlanCommandOutput | CreateUsagePlanKeyCommandOutput | CreateVpcLinkCommandOutput | DeleteApiKeyCommandOutput | DeleteAuthorizerCommandOutput | DeleteBasePathMappingCommandOutput | DeleteClientCertificateCommandOutput | DeleteDeploymentCommandOutput | DeleteDocumentationPartCommandOutput | DeleteDocumentationVersionCommandOutput | DeleteDomainNameAccessAssociationCommandOutput | DeleteDomainNameCommandOutput | DeleteGatewayResponseCommandOutput | DeleteIntegrationCommandOutput | DeleteIntegrationResponseCommandOutput | DeleteMethodCommandOutput | DeleteMethodResponseCommandOutput | DeleteModelCommandOutput | DeleteRequestValidatorCommandOutput | DeleteResourceCommandOutput | DeleteRestApiCommandOutput | DeleteStageCommandOutput | DeleteUsagePlanCommandOutput | DeleteUsagePlanKeyCommandOutput | DeleteVpcLinkCommandOutput | FlushStageAuthorizersCacheCommandOutput | FlushStageCacheCommandOutput | GenerateClientCertificateCommandOutput | GetAccountCommandOutput | GetApiKeyCommandOutput | GetApiKeysCommandOutput | GetAuthorizerCommandOutput | GetAuthorizersCommandOutput | GetBasePathMappingCommandOutput | GetBasePathMappingsCommandOutput | GetClientCertificateCommandOutput | GetClientCertificatesCommandOutput | GetDeploymentCommandOutput | GetDeploymentsCommandOutput | GetDocumentationPartCommandOutput | GetDocumentationPartsCommandOutput | GetDocumentationVersionCommandOutput | GetDocumentationVersionsCommandOutput | GetDomainNameAccessAssociationsCommandOutput | GetDomainNameCommandOutput | GetDomainNamesCommandOutput | GetExportCommandOutput | GetGatewayResponseCommandOutput | GetGatewayResponsesCommandOutput | GetIntegrationCommandOutput | GetIntegrationResponseCommandOutput | GetMethodCommandOutput | GetMethodResponseCommandOutput | GetModelCommandOutput | GetModelTemplateCommandOutput | GetModelsCommandOutput | GetRequestValidatorCommandOutput | GetRequestValidatorsCommandOutput | GetResourceCommandOutput | GetResourcesCommandOutput | GetRestApiCommandOutput | GetRestApisCommandOutput | GetSdkCommandOutput | GetSdkTypeCommandOutput | GetSdkTypesCommandOutput | GetStageCommandOutput | GetStagesCommandOutput | GetTagsCommandOutput | GetUsageCommandOutput | GetUsagePlanCommandOutput | GetUsagePlanKeyCommandOutput | GetUsagePlanKeysCommandOutput | GetUsagePlansCommandOutput | GetVpcLinkCommandOutput | GetVpcLinksCommandOutput | ImportApiKeysCommandOutput | ImportDocumentationPartsCommandOutput | ImportRestApiCommandOutput | PutGatewayResponseCommandOutput | PutIntegrationCommandOutput | PutIntegrationResponseCommandOutput | PutMethodCommandOutput | PutMethodResponseCommandOutput | PutRestApiCommandOutput | RejectDomainNameAccessAssociationCommandOutput | TagResourceCommandOutput | TestInvokeAuthorizerCommandOutput | TestInvokeMethodCommandOutput | UntagResourceCommandOutput | UpdateAccountCommandOutput | UpdateApiKeyCommandOutput | UpdateAuthorizerCommandOutput | UpdateBasePathMappingCommandOutput | UpdateClientCertificateCommandOutput | UpdateDeploymentCommandOutput | UpdateDocumentationPartCommandOutput | UpdateDocumentationVersionCommandOutput | UpdateDomainNameCommandOutput | UpdateGatewayResponseCommandOutput | UpdateIntegrationCommandOutput | UpdateIntegrationResponseCommandOutput | UpdateMethodCommandOutput | UpdateMethodResponseCommandOutput | UpdateModelCommandOutput | UpdateRequestValidatorCommandOutput | UpdateResourceCommandOutput | UpdateRestApiCommandOutput | UpdateStageCommandOutput | UpdateUsageCommandOutput | UpdateUsagePlanCommandOutput | UpdateVpcLinkCommandOutput;
|
|
141
145
|
/**
|
|
142
146
|
* @public
|
|
143
147
|
*/
|
|
@@ -36,6 +36,7 @@ declare const CreateBasePathMappingCommand_base: {
|
|
|
36
36
|
* const client = new APIGatewayClient(config);
|
|
37
37
|
* const input = { // CreateBasePathMappingRequest
|
|
38
38
|
* domainName: "STRING_VALUE", // required
|
|
39
|
+
* domainNameId: "STRING_VALUE",
|
|
39
40
|
* basePath: "STRING_VALUE",
|
|
40
41
|
* restApiId: "STRING_VALUE", // required
|
|
41
42
|
* stage: "STRING_VALUE",
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
4
|
+
import { CreateDomainNameAccessAssociationRequest, DomainNameAccessAssociation } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateDomainNameAccessAssociationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateDomainNameAccessAssociationCommandInput extends CreateDomainNameAccessAssociationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateDomainNameAccessAssociationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateDomainNameAccessAssociationCommandOutput extends DomainNameAccessAssociation, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateDomainNameAccessAssociationCommand_base: {
|
|
25
|
+
new (input: CreateDomainNameAccessAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDomainNameAccessAssociationCommandInput, CreateDomainNameAccessAssociationCommandOutput, APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateDomainNameAccessAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDomainNameAccessAssociationCommandInput, CreateDomainNameAccessAssociationCommandOutput, APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Creates a domain name access association resource between an access association source and a private custom
|
|
31
|
+
* domain name.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { APIGatewayClient, CreateDomainNameAccessAssociationCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
36
|
+
* // const { APIGatewayClient, CreateDomainNameAccessAssociationCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
37
|
+
* const client = new APIGatewayClient(config);
|
|
38
|
+
* const input = { // CreateDomainNameAccessAssociationRequest
|
|
39
|
+
* domainNameArn: "STRING_VALUE", // required
|
|
40
|
+
* accessAssociationSourceType: "VPCE", // required
|
|
41
|
+
* accessAssociationSource: "STRING_VALUE", // required
|
|
42
|
+
* tags: { // MapOfStringToString
|
|
43
|
+
* "<keys>": "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* };
|
|
46
|
+
* const command = new CreateDomainNameAccessAssociationCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // DomainNameAccessAssociation
|
|
49
|
+
* // domainNameAccessAssociationArn: "STRING_VALUE",
|
|
50
|
+
* // domainNameArn: "STRING_VALUE",
|
|
51
|
+
* // accessAssociationSourceType: "VPCE",
|
|
52
|
+
* // accessAssociationSource: "STRING_VALUE",
|
|
53
|
+
* // tags: { // MapOfStringToString
|
|
54
|
+
* // "<keys>": "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param CreateDomainNameAccessAssociationCommandInput - {@link CreateDomainNameAccessAssociationCommandInput}
|
|
61
|
+
* @returns {@link CreateDomainNameAccessAssociationCommandOutput}
|
|
62
|
+
* @see {@link CreateDomainNameAccessAssociationCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link CreateDomainNameAccessAssociationCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link APIGatewayClientResolvedConfig | config} for APIGatewayClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link BadRequestException} (client fault)
|
|
67
|
+
* <p>The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ConflictException} (client fault)
|
|
70
|
+
* <p>The request configuration has conflicts. For details, see the accompanying error message.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
73
|
+
* <p>The request exceeded the rate limit. Retry after the specified time period.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
76
|
+
* <p>The request has reached its throttling limit. Retry after the specified time period.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
79
|
+
* <p>The request is denied because the caller has insufficient permissions.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link APIGatewayServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from APIGateway service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class CreateDomainNameAccessAssociationCommand extends CreateDomainNameAccessAssociationCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: CreateDomainNameAccessAssociationRequest;
|
|
91
|
+
output: DomainNameAccessAssociation;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: CreateDomainNameAccessAssociationCommandInput;
|
|
95
|
+
output: CreateDomainNameAccessAssociationCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -60,11 +60,14 @@ declare const CreateDomainNameCommand_base: {
|
|
|
60
60
|
* truststoreVersion: "STRING_VALUE",
|
|
61
61
|
* },
|
|
62
62
|
* ownershipVerificationCertificateArn: "STRING_VALUE",
|
|
63
|
+
* policy: "STRING_VALUE",
|
|
63
64
|
* };
|
|
64
65
|
* const command = new CreateDomainNameCommand(input);
|
|
65
66
|
* const response = await client.send(command);
|
|
66
67
|
* // { // DomainName
|
|
67
68
|
* // domainName: "STRING_VALUE",
|
|
69
|
+
* // domainNameId: "STRING_VALUE",
|
|
70
|
+
* // domainNameArn: "STRING_VALUE",
|
|
68
71
|
* // certificateName: "STRING_VALUE",
|
|
69
72
|
* // certificateArn: "STRING_VALUE",
|
|
70
73
|
* // certificateUploadDate: new Date("TIMESTAMP"),
|
|
@@ -96,6 +99,8 @@ declare const CreateDomainNameCommand_base: {
|
|
|
96
99
|
* // ],
|
|
97
100
|
* // },
|
|
98
101
|
* // ownershipVerificationCertificateArn: "STRING_VALUE",
|
|
102
|
+
* // managementPolicy: "STRING_VALUE",
|
|
103
|
+
* // policy: "STRING_VALUE",
|
|
99
104
|
* // };
|
|
100
105
|
*
|
|
101
106
|
* ```
|
|
@@ -36,6 +36,7 @@ declare const DeleteBasePathMappingCommand_base: {
|
|
|
36
36
|
* const client = new APIGatewayClient(config);
|
|
37
37
|
* const input = { // DeleteBasePathMappingRequest
|
|
38
38
|
* domainName: "STRING_VALUE", // required
|
|
39
|
+
* domainNameId: "STRING_VALUE",
|
|
39
40
|
* basePath: "STRING_VALUE", // required
|
|
40
41
|
* };
|
|
41
42
|
* const command = new DeleteBasePathMappingCommand(input);
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
4
|
+
import { DeleteDomainNameAccessAssociationRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteDomainNameAccessAssociationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteDomainNameAccessAssociationCommandInput extends DeleteDomainNameAccessAssociationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteDomainNameAccessAssociationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteDomainNameAccessAssociationCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteDomainNameAccessAssociationCommand_base: {
|
|
25
|
+
new (input: DeleteDomainNameAccessAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDomainNameAccessAssociationCommandInput, DeleteDomainNameAccessAssociationCommandOutput, APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteDomainNameAccessAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDomainNameAccessAssociationCommandInput, DeleteDomainNameAccessAssociationCommandOutput, APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Deletes the DomainNameAccessAssociation resource.</p>
|
|
31
|
+
* <p>Only the AWS account that created the DomainNameAccessAssociation resource can delete it. To stop an access association source in another AWS account from accessing your private custom domain name, use the RejectDomainNameAccessAssociation operation.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { APIGatewayClient, DeleteDomainNameAccessAssociationCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
36
|
+
* // const { APIGatewayClient, DeleteDomainNameAccessAssociationCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
37
|
+
* const client = new APIGatewayClient(config);
|
|
38
|
+
* const input = { // DeleteDomainNameAccessAssociationRequest
|
|
39
|
+
* domainNameAccessAssociationArn: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteDomainNameAccessAssociationCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteDomainNameAccessAssociationCommandInput - {@link DeleteDomainNameAccessAssociationCommandInput}
|
|
48
|
+
* @returns {@link DeleteDomainNameAccessAssociationCommandOutput}
|
|
49
|
+
* @see {@link DeleteDomainNameAccessAssociationCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteDomainNameAccessAssociationCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link APIGatewayClientResolvedConfig | config} for APIGatewayClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link BadRequestException} (client fault)
|
|
54
|
+
* <p>The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>The request configuration has conflicts. For details, see the accompanying error message.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link NotFoundException} (client fault)
|
|
60
|
+
* <p>The requested resource is not found. Make sure that the request URI is correct.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
63
|
+
* <p>The request has reached its throttling limit. Retry after the specified time period.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
66
|
+
* <p>The request is denied because the caller has insufficient permissions.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link APIGatewayServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from APIGateway service.</p>
|
|
70
|
+
*
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class DeleteDomainNameAccessAssociationCommand extends DeleteDomainNameAccessAssociationCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: DeleteDomainNameAccessAssociationRequest;
|
|
78
|
+
output: {};
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: DeleteDomainNameAccessAssociationCommandInput;
|
|
82
|
+
output: DeleteDomainNameAccessAssociationCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -36,6 +36,7 @@ declare const DeleteDomainNameCommand_base: {
|
|
|
36
36
|
* const client = new APIGatewayClient(config);
|
|
37
37
|
* const input = { // DeleteDomainNameRequest
|
|
38
38
|
* domainName: "STRING_VALUE", // required
|
|
39
|
+
* domainNameId: "STRING_VALUE",
|
|
39
40
|
* };
|
|
40
41
|
* const command = new DeleteDomainNameCommand(input);
|
|
41
42
|
* const response = await client.send(command);
|
|
@@ -36,6 +36,7 @@ declare const GetBasePathMappingCommand_base: {
|
|
|
36
36
|
* const client = new APIGatewayClient(config);
|
|
37
37
|
* const input = { // GetBasePathMappingRequest
|
|
38
38
|
* domainName: "STRING_VALUE", // required
|
|
39
|
+
* domainNameId: "STRING_VALUE",
|
|
39
40
|
* basePath: "STRING_VALUE", // required
|
|
40
41
|
* };
|
|
41
42
|
* const command = new GetBasePathMappingCommand(input);
|
|
@@ -36,6 +36,7 @@ declare const GetBasePathMappingsCommand_base: {
|
|
|
36
36
|
* const client = new APIGatewayClient(config);
|
|
37
37
|
* const input = { // GetBasePathMappingsRequest
|
|
38
38
|
* domainName: "STRING_VALUE", // required
|
|
39
|
+
* domainNameId: "STRING_VALUE",
|
|
39
40
|
* position: "STRING_VALUE",
|
|
40
41
|
* limit: Number("int"),
|
|
41
42
|
* };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
4
|
+
import { DomainNameAccessAssociations, GetDomainNameAccessAssociationsRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetDomainNameAccessAssociationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDomainNameAccessAssociationsCommandInput extends GetDomainNameAccessAssociationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDomainNameAccessAssociationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDomainNameAccessAssociationsCommandOutput extends DomainNameAccessAssociations, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetDomainNameAccessAssociationsCommand_base: {
|
|
25
|
+
new (input: GetDomainNameAccessAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<GetDomainNameAccessAssociationsCommandInput, GetDomainNameAccessAssociationsCommandOutput, APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [GetDomainNameAccessAssociationsCommandInput]): import("@smithy/smithy-client").CommandImpl<GetDomainNameAccessAssociationsCommandInput, GetDomainNameAccessAssociationsCommandOutput, APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Represents a collection on DomainNameAccessAssociations resources.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { APIGatewayClient, GetDomainNameAccessAssociationsCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
35
|
+
* // const { APIGatewayClient, GetDomainNameAccessAssociationsCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
36
|
+
* const client = new APIGatewayClient(config);
|
|
37
|
+
* const input = { // GetDomainNameAccessAssociationsRequest
|
|
38
|
+
* position: "STRING_VALUE",
|
|
39
|
+
* limit: Number("int"),
|
|
40
|
+
* resourceOwner: "SELF" || "OTHER_ACCOUNTS",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetDomainNameAccessAssociationsCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // DomainNameAccessAssociations
|
|
45
|
+
* // items: [ // ListOfDomainNameAccessAssociation
|
|
46
|
+
* // { // DomainNameAccessAssociation
|
|
47
|
+
* // domainNameAccessAssociationArn: "STRING_VALUE",
|
|
48
|
+
* // domainNameArn: "STRING_VALUE",
|
|
49
|
+
* // accessAssociationSourceType: "VPCE",
|
|
50
|
+
* // accessAssociationSource: "STRING_VALUE",
|
|
51
|
+
* // tags: { // MapOfStringToString
|
|
52
|
+
* // "<keys>": "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // position: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param GetDomainNameAccessAssociationsCommandInput - {@link GetDomainNameAccessAssociationsCommandInput}
|
|
62
|
+
* @returns {@link GetDomainNameAccessAssociationsCommandOutput}
|
|
63
|
+
* @see {@link GetDomainNameAccessAssociationsCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link GetDomainNameAccessAssociationsCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link APIGatewayClientResolvedConfig | config} for APIGatewayClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link BadRequestException} (client fault)
|
|
68
|
+
* <p>The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link NotFoundException} (client fault)
|
|
71
|
+
* <p>The requested resource is not found. Make sure that the request URI is correct.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
74
|
+
* <p>The request has reached its throttling limit. Retry after the specified time period.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
77
|
+
* <p>The request is denied because the caller has insufficient permissions.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link APIGatewayServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from APIGateway service.</p>
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class GetDomainNameAccessAssociationsCommand extends GetDomainNameAccessAssociationsCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: GetDomainNameAccessAssociationsRequest;
|
|
89
|
+
output: DomainNameAccessAssociations;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: GetDomainNameAccessAssociationsCommandInput;
|
|
93
|
+
output: GetDomainNameAccessAssociationsCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -36,11 +36,14 @@ declare const GetDomainNameCommand_base: {
|
|
|
36
36
|
* const client = new APIGatewayClient(config);
|
|
37
37
|
* const input = { // GetDomainNameRequest
|
|
38
38
|
* domainName: "STRING_VALUE", // required
|
|
39
|
+
* domainNameId: "STRING_VALUE",
|
|
39
40
|
* };
|
|
40
41
|
* const command = new GetDomainNameCommand(input);
|
|
41
42
|
* const response = await client.send(command);
|
|
42
43
|
* // { // DomainName
|
|
43
44
|
* // domainName: "STRING_VALUE",
|
|
45
|
+
* // domainNameId: "STRING_VALUE",
|
|
46
|
+
* // domainNameArn: "STRING_VALUE",
|
|
44
47
|
* // certificateName: "STRING_VALUE",
|
|
45
48
|
* // certificateArn: "STRING_VALUE",
|
|
46
49
|
* // certificateUploadDate: new Date("TIMESTAMP"),
|
|
@@ -72,6 +75,8 @@ declare const GetDomainNameCommand_base: {
|
|
|
72
75
|
* // ],
|
|
73
76
|
* // },
|
|
74
77
|
* // ownershipVerificationCertificateArn: "STRING_VALUE",
|
|
78
|
+
* // managementPolicy: "STRING_VALUE",
|
|
79
|
+
* // policy: "STRING_VALUE",
|
|
75
80
|
* // };
|
|
76
81
|
*
|
|
77
82
|
* ```
|
|
@@ -37,6 +37,7 @@ declare const GetDomainNamesCommand_base: {
|
|
|
37
37
|
* const input = { // GetDomainNamesRequest
|
|
38
38
|
* position: "STRING_VALUE",
|
|
39
39
|
* limit: Number("int"),
|
|
40
|
+
* resourceOwner: "SELF" || "OTHER_ACCOUNTS",
|
|
40
41
|
* };
|
|
41
42
|
* const command = new GetDomainNamesCommand(input);
|
|
42
43
|
* const response = await client.send(command);
|
|
@@ -44,6 +45,8 @@ declare const GetDomainNamesCommand_base: {
|
|
|
44
45
|
* // items: [ // ListOfDomainName
|
|
45
46
|
* // { // DomainName
|
|
46
47
|
* // domainName: "STRING_VALUE",
|
|
48
|
+
* // domainNameId: "STRING_VALUE",
|
|
49
|
+
* // domainNameArn: "STRING_VALUE",
|
|
47
50
|
* // certificateName: "STRING_VALUE",
|
|
48
51
|
* // certificateArn: "STRING_VALUE",
|
|
49
52
|
* // certificateUploadDate: new Date("TIMESTAMP"),
|
|
@@ -75,6 +78,8 @@ declare const GetDomainNamesCommand_base: {
|
|
|
75
78
|
* // ],
|
|
76
79
|
* // },
|
|
77
80
|
* // ownershipVerificationCertificateArn: "STRING_VALUE",
|
|
81
|
+
* // managementPolicy: "STRING_VALUE",
|
|
82
|
+
* // policy: "STRING_VALUE",
|
|
78
83
|
* // },
|
|
79
84
|
* // ],
|
|
80
85
|
* // position: "STRING_VALUE",
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
4
|
+
import { RejectDomainNameAccessAssociationRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link RejectDomainNameAccessAssociationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RejectDomainNameAccessAssociationCommandInput extends RejectDomainNameAccessAssociationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RejectDomainNameAccessAssociationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RejectDomainNameAccessAssociationCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RejectDomainNameAccessAssociationCommand_base: {
|
|
25
|
+
new (input: RejectDomainNameAccessAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<RejectDomainNameAccessAssociationCommandInput, RejectDomainNameAccessAssociationCommandOutput, APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: RejectDomainNameAccessAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<RejectDomainNameAccessAssociationCommandInput, RejectDomainNameAccessAssociationCommandOutput, APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Rejects a domain name access association with a private custom domain name.</p>
|
|
31
|
+
* <p>To reject a domain name access association with an access association source in another AWS account, use this operation. To remove a domain name access association with an access association source in your own account, use the DeleteDomainNameAccessAssociation operation.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { APIGatewayClient, RejectDomainNameAccessAssociationCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
36
|
+
* // const { APIGatewayClient, RejectDomainNameAccessAssociationCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
37
|
+
* const client = new APIGatewayClient(config);
|
|
38
|
+
* const input = { // RejectDomainNameAccessAssociationRequest
|
|
39
|
+
* domainNameAccessAssociationArn: "STRING_VALUE", // required
|
|
40
|
+
* domainNameArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new RejectDomainNameAccessAssociationCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param RejectDomainNameAccessAssociationCommandInput - {@link RejectDomainNameAccessAssociationCommandInput}
|
|
49
|
+
* @returns {@link RejectDomainNameAccessAssociationCommandOutput}
|
|
50
|
+
* @see {@link RejectDomainNameAccessAssociationCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link RejectDomainNameAccessAssociationCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link APIGatewayClientResolvedConfig | config} for APIGatewayClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link BadRequestException} (client fault)
|
|
55
|
+
* <p>The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ConflictException} (client fault)
|
|
58
|
+
* <p>The request configuration has conflicts. For details, see the accompanying error message.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link NotFoundException} (client fault)
|
|
61
|
+
* <p>The requested resource is not found. Make sure that the request URI is correct.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
64
|
+
* <p>The request has reached its throttling limit. Retry after the specified time period.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
67
|
+
* <p>The request is denied because the caller has insufficient permissions.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link APIGatewayServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from APIGateway service.</p>
|
|
71
|
+
*
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export declare class RejectDomainNameAccessAssociationCommand extends RejectDomainNameAccessAssociationCommand_base {
|
|
75
|
+
/** @internal type navigation helper, not in runtime. */
|
|
76
|
+
protected static __types: {
|
|
77
|
+
api: {
|
|
78
|
+
input: RejectDomainNameAccessAssociationRequest;
|
|
79
|
+
output: {};
|
|
80
|
+
};
|
|
81
|
+
sdk: {
|
|
82
|
+
input: RejectDomainNameAccessAssociationCommandInput;
|
|
83
|
+
output: RejectDomainNameAccessAssociationCommandOutput;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -36,6 +36,7 @@ declare const UpdateBasePathMappingCommand_base: {
|
|
|
36
36
|
* const client = new APIGatewayClient(config);
|
|
37
37
|
* const input = { // UpdateBasePathMappingRequest
|
|
38
38
|
* domainName: "STRING_VALUE", // required
|
|
39
|
+
* domainNameId: "STRING_VALUE",
|
|
39
40
|
* basePath: "STRING_VALUE", // required
|
|
40
41
|
* patchOperations: [ // ListOfPatchOperation
|
|
41
42
|
* { // PatchOperation
|
|
@@ -36,6 +36,7 @@ declare const UpdateDomainNameCommand_base: {
|
|
|
36
36
|
* const client = new APIGatewayClient(config);
|
|
37
37
|
* const input = { // UpdateDomainNameRequest
|
|
38
38
|
* domainName: "STRING_VALUE", // required
|
|
39
|
+
* domainNameId: "STRING_VALUE",
|
|
39
40
|
* patchOperations: [ // ListOfPatchOperation
|
|
40
41
|
* { // PatchOperation
|
|
41
42
|
* op: "add" || "remove" || "replace" || "move" || "copy" || "test",
|
|
@@ -49,6 +50,8 @@ declare const UpdateDomainNameCommand_base: {
|
|
|
49
50
|
* const response = await client.send(command);
|
|
50
51
|
* // { // DomainName
|
|
51
52
|
* // domainName: "STRING_VALUE",
|
|
53
|
+
* // domainNameId: "STRING_VALUE",
|
|
54
|
+
* // domainNameArn: "STRING_VALUE",
|
|
52
55
|
* // certificateName: "STRING_VALUE",
|
|
53
56
|
* // certificateArn: "STRING_VALUE",
|
|
54
57
|
* // certificateUploadDate: new Date("TIMESTAMP"),
|
|
@@ -80,6 +83,8 @@ declare const UpdateDomainNameCommand_base: {
|
|
|
80
83
|
* // ],
|
|
81
84
|
* // },
|
|
82
85
|
* // ownershipVerificationCertificateArn: "STRING_VALUE",
|
|
86
|
+
* // managementPolicy: "STRING_VALUE",
|
|
87
|
+
* // policy: "STRING_VALUE",
|
|
83
88
|
* // };
|
|
84
89
|
*
|
|
85
90
|
* ```
|
|
@@ -4,6 +4,7 @@ export * from "./CreateBasePathMappingCommand";
|
|
|
4
4
|
export * from "./CreateDeploymentCommand";
|
|
5
5
|
export * from "./CreateDocumentationPartCommand";
|
|
6
6
|
export * from "./CreateDocumentationVersionCommand";
|
|
7
|
+
export * from "./CreateDomainNameAccessAssociationCommand";
|
|
7
8
|
export * from "./CreateDomainNameCommand";
|
|
8
9
|
export * from "./CreateModelCommand";
|
|
9
10
|
export * from "./CreateRequestValidatorCommand";
|
|
@@ -20,6 +21,7 @@ export * from "./DeleteClientCertificateCommand";
|
|
|
20
21
|
export * from "./DeleteDeploymentCommand";
|
|
21
22
|
export * from "./DeleteDocumentationPartCommand";
|
|
22
23
|
export * from "./DeleteDocumentationVersionCommand";
|
|
24
|
+
export * from "./DeleteDomainNameAccessAssociationCommand";
|
|
23
25
|
export * from "./DeleteDomainNameCommand";
|
|
24
26
|
export * from "./DeleteGatewayResponseCommand";
|
|
25
27
|
export * from "./DeleteIntegrationCommand";
|
|
@@ -52,6 +54,7 @@ export * from "./GetDocumentationPartCommand";
|
|
|
52
54
|
export * from "./GetDocumentationPartsCommand";
|
|
53
55
|
export * from "./GetDocumentationVersionCommand";
|
|
54
56
|
export * from "./GetDocumentationVersionsCommand";
|
|
57
|
+
export * from "./GetDomainNameAccessAssociationsCommand";
|
|
55
58
|
export * from "./GetDomainNameCommand";
|
|
56
59
|
export * from "./GetDomainNamesCommand";
|
|
57
60
|
export * from "./GetExportCommand";
|
|
@@ -92,6 +95,7 @@ export * from "./PutIntegrationResponseCommand";
|
|
|
92
95
|
export * from "./PutMethodCommand";
|
|
93
96
|
export * from "./PutMethodResponseCommand";
|
|
94
97
|
export * from "./PutRestApiCommand";
|
|
98
|
+
export * from "./RejectDomainNameAccessAssociationCommand";
|
|
95
99
|
export * from "./TagResourceCommand";
|
|
96
100
|
export * from "./TestInvokeAuthorizerCommand";
|
|
97
101
|
export * from "./TestInvokeMethodCommand";
|