Skip to content

Commit f46fcf1

Browse files
author
awstools
committed
feat(client-vpc-lattice): Amazon VPC Lattice now supports custom domain name for resource configurations
1 parent 89c1f79 commit f46fcf1

22 files changed

+2184
-0
lines changed

clients/client-vpc-lattice/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,14 @@ DeleteAuthPolicy
314314

315315
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/vpc-lattice/command/DeleteAuthPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/DeleteAuthPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/DeleteAuthPolicyCommandOutput/)
316316

317+
</details>
318+
<details>
319+
<summary>
320+
DeleteDomainVerification
321+
</summary>
322+
323+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/vpc-lattice/command/DeleteDomainVerificationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/DeleteDomainVerificationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/DeleteDomainVerificationCommandOutput/)
324+
317325
</details>
318326
<details>
319327
<summary>
@@ -434,6 +442,14 @@ GetAuthPolicy
434442

435443
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/vpc-lattice/command/GetAuthPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/GetAuthPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/GetAuthPolicyCommandOutput/)
436444

445+
</details>
446+
<details>
447+
<summary>
448+
GetDomainVerification
449+
</summary>
450+
451+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/vpc-lattice/command/GetDomainVerificationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/GetDomainVerificationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/GetDomainVerificationCommandOutput/)
452+
437453
</details>
438454
<details>
439455
<summary>
@@ -530,6 +546,14 @@ ListAccessLogSubscriptions
530546

531547
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/vpc-lattice/command/ListAccessLogSubscriptionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/ListAccessLogSubscriptionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/ListAccessLogSubscriptionsCommandOutput/)
532548

549+
</details>
550+
<details>
551+
<summary>
552+
ListDomainVerifications
553+
</summary>
554+
555+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/vpc-lattice/command/ListDomainVerificationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/ListDomainVerificationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/ListDomainVerificationsCommandOutput/)
556+
533557
</details>
534558
<details>
535559
<summary>
@@ -666,6 +690,14 @@ RegisterTargets
666690

667691
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/vpc-lattice/command/RegisterTargetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/RegisterTargetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/RegisterTargetsCommandOutput/)
668692

693+
</details>
694+
<details>
695+
<summary>
696+
StartDomainVerification
697+
</summary>
698+
699+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/vpc-lattice/command/StartDomainVerificationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/StartDomainVerificationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/StartDomainVerificationCommandOutput/)
700+
669701
</details>
670702
<details>
671703
<summary>

clients/client-vpc-lattice/src/VPCLattice.ts

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ import {
6868
DeleteAuthPolicyCommandInput,
6969
DeleteAuthPolicyCommandOutput,
7070
} from "./commands/DeleteAuthPolicyCommand";
71+
import {
72+
DeleteDomainVerificationCommand,
73+
DeleteDomainVerificationCommandInput,
74+
DeleteDomainVerificationCommandOutput,
75+
} from "./commands/DeleteDomainVerificationCommand";
7176
import {
7277
DeleteListenerCommand,
7378
DeleteListenerCommandInput,
@@ -139,6 +144,11 @@ import {
139144
GetAuthPolicyCommandInput,
140145
GetAuthPolicyCommandOutput,
141146
} from "./commands/GetAuthPolicyCommand";
147+
import {
148+
GetDomainVerificationCommand,
149+
GetDomainVerificationCommandInput,
150+
GetDomainVerificationCommandOutput,
151+
} from "./commands/GetDomainVerificationCommand";
142152
import { GetListenerCommand, GetListenerCommandInput, GetListenerCommandOutput } from "./commands/GetListenerCommand";
143153
import {
144154
GetResourceConfigurationCommand,
@@ -187,6 +197,11 @@ import {
187197
ListAccessLogSubscriptionsCommandInput,
188198
ListAccessLogSubscriptionsCommandOutput,
189199
} from "./commands/ListAccessLogSubscriptionsCommand";
200+
import {
201+
ListDomainVerificationsCommand,
202+
ListDomainVerificationsCommandInput,
203+
ListDomainVerificationsCommandOutput,
204+
} from "./commands/ListDomainVerificationsCommand";
190205
import {
191206
ListListenersCommand,
192207
ListListenersCommandInput,
@@ -264,6 +279,11 @@ import {
264279
RegisterTargetsCommandInput,
265280
RegisterTargetsCommandOutput,
266281
} from "./commands/RegisterTargetsCommand";
282+
import {
283+
StartDomainVerificationCommand,
284+
StartDomainVerificationCommandInput,
285+
StartDomainVerificationCommandOutput,
286+
} from "./commands/StartDomainVerificationCommand";
267287
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
268288
import {
269289
UntagResourceCommand,
@@ -328,6 +348,7 @@ const commands = {
328348
CreateTargetGroupCommand,
329349
DeleteAccessLogSubscriptionCommand,
330350
DeleteAuthPolicyCommand,
351+
DeleteDomainVerificationCommand,
331352
DeleteListenerCommand,
332353
DeleteResourceConfigurationCommand,
333354
DeleteResourceEndpointAssociationCommand,
@@ -343,6 +364,7 @@ const commands = {
343364
DeregisterTargetsCommand,
344365
GetAccessLogSubscriptionCommand,
345366
GetAuthPolicyCommand,
367+
GetDomainVerificationCommand,
346368
GetListenerCommand,
347369
GetResourceConfigurationCommand,
348370
GetResourceGatewayCommand,
@@ -355,6 +377,7 @@ const commands = {
355377
GetServiceNetworkVpcAssociationCommand,
356378
GetTargetGroupCommand,
357379
ListAccessLogSubscriptionsCommand,
380+
ListDomainVerificationsCommand,
358381
ListListenersCommand,
359382
ListResourceConfigurationsCommand,
360383
ListResourceEndpointAssociationsCommand,
@@ -372,6 +395,7 @@ const commands = {
372395
PutAuthPolicyCommand,
373396
PutResourcePolicyCommand,
374397
RegisterTargetsCommand,
398+
StartDomainVerificationCommand,
375399
TagResourceCommand,
376400
UntagResourceCommand,
377401
UpdateAccessLogSubscriptionCommand,
@@ -606,6 +630,23 @@ export interface VPCLattice {
606630
cb: (err: any, data?: DeleteAuthPolicyCommandOutput) => void
607631
): void;
608632

633+
/**
634+
* @see {@link DeleteDomainVerificationCommand}
635+
*/
636+
deleteDomainVerification(
637+
args: DeleteDomainVerificationCommandInput,
638+
options?: __HttpHandlerOptions
639+
): Promise<DeleteDomainVerificationCommandOutput>;
640+
deleteDomainVerification(
641+
args: DeleteDomainVerificationCommandInput,
642+
cb: (err: any, data?: DeleteDomainVerificationCommandOutput) => void
643+
): void;
644+
deleteDomainVerification(
645+
args: DeleteDomainVerificationCommandInput,
646+
options: __HttpHandlerOptions,
647+
cb: (err: any, data?: DeleteDomainVerificationCommandOutput) => void
648+
): void;
649+
609650
/**
610651
* @see {@link DeleteListenerCommand}
611652
*/
@@ -840,6 +881,23 @@ export interface VPCLattice {
840881
cb: (err: any, data?: GetAuthPolicyCommandOutput) => void
841882
): void;
842883

884+
/**
885+
* @see {@link GetDomainVerificationCommand}
886+
*/
887+
getDomainVerification(
888+
args: GetDomainVerificationCommandInput,
889+
options?: __HttpHandlerOptions
890+
): Promise<GetDomainVerificationCommandOutput>;
891+
getDomainVerification(
892+
args: GetDomainVerificationCommandInput,
893+
cb: (err: any, data?: GetDomainVerificationCommandOutput) => void
894+
): void;
895+
getDomainVerification(
896+
args: GetDomainVerificationCommandInput,
897+
options: __HttpHandlerOptions,
898+
cb: (err: any, data?: GetDomainVerificationCommandOutput) => void
899+
): void;
900+
843901
/**
844902
* @see {@link GetListenerCommand}
845903
*/
@@ -1023,6 +1081,24 @@ export interface VPCLattice {
10231081
cb: (err: any, data?: ListAccessLogSubscriptionsCommandOutput) => void
10241082
): void;
10251083

1084+
/**
1085+
* @see {@link ListDomainVerificationsCommand}
1086+
*/
1087+
listDomainVerifications(): Promise<ListDomainVerificationsCommandOutput>;
1088+
listDomainVerifications(
1089+
args: ListDomainVerificationsCommandInput,
1090+
options?: __HttpHandlerOptions
1091+
): Promise<ListDomainVerificationsCommandOutput>;
1092+
listDomainVerifications(
1093+
args: ListDomainVerificationsCommandInput,
1094+
cb: (err: any, data?: ListDomainVerificationsCommandOutput) => void
1095+
): void;
1096+
listDomainVerifications(
1097+
args: ListDomainVerificationsCommandInput,
1098+
options: __HttpHandlerOptions,
1099+
cb: (err: any, data?: ListDomainVerificationsCommandOutput) => void
1100+
): void;
1101+
10261102
/**
10271103
* @see {@link ListListenersCommand}
10281104
*/
@@ -1287,6 +1363,23 @@ export interface VPCLattice {
12871363
cb: (err: any, data?: RegisterTargetsCommandOutput) => void
12881364
): void;
12891365

1366+
/**
1367+
* @see {@link StartDomainVerificationCommand}
1368+
*/
1369+
startDomainVerification(
1370+
args: StartDomainVerificationCommandInput,
1371+
options?: __HttpHandlerOptions
1372+
): Promise<StartDomainVerificationCommandOutput>;
1373+
startDomainVerification(
1374+
args: StartDomainVerificationCommandInput,
1375+
cb: (err: any, data?: StartDomainVerificationCommandOutput) => void
1376+
): void;
1377+
startDomainVerification(
1378+
args: StartDomainVerificationCommandInput,
1379+
options: __HttpHandlerOptions,
1380+
cb: (err: any, data?: StartDomainVerificationCommandOutput) => void
1381+
): void;
1382+
12901383
/**
12911384
* @see {@link TagResourceCommand}
12921385
*/

clients/client-vpc-lattice/src/VPCLatticeClient.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ import {
9191
DeleteAccessLogSubscriptionCommandOutput,
9292
} from "./commands/DeleteAccessLogSubscriptionCommand";
9393
import { DeleteAuthPolicyCommandInput, DeleteAuthPolicyCommandOutput } from "./commands/DeleteAuthPolicyCommand";
94+
import {
95+
DeleteDomainVerificationCommandInput,
96+
DeleteDomainVerificationCommandOutput,
97+
} from "./commands/DeleteDomainVerificationCommand";
9498
import { DeleteListenerCommandInput, DeleteListenerCommandOutput } from "./commands/DeleteListenerCommand";
9599
import {
96100
DeleteResourceConfigurationCommandInput,
@@ -133,6 +137,10 @@ import {
133137
GetAccessLogSubscriptionCommandOutput,
134138
} from "./commands/GetAccessLogSubscriptionCommand";
135139
import { GetAuthPolicyCommandInput, GetAuthPolicyCommandOutput } from "./commands/GetAuthPolicyCommand";
140+
import {
141+
GetDomainVerificationCommandInput,
142+
GetDomainVerificationCommandOutput,
143+
} from "./commands/GetDomainVerificationCommand";
136144
import { GetListenerCommandInput, GetListenerCommandOutput } from "./commands/GetListenerCommand";
137145
import {
138146
GetResourceConfigurationCommandInput,
@@ -160,6 +168,10 @@ import {
160168
ListAccessLogSubscriptionsCommandInput,
161169
ListAccessLogSubscriptionsCommandOutput,
162170
} from "./commands/ListAccessLogSubscriptionsCommand";
171+
import {
172+
ListDomainVerificationsCommandInput,
173+
ListDomainVerificationsCommandOutput,
174+
} from "./commands/ListDomainVerificationsCommand";
163175
import { ListListenersCommandInput, ListListenersCommandOutput } from "./commands/ListListenersCommand";
164176
import {
165177
ListResourceConfigurationsCommandInput,
@@ -204,6 +216,10 @@ import { ListTargetsCommandInput, ListTargetsCommandOutput } from "./commands/Li
204216
import { PutAuthPolicyCommandInput, PutAuthPolicyCommandOutput } from "./commands/PutAuthPolicyCommand";
205217
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
206218
import { RegisterTargetsCommandInput, RegisterTargetsCommandOutput } from "./commands/RegisterTargetsCommand";
219+
import {
220+
StartDomainVerificationCommandInput,
221+
StartDomainVerificationCommandOutput,
222+
} from "./commands/StartDomainVerificationCommand";
207223
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
208224
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
209225
import {
@@ -259,6 +275,7 @@ export type ServiceInputTypes =
259275
| CreateTargetGroupCommandInput
260276
| DeleteAccessLogSubscriptionCommandInput
261277
| DeleteAuthPolicyCommandInput
278+
| DeleteDomainVerificationCommandInput
262279
| DeleteListenerCommandInput
263280
| DeleteResourceConfigurationCommandInput
264281
| DeleteResourceEndpointAssociationCommandInput
@@ -274,6 +291,7 @@ export type ServiceInputTypes =
274291
| DeregisterTargetsCommandInput
275292
| GetAccessLogSubscriptionCommandInput
276293
| GetAuthPolicyCommandInput
294+
| GetDomainVerificationCommandInput
277295
| GetListenerCommandInput
278296
| GetResourceConfigurationCommandInput
279297
| GetResourceGatewayCommandInput
@@ -286,6 +304,7 @@ export type ServiceInputTypes =
286304
| GetServiceNetworkVpcAssociationCommandInput
287305
| GetTargetGroupCommandInput
288306
| ListAccessLogSubscriptionsCommandInput
307+
| ListDomainVerificationsCommandInput
289308
| ListListenersCommandInput
290309
| ListResourceConfigurationsCommandInput
291310
| ListResourceEndpointAssociationsCommandInput
@@ -303,6 +322,7 @@ export type ServiceInputTypes =
303322
| PutAuthPolicyCommandInput
304323
| PutResourcePolicyCommandInput
305324
| RegisterTargetsCommandInput
325+
| StartDomainVerificationCommandInput
306326
| TagResourceCommandInput
307327
| UntagResourceCommandInput
308328
| UpdateAccessLogSubscriptionCommandInput
@@ -333,6 +353,7 @@ export type ServiceOutputTypes =
333353
| CreateTargetGroupCommandOutput
334354
| DeleteAccessLogSubscriptionCommandOutput
335355
| DeleteAuthPolicyCommandOutput
356+
| DeleteDomainVerificationCommandOutput
336357
| DeleteListenerCommandOutput
337358
| DeleteResourceConfigurationCommandOutput
338359
| DeleteResourceEndpointAssociationCommandOutput
@@ -348,6 +369,7 @@ export type ServiceOutputTypes =
348369
| DeregisterTargetsCommandOutput
349370
| GetAccessLogSubscriptionCommandOutput
350371
| GetAuthPolicyCommandOutput
372+
| GetDomainVerificationCommandOutput
351373
| GetListenerCommandOutput
352374
| GetResourceConfigurationCommandOutput
353375
| GetResourceGatewayCommandOutput
@@ -360,6 +382,7 @@ export type ServiceOutputTypes =
360382
| GetServiceNetworkVpcAssociationCommandOutput
361383
| GetTargetGroupCommandOutput
362384
| ListAccessLogSubscriptionsCommandOutput
385+
| ListDomainVerificationsCommandOutput
363386
| ListListenersCommandOutput
364387
| ListResourceConfigurationsCommandOutput
365388
| ListResourceEndpointAssociationsCommandOutput
@@ -377,6 +400,7 @@ export type ServiceOutputTypes =
377400
| PutAuthPolicyCommandOutput
378401
| PutResourcePolicyCommandOutput
379402
| RegisterTargetsCommandOutput
403+
| StartDomainVerificationCommandOutput
380404
| TagResourceCommandOutput
381405
| UntagResourceCommandOutput
382406
| UpdateAccessLogSubscriptionCommandOutput

clients/client-vpc-lattice/src/commands/CreateResourceConfigurationCommand.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ export interface CreateResourceConfigurationCommandOutput
6464
* },
6565
* },
6666
* allowAssociationToShareableServiceNetwork: true || false,
67+
* customDomainName: "STRING_VALUE",
68+
* groupDomain: "STRING_VALUE",
69+
* domainVerificationIdentifier: "STRING_VALUE",
6770
* clientToken: "STRING_VALUE",
6871
* tags: { // TagMap
6972
* "<keys>": "STRING_VALUE",
@@ -98,6 +101,10 @@ export interface CreateResourceConfigurationCommandOutput
98101
* // allowAssociationToShareableServiceNetwork: true || false,
99102
* // createdAt: new Date("TIMESTAMP"),
100103
* // failureReason: "STRING_VALUE",
104+
* // customDomainName: "STRING_VALUE",
105+
* // domainVerificationId: "STRING_VALUE",
106+
* // groupDomain: "STRING_VALUE",
107+
* // domainVerificationArn: "STRING_VALUE",
101108
* // };
102109
*
103110
* ```

clients/client-vpc-lattice/src/commands/CreateServiceNetworkResourceAssociationCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export interface CreateServiceNetworkResourceAssociationCommandOutput
5050
* clientToken: "STRING_VALUE",
5151
* resourceConfigurationIdentifier: "STRING_VALUE", // required
5252
* serviceNetworkIdentifier: "STRING_VALUE", // required
53+
* privateDnsEnabled: true || false,
5354
* tags: { // TagMap
5455
* "<keys>": "STRING_VALUE",
5556
* },
@@ -61,6 +62,7 @@ export interface CreateServiceNetworkResourceAssociationCommandOutput
6162
* // arn: "STRING_VALUE",
6263
* // status: "STRING_VALUE",
6364
* // createdBy: "STRING_VALUE",
65+
* // privateDnsEnabled: true || false,
6466
* // };
6567
*
6668
* ```

0 commit comments

Comments
 (0)