@aws-sdk/client-accessanalyzer 3.325.0 → 3.327.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/dist-types/commands/ApplyArchiveRuleCommand.d.ts +4 -0
  2. package/dist-types/commands/CancelPolicyGenerationCommand.d.ts +4 -0
  3. package/dist-types/commands/CreateAccessPreviewCommand.d.ts +6 -0
  4. package/dist-types/commands/CreateAnalyzerCommand.d.ts +6 -0
  5. package/dist-types/commands/CreateArchiveRuleCommand.d.ts +4 -0
  6. package/dist-types/commands/DeleteAnalyzerCommand.d.ts +4 -0
  7. package/dist-types/commands/DeleteArchiveRuleCommand.d.ts +4 -0
  8. package/dist-types/commands/GetAccessPreviewCommand.d.ts +120 -0
  9. package/dist-types/commands/GetAnalyzedResourceCommand.d.ts +22 -0
  10. package/dist-types/commands/GetAnalyzerCommand.d.ts +20 -0
  11. package/dist-types/commands/GetArchiveRuleCommand.d.ts +24 -0
  12. package/dist-types/commands/GetFindingCommand.d.ts +35 -0
  13. package/dist-types/commands/GetGeneratedPolicyCommand.d.ts +39 -0
  14. package/dist-types/commands/ListAccessPreviewFindingsCommand.d.ts +39 -0
  15. package/dist-types/commands/ListAccessPreviewsCommand.d.ts +17 -0
  16. package/dist-types/commands/ListAnalyzedResourcesCommand.d.ts +13 -0
  17. package/dist-types/commands/ListAnalyzersCommand.d.ts +23 -0
  18. package/dist-types/commands/ListArchiveRulesCommand.d.ts +27 -0
  19. package/dist-types/commands/ListFindingsCommand.d.ts +38 -0
  20. package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +15 -0
  21. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
  22. package/dist-types/commands/StartPolicyGenerationCommand.d.ts +6 -0
  23. package/dist-types/commands/StartResourceScanCommand.d.ts +4 -0
  24. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  25. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  26. package/dist-types/commands/UpdateArchiveRuleCommand.d.ts +4 -0
  27. package/dist-types/commands/UpdateFindingsCommand.d.ts +4 -0
  28. package/dist-types/commands/ValidatePolicyCommand.d.ts +41 -0
  29. package/package.json +7 -7
@@ -34,6 +34,8 @@ export interface ApplyArchiveRuleCommandOutput extends __MetadataBearer {
34
34
  * };
35
35
  * const command = new ApplyArchiveRuleCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param ApplyArchiveRuleCommandInput - {@link ApplyArchiveRuleCommandInput}
@@ -57,6 +59,8 @@ export interface ApplyArchiveRuleCommandOutput extends __MetadataBearer {
57
59
  * @throws {@link ValidationException} (client fault)
58
60
  * <p>Validation exception error.</p>
59
61
  *
62
+ * @throws {@link AccessAnalyzerServiceException}
63
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
60
64
  *
61
65
  */
62
66
  export declare class ApplyArchiveRuleCommand extends $Command<ApplyArchiveRuleCommandInput, ApplyArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface CancelPolicyGenerationCommandOutput extends CancelPolicyGenerat
31
31
  * };
32
32
  * const command = new CancelPolicyGenerationCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param CancelPolicyGenerationCommandInput - {@link CancelPolicyGenerationCommandInput}
@@ -51,6 +53,8 @@ export interface CancelPolicyGenerationCommandOutput extends CancelPolicyGenerat
51
53
  * @throws {@link ValidationException} (client fault)
52
54
  * <p>Validation exception error.</p>
53
55
  *
56
+ * @throws {@link AccessAnalyzerServiceException}
57
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
54
58
  *
55
59
  */
56
60
  export declare class CancelPolicyGenerationCommand extends $Command<CancelPolicyGenerationCommandInput, CancelPolicyGenerationCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -139,6 +139,10 @@ export interface CreateAccessPreviewCommandOutput extends CreateAccessPreviewRes
139
139
  * };
140
140
  * const command = new CreateAccessPreviewCommand(input);
141
141
  * const response = await client.send(command);
142
+ * // { // CreateAccessPreviewResponse
143
+ * // id: "STRING_VALUE", // required
144
+ * // };
145
+ *
142
146
  * ```
143
147
  *
144
148
  * @param CreateAccessPreviewCommandInput - {@link CreateAccessPreviewCommandInput}
@@ -168,6 +172,8 @@ export interface CreateAccessPreviewCommandOutput extends CreateAccessPreviewRes
168
172
  * @throws {@link ValidationException} (client fault)
169
173
  * <p>Validation exception error.</p>
170
174
  *
175
+ * @throws {@link AccessAnalyzerServiceException}
176
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
171
177
  *
172
178
  */
173
179
  export declare class CreateAccessPreviewCommand extends $Command<CreateAccessPreviewCommandInput, CreateAccessPreviewCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -55,6 +55,10 @@ export interface CreateAnalyzerCommandOutput extends CreateAnalyzerResponse, __M
55
55
  * };
56
56
  * const command = new CreateAnalyzerCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // CreateAnalyzerResponse
59
+ * // arn: "STRING_VALUE",
60
+ * // };
61
+ *
58
62
  * ```
59
63
  *
60
64
  * @param CreateAnalyzerCommandInput - {@link CreateAnalyzerCommandInput}
@@ -81,6 +85,8 @@ export interface CreateAnalyzerCommandOutput extends CreateAnalyzerResponse, __M
81
85
  * @throws {@link ValidationException} (client fault)
82
86
  * <p>Validation exception error.</p>
83
87
  *
88
+ * @throws {@link AccessAnalyzerServiceException}
89
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
84
90
  *
85
91
  */
86
92
  export declare class CreateAnalyzerCommand extends $Command<CreateAnalyzerCommandInput, CreateAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -49,6 +49,8 @@ export interface CreateArchiveRuleCommandOutput extends __MetadataBearer {
49
49
  * };
50
50
  * const command = new CreateArchiveRuleCommand(input);
51
51
  * const response = await client.send(command);
52
+ * // {};
53
+ *
52
54
  * ```
53
55
  *
54
56
  * @param CreateArchiveRuleCommandInput - {@link CreateArchiveRuleCommandInput}
@@ -78,6 +80,8 @@ export interface CreateArchiveRuleCommandOutput extends __MetadataBearer {
78
80
  * @throws {@link ValidationException} (client fault)
79
81
  * <p>Validation exception error.</p>
80
82
  *
83
+ * @throws {@link AccessAnalyzerServiceException}
84
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
81
85
  *
82
86
  */
83
87
  export declare class CreateArchiveRuleCommand extends $Command<CreateArchiveRuleCommandInput, CreateArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface DeleteAnalyzerCommandOutput extends __MetadataBearer {
34
34
  * };
35
35
  * const command = new DeleteAnalyzerCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param DeleteAnalyzerCommandInput - {@link DeleteAnalyzerCommandInput}
@@ -57,6 +59,8 @@ export interface DeleteAnalyzerCommandOutput extends __MetadataBearer {
57
59
  * @throws {@link ValidationException} (client fault)
58
60
  * <p>Validation exception error.</p>
59
61
  *
62
+ * @throws {@link AccessAnalyzerServiceException}
63
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
60
64
  *
61
65
  */
62
66
  export declare class DeleteAnalyzerCommand extends $Command<DeleteAnalyzerCommandInput, DeleteAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -33,6 +33,8 @@ export interface DeleteArchiveRuleCommandOutput extends __MetadataBearer {
33
33
  * };
34
34
  * const command = new DeleteArchiveRuleCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // {};
37
+ *
36
38
  * ```
37
39
  *
38
40
  * @param DeleteArchiveRuleCommandInput - {@link DeleteArchiveRuleCommandInput}
@@ -56,6 +58,8 @@ export interface DeleteArchiveRuleCommandOutput extends __MetadataBearer {
56
58
  * @throws {@link ValidationException} (client fault)
57
59
  * <p>Validation exception error.</p>
58
60
  *
61
+ * @throws {@link AccessAnalyzerServiceException}
62
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
59
63
  *
60
64
  */
61
65
  export declare class DeleteArchiveRuleCommand extends $Command<DeleteArchiveRuleCommandInput, DeleteArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -32,6 +32,124 @@ export interface GetAccessPreviewCommandOutput extends GetAccessPreviewResponse,
32
32
  * };
33
33
  * const command = new GetAccessPreviewCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetAccessPreviewResponse
36
+ * // accessPreview: { // AccessPreview
37
+ * // id: "STRING_VALUE", // required
38
+ * // analyzerArn: "STRING_VALUE", // required
39
+ * // configurations: { // ConfigurationsMap // required
40
+ * // "<keys>": { // Configuration Union: only one key present
41
+ * // ebsSnapshot: { // EbsSnapshotConfiguration
42
+ * // userIds: [ // EbsUserIdList
43
+ * // "STRING_VALUE",
44
+ * // ],
45
+ * // groups: [ // EbsGroupList
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // kmsKeyId: "STRING_VALUE",
49
+ * // },
50
+ * // ecrRepository: { // EcrRepositoryConfiguration
51
+ * // repositoryPolicy: "STRING_VALUE",
52
+ * // },
53
+ * // iamRole: { // IamRoleConfiguration
54
+ * // trustPolicy: "STRING_VALUE",
55
+ * // },
56
+ * // efsFileSystem: { // EfsFileSystemConfiguration
57
+ * // fileSystemPolicy: "STRING_VALUE",
58
+ * // },
59
+ * // kmsKey: { // KmsKeyConfiguration
60
+ * // keyPolicies: { // KmsKeyPoliciesMap
61
+ * // "<keys>": "STRING_VALUE",
62
+ * // },
63
+ * // grants: [ // KmsGrantConfigurationsList
64
+ * // { // KmsGrantConfiguration
65
+ * // operations: [ // KmsGrantOperationsList // required
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // granteePrincipal: "STRING_VALUE", // required
69
+ * // retiringPrincipal: "STRING_VALUE",
70
+ * // constraints: { // KmsGrantConstraints
71
+ * // encryptionContextEquals: { // KmsConstraintsMap
72
+ * // "<keys>": "STRING_VALUE",
73
+ * // },
74
+ * // encryptionContextSubset: {
75
+ * // "<keys>": "STRING_VALUE",
76
+ * // },
77
+ * // },
78
+ * // issuingAccount: "STRING_VALUE", // required
79
+ * // },
80
+ * // ],
81
+ * // },
82
+ * // rdsDbClusterSnapshot: { // RdsDbClusterSnapshotConfiguration
83
+ * // attributes: { // RdsDbClusterSnapshotAttributesMap
84
+ * // "<keys>": { // RdsDbClusterSnapshotAttributeValue Union: only one key present
85
+ * // accountIds: [ // RdsDbClusterSnapshotAccountIdsList
86
+ * // "STRING_VALUE",
87
+ * // ],
88
+ * // },
89
+ * // },
90
+ * // kmsKeyId: "STRING_VALUE",
91
+ * // },
92
+ * // rdsDbSnapshot: { // RdsDbSnapshotConfiguration
93
+ * // attributes: { // RdsDbSnapshotAttributesMap
94
+ * // "<keys>": { // RdsDbSnapshotAttributeValue Union: only one key present
95
+ * // accountIds: [ // RdsDbSnapshotAccountIdsList
96
+ * // "STRING_VALUE",
97
+ * // ],
98
+ * // },
99
+ * // },
100
+ * // kmsKeyId: "STRING_VALUE",
101
+ * // },
102
+ * // secretsManagerSecret: { // SecretsManagerSecretConfiguration
103
+ * // kmsKeyId: "STRING_VALUE",
104
+ * // secretPolicy: "STRING_VALUE",
105
+ * // },
106
+ * // s3Bucket: { // S3BucketConfiguration
107
+ * // bucketPolicy: "STRING_VALUE",
108
+ * // bucketAclGrants: [ // S3BucketAclGrantConfigurationsList
109
+ * // { // S3BucketAclGrantConfiguration
110
+ * // permission: "STRING_VALUE", // required
111
+ * // grantee: { // AclGrantee Union: only one key present
112
+ * // id: "STRING_VALUE",
113
+ * // uri: "STRING_VALUE",
114
+ * // },
115
+ * // },
116
+ * // ],
117
+ * // bucketPublicAccessBlock: { // S3PublicAccessBlockConfiguration
118
+ * // ignorePublicAcls: true || false, // required
119
+ * // restrictPublicBuckets: true || false, // required
120
+ * // },
121
+ * // accessPoints: { // S3AccessPointConfigurationsMap
122
+ * // "<keys>": { // S3AccessPointConfiguration
123
+ * // accessPointPolicy: "STRING_VALUE",
124
+ * // publicAccessBlock: {
125
+ * // ignorePublicAcls: true || false, // required
126
+ * // restrictPublicBuckets: true || false, // required
127
+ * // },
128
+ * // networkOrigin: { // NetworkOriginConfiguration Union: only one key present
129
+ * // vpcConfiguration: { // VpcConfiguration
130
+ * // vpcId: "STRING_VALUE", // required
131
+ * // },
132
+ * // internetConfiguration: {},
133
+ * // },
134
+ * // },
135
+ * // },
136
+ * // },
137
+ * // snsTopic: { // SnsTopicConfiguration
138
+ * // topicPolicy: "STRING_VALUE",
139
+ * // },
140
+ * // sqsQueue: { // SqsQueueConfiguration
141
+ * // queuePolicy: "STRING_VALUE",
142
+ * // },
143
+ * // },
144
+ * // },
145
+ * // createdAt: new Date("TIMESTAMP"), // required
146
+ * // status: "STRING_VALUE", // required
147
+ * // statusReason: { // AccessPreviewStatusReason
148
+ * // code: "STRING_VALUE", // required
149
+ * // },
150
+ * // },
151
+ * // };
152
+ *
35
153
  * ```
36
154
  *
37
155
  * @param GetAccessPreviewCommandInput - {@link GetAccessPreviewCommandInput}
@@ -55,6 +173,8 @@ export interface GetAccessPreviewCommandOutput extends GetAccessPreviewResponse,
55
173
  * @throws {@link ValidationException} (client fault)
56
174
  * <p>Validation exception error.</p>
57
175
  *
176
+ * @throws {@link AccessAnalyzerServiceException}
177
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
58
178
  *
59
179
  */
60
180
  export declare class GetAccessPreviewCommand extends $Command<GetAccessPreviewCommandInput, GetAccessPreviewCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -32,6 +32,26 @@ export interface GetAnalyzedResourceCommandOutput extends GetAnalyzedResourceRes
32
32
  * };
33
33
  * const command = new GetAnalyzedResourceCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetAnalyzedResourceResponse
36
+ * // resource: { // AnalyzedResource
37
+ * // resourceArn: "STRING_VALUE", // required
38
+ * // resourceType: "STRING_VALUE", // required
39
+ * // createdAt: new Date("TIMESTAMP"), // required
40
+ * // analyzedAt: new Date("TIMESTAMP"), // required
41
+ * // updatedAt: new Date("TIMESTAMP"), // required
42
+ * // isPublic: true || false, // required
43
+ * // actions: [ // ActionList
44
+ * // "STRING_VALUE",
45
+ * // ],
46
+ * // sharedVia: [ // SharedViaList
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // status: "STRING_VALUE",
50
+ * // resourceOwnerAccount: "STRING_VALUE", // required
51
+ * // error: "STRING_VALUE",
52
+ * // },
53
+ * // };
54
+ *
35
55
  * ```
36
56
  *
37
57
  * @param GetAnalyzedResourceCommandInput - {@link GetAnalyzedResourceCommandInput}
@@ -55,6 +75,8 @@ export interface GetAnalyzedResourceCommandOutput extends GetAnalyzedResourceRes
55
75
  * @throws {@link ValidationException} (client fault)
56
76
  * <p>Validation exception error.</p>
57
77
  *
78
+ * @throws {@link AccessAnalyzerServiceException}
79
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
58
80
  *
59
81
  */
60
82
  export declare class GetAnalyzedResourceCommand extends $Command<GetAnalyzedResourceCommandInput, GetAnalyzedResourceCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -31,6 +31,24 @@ export interface GetAnalyzerCommandOutput extends GetAnalyzerResponse, __Metadat
31
31
  * };
32
32
  * const command = new GetAnalyzerCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetAnalyzerResponse
35
+ * // analyzer: { // AnalyzerSummary
36
+ * // arn: "STRING_VALUE", // required
37
+ * // name: "STRING_VALUE", // required
38
+ * // type: "STRING_VALUE", // required
39
+ * // createdAt: new Date("TIMESTAMP"), // required
40
+ * // lastResourceAnalyzed: "STRING_VALUE",
41
+ * // lastResourceAnalyzedAt: new Date("TIMESTAMP"),
42
+ * // tags: { // TagsMap
43
+ * // "<keys>": "STRING_VALUE",
44
+ * // },
45
+ * // status: "STRING_VALUE", // required
46
+ * // statusReason: { // StatusReason
47
+ * // code: "STRING_VALUE", // required
48
+ * // },
49
+ * // },
50
+ * // };
51
+ *
34
52
  * ```
35
53
  *
36
54
  * @param GetAnalyzerCommandInput - {@link GetAnalyzerCommandInput}
@@ -54,6 +72,8 @@ export interface GetAnalyzerCommandOutput extends GetAnalyzerResponse, __Metadat
54
72
  * @throws {@link ValidationException} (client fault)
55
73
  * <p>Validation exception error.</p>
56
74
  *
75
+ * @throws {@link AccessAnalyzerServiceException}
76
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
57
77
  *
58
78
  */
59
79
  export declare class GetAnalyzerCommand extends $Command<GetAnalyzerCommandInput, GetAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -33,6 +33,28 @@ export interface GetArchiveRuleCommandOutput extends GetArchiveRuleResponse, __M
33
33
  * };
34
34
  * const command = new GetArchiveRuleCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetArchiveRuleResponse
37
+ * // archiveRule: { // ArchiveRuleSummary
38
+ * // ruleName: "STRING_VALUE", // required
39
+ * // filter: { // FilterCriteriaMap // required
40
+ * // "<keys>": { // Criterion
41
+ * // eq: [ // ValueList
42
+ * // "STRING_VALUE",
43
+ * // ],
44
+ * // neq: [
45
+ * // "STRING_VALUE",
46
+ * // ],
47
+ * // contains: [
48
+ * // "STRING_VALUE",
49
+ * // ],
50
+ * // exists: true || false,
51
+ * // },
52
+ * // },
53
+ * // createdAt: new Date("TIMESTAMP"), // required
54
+ * // updatedAt: new Date("TIMESTAMP"), // required
55
+ * // },
56
+ * // };
57
+ *
36
58
  * ```
37
59
  *
38
60
  * @param GetArchiveRuleCommandInput - {@link GetArchiveRuleCommandInput}
@@ -56,6 +78,8 @@ export interface GetArchiveRuleCommandOutput extends GetArchiveRuleResponse, __M
56
78
  * @throws {@link ValidationException} (client fault)
57
79
  * <p>Validation exception error.</p>
58
80
  *
81
+ * @throws {@link AccessAnalyzerServiceException}
82
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
59
83
  *
60
84
  */
61
85
  export declare class GetArchiveRuleCommand extends $Command<GetArchiveRuleCommandInput, GetArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -32,6 +32,39 @@ export interface GetFindingCommandOutput extends GetFindingResponse, __MetadataB
32
32
  * };
33
33
  * const command = new GetFindingCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetFindingResponse
36
+ * // finding: { // Finding
37
+ * // id: "STRING_VALUE", // required
38
+ * // principal: { // PrincipalMap
39
+ * // "<keys>": "STRING_VALUE",
40
+ * // },
41
+ * // action: [ // ActionList
42
+ * // "STRING_VALUE",
43
+ * // ],
44
+ * // resource: "STRING_VALUE",
45
+ * // isPublic: true || false,
46
+ * // resourceType: "STRING_VALUE", // required
47
+ * // condition: { // ConditionKeyMap // required
48
+ * // "<keys>": "STRING_VALUE",
49
+ * // },
50
+ * // createdAt: new Date("TIMESTAMP"), // required
51
+ * // analyzedAt: new Date("TIMESTAMP"), // required
52
+ * // updatedAt: new Date("TIMESTAMP"), // required
53
+ * // status: "STRING_VALUE", // required
54
+ * // resourceOwnerAccount: "STRING_VALUE", // required
55
+ * // error: "STRING_VALUE",
56
+ * // sources: [ // FindingSourceList
57
+ * // { // FindingSource
58
+ * // type: "STRING_VALUE", // required
59
+ * // detail: { // FindingSourceDetail
60
+ * // accessPointArn: "STRING_VALUE",
61
+ * // accessPointAccount: "STRING_VALUE",
62
+ * // },
63
+ * // },
64
+ * // ],
65
+ * // },
66
+ * // };
67
+ *
35
68
  * ```
36
69
  *
37
70
  * @param GetFindingCommandInput - {@link GetFindingCommandInput}
@@ -55,6 +88,8 @@ export interface GetFindingCommandOutput extends GetFindingResponse, __MetadataB
55
88
  * @throws {@link ValidationException} (client fault)
56
89
  * <p>Validation exception error.</p>
57
90
  *
91
+ * @throws {@link AccessAnalyzerServiceException}
92
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
58
93
  *
59
94
  */
60
95
  export declare class GetFindingCommand extends $Command<GetFindingCommandInput, GetFindingCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -34,6 +34,43 @@ export interface GetGeneratedPolicyCommandOutput extends GetGeneratedPolicyRespo
34
34
  * };
35
35
  * const command = new GetGeneratedPolicyCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // GetGeneratedPolicyResponse
38
+ * // jobDetails: { // JobDetails
39
+ * // jobId: "STRING_VALUE", // required
40
+ * // status: "STRING_VALUE", // required
41
+ * // startedOn: new Date("TIMESTAMP"), // required
42
+ * // completedOn: new Date("TIMESTAMP"),
43
+ * // jobError: { // JobError
44
+ * // code: "STRING_VALUE", // required
45
+ * // message: "STRING_VALUE", // required
46
+ * // },
47
+ * // },
48
+ * // generatedPolicyResult: { // GeneratedPolicyResult
49
+ * // properties: { // GeneratedPolicyProperties
50
+ * // isComplete: true || false,
51
+ * // principalArn: "STRING_VALUE", // required
52
+ * // cloudTrailProperties: { // CloudTrailProperties
53
+ * // trailProperties: [ // TrailPropertiesList // required
54
+ * // { // TrailProperties
55
+ * // cloudTrailArn: "STRING_VALUE", // required
56
+ * // regions: [ // RegionList
57
+ * // "STRING_VALUE",
58
+ * // ],
59
+ * // allRegions: true || false,
60
+ * // },
61
+ * // ],
62
+ * // startTime: new Date("TIMESTAMP"), // required
63
+ * // endTime: new Date("TIMESTAMP"), // required
64
+ * // },
65
+ * // },
66
+ * // generatedPolicies: [ // GeneratedPolicyList
67
+ * // { // GeneratedPolicy
68
+ * // policy: "STRING_VALUE", // required
69
+ * // },
70
+ * // ],
71
+ * // },
72
+ * // };
73
+ *
37
74
  * ```
38
75
  *
39
76
  * @param GetGeneratedPolicyCommandInput - {@link GetGeneratedPolicyCommandInput}
@@ -54,6 +91,8 @@ export interface GetGeneratedPolicyCommandOutput extends GetGeneratedPolicyRespo
54
91
  * @throws {@link ValidationException} (client fault)
55
92
  * <p>Validation exception error.</p>
56
93
  *
94
+ * @throws {@link AccessAnalyzerServiceException}
95
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
57
96
  *
58
97
  */
59
98
  export declare class GetGeneratedPolicyCommand extends $Command<GetGeneratedPolicyCommandInput, GetGeneratedPolicyCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -49,6 +49,43 @@ export interface ListAccessPreviewFindingsCommandOutput extends ListAccessPrevie
49
49
  * };
50
50
  * const command = new ListAccessPreviewFindingsCommand(input);
51
51
  * const response = await client.send(command);
52
+ * // { // ListAccessPreviewFindingsResponse
53
+ * // findings: [ // AccessPreviewFindingsList // required
54
+ * // { // AccessPreviewFinding
55
+ * // id: "STRING_VALUE", // required
56
+ * // existingFindingId: "STRING_VALUE",
57
+ * // existingFindingStatus: "STRING_VALUE",
58
+ * // principal: { // PrincipalMap
59
+ * // "<keys>": "STRING_VALUE",
60
+ * // },
61
+ * // action: [ // ActionList
62
+ * // "STRING_VALUE",
63
+ * // ],
64
+ * // condition: { // ConditionKeyMap
65
+ * // "<keys>": "STRING_VALUE",
66
+ * // },
67
+ * // resource: "STRING_VALUE",
68
+ * // isPublic: true || false,
69
+ * // resourceType: "STRING_VALUE", // required
70
+ * // createdAt: new Date("TIMESTAMP"), // required
71
+ * // changeType: "STRING_VALUE", // required
72
+ * // status: "STRING_VALUE", // required
73
+ * // resourceOwnerAccount: "STRING_VALUE", // required
74
+ * // error: "STRING_VALUE",
75
+ * // sources: [ // FindingSourceList
76
+ * // { // FindingSource
77
+ * // type: "STRING_VALUE", // required
78
+ * // detail: { // FindingSourceDetail
79
+ * // accessPointArn: "STRING_VALUE",
80
+ * // accessPointAccount: "STRING_VALUE",
81
+ * // },
82
+ * // },
83
+ * // ],
84
+ * // },
85
+ * // ],
86
+ * // nextToken: "STRING_VALUE",
87
+ * // };
88
+ *
52
89
  * ```
53
90
  *
54
91
  * @param ListAccessPreviewFindingsCommandInput - {@link ListAccessPreviewFindingsCommandInput}
@@ -75,6 +112,8 @@ export interface ListAccessPreviewFindingsCommandOutput extends ListAccessPrevie
75
112
  * @throws {@link ValidationException} (client fault)
76
113
  * <p>Validation exception error.</p>
77
114
  *
115
+ * @throws {@link AccessAnalyzerServiceException}
116
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
78
117
  *
79
118
  */
80
119
  export declare class ListAccessPreviewFindingsCommand extends $Command<ListAccessPreviewFindingsCommandInput, ListAccessPreviewFindingsCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -33,6 +33,21 @@ export interface ListAccessPreviewsCommandOutput extends ListAccessPreviewsRespo
33
33
  * };
34
34
  * const command = new ListAccessPreviewsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListAccessPreviewsResponse
37
+ * // accessPreviews: [ // AccessPreviewsList // required
38
+ * // { // AccessPreviewSummary
39
+ * // id: "STRING_VALUE", // required
40
+ * // analyzerArn: "STRING_VALUE", // required
41
+ * // createdAt: new Date("TIMESTAMP"), // required
42
+ * // status: "STRING_VALUE", // required
43
+ * // statusReason: { // AccessPreviewStatusReason
44
+ * // code: "STRING_VALUE", // required
45
+ * // },
46
+ * // },
47
+ * // ],
48
+ * // nextToken: "STRING_VALUE",
49
+ * // };
50
+ *
36
51
  * ```
37
52
  *
38
53
  * @param ListAccessPreviewsCommandInput - {@link ListAccessPreviewsCommandInput}
@@ -56,6 +71,8 @@ export interface ListAccessPreviewsCommandOutput extends ListAccessPreviewsRespo
56
71
  * @throws {@link ValidationException} (client fault)
57
72
  * <p>Validation exception error.</p>
58
73
  *
74
+ * @throws {@link AccessAnalyzerServiceException}
75
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
59
76
  *
60
77
  */
61
78
  export declare class ListAccessPreviewsCommand extends $Command<ListAccessPreviewsCommandInput, ListAccessPreviewsCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -35,6 +35,17 @@ export interface ListAnalyzedResourcesCommandOutput extends ListAnalyzedResource
35
35
  * };
36
36
  * const command = new ListAnalyzedResourcesCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ListAnalyzedResourcesResponse
39
+ * // analyzedResources: [ // AnalyzedResourcesList // required
40
+ * // { // AnalyzedResourceSummary
41
+ * // resourceArn: "STRING_VALUE", // required
42
+ * // resourceOwnerAccount: "STRING_VALUE", // required
43
+ * // resourceType: "STRING_VALUE", // required
44
+ * // },
45
+ * // ],
46
+ * // nextToken: "STRING_VALUE",
47
+ * // };
48
+ *
38
49
  * ```
39
50
  *
40
51
  * @param ListAnalyzedResourcesCommandInput - {@link ListAnalyzedResourcesCommandInput}
@@ -58,6 +69,8 @@ export interface ListAnalyzedResourcesCommandOutput extends ListAnalyzedResource
58
69
  * @throws {@link ValidationException} (client fault)
59
70
  * <p>Validation exception error.</p>
60
71
  *
72
+ * @throws {@link AccessAnalyzerServiceException}
73
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
61
74
  *
62
75
  */
63
76
  export declare class ListAnalyzedResourcesCommand extends $Command<ListAnalyzedResourcesCommandInput, ListAnalyzedResourcesCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -33,6 +33,27 @@ export interface ListAnalyzersCommandOutput extends ListAnalyzersResponse, __Met
33
33
  * };
34
34
  * const command = new ListAnalyzersCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListAnalyzersResponse
37
+ * // analyzers: [ // AnalyzersList // required
38
+ * // { // AnalyzerSummary
39
+ * // arn: "STRING_VALUE", // required
40
+ * // name: "STRING_VALUE", // required
41
+ * // type: "STRING_VALUE", // required
42
+ * // createdAt: new Date("TIMESTAMP"), // required
43
+ * // lastResourceAnalyzed: "STRING_VALUE",
44
+ * // lastResourceAnalyzedAt: new Date("TIMESTAMP"),
45
+ * // tags: { // TagsMap
46
+ * // "<keys>": "STRING_VALUE",
47
+ * // },
48
+ * // status: "STRING_VALUE", // required
49
+ * // statusReason: { // StatusReason
50
+ * // code: "STRING_VALUE", // required
51
+ * // },
52
+ * // },
53
+ * // ],
54
+ * // nextToken: "STRING_VALUE",
55
+ * // };
56
+ *
36
57
  * ```
37
58
  *
38
59
  * @param ListAnalyzersCommandInput - {@link ListAnalyzersCommandInput}
@@ -53,6 +74,8 @@ export interface ListAnalyzersCommandOutput extends ListAnalyzersResponse, __Met
53
74
  * @throws {@link ValidationException} (client fault)
54
75
  * <p>Validation exception error.</p>
55
76
  *
77
+ * @throws {@link AccessAnalyzerServiceException}
78
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
56
79
  *
57
80
  */
58
81
  export declare class ListAnalyzersCommand extends $Command<ListAnalyzersCommandInput, ListAnalyzersCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -33,6 +33,31 @@ export interface ListArchiveRulesCommandOutput extends ListArchiveRulesResponse,
33
33
  * };
34
34
  * const command = new ListArchiveRulesCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListArchiveRulesResponse
37
+ * // archiveRules: [ // ArchiveRulesList // required
38
+ * // { // ArchiveRuleSummary
39
+ * // ruleName: "STRING_VALUE", // required
40
+ * // filter: { // FilterCriteriaMap // required
41
+ * // "<keys>": { // Criterion
42
+ * // eq: [ // ValueList
43
+ * // "STRING_VALUE",
44
+ * // ],
45
+ * // neq: [
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // contains: [
49
+ * // "STRING_VALUE",
50
+ * // ],
51
+ * // exists: true || false,
52
+ * // },
53
+ * // },
54
+ * // createdAt: new Date("TIMESTAMP"), // required
55
+ * // updatedAt: new Date("TIMESTAMP"), // required
56
+ * // },
57
+ * // ],
58
+ * // nextToken: "STRING_VALUE",
59
+ * // };
60
+ *
36
61
  * ```
37
62
  *
38
63
  * @param ListArchiveRulesCommandInput - {@link ListArchiveRulesCommandInput}
@@ -53,6 +78,8 @@ export interface ListArchiveRulesCommandOutput extends ListArchiveRulesResponse,
53
78
  * @throws {@link ValidationException} (client fault)
54
79
  * <p>Validation exception error.</p>
55
80
  *
81
+ * @throws {@link AccessAnalyzerServiceException}
82
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
56
83
  *
57
84
  */
58
85
  export declare class ListArchiveRulesCommand extends $Command<ListArchiveRulesCommandInput, ListArchiveRulesCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -52,6 +52,42 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
52
52
  * };
53
53
  * const command = new ListFindingsCommand(input);
54
54
  * const response = await client.send(command);
55
+ * // { // ListFindingsResponse
56
+ * // findings: [ // FindingsList // required
57
+ * // { // FindingSummary
58
+ * // id: "STRING_VALUE", // required
59
+ * // principal: { // PrincipalMap
60
+ * // "<keys>": "STRING_VALUE",
61
+ * // },
62
+ * // action: [ // ActionList
63
+ * // "STRING_VALUE",
64
+ * // ],
65
+ * // resource: "STRING_VALUE",
66
+ * // isPublic: true || false,
67
+ * // resourceType: "STRING_VALUE", // required
68
+ * // condition: { // ConditionKeyMap // required
69
+ * // "<keys>": "STRING_VALUE",
70
+ * // },
71
+ * // createdAt: new Date("TIMESTAMP"), // required
72
+ * // analyzedAt: new Date("TIMESTAMP"), // required
73
+ * // updatedAt: new Date("TIMESTAMP"), // required
74
+ * // status: "STRING_VALUE", // required
75
+ * // resourceOwnerAccount: "STRING_VALUE", // required
76
+ * // error: "STRING_VALUE",
77
+ * // sources: [ // FindingSourceList
78
+ * // { // FindingSource
79
+ * // type: "STRING_VALUE", // required
80
+ * // detail: { // FindingSourceDetail
81
+ * // accessPointArn: "STRING_VALUE",
82
+ * // accessPointAccount: "STRING_VALUE",
83
+ * // },
84
+ * // },
85
+ * // ],
86
+ * // },
87
+ * // ],
88
+ * // nextToken: "STRING_VALUE",
89
+ * // };
90
+ *
55
91
  * ```
56
92
  *
57
93
  * @param ListFindingsCommandInput - {@link ListFindingsCommandInput}
@@ -75,6 +111,8 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
75
111
  * @throws {@link ValidationException} (client fault)
76
112
  * <p>Validation exception error.</p>
77
113
  *
114
+ * @throws {@link AccessAnalyzerServiceException}
115
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
78
116
  *
79
117
  */
80
118
  export declare class ListFindingsCommand extends $Command<ListFindingsCommandInput, ListFindingsCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -33,6 +33,19 @@ export interface ListPolicyGenerationsCommandOutput extends ListPolicyGeneration
33
33
  * };
34
34
  * const command = new ListPolicyGenerationsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListPolicyGenerationsResponse
37
+ * // policyGenerations: [ // PolicyGenerationList // required
38
+ * // { // PolicyGeneration
39
+ * // jobId: "STRING_VALUE", // required
40
+ * // principalArn: "STRING_VALUE", // required
41
+ * // status: "STRING_VALUE", // required
42
+ * // startedOn: new Date("TIMESTAMP"), // required
43
+ * // completedOn: new Date("TIMESTAMP"),
44
+ * // },
45
+ * // ],
46
+ * // nextToken: "STRING_VALUE",
47
+ * // };
48
+ *
36
49
  * ```
37
50
  *
38
51
  * @param ListPolicyGenerationsCommandInput - {@link ListPolicyGenerationsCommandInput}
@@ -53,6 +66,8 @@ export interface ListPolicyGenerationsCommandOutput extends ListPolicyGeneration
53
66
  * @throws {@link ValidationException} (client fault)
54
67
  * <p>Validation exception error.</p>
55
68
  *
69
+ * @throws {@link AccessAnalyzerServiceException}
70
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
56
71
  *
57
72
  */
58
73
  export declare class ListPolicyGenerationsCommand extends $Command<ListPolicyGenerationsCommandInput, ListPolicyGenerationsCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -31,6 +31,12 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceResponse
35
+ * // tags: { // TagsMap
36
+ * // "<keys>": "STRING_VALUE",
37
+ * // },
38
+ * // };
39
+ *
34
40
  * ```
35
41
  *
36
42
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -54,6 +60,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
54
60
  * @throws {@link ValidationException} (client fault)
55
61
  * <p>Validation exception error.</p>
56
62
  *
63
+ * @throws {@link AccessAnalyzerServiceException}
64
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
57
65
  *
58
66
  */
59
67
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -48,6 +48,10 @@ export interface StartPolicyGenerationCommandOutput extends StartPolicyGeneratio
48
48
  * };
49
49
  * const command = new StartPolicyGenerationCommand(input);
50
50
  * const response = await client.send(command);
51
+ * // { // StartPolicyGenerationResponse
52
+ * // jobId: "STRING_VALUE", // required
53
+ * // };
54
+ *
51
55
  * ```
52
56
  *
53
57
  * @param StartPolicyGenerationCommandInput - {@link StartPolicyGenerationCommandInput}
@@ -74,6 +78,8 @@ export interface StartPolicyGenerationCommandOutput extends StartPolicyGeneratio
74
78
  * @throws {@link ValidationException} (client fault)
75
79
  * <p>Validation exception error.</p>
76
80
  *
81
+ * @throws {@link AccessAnalyzerServiceException}
82
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
77
83
  *
78
84
  */
79
85
  export declare class StartPolicyGenerationCommand extends $Command<StartPolicyGenerationCommandInput, StartPolicyGenerationCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -33,6 +33,8 @@ export interface StartResourceScanCommandOutput extends __MetadataBearer {
33
33
  * };
34
34
  * const command = new StartResourceScanCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // {};
37
+ *
36
38
  * ```
37
39
  *
38
40
  * @param StartResourceScanCommandInput - {@link StartResourceScanCommandInput}
@@ -56,6 +58,8 @@ export interface StartResourceScanCommandOutput extends __MetadataBearer {
56
58
  * @throws {@link ValidationException} (client fault)
57
59
  * <p>Validation exception error.</p>
58
60
  *
61
+ * @throws {@link AccessAnalyzerServiceException}
62
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
59
63
  *
60
64
  */
61
65
  export declare class StartResourceScanCommand extends $Command<StartResourceScanCommandInput, StartResourceScanCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
34
34
  * };
35
35
  * const command = new TagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -57,6 +59,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
57
59
  * @throws {@link ValidationException} (client fault)
58
60
  * <p>Validation exception error.</p>
59
61
  *
62
+ * @throws {@link AccessAnalyzerServiceException}
63
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
60
64
  *
61
65
  */
62
66
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -57,6 +59,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
57
59
  * @throws {@link ValidationException} (client fault)
58
60
  * <p>Validation exception error.</p>
59
61
  *
62
+ * @throws {@link AccessAnalyzerServiceException}
63
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
60
64
  *
61
65
  */
62
66
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -47,6 +47,8 @@ export interface UpdateArchiveRuleCommandOutput extends __MetadataBearer {
47
47
  * };
48
48
  * const command = new UpdateArchiveRuleCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // {};
51
+ *
50
52
  * ```
51
53
  *
52
54
  * @param UpdateArchiveRuleCommandInput - {@link UpdateArchiveRuleCommandInput}
@@ -70,6 +72,8 @@ export interface UpdateArchiveRuleCommandOutput extends __MetadataBearer {
70
72
  * @throws {@link ValidationException} (client fault)
71
73
  * <p>Validation exception error.</p>
72
74
  *
75
+ * @throws {@link AccessAnalyzerServiceException}
76
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
73
77
  *
74
78
  */
75
79
  export declare class UpdateArchiveRuleCommand extends $Command<UpdateArchiveRuleCommandInput, UpdateArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -37,6 +37,8 @@ export interface UpdateFindingsCommandOutput extends __MetadataBearer {
37
37
  * };
38
38
  * const command = new UpdateFindingsCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param UpdateFindingsCommandInput - {@link UpdateFindingsCommandInput}
@@ -60,6 +62,8 @@ export interface UpdateFindingsCommandOutput extends __MetadataBearer {
60
62
  * @throws {@link ValidationException} (client fault)
61
63
  * <p>Validation exception error.</p>
62
64
  *
65
+ * @throws {@link AccessAnalyzerServiceException}
66
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
63
67
  *
64
68
  */
65
69
  export declare class UpdateFindingsCommand extends $Command<UpdateFindingsCommandInput, UpdateFindingsCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -38,6 +38,45 @@ export interface ValidatePolicyCommandOutput extends ValidatePolicyResponse, __M
38
38
  * };
39
39
  * const command = new ValidatePolicyCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // ValidatePolicyResponse
42
+ * // findings: [ // ValidatePolicyFindingList // required
43
+ * // { // ValidatePolicyFinding
44
+ * // findingDetails: "STRING_VALUE", // required
45
+ * // findingType: "STRING_VALUE", // required
46
+ * // issueCode: "STRING_VALUE", // required
47
+ * // learnMoreLink: "STRING_VALUE", // required
48
+ * // locations: [ // LocationList // required
49
+ * // { // Location
50
+ * // path: [ // PathElementList // required
51
+ * // { // PathElement Union: only one key present
52
+ * // index: Number("int"),
53
+ * // key: "STRING_VALUE",
54
+ * // substring: { // Substring
55
+ * // start: Number("int"), // required
56
+ * // length: Number("int"), // required
57
+ * // },
58
+ * // value: "STRING_VALUE",
59
+ * // },
60
+ * // ],
61
+ * // span: { // Span
62
+ * // start: { // Position
63
+ * // line: Number("int"), // required
64
+ * // column: Number("int"), // required
65
+ * // offset: Number("int"), // required
66
+ * // },
67
+ * // end: {
68
+ * // line: Number("int"), // required
69
+ * // column: Number("int"), // required
70
+ * // offset: Number("int"), // required
71
+ * // },
72
+ * // },
73
+ * // },
74
+ * // ],
75
+ * // },
76
+ * // ],
77
+ * // nextToken: "STRING_VALUE",
78
+ * // };
79
+ *
41
80
  * ```
42
81
  *
43
82
  * @param ValidatePolicyCommandInput - {@link ValidatePolicyCommandInput}
@@ -58,6 +97,8 @@ export interface ValidatePolicyCommandOutput extends ValidatePolicyResponse, __M
58
97
  * @throws {@link ValidationException} (client fault)
59
98
  * <p>Validation exception error.</p>
60
99
  *
100
+ * @throws {@link AccessAnalyzerServiceException}
101
+ * <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
61
102
  *
62
103
  */
63
104
  export declare class ValidatePolicyCommand extends $Command<ValidatePolicyCommandInput, ValidatePolicyCommandOutput, AccessAnalyzerClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-accessanalyzer",
3
3
  "description": "AWS SDK for JavaScript Accessanalyzer Client for Node.js, Browser and React Native",
4
- "version": "3.325.0",
4
+ "version": "3.327.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.325.0",
24
+ "@aws-sdk/client-sts": "3.327.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.327.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -32,11 +32,11 @@
32
32
  "@aws-sdk/middleware-host-header": "3.325.0",
33
33
  "@aws-sdk/middleware-logger": "3.325.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
- "@aws-sdk/middleware-retry": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.327.0",
36
36
  "@aws-sdk/middleware-serde": "3.325.0",
37
37
  "@aws-sdk/middleware-signing": "3.325.0",
38
38
  "@aws-sdk/middleware-stack": "3.325.0",
39
- "@aws-sdk/middleware-user-agent": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.327.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
@@ -48,8 +48,8 @@
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
50
  "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
- "@aws-sdk/util-endpoints": "3.319.0",
52
- "@aws-sdk/util-retry": "3.310.0",
51
+ "@aws-sdk/util-endpoints": "3.327.0",
52
+ "@aws-sdk/util-retry": "3.327.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",
55
55
  "@aws-sdk/util-utf8": "3.310.0",