@aws-sdk/client-macie2 3.42.0 → 3.47.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.
Files changed (29) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist-cjs/endpoints.js +1 -16
  3. package/dist-cjs/models/models_0.js +4 -46
  4. package/dist-cjs/runtimeConfig.browser.js +7 -2
  5. package/dist-cjs/runtimeConfig.js +9 -3
  6. package/dist-es/endpoints.js +1 -16
  7. package/dist-es/models/models_0.js +0 -28
  8. package/dist-es/runtimeConfig.browser.js +12 -3
  9. package/dist-es/runtimeConfig.js +13 -6
  10. package/dist-types/Macie2.d.ts +8 -8
  11. package/dist-types/Macie2Client.d.ts +5 -1
  12. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -1
  13. package/dist-types/commands/DisableMacieCommand.d.ts +1 -1
  14. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +1 -1
  15. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +1 -1
  16. package/dist-types/commands/GetBucketStatisticsCommand.d.ts +1 -1
  17. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  18. package/dist-types/commands/UpdateMacieSessionCommand.d.ts +1 -1
  19. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  20. package/dist-types/models/models_0.d.ts +25 -67
  21. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  22. package/dist-types/runtimeConfig.d.ts +4 -3
  23. package/dist-types/runtimeConfig.native.d.ts +1 -0
  24. package/dist-types/ts3.4/Macie2Client.d.ts +3 -1
  25. package/dist-types/ts3.4/models/models_0.d.ts +0 -28
  26. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  27. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  28. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  29. package/package.json +38 -45
@@ -4,7 +4,7 @@ export declare enum AdminStatus {
4
4
  ENABLED = "ENABLED"
5
5
  }
6
6
  /**
7
- * <p>Provides information about the delegated Amazon Macie administrator account for an Amazon Web Services organization.</p>
7
+ * <p>Provides information about the delegated Amazon Macie administrator account for an organization in Organizations.</p>
8
8
  */
9
9
  export interface AdminAccount {
10
10
  /**
@@ -12,7 +12,7 @@ export interface AdminAccount {
12
12
  */
13
13
  accountId?: string;
14
14
  /**
15
- * <p>The current status of the account as the delegated administrator of Amazon Macie for the organization.</p>
15
+ * <p>The current status of the account as the delegated Amazon Macie administrator account for the organization.</p>
16
16
  */
17
17
  status?: AdminStatus | string;
18
18
  }
@@ -1755,7 +1755,7 @@ export declare enum RelationshipStatus {
1755
1755
  Resigned = "Resigned"
1756
1756
  }
1757
1757
  /**
1758
- * <p>Provides information about an Amazon Macie membership invitation that was received by an account.</p>
1758
+ * <p>Provides information about an Amazon Macie membership invitation.</p>
1759
1759
  */
1760
1760
  export interface Invitation {
1761
1761
  /**
@@ -1763,7 +1763,7 @@ export interface Invitation {
1763
1763
  */
1764
1764
  accountId?: string;
1765
1765
  /**
1766
- * <p>The unique identifier for the invitation. Amazon Macie uses this identifier to validate the inviter account with the invitee account.</p>
1766
+ * <p>The unique identifier for the invitation.</p>
1767
1767
  */
1768
1768
  invitationId?: string;
1769
1769
  /**
@@ -1771,7 +1771,7 @@ export interface Invitation {
1771
1771
  */
1772
1772
  invitedAt?: Date;
1773
1773
  /**
1774
- * <p>The status of the relationship between the account that sent the invitation (<i>inviter account</i>) and the account that received the invitation (<i>invitee account</i>).</p>
1774
+ * <p>The status of the relationship between the account that sent the invitation and the account that received the invitation.</p>
1775
1775
  */
1776
1776
  relationshipStatus?: RelationshipStatus | string;
1777
1777
  }
@@ -2179,7 +2179,7 @@ export interface Member {
2179
2179
  */
2180
2180
  email?: string;
2181
2181
  /**
2182
- * <p>The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.</p>
2182
+ * <p>The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if an invitation hasn't been sent to the account.</p>
2183
2183
  */
2184
2184
  invitedAt?: Date;
2185
2185
  /**
@@ -2507,12 +2507,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
2507
2507
  */
2508
2508
  message?: string;
2509
2509
  }
2510
- export declare namespace AccessDeniedException {
2511
- /**
2512
- * @internal
2513
- */
2514
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
2515
- }
2516
2510
  /**
2517
2511
  * <p>Provides information about an error that occurred due to a versioning conflict for a specified resource.</p>
2518
2512
  */
@@ -2524,12 +2518,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
2524
2518
  */
2525
2519
  message?: string;
2526
2520
  }
2527
- export declare namespace ConflictException {
2528
- /**
2529
- * @internal
2530
- */
2531
- const filterSensitiveLog: (obj: ConflictException) => any;
2532
- }
2533
2521
  /**
2534
2522
  * <p>Provides information about an error that occurred due to an unknown internal server error, exception, or failure.</p>
2535
2523
  */
@@ -2541,12 +2529,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
2541
2529
  */
2542
2530
  message?: string;
2543
2531
  }
2544
- export declare namespace InternalServerException {
2545
- /**
2546
- * @internal
2547
- */
2548
- const filterSensitiveLog: (obj: InternalServerException) => any;
2549
- }
2550
2532
  /**
2551
2533
  * <p>Provides information about an error that occurred because a specified resource wasn't found.</p>
2552
2534
  */
@@ -2558,12 +2540,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
2558
2540
  */
2559
2541
  message?: string;
2560
2542
  }
2561
- export declare namespace ResourceNotFoundException {
2562
- /**
2563
- * @internal
2564
- */
2565
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
2566
- }
2567
2543
  /**
2568
2544
  * <p>Provides information about an error that occurred due to one or more service quotas for an account.</p>
2569
2545
  */
@@ -2575,12 +2551,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
2575
2551
  */
2576
2552
  message?: string;
2577
2553
  }
2578
- export declare namespace ServiceQuotaExceededException {
2579
- /**
2580
- * @internal
2581
- */
2582
- const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
2583
- }
2584
2554
  /**
2585
2555
  * <p>Provides information about an error that occurred because too many requests were sent during a certain amount of time.</p>
2586
2556
  */
@@ -2592,12 +2562,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
2592
2562
  */
2593
2563
  message?: string;
2594
2564
  }
2595
- export declare namespace ThrottlingException {
2596
- /**
2597
- * @internal
2598
- */
2599
- const filterSensitiveLog: (obj: ThrottlingException) => any;
2600
- }
2601
2565
  /**
2602
2566
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
2603
2567
  */
@@ -2609,12 +2573,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
2609
2573
  */
2610
2574
  message?: string;
2611
2575
  }
2612
- export declare namespace ValidationException {
2613
- /**
2614
- * @internal
2615
- */
2616
- const filterSensitiveLog: (obj: ValidationException) => any;
2617
- }
2618
2576
  /**
2619
2577
  * <p>Specifies the details of an account to associate with an Amazon Macie administrator account.</p>
2620
2578
  */
@@ -3090,7 +3048,7 @@ export interface SeverityLevel {
3090
3048
  */
3091
3049
  occurrencesThreshold: number | undefined;
3092
3050
  /**
3093
- * <p>The severity to assign to a finding if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold) and, if applicable, is less than the threshold for the next consecutive severity level for the custom data identifier.</p>
3051
+ * <p>The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.</p>
3094
3052
  */
3095
3053
  severity: DataIdentifierSeverity | string | undefined;
3096
3054
  }
@@ -3106,7 +3064,7 @@ export interface CreateCustomDataIdentifierRequest {
3106
3064
  */
3107
3065
  clientToken?: string;
3108
3066
  /**
3109
- * <p>A custom description of the custom data identifier. The description can contain as many as 512 characters.</p> <p>We strongly recommend that you avoid including any sensitive data in the description of a custom data identifier. Other users of your account might be able to see the identifier's description, depending on the actions that they're allowed to perform in Amazon Macie.</p>
3067
+ * <p>A custom description of the custom data identifier. The description can contain as many as 512 characters.</p> <p>We strongly recommend that you avoid including any sensitive data in the description of a custom data identifier. Other users of your account might be able to see this description, depending on the actions that they're allowed to perform in Amazon Macie.</p>
3110
3068
  */
3111
3069
  description?: string;
3112
3070
  /**
@@ -3122,7 +3080,7 @@ export interface CreateCustomDataIdentifierRequest {
3122
3080
  */
3123
3081
  maximumMatchDistance?: number;
3124
3082
  /**
3125
- * <p>A custom name for the custom data identifier. The name can contain as many as 128 characters.</p> <p>We strongly recommend that you avoid including any sensitive data in the name of a custom data identifier. Other users of your account might be able to see the identifier's name, depending on the actions that they're allowed to perform in Amazon Macie.</p>
3083
+ * <p>A custom name for the custom data identifier. The name can contain as many as 128 characters.</p> <p>We strongly recommend that you avoid including any sensitive data in the name of a custom data identifier. Other users of your account might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.</p>
3126
3084
  */
3127
3085
  name?: string;
3128
3086
  /**
@@ -3224,7 +3182,7 @@ export interface CreateFindingsFilterRequest {
3224
3182
  */
3225
3183
  clientToken?: string;
3226
3184
  /**
3227
- * <p>A custom description of the filter. The description can contain as many as 512 characters.</p> <p>We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see the filter's description, depending on the actions that they're allowed to perform in Amazon Macie.</p>
3185
+ * <p>A custom description of the filter. The description can contain as many as 512 characters.</p> <p>We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see this description, depending on the actions that they're allowed to perform in Amazon Macie.</p>
3228
3186
  */
3229
3187
  description?: string;
3230
3188
  /**
@@ -3232,7 +3190,7 @@ export interface CreateFindingsFilterRequest {
3232
3190
  */
3233
3191
  findingCriteria: FindingCriteria | undefined;
3234
3192
  /**
3235
- * <p>A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.</p> <p>We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users of your account might be able to see the filter's name, depending on the actions that they're allowed to perform in Amazon Macie.</p>
3193
+ * <p>A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.</p> <p>We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users of your account might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.</p>
3236
3194
  */
3237
3195
  name: string | undefined;
3238
3196
  /**
@@ -3274,11 +3232,11 @@ export interface CreateInvitationsRequest {
3274
3232
  */
3275
3233
  accountIds: string[] | undefined;
3276
3234
  /**
3277
- * <p>Specifies whether to send an email notification to the root user of each account that the invitation will be sent to. This notification is in addition to an alert that the root user receives in Personal Health Dashboard. To send an email notification to the root user of each account, set this value to true.</p>
3235
+ * <p>Specifies whether to send the invitation as an email message. If this value is false, Amazon Macie sends the invitation (as an email message) to the email address that you specified for the recipient's account when you associated the account with your account. The default value is false.</p>
3278
3236
  */
3279
3237
  disableEmailNotification?: boolean;
3280
3238
  /**
3281
- * <p>A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.</p>
3239
+ * <p>Custom text to include in the email message that contains the invitation. The text can contain as many as 80 alphanumeric characters.</p>
3282
3240
  */
3283
3241
  message?: string;
3284
3242
  }
@@ -3631,11 +3589,11 @@ export declare namespace DescribeOrganizationConfigurationRequest {
3631
3589
  }
3632
3590
  export interface DescribeOrganizationConfigurationResponse {
3633
3591
  /**
3634
- * <p>Specifies whether Amazon Macie is enabled automatically for accounts that are added to the Amazon Web Services organization.</p>
3592
+ * <p>Specifies whether Amazon Macie is enabled automatically for accounts that are added to the organization.</p>
3635
3593
  */
3636
3594
  autoEnable?: boolean;
3637
3595
  /**
3638
- * <p>Specifies whether the maximum number of Amazon Macie member accounts are part of the Amazon Web Services organization.</p>
3596
+ * <p>Specifies whether the maximum number of Amazon Macie member accounts are part of the organization.</p>
3639
3597
  */
3640
3598
  maxAccountLimitReached?: boolean;
3641
3599
  }
@@ -3827,7 +3785,7 @@ export declare namespace GetAdministratorAccountRequest {
3827
3785
  }
3828
3786
  export interface GetAdministratorAccountResponse {
3829
3787
  /**
3830
- * <p>The Amazon Web Services account ID for the administrator account. If the accounts are associated by a Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.</p>
3788
+ * <p>The Amazon Web Services account ID for the administrator account. If the accounts are associated by an Amazon Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.</p>
3831
3789
  */
3832
3790
  administrator?: Invitation;
3833
3791
  }
@@ -4215,19 +4173,19 @@ export interface GetMacieSessionResponse {
4215
4173
  */
4216
4174
  createdAt?: Date;
4217
4175
  /**
4218
- * <p>The frequency with which Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).</p>
4176
+ * <p>The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).</p>
4219
4177
  */
4220
4178
  findingPublishingFrequency?: FindingPublishingFrequency | string;
4221
4179
  /**
4222
- * <p>The Amazon Resource Name (ARN) of the service-linked role that allows Macie to monitor and analyze data in Amazon Web Services resources for the account.</p>
4180
+ * <p>The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in Amazon Web Services resources for the account.</p>
4223
4181
  */
4224
4182
  serviceRole?: string;
4225
4183
  /**
4226
- * <p>The current status of the Macie account. Possible values are: PAUSED, the account is enabled but all Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Macie activities are enabled for the account.</p>
4184
+ * <p>The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Macie activities are enabled for the account.</p>
4227
4185
  */
4228
4186
  status?: MacieStatus | string;
4229
4187
  /**
4230
- * <p>The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Macie account.</p>
4188
+ * <p>The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon Macie account.</p>
4231
4189
  */
4232
4190
  updatedAt?: Date;
4233
4191
  }
@@ -4287,7 +4245,7 @@ export interface GetMemberResponse {
4287
4245
  */
4288
4246
  email?: string;
4289
4247
  /**
4290
- * <p>The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.</p>
4248
+ * <p>The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if an invitation hasn't been sent to the account.</p>
4291
4249
  */
4292
4250
  invitedAt?: Date;
4293
4251
  /**
@@ -4690,7 +4648,7 @@ export declare namespace ListMembersRequest {
4690
4648
  }
4691
4649
  export interface ListMembersResponse {
4692
4650
  /**
4693
- * <p>An array of objects, one for each account that's associated with the administrator account and meets the criteria specified by the onlyAssociated request parameter.</p>
4651
+ * <p>An array of objects, one for each account that's associated with the administrator account and meets the criteria specified in the request.</p>
4694
4652
  */
4695
4653
  members?: Member[];
4696
4654
  /**
@@ -5029,7 +4987,7 @@ export interface UpdateFindingsFilterRequest {
5029
4987
  */
5030
4988
  action?: FindingsFilterAction | string;
5031
4989
  /**
5032
- * <p>A custom description of the filter. The description can contain as many as 512 characters.</p> <p>We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users might be able to see the filter's description, depending on the actions that they're allowed to perform in Amazon Macie.</p>
4990
+ * <p>A custom description of the filter. The description can contain as many as 512 characters.</p> <p>We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users might be able to see this description, depending on the actions that they're allowed to perform in Amazon Macie.</p>
5033
4991
  */
5034
4992
  description?: string;
5035
4993
  /**
@@ -5041,7 +4999,7 @@ export interface UpdateFindingsFilterRequest {
5041
4999
  */
5042
5000
  id: string | undefined;
5043
5001
  /**
5044
- * <p>A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.</p> <p>We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users might be able to see the filter's name, depending on the actions that they're allowed to perform in Amazon Macie.</p>
5002
+ * <p>A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.</p> <p>We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.</p>
5045
5003
  */
5046
5004
  name?: string;
5047
5005
  /**
@@ -5125,7 +5083,7 @@ export declare namespace UpdateMemberSessionResponse {
5125
5083
  }
5126
5084
  export interface UpdateOrganizationConfigurationRequest {
5127
5085
  /**
5128
- * <p>Specifies whether to enable Amazon Macie automatically for each account, when the account is added to the Amazon Web Services organization.</p>
5086
+ * <p>Specifies whether to enable Amazon Macie automatically for an account when the account is added to the organization in Organizations.</p>
5129
5087
  */
5130
5088
  autoEnable: boolean | undefined;
5131
5089
  }
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { Macie2ClientConfig } from "./Macie2Client";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: Macie2ClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: Macie2ClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { Macie2ClientConfig } from "./Macie2Client";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: Macie2ClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: Macie2ClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
10
10
  import { BatchGetCustomDataIdentifiersCommandInput, BatchGetCustomDataIdentifiersCommandOutput } from "./commands/BatchGetCustomDataIdentifiersCommand";
@@ -108,6 +108,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
108
108
  regionInfoProvider?: RegionInfoProvider;
109
109
 
110
110
  defaultUserAgentProvider?: Provider<__UserAgent>;
111
+
112
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
111
113
  }
112
114
  declare type Macie2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
113
115
 
@@ -1489,10 +1489,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
1489
1489
 
1490
1490
  message?: string;
1491
1491
  }
1492
- export declare namespace AccessDeniedException {
1493
-
1494
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
1495
- }
1496
1492
 
1497
1493
  export interface ConflictException extends __SmithyException, $MetadataBearer {
1498
1494
  name: "ConflictException";
@@ -1500,10 +1496,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
1500
1496
 
1501
1497
  message?: string;
1502
1498
  }
1503
- export declare namespace ConflictException {
1504
-
1505
- const filterSensitiveLog: (obj: ConflictException) => any;
1506
- }
1507
1499
 
1508
1500
  export interface InternalServerException extends __SmithyException, $MetadataBearer {
1509
1501
  name: "InternalServerException";
@@ -1511,10 +1503,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
1511
1503
 
1512
1504
  message?: string;
1513
1505
  }
1514
- export declare namespace InternalServerException {
1515
-
1516
- const filterSensitiveLog: (obj: InternalServerException) => any;
1517
- }
1518
1506
 
1519
1507
  export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
1520
1508
  name: "ResourceNotFoundException";
@@ -1522,10 +1510,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
1522
1510
 
1523
1511
  message?: string;
1524
1512
  }
1525
- export declare namespace ResourceNotFoundException {
1526
-
1527
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
1528
- }
1529
1513
 
1530
1514
  export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
1531
1515
  name: "ServiceQuotaExceededException";
@@ -1533,10 +1517,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
1533
1517
 
1534
1518
  message?: string;
1535
1519
  }
1536
- export declare namespace ServiceQuotaExceededException {
1537
-
1538
- const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
1539
- }
1540
1520
 
1541
1521
  export interface ThrottlingException extends __SmithyException, $MetadataBearer {
1542
1522
  name: "ThrottlingException";
@@ -1544,10 +1524,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
1544
1524
 
1545
1525
  message?: string;
1546
1526
  }
1547
- export declare namespace ThrottlingException {
1548
-
1549
- const filterSensitiveLog: (obj: ThrottlingException) => any;
1550
- }
1551
1527
 
1552
1528
  export interface ValidationException extends __SmithyException, $MetadataBearer {
1553
1529
  name: "ValidationException";
@@ -1555,10 +1531,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
1555
1531
 
1556
1532
  message?: string;
1557
1533
  }
1558
- export declare namespace ValidationException {
1559
-
1560
- const filterSensitiveLog: (obj: ValidationException) => any;
1561
- }
1562
1534
 
1563
1535
  export interface AccountDetail {
1564
1536
 
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { Macie2ClientConfig } from "./Macie2Client";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: Macie2ClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: Macie2ClientConfig) => {
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { Macie2ClientConfig } from "./Macie2Client";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: Macie2ClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: Macie2ClientConfig) => {
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,18 +1,15 @@
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.42.0",
4
+ "version": "3.47.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
- "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "jest --coverage --passWithNoTests"
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-*"
16
13
  },
17
14
  "main": "./dist-cjs/index.js",
18
15
  "types": "./dist-types/index.d.ts",
@@ -21,50 +18,46 @@
21
18
  "dependencies": {
22
19
  "@aws-crypto/sha256-browser": "2.0.0",
23
20
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.42.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
27
- "@aws-sdk/fetch-http-handler": "3.40.0",
28
- "@aws-sdk/hash-node": "3.40.0",
29
- "@aws-sdk/invalid-dependency": "3.40.0",
30
- "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-host-header": "3.40.0",
32
- "@aws-sdk/middleware-logger": "3.40.0",
33
- "@aws-sdk/middleware-retry": "3.40.0",
34
- "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
36
- "@aws-sdk/middleware-stack": "3.40.0",
37
- "@aws-sdk/middleware-user-agent": "3.40.0",
38
- "@aws-sdk/node-config-provider": "3.40.0",
39
- "@aws-sdk/node-http-handler": "3.40.0",
40
- "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.41.0",
42
- "@aws-sdk/types": "3.40.0",
43
- "@aws-sdk/url-parser": "3.40.0",
44
- "@aws-sdk/util-base64-browser": "3.37.0",
45
- "@aws-sdk/util-base64-node": "3.37.0",
46
- "@aws-sdk/util-body-length-browser": "3.37.0",
47
- "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.40.0",
49
- "@aws-sdk/util-user-agent-node": "3.40.0",
50
- "@aws-sdk/util-utf8-browser": "3.37.0",
51
- "@aws-sdk/util-utf8-node": "3.37.0",
21
+ "@aws-sdk/client-sts": "3.47.0",
22
+ "@aws-sdk/config-resolver": "3.47.0",
23
+ "@aws-sdk/credential-provider-node": "3.47.0",
24
+ "@aws-sdk/fetch-http-handler": "3.47.0",
25
+ "@aws-sdk/hash-node": "3.47.0",
26
+ "@aws-sdk/invalid-dependency": "3.47.0",
27
+ "@aws-sdk/middleware-content-length": "3.47.0",
28
+ "@aws-sdk/middleware-host-header": "3.47.0",
29
+ "@aws-sdk/middleware-logger": "3.47.0",
30
+ "@aws-sdk/middleware-retry": "3.47.0",
31
+ "@aws-sdk/middleware-serde": "3.47.0",
32
+ "@aws-sdk/middleware-signing": "3.47.0",
33
+ "@aws-sdk/middleware-stack": "3.47.0",
34
+ "@aws-sdk/middleware-user-agent": "3.47.0",
35
+ "@aws-sdk/node-config-provider": "3.47.0",
36
+ "@aws-sdk/node-http-handler": "3.47.0",
37
+ "@aws-sdk/protocol-http": "3.47.0",
38
+ "@aws-sdk/smithy-client": "3.47.0",
39
+ "@aws-sdk/types": "3.47.0",
40
+ "@aws-sdk/url-parser": "3.47.0",
41
+ "@aws-sdk/util-base64-browser": "3.47.0",
42
+ "@aws-sdk/util-base64-node": "3.47.0",
43
+ "@aws-sdk/util-body-length-browser": "3.47.0",
44
+ "@aws-sdk/util-body-length-node": "3.47.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.0",
48
+ "@aws-sdk/util-user-agent-node": "3.47.0",
49
+ "@aws-sdk/util-utf8-browser": "3.47.0",
50
+ "@aws-sdk/util-utf8-node": "3.47.0",
52
51
  "tslib": "^2.3.0",
53
52
  "uuid": "^8.3.2"
54
53
  },
55
54
  "devDependencies": {
56
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.47.0",
57
56
  "@types/node": "^12.7.5",
58
- "@types/uuid": "^8.3.0",
59
- "downlevel-dts": "0.7.0",
60
- "jest": "^26.1.0",
61
- "rimraf": "^3.0.0",
62
- "ts-jest": "^26.4.1",
63
- "typedoc": "^0.19.2",
64
- "typescript": "~4.3.5"
57
+ "@types/uuid": "^8.3.0"
65
58
  },
66
59
  "engines": {
67
- "node": ">=10.0.0"
60
+ "node": ">=12.0.0"
68
61
  },
69
62
  "typesVersions": {
70
63
  "<4.0": {