@aws-sdk/client-accessanalyzer 3.193.0 → 3.196.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/CHANGELOG.md +20 -0
- package/dist-cjs/AccessAnalyzerClient.js +11 -8
- package/dist-cjs/commands/ApplyArchiveRuleCommand.js +10 -0
- package/dist-cjs/commands/CancelPolicyGenerationCommand.js +10 -0
- package/dist-cjs/commands/CreateAccessPreviewCommand.js +10 -0
- package/dist-cjs/commands/CreateAnalyzerCommand.js +10 -0
- package/dist-cjs/commands/CreateArchiveRuleCommand.js +10 -0
- package/dist-cjs/commands/DeleteAnalyzerCommand.js +10 -0
- package/dist-cjs/commands/DeleteArchiveRuleCommand.js +10 -0
- package/dist-cjs/commands/GetAccessPreviewCommand.js +10 -0
- package/dist-cjs/commands/GetAnalyzedResourceCommand.js +10 -0
- package/dist-cjs/commands/GetAnalyzerCommand.js +10 -0
- package/dist-cjs/commands/GetArchiveRuleCommand.js +10 -0
- package/dist-cjs/commands/GetFindingCommand.js +10 -0
- package/dist-cjs/commands/GetGeneratedPolicyCommand.js +10 -0
- package/dist-cjs/commands/ListAccessPreviewFindingsCommand.js +10 -0
- package/dist-cjs/commands/ListAccessPreviewsCommand.js +10 -0
- package/dist-cjs/commands/ListAnalyzedResourcesCommand.js +10 -0
- package/dist-cjs/commands/ListAnalyzersCommand.js +10 -0
- package/dist-cjs/commands/ListArchiveRulesCommand.js +10 -0
- package/dist-cjs/commands/ListFindingsCommand.js +10 -0
- package/dist-cjs/commands/ListPolicyGenerationsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/StartPolicyGenerationCommand.js +10 -0
- package/dist-cjs/commands/StartResourceScanCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateArchiveRuleCommand.js +10 -0
- package/dist-cjs/commands/UpdateFindingsCommand.js +10 -0
- package/dist-cjs/commands/ValidatePolicyCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/models/models_0.js +93 -3
- package/dist-cjs/protocols/Aws_restJson1.js +259 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/AccessAnalyzerClient.js +12 -9
- package/dist-es/commands/ApplyArchiveRuleCommand.js +10 -0
- package/dist-es/commands/CancelPolicyGenerationCommand.js +10 -0
- package/dist-es/commands/CreateAccessPreviewCommand.js +10 -0
- package/dist-es/commands/CreateAnalyzerCommand.js +10 -0
- package/dist-es/commands/CreateArchiveRuleCommand.js +10 -0
- package/dist-es/commands/DeleteAnalyzerCommand.js +10 -0
- package/dist-es/commands/DeleteArchiveRuleCommand.js +10 -0
- package/dist-es/commands/GetAccessPreviewCommand.js +10 -0
- package/dist-es/commands/GetAnalyzedResourceCommand.js +10 -0
- package/dist-es/commands/GetAnalyzerCommand.js +10 -0
- package/dist-es/commands/GetArchiveRuleCommand.js +10 -0
- package/dist-es/commands/GetFindingCommand.js +10 -0
- package/dist-es/commands/GetGeneratedPolicyCommand.js +10 -0
- package/dist-es/commands/ListAccessPreviewFindingsCommand.js +10 -0
- package/dist-es/commands/ListAccessPreviewsCommand.js +10 -0
- package/dist-es/commands/ListAnalyzedResourcesCommand.js +10 -0
- package/dist-es/commands/ListAnalyzersCommand.js +10 -0
- package/dist-es/commands/ListArchiveRulesCommand.js +10 -0
- package/dist-es/commands/ListFindingsCommand.js +10 -0
- package/dist-es/commands/ListPolicyGenerationsCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/StartPolicyGenerationCommand.js +10 -0
- package/dist-es/commands/StartResourceScanCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateArchiveRuleCommand.js +10 -0
- package/dist-es/commands/UpdateFindingsCommand.js +10 -0
- package/dist-es/commands/ValidatePolicyCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/models/models_0.js +82 -0
- package/dist-es/protocols/Aws_restJson1.js +260 -1
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/AccessAnalyzerClient.d.ts +6 -9
- package/dist-types/commands/ApplyArchiveRuleCommand.d.ts +2 -0
- package/dist-types/commands/CancelPolicyGenerationCommand.d.ts +2 -0
- package/dist-types/commands/CreateAccessPreviewCommand.d.ts +2 -0
- package/dist-types/commands/CreateAnalyzerCommand.d.ts +2 -0
- package/dist-types/commands/CreateArchiveRuleCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAnalyzerCommand.d.ts +2 -0
- package/dist-types/commands/DeleteArchiveRuleCommand.d.ts +2 -0
- package/dist-types/commands/GetAccessPreviewCommand.d.ts +2 -0
- package/dist-types/commands/GetAnalyzedResourceCommand.d.ts +2 -0
- package/dist-types/commands/GetAnalyzerCommand.d.ts +2 -0
- package/dist-types/commands/GetArchiveRuleCommand.d.ts +2 -0
- package/dist-types/commands/GetFindingCommand.d.ts +2 -0
- package/dist-types/commands/GetGeneratedPolicyCommand.d.ts +2 -0
- package/dist-types/commands/ListAccessPreviewFindingsCommand.d.ts +2 -0
- package/dist-types/commands/ListAccessPreviewsCommand.d.ts +2 -0
- package/dist-types/commands/ListAnalyzedResourcesCommand.d.ts +2 -0
- package/dist-types/commands/ListAnalyzersCommand.d.ts +2 -0
- package/dist-types/commands/ListArchiveRulesCommand.d.ts +2 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +2 -0
- package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/StartPolicyGenerationCommand.d.ts +2 -0
- package/dist-types/commands/StartResourceScanCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateArchiveRuleCommand.d.ts +2 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +2 -0
- package/dist-types/commands/ValidatePolicyCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +475 -5
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/ApplyArchiveRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CancelPolicyGenerationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAccessPreviewCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAnalyzerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateArchiveRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAnalyzerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteArchiveRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccessPreviewCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAnalyzedResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAnalyzerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetArchiveRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFindingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetGeneratedPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAccessPreviewFindingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAccessPreviewsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAnalyzedResourcesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAnalyzersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListArchiveRulesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateArchiveRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ValidatePolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +227 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +5 -3
- package/dist-cjs/endpoints.js +0 -196
- package/dist-es/endpoints.js +0 -192
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, map as __map, parseRfc3339DateTime as __parseRfc3339DateTime, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { AccessAnalyzerServiceException as __BaseException } from "../models/AccessAnalyzerServiceException";
|
|
5
|
-
import { AccessDeniedException, AclGrantee, Configuration, ConflictException, InternalServerException, NetworkOriginConfiguration, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
|
+
import { AccessDeniedException, AclGrantee, Configuration, ConflictException, InternalServerException, NetworkOriginConfiguration, RdsDbClusterSnapshotAttributeValue, RdsDbSnapshotAttributeValue, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export const serializeAws_restJson1ApplyArchiveRuleCommand = async (input, context) => {
|
|
7
7
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
8
8
|
const headers = {
|
|
@@ -484,6 +484,7 @@ export const serializeAws_restJson1StartResourceScanCommand = async (input, cont
|
|
|
484
484
|
body = JSON.stringify({
|
|
485
485
|
...(input.analyzerArn != null && { analyzerArn: input.analyzerArn }),
|
|
486
486
|
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
487
|
+
...(input.resourceOwnerAccount != null && { resourceOwnerAccount: input.resourceOwnerAccount }),
|
|
487
488
|
});
|
|
488
489
|
return new __HttpRequest({
|
|
489
490
|
protocol,
|
|
@@ -2008,12 +2009,20 @@ const serializeAws_restJson1CloudTrailDetails = (input, context) => {
|
|
|
2008
2009
|
};
|
|
2009
2010
|
const serializeAws_restJson1Configuration = (input, context) => {
|
|
2010
2011
|
return Configuration.visit(input, {
|
|
2012
|
+
ebsSnapshot: (value) => ({ ebsSnapshot: serializeAws_restJson1EbsSnapshotConfiguration(value, context) }),
|
|
2013
|
+
ecrRepository: (value) => ({ ecrRepository: serializeAws_restJson1EcrRepositoryConfiguration(value, context) }),
|
|
2014
|
+
efsFileSystem: (value) => ({ efsFileSystem: serializeAws_restJson1EfsFileSystemConfiguration(value, context) }),
|
|
2011
2015
|
iamRole: (value) => ({ iamRole: serializeAws_restJson1IamRoleConfiguration(value, context) }),
|
|
2012
2016
|
kmsKey: (value) => ({ kmsKey: serializeAws_restJson1KmsKeyConfiguration(value, context) }),
|
|
2017
|
+
rdsDbClusterSnapshot: (value) => ({
|
|
2018
|
+
rdsDbClusterSnapshot: serializeAws_restJson1RdsDbClusterSnapshotConfiguration(value, context),
|
|
2019
|
+
}),
|
|
2020
|
+
rdsDbSnapshot: (value) => ({ rdsDbSnapshot: serializeAws_restJson1RdsDbSnapshotConfiguration(value, context) }),
|
|
2013
2021
|
s3Bucket: (value) => ({ s3Bucket: serializeAws_restJson1S3BucketConfiguration(value, context) }),
|
|
2014
2022
|
secretsManagerSecret: (value) => ({
|
|
2015
2023
|
secretsManagerSecret: serializeAws_restJson1SecretsManagerSecretConfiguration(value, context),
|
|
2016
2024
|
}),
|
|
2025
|
+
snsTopic: (value) => ({ snsTopic: serializeAws_restJson1SnsTopicConfiguration(value, context) }),
|
|
2017
2026
|
sqsQueue: (value) => ({ sqsQueue: serializeAws_restJson1SqsQueueConfiguration(value, context) }),
|
|
2018
2027
|
_: (name, value) => ({ name: value }),
|
|
2019
2028
|
});
|
|
@@ -2037,6 +2046,37 @@ const serializeAws_restJson1Criterion = (input, context) => {
|
|
|
2037
2046
|
...(input.neq != null && { neq: serializeAws_restJson1ValueList(input.neq, context) }),
|
|
2038
2047
|
};
|
|
2039
2048
|
};
|
|
2049
|
+
const serializeAws_restJson1EbsGroupList = (input, context) => {
|
|
2050
|
+
return input
|
|
2051
|
+
.filter((e) => e != null)
|
|
2052
|
+
.map((entry) => {
|
|
2053
|
+
return entry;
|
|
2054
|
+
});
|
|
2055
|
+
};
|
|
2056
|
+
const serializeAws_restJson1EbsSnapshotConfiguration = (input, context) => {
|
|
2057
|
+
return {
|
|
2058
|
+
...(input.groups != null && { groups: serializeAws_restJson1EbsGroupList(input.groups, context) }),
|
|
2059
|
+
...(input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId }),
|
|
2060
|
+
...(input.userIds != null && { userIds: serializeAws_restJson1EbsUserIdList(input.userIds, context) }),
|
|
2061
|
+
};
|
|
2062
|
+
};
|
|
2063
|
+
const serializeAws_restJson1EbsUserIdList = (input, context) => {
|
|
2064
|
+
return input
|
|
2065
|
+
.filter((e) => e != null)
|
|
2066
|
+
.map((entry) => {
|
|
2067
|
+
return entry;
|
|
2068
|
+
});
|
|
2069
|
+
};
|
|
2070
|
+
const serializeAws_restJson1EcrRepositoryConfiguration = (input, context) => {
|
|
2071
|
+
return {
|
|
2072
|
+
...(input.repositoryPolicy != null && { repositoryPolicy: input.repositoryPolicy }),
|
|
2073
|
+
};
|
|
2074
|
+
};
|
|
2075
|
+
const serializeAws_restJson1EfsFileSystemConfiguration = (input, context) => {
|
|
2076
|
+
return {
|
|
2077
|
+
...(input.fileSystemPolicy != null && { fileSystemPolicy: input.fileSystemPolicy }),
|
|
2078
|
+
};
|
|
2079
|
+
};
|
|
2040
2080
|
const serializeAws_restJson1FilterCriteriaMap = (input, context) => {
|
|
2041
2081
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2042
2082
|
if (value === null) {
|
|
@@ -2157,6 +2197,70 @@ const serializeAws_restJson1PolicyGenerationDetails = (input, context) => {
|
|
|
2157
2197
|
...(input.principalArn != null && { principalArn: input.principalArn }),
|
|
2158
2198
|
};
|
|
2159
2199
|
};
|
|
2200
|
+
const serializeAws_restJson1RdsDbClusterSnapshotAccountIdsList = (input, context) => {
|
|
2201
|
+
return input
|
|
2202
|
+
.filter((e) => e != null)
|
|
2203
|
+
.map((entry) => {
|
|
2204
|
+
return entry;
|
|
2205
|
+
});
|
|
2206
|
+
};
|
|
2207
|
+
const serializeAws_restJson1RdsDbClusterSnapshotAttributesMap = (input, context) => {
|
|
2208
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2209
|
+
if (value === null) {
|
|
2210
|
+
return acc;
|
|
2211
|
+
}
|
|
2212
|
+
return {
|
|
2213
|
+
...acc,
|
|
2214
|
+
[key]: serializeAws_restJson1RdsDbClusterSnapshotAttributeValue(value, context),
|
|
2215
|
+
};
|
|
2216
|
+
}, {});
|
|
2217
|
+
};
|
|
2218
|
+
const serializeAws_restJson1RdsDbClusterSnapshotAttributeValue = (input, context) => {
|
|
2219
|
+
return RdsDbClusterSnapshotAttributeValue.visit(input, {
|
|
2220
|
+
accountIds: (value) => ({ accountIds: serializeAws_restJson1RdsDbClusterSnapshotAccountIdsList(value, context) }),
|
|
2221
|
+
_: (name, value) => ({ name: value }),
|
|
2222
|
+
});
|
|
2223
|
+
};
|
|
2224
|
+
const serializeAws_restJson1RdsDbClusterSnapshotConfiguration = (input, context) => {
|
|
2225
|
+
return {
|
|
2226
|
+
...(input.attributes != null && {
|
|
2227
|
+
attributes: serializeAws_restJson1RdsDbClusterSnapshotAttributesMap(input.attributes, context),
|
|
2228
|
+
}),
|
|
2229
|
+
...(input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId }),
|
|
2230
|
+
};
|
|
2231
|
+
};
|
|
2232
|
+
const serializeAws_restJson1RdsDbSnapshotAccountIdsList = (input, context) => {
|
|
2233
|
+
return input
|
|
2234
|
+
.filter((e) => e != null)
|
|
2235
|
+
.map((entry) => {
|
|
2236
|
+
return entry;
|
|
2237
|
+
});
|
|
2238
|
+
};
|
|
2239
|
+
const serializeAws_restJson1RdsDbSnapshotAttributesMap = (input, context) => {
|
|
2240
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2241
|
+
if (value === null) {
|
|
2242
|
+
return acc;
|
|
2243
|
+
}
|
|
2244
|
+
return {
|
|
2245
|
+
...acc,
|
|
2246
|
+
[key]: serializeAws_restJson1RdsDbSnapshotAttributeValue(value, context),
|
|
2247
|
+
};
|
|
2248
|
+
}, {});
|
|
2249
|
+
};
|
|
2250
|
+
const serializeAws_restJson1RdsDbSnapshotAttributeValue = (input, context) => {
|
|
2251
|
+
return RdsDbSnapshotAttributeValue.visit(input, {
|
|
2252
|
+
accountIds: (value) => ({ accountIds: serializeAws_restJson1RdsDbSnapshotAccountIdsList(value, context) }),
|
|
2253
|
+
_: (name, value) => ({ name: value }),
|
|
2254
|
+
});
|
|
2255
|
+
};
|
|
2256
|
+
const serializeAws_restJson1RdsDbSnapshotConfiguration = (input, context) => {
|
|
2257
|
+
return {
|
|
2258
|
+
...(input.attributes != null && {
|
|
2259
|
+
attributes: serializeAws_restJson1RdsDbSnapshotAttributesMap(input.attributes, context),
|
|
2260
|
+
}),
|
|
2261
|
+
...(input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId }),
|
|
2262
|
+
};
|
|
2263
|
+
};
|
|
2160
2264
|
const serializeAws_restJson1RegionList = (input, context) => {
|
|
2161
2265
|
return input
|
|
2162
2266
|
.filter((e) => e != null)
|
|
@@ -2225,6 +2329,11 @@ const serializeAws_restJson1SecretsManagerSecretConfiguration = (input, context)
|
|
|
2225
2329
|
...(input.secretPolicy != null && { secretPolicy: input.secretPolicy }),
|
|
2226
2330
|
};
|
|
2227
2331
|
};
|
|
2332
|
+
const serializeAws_restJson1SnsTopicConfiguration = (input, context) => {
|
|
2333
|
+
return {
|
|
2334
|
+
...(input.topicPolicy != null && { topicPolicy: input.topicPolicy }),
|
|
2335
|
+
};
|
|
2336
|
+
};
|
|
2228
2337
|
const serializeAws_restJson1SortCriteria = (input, context) => {
|
|
2229
2338
|
return {
|
|
2230
2339
|
...(input.attributeName != null && { attributeName: input.attributeName }),
|
|
@@ -2463,6 +2572,21 @@ const deserializeAws_restJson1ConditionKeyMap = (output, context) => {
|
|
|
2463
2572
|
}, {});
|
|
2464
2573
|
};
|
|
2465
2574
|
const deserializeAws_restJson1Configuration = (output, context) => {
|
|
2575
|
+
if (output.ebsSnapshot != null) {
|
|
2576
|
+
return {
|
|
2577
|
+
ebsSnapshot: deserializeAws_restJson1EbsSnapshotConfiguration(output.ebsSnapshot, context),
|
|
2578
|
+
};
|
|
2579
|
+
}
|
|
2580
|
+
if (output.ecrRepository != null) {
|
|
2581
|
+
return {
|
|
2582
|
+
ecrRepository: deserializeAws_restJson1EcrRepositoryConfiguration(output.ecrRepository, context),
|
|
2583
|
+
};
|
|
2584
|
+
}
|
|
2585
|
+
if (output.efsFileSystem != null) {
|
|
2586
|
+
return {
|
|
2587
|
+
efsFileSystem: deserializeAws_restJson1EfsFileSystemConfiguration(output.efsFileSystem, context),
|
|
2588
|
+
};
|
|
2589
|
+
}
|
|
2466
2590
|
if (output.iamRole != null) {
|
|
2467
2591
|
return {
|
|
2468
2592
|
iamRole: deserializeAws_restJson1IamRoleConfiguration(output.iamRole, context),
|
|
@@ -2473,6 +2597,16 @@ const deserializeAws_restJson1Configuration = (output, context) => {
|
|
|
2473
2597
|
kmsKey: deserializeAws_restJson1KmsKeyConfiguration(output.kmsKey, context),
|
|
2474
2598
|
};
|
|
2475
2599
|
}
|
|
2600
|
+
if (output.rdsDbClusterSnapshot != null) {
|
|
2601
|
+
return {
|
|
2602
|
+
rdsDbClusterSnapshot: deserializeAws_restJson1RdsDbClusterSnapshotConfiguration(output.rdsDbClusterSnapshot, context),
|
|
2603
|
+
};
|
|
2604
|
+
}
|
|
2605
|
+
if (output.rdsDbSnapshot != null) {
|
|
2606
|
+
return {
|
|
2607
|
+
rdsDbSnapshot: deserializeAws_restJson1RdsDbSnapshotConfiguration(output.rdsDbSnapshot, context),
|
|
2608
|
+
};
|
|
2609
|
+
}
|
|
2476
2610
|
if (output.s3Bucket != null) {
|
|
2477
2611
|
return {
|
|
2478
2612
|
s3Bucket: deserializeAws_restJson1S3BucketConfiguration(output.s3Bucket, context),
|
|
@@ -2483,6 +2617,11 @@ const deserializeAws_restJson1Configuration = (output, context) => {
|
|
|
2483
2617
|
secretsManagerSecret: deserializeAws_restJson1SecretsManagerSecretConfiguration(output.secretsManagerSecret, context),
|
|
2484
2618
|
};
|
|
2485
2619
|
}
|
|
2620
|
+
if (output.snsTopic != null) {
|
|
2621
|
+
return {
|
|
2622
|
+
snsTopic: deserializeAws_restJson1SnsTopicConfiguration(output.snsTopic, context),
|
|
2623
|
+
};
|
|
2624
|
+
}
|
|
2486
2625
|
if (output.sqsQueue != null) {
|
|
2487
2626
|
return {
|
|
2488
2627
|
sqsQueue: deserializeAws_restJson1SqsQueueConfiguration(output.sqsQueue, context),
|
|
@@ -2509,6 +2648,45 @@ const deserializeAws_restJson1Criterion = (output, context) => {
|
|
|
2509
2648
|
neq: output.neq != null ? deserializeAws_restJson1ValueList(output.neq, context) : undefined,
|
|
2510
2649
|
};
|
|
2511
2650
|
};
|
|
2651
|
+
const deserializeAws_restJson1EbsGroupList = (output, context) => {
|
|
2652
|
+
const retVal = (output || [])
|
|
2653
|
+
.filter((e) => e != null)
|
|
2654
|
+
.map((entry) => {
|
|
2655
|
+
if (entry === null) {
|
|
2656
|
+
return null;
|
|
2657
|
+
}
|
|
2658
|
+
return __expectString(entry);
|
|
2659
|
+
});
|
|
2660
|
+
return retVal;
|
|
2661
|
+
};
|
|
2662
|
+
const deserializeAws_restJson1EbsSnapshotConfiguration = (output, context) => {
|
|
2663
|
+
return {
|
|
2664
|
+
groups: output.groups != null ? deserializeAws_restJson1EbsGroupList(output.groups, context) : undefined,
|
|
2665
|
+
kmsKeyId: __expectString(output.kmsKeyId),
|
|
2666
|
+
userIds: output.userIds != null ? deserializeAws_restJson1EbsUserIdList(output.userIds, context) : undefined,
|
|
2667
|
+
};
|
|
2668
|
+
};
|
|
2669
|
+
const deserializeAws_restJson1EbsUserIdList = (output, context) => {
|
|
2670
|
+
const retVal = (output || [])
|
|
2671
|
+
.filter((e) => e != null)
|
|
2672
|
+
.map((entry) => {
|
|
2673
|
+
if (entry === null) {
|
|
2674
|
+
return null;
|
|
2675
|
+
}
|
|
2676
|
+
return __expectString(entry);
|
|
2677
|
+
});
|
|
2678
|
+
return retVal;
|
|
2679
|
+
};
|
|
2680
|
+
const deserializeAws_restJson1EcrRepositoryConfiguration = (output, context) => {
|
|
2681
|
+
return {
|
|
2682
|
+
repositoryPolicy: __expectString(output.repositoryPolicy),
|
|
2683
|
+
};
|
|
2684
|
+
};
|
|
2685
|
+
const deserializeAws_restJson1EfsFileSystemConfiguration = (output, context) => {
|
|
2686
|
+
return {
|
|
2687
|
+
fileSystemPolicy: __expectString(output.fileSystemPolicy),
|
|
2688
|
+
};
|
|
2689
|
+
};
|
|
2512
2690
|
const deserializeAws_restJson1FilterCriteriaMap = (output, context) => {
|
|
2513
2691
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2514
2692
|
if (value === null) {
|
|
@@ -2814,6 +2992,82 @@ const deserializeAws_restJson1PrincipalMap = (output, context) => {
|
|
|
2814
2992
|
};
|
|
2815
2993
|
}, {});
|
|
2816
2994
|
};
|
|
2995
|
+
const deserializeAws_restJson1RdsDbClusterSnapshotAccountIdsList = (output, context) => {
|
|
2996
|
+
const retVal = (output || [])
|
|
2997
|
+
.filter((e) => e != null)
|
|
2998
|
+
.map((entry) => {
|
|
2999
|
+
if (entry === null) {
|
|
3000
|
+
return null;
|
|
3001
|
+
}
|
|
3002
|
+
return __expectString(entry);
|
|
3003
|
+
});
|
|
3004
|
+
return retVal;
|
|
3005
|
+
};
|
|
3006
|
+
const deserializeAws_restJson1RdsDbClusterSnapshotAttributesMap = (output, context) => {
|
|
3007
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3008
|
+
if (value === null) {
|
|
3009
|
+
return acc;
|
|
3010
|
+
}
|
|
3011
|
+
return {
|
|
3012
|
+
...acc,
|
|
3013
|
+
[key]: deserializeAws_restJson1RdsDbClusterSnapshotAttributeValue(__expectUnion(value), context),
|
|
3014
|
+
};
|
|
3015
|
+
}, {});
|
|
3016
|
+
};
|
|
3017
|
+
const deserializeAws_restJson1RdsDbClusterSnapshotAttributeValue = (output, context) => {
|
|
3018
|
+
if (output.accountIds != null) {
|
|
3019
|
+
return {
|
|
3020
|
+
accountIds: deserializeAws_restJson1RdsDbClusterSnapshotAccountIdsList(output.accountIds, context),
|
|
3021
|
+
};
|
|
3022
|
+
}
|
|
3023
|
+
return { $unknown: Object.entries(output)[0] };
|
|
3024
|
+
};
|
|
3025
|
+
const deserializeAws_restJson1RdsDbClusterSnapshotConfiguration = (output, context) => {
|
|
3026
|
+
return {
|
|
3027
|
+
attributes: output.attributes != null
|
|
3028
|
+
? deserializeAws_restJson1RdsDbClusterSnapshotAttributesMap(output.attributes, context)
|
|
3029
|
+
: undefined,
|
|
3030
|
+
kmsKeyId: __expectString(output.kmsKeyId),
|
|
3031
|
+
};
|
|
3032
|
+
};
|
|
3033
|
+
const deserializeAws_restJson1RdsDbSnapshotAccountIdsList = (output, context) => {
|
|
3034
|
+
const retVal = (output || [])
|
|
3035
|
+
.filter((e) => e != null)
|
|
3036
|
+
.map((entry) => {
|
|
3037
|
+
if (entry === null) {
|
|
3038
|
+
return null;
|
|
3039
|
+
}
|
|
3040
|
+
return __expectString(entry);
|
|
3041
|
+
});
|
|
3042
|
+
return retVal;
|
|
3043
|
+
};
|
|
3044
|
+
const deserializeAws_restJson1RdsDbSnapshotAttributesMap = (output, context) => {
|
|
3045
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3046
|
+
if (value === null) {
|
|
3047
|
+
return acc;
|
|
3048
|
+
}
|
|
3049
|
+
return {
|
|
3050
|
+
...acc,
|
|
3051
|
+
[key]: deserializeAws_restJson1RdsDbSnapshotAttributeValue(__expectUnion(value), context),
|
|
3052
|
+
};
|
|
3053
|
+
}, {});
|
|
3054
|
+
};
|
|
3055
|
+
const deserializeAws_restJson1RdsDbSnapshotAttributeValue = (output, context) => {
|
|
3056
|
+
if (output.accountIds != null) {
|
|
3057
|
+
return {
|
|
3058
|
+
accountIds: deserializeAws_restJson1RdsDbSnapshotAccountIdsList(output.accountIds, context),
|
|
3059
|
+
};
|
|
3060
|
+
}
|
|
3061
|
+
return { $unknown: Object.entries(output)[0] };
|
|
3062
|
+
};
|
|
3063
|
+
const deserializeAws_restJson1RdsDbSnapshotConfiguration = (output, context) => {
|
|
3064
|
+
return {
|
|
3065
|
+
attributes: output.attributes != null
|
|
3066
|
+
? deserializeAws_restJson1RdsDbSnapshotAttributesMap(output.attributes, context)
|
|
3067
|
+
: undefined,
|
|
3068
|
+
kmsKeyId: __expectString(output.kmsKeyId),
|
|
3069
|
+
};
|
|
3070
|
+
};
|
|
2817
3071
|
const deserializeAws_restJson1RegionList = (output, context) => {
|
|
2818
3072
|
const retVal = (output || [])
|
|
2819
3073
|
.filter((e) => e != null)
|
|
@@ -2901,6 +3155,11 @@ const deserializeAws_restJson1SharedViaList = (output, context) => {
|
|
|
2901
3155
|
});
|
|
2902
3156
|
return retVal;
|
|
2903
3157
|
};
|
|
3158
|
+
const deserializeAws_restJson1SnsTopicConfiguration = (output, context) => {
|
|
3159
|
+
return {
|
|
3160
|
+
topicPolicy: __expectString(output.topicPolicy),
|
|
3161
|
+
};
|
|
3162
|
+
};
|
|
2904
3163
|
const deserializeAws_restJson1Span = (output, context) => {
|
|
2905
3164
|
return {
|
|
2906
3165
|
end: output.end != null ? deserializeAws_restJson1Position(output.end, context) : undefined,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
-
import {
|
|
2
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
3
3
|
export const getRuntimeConfig = (config) => ({
|
|
4
4
|
apiVersion: "2019-11-01",
|
|
5
5
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
6
7
|
logger: config?.logger ?? {},
|
|
7
|
-
regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
|
|
8
8
|
serviceId: config?.serviceId ?? "AccessAnalyzer",
|
|
9
9
|
urlParser: config?.urlParser ?? parseUrl,
|
|
10
10
|
});
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
2
3
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
4
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
8
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider,
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
10
|
import { ApplyArchiveRuleCommandInput, ApplyArchiveRuleCommandOutput } from "./commands/ApplyArchiveRuleCommand";
|
|
10
11
|
import { CancelPolicyGenerationCommandInput, CancelPolicyGenerationCommandOutput } from "./commands/CancelPolicyGenerationCommand";
|
|
11
12
|
import { CreateAccessPreviewCommandInput, CreateAccessPreviewCommandOutput } from "./commands/CreateAccessPreviewCommand";
|
|
@@ -34,6 +35,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
34
35
|
import { UpdateArchiveRuleCommandInput, UpdateArchiveRuleCommandOutput } from "./commands/UpdateArchiveRuleCommand";
|
|
35
36
|
import { UpdateFindingsCommandInput, UpdateFindingsCommandOutput } from "./commands/UpdateFindingsCommand";
|
|
36
37
|
import { ValidatePolicyCommandInput, ValidatePolicyCommandOutput } from "./commands/ValidatePolicyCommand";
|
|
38
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
37
39
|
export declare type ServiceInputTypes = ApplyArchiveRuleCommandInput | CancelPolicyGenerationCommandInput | CreateAccessPreviewCommandInput | CreateAnalyzerCommandInput | CreateArchiveRuleCommandInput | DeleteAnalyzerCommandInput | DeleteArchiveRuleCommandInput | GetAccessPreviewCommandInput | GetAnalyzedResourceCommandInput | GetAnalyzerCommandInput | GetArchiveRuleCommandInput | GetFindingCommandInput | GetGeneratedPolicyCommandInput | ListAccessPreviewFindingsCommandInput | ListAccessPreviewsCommandInput | ListAnalyzedResourcesCommandInput | ListAnalyzersCommandInput | ListArchiveRulesCommandInput | ListFindingsCommandInput | ListPolicyGenerationsCommandInput | ListTagsForResourceCommandInput | StartPolicyGenerationCommandInput | StartResourceScanCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateArchiveRuleCommandInput | UpdateFindingsCommandInput | ValidatePolicyCommandInput;
|
|
38
40
|
export declare type ServiceOutputTypes = ApplyArchiveRuleCommandOutput | CancelPolicyGenerationCommandOutput | CreateAccessPreviewCommandOutput | CreateAnalyzerCommandOutput | CreateArchiveRuleCommandOutput | DeleteAnalyzerCommandOutput | DeleteArchiveRuleCommandOutput | GetAccessPreviewCommandOutput | GetAnalyzedResourceCommandOutput | GetAnalyzerCommandOutput | GetArchiveRuleCommandOutput | GetFindingCommandOutput | GetGeneratedPolicyCommandOutput | ListAccessPreviewFindingsCommandOutput | ListAccessPreviewsCommandOutput | ListAnalyzedResourcesCommandOutput | ListAnalyzersCommandOutput | ListArchiveRulesCommandOutput | ListFindingsCommandOutput | ListPolicyGenerationsCommandOutput | ListTagsForResourceCommandOutput | StartPolicyGenerationCommandOutput | StartResourceScanCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateArchiveRuleCommandOutput | UpdateFindingsCommandOutput | ValidatePolicyCommandOutput;
|
|
39
41
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
@@ -126,11 +128,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
126
128
|
* @internal
|
|
127
129
|
*/
|
|
128
130
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
129
|
-
/**
|
|
130
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
131
|
-
* @internal
|
|
132
|
-
*/
|
|
133
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
134
131
|
/**
|
|
135
132
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
136
133
|
* @internal
|
|
@@ -141,13 +138,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
141
138
|
*/
|
|
142
139
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
143
140
|
}
|
|
144
|
-
declare type AccessAnalyzerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig &
|
|
141
|
+
declare type AccessAnalyzerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
145
142
|
/**
|
|
146
143
|
* The configuration interface of AccessAnalyzerClient class constructor that set the region, credentials and other options.
|
|
147
144
|
*/
|
|
148
145
|
export interface AccessAnalyzerClientConfig extends AccessAnalyzerClientConfigType {
|
|
149
146
|
}
|
|
150
|
-
declare type AccessAnalyzerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig &
|
|
147
|
+
declare type AccessAnalyzerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
151
148
|
/**
|
|
152
149
|
* The resolved configuration interface of AccessAnalyzerClient class. This is resolved and normalized from the {@link AccessAnalyzerClientConfig | constructor configuration interface}.
|
|
153
150
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
@@ -26,6 +27,7 @@ export interface ApplyArchiveRuleCommandOutput extends __MetadataBearer {
|
|
|
26
27
|
*/
|
|
27
28
|
export declare class ApplyArchiveRuleCommand extends $Command<ApplyArchiveRuleCommandInput, ApplyArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
28
29
|
readonly input: ApplyArchiveRuleCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
31
|
constructor(input: ApplyArchiveRuleCommandInput);
|
|
30
32
|
/**
|
|
31
33
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
@@ -25,6 +26,7 @@ export interface CancelPolicyGenerationCommandOutput extends CancelPolicyGenerat
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CancelPolicyGenerationCommand extends $Command<CancelPolicyGenerationCommandInput, CancelPolicyGenerationCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
27
28
|
readonly input: CancelPolicyGenerationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CancelPolicyGenerationCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
@@ -26,6 +27,7 @@ export interface CreateAccessPreviewCommandOutput extends CreateAccessPreviewRes
|
|
|
26
27
|
*/
|
|
27
28
|
export declare class CreateAccessPreviewCommand extends $Command<CreateAccessPreviewCommandInput, CreateAccessPreviewCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
28
29
|
readonly input: CreateAccessPreviewCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
31
|
constructor(input: CreateAccessPreviewCommandInput);
|
|
30
32
|
/**
|
|
31
33
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
@@ -25,6 +26,7 @@ export interface CreateAnalyzerCommandOutput extends CreateAnalyzerResponse, __M
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateAnalyzerCommand extends $Command<CreateAnalyzerCommandInput, CreateAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateAnalyzerCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateAnalyzerCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
@@ -27,6 +28,7 @@ export interface CreateArchiveRuleCommandOutput extends __MetadataBearer {
|
|
|
27
28
|
*/
|
|
28
29
|
export declare class CreateArchiveRuleCommand extends $Command<CreateArchiveRuleCommandInput, CreateArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
29
30
|
readonly input: CreateArchiveRuleCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
32
|
constructor(input: CreateArchiveRuleCommandInput);
|
|
31
33
|
/**
|
|
32
34
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
@@ -27,6 +28,7 @@ export interface DeleteAnalyzerCommandOutput extends __MetadataBearer {
|
|
|
27
28
|
*/
|
|
28
29
|
export declare class DeleteAnalyzerCommand extends $Command<DeleteAnalyzerCommandInput, DeleteAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
29
30
|
readonly input: DeleteAnalyzerCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
32
|
constructor(input: DeleteAnalyzerCommandInput);
|
|
31
33
|
/**
|
|
32
34
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
@@ -25,6 +26,7 @@ export interface DeleteArchiveRuleCommandOutput extends __MetadataBearer {
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class DeleteArchiveRuleCommand extends $Command<DeleteArchiveRuleCommandInput, DeleteArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
27
28
|
readonly input: DeleteArchiveRuleCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: DeleteArchiveRuleCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
@@ -25,6 +26,7 @@ export interface GetAccessPreviewCommandOutput extends GetAccessPreviewResponse,
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class GetAccessPreviewCommand extends $Command<GetAccessPreviewCommandInput, GetAccessPreviewCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
27
28
|
readonly input: GetAccessPreviewCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetAccessPreviewCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
@@ -25,6 +26,7 @@ export interface GetAnalyzedResourceCommandOutput extends GetAnalyzedResourceRes
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class GetAnalyzedResourceCommand extends $Command<GetAnalyzedResourceCommandInput, GetAnalyzedResourceCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
27
28
|
readonly input: GetAnalyzedResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetAnalyzedResourceCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
@@ -25,6 +26,7 @@ export interface GetAnalyzerCommandOutput extends GetAnalyzerResponse, __Metadat
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class GetAnalyzerCommand extends $Command<GetAnalyzerCommandInput, GetAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
27
28
|
readonly input: GetAnalyzerCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetAnalyzerCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
@@ -26,6 +27,7 @@ export interface GetArchiveRuleCommandOutput extends GetArchiveRuleResponse, __M
|
|
|
26
27
|
*/
|
|
27
28
|
export declare class GetArchiveRuleCommand extends $Command<GetArchiveRuleCommandInput, GetArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
28
29
|
readonly input: GetArchiveRuleCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
31
|
constructor(input: GetArchiveRuleCommandInput);
|
|
30
32
|
/**
|
|
31
33
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
@@ -25,6 +26,7 @@ export interface GetFindingCommandOutput extends GetFindingResponse, __MetadataB
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class GetFindingCommand extends $Command<GetFindingCommandInput, GetFindingCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
27
28
|
readonly input: GetFindingCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetFindingCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
@@ -26,6 +27,7 @@ export interface GetGeneratedPolicyCommandOutput extends GetGeneratedPolicyRespo
|
|
|
26
27
|
*/
|
|
27
28
|
export declare class GetGeneratedPolicyCommand extends $Command<GetGeneratedPolicyCommandInput, GetGeneratedPolicyCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
28
29
|
readonly input: GetGeneratedPolicyCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
31
|
constructor(input: GetGeneratedPolicyCommandInput);
|
|
30
32
|
/**
|
|
31
33
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
@@ -26,6 +27,7 @@ export interface ListAccessPreviewFindingsCommandOutput extends ListAccessPrevie
|
|
|
26
27
|
*/
|
|
27
28
|
export declare class ListAccessPreviewFindingsCommand extends $Command<ListAccessPreviewFindingsCommandInput, ListAccessPreviewFindingsCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
28
29
|
readonly input: ListAccessPreviewFindingsCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
31
|
constructor(input: ListAccessPreviewFindingsCommandInput);
|
|
30
32
|
/**
|
|
31
33
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
@@ -25,6 +26,7 @@ export interface ListAccessPreviewsCommandOutput extends ListAccessPreviewsRespo
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class ListAccessPreviewsCommand extends $Command<ListAccessPreviewsCommandInput, ListAccessPreviewsCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
27
28
|
readonly input: ListAccessPreviewsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: ListAccessPreviewsCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
@@ -26,6 +27,7 @@ export interface ListAnalyzedResourcesCommandOutput extends ListAnalyzedResource
|
|
|
26
27
|
*/
|
|
27
28
|
export declare class ListAnalyzedResourcesCommand extends $Command<ListAnalyzedResourcesCommandInput, ListAnalyzedResourcesCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
28
29
|
readonly input: ListAnalyzedResourcesCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
31
|
constructor(input: ListAnalyzedResourcesCommandInput);
|
|
30
32
|
/**
|
|
31
33
|
* @internal
|