@aws-sdk/client-accessanalyzer 3.299.0 → 3.301.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 +5 -0
  2. package/dist-types/commands/CancelPolicyGenerationCommand.d.ts +3 -0
  3. package/dist-types/commands/CreateAccessPreviewCommand.d.ts +110 -0
  4. package/dist-types/commands/CreateAnalyzerCommand.d.ts +27 -0
  5. package/dist-types/commands/CreateArchiveRuleCommand.d.ts +19 -0
  6. package/dist-types/commands/DeleteAnalyzerCommand.d.ts +4 -0
  7. package/dist-types/commands/DeleteArchiveRuleCommand.d.ts +5 -0
  8. package/dist-types/commands/GetAccessPreviewCommand.d.ts +4 -0
  9. package/dist-types/commands/GetAnalyzedResourceCommand.d.ts +4 -0
  10. package/dist-types/commands/GetAnalyzerCommand.d.ts +3 -0
  11. package/dist-types/commands/GetArchiveRuleCommand.d.ts +4 -0
  12. package/dist-types/commands/GetFindingCommand.d.ts +4 -0
  13. package/dist-types/commands/GetGeneratedPolicyCommand.d.ts +5 -0
  14. package/dist-types/commands/ListAccessPreviewFindingsCommand.d.ts +20 -0
  15. package/dist-types/commands/ListAccessPreviewsCommand.d.ts +5 -0
  16. package/dist-types/commands/ListAnalyzedResourcesCommand.d.ts +6 -0
  17. package/dist-types/commands/ListAnalyzersCommand.d.ts +5 -0
  18. package/dist-types/commands/ListArchiveRulesCommand.d.ts +5 -0
  19. package/dist-types/commands/ListFindingsCommand.d.ts +23 -0
  20. package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +5 -0
  21. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  22. package/dist-types/commands/StartPolicyGenerationCommand.d.ts +20 -0
  23. package/dist-types/commands/StartResourceScanCommand.d.ts +5 -0
  24. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  25. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  26. package/dist-types/commands/UpdateArchiveRuleCommand.d.ts +19 -0
  27. package/dist-types/commands/UpdateFindingsCommand.d.ts +9 -0
  28. package/dist-types/commands/ValidatePolicyCommand.d.ts +8 -0
  29. package/package.json +8 -8
@@ -27,6 +27,11 @@ export interface ApplyArchiveRuleCommandOutput extends __MetadataBearer {
27
27
  * import { AccessAnalyzerClient, ApplyArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
28
28
  * // const { AccessAnalyzerClient, ApplyArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
29
29
  * const client = new AccessAnalyzerClient(config);
30
+ * const input = { // ApplyArchiveRuleRequest
31
+ * analyzerArn: "STRING_VALUE", // required
32
+ * ruleName: "STRING_VALUE", // required
33
+ * clientToken: "STRING_VALUE",
34
+ * };
30
35
  * const command = new ApplyArchiveRuleCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,9 @@ export interface CancelPolicyGenerationCommandOutput extends CancelPolicyGenerat
26
26
  * import { AccessAnalyzerClient, CancelPolicyGenerationCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, CancelPolicyGenerationCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // CancelPolicyGenerationRequest
30
+ * jobId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new CancelPolicyGenerationCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,116 @@ export interface CreateAccessPreviewCommandOutput extends CreateAccessPreviewRes
27
27
  * import { AccessAnalyzerClient, CreateAccessPreviewCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
28
28
  * // const { AccessAnalyzerClient, CreateAccessPreviewCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
29
29
  * const client = new AccessAnalyzerClient(config);
30
+ * const input = { // CreateAccessPreviewRequest
31
+ * analyzerArn: "STRING_VALUE", // required
32
+ * configurations: { // ConfigurationsMap // required
33
+ * "<keys>": { // Configuration Union: only one key present
34
+ * ebsSnapshot: { // EbsSnapshotConfiguration
35
+ * userIds: [ // EbsUserIdList
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * groups: [ // EbsGroupList
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * kmsKeyId: "STRING_VALUE",
42
+ * },
43
+ * ecrRepository: { // EcrRepositoryConfiguration
44
+ * repositoryPolicy: "STRING_VALUE",
45
+ * },
46
+ * iamRole: { // IamRoleConfiguration
47
+ * trustPolicy: "STRING_VALUE",
48
+ * },
49
+ * efsFileSystem: { // EfsFileSystemConfiguration
50
+ * fileSystemPolicy: "STRING_VALUE",
51
+ * },
52
+ * kmsKey: { // KmsKeyConfiguration
53
+ * keyPolicies: { // KmsKeyPoliciesMap
54
+ * "<keys>": "STRING_VALUE",
55
+ * },
56
+ * grants: [ // KmsGrantConfigurationsList
57
+ * { // KmsGrantConfiguration
58
+ * operations: [ // KmsGrantOperationsList // required
59
+ * "STRING_VALUE",
60
+ * ],
61
+ * granteePrincipal: "STRING_VALUE", // required
62
+ * retiringPrincipal: "STRING_VALUE",
63
+ * constraints: { // KmsGrantConstraints
64
+ * encryptionContextEquals: { // KmsConstraintsMap
65
+ * "<keys>": "STRING_VALUE",
66
+ * },
67
+ * encryptionContextSubset: {
68
+ * "<keys>": "STRING_VALUE",
69
+ * },
70
+ * },
71
+ * issuingAccount: "STRING_VALUE", // required
72
+ * },
73
+ * ],
74
+ * },
75
+ * rdsDbClusterSnapshot: { // RdsDbClusterSnapshotConfiguration
76
+ * attributes: { // RdsDbClusterSnapshotAttributesMap
77
+ * "<keys>": { // RdsDbClusterSnapshotAttributeValue Union: only one key present
78
+ * accountIds: [ // RdsDbClusterSnapshotAccountIdsList
79
+ * "STRING_VALUE",
80
+ * ],
81
+ * },
82
+ * },
83
+ * kmsKeyId: "STRING_VALUE",
84
+ * },
85
+ * rdsDbSnapshot: { // RdsDbSnapshotConfiguration
86
+ * attributes: { // RdsDbSnapshotAttributesMap
87
+ * "<keys>": { // RdsDbSnapshotAttributeValue Union: only one key present
88
+ * accountIds: [ // RdsDbSnapshotAccountIdsList
89
+ * "STRING_VALUE",
90
+ * ],
91
+ * },
92
+ * },
93
+ * kmsKeyId: "STRING_VALUE",
94
+ * },
95
+ * secretsManagerSecret: { // SecretsManagerSecretConfiguration
96
+ * kmsKeyId: "STRING_VALUE",
97
+ * secretPolicy: "STRING_VALUE",
98
+ * },
99
+ * s3Bucket: { // S3BucketConfiguration
100
+ * bucketPolicy: "STRING_VALUE",
101
+ * bucketAclGrants: [ // S3BucketAclGrantConfigurationsList
102
+ * { // S3BucketAclGrantConfiguration
103
+ * permission: "STRING_VALUE", // required
104
+ * grantee: { // AclGrantee Union: only one key present
105
+ * id: "STRING_VALUE",
106
+ * uri: "STRING_VALUE",
107
+ * },
108
+ * },
109
+ * ],
110
+ * bucketPublicAccessBlock: { // S3PublicAccessBlockConfiguration
111
+ * ignorePublicAcls: true || false, // required
112
+ * restrictPublicBuckets: true || false, // required
113
+ * },
114
+ * accessPoints: { // S3AccessPointConfigurationsMap
115
+ * "<keys>": { // S3AccessPointConfiguration
116
+ * accessPointPolicy: "STRING_VALUE",
117
+ * publicAccessBlock: {
118
+ * ignorePublicAcls: true || false, // required
119
+ * restrictPublicBuckets: true || false, // required
120
+ * },
121
+ * networkOrigin: { // NetworkOriginConfiguration Union: only one key present
122
+ * vpcConfiguration: { // VpcConfiguration
123
+ * vpcId: "STRING_VALUE", // required
124
+ * },
125
+ * internetConfiguration: {},
126
+ * },
127
+ * },
128
+ * },
129
+ * },
130
+ * snsTopic: { // SnsTopicConfiguration
131
+ * topicPolicy: "STRING_VALUE",
132
+ * },
133
+ * sqsQueue: { // SqsQueueConfiguration
134
+ * queuePolicy: "STRING_VALUE",
135
+ * },
136
+ * },
137
+ * },
138
+ * clientToken: "STRING_VALUE",
139
+ * };
30
140
  * const command = new CreateAccessPreviewCommand(input);
31
141
  * const response = await client.send(command);
32
142
  * ```
@@ -26,6 +26,33 @@ export interface CreateAnalyzerCommandOutput extends CreateAnalyzerResponse, __M
26
26
  * import { AccessAnalyzerClient, CreateAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, CreateAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // CreateAnalyzerRequest
30
+ * analyzerName: "STRING_VALUE", // required
31
+ * type: "STRING_VALUE", // required
32
+ * archiveRules: [ // InlineArchiveRulesList
33
+ * { // InlineArchiveRule
34
+ * ruleName: "STRING_VALUE", // required
35
+ * filter: { // FilterCriteriaMap // required
36
+ * "<keys>": { // Criterion
37
+ * eq: [ // ValueList
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * neq: [
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * contains: [
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * exists: true || false,
47
+ * },
48
+ * },
49
+ * },
50
+ * ],
51
+ * tags: { // TagsMap
52
+ * "<keys>": "STRING_VALUE",
53
+ * },
54
+ * clientToken: "STRING_VALUE",
55
+ * };
29
56
  * const command = new CreateAnalyzerCommand(input);
30
57
  * const response = await client.send(command);
31
58
  * ```
@@ -28,6 +28,25 @@ export interface CreateArchiveRuleCommandOutput extends __MetadataBearer {
28
28
  * import { AccessAnalyzerClient, CreateArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
29
29
  * // const { AccessAnalyzerClient, CreateArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
30
30
  * const client = new AccessAnalyzerClient(config);
31
+ * const input = { // CreateArchiveRuleRequest
32
+ * analyzerName: "STRING_VALUE", // required
33
+ * ruleName: "STRING_VALUE", // required
34
+ * filter: { // FilterCriteriaMap // required
35
+ * "<keys>": { // Criterion
36
+ * eq: [ // ValueList
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * neq: [
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * contains: [
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * exists: true || false,
46
+ * },
47
+ * },
48
+ * clientToken: "STRING_VALUE",
49
+ * };
31
50
  * const command = new CreateArchiveRuleCommand(input);
32
51
  * const response = await client.send(command);
33
52
  * ```
@@ -28,6 +28,10 @@ export interface DeleteAnalyzerCommandOutput extends __MetadataBearer {
28
28
  * import { AccessAnalyzerClient, DeleteAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
29
29
  * // const { AccessAnalyzerClient, DeleteAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
30
30
  * const client = new AccessAnalyzerClient(config);
31
+ * const input = { // DeleteAnalyzerRequest
32
+ * analyzerName: "STRING_VALUE", // required
33
+ * clientToken: "STRING_VALUE",
34
+ * };
31
35
  * const command = new DeleteAnalyzerCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -26,6 +26,11 @@ export interface DeleteArchiveRuleCommandOutput extends __MetadataBearer {
26
26
  * import { AccessAnalyzerClient, DeleteArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, DeleteArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // DeleteArchiveRuleRequest
30
+ * analyzerName: "STRING_VALUE", // required
31
+ * ruleName: "STRING_VALUE", // required
32
+ * clientToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new DeleteArchiveRuleCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface GetAccessPreviewCommandOutput extends GetAccessPreviewResponse,
26
26
  * import { AccessAnalyzerClient, GetAccessPreviewCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, GetAccessPreviewCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // GetAccessPreviewRequest
30
+ * accessPreviewId: "STRING_VALUE", // required
31
+ * analyzerArn: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetAccessPreviewCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface GetAnalyzedResourceCommandOutput extends GetAnalyzedResourceRes
26
26
  * import { AccessAnalyzerClient, GetAnalyzedResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, GetAnalyzedResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // GetAnalyzedResourceRequest
30
+ * analyzerArn: "STRING_VALUE", // required
31
+ * resourceArn: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetAnalyzedResourceCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ export interface GetAnalyzerCommandOutput extends GetAnalyzerResponse, __Metadat
26
26
  * import { AccessAnalyzerClient, GetAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, GetAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // GetAnalyzerRequest
30
+ * analyzerName: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetAnalyzerCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,10 @@ export interface GetArchiveRuleCommandOutput extends GetArchiveRuleResponse, __M
27
27
  * import { AccessAnalyzerClient, GetArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
28
28
  * // const { AccessAnalyzerClient, GetArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
29
29
  * const client = new AccessAnalyzerClient(config);
30
+ * const input = { // GetArchiveRuleRequest
31
+ * analyzerName: "STRING_VALUE", // required
32
+ * ruleName: "STRING_VALUE", // required
33
+ * };
30
34
  * const command = new GetArchiveRuleCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -26,6 +26,10 @@ export interface GetFindingCommandOutput extends GetFindingResponse, __MetadataB
26
26
  * import { AccessAnalyzerClient, GetFindingCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, GetFindingCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // GetFindingRequest
30
+ * analyzerArn: "STRING_VALUE", // required
31
+ * id: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetFindingCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -27,6 +27,11 @@ export interface GetGeneratedPolicyCommandOutput extends GetGeneratedPolicyRespo
27
27
  * import { AccessAnalyzerClient, GetGeneratedPolicyCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
28
28
  * // const { AccessAnalyzerClient, GetGeneratedPolicyCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
29
29
  * const client = new AccessAnalyzerClient(config);
30
+ * const input = { // GetGeneratedPolicyRequest
31
+ * jobId: "STRING_VALUE", // required
32
+ * includeResourcePlaceholders: true || false,
33
+ * includeServiceLevelTemplate: true || false,
34
+ * };
30
35
  * const command = new GetGeneratedPolicyCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,26 @@ export interface ListAccessPreviewFindingsCommandOutput extends ListAccessPrevie
27
27
  * import { AccessAnalyzerClient, ListAccessPreviewFindingsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
28
28
  * // const { AccessAnalyzerClient, ListAccessPreviewFindingsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
29
29
  * const client = new AccessAnalyzerClient(config);
30
+ * const input = { // ListAccessPreviewFindingsRequest
31
+ * accessPreviewId: "STRING_VALUE", // required
32
+ * analyzerArn: "STRING_VALUE", // required
33
+ * filter: { // FilterCriteriaMap
34
+ * "<keys>": { // Criterion
35
+ * eq: [ // ValueList
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * neq: [
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * contains: [
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * exists: true || false,
45
+ * },
46
+ * },
47
+ * nextToken: "STRING_VALUE",
48
+ * maxResults: Number("int"),
49
+ * };
30
50
  * const command = new ListAccessPreviewFindingsCommand(input);
31
51
  * const response = await client.send(command);
32
52
  * ```
@@ -26,6 +26,11 @@ export interface ListAccessPreviewsCommandOutput extends ListAccessPreviewsRespo
26
26
  * import { AccessAnalyzerClient, ListAccessPreviewsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, ListAccessPreviewsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // ListAccessPreviewsRequest
30
+ * analyzerArn: "STRING_VALUE", // required
31
+ * nextToken: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListAccessPreviewsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,12 @@ export interface ListAnalyzedResourcesCommandOutput extends ListAnalyzedResource
27
27
  * import { AccessAnalyzerClient, ListAnalyzedResourcesCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
28
28
  * // const { AccessAnalyzerClient, ListAnalyzedResourcesCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
29
29
  * const client = new AccessAnalyzerClient(config);
30
+ * const input = { // ListAnalyzedResourcesRequest
31
+ * analyzerArn: "STRING_VALUE", // required
32
+ * resourceType: "STRING_VALUE",
33
+ * nextToken: "STRING_VALUE",
34
+ * maxResults: Number("int"),
35
+ * };
30
36
  * const command = new ListAnalyzedResourcesCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -26,6 +26,11 @@ export interface ListAnalyzersCommandOutput extends ListAnalyzersResponse, __Met
26
26
  * import { AccessAnalyzerClient, ListAnalyzersCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, ListAnalyzersCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // ListAnalyzersRequest
30
+ * nextToken: "STRING_VALUE",
31
+ * maxResults: Number("int"),
32
+ * type: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ListAnalyzersCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface ListArchiveRulesCommandOutput extends ListArchiveRulesResponse,
26
26
  * import { AccessAnalyzerClient, ListArchiveRulesCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, ListArchiveRulesCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // ListArchiveRulesRequest
30
+ * analyzerName: "STRING_VALUE", // required
31
+ * nextToken: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListArchiveRulesCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,29 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
27
27
  * import { AccessAnalyzerClient, ListFindingsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
28
28
  * // const { AccessAnalyzerClient, ListFindingsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
29
29
  * const client = new AccessAnalyzerClient(config);
30
+ * const input = { // ListFindingsRequest
31
+ * analyzerArn: "STRING_VALUE", // required
32
+ * filter: { // FilterCriteriaMap
33
+ * "<keys>": { // Criterion
34
+ * eq: [ // ValueList
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * neq: [
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * contains: [
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * exists: true || false,
44
+ * },
45
+ * },
46
+ * sort: { // SortCriteria
47
+ * attributeName: "STRING_VALUE",
48
+ * orderBy: "STRING_VALUE",
49
+ * },
50
+ * nextToken: "STRING_VALUE",
51
+ * maxResults: Number("int"),
52
+ * };
30
53
  * const command = new ListFindingsCommand(input);
31
54
  * const response = await client.send(command);
32
55
  * ```
@@ -26,6 +26,11 @@ export interface ListPolicyGenerationsCommandOutput extends ListPolicyGeneration
26
26
  * import { AccessAnalyzerClient, ListPolicyGenerationsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, ListPolicyGenerationsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // ListPolicyGenerationsRequest
30
+ * principalArn: "STRING_VALUE",
31
+ * maxResults: Number("int"),
32
+ * nextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ListPolicyGenerationsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { AccessAnalyzerClient, ListTagsForResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, ListTagsForResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // ListTagsForResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,26 @@ export interface StartPolicyGenerationCommandOutput extends StartPolicyGeneratio
26
26
  * import { AccessAnalyzerClient, StartPolicyGenerationCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, StartPolicyGenerationCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // StartPolicyGenerationRequest
30
+ * policyGenerationDetails: { // PolicyGenerationDetails
31
+ * principalArn: "STRING_VALUE", // required
32
+ * },
33
+ * cloudTrailDetails: { // CloudTrailDetails
34
+ * trails: [ // TrailList // required
35
+ * { // Trail
36
+ * cloudTrailArn: "STRING_VALUE", // required
37
+ * regions: [ // RegionList
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * allRegions: true || false,
41
+ * },
42
+ * ],
43
+ * accessRole: "STRING_VALUE", // required
44
+ * startTime: new Date("TIMESTAMP"), // required
45
+ * endTime: new Date("TIMESTAMP"),
46
+ * },
47
+ * clientToken: "STRING_VALUE",
48
+ * };
29
49
  * const command = new StartPolicyGenerationCommand(input);
30
50
  * const response = await client.send(command);
31
51
  * ```
@@ -26,6 +26,11 @@ export interface StartResourceScanCommandOutput extends __MetadataBearer {
26
26
  * import { AccessAnalyzerClient, StartResourceScanCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, StartResourceScanCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // StartResourceScanRequest
30
+ * analyzerArn: "STRING_VALUE", // required
31
+ * resourceArn: "STRING_VALUE", // required
32
+ * resourceOwnerAccount: "STRING_VALUE",
33
+ * };
29
34
  * const command = new StartResourceScanCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { AccessAnalyzerClient, TagResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, TagResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // TagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tags: { // TagsMap // required
32
+ * "<keys>": "STRING_VALUE",
33
+ * },
34
+ * };
29
35
  * const command = new TagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { AccessAnalyzerClient, UntagResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, UntagResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // UntagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tagKeys: [ // TagKeys // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,25 @@ export interface UpdateArchiveRuleCommandOutput extends __MetadataBearer {
26
26
  * import { AccessAnalyzerClient, UpdateArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, UpdateArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // UpdateArchiveRuleRequest
30
+ * analyzerName: "STRING_VALUE", // required
31
+ * ruleName: "STRING_VALUE", // required
32
+ * filter: { // FilterCriteriaMap // required
33
+ * "<keys>": { // Criterion
34
+ * eq: [ // ValueList
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * neq: [
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * contains: [
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * exists: true || false,
44
+ * },
45
+ * },
46
+ * clientToken: "STRING_VALUE",
47
+ * };
29
48
  * const command = new UpdateArchiveRuleCommand(input);
30
49
  * const response = await client.send(command);
31
50
  * ```
@@ -26,6 +26,15 @@ export interface UpdateFindingsCommandOutput extends __MetadataBearer {
26
26
  * import { AccessAnalyzerClient, UpdateFindingsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, UpdateFindingsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
+ * const input = { // UpdateFindingsRequest
30
+ * analyzerArn: "STRING_VALUE", // required
31
+ * status: "STRING_VALUE", // required
32
+ * ids: [ // FindingIdList
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * resourceArn: "STRING_VALUE",
36
+ * clientToken: "STRING_VALUE",
37
+ * };
29
38
  * const command = new UpdateFindingsCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -28,6 +28,14 @@ export interface ValidatePolicyCommandOutput extends ValidatePolicyResponse, __M
28
28
  * import { AccessAnalyzerClient, ValidatePolicyCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
29
29
  * // const { AccessAnalyzerClient, ValidatePolicyCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
30
30
  * const client = new AccessAnalyzerClient(config);
31
+ * const input = { // ValidatePolicyRequest
32
+ * locale: "STRING_VALUE",
33
+ * maxResults: Number("int"),
34
+ * nextToken: "STRING_VALUE",
35
+ * policyDocument: "STRING_VALUE", // required
36
+ * policyType: "STRING_VALUE", // required
37
+ * validatePolicyResourceType: "STRING_VALUE",
38
+ * };
31
39
  * const command = new ValidatePolicyCommand(input);
32
40
  * const response = await client.send(command);
33
41
  * ```
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.299.0",
4
+ "version": "3.301.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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"