@aws-sdk/client-guardduty 3.846.0 → 3.848.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 CHANGED
@@ -1028,6 +1028,7 @@ var se_CreateIPSetCommand = /* @__PURE__ */ __name(async (input, context) => {
1028
1028
  (0, import_smithy_client.take)(input, {
1029
1029
  activate: [, , `Activate`],
1030
1030
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)(), `ClientToken`],
1031
+ expectedBucketOwner: [, , `ExpectedBucketOwner`],
1031
1032
  format: [, , `Format`],
1032
1033
  location: [, , `Location`],
1033
1034
  name: [, , `Name`],
@@ -1118,6 +1119,7 @@ var se_CreateThreatIntelSetCommand = /* @__PURE__ */ __name(async (input, contex
1118
1119
  (0, import_smithy_client.take)(input, {
1119
1120
  activate: [, , `Activate`],
1120
1121
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)(), `ClientToken`],
1122
+ expectedBucketOwner: [, , `ExpectedBucketOwner`],
1121
1123
  format: [, , `Format`],
1122
1124
  location: [, , `Location`],
1123
1125
  name: [, , `Name`],
@@ -1888,6 +1890,7 @@ var se_UpdateIPSetCommand = /* @__PURE__ */ __name(async (input, context) => {
1888
1890
  body = JSON.stringify(
1889
1891
  (0, import_smithy_client.take)(input, {
1890
1892
  activate: [, , `Activate`],
1893
+ expectedBucketOwner: [, , `ExpectedBucketOwner`],
1891
1894
  location: [, , `Location`],
1892
1895
  name: [, , `Name`]
1893
1896
  })
@@ -1996,6 +1999,7 @@ var se_UpdateThreatIntelSetCommand = /* @__PURE__ */ __name(async (input, contex
1996
1999
  body = JSON.stringify(
1997
2000
  (0, import_smithy_client.take)(input, {
1998
2001
  activate: [, , `Activate`],
2002
+ expectedBucketOwner: [, , `ExpectedBucketOwner`],
1999
2003
  location: [, , `Location`],
2000
2004
  name: [, , `Name`]
2001
2005
  })
@@ -2470,6 +2474,7 @@ var de_GetIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
2470
2474
  });
2471
2475
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2472
2476
  const doc = (0, import_smithy_client.take)(data, {
2477
+ ExpectedBucketOwner: [, import_smithy_client.expectString, `expectedBucketOwner`],
2473
2478
  Format: [, import_smithy_client.expectString, `format`],
2474
2479
  Location: [, import_smithy_client.expectString, `location`],
2475
2480
  Name: [, import_smithy_client.expectString, `name`],
@@ -2597,6 +2602,7 @@ var de_GetThreatIntelSetCommand = /* @__PURE__ */ __name(async (output, context)
2597
2602
  });
2598
2603
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2599
2604
  const doc = (0, import_smithy_client.take)(data, {
2605
+ ExpectedBucketOwner: [, import_smithy_client.expectString, `expectedBucketOwner`],
2600
2606
  Format: [, import_smithy_client.expectString, `format`],
2601
2607
  Location: [, import_smithy_client.expectString, `location`],
2602
2608
  Name: [, import_smithy_client.expectString, `name`],
@@ -97,6 +97,7 @@ export const se_CreateIPSetCommand = async (input, context) => {
97
97
  body = JSON.stringify(take(input, {
98
98
  activate: [, , `Activate`],
99
99
  clientToken: [true, (_) => _ ?? generateIdempotencyToken(), `ClientToken`],
100
+ expectedBucketOwner: [, , `ExpectedBucketOwner`],
100
101
  format: [, , `Format`],
101
102
  location: [, , `Location`],
102
103
  name: [, , `Name`],
@@ -177,6 +178,7 @@ export const se_CreateThreatIntelSetCommand = async (input, context) => {
177
178
  body = JSON.stringify(take(input, {
178
179
  activate: [, , `Activate`],
179
180
  clientToken: [true, (_) => _ ?? generateIdempotencyToken(), `ClientToken`],
181
+ expectedBucketOwner: [, , `ExpectedBucketOwner`],
180
182
  format: [, , `Format`],
181
183
  location: [, , `Location`],
182
184
  name: [, , `Name`],
@@ -895,6 +897,7 @@ export const se_UpdateIPSetCommand = async (input, context) => {
895
897
  let body;
896
898
  body = JSON.stringify(take(input, {
897
899
  activate: [, , `Activate`],
900
+ expectedBucketOwner: [, , `ExpectedBucketOwner`],
898
901
  location: [, , `Location`],
899
902
  name: [, , `Name`],
900
903
  }));
@@ -991,6 +994,7 @@ export const se_UpdateThreatIntelSetCommand = async (input, context) => {
991
994
  let body;
992
995
  body = JSON.stringify(take(input, {
993
996
  activate: [, , `Activate`],
997
+ expectedBucketOwner: [, , `ExpectedBucketOwner`],
994
998
  location: [, , `Location`],
995
999
  name: [, , `Name`],
996
1000
  }));
@@ -1464,6 +1468,7 @@ export const de_GetIPSetCommand = async (output, context) => {
1464
1468
  });
1465
1469
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1466
1470
  const doc = take(data, {
1471
+ ExpectedBucketOwner: [, __expectString, `expectedBucketOwner`],
1467
1472
  Format: [, __expectString, `format`],
1468
1473
  Location: [, __expectString, `location`],
1469
1474
  Name: [, __expectString, `name`],
@@ -1591,6 +1596,7 @@ export const de_GetThreatIntelSetCommand = async (output, context) => {
1591
1596
  });
1592
1597
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1593
1598
  const doc = take(data, {
1599
+ ExpectedBucketOwner: [, __expectString, `expectedBucketOwner`],
1594
1600
  Format: [, __expectString, `format`],
1595
1601
  Location: [, __expectString, `location`],
1596
1602
  Name: [, __expectString, `name`],
@@ -47,6 +47,7 @@ declare const CreateIPSetCommand_base: {
47
47
  * Tags: { // TagMap
48
48
  * "<keys>": "STRING_VALUE",
49
49
  * },
50
+ * ExpectedBucketOwner: "STRING_VALUE",
50
51
  * };
51
52
  * const command = new CreateIPSetCommand(input);
52
53
  * const response = await client.send(command);
@@ -62,6 +63,9 @@ declare const CreateIPSetCommand_base: {
62
63
  * @see {@link CreateIPSetCommandOutput} for command's `response` shape.
63
64
  * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
64
65
  *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>An access denied exception object.</p>
68
+ *
65
69
  * @throws {@link BadRequestException} (client fault)
66
70
  * <p>A bad request exception object.</p>
67
71
  *
@@ -46,6 +46,7 @@ declare const CreateThreatIntelSetCommand_base: {
46
46
  * Tags: { // TagMap
47
47
  * "<keys>": "STRING_VALUE",
48
48
  * },
49
+ * ExpectedBucketOwner: "STRING_VALUE",
49
50
  * };
50
51
  * const command = new CreateThreatIntelSetCommand(input);
51
52
  * const response = await client.send(command);
@@ -61,6 +62,9 @@ declare const CreateThreatIntelSetCommand_base: {
61
62
  * @see {@link CreateThreatIntelSetCommandOutput} for command's `response` shape.
62
63
  * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
63
64
  *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>An access denied exception object.</p>
67
+ *
64
68
  * @throws {@link BadRequestException} (client fault)
65
69
  * <p>A bad request exception object.</p>
66
70
  *
@@ -48,6 +48,7 @@ declare const GetIPSetCommand_base: {
48
48
  * // Tags: { // TagMap
49
49
  * // "<keys>": "STRING_VALUE",
50
50
  * // },
51
+ * // ExpectedBucketOwner: "STRING_VALUE",
51
52
  * // };
52
53
  *
53
54
  * ```
@@ -48,6 +48,7 @@ declare const GetThreatIntelSetCommand_base: {
48
48
  * // Tags: { // TagMap
49
49
  * // "<keys>": "STRING_VALUE",
50
50
  * // },
51
+ * // ExpectedBucketOwner: "STRING_VALUE",
51
52
  * // };
52
53
  *
53
54
  * ```
@@ -40,6 +40,7 @@ declare const UpdateIPSetCommand_base: {
40
40
  * Name: "STRING_VALUE",
41
41
  * Location: "STRING_VALUE",
42
42
  * Activate: true || false,
43
+ * ExpectedBucketOwner: "STRING_VALUE",
43
44
  * };
44
45
  * const command = new UpdateIPSetCommand(input);
45
46
  * const response = await client.send(command);
@@ -53,6 +54,9 @@ declare const UpdateIPSetCommand_base: {
53
54
  * @see {@link UpdateIPSetCommandOutput} for command's `response` shape.
54
55
  * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
55
56
  *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>An access denied exception object.</p>
59
+ *
56
60
  * @throws {@link BadRequestException} (client fault)
57
61
  * <p>A bad request exception object.</p>
58
62
  *
@@ -40,6 +40,7 @@ declare const UpdateThreatIntelSetCommand_base: {
40
40
  * Name: "STRING_VALUE",
41
41
  * Location: "STRING_VALUE",
42
42
  * Activate: true || false,
43
+ * ExpectedBucketOwner: "STRING_VALUE",
43
44
  * };
44
45
  * const command = new UpdateThreatIntelSetCommand(input);
45
46
  * const response = await client.send(command);
@@ -53,6 +54,9 @@ declare const UpdateThreatIntelSetCommand_base: {
53
54
  * @see {@link UpdateThreatIntelSetCommandOutput} for command's `response` shape.
54
55
  * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
55
56
  *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>An access denied exception object.</p>
59
+ *
56
60
  * @throws {@link BadRequestException} (client fault)
57
61
  * <p>A bad request exception object.</p>
58
62
  *
@@ -2832,6 +2832,11 @@ export interface CreateIPSetRequest {
2832
2832
  * @public
2833
2833
  */
2834
2834
  Tags?: Record<string, string> | undefined;
2835
+ /**
2836
+ * <p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b> parameter.</p>
2837
+ * @public
2838
+ */
2839
+ ExpectedBucketOwner?: string | undefined;
2835
2840
  }
2836
2841
  /**
2837
2842
  * @public
@@ -3149,6 +3154,11 @@ export interface CreateThreatIntelSetRequest {
3149
3154
  * @public
3150
3155
  */
3151
3156
  Tags?: Record<string, string> | undefined;
3157
+ /**
3158
+ * <p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b> parameter.</p>
3159
+ * @public
3160
+ */
3161
+ ExpectedBucketOwner?: string | undefined;
3152
3162
  }
3153
3163
  /**
3154
3164
  * @public
@@ -161,6 +161,12 @@ export interface GetIPSetResponse {
161
161
  * @public
162
162
  */
163
163
  Tags?: Record<string, string> | undefined;
164
+ /**
165
+ * <p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b> parameter. This field appears
166
+ * in the response only if it was provided during IPSet creation or update.</p>
167
+ * @public
168
+ */
169
+ ExpectedBucketOwner?: string | undefined;
164
170
  }
165
171
  /**
166
172
  * @public
@@ -786,6 +792,12 @@ export interface GetThreatIntelSetResponse {
786
792
  * @public
787
793
  */
788
794
  Tags?: Record<string, string> | undefined;
795
+ /**
796
+ * <p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b> parameter.
797
+ * This field appears in the response only if it was provided during ThreatIntelSet creation or update.</p>
798
+ * @public
799
+ */
800
+ ExpectedBucketOwner?: string | undefined;
789
801
  }
790
802
  /**
791
803
  * @public
@@ -2093,6 +2105,11 @@ export interface UpdateIPSetRequest {
2093
2105
  * @public
2094
2106
  */
2095
2107
  Activate?: boolean | undefined;
2108
+ /**
2109
+ * <p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b> parameter.</p>
2110
+ * @public
2111
+ */
2112
+ ExpectedBucketOwner?: string | undefined;
2096
2113
  }
2097
2114
  /**
2098
2115
  * @public
@@ -2577,6 +2594,11 @@ export interface UpdateThreatIntelSetRequest {
2577
2594
  * @public
2578
2595
  */
2579
2596
  Activate?: boolean | undefined;
2597
+ /**
2598
+ * <p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b> parameter.</p>
2599
+ * @public
2600
+ */
2601
+ ExpectedBucketOwner?: string | undefined;
2580
2602
  }
2581
2603
  /**
2582
2604
  * @public
@@ -657,6 +657,7 @@ export interface CreateIPSetRequest {
657
657
  Activate: boolean | undefined;
658
658
  ClientToken?: string | undefined;
659
659
  Tags?: Record<string, string> | undefined;
660
+ ExpectedBucketOwner?: string | undefined;
660
661
  }
661
662
  export interface CreateIPSetResponse {
662
663
  IpSetId: string | undefined;
@@ -742,6 +743,7 @@ export interface CreateThreatIntelSetRequest {
742
743
  Activate: boolean | undefined;
743
744
  ClientToken?: string | undefined;
744
745
  Tags?: Record<string, string> | undefined;
746
+ ExpectedBucketOwner?: string | undefined;
745
747
  }
746
748
  export interface CreateThreatIntelSetResponse {
747
749
  ThreatIntelSetId: string | undefined;
@@ -78,6 +78,7 @@ export interface GetIPSetResponse {
78
78
  Location: string | undefined;
79
79
  Status: IpSetStatus | undefined;
80
80
  Tags?: Record<string, string> | undefined;
81
+ ExpectedBucketOwner?: string | undefined;
81
82
  }
82
83
  export interface GetMalwareProtectionPlanRequest {
83
84
  MalwareProtectionPlanId: string | undefined;
@@ -234,6 +235,7 @@ export interface GetThreatIntelSetResponse {
234
235
  Location: string | undefined;
235
236
  Status: ThreatIntelSetStatus | undefined;
236
237
  Tags?: Record<string, string> | undefined;
238
+ ExpectedBucketOwner?: string | undefined;
237
239
  }
238
240
  export declare const UsageFeature: {
239
241
  readonly CLOUD_TRAIL: "CLOUD_TRAIL";
@@ -505,6 +507,7 @@ export interface UpdateIPSetRequest {
505
507
  Name?: string | undefined;
506
508
  Location?: string | undefined;
507
509
  Activate?: boolean | undefined;
510
+ ExpectedBucketOwner?: string | undefined;
508
511
  }
509
512
  export interface UpdateIPSetResponse {}
510
513
  export interface UpdateS3BucketResource {
@@ -597,6 +600,7 @@ export interface UpdateThreatIntelSetRequest {
597
600
  Name?: string | undefined;
598
601
  Location?: string | undefined;
599
602
  Activate?: boolean | undefined;
603
+ ExpectedBucketOwner?: string | undefined;
600
604
  }
601
605
  export interface UpdateThreatIntelSetResponse {}
602
606
  export declare const GetFindingsResponseFilterSensitiveLog: (
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.846.0",
4
+ "version": "3.848.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",
@@ -21,16 +21,16 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.846.0",
24
- "@aws-sdk/credential-provider-node": "3.846.0",
24
+ "@aws-sdk/credential-provider-node": "3.848.0",
25
25
  "@aws-sdk/middleware-host-header": "3.840.0",
26
26
  "@aws-sdk/middleware-logger": "3.840.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.840.0",
28
- "@aws-sdk/middleware-user-agent": "3.846.0",
28
+ "@aws-sdk/middleware-user-agent": "3.848.0",
29
29
  "@aws-sdk/region-config-resolver": "3.840.0",
30
30
  "@aws-sdk/types": "3.840.0",
31
- "@aws-sdk/util-endpoints": "3.845.0",
31
+ "@aws-sdk/util-endpoints": "3.848.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.840.0",
33
- "@aws-sdk/util-user-agent-node": "3.846.0",
33
+ "@aws-sdk/util-user-agent-node": "3.848.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
35
  "@smithy/core": "^3.7.0",
36
36
  "@smithy/fetch-http-handler": "^5.1.0",