@aws-sdk/client-macie2 3.490.0 → 3.495.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/Macie2.js +1 -169
- package/dist-cjs/Macie2Client.js +1 -43
- package/dist-cjs/commands/AcceptInvitationCommand.js +1 -28
- package/dist-cjs/commands/BatchGetCustomDataIdentifiersCommand.js +1 -28
- package/dist-cjs/commands/CreateAllowListCommand.js +1 -28
- package/dist-cjs/commands/CreateClassificationJobCommand.js +1 -28
- package/dist-cjs/commands/CreateCustomDataIdentifierCommand.js +1 -28
- package/dist-cjs/commands/CreateFindingsFilterCommand.js +1 -28
- package/dist-cjs/commands/CreateInvitationsCommand.js +1 -28
- package/dist-cjs/commands/CreateMemberCommand.js +1 -28
- package/dist-cjs/commands/CreateSampleFindingsCommand.js +1 -28
- package/dist-cjs/commands/DeclineInvitationsCommand.js +1 -28
- package/dist-cjs/commands/DeleteAllowListCommand.js +1 -28
- package/dist-cjs/commands/DeleteCustomDataIdentifierCommand.js +1 -28
- package/dist-cjs/commands/DeleteFindingsFilterCommand.js +1 -28
- package/dist-cjs/commands/DeleteInvitationsCommand.js +1 -28
- package/dist-cjs/commands/DeleteMemberCommand.js +1 -28
- package/dist-cjs/commands/DescribeBucketsCommand.js +1 -28
- package/dist-cjs/commands/DescribeClassificationJobCommand.js +1 -28
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +1 -28
- package/dist-cjs/commands/DisableMacieCommand.js +1 -28
- package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +1 -28
- package/dist-cjs/commands/DisassociateFromAdministratorAccountCommand.js +1 -28
- package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +1 -28
- package/dist-cjs/commands/DisassociateMemberCommand.js +1 -28
- package/dist-cjs/commands/EnableMacieCommand.js +1 -28
- package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +1 -28
- package/dist-cjs/commands/GetAdministratorAccountCommand.js +1 -28
- package/dist-cjs/commands/GetAllowListCommand.js +1 -28
- package/dist-cjs/commands/GetAutomatedDiscoveryConfigurationCommand.js +1 -28
- package/dist-cjs/commands/GetBucketStatisticsCommand.js +1 -28
- package/dist-cjs/commands/GetClassificationExportConfigurationCommand.js +1 -28
- package/dist-cjs/commands/GetClassificationScopeCommand.js +1 -28
- package/dist-cjs/commands/GetCustomDataIdentifierCommand.js +1 -28
- package/dist-cjs/commands/GetFindingStatisticsCommand.js +1 -28
- package/dist-cjs/commands/GetFindingsCommand.js +1 -28
- package/dist-cjs/commands/GetFindingsFilterCommand.js +1 -28
- package/dist-cjs/commands/GetFindingsPublicationConfigurationCommand.js +1 -28
- package/dist-cjs/commands/GetInvitationsCountCommand.js +1 -28
- package/dist-cjs/commands/GetMacieSessionCommand.js +1 -28
- package/dist-cjs/commands/GetMasterAccountCommand.js +1 -28
- package/dist-cjs/commands/GetMemberCommand.js +1 -28
- package/dist-cjs/commands/GetResourceProfileCommand.js +1 -28
- package/dist-cjs/commands/GetRevealConfigurationCommand.js +1 -28
- package/dist-cjs/commands/GetSensitiveDataOccurrencesAvailabilityCommand.js +1 -28
- package/dist-cjs/commands/GetSensitiveDataOccurrencesCommand.js +1 -28
- package/dist-cjs/commands/GetSensitivityInspectionTemplateCommand.js +1 -28
- package/dist-cjs/commands/GetUsageStatisticsCommand.js +1 -28
- package/dist-cjs/commands/GetUsageTotalsCommand.js +1 -28
- package/dist-cjs/commands/ListAllowListsCommand.js +1 -28
- package/dist-cjs/commands/ListClassificationJobsCommand.js +1 -28
- package/dist-cjs/commands/ListClassificationScopesCommand.js +1 -28
- package/dist-cjs/commands/ListCustomDataIdentifiersCommand.js +1 -28
- package/dist-cjs/commands/ListFindingsCommand.js +1 -28
- package/dist-cjs/commands/ListFindingsFiltersCommand.js +1 -28
- package/dist-cjs/commands/ListInvitationsCommand.js +1 -28
- package/dist-cjs/commands/ListManagedDataIdentifiersCommand.js +1 -28
- package/dist-cjs/commands/ListMembersCommand.js +1 -28
- package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +1 -28
- package/dist-cjs/commands/ListResourceProfileArtifactsCommand.js +1 -28
- package/dist-cjs/commands/ListResourceProfileDetectionsCommand.js +1 -28
- package/dist-cjs/commands/ListSensitivityInspectionTemplatesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/PutClassificationExportConfigurationCommand.js +1 -28
- package/dist-cjs/commands/PutFindingsPublicationConfigurationCommand.js +1 -28
- package/dist-cjs/commands/SearchResourcesCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/TestCustomDataIdentifierCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateAllowListCommand.js +1 -28
- package/dist-cjs/commands/UpdateAutomatedDiscoveryConfigurationCommand.js +1 -28
- package/dist-cjs/commands/UpdateClassificationJobCommand.js +1 -28
- package/dist-cjs/commands/UpdateClassificationScopeCommand.js +1 -28
- package/dist-cjs/commands/UpdateFindingsFilterCommand.js +1 -28
- package/dist-cjs/commands/UpdateMacieSessionCommand.js +1 -28
- package/dist-cjs/commands/UpdateMemberSessionCommand.js +1 -28
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +1 -28
- package/dist-cjs/commands/UpdateResourceProfileCommand.js +1 -28
- package/dist-cjs/commands/UpdateResourceProfileDetectionsCommand.js +1 -28
- package/dist-cjs/commands/UpdateRevealConfigurationCommand.js +1 -28
- package/dist-cjs/commands/UpdateSensitivityInspectionTemplateCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -82
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +9104 -12
- package/dist-cjs/models/Macie2ServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -5
- package/dist-cjs/models/models_0.js +1 -424
- package/dist-cjs/models/models_1.js +1 -9
- package/dist-cjs/pagination/DescribeBucketsPaginator.js +1 -7
- package/dist-cjs/pagination/GetUsageStatisticsPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListAllowListsPaginator.js +1 -7
- package/dist-cjs/pagination/ListClassificationJobsPaginator.js +1 -7
- package/dist-cjs/pagination/ListClassificationScopesPaginator.js +1 -7
- package/dist-cjs/pagination/ListCustomDataIdentifiersPaginator.js +1 -7
- package/dist-cjs/pagination/ListFindingsFiltersPaginator.js +1 -7
- package/dist-cjs/pagination/ListFindingsPaginator.js +1 -7
- package/dist-cjs/pagination/ListInvitationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListManagedDataIdentifiersPaginator.js +1 -7
- package/dist-cjs/pagination/ListMembersPaginator.js +1 -7
- package/dist-cjs/pagination/ListOrganizationAdminAccountsPaginator.js +1 -7
- package/dist-cjs/pagination/ListResourceProfileArtifactsPaginator.js +1 -7
- package/dist-cjs/pagination/ListResourceProfileDetectionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListSensitivityInspectionTemplatesPaginator.js +1 -7
- package/dist-cjs/pagination/SearchResourcesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -20
- package/dist-cjs/protocols/Aws_restJson1.js +1 -6824
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/dist-cjs/waiters/index.js +1 -4
- package/dist-cjs/waiters/waitForFindingRevealed.js +1 -45
- package/dist-es/models/models_0.js +2 -0
- package/dist-types/commands/DescribeBucketsCommand.d.ts +1 -1
- package/dist-types/commands/GetFindingsCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +11 -9
- package/dist-types/models/models_1.d.ts +3 -3
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +41 -41
|
@@ -1,22 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
-
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
5
|
-
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
const asPartial = (t) => t;
|
|
8
|
-
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
9
|
-
const extensionConfiguration = {
|
|
10
|
-
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
11
|
-
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
12
|
-
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
13
|
-
};
|
|
14
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
15
|
-
return {
|
|
16
|
-
...runtimeConfig,
|
|
17
|
-
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
18
|
-
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
19
|
-
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
1
|
+
module.exports = require("./index.js");
|
|
@@ -1,45 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.waitUntilFindingRevealed = exports.waitForFindingRevealed = void 0;
|
|
4
|
-
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
-
const GetSensitiveDataOccurrencesCommand_1 = require("../commands/GetSensitiveDataOccurrencesCommand");
|
|
6
|
-
const checkState = async (client, input) => {
|
|
7
|
-
let reason;
|
|
8
|
-
try {
|
|
9
|
-
const result = await client.send(new GetSensitiveDataOccurrencesCommand_1.GetSensitiveDataOccurrencesCommand(input));
|
|
10
|
-
reason = result;
|
|
11
|
-
try {
|
|
12
|
-
const returnComparator = () => {
|
|
13
|
-
return result.status;
|
|
14
|
-
};
|
|
15
|
-
if (returnComparator() === "SUCCESS") {
|
|
16
|
-
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
catch (e) { }
|
|
20
|
-
try {
|
|
21
|
-
const returnComparator = () => {
|
|
22
|
-
return result.status;
|
|
23
|
-
};
|
|
24
|
-
if (returnComparator() === "ERROR") {
|
|
25
|
-
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
catch (e) { }
|
|
29
|
-
}
|
|
30
|
-
catch (exception) {
|
|
31
|
-
reason = exception;
|
|
32
|
-
}
|
|
33
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
34
|
-
};
|
|
35
|
-
const waitForFindingRevealed = async (params, input) => {
|
|
36
|
-
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
37
|
-
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
38
|
-
};
|
|
39
|
-
exports.waitForFindingRevealed = waitForFindingRevealed;
|
|
40
|
-
const waitUntilFindingRevealed = async (params, input) => {
|
|
41
|
-
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
42
|
-
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
43
|
-
return (0, util_waiter_1.checkExceptions)(result);
|
|
44
|
-
};
|
|
45
|
-
exports.waitUntilFindingRevealed = waitUntilFindingRevealed;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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).
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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,10 +1,10 @@
|
|
|
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.
|
|
4
|
+
"version": "3.495.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
-
"build:cjs": "
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline client-macie2",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -20,49 +20,49 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0
|
|
37
|
-
"@smithy/core": "^1.
|
|
38
|
-
"@smithy/fetch-http-handler": "^2.
|
|
39
|
-
"@smithy/hash-node": "^2.0
|
|
40
|
-
"@smithy/invalid-dependency": "^2.0
|
|
41
|
-
"@smithy/middleware-content-length": "^2.0
|
|
42
|
-
"@smithy/middleware-endpoint": "^2.
|
|
43
|
-
"@smithy/middleware-retry": "^2.0
|
|
44
|
-
"@smithy/middleware-serde": "^2.0
|
|
45
|
-
"@smithy/middleware-stack": "^2.0
|
|
46
|
-
"@smithy/node-config-provider": "^2.
|
|
47
|
-
"@smithy/node-http-handler": "^2.
|
|
48
|
-
"@smithy/protocol-http": "^3.0
|
|
49
|
-
"@smithy/smithy-client": "^2.
|
|
50
|
-
"@smithy/types": "^2.
|
|
51
|
-
"@smithy/url-parser": "^2.0
|
|
52
|
-
"@smithy/util-base64": "^2.0
|
|
53
|
-
"@smithy/util-body-length-browser": "^2.0
|
|
54
|
-
"@smithy/util-body-length-node": "^2.
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.0
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.0
|
|
57
|
-
"@smithy/util-endpoints": "^1.0
|
|
58
|
-
"@smithy/util-retry": "^2.0
|
|
59
|
-
"@smithy/util-utf8": "^2.0
|
|
60
|
-
"@smithy/util-waiter": "^2.0
|
|
23
|
+
"@aws-sdk/client-sts": "3.495.0",
|
|
24
|
+
"@aws-sdk/core": "3.495.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.495.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.495.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.495.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.495.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.495.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.495.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.495.0",
|
|
32
|
+
"@aws-sdk/types": "3.495.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.495.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.495.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.495.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.1.0",
|
|
37
|
+
"@smithy/core": "^1.3.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^2.4.0",
|
|
39
|
+
"@smithy/hash-node": "^2.1.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^2.1.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^2.1.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^2.4.0",
|
|
43
|
+
"@smithy/middleware-retry": "^2.1.0",
|
|
44
|
+
"@smithy/middleware-serde": "^2.1.0",
|
|
45
|
+
"@smithy/middleware-stack": "^2.1.0",
|
|
46
|
+
"@smithy/node-config-provider": "^2.2.0",
|
|
47
|
+
"@smithy/node-http-handler": "^2.3.0",
|
|
48
|
+
"@smithy/protocol-http": "^3.1.0",
|
|
49
|
+
"@smithy/smithy-client": "^2.3.0",
|
|
50
|
+
"@smithy/types": "^2.9.0",
|
|
51
|
+
"@smithy/url-parser": "^2.1.0",
|
|
52
|
+
"@smithy/util-base64": "^2.1.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^2.1.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^2.2.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.1.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.1.0",
|
|
57
|
+
"@smithy/util-endpoints": "^1.1.0",
|
|
58
|
+
"@smithy/util-retry": "^2.1.0",
|
|
59
|
+
"@smithy/util-utf8": "^2.1.0",
|
|
60
|
+
"@smithy/util-waiter": "^2.1.0",
|
|
61
61
|
"tslib": "^2.5.0",
|
|
62
62
|
"uuid": "^8.3.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
65
|
+
"@smithy/service-client-documentation-generator": "^2.1.0",
|
|
66
66
|
"@tsconfig/node14": "1.0.3",
|
|
67
67
|
"@types/node": "^14.14.31",
|
|
68
68
|
"@types/uuid": "^8.3.0",
|