Skip to content

Commit 8c5845d

Browse files
author
awstools
committed
feat(client-connect): Releasing Tagging Support for Instance Management APIS
1 parent e543341 commit 8c5845d

File tree

5 files changed

+32
-0
lines changed

5 files changed

+32
-0
lines changed

clients/client-connect/src/commands/CreateInstanceCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ export interface CreateInstanceCommandOutput extends CreateInstanceResponse, __M
6161
* DirectoryId: "STRING_VALUE",
6262
* InboundCallsEnabled: true || false, // required
6363
* OutboundCallsEnabled: true || false, // required
64+
* Tags: { // TagMap
65+
* "<keys>": "STRING_VALUE",
66+
* },
6467
* };
6568
* const command = new CreateInstanceCommand(input);
6669
* const response = await client.send(command);

clients/client-connect/src/commands/DescribeInstanceCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ export interface DescribeInstanceCommandOutput extends DescribeInstanceResponse,
7373
* // InboundCallsEnabled: true || false,
7474
* // OutboundCallsEnabled: true || false,
7575
* // InstanceAccessUrl: "STRING_VALUE",
76+
* // Tags: { // TagMap
77+
* // "<keys>": "STRING_VALUE",
78+
* // },
7679
* // },
7780
* // };
7881
*

clients/client-connect/src/models/models_0.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2841,6 +2841,12 @@ export interface CreateInstanceRequest {
28412841
* <p>Your contact center allows outbound calls.</p>
28422842
*/
28432843
OutboundCallsEnabled: boolean | undefined;
2844+
2845+
/**
2846+
* @public
2847+
* <p>The tags used to organize, track, or control access for this resource. For example, <code>\{ "tags": \{"key1":"value1", "key2":"value2"\} \}</code>.</p>
2848+
*/
2849+
Tags?: Record<string, string>;
28442850
}
28452851

28462852
/**
@@ -6625,6 +6631,12 @@ export interface Instance {
66256631
* <p>This URL allows contact center users to access the Amazon Connect admin website.</p>
66266632
*/
66276633
InstanceAccessUrl?: string;
6634+
6635+
/**
6636+
* @public
6637+
* <p>The tags of an instance.</p>
6638+
*/
6639+
Tags?: Record<string, string>;
66286640
}
66296641

66306642
/**

clients/client-connect/src/protocols/Aws_restJson1.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1714,6 +1714,7 @@ export const se_CreateInstanceCommand = async (
17141714
InboundCallsEnabled: [],
17151715
InstanceAlias: [],
17161716
OutboundCallsEnabled: [],
1717+
Tags: (_) => _json(_),
17171718
})
17181719
);
17191720
return new __HttpRequest({
@@ -23880,6 +23881,7 @@ const de_Instance = (output: any, context: __SerdeContext): Instance => {
2388023881
OutboundCallsEnabled: __expectBoolean,
2388123882
ServiceRole: __expectString,
2388223883
StatusReason: _json,
23884+
Tags: _json,
2388323885
}) as any;
2388423886
};
2388523887

codegen/sdk-codegen/aws-models/connect.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5627,6 +5627,12 @@
56275627
"smithy.api#documentation": "<p>Your contact center allows outbound calls.</p>",
56285628
"smithy.api#required": {}
56295629
}
5630+
},
5631+
"Tags": {
5632+
"target": "com.amazonaws.connect#TagMap",
5633+
"traits": {
5634+
"smithy.api#documentation": "<p>The tags used to organize, track, or control access for this resource. For example, <code>{ \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }</code>.</p>"
5635+
}
56305636
}
56315637
},
56325638
"traits": {
@@ -15894,6 +15900,12 @@
1589415900
"traits": {
1589515901
"smithy.api#documentation": "<p>This URL allows contact center users to access the Amazon Connect admin website.</p>"
1589615902
}
15903+
},
15904+
"Tags": {
15905+
"target": "com.amazonaws.connect#TagMap",
15906+
"traits": {
15907+
"smithy.api#documentation": "<p>The tags of an instance.</p>"
15908+
}
1589715909
}
1589815910
},
1589915911
"traits": {

0 commit comments

Comments
 (0)