Skip to content

Commit 9edf14f

Browse files
author
awstools
committed
feat(client-kinesis): Marking ResourceARN as required for Amazon Kinesis Data Streams APIs TagResource, UntagResource, and ListTagsForResource.
1 parent b15810a commit 9edf14f

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

clients/client-kinesis/src/Kinesis.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,6 @@ export interface Kinesis {
481481
/**
482482
* @see {@link ListTagsForResourceCommand}
483483
*/
484-
listTagsForResource(): Promise<ListTagsForResourceCommandOutput>;
485484
listTagsForResource(
486485
args: ListTagsForResourceCommandInput,
487486
options?: __HttpHandlerOptions

clients/client-kinesis/src/commands/ListTagsForResourceCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
3737
* // const { KinesisClient, ListTagsForResourceCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
3838
* const client = new KinesisClient(config);
3939
* const input = { // ListTagsForResourceInput
40-
* ResourceARN: "STRING_VALUE",
40+
* ResourceARN: "STRING_VALUE", // required
4141
* };
4242
* const command = new ListTagsForResourceCommand(input);
4343
* const response = await client.send(command);

clients/client-kinesis/src/commands/TagResourceCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface TagResourceCommandOutput extends __MetadataBearer {}
3939
* Tags: { // TagMap // required
4040
* "<keys>": "STRING_VALUE",
4141
* },
42-
* ResourceARN: "STRING_VALUE",
42+
* ResourceARN: "STRING_VALUE", // required
4343
* };
4444
* const command = new TagResourceCommand(input);
4545
* const response = await client.send(command);

clients/client-kinesis/src/commands/UntagResourceCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {}
3939
* TagKeys: [ // TagKeyList // required
4040
* "STRING_VALUE",
4141
* ],
42-
* ResourceARN: "STRING_VALUE",
42+
* ResourceARN: "STRING_VALUE", // required
4343
* };
4444
* const command = new UntagResourceCommand(input);
4545
* const response = await client.send(command);

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2098,7 +2098,7 @@ export interface ListTagsForResourceInput {
20982098
* <p>The Amazon Resource Name (ARN) of the Kinesis resource for which to list tags.</p>
20992099
* @public
21002100
*/
2101-
ResourceARN?: string | undefined;
2101+
ResourceARN: string | undefined;
21022102
}
21032103

21042104
/**
@@ -3106,7 +3106,7 @@ export interface TagResourceInput {
31063106
* <p>The Amazon Resource Name (ARN) of the Kinesis resource to which to add tags.</p>
31073107
* @public
31083108
*/
3109-
ResourceARN?: string | undefined;
3109+
ResourceARN: string | undefined;
31103110
}
31113111

31123112
/**
@@ -3123,7 +3123,7 @@ export interface UntagResourceInput {
31233123
* <p>The Amazon Resource Name (ARN) of the Kinesis resource from which to remove tags.</p>
31243124
* @public
31253125
*/
3126-
ResourceARN?: string | undefined;
3126+
ResourceARN: string | undefined;
31273127
}
31283128

31293129
/**

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6231,6 +6231,7 @@
62316231
"target": "com.amazonaws.kinesis#ResourceARN",
62326232
"traits": {
62336233
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Kinesis resource for which to list tags.</p>",
6234+
"smithy.api#required": {},
62346235
"smithy.rules#contextParam": {
62356236
"name": "ResourceARN"
62366237
}
@@ -8237,6 +8238,7 @@
82378238
"target": "com.amazonaws.kinesis#ResourceARN",
82388239
"traits": {
82398240
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Kinesis resource to which to add tags.</p>",
8241+
"smithy.api#required": {},
82408242
"smithy.rules#contextParam": {
82418243
"name": "ResourceARN"
82428244
}
@@ -8307,6 +8309,7 @@
83078309
"target": "com.amazonaws.kinesis#ResourceARN",
83088310
"traits": {
83098311
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Kinesis resource from which to remove tags.</p>",
8312+
"smithy.api#required": {},
83108313
"smithy.rules#contextParam": {
83118314
"name": "ResourceARN"
83128315
}

0 commit comments

Comments
 (0)