Skip to content

Commit 60d0fe6

Browse files
author
awstools
committed
feat(client-deadline): Adds support for tag management on monitors.
1 parent f72f1fc commit 60d0fe6

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

clients/client-deadline/src/commands/CreateMonitorCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ export interface CreateMonitorCommandOutput extends CreateMonitorResponse, __Met
4141
* identityCenterInstanceArn: "STRING_VALUE", // required
4242
* subdomain: "STRING_VALUE", // required
4343
* roleArn: "STRING_VALUE", // required
44+
* tags: { // Tags
45+
* "<keys>": "STRING_VALUE",
46+
* },
4447
* };
4548
* const command = new CreateMonitorCommand(input);
4649
* const response = await client.send(command);

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3718,6 +3718,12 @@ export interface CreateMonitorRequest {
37183718
* @public
37193719
*/
37203720
roleArn: string | undefined;
3721+
3722+
/**
3723+
* <p>The tags to add to your monitor. Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.</p>
3724+
* @public
3725+
*/
3726+
tags?: Record<string, string> | undefined;
37213727
}
37223728

37233729
/**

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -972,6 +972,7 @@ export const se_CreateMonitorCommand = async (
972972
identityCenterInstanceArn: [],
973973
roleArn: [],
974974
subdomain: [],
975+
tags: (_) => _json(_),
975976
})
976977
);
977978
let { hostname: resolvedHostname } = await context.endpoint();

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3044,6 +3044,12 @@
30443044
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role that the monitor uses to connect to Deadline Cloud. Every user that signs in to the monitor using IAM Identity Center uses this role to access Deadline Cloud resources.</p>",
30453045
"smithy.api#required": {}
30463046
}
3047+
},
3048+
"tags": {
3049+
"target": "com.amazonaws.deadline#Tags",
3050+
"traits": {
3051+
"smithy.api#documentation": "<p>The tags to add to your monitor. Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.</p>"
3052+
}
30473053
}
30483054
},
30493055
"traits": {

0 commit comments

Comments
 (0)