Skip to content

Commit

Permalink
feat(client-glue): Add Support for Tags for Custom Entity Types
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed May 16, 2023
1 parent d3d15cf commit 7c99c1e
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ export interface CreateCustomEntityTypeCommandOutput extends CreateCustomEntityT
* ContextWords: [ // ContextWords
* "STRING_VALUE",
* ],
* Tags: { // TagsMap
* "<keys>": "STRING_VALUE",
* },
* };
* const command = new CreateCustomEntityTypeCommand(input);
* const response = await client.send(command);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ export interface ListCustomEntityTypesCommandOutput extends ListCustomEntityType
* const input = { // ListCustomEntityTypesRequest
* NextToken: "STRING_VALUE",
* MaxResults: Number("int"),
* Tags: { // TagsMap
* "<keys>": "STRING_VALUE",
* },
* };
* const command = new ListCustomEntityTypesCommand(input);
* const response = await client.send(command);
Expand Down
5 changes: 5 additions & 0 deletions clients/client-glue/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7395,6 +7395,11 @@ export interface CreateCustomEntityTypeRequest {
* <p>If no context words are passed only a regular expression is checked.</p>
*/
ContextWords?: string[];

/**
* <p>A list of tags applied to the custom entity type.</p>
*/
Tags?: Record<string, string>;
}

/**
Expand Down
5 changes: 5 additions & 0 deletions clients/client-glue/src/models/models_2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,11 @@ export interface ListCustomEntityTypesRequest {
* <p>The maximum number of results to return.</p>
*/
MaxResults?: number;

/**
* <p>A list of key-value pair tags.</p>
*/
Tags?: Record<string, string>;
}

/**
Expand Down
12 changes: 12 additions & 0 deletions codegen/sdk-codegen/aws-models/glue.json
Original file line number Diff line number Diff line change
Expand Up @@ -7457,6 +7457,12 @@
"traits": {
"smithy.api#documentation": "<p>A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.</p>\n <p>If no context words are passed only a regular expression is checked.</p>"
}
},
"Tags": {
"target": "com.amazonaws.glue#TagsMap",
"traits": {
"smithy.api#documentation": "<p>A list of tags applied to the custom entity type.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -21917,6 +21923,12 @@
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return.</p>"
}
},
"Tags": {
"target": "com.amazonaws.glue#TagsMap",
"traits": {
"smithy.api#documentation": "<p>A list of key-value pair tags.</p>"
}
}
},
"traits": {
Expand Down

0 comments on commit 7c99c1e

Please sign in to comment.