@aws-sdk/client-macie2 3.1029.0 → 3.1030.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.
@@ -513,6 +513,7 @@ const _dUOU = "deniesUnencryptedObjectUploads";
513
513
  const _de = "deleted";
514
514
  const _det = "detections";
515
515
  const _e = "error";
516
+ const _eBO = "expectedBucketOwner";
516
517
  const _eC = "errorCode";
517
518
  const _eCs = "estimatedCost";
518
519
  const _eEM = "eqExactMatch";
@@ -2000,8 +2001,8 @@ exports.S3ClassificationScopeUpdate$ = [3, n0, _SCSU,
2000
2001
  ];
2001
2002
  exports.S3Destination$ = [3, n0, _SD,
2002
2003
  0,
2003
- [_bN, _kKA, _kP],
2004
- [[0, { [_jN]: _bN }], [0, { [_jN]: _kKA }], [0, { [_jN]: _kP }]], 2
2004
+ [_bN, _kKA, _eBO, _kP],
2005
+ [[0, { [_jN]: _bN }], [0, { [_jN]: _kKA }], [0, { [_jN]: _eBO }], [0, { [_jN]: _kP }]], 2
2005
2006
  ];
2006
2007
  exports.S3JobDefinition$ = [3, n0, _SJD,
2007
2008
  0,
@@ -503,6 +503,7 @@ const _dUOU = "deniesUnencryptedObjectUploads";
503
503
  const _de = "deleted";
504
504
  const _det = "detections";
505
505
  const _e = "error";
506
+ const _eBO = "expectedBucketOwner";
506
507
  const _eC = "errorCode";
507
508
  const _eCs = "estimatedCost";
508
509
  const _eEM = "eqExactMatch";
@@ -1990,8 +1991,8 @@ export var S3ClassificationScopeUpdate$ = [3, n0, _SCSU,
1990
1991
  ];
1991
1992
  export var S3Destination$ = [3, n0, _SD,
1992
1993
  0,
1993
- [_bN, _kKA, _kP],
1994
- [[0, { [_jN]: _bN }], [0, { [_jN]: _kKA }], [0, { [_jN]: _kP }]], 2
1994
+ [_bN, _kKA, _eBO, _kP],
1995
+ [[0, { [_jN]: _bN }], [0, { [_jN]: _kKA }], [0, { [_jN]: _eBO }], [0, { [_jN]: _kP }]], 2
1995
1996
  ];
1996
1997
  export var S3JobDefinition$ = [3, n0, _SJD,
1997
1998
  0,
@@ -43,6 +43,7 @@ declare const GetClassificationExportConfigurationCommand_base: {
43
43
  * // configuration: { // ClassificationExportConfiguration
44
44
  * // s3Destination: { // S3Destination
45
45
  * // bucketName: "STRING_VALUE", // required
46
+ * // expectedBucketOwner: "STRING_VALUE",
46
47
  * // keyPrefix: "STRING_VALUE",
47
48
  * // kmsKeyArn: "STRING_VALUE", // required
48
49
  * // },
@@ -40,6 +40,7 @@ declare const PutClassificationExportConfigurationCommand_base: {
40
40
  * configuration: { // ClassificationExportConfiguration
41
41
  * s3Destination: { // S3Destination
42
42
  * bucketName: "STRING_VALUE", // required
43
+ * expectedBucketOwner: "STRING_VALUE",
43
44
  * keyPrefix: "STRING_VALUE",
44
45
  * kmsKeyArn: "STRING_VALUE", // required
45
46
  * },
@@ -51,6 +52,7 @@ declare const PutClassificationExportConfigurationCommand_base: {
51
52
  * // configuration: { // ClassificationExportConfiguration
52
53
  * // s3Destination: { // S3Destination
53
54
  * // bucketName: "STRING_VALUE", // required
55
+ * // expectedBucketOwner: "STRING_VALUE",
54
56
  * // keyPrefix: "STRING_VALUE",
55
57
  * // kmsKeyArn: "STRING_VALUE", // required
56
58
  * // },
@@ -94,7 +94,7 @@ export interface AutomatedDiscoveryAccountUpdateError {
94
94
  */
95
95
  accountId?: string | undefined;
96
96
  /**
97
- * <p>The error code for the error that caused the request to fail for the account (accountId). Possible values are: ACCOUNT_NOT_FOUND, the account doesnt exist or you're not the Amazon Macie administrator for the account; and, ACCOUNT_PAUSED, Macie isnt enabled for the account in the current Amazon Web Services Region.</p>
97
+ * <p>The error code for the error that caused the request to fail for the account (accountId). Possible values are: ACCOUNT_NOT_FOUND, the account doesn't exist or you're not the Amazon Macie administrator for the account; and, ACCOUNT_PAUSED, Macie isn't enabled for the account in the current Amazon Web Services Region.</p>
98
98
  * @public
99
99
  */
100
100
  errorCode?: AutomatedDiscoveryAccountUpdateErrorCode | undefined;
@@ -2526,7 +2526,7 @@ export interface BatchUpdateAutomatedDiscoveryAccountsRequest {
2526
2526
  */
2527
2527
  export interface BatchUpdateAutomatedDiscoveryAccountsResponse {
2528
2528
  /**
2529
- * <p>An array of objects, one for each account whose status wasnt changed. Each object identifies the account and explains why the status of automated sensitive data discovery wasnt changed for the account. This value is null if the request succeeded for all specified accounts.</p>
2529
+ * <p>An array of objects, one for each account whose status wasn't changed. Each object identifies the account and explains why the status of automated sensitive data discovery wasn't changed for the account. This value is null if the request succeeded for all specified accounts.</p>
2530
2530
  * @public
2531
2531
  */
2532
2532
  errors?: AutomatedDiscoveryAccountUpdateError[] | undefined;
@@ -2740,7 +2740,7 @@ export interface BucketStatisticsBySensitivity {
2740
2740
  sensitive?: SensitivityAggregations | undefined;
2741
2741
  }
2742
2742
  /**
2743
- * <p>Specifies an S3 bucket to store data classification results in, and the encryption settings to use when storing results in that bucket.</p>
2743
+ * <p>Specifies an S3 bucket to store data classification results in, and the encryption settings to use when storing results in that bucket. The bucket must be an existing general purpose bucket. It can be a bucket in your own account or a bucket that another account owns. If another account owns the bucket, you must specify both the unique identifier for the account and the name of the bucket.</p>
2744
2744
  * @public
2745
2745
  */
2746
2746
  export interface S3Destination {
@@ -2749,6 +2749,11 @@ export interface S3Destination {
2749
2749
  * @public
2750
2750
  */
2751
2751
  bucketName: string | undefined;
2752
+ /**
2753
+ * <p>The unique identifier (ID) for the Amazon Web Services account that owns the bucket. This must be the ID for the account that owns the specified bucket.</p>
2754
+ * @public
2755
+ */
2756
+ expectedBucketOwner?: string | undefined;
2752
2757
  /**
2753
2758
  * <p>The path prefix to use in the path to the location in the bucket. This prefix specifies where to store classification results in the bucket.</p>
2754
2759
  * @public
@@ -707,6 +707,7 @@ export interface BucketStatisticsBySensitivity {
707
707
  }
708
708
  export interface S3Destination {
709
709
  bucketName: string | undefined;
710
+ expectedBucketOwner?: string | undefined;
710
711
  keyPrefix?: string | undefined;
711
712
  kmsKeyArn: string | undefined;
712
713
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-macie2",
3
3
  "description": "AWS SDK for JavaScript Macie2 Client for Node.js, Browser and React Native",
4
- "version": "3.1029.0",
4
+ "version": "3.1030.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-macie2",