@aws-sdk/client-vpc-lattice 3.926.0 → 3.927.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 +250 -0
- package/dist-es/VPCLattice.js +8 -0
- package/dist-es/commands/DeleteDomainVerificationCommand.js +22 -0
- package/dist-es/commands/GetDomainVerificationCommand.js +22 -0
- package/dist-es/commands/ListDomainVerificationsCommand.js +22 -0
- package/dist-es/commands/StartDomainVerificationCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +11 -0
- package/dist-es/pagination/ListDomainVerificationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +158 -0
- package/dist-types/VPCLattice.d.ts +29 -0
- package/dist-types/VPCLatticeClient.d.ts +6 -2
- package/dist-types/commands/CreateResourceConfigurationCommand.d.ts +7 -0
- package/dist-types/commands/CreateServiceNetworkResourceAssociationCommand.d.ts +2 -0
- package/dist-types/commands/CreateServiceNetworkVpcAssociationCommand.d.ts +14 -0
- package/dist-types/commands/DeleteDomainVerificationCommand.d.ts +87 -0
- package/dist-types/commands/GetDomainVerificationCommand.d.ts +101 -0
- package/dist-types/commands/GetResourceConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/GetServiceNetworkResourceAssociationCommand.d.ts +2 -0
- package/dist-types/commands/GetServiceNetworkVpcAssociationCommand.d.ts +7 -0
- package/dist-types/commands/ListDomainVerificationsCommand.d.ts +107 -0
- package/dist-types/commands/ListResourceConfigurationsCommand.d.ts +4 -0
- package/dist-types/commands/ListServiceNetworkResourceAssociationsCommand.d.ts +1 -0
- package/dist-types/commands/ListServiceNetworkVpcAssociationsCommand.d.ts +7 -0
- package/dist-types/commands/StartDomainVerificationCommand.d.ts +103 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +395 -0
- package/dist-types/pagination/ListDomainVerificationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/VPCLattice.d.ts +69 -0
- package/dist-types/ts3.4/VPCLatticeClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/DeleteDomainVerificationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDomainVerificationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDomainVerificationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartDomainVerificationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +98 -0
- package/dist-types/ts3.4/pagination/ListDomainVerificationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +5 -5
|
@@ -40,6 +40,7 @@ declare const CreateServiceNetworkResourceAssociationCommand_base: {
|
|
|
40
40
|
* clientToken: "STRING_VALUE",
|
|
41
41
|
* resourceConfigurationIdentifier: "STRING_VALUE", // required
|
|
42
42
|
* serviceNetworkIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* privateDnsEnabled: true || false,
|
|
43
44
|
* tags: { // TagMap
|
|
44
45
|
* "<keys>": "STRING_VALUE",
|
|
45
46
|
* },
|
|
@@ -51,6 +52,7 @@ declare const CreateServiceNetworkResourceAssociationCommand_base: {
|
|
|
51
52
|
* // arn: "STRING_VALUE",
|
|
52
53
|
* // status: "STRING_VALUE",
|
|
53
54
|
* // createdBy: "STRING_VALUE",
|
|
55
|
+
* // privateDnsEnabled: true || false,
|
|
54
56
|
* // };
|
|
55
57
|
*
|
|
56
58
|
* ```
|
|
@@ -40,12 +40,19 @@ declare const CreateServiceNetworkVpcAssociationCommand_base: {
|
|
|
40
40
|
* clientToken: "STRING_VALUE",
|
|
41
41
|
* serviceNetworkIdentifier: "STRING_VALUE", // required
|
|
42
42
|
* vpcIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* privateDnsEnabled: true || false,
|
|
43
44
|
* securityGroupIds: [ // SecurityGroupList
|
|
44
45
|
* "STRING_VALUE",
|
|
45
46
|
* ],
|
|
46
47
|
* tags: { // TagMap
|
|
47
48
|
* "<keys>": "STRING_VALUE",
|
|
48
49
|
* },
|
|
50
|
+
* dnsOptions: { // DnsOptions
|
|
51
|
+
* privateDnsPreference: "STRING_VALUE",
|
|
52
|
+
* privateDnsSpecifiedDomains: [ // PrivateDnsSpecifiedDomainsList
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
49
56
|
* };
|
|
50
57
|
* const command = new CreateServiceNetworkVpcAssociationCommand(input);
|
|
51
58
|
* const response = await client.send(command);
|
|
@@ -57,6 +64,13 @@ declare const CreateServiceNetworkVpcAssociationCommand_base: {
|
|
|
57
64
|
* // securityGroupIds: [ // SecurityGroupList
|
|
58
65
|
* // "STRING_VALUE",
|
|
59
66
|
* // ],
|
|
67
|
+
* // privateDnsEnabled: true || false,
|
|
68
|
+
* // dnsOptions: { // DnsOptions
|
|
69
|
+
* // privateDnsPreference: "STRING_VALUE",
|
|
70
|
+
* // privateDnsSpecifiedDomains: [ // PrivateDnsSpecifiedDomainsList
|
|
71
|
+
* // "STRING_VALUE",
|
|
72
|
+
* // ],
|
|
73
|
+
* // },
|
|
60
74
|
* // };
|
|
61
75
|
*
|
|
62
76
|
* ```
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteDomainVerificationRequest, DeleteDomainVerificationResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteDomainVerificationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteDomainVerificationCommandInput extends DeleteDomainVerificationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteDomainVerificationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteDomainVerificationCommandOutput extends DeleteDomainVerificationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteDomainVerificationCommand_base: {
|
|
25
|
+
new (input: DeleteDomainVerificationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDomainVerificationCommandInput, DeleteDomainVerificationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteDomainVerificationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDomainVerificationCommandInput, DeleteDomainVerificationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Deletes the specified domain verification. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { VPCLatticeClient, DeleteDomainVerificationCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
|
|
35
|
+
* // const { VPCLatticeClient, DeleteDomainVerificationCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
|
|
36
|
+
* // import type { VPCLatticeClientConfig } from "@aws-sdk/client-vpc-lattice";
|
|
37
|
+
* const config = {}; // type is VPCLatticeClientConfig
|
|
38
|
+
* const client = new VPCLatticeClient(config);
|
|
39
|
+
* const input = { // DeleteDomainVerificationRequest
|
|
40
|
+
* domainVerificationIdentifier: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteDomainVerificationCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param DeleteDomainVerificationCommandInput - {@link DeleteDomainVerificationCommandInput}
|
|
49
|
+
* @returns {@link DeleteDomainVerificationCommandOutput}
|
|
50
|
+
* @see {@link DeleteDomainVerificationCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link DeleteDomainVerificationCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>The user does not have sufficient access to perform this action.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>An unexpected error occurred while processing the request.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The request references a resource that does not exist.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link VPCLatticeServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from VPCLattice service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class DeleteDomainVerificationCommand extends DeleteDomainVerificationCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: DeleteDomainVerificationRequest;
|
|
80
|
+
output: {};
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: DeleteDomainVerificationCommandInput;
|
|
84
|
+
output: DeleteDomainVerificationCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetDomainVerificationRequest, GetDomainVerificationResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetDomainVerificationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDomainVerificationCommandInput extends GetDomainVerificationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDomainVerificationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDomainVerificationCommandOutput extends GetDomainVerificationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetDomainVerificationCommand_base: {
|
|
25
|
+
new (input: GetDomainVerificationCommandInput): import("@smithy/smithy-client").CommandImpl<GetDomainVerificationCommandInput, GetDomainVerificationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetDomainVerificationCommandInput): import("@smithy/smithy-client").CommandImpl<GetDomainVerificationCommandInput, GetDomainVerificationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Retrieves information about a domain verification.ß </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { VPCLatticeClient, GetDomainVerificationCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
|
|
35
|
+
* // const { VPCLatticeClient, GetDomainVerificationCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
|
|
36
|
+
* // import type { VPCLatticeClientConfig } from "@aws-sdk/client-vpc-lattice";
|
|
37
|
+
* const config = {}; // type is VPCLatticeClientConfig
|
|
38
|
+
* const client = new VPCLatticeClient(config);
|
|
39
|
+
* const input = { // GetDomainVerificationRequest
|
|
40
|
+
* domainVerificationIdentifier: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetDomainVerificationCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetDomainVerificationResponse
|
|
45
|
+
* // id: "STRING_VALUE", // required
|
|
46
|
+
* // arn: "STRING_VALUE", // required
|
|
47
|
+
* // domainName: "STRING_VALUE", // required
|
|
48
|
+
* // status: "STRING_VALUE", // required
|
|
49
|
+
* // txtMethodConfig: { // TxtMethodConfig
|
|
50
|
+
* // value: "STRING_VALUE", // required
|
|
51
|
+
* // name: "STRING_VALUE", // required
|
|
52
|
+
* // },
|
|
53
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // lastVerifiedTime: new Date("TIMESTAMP"),
|
|
55
|
+
* // tags: { // TagMap
|
|
56
|
+
* // "<keys>": "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param GetDomainVerificationCommandInput - {@link GetDomainVerificationCommandInput}
|
|
63
|
+
* @returns {@link GetDomainVerificationCommandOutput}
|
|
64
|
+
* @see {@link GetDomainVerificationCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link GetDomainVerificationCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* <p>The user does not have sufficient access to perform this action.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* <p>An unexpected error occurred while processing the request.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* <p>The request references a resource that does not exist.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link VPCLatticeServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from VPCLattice service.</p>
|
|
85
|
+
*
|
|
86
|
+
*
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class GetDomainVerificationCommand extends GetDomainVerificationCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: GetDomainVerificationRequest;
|
|
94
|
+
output: GetDomainVerificationResponse;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: GetDomainVerificationCommandInput;
|
|
98
|
+
output: GetDomainVerificationCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
@@ -71,6 +71,10 @@ declare const GetResourceConfigurationCommand_base: {
|
|
|
71
71
|
* // amazonManaged: true || false,
|
|
72
72
|
* // failureReason: "STRING_VALUE",
|
|
73
73
|
* // lastUpdatedAt: new Date("TIMESTAMP"),
|
|
74
|
+
* // domainVerificationId: "STRING_VALUE",
|
|
75
|
+
* // domainVerificationArn: "STRING_VALUE",
|
|
76
|
+
* // domainVerificationStatus: "STRING_VALUE",
|
|
77
|
+
* // groupDomain: "STRING_VALUE",
|
|
74
78
|
* // };
|
|
75
79
|
*
|
|
76
80
|
* ```
|
|
@@ -60,11 +60,13 @@ declare const GetServiceNetworkResourceAssociationCommand_base: {
|
|
|
60
60
|
* // domainName: "STRING_VALUE",
|
|
61
61
|
* // hostedZoneId: "STRING_VALUE",
|
|
62
62
|
* // },
|
|
63
|
+
* // privateDnsEnabled: true || false,
|
|
63
64
|
* // dnsEntry: {
|
|
64
65
|
* // domainName: "STRING_VALUE",
|
|
65
66
|
* // hostedZoneId: "STRING_VALUE",
|
|
66
67
|
* // },
|
|
67
68
|
* // isManagedAssociation: true || false,
|
|
69
|
+
* // domainVerificationStatus: "STRING_VALUE",
|
|
68
70
|
* // };
|
|
69
71
|
*
|
|
70
72
|
* ```
|
|
@@ -54,9 +54,16 @@ declare const GetServiceNetworkVpcAssociationCommand_base: {
|
|
|
54
54
|
* // securityGroupIds: [ // SecurityGroupList
|
|
55
55
|
* // "STRING_VALUE",
|
|
56
56
|
* // ],
|
|
57
|
+
* // privateDnsEnabled: true || false,
|
|
57
58
|
* // failureMessage: "STRING_VALUE",
|
|
58
59
|
* // failureCode: "STRING_VALUE",
|
|
59
60
|
* // lastUpdatedAt: new Date("TIMESTAMP"),
|
|
61
|
+
* // dnsOptions: { // DnsOptions
|
|
62
|
+
* // privateDnsPreference: "STRING_VALUE",
|
|
63
|
+
* // privateDnsSpecifiedDomains: [ // PrivateDnsSpecifiedDomainsList
|
|
64
|
+
* // "STRING_VALUE",
|
|
65
|
+
* // ],
|
|
66
|
+
* // },
|
|
60
67
|
* // };
|
|
61
68
|
*
|
|
62
69
|
* ```
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListDomainVerificationsRequest, ListDomainVerificationsResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListDomainVerificationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDomainVerificationsCommandInput extends ListDomainVerificationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDomainVerificationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDomainVerificationsCommandOutput extends ListDomainVerificationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListDomainVerificationsCommand_base: {
|
|
25
|
+
new (input: ListDomainVerificationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDomainVerificationsCommandInput, ListDomainVerificationsCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListDomainVerificationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListDomainVerificationsCommandInput, ListDomainVerificationsCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Lists the domain verifications. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { VPCLatticeClient, ListDomainVerificationsCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
|
|
35
|
+
* // const { VPCLatticeClient, ListDomainVerificationsCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
|
|
36
|
+
* // import type { VPCLatticeClientConfig } from "@aws-sdk/client-vpc-lattice";
|
|
37
|
+
* const config = {}; // type is VPCLatticeClientConfig
|
|
38
|
+
* const client = new VPCLatticeClient(config);
|
|
39
|
+
* const input = { // ListDomainVerificationsRequest
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListDomainVerificationsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListDomainVerificationsResponse
|
|
46
|
+
* // items: [ // DomainVerificationList // required
|
|
47
|
+
* // { // DomainVerificationSummary
|
|
48
|
+
* // id: "STRING_VALUE", // required
|
|
49
|
+
* // arn: "STRING_VALUE", // required
|
|
50
|
+
* // domainName: "STRING_VALUE", // required
|
|
51
|
+
* // status: "STRING_VALUE", // required
|
|
52
|
+
* // txtMethodConfig: { // TxtMethodConfig
|
|
53
|
+
* // value: "STRING_VALUE", // required
|
|
54
|
+
* // name: "STRING_VALUE", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // lastVerifiedTime: new Date("TIMESTAMP"),
|
|
58
|
+
* // tags: { // TagMap
|
|
59
|
+
* // "<keys>": "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // nextToken: "STRING_VALUE",
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param ListDomainVerificationsCommandInput - {@link ListDomainVerificationsCommandInput}
|
|
69
|
+
* @returns {@link ListDomainVerificationsCommandOutput}
|
|
70
|
+
* @see {@link ListDomainVerificationsCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link ListDomainVerificationsCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p>The user does not have sufficient access to perform this action.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* <p>An unexpected error occurred while processing the request.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>The request references a resource that does not exist.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link VPCLatticeServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from VPCLattice service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class ListDomainVerificationsCommand extends ListDomainVerificationsCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: ListDomainVerificationsRequest;
|
|
100
|
+
output: ListDomainVerificationsResponse;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: ListDomainVerificationsCommandInput;
|
|
104
|
+
output: ListDomainVerificationsCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -39,6 +39,7 @@ declare const ListResourceConfigurationsCommand_base: {
|
|
|
39
39
|
* const input = { // ListResourceConfigurationsRequest
|
|
40
40
|
* resourceGatewayIdentifier: "STRING_VALUE",
|
|
41
41
|
* resourceConfigurationGroupIdentifier: "STRING_VALUE",
|
|
42
|
+
* domainVerificationIdentifier: "STRING_VALUE",
|
|
42
43
|
* maxResults: Number("int"),
|
|
43
44
|
* nextToken: "STRING_VALUE",
|
|
44
45
|
* };
|
|
@@ -57,6 +58,9 @@ declare const ListResourceConfigurationsCommand_base: {
|
|
|
57
58
|
* // amazonManaged: true || false,
|
|
58
59
|
* // createdAt: new Date("TIMESTAMP"),
|
|
59
60
|
* // lastUpdatedAt: new Date("TIMESTAMP"),
|
|
61
|
+
* // customDomainName: "STRING_VALUE",
|
|
62
|
+
* // domainVerificationId: "STRING_VALUE",
|
|
63
|
+
* // groupDomain: "STRING_VALUE",
|
|
60
64
|
* // },
|
|
61
65
|
* // ],
|
|
62
66
|
* // nextToken: "STRING_VALUE",
|
|
@@ -55,6 +55,13 @@ declare const ListServiceNetworkVpcAssociationsCommand_base: {
|
|
|
55
55
|
* // serviceNetworkId: "STRING_VALUE",
|
|
56
56
|
* // serviceNetworkName: "STRING_VALUE",
|
|
57
57
|
* // serviceNetworkArn: "STRING_VALUE",
|
|
58
|
+
* // privateDnsEnabled: true || false,
|
|
59
|
+
* // dnsOptions: { // DnsOptions
|
|
60
|
+
* // privateDnsPreference: "STRING_VALUE",
|
|
61
|
+
* // privateDnsSpecifiedDomains: [ // PrivateDnsSpecifiedDomainsList
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // },
|
|
58
65
|
* // vpcId: "STRING_VALUE",
|
|
59
66
|
* // lastUpdatedAt: new Date("TIMESTAMP"),
|
|
60
67
|
* // },
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StartDomainVerificationRequest, StartDomainVerificationResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartDomainVerificationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartDomainVerificationCommandInput extends StartDomainVerificationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartDomainVerificationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartDomainVerificationCommandOutput extends StartDomainVerificationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartDomainVerificationCommand_base: {
|
|
25
|
+
new (input: StartDomainVerificationCommandInput): import("@smithy/smithy-client").CommandImpl<StartDomainVerificationCommandInput, StartDomainVerificationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StartDomainVerificationCommandInput): import("@smithy/smithy-client").CommandImpl<StartDomainVerificationCommandInput, StartDomainVerificationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Starts the domain verification process for a custom domain name. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { VPCLatticeClient, StartDomainVerificationCommand } from "@aws-sdk/client-vpc-lattice"; // ES Modules import
|
|
35
|
+
* // const { VPCLatticeClient, StartDomainVerificationCommand } = require("@aws-sdk/client-vpc-lattice"); // CommonJS import
|
|
36
|
+
* // import type { VPCLatticeClientConfig } from "@aws-sdk/client-vpc-lattice";
|
|
37
|
+
* const config = {}; // type is VPCLatticeClientConfig
|
|
38
|
+
* const client = new VPCLatticeClient(config);
|
|
39
|
+
* const input = { // StartDomainVerificationRequest
|
|
40
|
+
* clientToken: "STRING_VALUE",
|
|
41
|
+
* domainName: "STRING_VALUE", // required
|
|
42
|
+
* tags: { // TagMap
|
|
43
|
+
* "<keys>": "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* };
|
|
46
|
+
* const command = new StartDomainVerificationCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // StartDomainVerificationResponse
|
|
49
|
+
* // id: "STRING_VALUE", // required
|
|
50
|
+
* // arn: "STRING_VALUE", // required
|
|
51
|
+
* // domainName: "STRING_VALUE", // required
|
|
52
|
+
* // status: "STRING_VALUE", // required
|
|
53
|
+
* // txtMethodConfig: { // TxtMethodConfig
|
|
54
|
+
* // value: "STRING_VALUE", // required
|
|
55
|
+
* // name: "STRING_VALUE", // required
|
|
56
|
+
* // },
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param StartDomainVerificationCommandInput - {@link StartDomainVerificationCommandInput}
|
|
62
|
+
* @returns {@link StartDomainVerificationCommandOutput}
|
|
63
|
+
* @see {@link StartDomainVerificationCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link StartDomainVerificationCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>The user does not have sufficient access to perform this action.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ConflictException} (client fault)
|
|
71
|
+
* <p>The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>An unexpected error occurred while processing the request.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
77
|
+
* <p>The request would cause a service quota to be exceeded.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link VPCLatticeServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from VPCLattice service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class StartDomainVerificationCommand extends StartDomainVerificationCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: StartDomainVerificationRequest;
|
|
96
|
+
output: StartDomainVerificationResponse;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: StartDomainVerificationCommandInput;
|
|
100
|
+
output: StartDomainVerificationCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -12,6 +12,7 @@ export * from "./CreateServiceNetworkVpcAssociationCommand";
|
|
|
12
12
|
export * from "./CreateTargetGroupCommand";
|
|
13
13
|
export * from "./DeleteAccessLogSubscriptionCommand";
|
|
14
14
|
export * from "./DeleteAuthPolicyCommand";
|
|
15
|
+
export * from "./DeleteDomainVerificationCommand";
|
|
15
16
|
export * from "./DeleteListenerCommand";
|
|
16
17
|
export * from "./DeleteResourceConfigurationCommand";
|
|
17
18
|
export * from "./DeleteResourceEndpointAssociationCommand";
|
|
@@ -27,6 +28,7 @@ export * from "./DeleteTargetGroupCommand";
|
|
|
27
28
|
export * from "./DeregisterTargetsCommand";
|
|
28
29
|
export * from "./GetAccessLogSubscriptionCommand";
|
|
29
30
|
export * from "./GetAuthPolicyCommand";
|
|
31
|
+
export * from "./GetDomainVerificationCommand";
|
|
30
32
|
export * from "./GetListenerCommand";
|
|
31
33
|
export * from "./GetResourceConfigurationCommand";
|
|
32
34
|
export * from "./GetResourceGatewayCommand";
|
|
@@ -39,6 +41,7 @@ export * from "./GetServiceNetworkServiceAssociationCommand";
|
|
|
39
41
|
export * from "./GetServiceNetworkVpcAssociationCommand";
|
|
40
42
|
export * from "./GetTargetGroupCommand";
|
|
41
43
|
export * from "./ListAccessLogSubscriptionsCommand";
|
|
44
|
+
export * from "./ListDomainVerificationsCommand";
|
|
42
45
|
export * from "./ListListenersCommand";
|
|
43
46
|
export * from "./ListResourceConfigurationsCommand";
|
|
44
47
|
export * from "./ListResourceEndpointAssociationsCommand";
|
|
@@ -56,6 +59,7 @@ export * from "./ListTargetsCommand";
|
|
|
56
59
|
export * from "./PutAuthPolicyCommand";
|
|
57
60
|
export * from "./PutResourcePolicyCommand";
|
|
58
61
|
export * from "./RegisterTargetsCommand";
|
|
62
|
+
export * from "./StartDomainVerificationCommand";
|
|
59
63
|
export * from "./TagResourceCommand";
|
|
60
64
|
export * from "./UntagResourceCommand";
|
|
61
65
|
export * from "./UpdateAccessLogSubscriptionCommand";
|