@aws-sdk/client-accessanalyzer 3.1025.0 → 3.1027.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 (59) hide show
  1. package/README.md +0 -49
  2. package/dist-cjs/index.js +1 -249
  3. package/dist-cjs/schemas/schemas_0.js +5 -173
  4. package/dist-es/AccessAnalyzer.js +1 -23
  5. package/dist-es/commands/index.js +0 -7
  6. package/dist-es/index.js +0 -1
  7. package/dist-es/models/enums.js +0 -31
  8. package/dist-es/pagination/index.js +0 -1
  9. package/dist-es/schemas/schemas_0.js +0 -168
  10. package/dist-types/AccessAnalyzer.d.ts +1 -74
  11. package/dist-types/AccessAnalyzerClient.d.ts +2 -9
  12. package/dist-types/commands/index.d.ts +0 -7
  13. package/dist-types/index.d.ts +0 -1
  14. package/dist-types/models/enums.d.ts +0 -71
  15. package/dist-types/models/models_0.d.ts +1 -316
  16. package/dist-types/pagination/index.d.ts +0 -1
  17. package/dist-types/schemas/schemas_0.d.ts +0 -26
  18. package/dist-types/ts3.4/AccessAnalyzer.d.ts +0 -150
  19. package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +0 -42
  20. package/dist-types/ts3.4/commands/index.d.ts +0 -7
  21. package/dist-types/ts3.4/index.d.ts +0 -1
  22. package/dist-types/ts3.4/models/enums.d.ts +0 -41
  23. package/dist-types/ts3.4/models/models_0.d.ts +0 -83
  24. package/dist-types/ts3.4/pagination/index.d.ts +0 -1
  25. package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -26
  26. package/package.json +33 -34
  27. package/dist-es/commands/CancelPolicyPreviewJobCommand.js +0 -16
  28. package/dist-es/commands/CreatePolicyPreviewConfigurationCommand.js +0 -16
  29. package/dist-es/commands/DeletePolicyPreviewConfigurationCommand.js +0 -16
  30. package/dist-es/commands/GetPolicyPreviewConfigurationCommand.js +0 -16
  31. package/dist-es/commands/GetPolicyPreviewJobCommand.js +0 -16
  32. package/dist-es/commands/ListPolicyPreviewJobsCommand.js +0 -16
  33. package/dist-es/commands/StartPolicyPreviewJobCommand.js +0 -16
  34. package/dist-es/pagination/ListPolicyPreviewJobsPaginator.js +0 -4
  35. package/dist-es/waiters/index.js +0 -2
  36. package/dist-es/waiters/waitForPolicyPreviewConfigurationActive.js +0 -54
  37. package/dist-es/waiters/waitForPolicyPreviewJobCompleted.js +0 -49
  38. package/dist-types/commands/CancelPolicyPreviewJobCommand.d.ts +0 -100
  39. package/dist-types/commands/CreatePolicyPreviewConfigurationCommand.d.ts +0 -109
  40. package/dist-types/commands/DeletePolicyPreviewConfigurationCommand.d.ts +0 -100
  41. package/dist-types/commands/GetPolicyPreviewConfigurationCommand.d.ts +0 -114
  42. package/dist-types/commands/GetPolicyPreviewJobCommand.d.ts +0 -187
  43. package/dist-types/commands/ListPolicyPreviewJobsCommand.d.ts +0 -137
  44. package/dist-types/commands/StartPolicyPreviewJobCommand.d.ts +0 -154
  45. package/dist-types/pagination/ListPolicyPreviewJobsPaginator.d.ts +0 -7
  46. package/dist-types/ts3.4/commands/CancelPolicyPreviewJobCommand.d.ts +0 -51
  47. package/dist-types/ts3.4/commands/CreatePolicyPreviewConfigurationCommand.d.ts +0 -51
  48. package/dist-types/ts3.4/commands/DeletePolicyPreviewConfigurationCommand.d.ts +0 -51
  49. package/dist-types/ts3.4/commands/GetPolicyPreviewConfigurationCommand.d.ts +0 -51
  50. package/dist-types/ts3.4/commands/GetPolicyPreviewJobCommand.d.ts +0 -51
  51. package/dist-types/ts3.4/commands/ListPolicyPreviewJobsCommand.d.ts +0 -51
  52. package/dist-types/ts3.4/commands/StartPolicyPreviewJobCommand.d.ts +0 -51
  53. package/dist-types/ts3.4/pagination/ListPolicyPreviewJobsPaginator.d.ts +0 -11
  54. package/dist-types/ts3.4/waiters/index.d.ts +0 -2
  55. package/dist-types/ts3.4/waiters/waitForPolicyPreviewConfigurationActive.d.ts +0 -11
  56. package/dist-types/ts3.4/waiters/waitForPolicyPreviewJobCompleted.d.ts +0 -11
  57. package/dist-types/waiters/index.d.ts +0 -2
  58. package/dist-types/waiters/waitForPolicyPreviewConfigurationActive.d.ts +0 -14
  59. package/dist-types/waiters/waitForPolicyPreviewJobCompleted.d.ts +0 -14
@@ -1,154 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
4
- import type { StartPolicyPreviewJobRequest, StartPolicyPreviewJobResponse } from "../models/models_0";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link StartPolicyPreviewJobCommand}.
14
- */
15
- export interface StartPolicyPreviewJobCommandInput extends StartPolicyPreviewJobRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link StartPolicyPreviewJobCommand}.
21
- */
22
- export interface StartPolicyPreviewJobCommandOutput extends StartPolicyPreviewJobResponse, __MetadataBearer {
23
- }
24
- declare const StartPolicyPreviewJobCommand_base: {
25
- new (input: StartPolicyPreviewJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartPolicyPreviewJobCommandInput, StartPolicyPreviewJobCommandOutput, AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: StartPolicyPreviewJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartPolicyPreviewJobCommandInput, StartPolicyPreviewJobCommandOutput, AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * <p>Creates a policy preview analysis job to evaluate the impact of Service Control Policies (SCPs) before deployment. The analysis uses historical CloudTrail authorization events to identify potential access denials, helping you prevent service disruptions.</p> <p>The job analyzes CloudTrail events within a specified time window and generates a report identifying which events would be denied by the proposed policy. The report is stored in the specified Amazon S3 location.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { AccessAnalyzerClient, StartPolicyPreviewJobCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
35
- * // const { AccessAnalyzerClient, StartPolicyPreviewJobCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
36
- * // import type { AccessAnalyzerClientConfig } from "@aws-sdk/client-accessanalyzer";
37
- * const config = {}; // type is AccessAnalyzerClientConfig
38
- * const client = new AccessAnalyzerClient(config);
39
- * const input = { // StartPolicyPreviewJobRequest
40
- * policyConfigurations: [ // PolicyConfigurationsList // required
41
- * { // PolicyConfiguration
42
- * jobType: "STRING_VALUE", // required
43
- * targetId: "STRING_VALUE", // required
44
- * policyDocumentsList: [ // PolicyDocumentList // required
45
- * "STRING_VALUE",
46
- * ],
47
- * },
48
- * ],
49
- * startTime: new Date("TIMESTAMP"), // required
50
- * endTime: new Date("TIMESTAMP"),
51
- * outputS3Uri: "STRING_VALUE", // required
52
- * clientToken: "STRING_VALUE",
53
- * };
54
- * const command = new StartPolicyPreviewJobCommand(input);
55
- * const response = await client.send(command);
56
- * // { // StartPolicyPreviewJobResponse
57
- * // jobId: "STRING_VALUE", // required
58
- * // };
59
- *
60
- * ```
61
- *
62
- * @param StartPolicyPreviewJobCommandInput - {@link StartPolicyPreviewJobCommandInput}
63
- * @returns {@link StartPolicyPreviewJobCommandOutput}
64
- * @see {@link StartPolicyPreviewJobCommandInput} for command's `input` shape.
65
- * @see {@link StartPolicyPreviewJobCommandOutput} for command's `response` shape.
66
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
67
- *
68
- * @throws {@link AccessDeniedException} (client fault)
69
- * <p>You do not have sufficient access to perform this action.</p>
70
- *
71
- * @throws {@link ConflictException} (client fault)
72
- * <p>A conflict exception error.</p>
73
- *
74
- * @throws {@link InternalServerException} (server fault)
75
- * <p>Internal server error.</p>
76
- *
77
- * @throws {@link ServiceQuotaExceededException} (client fault)
78
- * <p>Service quote met error.</p>
79
- *
80
- * @throws {@link ThrottlingException} (client fault)
81
- * <p>Throttling limit exceeded error.</p>
82
- *
83
- * @throws {@link ValidationException} (client fault)
84
- * <p>Validation exception error.</p>
85
- *
86
- * @throws {@link AccessAnalyzerServiceException}
87
- * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
88
- *
89
- *
90
- * @example Successfully started policy preview job
91
- * ```javascript
92
- * //
93
- * const input = {
94
- * clientToken: "unique-token-123",
95
- * endTime: "2023-12-31T23:59:59Z",
96
- * outputS3Uri: "s3://bucket/path",
97
- * policyConfigurations: [
98
- * {
99
- * jobType: "SCP",
100
- * policyDocumentsList: [
101
- * `{"Version":"2012-10-17","Statement":[{"Sid":"AllowS3Access","Effect":"Allow","Action":["s3:GetObject","s3:PutObject","s3:ListBucket"],"Resource":["arn:aws:s3:::example-bucket","arn:aws:s3:::example-bucket/*"]}]}`
102
- * ],
103
- * targetId: "123456789012"
104
- * }
105
- * ],
106
- * startTime: "2023-01-01T00:00:00Z"
107
- * };
108
- * const command = new StartPolicyPreviewJobCommand(input);
109
- * const response = await client.send(command);
110
- * /* response is
111
- * {
112
- * jobId: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
113
- * }
114
- * *\/
115
- * ```
116
- *
117
- * @example Failed field validation for invalid targetId
118
- * ```javascript
119
- * //
120
- * const input = {
121
- * outputS3Uri: "s3://bucket/path",
122
- * policyConfigurations: [
123
- * {
124
- * jobType: "SCP",
125
- * policyDocumentsList: [
126
- * `{"Version":"2012-10-17","Statement":[{"Effect":"Deny","Action":"s3:*","Resource":"*"}]}`
127
- * ],
128
- * targetId: "invalid"
129
- * }
130
- * ],
131
- * startTime: "2023-01-01T00:00:00Z"
132
- * };
133
- * const command = new StartPolicyPreviewJobCommand(input);
134
- * const response = await client.send(command);
135
- * /* response is
136
- * { /* metadata only *\/ }
137
- * *\/
138
- * ```
139
- *
140
- * @public
141
- */
142
- export declare class StartPolicyPreviewJobCommand extends StartPolicyPreviewJobCommand_base {
143
- /** @internal type navigation helper, not in runtime. */
144
- protected static __types: {
145
- api: {
146
- input: StartPolicyPreviewJobRequest;
147
- output: StartPolicyPreviewJobResponse;
148
- };
149
- sdk: {
150
- input: StartPolicyPreviewJobCommandInput;
151
- output: StartPolicyPreviewJobCommandOutput;
152
- };
153
- };
154
- }
@@ -1,7 +0,0 @@
1
- import type { Paginator } from "@smithy/types";
2
- import { ListPolicyPreviewJobsCommandInput, ListPolicyPreviewJobsCommandOutput } from "../commands/ListPolicyPreviewJobsCommand";
3
- import type { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
4
- /**
5
- * @public
6
- */
7
- export declare const paginateListPolicyPreviewJobs: (config: AccessAnalyzerPaginationConfiguration, input: ListPolicyPreviewJobsCommandInput, ...rest: any[]) => Paginator<ListPolicyPreviewJobsCommandOutput>;
@@ -1,51 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- AccessAnalyzerClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../AccessAnalyzerClient";
8
- import {
9
- CancelPolicyPreviewJobRequest,
10
- CancelPolicyPreviewJobResponse,
11
- } from "../models/models_0";
12
- export { __MetadataBearer };
13
- export { $Command };
14
- export interface CancelPolicyPreviewJobCommandInput
15
- extends CancelPolicyPreviewJobRequest {}
16
- export interface CancelPolicyPreviewJobCommandOutput
17
- extends CancelPolicyPreviewJobResponse,
18
- __MetadataBearer {}
19
- declare const CancelPolicyPreviewJobCommand_base: {
20
- new (
21
- input: CancelPolicyPreviewJobCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
23
- CancelPolicyPreviewJobCommandInput,
24
- CancelPolicyPreviewJobCommandOutput,
25
- AccessAnalyzerClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
28
- >;
29
- new (
30
- input: CancelPolicyPreviewJobCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
32
- CancelPolicyPreviewJobCommandInput,
33
- CancelPolicyPreviewJobCommandOutput,
34
- AccessAnalyzerClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
37
- >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
- };
40
- export declare class CancelPolicyPreviewJobCommand extends CancelPolicyPreviewJobCommand_base {
41
- protected static __types: {
42
- api: {
43
- input: CancelPolicyPreviewJobRequest;
44
- output: {};
45
- };
46
- sdk: {
47
- input: CancelPolicyPreviewJobCommandInput;
48
- output: CancelPolicyPreviewJobCommandOutput;
49
- };
50
- };
51
- }
@@ -1,51 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- AccessAnalyzerClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../AccessAnalyzerClient";
8
- import {
9
- CreatePolicyPreviewConfigurationRequest,
10
- CreatePolicyPreviewConfigurationResponse,
11
- } from "../models/models_0";
12
- export { __MetadataBearer };
13
- export { $Command };
14
- export interface CreatePolicyPreviewConfigurationCommandInput
15
- extends CreatePolicyPreviewConfigurationRequest {}
16
- export interface CreatePolicyPreviewConfigurationCommandOutput
17
- extends CreatePolicyPreviewConfigurationResponse,
18
- __MetadataBearer {}
19
- declare const CreatePolicyPreviewConfigurationCommand_base: {
20
- new (
21
- input: CreatePolicyPreviewConfigurationCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
23
- CreatePolicyPreviewConfigurationCommandInput,
24
- CreatePolicyPreviewConfigurationCommandOutput,
25
- AccessAnalyzerClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
28
- >;
29
- new (
30
- ...[input]: [] | [CreatePolicyPreviewConfigurationCommandInput]
31
- ): import("@smithy/smithy-client").CommandImpl<
32
- CreatePolicyPreviewConfigurationCommandInput,
33
- CreatePolicyPreviewConfigurationCommandOutput,
34
- AccessAnalyzerClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
37
- >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
- };
40
- export declare class CreatePolicyPreviewConfigurationCommand extends CreatePolicyPreviewConfigurationCommand_base {
41
- protected static __types: {
42
- api: {
43
- input: CreatePolicyPreviewConfigurationRequest;
44
- output: CreatePolicyPreviewConfigurationResponse;
45
- };
46
- sdk: {
47
- input: CreatePolicyPreviewConfigurationCommandInput;
48
- output: CreatePolicyPreviewConfigurationCommandOutput;
49
- };
50
- };
51
- }
@@ -1,51 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- AccessAnalyzerClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../AccessAnalyzerClient";
8
- import {
9
- DeletePolicyPreviewConfigurationRequest,
10
- DeletePolicyPreviewConfigurationResponse,
11
- } from "../models/models_0";
12
- export { __MetadataBearer };
13
- export { $Command };
14
- export interface DeletePolicyPreviewConfigurationCommandInput
15
- extends DeletePolicyPreviewConfigurationRequest {}
16
- export interface DeletePolicyPreviewConfigurationCommandOutput
17
- extends DeletePolicyPreviewConfigurationResponse,
18
- __MetadataBearer {}
19
- declare const DeletePolicyPreviewConfigurationCommand_base: {
20
- new (
21
- input: DeletePolicyPreviewConfigurationCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
23
- DeletePolicyPreviewConfigurationCommandInput,
24
- DeletePolicyPreviewConfigurationCommandOutput,
25
- AccessAnalyzerClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
28
- >;
29
- new (
30
- ...[input]: [] | [DeletePolicyPreviewConfigurationCommandInput]
31
- ): import("@smithy/smithy-client").CommandImpl<
32
- DeletePolicyPreviewConfigurationCommandInput,
33
- DeletePolicyPreviewConfigurationCommandOutput,
34
- AccessAnalyzerClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
37
- >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
- };
40
- export declare class DeletePolicyPreviewConfigurationCommand extends DeletePolicyPreviewConfigurationCommand_base {
41
- protected static __types: {
42
- api: {
43
- input: DeletePolicyPreviewConfigurationRequest;
44
- output: {};
45
- };
46
- sdk: {
47
- input: DeletePolicyPreviewConfigurationCommandInput;
48
- output: DeletePolicyPreviewConfigurationCommandOutput;
49
- };
50
- };
51
- }
@@ -1,51 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- AccessAnalyzerClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../AccessAnalyzerClient";
8
- import {
9
- GetPolicyPreviewConfigurationRequest,
10
- GetPolicyPreviewConfigurationResponse,
11
- } from "../models/models_0";
12
- export { __MetadataBearer };
13
- export { $Command };
14
- export interface GetPolicyPreviewConfigurationCommandInput
15
- extends GetPolicyPreviewConfigurationRequest {}
16
- export interface GetPolicyPreviewConfigurationCommandOutput
17
- extends GetPolicyPreviewConfigurationResponse,
18
- __MetadataBearer {}
19
- declare const GetPolicyPreviewConfigurationCommand_base: {
20
- new (
21
- input: GetPolicyPreviewConfigurationCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
23
- GetPolicyPreviewConfigurationCommandInput,
24
- GetPolicyPreviewConfigurationCommandOutput,
25
- AccessAnalyzerClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
28
- >;
29
- new (
30
- ...[input]: [] | [GetPolicyPreviewConfigurationCommandInput]
31
- ): import("@smithy/smithy-client").CommandImpl<
32
- GetPolicyPreviewConfigurationCommandInput,
33
- GetPolicyPreviewConfigurationCommandOutput,
34
- AccessAnalyzerClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
37
- >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
- };
40
- export declare class GetPolicyPreviewConfigurationCommand extends GetPolicyPreviewConfigurationCommand_base {
41
- protected static __types: {
42
- api: {
43
- input: {};
44
- output: GetPolicyPreviewConfigurationResponse;
45
- };
46
- sdk: {
47
- input: GetPolicyPreviewConfigurationCommandInput;
48
- output: GetPolicyPreviewConfigurationCommandOutput;
49
- };
50
- };
51
- }
@@ -1,51 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- AccessAnalyzerClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../AccessAnalyzerClient";
8
- import {
9
- GetPolicyPreviewJobRequest,
10
- GetPolicyPreviewJobResponse,
11
- } from "../models/models_0";
12
- export { __MetadataBearer };
13
- export { $Command };
14
- export interface GetPolicyPreviewJobCommandInput
15
- extends GetPolicyPreviewJobRequest {}
16
- export interface GetPolicyPreviewJobCommandOutput
17
- extends GetPolicyPreviewJobResponse,
18
- __MetadataBearer {}
19
- declare const GetPolicyPreviewJobCommand_base: {
20
- new (
21
- input: GetPolicyPreviewJobCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
23
- GetPolicyPreviewJobCommandInput,
24
- GetPolicyPreviewJobCommandOutput,
25
- AccessAnalyzerClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
28
- >;
29
- new (
30
- input: GetPolicyPreviewJobCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
32
- GetPolicyPreviewJobCommandInput,
33
- GetPolicyPreviewJobCommandOutput,
34
- AccessAnalyzerClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
37
- >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
- };
40
- export declare class GetPolicyPreviewJobCommand extends GetPolicyPreviewJobCommand_base {
41
- protected static __types: {
42
- api: {
43
- input: GetPolicyPreviewJobRequest;
44
- output: GetPolicyPreviewJobResponse;
45
- };
46
- sdk: {
47
- input: GetPolicyPreviewJobCommandInput;
48
- output: GetPolicyPreviewJobCommandOutput;
49
- };
50
- };
51
- }
@@ -1,51 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- AccessAnalyzerClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../AccessAnalyzerClient";
8
- import {
9
- ListPolicyPreviewJobsRequest,
10
- ListPolicyPreviewJobsResponse,
11
- } from "../models/models_0";
12
- export { __MetadataBearer };
13
- export { $Command };
14
- export interface ListPolicyPreviewJobsCommandInput
15
- extends ListPolicyPreviewJobsRequest {}
16
- export interface ListPolicyPreviewJobsCommandOutput
17
- extends ListPolicyPreviewJobsResponse,
18
- __MetadataBearer {}
19
- declare const ListPolicyPreviewJobsCommand_base: {
20
- new (
21
- input: ListPolicyPreviewJobsCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
23
- ListPolicyPreviewJobsCommandInput,
24
- ListPolicyPreviewJobsCommandOutput,
25
- AccessAnalyzerClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
28
- >;
29
- new (
30
- ...[input]: [] | [ListPolicyPreviewJobsCommandInput]
31
- ): import("@smithy/smithy-client").CommandImpl<
32
- ListPolicyPreviewJobsCommandInput,
33
- ListPolicyPreviewJobsCommandOutput,
34
- AccessAnalyzerClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
37
- >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
- };
40
- export declare class ListPolicyPreviewJobsCommand extends ListPolicyPreviewJobsCommand_base {
41
- protected static __types: {
42
- api: {
43
- input: ListPolicyPreviewJobsRequest;
44
- output: ListPolicyPreviewJobsResponse;
45
- };
46
- sdk: {
47
- input: ListPolicyPreviewJobsCommandInput;
48
- output: ListPolicyPreviewJobsCommandOutput;
49
- };
50
- };
51
- }
@@ -1,51 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- AccessAnalyzerClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../AccessAnalyzerClient";
8
- import {
9
- StartPolicyPreviewJobRequest,
10
- StartPolicyPreviewJobResponse,
11
- } from "../models/models_0";
12
- export { __MetadataBearer };
13
- export { $Command };
14
- export interface StartPolicyPreviewJobCommandInput
15
- extends StartPolicyPreviewJobRequest {}
16
- export interface StartPolicyPreviewJobCommandOutput
17
- extends StartPolicyPreviewJobResponse,
18
- __MetadataBearer {}
19
- declare const StartPolicyPreviewJobCommand_base: {
20
- new (
21
- input: StartPolicyPreviewJobCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
23
- StartPolicyPreviewJobCommandInput,
24
- StartPolicyPreviewJobCommandOutput,
25
- AccessAnalyzerClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
28
- >;
29
- new (
30
- input: StartPolicyPreviewJobCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
32
- StartPolicyPreviewJobCommandInput,
33
- StartPolicyPreviewJobCommandOutput,
34
- AccessAnalyzerClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
37
- >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
- };
40
- export declare class StartPolicyPreviewJobCommand extends StartPolicyPreviewJobCommand_base {
41
- protected static __types: {
42
- api: {
43
- input: StartPolicyPreviewJobRequest;
44
- output: StartPolicyPreviewJobResponse;
45
- };
46
- sdk: {
47
- input: StartPolicyPreviewJobCommandInput;
48
- output: StartPolicyPreviewJobCommandOutput;
49
- };
50
- };
51
- }
@@ -1,11 +0,0 @@
1
- import { Paginator } from "@smithy/types";
2
- import {
3
- ListPolicyPreviewJobsCommandInput,
4
- ListPolicyPreviewJobsCommandOutput,
5
- } from "../commands/ListPolicyPreviewJobsCommand";
6
- import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
7
- export declare const paginateListPolicyPreviewJobs: (
8
- config: AccessAnalyzerPaginationConfiguration,
9
- input: ListPolicyPreviewJobsCommandInput,
10
- ...rest: any[]
11
- ) => Paginator<ListPolicyPreviewJobsCommandOutput>;
@@ -1,2 +0,0 @@
1
- export * from "./waitForPolicyPreviewConfigurationActive";
2
- export * from "./waitForPolicyPreviewJobCompleted";
@@ -1,11 +0,0 @@
1
- import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { AccessAnalyzerClient } from "../AccessAnalyzerClient";
3
- import { GetPolicyPreviewConfigurationCommandInput } from "../commands/GetPolicyPreviewConfigurationCommand";
4
- export declare const waitForPolicyPreviewConfigurationActive: (
5
- params: WaiterConfiguration<AccessAnalyzerClient>,
6
- input: GetPolicyPreviewConfigurationCommandInput
7
- ) => Promise<WaiterResult>;
8
- export declare const waitUntilPolicyPreviewConfigurationActive: (
9
- params: WaiterConfiguration<AccessAnalyzerClient>,
10
- input: GetPolicyPreviewConfigurationCommandInput
11
- ) => Promise<WaiterResult>;
@@ -1,11 +0,0 @@
1
- import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { AccessAnalyzerClient } from "../AccessAnalyzerClient";
3
- import { GetPolicyPreviewJobCommandInput } from "../commands/GetPolicyPreviewJobCommand";
4
- export declare const waitForPolicyPreviewJobCompleted: (
5
- params: WaiterConfiguration<AccessAnalyzerClient>,
6
- input: GetPolicyPreviewJobCommandInput
7
- ) => Promise<WaiterResult>;
8
- export declare const waitUntilPolicyPreviewJobCompleted: (
9
- params: WaiterConfiguration<AccessAnalyzerClient>,
10
- input: GetPolicyPreviewJobCommandInput
11
- ) => Promise<WaiterResult>;
@@ -1,2 +0,0 @@
1
- export * from "./waitForPolicyPreviewConfigurationActive";
2
- export * from "./waitForPolicyPreviewJobCompleted";
@@ -1,14 +0,0 @@
1
- import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import type { AccessAnalyzerClient } from "../AccessAnalyzerClient";
3
- import { type GetPolicyPreviewConfigurationCommandInput } from "../commands/GetPolicyPreviewConfigurationCommand";
4
- /**
5
- *
6
- * @deprecated Use waitUntilPolicyPreviewConfigurationActive instead. waitForPolicyPreviewConfigurationActive does not throw error in non-success cases.
7
- */
8
- export declare const waitForPolicyPreviewConfigurationActive: (params: WaiterConfiguration<AccessAnalyzerClient>, input: GetPolicyPreviewConfigurationCommandInput) => Promise<WaiterResult>;
9
- /**
10
- *
11
- * @param params - Waiter configuration options.
12
- * @param input - The input to GetPolicyPreviewConfigurationCommand for polling.
13
- */
14
- export declare const waitUntilPolicyPreviewConfigurationActive: (params: WaiterConfiguration<AccessAnalyzerClient>, input: GetPolicyPreviewConfigurationCommandInput) => Promise<WaiterResult>;
@@ -1,14 +0,0 @@
1
- import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import type { AccessAnalyzerClient } from "../AccessAnalyzerClient";
3
- import { type GetPolicyPreviewJobCommandInput } from "../commands/GetPolicyPreviewJobCommand";
4
- /**
5
- *
6
- * @deprecated Use waitUntilPolicyPreviewJobCompleted instead. waitForPolicyPreviewJobCompleted does not throw error in non-success cases.
7
- */
8
- export declare const waitForPolicyPreviewJobCompleted: (params: WaiterConfiguration<AccessAnalyzerClient>, input: GetPolicyPreviewJobCommandInput) => Promise<WaiterResult>;
9
- /**
10
- *
11
- * @param params - Waiter configuration options.
12
- * @param input - The input to GetPolicyPreviewJobCommand for polling.
13
- */
14
- export declare const waitUntilPolicyPreviewJobCompleted: (params: WaiterConfiguration<AccessAnalyzerClient>, input: GetPolicyPreviewJobCommandInput) => Promise<WaiterResult>;