@aws-sdk/client-accessanalyzer 3.300.0 → 3.303.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.
- package/dist-cjs/models/models_0.js +85 -97
- package/dist-es/models/models_0.js +85 -97
- package/dist-types/commands/ApplyArchiveRuleCommand.d.ts +1 -1
- package/dist-types/commands/CancelPolicyGenerationCommand.d.ts +1 -1
- package/dist-types/commands/CreateAccessPreviewCommand.d.ts +36 -36
- package/dist-types/commands/CreateAnalyzerCommand.d.ts +7 -7
- package/dist-types/commands/CreateArchiveRuleCommand.d.ts +4 -4
- package/dist-types/commands/DeleteAnalyzerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteArchiveRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetAccessPreviewCommand.d.ts +1 -1
- package/dist-types/commands/GetAnalyzedResourceCommand.d.ts +1 -1
- package/dist-types/commands/GetAnalyzerCommand.d.ts +1 -1
- package/dist-types/commands/GetArchiveRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetFindingCommand.d.ts +1 -1
- package/dist-types/commands/GetGeneratedPolicyCommand.d.ts +1 -1
- package/dist-types/commands/ListAccessPreviewFindingsCommand.d.ts +4 -4
- package/dist-types/commands/ListAccessPreviewsCommand.d.ts +1 -1
- package/dist-types/commands/ListAnalyzedResourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListAnalyzersCommand.d.ts +1 -1
- package/dist-types/commands/ListArchiveRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingsCommand.d.ts +5 -5
- package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StartPolicyGenerationCommand.d.ts +6 -6
- package/dist-types/commands/StartResourceScanCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateArchiveRuleCommand.d.ts +4 -4
- package/dist-types/commands/UpdateFindingsCommand.d.ts +2 -2
- package/dist-types/commands/ValidatePolicyCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +145 -85
- package/dist-types/ts3.4/models/models_0.d.ts +104 -85
- package/package.json +34 -34
|
@@ -92,13 +92,12 @@ class ThrottlingException extends AccessAnalyzerServiceException_1.AccessAnalyze
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
exports.ThrottlingException = ThrottlingException;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
})(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
|
|
95
|
+
exports.ValidationExceptionReason = {
|
|
96
|
+
CANNOT_PARSE: "cannotParse",
|
|
97
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
98
|
+
OTHER: "other",
|
|
99
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
100
|
+
};
|
|
102
101
|
class ValidationException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
103
102
|
constructor(opts) {
|
|
104
103
|
super({
|
|
@@ -114,23 +113,22 @@ class ValidationException extends AccessAnalyzerServiceException_1.AccessAnalyze
|
|
|
114
113
|
}
|
|
115
114
|
}
|
|
116
115
|
exports.ValidationException = ValidationException;
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
})(KmsGrantOperation = exports.KmsGrantOperation || (exports.KmsGrantOperation = {}));
|
|
116
|
+
exports.KmsGrantOperation = {
|
|
117
|
+
CREATE_GRANT: "CreateGrant",
|
|
118
|
+
DECRYPT: "Decrypt",
|
|
119
|
+
DESCRIBE_KEY: "DescribeKey",
|
|
120
|
+
ENCRYPT: "Encrypt",
|
|
121
|
+
GENERATE_DATA_KEY: "GenerateDataKey",
|
|
122
|
+
GENERATE_DATA_KEY_PAIR: "GenerateDataKeyPair",
|
|
123
|
+
GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT: "GenerateDataKeyPairWithoutPlaintext",
|
|
124
|
+
GENERATE_DATA_KEY_WITHOUT_PLAINTEXT: "GenerateDataKeyWithoutPlaintext",
|
|
125
|
+
GET_PUBLIC_KEY: "GetPublicKey",
|
|
126
|
+
REENCRYPT_FROM: "ReEncryptFrom",
|
|
127
|
+
REENCRYPT_TO: "ReEncryptTo",
|
|
128
|
+
RETIRE_GRANT: "RetireGrant",
|
|
129
|
+
SIGN: "Sign",
|
|
130
|
+
VERIFY: "Verify",
|
|
131
|
+
};
|
|
134
132
|
var RdsDbClusterSnapshotAttributeValue;
|
|
135
133
|
(function (RdsDbClusterSnapshotAttributeValue) {
|
|
136
134
|
RdsDbClusterSnapshotAttributeValue.visit = (value, visitor) => {
|
|
@@ -167,14 +165,13 @@ var AclGrantee;
|
|
|
167
165
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
168
166
|
};
|
|
169
167
|
})(AclGrantee = exports.AclGrantee || (exports.AclGrantee = {}));
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
})(AclPermission = exports.AclPermission || (exports.AclPermission = {}));
|
|
168
|
+
exports.AclPermission = {
|
|
169
|
+
FULL_CONTROL: "FULL_CONTROL",
|
|
170
|
+
READ: "READ",
|
|
171
|
+
READ_ACP: "READ_ACP",
|
|
172
|
+
WRITE: "WRITE",
|
|
173
|
+
WRITE_ACP: "WRITE_ACP",
|
|
174
|
+
};
|
|
178
175
|
var Configuration;
|
|
179
176
|
(function (Configuration) {
|
|
180
177
|
Configuration.visit = (value, visitor) => {
|
|
@@ -203,71 +200,62 @@ var Configuration;
|
|
|
203
200
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
204
201
|
};
|
|
205
202
|
})(Configuration = exports.Configuration || (exports.Configuration = {}));
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
ValidatePolicyResourceType["S3_OBJECT_LAMBDA_ACCESS_POINT"] = "AWS::S3ObjectLambda::AccessPoint";
|
|
263
|
-
})(ValidatePolicyResourceType = exports.ValidatePolicyResourceType || (exports.ValidatePolicyResourceType = {}));
|
|
264
|
-
var ValidatePolicyFindingType;
|
|
265
|
-
(function (ValidatePolicyFindingType) {
|
|
266
|
-
ValidatePolicyFindingType["ERROR"] = "ERROR";
|
|
267
|
-
ValidatePolicyFindingType["SECURITY_WARNING"] = "SECURITY_WARNING";
|
|
268
|
-
ValidatePolicyFindingType["SUGGESTION"] = "SUGGESTION";
|
|
269
|
-
ValidatePolicyFindingType["WARNING"] = "WARNING";
|
|
270
|
-
})(ValidatePolicyFindingType = exports.ValidatePolicyFindingType || (exports.ValidatePolicyFindingType = {}));
|
|
203
|
+
exports.AccessPreviewStatus = {
|
|
204
|
+
COMPLETED: "COMPLETED",
|
|
205
|
+
CREATING: "CREATING",
|
|
206
|
+
FAILED: "FAILED",
|
|
207
|
+
};
|
|
208
|
+
exports.AccessPreviewStatusReasonCode = {
|
|
209
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
210
|
+
INVALID_CONFIGURATION: "INVALID_CONFIGURATION",
|
|
211
|
+
};
|
|
212
|
+
exports.JobErrorCode = {
|
|
213
|
+
AUTHORIZATION_ERROR: "AUTHORIZATION_ERROR",
|
|
214
|
+
RESOURCE_NOT_FOUND_ERROR: "RESOURCE_NOT_FOUND_ERROR",
|
|
215
|
+
SERVICE_ERROR: "SERVICE_ERROR",
|
|
216
|
+
SERVICE_QUOTA_EXCEEDED_ERROR: "SERVICE_QUOTA_EXCEEDED_ERROR",
|
|
217
|
+
};
|
|
218
|
+
exports.JobStatus = {
|
|
219
|
+
CANCELED: "CANCELED",
|
|
220
|
+
FAILED: "FAILED",
|
|
221
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
222
|
+
SUCCEEDED: "SUCCEEDED",
|
|
223
|
+
};
|
|
224
|
+
exports.FindingChangeType = {
|
|
225
|
+
CHANGED: "CHANGED",
|
|
226
|
+
NEW: "NEW",
|
|
227
|
+
UNCHANGED: "UNCHANGED",
|
|
228
|
+
};
|
|
229
|
+
exports.Locale = {
|
|
230
|
+
DE: "DE",
|
|
231
|
+
EN: "EN",
|
|
232
|
+
ES: "ES",
|
|
233
|
+
FR: "FR",
|
|
234
|
+
IT: "IT",
|
|
235
|
+
JA: "JA",
|
|
236
|
+
KO: "KO",
|
|
237
|
+
PT_BR: "PT_BR",
|
|
238
|
+
ZH_CN: "ZH_CN",
|
|
239
|
+
ZH_TW: "ZH_TW",
|
|
240
|
+
};
|
|
241
|
+
exports.PolicyType = {
|
|
242
|
+
IDENTITY_POLICY: "IDENTITY_POLICY",
|
|
243
|
+
RESOURCE_POLICY: "RESOURCE_POLICY",
|
|
244
|
+
SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY",
|
|
245
|
+
};
|
|
246
|
+
exports.ValidatePolicyResourceType = {
|
|
247
|
+
ROLE_TRUST: "AWS::IAM::AssumeRolePolicyDocument",
|
|
248
|
+
S3_ACCESS_POINT: "AWS::S3::AccessPoint",
|
|
249
|
+
S3_BUCKET: "AWS::S3::Bucket",
|
|
250
|
+
S3_MULTI_REGION_ACCESS_POINT: "AWS::S3::MultiRegionAccessPoint",
|
|
251
|
+
S3_OBJECT_LAMBDA_ACCESS_POINT: "AWS::S3ObjectLambda::AccessPoint",
|
|
252
|
+
};
|
|
253
|
+
exports.ValidatePolicyFindingType = {
|
|
254
|
+
ERROR: "ERROR",
|
|
255
|
+
SECURITY_WARNING: "SECURITY_WARNING",
|
|
256
|
+
SUGGESTION: "SUGGESTION",
|
|
257
|
+
WARNING: "WARNING",
|
|
258
|
+
};
|
|
271
259
|
var PathElement;
|
|
272
260
|
(function (PathElement) {
|
|
273
261
|
PathElement.visit = (value, visitor) => {
|
|
@@ -83,13 +83,12 @@ export class ThrottlingException extends __BaseException {
|
|
|
83
83
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
export
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
86
|
+
export const ValidationExceptionReason = {
|
|
87
|
+
CANNOT_PARSE: "cannotParse",
|
|
88
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
89
|
+
OTHER: "other",
|
|
90
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
91
|
+
};
|
|
93
92
|
export class ValidationException extends __BaseException {
|
|
94
93
|
constructor(opts) {
|
|
95
94
|
super({
|
|
@@ -104,23 +103,22 @@ export class ValidationException extends __BaseException {
|
|
|
104
103
|
this.fieldList = opts.fieldList;
|
|
105
104
|
}
|
|
106
105
|
}
|
|
107
|
-
export
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
})(KmsGrantOperation || (KmsGrantOperation = {}));
|
|
106
|
+
export const KmsGrantOperation = {
|
|
107
|
+
CREATE_GRANT: "CreateGrant",
|
|
108
|
+
DECRYPT: "Decrypt",
|
|
109
|
+
DESCRIBE_KEY: "DescribeKey",
|
|
110
|
+
ENCRYPT: "Encrypt",
|
|
111
|
+
GENERATE_DATA_KEY: "GenerateDataKey",
|
|
112
|
+
GENERATE_DATA_KEY_PAIR: "GenerateDataKeyPair",
|
|
113
|
+
GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT: "GenerateDataKeyPairWithoutPlaintext",
|
|
114
|
+
GENERATE_DATA_KEY_WITHOUT_PLAINTEXT: "GenerateDataKeyWithoutPlaintext",
|
|
115
|
+
GET_PUBLIC_KEY: "GetPublicKey",
|
|
116
|
+
REENCRYPT_FROM: "ReEncryptFrom",
|
|
117
|
+
REENCRYPT_TO: "ReEncryptTo",
|
|
118
|
+
RETIRE_GRANT: "RetireGrant",
|
|
119
|
+
SIGN: "Sign",
|
|
120
|
+
VERIFY: "Verify",
|
|
121
|
+
};
|
|
124
122
|
export var RdsDbClusterSnapshotAttributeValue;
|
|
125
123
|
(function (RdsDbClusterSnapshotAttributeValue) {
|
|
126
124
|
RdsDbClusterSnapshotAttributeValue.visit = (value, visitor) => {
|
|
@@ -157,14 +155,13 @@ export var AclGrantee;
|
|
|
157
155
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
158
156
|
};
|
|
159
157
|
})(AclGrantee || (AclGrantee = {}));
|
|
160
|
-
export
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
})(AclPermission || (AclPermission = {}));
|
|
158
|
+
export const AclPermission = {
|
|
159
|
+
FULL_CONTROL: "FULL_CONTROL",
|
|
160
|
+
READ: "READ",
|
|
161
|
+
READ_ACP: "READ_ACP",
|
|
162
|
+
WRITE: "WRITE",
|
|
163
|
+
WRITE_ACP: "WRITE_ACP",
|
|
164
|
+
};
|
|
168
165
|
export var Configuration;
|
|
169
166
|
(function (Configuration) {
|
|
170
167
|
Configuration.visit = (value, visitor) => {
|
|
@@ -193,71 +190,62 @@ export var Configuration;
|
|
|
193
190
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
194
191
|
};
|
|
195
192
|
})(Configuration || (Configuration = {}));
|
|
196
|
-
export
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
}
|
|
246
|
-
export
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
ValidatePolicyResourceType["S3_OBJECT_LAMBDA_ACCESS_POINT"] = "AWS::S3ObjectLambda::AccessPoint";
|
|
253
|
-
})(ValidatePolicyResourceType || (ValidatePolicyResourceType = {}));
|
|
254
|
-
export var ValidatePolicyFindingType;
|
|
255
|
-
(function (ValidatePolicyFindingType) {
|
|
256
|
-
ValidatePolicyFindingType["ERROR"] = "ERROR";
|
|
257
|
-
ValidatePolicyFindingType["SECURITY_WARNING"] = "SECURITY_WARNING";
|
|
258
|
-
ValidatePolicyFindingType["SUGGESTION"] = "SUGGESTION";
|
|
259
|
-
ValidatePolicyFindingType["WARNING"] = "WARNING";
|
|
260
|
-
})(ValidatePolicyFindingType || (ValidatePolicyFindingType = {}));
|
|
193
|
+
export const AccessPreviewStatus = {
|
|
194
|
+
COMPLETED: "COMPLETED",
|
|
195
|
+
CREATING: "CREATING",
|
|
196
|
+
FAILED: "FAILED",
|
|
197
|
+
};
|
|
198
|
+
export const AccessPreviewStatusReasonCode = {
|
|
199
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
200
|
+
INVALID_CONFIGURATION: "INVALID_CONFIGURATION",
|
|
201
|
+
};
|
|
202
|
+
export const JobErrorCode = {
|
|
203
|
+
AUTHORIZATION_ERROR: "AUTHORIZATION_ERROR",
|
|
204
|
+
RESOURCE_NOT_FOUND_ERROR: "RESOURCE_NOT_FOUND_ERROR",
|
|
205
|
+
SERVICE_ERROR: "SERVICE_ERROR",
|
|
206
|
+
SERVICE_QUOTA_EXCEEDED_ERROR: "SERVICE_QUOTA_EXCEEDED_ERROR",
|
|
207
|
+
};
|
|
208
|
+
export const JobStatus = {
|
|
209
|
+
CANCELED: "CANCELED",
|
|
210
|
+
FAILED: "FAILED",
|
|
211
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
212
|
+
SUCCEEDED: "SUCCEEDED",
|
|
213
|
+
};
|
|
214
|
+
export const FindingChangeType = {
|
|
215
|
+
CHANGED: "CHANGED",
|
|
216
|
+
NEW: "NEW",
|
|
217
|
+
UNCHANGED: "UNCHANGED",
|
|
218
|
+
};
|
|
219
|
+
export const Locale = {
|
|
220
|
+
DE: "DE",
|
|
221
|
+
EN: "EN",
|
|
222
|
+
ES: "ES",
|
|
223
|
+
FR: "FR",
|
|
224
|
+
IT: "IT",
|
|
225
|
+
JA: "JA",
|
|
226
|
+
KO: "KO",
|
|
227
|
+
PT_BR: "PT_BR",
|
|
228
|
+
ZH_CN: "ZH_CN",
|
|
229
|
+
ZH_TW: "ZH_TW",
|
|
230
|
+
};
|
|
231
|
+
export const PolicyType = {
|
|
232
|
+
IDENTITY_POLICY: "IDENTITY_POLICY",
|
|
233
|
+
RESOURCE_POLICY: "RESOURCE_POLICY",
|
|
234
|
+
SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY",
|
|
235
|
+
};
|
|
236
|
+
export const ValidatePolicyResourceType = {
|
|
237
|
+
ROLE_TRUST: "AWS::IAM::AssumeRolePolicyDocument",
|
|
238
|
+
S3_ACCESS_POINT: "AWS::S3::AccessPoint",
|
|
239
|
+
S3_BUCKET: "AWS::S3::Bucket",
|
|
240
|
+
S3_MULTI_REGION_ACCESS_POINT: "AWS::S3::MultiRegionAccessPoint",
|
|
241
|
+
S3_OBJECT_LAMBDA_ACCESS_POINT: "AWS::S3ObjectLambda::AccessPoint",
|
|
242
|
+
};
|
|
243
|
+
export const ValidatePolicyFindingType = {
|
|
244
|
+
ERROR: "ERROR",
|
|
245
|
+
SECURITY_WARNING: "SECURITY_WARNING",
|
|
246
|
+
SUGGESTION: "SUGGESTION",
|
|
247
|
+
WARNING: "WARNING",
|
|
248
|
+
};
|
|
261
249
|
export var PathElement;
|
|
262
250
|
(function (PathElement) {
|
|
263
251
|
PathElement.visit = (value, visitor) => {
|
|
@@ -27,7 +27,7 @@ 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 = {
|
|
30
|
+
* const input = { // ApplyArchiveRuleRequest
|
|
31
31
|
* analyzerArn: "STRING_VALUE", // required
|
|
32
32
|
* ruleName: "STRING_VALUE", // required
|
|
33
33
|
* clientToken: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // CancelPolicyGenerationRequest
|
|
30
30
|
* jobId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new CancelPolicyGenerationCommand(input);
|
|
@@ -27,41 +27,41 @@ 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 = {
|
|
30
|
+
* const input = { // CreateAccessPreviewRequest
|
|
31
31
|
* analyzerArn: "STRING_VALUE", // required
|
|
32
|
-
* configurations: { // required
|
|
33
|
-
* "<keys>": { // Union: only one key present
|
|
34
|
-
* ebsSnapshot: {
|
|
35
|
-
* userIds: [
|
|
32
|
+
* configurations: { // ConfigurationsMap // required
|
|
33
|
+
* "<keys>": { // Configuration Union: only one key present
|
|
34
|
+
* ebsSnapshot: { // EbsSnapshotConfiguration
|
|
35
|
+
* userIds: [ // EbsUserIdList
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
|
-
* groups: [
|
|
38
|
+
* groups: [ // EbsGroupList
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
41
|
* kmsKeyId: "STRING_VALUE",
|
|
42
42
|
* },
|
|
43
|
-
* ecrRepository: {
|
|
43
|
+
* ecrRepository: { // EcrRepositoryConfiguration
|
|
44
44
|
* repositoryPolicy: "STRING_VALUE",
|
|
45
45
|
* },
|
|
46
|
-
* iamRole: {
|
|
46
|
+
* iamRole: { // IamRoleConfiguration
|
|
47
47
|
* trustPolicy: "STRING_VALUE",
|
|
48
48
|
* },
|
|
49
|
-
* efsFileSystem: {
|
|
49
|
+
* efsFileSystem: { // EfsFileSystemConfiguration
|
|
50
50
|
* fileSystemPolicy: "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
|
-
* kmsKey: {
|
|
53
|
-
* keyPolicies: {
|
|
52
|
+
* kmsKey: { // KmsKeyConfiguration
|
|
53
|
+
* keyPolicies: { // KmsKeyPoliciesMap
|
|
54
54
|
* "<keys>": "STRING_VALUE",
|
|
55
55
|
* },
|
|
56
|
-
* grants: [
|
|
57
|
-
* {
|
|
58
|
-
* operations: [ // required
|
|
56
|
+
* grants: [ // KmsGrantConfigurationsList
|
|
57
|
+
* { // KmsGrantConfiguration
|
|
58
|
+
* operations: [ // KmsGrantOperationsList // required
|
|
59
59
|
* "STRING_VALUE",
|
|
60
60
|
* ],
|
|
61
61
|
* granteePrincipal: "STRING_VALUE", // required
|
|
62
62
|
* retiringPrincipal: "STRING_VALUE",
|
|
63
|
-
* constraints: {
|
|
64
|
-
* encryptionContextEquals: {
|
|
63
|
+
* constraints: { // KmsGrantConstraints
|
|
64
|
+
* encryptionContextEquals: { // KmsConstraintsMap
|
|
65
65
|
* "<keys>": "STRING_VALUE",
|
|
66
66
|
* },
|
|
67
67
|
* encryptionContextSubset: {
|
|
@@ -72,54 +72,54 @@ export interface CreateAccessPreviewCommandOutput extends CreateAccessPreviewRes
|
|
|
72
72
|
* },
|
|
73
73
|
* ],
|
|
74
74
|
* },
|
|
75
|
-
* rdsDbClusterSnapshot: {
|
|
76
|
-
* attributes: {
|
|
77
|
-
* "<keys>": { // Union: only one key present
|
|
78
|
-
* accountIds: [
|
|
75
|
+
* rdsDbClusterSnapshot: { // RdsDbClusterSnapshotConfiguration
|
|
76
|
+
* attributes: { // RdsDbClusterSnapshotAttributesMap
|
|
77
|
+
* "<keys>": { // RdsDbClusterSnapshotAttributeValue Union: only one key present
|
|
78
|
+
* accountIds: [ // RdsDbClusterSnapshotAccountIdsList
|
|
79
79
|
* "STRING_VALUE",
|
|
80
80
|
* ],
|
|
81
81
|
* },
|
|
82
82
|
* },
|
|
83
83
|
* kmsKeyId: "STRING_VALUE",
|
|
84
84
|
* },
|
|
85
|
-
* rdsDbSnapshot: {
|
|
86
|
-
* attributes: {
|
|
87
|
-
* "<keys>": { // Union: only one key present
|
|
88
|
-
* accountIds: [
|
|
85
|
+
* rdsDbSnapshot: { // RdsDbSnapshotConfiguration
|
|
86
|
+
* attributes: { // RdsDbSnapshotAttributesMap
|
|
87
|
+
* "<keys>": { // RdsDbSnapshotAttributeValue Union: only one key present
|
|
88
|
+
* accountIds: [ // RdsDbSnapshotAccountIdsList
|
|
89
89
|
* "STRING_VALUE",
|
|
90
90
|
* ],
|
|
91
91
|
* },
|
|
92
92
|
* },
|
|
93
93
|
* kmsKeyId: "STRING_VALUE",
|
|
94
94
|
* },
|
|
95
|
-
* secretsManagerSecret: {
|
|
95
|
+
* secretsManagerSecret: { // SecretsManagerSecretConfiguration
|
|
96
96
|
* kmsKeyId: "STRING_VALUE",
|
|
97
97
|
* secretPolicy: "STRING_VALUE",
|
|
98
98
|
* },
|
|
99
|
-
* s3Bucket: {
|
|
99
|
+
* s3Bucket: { // S3BucketConfiguration
|
|
100
100
|
* bucketPolicy: "STRING_VALUE",
|
|
101
|
-
* bucketAclGrants: [
|
|
102
|
-
* {
|
|
101
|
+
* bucketAclGrants: [ // S3BucketAclGrantConfigurationsList
|
|
102
|
+
* { // S3BucketAclGrantConfiguration
|
|
103
103
|
* permission: "STRING_VALUE", // required
|
|
104
|
-
* grantee: { // Union: only one key present
|
|
104
|
+
* grantee: { // AclGrantee Union: only one key present
|
|
105
105
|
* id: "STRING_VALUE",
|
|
106
106
|
* uri: "STRING_VALUE",
|
|
107
107
|
* },
|
|
108
108
|
* },
|
|
109
109
|
* ],
|
|
110
|
-
* bucketPublicAccessBlock: {
|
|
110
|
+
* bucketPublicAccessBlock: { // S3PublicAccessBlockConfiguration
|
|
111
111
|
* ignorePublicAcls: true || false, // required
|
|
112
112
|
* restrictPublicBuckets: true || false, // required
|
|
113
113
|
* },
|
|
114
|
-
* accessPoints: {
|
|
115
|
-
* "<keys>": {
|
|
114
|
+
* accessPoints: { // S3AccessPointConfigurationsMap
|
|
115
|
+
* "<keys>": { // S3AccessPointConfiguration
|
|
116
116
|
* accessPointPolicy: "STRING_VALUE",
|
|
117
117
|
* publicAccessBlock: {
|
|
118
118
|
* ignorePublicAcls: true || false, // required
|
|
119
119
|
* restrictPublicBuckets: true || false, // required
|
|
120
120
|
* },
|
|
121
|
-
* networkOrigin: { // Union: only one key present
|
|
122
|
-
* vpcConfiguration: {
|
|
121
|
+
* networkOrigin: { // NetworkOriginConfiguration Union: only one key present
|
|
122
|
+
* vpcConfiguration: { // VpcConfiguration
|
|
123
123
|
* vpcId: "STRING_VALUE", // required
|
|
124
124
|
* },
|
|
125
125
|
* internetConfiguration: {},
|
|
@@ -127,10 +127,10 @@ export interface CreateAccessPreviewCommandOutput extends CreateAccessPreviewRes
|
|
|
127
127
|
* },
|
|
128
128
|
* },
|
|
129
129
|
* },
|
|
130
|
-
* snsTopic: {
|
|
130
|
+
* snsTopic: { // SnsTopicConfiguration
|
|
131
131
|
* topicPolicy: "STRING_VALUE",
|
|
132
132
|
* },
|
|
133
|
-
* sqsQueue: {
|
|
133
|
+
* sqsQueue: { // SqsQueueConfiguration
|
|
134
134
|
* queuePolicy: "STRING_VALUE",
|
|
135
135
|
* },
|
|
136
136
|
* },
|
|
@@ -26,15 +26,15 @@ 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 = {
|
|
29
|
+
* const input = { // CreateAnalyzerRequest
|
|
30
30
|
* analyzerName: "STRING_VALUE", // required
|
|
31
31
|
* type: "STRING_VALUE", // required
|
|
32
|
-
* archiveRules: [
|
|
33
|
-
* {
|
|
32
|
+
* archiveRules: [ // InlineArchiveRulesList
|
|
33
|
+
* { // InlineArchiveRule
|
|
34
34
|
* ruleName: "STRING_VALUE", // required
|
|
35
|
-
* filter: { // required
|
|
36
|
-
* "<keys>": {
|
|
37
|
-
* eq: [
|
|
35
|
+
* filter: { // FilterCriteriaMap // required
|
|
36
|
+
* "<keys>": { // Criterion
|
|
37
|
+
* eq: [ // ValueList
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* neq: [
|
|
@@ -48,7 +48,7 @@ export interface CreateAnalyzerCommandOutput extends CreateAnalyzerResponse, __M
|
|
|
48
48
|
* },
|
|
49
49
|
* },
|
|
50
50
|
* ],
|
|
51
|
-
* tags: {
|
|
51
|
+
* tags: { // TagsMap
|
|
52
52
|
* "<keys>": "STRING_VALUE",
|
|
53
53
|
* },
|
|
54
54
|
* clientToken: "STRING_VALUE",
|