@aws-sdk/client-guardduty 3.927.0 → 3.928.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/commands/CreatePublishingDestinationCommand.d.ts +3 -0
- package/dist-types/commands/DescribePublishingDestinationCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -758,6 +758,7 @@ const se_CreatePublishingDestinationCommand = async (input, context) => {
|
|
|
758
758
|
clientToken: [true, (_) => _ ?? uuid.v4(), `ClientToken`],
|
|
759
759
|
destinationProperties: [, (_) => se_DestinationProperties(_), `DestinationProperties`],
|
|
760
760
|
destinationType: [, , `DestinationType`],
|
|
761
|
+
tags: [, (_) => smithyClient._json(_), `Tags`],
|
|
761
762
|
}));
|
|
762
763
|
b.m("POST").h(headers).b(body);
|
|
763
764
|
return b.build();
|
|
@@ -2089,6 +2090,7 @@ const de_DescribePublishingDestinationCommand = async (output, context) => {
|
|
|
2089
2090
|
DestinationType: [, smithyClient.expectString, `destinationType`],
|
|
2090
2091
|
PublishingFailureStartTimestamp: [, smithyClient.expectLong, `publishingFailureStartTimestamp`],
|
|
2091
2092
|
Status: [, smithyClient.expectString, `status`],
|
|
2093
|
+
Tags: [, smithyClient._json, `tags`],
|
|
2092
2094
|
});
|
|
2093
2095
|
Object.assign(contents, doc);
|
|
2094
2096
|
return contents;
|
|
@@ -149,6 +149,7 @@ export const se_CreatePublishingDestinationCommand = async (input, context) => {
|
|
|
149
149
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken(), `ClientToken`],
|
|
150
150
|
destinationProperties: [, (_) => se_DestinationProperties(_, context), `DestinationProperties`],
|
|
151
151
|
destinationType: [, , `DestinationType`],
|
|
152
|
+
tags: [, (_) => _json(_), `Tags`],
|
|
152
153
|
}));
|
|
153
154
|
b.m("POST").h(headers).b(body);
|
|
154
155
|
return b.build();
|
|
@@ -1480,6 +1481,7 @@ export const de_DescribePublishingDestinationCommand = async (output, context) =
|
|
|
1480
1481
|
DestinationType: [, __expectString, `destinationType`],
|
|
1481
1482
|
PublishingFailureStartTimestamp: [, __expectLong, `publishingFailureStartTimestamp`],
|
|
1482
1483
|
Status: [, __expectString, `status`],
|
|
1484
|
+
Tags: [, _json, `tags`],
|
|
1483
1485
|
});
|
|
1484
1486
|
Object.assign(contents, doc);
|
|
1485
1487
|
return contents;
|
|
@@ -45,6 +45,9 @@ declare const CreatePublishingDestinationCommand_base: {
|
|
|
45
45
|
* KmsKeyArn: "STRING_VALUE",
|
|
46
46
|
* },
|
|
47
47
|
* ClientToken: "STRING_VALUE",
|
|
48
|
+
* Tags: { // TagMap
|
|
49
|
+
* "<keys>": "STRING_VALUE",
|
|
50
|
+
* },
|
|
48
51
|
* };
|
|
49
52
|
* const command = new CreatePublishingDestinationCommand(input);
|
|
50
53
|
* const response = await client.send(command);
|
|
@@ -3069,6 +3069,11 @@ export interface CreatePublishingDestinationRequest {
|
|
|
3069
3069
|
* @public
|
|
3070
3070
|
*/
|
|
3071
3071
|
ClientToken?: string | undefined;
|
|
3072
|
+
/**
|
|
3073
|
+
* <p>The tags to be added to a new publishing destination resource.</p>
|
|
3074
|
+
* @public
|
|
3075
|
+
*/
|
|
3076
|
+
Tags?: Record<string, string> | undefined;
|
|
3072
3077
|
}
|
|
3073
3078
|
/**
|
|
3074
3079
|
* @public
|
|
@@ -4485,6 +4490,11 @@ export interface DescribePublishingDestinationResponse {
|
|
|
4485
4490
|
* @public
|
|
4486
4491
|
*/
|
|
4487
4492
|
DestinationProperties: DestinationProperties | undefined;
|
|
4493
|
+
/**
|
|
4494
|
+
* <p>The tags of the publishing destination resource.</p>
|
|
4495
|
+
* @public
|
|
4496
|
+
*/
|
|
4497
|
+
Tags?: Record<string, string> | undefined;
|
|
4488
4498
|
}
|
|
4489
4499
|
/**
|
|
4490
4500
|
* <p>Contains information about the publishing destination, including the ID, type, and
|
|
@@ -717,6 +717,7 @@ export interface CreatePublishingDestinationRequest {
|
|
|
717
717
|
DestinationType: DestinationType | undefined;
|
|
718
718
|
DestinationProperties: DestinationProperties | undefined;
|
|
719
719
|
ClientToken?: string | undefined;
|
|
720
|
+
Tags?: Record<string, string> | undefined;
|
|
720
721
|
}
|
|
721
722
|
export interface CreatePublishingDestinationResponse {
|
|
722
723
|
DestinationId: string | undefined;
|
|
@@ -1085,6 +1086,7 @@ export interface DescribePublishingDestinationResponse {
|
|
|
1085
1086
|
Status: PublishingStatus | undefined;
|
|
1086
1087
|
PublishingFailureStartTimestamp: number | undefined;
|
|
1087
1088
|
DestinationProperties: DestinationProperties | undefined;
|
|
1089
|
+
Tags?: Record<string, string> | undefined;
|
|
1088
1090
|
}
|
|
1089
1091
|
export interface Destination {
|
|
1090
1092
|
DestinationId: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-guardduty",
|
|
3
3
|
"description": "AWS SDK for JavaScript Guardduty Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.928.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-guardduty",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.928.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.928.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.922.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.922.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.922.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.928.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.925.0",
|
|
30
30
|
"@aws-sdk/types": "3.922.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.922.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.922.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.928.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.2",
|
|
35
35
|
"@smithy/core": "^3.17.2",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.5",
|