@aws-sdk/client-macie2 3.490.0 → 3.493.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.
@@ -34,6 +34,7 @@ exports.Type = {
34
34
  AES256: "AES256",
35
35
  NONE: "NONE",
36
36
  aws_kms: "aws:kms",
37
+ aws_kms_dsse: "aws:kms:dsse",
37
38
  };
38
39
  exports.SharedAccess = {
39
40
  EXTERNAL: "EXTERNAL",
@@ -91,6 +92,7 @@ exports.EncryptionType = {
91
92
  NONE: "NONE",
92
93
  UNKNOWN: "UNKNOWN",
93
94
  aws_kms: "aws:kms",
95
+ aws_kms_dsse: "aws:kms:dsse",
94
96
  };
95
97
  exports.StorageClass = {
96
98
  DEEP_ARCHIVE: "DEEP_ARCHIVE",
@@ -30,6 +30,7 @@ export const Type = {
30
30
  AES256: "AES256",
31
31
  NONE: "NONE",
32
32
  aws_kms: "aws:kms",
33
+ aws_kms_dsse: "aws:kms:dsse",
33
34
  };
34
35
  export const SharedAccess = {
35
36
  EXTERNAL: "EXTERNAL",
@@ -87,6 +88,7 @@ export const EncryptionType = {
87
88
  NONE: "NONE",
88
89
  UNKNOWN: "UNKNOWN",
89
90
  aws_kms: "aws:kms",
91
+ aws_kms_dsse: "aws:kms:dsse",
90
92
  };
91
93
  export const StorageClass = {
92
94
  DEEP_ARCHIVE: "DEEP_ARCHIVE",
@@ -126,7 +126,7 @@ declare const DescribeBucketsCommand_base: {
126
126
  * // sensitivityScore: Number("int"),
127
127
  * // serverSideEncryption: { // BucketServerSideEncryption
128
128
  * // kmsMasterKeyId: "STRING_VALUE",
129
- * // type: "NONE" || "AES256" || "aws:kms",
129
+ * // type: "NONE" || "AES256" || "aws:kms" || "aws:kms:dsse",
130
130
  * // },
131
131
  * // sharedAccess: "EXTERNAL" || "INTERNAL" || "NOT_SHARED" || "UNKNOWN",
132
132
  * // sizeInBytes: Number("long"),
@@ -272,7 +272,7 @@ declare const GetFindingsCommand_base: {
272
272
  * // arn: "STRING_VALUE",
273
273
  * // createdAt: new Date("TIMESTAMP"),
274
274
  * // defaultServerSideEncryption: { // ServerSideEncryption
275
- * // encryptionType: "NONE" || "AES256" || "aws:kms" || "UNKNOWN",
275
+ * // encryptionType: "NONE" || "AES256" || "aws:kms" || "UNKNOWN" || "aws:kms:dsse",
276
276
  * // kmsMasterKeyId: "STRING_VALUE",
277
277
  * // },
278
278
  * // name: "STRING_VALUE",
@@ -325,7 +325,7 @@ declare const GetFindingsCommand_base: {
325
325
  * // path: "STRING_VALUE",
326
326
  * // publicAccess: true || false,
327
327
  * // serverSideEncryption: {
328
- * // encryptionType: "NONE" || "AES256" || "aws:kms" || "UNKNOWN",
328
+ * // encryptionType: "NONE" || "AES256" || "aws:kms" || "UNKNOWN" || "aws:kms:dsse",
329
329
  * // kmsMasterKeyId: "STRING_VALUE",
330
330
  * // },
331
331
  * // size: Number("long"),
@@ -183,17 +183,17 @@ export interface JobDetails {
183
183
  export interface ObjectCountByEncryptionType {
184
184
  /**
185
185
  * @public
186
- * <p>The total number of objects that are encrypted with a customer-provided key. The objects use customer-provided server-side encryption (SSE-C).</p>
186
+ * <p>The total number of objects that are encrypted with customer-provided keys. The objects use server-side encryption with customer-provided keys (SSE-C).</p>
187
187
  */
188
188
  customerManaged?: number;
189
189
  /**
190
190
  * @public
191
- * <p>The total number of objects that are encrypted with an KMS key, either an Amazon Web Services managed key or a customer managed key. The objects use KMS encryption (SSE-KMS).</p>
191
+ * <p>The total number of objects that are encrypted with KMS keys, either Amazon Web Services managed keys or customer managed keys. The objects use dual-layer server-side encryption or server-side encryption with KMS keys (DSSE-KMS or SSE-KMS).</p>
192
192
  */
193
193
  kmsManaged?: number;
194
194
  /**
195
195
  * @public
196
- * <p>The total number of objects that are encrypted with an Amazon S3 managed key. The objects use Amazon S3 managed encryption (SSE-S3).</p>
196
+ * <p>The total number of objects that are encrypted with Amazon S3 managed keys. The objects use server-side encryption with Amazon S3 managed keys (SSE-S3).</p>
197
197
  */
198
198
  s3Managed?: number;
199
199
  /**
@@ -371,6 +371,7 @@ export declare const Type: {
371
371
  readonly AES256: "AES256";
372
372
  readonly NONE: "NONE";
373
373
  readonly aws_kms: "aws:kms";
374
+ readonly aws_kms_dsse: "aws:kms:dsse";
374
375
  };
375
376
  /**
376
377
  * @public
@@ -388,7 +389,7 @@ export interface BucketServerSideEncryption {
388
389
  kmsMasterKeyId?: string;
389
390
  /**
390
391
  * @public
391
- * <p>The server-side encryption algorithm that's used by default to encrypt objects that are added to the bucket. Possible values are:</p> <ul><li><p>AES256 - New objects are encrypted with an Amazon S3 managed key. They use SSE-S3 encryption.</p></li> <li><p>aws:kms - New objects are encrypted with an KMS key (kmsMasterKeyId), either an Amazon Web Services managed key or a customer managed key. They use SSE-KMS encryption.</p></li> <li><p>NONE - The bucket's default encryption settings don't specify server-side encryption behavior for new objects.</p></li></ul>
392
+ * <p>The server-side encryption algorithm that's used by default to encrypt objects that are added to the bucket. Possible values are:</p> <ul><li><p>AES256 - New objects use SSE-S3 encryption. They're encrypted with an Amazon S3 managed key.</p></li> <li><p>aws:kms - New objects use SSE-KMS encryption. They're encrypted with an KMS key (kmsMasterKeyId), either an Amazon Web Services managed key or a customer managed key.</p></li> <li><p>aws:kms:dsse - New objects use DSSE-KMS encryption. They're encrypted with an KMS key (kmsMasterKeyId), either an Amazon Web Services managed key or a customer managed key.</p></li> <li><p>NONE - The bucket's default encryption settings don't specify server-side encryption behavior for new objects.</p></li></ul>
392
393
  */
393
394
  type?: Type;
394
395
  }
@@ -1572,6 +1573,7 @@ export declare const EncryptionType: {
1572
1573
  readonly NONE: "NONE";
1573
1574
  readonly UNKNOWN: "UNKNOWN";
1574
1575
  readonly aws_kms: "aws:kms";
1576
+ readonly aws_kms_dsse: "aws:kms:dsse";
1575
1577
  };
1576
1578
  /**
1577
1579
  * @public
@@ -3128,7 +3130,7 @@ export interface BucketCountByEffectivePermission {
3128
3130
  export interface BucketCountByEncryptionType {
3129
3131
  /**
3130
3132
  * @public
3131
- * <p>The total number of buckets whose default encryption settings are configured to encrypt new objects with an Amazon Web Services managed KMS key or a customer managed KMS key. By default, these buckets encrypt new objects automatically using SSE-KMS encryption.</p>
3133
+ * <p>The total number of buckets whose default encryption settings are configured to encrypt new objects with an KMS key, either an Amazon Web Services managed key or a customer managed key. By default, these buckets encrypt new objects automatically using DSSE-KMS or SSE-KMS encryption.</p>
3132
3134
  */
3133
3135
  kmsManaged?: number;
3134
3136
  /**
@@ -5102,7 +5104,7 @@ export interface RevealConfiguration {
5102
5104
  kmsKeyId?: string;
5103
5105
  /**
5104
5106
  * @public
5105
- * <p>The status of the configuration for the Amazon Macie account. In a request, valid values are: ENABLED, enable the configuration for the account; and, DISABLED, disable the configuration for the account. In a response, possible values are: ENABLED, the configuration is currently enabled for the account; and, DISABLED, the configuration is currently disabled for the account.</p>
5107
+ * <p>The status of the configuration for the Amazon Macie account. In a response, possible values are: ENABLED, the configuration is currently enabled for the account; and, DISABLED, the configuration is currently disabled for the account. In a request, valid values are: ENABLED, enable the configuration for the account; and, DISABLED, disable the configuration for the account.</p> <important><p>If you disable the configuration, you also permanently delete current settings that specify how to access affected S3 objects. If your current access method is ASSUME_ROLE, Macie also deletes the external ID and role name currently specified for the configuration. These settings can't be recovered after they're deleted.</p></important>
5106
5108
  */
5107
5109
  status: RevealStatus | undefined;
5108
5110
  }
@@ -5125,12 +5127,12 @@ export type RetrievalMode = (typeof RetrievalMode)[keyof typeof RetrievalMode];
5125
5127
  export interface RetrievalConfiguration {
5126
5128
  /**
5127
5129
  * @public
5128
- * <p>The external ID to specify in the trust policy for the IAM role to assume when retrieving sensitive data from affected S3 objects (roleName). The trust policy must include an sts:ExternalId condition that requires this ID.</p> <p>This ID is a unique alphanumeric string that Amazon Macie generates automatically after you configure it to assume a role. This value is null if the value for retrievalMode is CALLER_CREDENTIALS.</p>
5130
+ * <p>The external ID to specify in the trust policy for the IAM role to assume when retrieving sensitive data from affected S3 objects (roleName). This value is null if the value for retrievalMode is CALLER_CREDENTIALS.</p> <p>This ID is a unique alphanumeric string that Amazon Macie generates automatically after you configure it to assume an IAM role. For a Macie administrator to retrieve sensitive data from an affected S3 object for a member account, the trust policy for the role in the member account must include an sts:ExternalId condition that requires this ID.</p>
5129
5131
  */
5130
5132
  externalId?: string;
5131
5133
  /**
5132
5134
  * @public
5133
- * <p>The access method that's used when retrieving sensitive data from affected S3 objects. Valid values are: ASSUME_ROLE, assume an IAM role that is in the affected Amazon Web Services account and delegates access to Amazon Macie (roleName); and, CALLER_CREDENTIALS, use the credentials of the IAM user who requests the sensitive data.</p>
5135
+ * <p>The access method that's used to retrieve sensitive data from affected S3 objects. Valid values are: ASSUME_ROLE, assume an IAM role that is in the affected Amazon Web Services account and delegates access to Amazon Macie (roleName); and, CALLER_CREDENTIALS, use the credentials of the IAM user who requests the sensitive data.</p>
5134
5136
  */
5135
5137
  retrievalMode: RetrievalMode | undefined;
5136
5138
  /**
@@ -5230,7 +5232,7 @@ export interface GetSensitiveDataOccurrencesAvailabilityResponse {
5230
5232
  code?: AvailabilityCode;
5231
5233
  /**
5232
5234
  * @public
5233
- * <p>Specifies why occurrences of sensitive data can't be retrieved for the finding. Possible values are:</p> <ul><li><p>ACCOUNT_NOT_IN_ORGANIZATION - The affected account isn't currently part of your organization. Or the account is part of your organization but Macie isn't currently enabled for the account. You're not allowed to access the affected S3 object by using Macie.</p></li> <li><p>INVALID_CLASSIFICATION_RESULT - There isn't a corresponding sensitive data discovery result for the finding. Or the corresponding sensitive data discovery result isn't available, is malformed or corrupted, or uses an unsupported storage format. Macie can't verify the location of the sensitive data to retrieve.</p></li> <li><p>INVALID_RESULT_SIGNATURE - The corresponding sensitive data discovery result is stored in an S3 object that wasn't signed by Macie. Macie can't verify the integrity and authenticity of the sensitive data discovery result. Therefore, Macie can't verify the location of the sensitive data to retrieve.</p></li> <li><p>MEMBER_ROLE_TOO_PERMISSIVE - The affected member account is configured to retrieve occurrences of sensitive data by using an IAM role whose trust or permissions policy doesn't meet Macie requirements for restricting access to the role. Or the role's trust policy doesn't specify the correct external ID. Macie can't assume the role to retrieve the sensitive data.</p></li> <li><p>MISSING_GET_MEMBER_PERMISSION - You're not allowed to retrieve information about the association between your account and the affected account. Macie can't determine whether you’re allowed to access the affected S3 object as the delegated Macie administrator for the affected account.</p></li> <li><p>OBJECT_EXCEEDS_SIZE_QUOTA - The storage size of the affected S3 object exceeds the size quota for retrieving occurrences of sensitive data from this type of file.</p></li> <li><p>OBJECT_UNAVAILABLE - The affected S3 object isn't available. The object was renamed, moved, or deleted. Or the object was changed after Macie created the finding.</p></li> <li><p>RESULT_NOT_SIGNED - The corresponding sensitive data discovery result is stored in an S3 object that hasn't been signed. Macie can't verify the integrity and authenticity of the sensitive data discovery result. Therefore, Macie can't verify the location of the sensitive data to retrieve.</p></li> <li><p>ROLE_TOO_PERMISSIVE - Your account is configured to retrieve occurrences of sensitive data by using an IAM role whose trust or permissions policy doesn't meet Macie requirements for restricting access to the role. Macie can’t assume the role to retrieve the sensitive data.</p></li> <li><p>UNSUPPORTED_FINDING_TYPE - The specified finding isn't a sensitive data finding.</p></li> <li><p>UNSUPPORTED_OBJECT_TYPE - The affected S3 object uses a file or storage format that Macie doesn't support for retrieving occurrences of sensitive data.</p></li></ul> <p>This value is null if sensitive data can be retrieved for the finding.</p>
5235
+ * <p>Specifies why occurrences of sensitive data can't be retrieved for the finding. Possible values are:</p> <ul><li><p>ACCOUNT_NOT_IN_ORGANIZATION - The affected account isn't currently part of your organization. Or the account is part of your organization but Macie isn't currently enabled for the account. You're not allowed to access the affected S3 object by using Macie.</p></li> <li><p>INVALID_CLASSIFICATION_RESULT - There isn't a corresponding sensitive data discovery result for the finding. Or the corresponding sensitive data discovery result isn't available in the current Amazon Web Services Region, is malformed or corrupted, or uses an unsupported storage format. Macie can't verify the location of the sensitive data to retrieve.</p></li> <li><p>INVALID_RESULT_SIGNATURE - The corresponding sensitive data discovery result is stored in an S3 object that wasn't signed by Macie. Macie can't verify the integrity and authenticity of the sensitive data discovery result. Therefore, Macie can't verify the location of the sensitive data to retrieve.</p></li> <li><p>MEMBER_ROLE_TOO_PERMISSIVE - The trust or permissions policy for the IAM role in the affected member account doesn't meet Macie requirements for restricting access to the role. Or the role's trust policy doesn't specify the correct external ID for your organization. Macie can't assume the role to retrieve the sensitive data.</p></li> <li><p>MISSING_GET_MEMBER_PERMISSION - You're not allowed to retrieve information about the association between your account and the affected account. Macie can't determine whether you’re allowed to access the affected S3 object as the delegated Macie administrator for the affected account.</p></li> <li><p>OBJECT_EXCEEDS_SIZE_QUOTA - The storage size of the affected S3 object exceeds the size quota for retrieving occurrences of sensitive data from this type of file.</p></li> <li><p>OBJECT_UNAVAILABLE - The affected S3 object isn't available. The object was renamed, moved, deleted, or changed after Macie created the finding. Or the object is encrypted with an KMS key that's currently disabled.</p></li> <li><p>RESULT_NOT_SIGNED - The corresponding sensitive data discovery result is stored in an S3 object that hasn't been signed. Macie can't verify the integrity and authenticity of the sensitive data discovery result. Therefore, Macie can't verify the location of the sensitive data to retrieve.</p></li> <li><p>ROLE_TOO_PERMISSIVE - Your account is configured to retrieve occurrences of sensitive data by using an IAM role whose trust or permissions policy doesn't meet Macie requirements for restricting access to the role. Macie can’t assume the role to retrieve the sensitive data.</p></li> <li><p>UNSUPPORTED_FINDING_TYPE - The specified finding isn't a sensitive data finding.</p></li> <li><p>UNSUPPORTED_OBJECT_TYPE - The affected S3 object uses a file or storage format that Macie doesn't support for retrieving occurrences of sensitive data.</p></li></ul> <p>This value is null if sensitive data can be retrieved for the finding.</p>
5234
5236
  */
5235
5237
  reasons?: UnavailabilityReasonCode[];
5236
5238
  }
@@ -755,7 +755,7 @@ export interface UpdateResourceProfileDetectionsResponse {
755
755
  }
756
756
  /**
757
757
  * @public
758
- * <p>Specifies the access method and settings to use when retrieving occurrences of sensitive data reported by findings. If your request specifies an Identity and Access Management (IAM) role to assume when retrieving the sensitive data, Amazon Macie verifies that the role exists and the attached policies are configured correctly. If there's an issue, Macie returns an error. For information about addressing the issue, see <a href="https://docs.aws.amazon.com/macie/latest/user/findings-retrieve-sd.html">Retrieving sensitive data samples with findings</a> in the <i>Amazon Macie User Guide</i>.</p>
758
+ * <p>Specifies the access method and settings to use when retrieving occurrences of sensitive data reported by findings. If your request specifies an Identity and Access Management (IAM) role to assume, Amazon Macie verifies that the role exists and the attached policies are configured correctly. If there's an issue, Macie returns an error. For information about addressing the issue, see <a href="https://docs.aws.amazon.com/macie/latest/user/findings-retrieve-sd-options.html">Configuration options and requirements for retrieving sensitive data samples</a> in the <i>Amazon Macie User Guide</i>.</p>
759
759
  */
760
760
  export interface UpdateRetrievalConfiguration {
761
761
  /**
@@ -780,7 +780,7 @@ export interface UpdateRevealConfigurationRequest {
780
780
  configuration: RevealConfiguration | undefined;
781
781
  /**
782
782
  * @public
783
- * <p>The access method and settings to use to retrieve the sensitive data.</p>
783
+ * <p>The access method and settings to use when retrieving the sensitive data.</p>
784
784
  */
785
785
  retrievalConfiguration?: UpdateRetrievalConfiguration;
786
786
  }
@@ -795,7 +795,7 @@ export interface UpdateRevealConfigurationResponse {
795
795
  configuration?: RevealConfiguration;
796
796
  /**
797
797
  * @public
798
- * <p>The access method and settings to use to retrieve the sensitive data.</p>
798
+ * <p>The access method and settings to use when retrieving the sensitive data.</p>
799
799
  */
800
800
  retrievalConfiguration?: RetrievalConfiguration;
801
801
  }
@@ -110,6 +110,7 @@ export declare const Type: {
110
110
  readonly AES256: "AES256";
111
111
  readonly NONE: "NONE";
112
112
  readonly aws_kms: "aws:kms";
113
+ readonly aws_kms_dsse: "aws:kms:dsse";
113
114
  };
114
115
  export type Type = (typeof Type)[keyof typeof Type];
115
116
  export interface BucketServerSideEncryption {
@@ -431,6 +432,7 @@ export declare const EncryptionType: {
431
432
  readonly NONE: "NONE";
432
433
  readonly UNKNOWN: "UNKNOWN";
433
434
  readonly aws_kms: "aws:kms";
435
+ readonly aws_kms_dsse: "aws:kms:dsse";
434
436
  };
435
437
  export type EncryptionType =
436
438
  (typeof EncryptionType)[keyof typeof EncryptionType];
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.490.0",
4
+ "version": "3.493.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",