@aws-sdk/client-accessanalyzer 3.1087.0 → 3.1089.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 (58) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/AccessAnalyzer.d.ts +132 -143
  3. package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +9 -28
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  7. package/dist-types/ts3.4/commands/ApplyArchiveRuleCommand.d.ts +2 -2
  8. package/dist-types/ts3.4/commands/CancelPolicyGenerationCommand.d.ts +5 -10
  9. package/dist-types/ts3.4/commands/CheckAccessNotGrantedCommand.d.ts +5 -10
  10. package/dist-types/ts3.4/commands/CheckNoNewAccessCommand.d.ts +4 -9
  11. package/dist-types/ts3.4/commands/CheckNoPublicAccessCommand.d.ts +5 -10
  12. package/dist-types/ts3.4/commands/CreateAccessPreviewCommand.d.ts +5 -10
  13. package/dist-types/ts3.4/commands/CreateAnalyzerCommand.d.ts +4 -9
  14. package/dist-types/ts3.4/commands/CreateArchiveRuleCommand.d.ts +3 -4
  15. package/dist-types/ts3.4/commands/CreateServiceLinkedAnalyzerCommand.d.ts +4 -6
  16. package/dist-types/ts3.4/commands/DeleteAnalyzerCommand.d.ts +2 -2
  17. package/dist-types/ts3.4/commands/DeleteArchiveRuleCommand.d.ts +3 -4
  18. package/dist-types/ts3.4/commands/DeleteServiceLinkedAnalyzerCommand.d.ts +4 -6
  19. package/dist-types/ts3.4/commands/GenerateFindingRecommendationCommand.d.ts +4 -6
  20. package/dist-types/ts3.4/commands/GetAccessPreviewCommand.d.ts +4 -9
  21. package/dist-types/ts3.4/commands/GetAnalyzedResourceCommand.d.ts +5 -10
  22. package/dist-types/ts3.4/commands/GetAnalyzerCommand.d.ts +3 -5
  23. package/dist-types/ts3.4/commands/GetArchiveRuleCommand.d.ts +4 -9
  24. package/dist-types/ts3.4/commands/GetFindingCommand.d.ts +3 -5
  25. package/dist-types/ts3.4/commands/GetFindingRecommendationCommand.d.ts +4 -6
  26. package/dist-types/ts3.4/commands/GetFindingV2Command.d.ts +3 -5
  27. package/dist-types/ts3.4/commands/GetFindingsStatisticsCommand.d.ts +5 -10
  28. package/dist-types/ts3.4/commands/GetGeneratedPolicyCommand.d.ts +5 -10
  29. package/dist-types/ts3.4/commands/ListAccessPreviewFindingsCommand.d.ts +4 -6
  30. package/dist-types/ts3.4/commands/ListAccessPreviewsCommand.d.ts +5 -10
  31. package/dist-types/ts3.4/commands/ListAnalyzedResourcesCommand.d.ts +5 -10
  32. package/dist-types/ts3.4/commands/ListAnalyzersCommand.d.ts +3 -8
  33. package/dist-types/ts3.4/commands/ListArchiveRulesCommand.d.ts +4 -9
  34. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +3 -5
  35. package/dist-types/ts3.4/commands/ListFindingsV2Command.d.ts +4 -9
  36. package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +4 -9
  37. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
  38. package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +5 -10
  39. package/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +3 -4
  40. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
  41. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
  42. package/dist-types/ts3.4/commands/UpdateAnalyzerCommand.d.ts +4 -9
  43. package/dist-types/ts3.4/commands/UpdateArchiveRuleCommand.d.ts +3 -4
  44. package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +2 -2
  45. package/dist-types/ts3.4/commands/ValidatePolicyCommand.d.ts +4 -9
  46. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  47. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  48. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  49. package/dist-types/ts3.4/models/enums.d.ts +8 -16
  50. package/dist-types/ts3.4/models/errors.d.ts +8 -24
  51. package/dist-types/ts3.4/models/models_0.d.ts +13 -40
  52. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  53. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  54. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
  55. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  56. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  57. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  58. package/package.json +38 -38
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface AccessAnalyzerExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -42,8 +42,7 @@ export declare const AnalyzerStatus: {
42
42
  readonly DISABLED: "DISABLED";
43
43
  readonly FAILED: "FAILED";
44
44
  };
45
- export type AnalyzerStatus =
46
- (typeof AnalyzerStatus)[keyof typeof AnalyzerStatus];
45
+ export type AnalyzerStatus = (typeof AnalyzerStatus)[keyof typeof AnalyzerStatus];
47
46
  export declare const ReasonCode: {
48
47
  readonly AWS_SERVICE_ACCESS_DISABLED: "AWS_SERVICE_ACCESS_DISABLED";
49
48
  readonly DELEGATED_ADMINISTRATOR_DEREGISTERED: "DELEGATED_ADMINISTRATOR_DEREGISTERED";
@@ -121,8 +120,7 @@ export declare const KmsGrantOperation: {
121
120
  readonly SIGN: "Sign";
122
121
  readonly VERIFY: "Verify";
123
122
  };
124
- export type KmsGrantOperation =
125
- (typeof KmsGrantOperation)[keyof typeof KmsGrantOperation];
123
+ export type KmsGrantOperation = (typeof KmsGrantOperation)[keyof typeof KmsGrantOperation];
126
124
  export declare const AclPermission: {
127
125
  readonly FULL_CONTROL: "FULL_CONTROL";
128
126
  readonly READ: "READ";
@@ -136,8 +134,7 @@ export declare const AccessPreviewStatus: {
136
134
  readonly CREATING: "CREATING";
137
135
  readonly FAILED: "FAILED";
138
136
  };
139
- export type AccessPreviewStatus =
140
- (typeof AccessPreviewStatus)[keyof typeof AccessPreviewStatus];
137
+ export type AccessPreviewStatus = (typeof AccessPreviewStatus)[keyof typeof AccessPreviewStatus];
141
138
  export declare const AccessPreviewStatusReasonCode: {
142
139
  readonly INTERNAL_ERROR: "INTERNAL_ERROR";
143
140
  readonly INVALID_CONFIGURATION: "INVALID_CONFIGURATION";
@@ -164,13 +161,11 @@ export declare const FindingSourceType: {
164
161
  readonly S3_ACCESS_POINT: "S3_ACCESS_POINT";
165
162
  readonly S3_ACCESS_POINT_ACCOUNT: "S3_ACCESS_POINT_ACCOUNT";
166
163
  };
167
- export type FindingSourceType =
168
- (typeof FindingSourceType)[keyof typeof FindingSourceType];
164
+ export type FindingSourceType = (typeof FindingSourceType)[keyof typeof FindingSourceType];
169
165
  export declare const RecommendationType: {
170
166
  readonly UNUSED_PERMISSION_RECOMMENDATION: "UnusedPermissionRecommendation";
171
167
  };
172
- export type RecommendationType =
173
- (typeof RecommendationType)[keyof typeof RecommendationType];
168
+ export type RecommendationType = (typeof RecommendationType)[keyof typeof RecommendationType];
174
169
  export declare const RecommendedRemediationAction: {
175
170
  readonly CREATE_POLICY: "CREATE_POLICY";
176
171
  readonly DETACH_POLICY: "DETACH_POLICY";
@@ -187,8 +182,7 @@ export declare const InternalAccessType: {
187
182
  readonly INTRA_ACCOUNT: "INTRA_ACCOUNT";
188
183
  readonly INTRA_ORG: "INTRA_ORG";
189
184
  };
190
- export type InternalAccessType =
191
- (typeof InternalAccessType)[keyof typeof InternalAccessType];
185
+ export type InternalAccessType = (typeof InternalAccessType)[keyof typeof InternalAccessType];
192
186
  export declare const PrincipalType: {
193
187
  readonly IAM_ROLE: "IAM_ROLE";
194
188
  readonly IAM_USER: "IAM_USER";
@@ -230,8 +224,7 @@ export declare const FindingChangeType: {
230
224
  readonly NEW: "NEW";
231
225
  readonly UNCHANGED: "UNCHANGED";
232
226
  };
233
- export type FindingChangeType =
234
- (typeof FindingChangeType)[keyof typeof FindingChangeType];
227
+ export type FindingChangeType = (typeof FindingChangeType)[keyof typeof FindingChangeType];
235
228
  export declare const OrderBy: {
236
229
  readonly ASC: "ASC";
237
230
  readonly DESC: "DESC";
@@ -241,8 +234,7 @@ export declare const FindingStatusUpdate: {
241
234
  readonly ACTIVE: "ACTIVE";
242
235
  readonly ARCHIVED: "ARCHIVED";
243
236
  };
244
- export type FindingStatusUpdate =
245
- (typeof FindingStatusUpdate)[keyof typeof FindingStatusUpdate];
237
+ export type FindingStatusUpdate = (typeof FindingStatusUpdate)[keyof typeof FindingStatusUpdate];
246
238
  export declare const Locale: {
247
239
  readonly DE: "DE";
248
240
  readonly EN: "EN";
@@ -5,9 +5,7 @@ import { ValidationExceptionField } from "./models_0";
5
5
  export declare class AccessDeniedException extends __BaseException {
6
6
  readonly name: "AccessDeniedException";
7
7
  readonly $fault: "client";
8
- constructor(
9
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
- );
8
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
11
9
  }
12
10
  export declare class ConflictException extends __BaseException {
13
11
  readonly name: "ConflictException";
@@ -21,27 +19,21 @@ export declare class InternalServerException extends __BaseException {
21
19
  readonly $fault: "server";
22
20
  $retryable: {};
23
21
  retryAfterSeconds?: number | undefined;
24
- constructor(
25
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
26
- );
22
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
27
23
  }
28
24
  export declare class ResourceNotFoundException extends __BaseException {
29
25
  readonly name: "ResourceNotFoundException";
30
26
  readonly $fault: "client";
31
27
  resourceId: string | undefined;
32
28
  resourceType: string | undefined;
33
- constructor(
34
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
35
- );
29
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
36
30
  }
37
31
  export declare class ServiceQuotaExceededException extends __BaseException {
38
32
  readonly name: "ServiceQuotaExceededException";
39
33
  readonly $fault: "client";
40
34
  resourceId: string | undefined;
41
35
  resourceType: string | undefined;
42
- constructor(
43
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
44
- );
36
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
45
37
  }
46
38
  export declare class ThrottlingException extends __BaseException {
47
39
  readonly name: "ThrottlingException";
@@ -50,31 +42,23 @@ export declare class ThrottlingException extends __BaseException {
50
42
  throttling: boolean;
51
43
  };
52
44
  retryAfterSeconds?: number | undefined;
53
- constructor(
54
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
55
- );
45
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
56
46
  }
57
47
  export declare class ValidationException extends __BaseException {
58
48
  readonly name: "ValidationException";
59
49
  readonly $fault: "client";
60
50
  reason: ValidationExceptionReason | undefined;
61
51
  fieldList?: ValidationExceptionField[] | undefined;
62
- constructor(
63
- opts: __ExceptionOptionType<ValidationException, __BaseException>
64
- );
52
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
65
53
  }
66
54
  export declare class InvalidParameterException extends __BaseException {
67
55
  readonly name: "InvalidParameterException";
68
56
  readonly $fault: "client";
69
- constructor(
70
- opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
71
- );
57
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
72
58
  }
73
59
  export declare class UnprocessableEntityException extends __BaseException {
74
60
  readonly name: "UnprocessableEntityException";
75
61
  readonly $fault: "client";
76
62
  $retryable: {};
77
- constructor(
78
- opts: __ExceptionOptionType<UnprocessableEntityException, __BaseException>
79
- );
63
+ constructor(opts: __ExceptionOptionType<UnprocessableEntityException, __BaseException>);
80
64
  }
@@ -353,10 +353,7 @@ export interface S3AccessPointConfiguration {
353
353
  publicAccessBlock?: S3PublicAccessBlockConfiguration | undefined;
354
354
  networkOrigin?: NetworkOriginConfiguration | undefined;
355
355
  }
356
- export type AclGrantee =
357
- | AclGrantee.IdMember
358
- | AclGrantee.UriMember
359
- | AclGrantee.$UnknownMember;
356
+ export type AclGrantee = AclGrantee.IdMember | AclGrantee.UriMember | AclGrantee.$UnknownMember;
360
357
  export declare namespace AclGrantee {
361
358
  interface IdMember {
362
359
  id: string;
@@ -395,9 +392,7 @@ export interface S3ExpressDirectoryAccessPointConfiguration {
395
392
  }
396
393
  export interface S3ExpressDirectoryBucketConfiguration {
397
394
  bucketPolicy?: string | undefined;
398
- accessPoints?:
399
- | Record<string, S3ExpressDirectoryAccessPointConfiguration>
400
- | undefined;
395
+ accessPoints?: Record<string, S3ExpressDirectoryAccessPointConfiguration> | undefined;
401
396
  }
402
397
  export interface SecretsManagerSecretConfiguration {
403
398
  kmsKeyId?: string | undefined;
@@ -693,9 +688,7 @@ export declare namespace Configuration {
693
688
  s3Bucket: (value: S3BucketConfiguration) => T;
694
689
  snsTopic: (value: SnsTopicConfiguration) => T;
695
690
  sqsQueue: (value: SqsQueueConfiguration) => T;
696
- s3ExpressDirectoryBucket: (
697
- value: S3ExpressDirectoryBucketConfiguration
698
- ) => T;
691
+ s3ExpressDirectoryBucket: (value: S3ExpressDirectoryBucketConfiguration) => T;
699
692
  dynamodbStream: (value: DynamodbStreamConfiguration) => T;
700
693
  dynamodbTable: (value: DynamodbTableConfiguration) => T;
701
694
  _: (name: string, value: any) => T;
@@ -787,9 +780,7 @@ export interface Finding {
787
780
  resourceOwnerAccount: string | undefined;
788
781
  error?: string | undefined;
789
782
  sources?: FindingSource[] | undefined;
790
- resourceControlPolicyRestriction?:
791
- | ResourceControlPolicyRestriction
792
- | undefined;
783
+ resourceControlPolicyRestriction?: ResourceControlPolicyRestriction | undefined;
793
784
  }
794
785
  export interface GetFindingResponse {
795
786
  finding?: Finding | undefined;
@@ -823,9 +814,7 @@ export declare namespace RecommendedStep {
823
814
  $unknown: [string, any];
824
815
  }
825
816
  interface Visitor<T> {
826
- unusedPermissionsRecommendedStep: (
827
- value: UnusedPermissionsRecommendedStep
828
- ) => T;
817
+ unusedPermissionsRecommendedStep: (value: UnusedPermissionsRecommendedStep) => T;
829
818
  _: (name: string, value: any) => T;
830
819
  }
831
820
  }
@@ -848,9 +837,7 @@ export interface ResourceTypeDetails {
848
837
  totalActiveErrors?: number | undefined;
849
838
  }
850
839
  export interface ExternalAccessFindingsStatistics {
851
- resourceTypeStatistics?:
852
- | Partial<Record<ResourceType, ResourceTypeDetails>>
853
- | undefined;
840
+ resourceTypeStatistics?: Partial<Record<ResourceType, ResourceTypeDetails>> | undefined;
854
841
  totalActiveFindings?: number | undefined;
855
842
  totalArchivedFindings?: number | undefined;
856
843
  totalResolvedFindings?: number | undefined;
@@ -915,15 +902,9 @@ export declare namespace FindingsStatistics {
915
902
  $unknown: [string, any];
916
903
  }
917
904
  interface Visitor<T> {
918
- externalAccessFindingsStatistics: (
919
- value: ExternalAccessFindingsStatistics
920
- ) => T;
921
- internalAccessFindingsStatistics: (
922
- value: InternalAccessFindingsStatistics
923
- ) => T;
924
- unusedAccessFindingsStatistics: (
925
- value: UnusedAccessFindingsStatistics
926
- ) => T;
905
+ externalAccessFindingsStatistics: (value: ExternalAccessFindingsStatistics) => T;
906
+ internalAccessFindingsStatistics: (value: InternalAccessFindingsStatistics) => T;
907
+ unusedAccessFindingsStatistics: (value: UnusedAccessFindingsStatistics) => T;
927
908
  _: (name: string, value: any) => T;
928
909
  }
929
910
  }
@@ -943,9 +924,7 @@ export interface ExternalAccessDetails {
943
924
  isPublic?: boolean | undefined;
944
925
  principal?: Record<string, string> | undefined;
945
926
  sources?: FindingSource[] | undefined;
946
- resourceControlPolicyRestriction?:
947
- | ResourceControlPolicyRestriction
948
- | undefined;
927
+ resourceControlPolicyRestriction?: ResourceControlPolicyRestriction | undefined;
949
928
  }
950
929
  export interface InternalAccessDetails {
951
930
  action?: string[] | undefined;
@@ -955,9 +934,7 @@ export interface InternalAccessDetails {
955
934
  accessType?: InternalAccessType | undefined;
956
935
  principalType?: PrincipalType | undefined;
957
936
  sources?: FindingSource[] | undefined;
958
- resourceControlPolicyRestriction?:
959
- | ResourceControlPolicyRestriction
960
- | undefined;
937
+ resourceControlPolicyRestriction?: ResourceControlPolicyRestriction | undefined;
961
938
  serviceControlPolicyRestriction?: ServiceControlPolicyRestriction | undefined;
962
939
  }
963
940
  export interface UnusedIamRoleDetails {
@@ -1140,9 +1117,7 @@ export interface AccessPreviewFinding {
1140
1117
  resourceOwnerAccount: string | undefined;
1141
1118
  error?: string | undefined;
1142
1119
  sources?: FindingSource[] | undefined;
1143
- resourceControlPolicyRestriction?:
1144
- | ResourceControlPolicyRestriction
1145
- | undefined;
1120
+ resourceControlPolicyRestriction?: ResourceControlPolicyRestriction | undefined;
1146
1121
  }
1147
1122
  export interface ListAccessPreviewFindingsResponse {
1148
1123
  findings: AccessPreviewFinding[] | undefined;
@@ -1205,9 +1180,7 @@ export interface FindingSummary {
1205
1180
  resourceOwnerAccount: string | undefined;
1206
1181
  error?: string | undefined;
1207
1182
  sources?: FindingSource[] | undefined;
1208
- resourceControlPolicyRestriction?:
1209
- | ResourceControlPolicyRestriction
1210
- | undefined;
1183
+ resourceControlPolicyRestriction?: ResourceControlPolicyRestriction | undefined;
1211
1184
  }
1212
1185
  export interface ListFindingsResponse {
1213
1186
  findings: FindingSummary[] | undefined;
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@smithy/types";
2
2
  import { AccessAnalyzerClient } from "../AccessAnalyzerClient";
3
- export interface AccessAnalyzerPaginationConfiguration
4
- extends PaginationConfiguration {
3
+ export interface AccessAnalyzerPaginationConfiguration extends PaginationConfiguration {
5
4
  client: AccessAnalyzerClient;
6
5
  }
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
10
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
- | ((
12
- _: unknown
13
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
12
  defaultUserAgentProvider: (
15
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
16
14
  ) => Promise<import("@smithy/types").UserAgent>;
17
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
16
  region: string | import("@smithy/types").Provider<any>;
19
- requestHandler:
20
- | import("@smithy/core/protocols").HttpHandler<any>
21
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
22
18
  retryMode: string | import("@smithy/types").Provider<string>;
23
19
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
21
  ) => Promise<Uint8Array>;
30
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
31
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
53
45
  logger: import("@smithy/types").Logger;
54
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- userAgentAppId?:
57
- | string
58
- | undefined
59
- | import("@smithy/types").Provider<string | undefined>;
60
- retryStrategy?:
61
- | import("@smithy/types").RetryStrategy
62
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
63
50
  endpoint?:
64
51
  | ((
65
52
  | string
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
81
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
82
69
  context?: {
83
70
  logger?: import("@smithy/types").Logger;
84
- }
71
+ },
85
72
  ) => import("@smithy/types").EndpointV2;
86
73
  tls?: boolean;
87
74
  serviceConfiguredEndpoint?: never;
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
94
81
  signer?:
95
82
  | import("@smithy/types").RequestSigner
96
83
  | ((
97
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
98
85
  ) => Promise<import("@smithy/types").RequestSigner>);
99
86
  signingEscapePath?: boolean;
100
87
  systemClockOffset?: number;
101
88
  signingRegion?: string;
102
89
  signerConstructor?: new (
103
90
  options: import("@smithy/signature-v4").SignatureV4Init &
104
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
105
92
  ) => import("@smithy/types").RequestSigner;
106
93
  };
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
10
10
  credentialDefaultProvider:
11
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
12
  | ((
13
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
14
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
15
  defaultUserAgentProvider: (
16
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
17
17
  ) => Promise<import("@smithy/types").UserAgent>;
18
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
19
19
  region: string | import("@smithy/types").Provider<string>;
20
- requestHandler:
21
- | RequestHandler
22
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
23
21
  retryMode: string | import("@smithy/types").Provider<string>;
24
22
  streamCollector: (
25
- stream:
26
- | import("stream").Readable
27
- | import("stream/web").ReadableStream
28
- | ReadableStream
29
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
30
24
  ) => Promise<Uint8Array>;
31
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
53
47
  logger: import("@smithy/types").Logger;
54
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- retryStrategy?:
57
- | import("@smithy/types").RetryStrategy
58
- | import("@smithy/types").RetryStrategyV2;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
59
51
  endpoint?:
60
52
  | ((
61
53
  | string
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
77
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
78
70
  context?: {
79
71
  logger?: import("@smithy/types").Logger;
80
- }
72
+ },
81
73
  ) => import("@smithy/types").EndpointV2;
82
74
  tls?: boolean;
83
75
  serviceConfiguredEndpoint?: never;
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
89
81
  signer?:
90
82
  | import("@smithy/types").RequestSigner
91
83
  | ((
92
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
93
85
  ) => Promise<import("@smithy/types").RequestSigner>);
94
86
  signingEscapePath?: boolean;
95
87
  systemClockOffset?: number;
96
88
  signingRegion?: string;
97
89
  signerConstructor?: new (
98
90
  options: import("@smithy/signature-v4").SignatureV4Init &
99
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
100
92
  ) => import("@smithy/types").RequestSigner;
101
93
  };
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
25
  ) => Promise<Uint8Array>;
30
26
  base64Decoder: import("@smithy/types").Decoder;
31
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
40
36
  region: string | import("@smithy/types").Provider<any>;
41
37
  profile?: string;
42
38
  defaultUserAgentProvider: (
43
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
44
40
  ) => Promise<import("@smithy/types").UserAgent>;
45
41
  credentialDefaultProvider:
46
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
47
- | ((
48
- _: unknown
49
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
50
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
51
45
  retryMode: string | import("@smithy/types").Provider<string>;
52
46
  logger: import("@smithy/types").Logger;
53
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
54
48
  defaultsMode:
55
49
  | import("@smithy/core/client").DefaultsMode
56
- | import("@smithy/types").Provider<
57
- import("@smithy/core/client").DefaultsMode
58
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
59
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- userAgentAppId?:
61
- | string
62
- | undefined
63
- | import("@smithy/types").Provider<string | undefined>;
64
- retryStrategy?:
65
- | import("@smithy/types").RetryStrategy
66
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
67
54
  endpoint?:
68
55
  | ((
69
56
  | string
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
85
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
86
73
  context?: {
87
74
  logger?: import("@smithy/types").Logger;
88
- }
75
+ },
89
76
  ) => import("@smithy/types").EndpointV2;
90
77
  tls?: boolean;
91
78
  serviceConfiguredEndpoint?: never;
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
98
85
  signer?:
99
86
  | import("@smithy/types").RequestSigner
100
87
  | ((
101
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
102
89
  ) => Promise<import("@smithy/types").RequestSigner>);
103
90
  signingEscapePath?: boolean;
104
91
  systemClockOffset?: number;
105
92
  signingRegion?: string;
106
93
  signerConstructor?: new (
107
94
  options: import("@smithy/signature-v4").SignatureV4Init &
108
- import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
109
96
  ) => import("@smithy/types").RequestSigner;
110
97
  };
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
9
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
11
  logger?: import("@smithy/types").Logger;
12
- }
12
+ },
13
13
  ) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
15
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AccessAnalyzerHttpAuthSchemeProvider;
@@ -7,5 +7,5 @@ export interface RuntimeExtensionsConfig {
7
7
  }
8
8
  export declare const resolveRuntimeExtensions: (
9
9
  runtimeConfig: any,
10
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
11
11
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-accessanalyzer",
3
+ "version": "3.1089.0",
3
4
  "description": "AWS SDK for JavaScript Accessanalyzer Client for Node.js, Browser and React Native",
4
- "version": "3.1087.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-accessanalyzer",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-accessanalyzer"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,17 +45,13 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.2",
23
- "@aws-sdk/credential-provider-node": "^3.972.68",
24
- "@aws-sdk/types": "^3.974.1",
25
- "@smithy/core": "^3.29.3",
26
- "@smithy/fetch-http-handler": "^5.6.5",
27
- "@smithy/node-http-handler": "^4.9.5",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.70",
51
+ "@aws-sdk/types": "^3.974.2",
52
+ "@smithy/core": "^3.29.4",
53
+ "@smithy/fetch-http-handler": "^5.6.6",
54
+ "@smithy/node-http-handler": "^4.9.6",
28
55
  "@smithy/types": "^4.16.1",
29
56
  "tslib": "^2.6.2"
30
57
  },
@@ -38,32 +65,5 @@
38
65
  },
39
66
  "engines": {
40
67
  "node": ">=20.0.0"
41
- },
42
- "typesVersions": {
43
- "<4.5": {
44
- "dist-types/*": [
45
- "dist-types/ts3.4/*"
46
- ]
47
- }
48
- },
49
- "files": [
50
- "dist-*/**"
51
- ],
52
- "author": {
53
- "name": "AWS SDK for JavaScript Team",
54
- "url": "https://aws.amazon.com/sdk-for-javascript/"
55
- },
56
- "license": "Apache-2.0",
57
- "browser": {
58
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
59
- },
60
- "react-native": {
61
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
62
- },
63
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-accessanalyzer",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "clients/client-accessanalyzer"
68
68
  }
69
69
  }