@aws-sdk/client-accessanalyzer 3.1047.0 → 3.1049.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/README.md +14 -0
- package/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +37 -13
- package/dist-cjs/runtimeConfig.browser.js +5 -5
- package/dist-cjs/runtimeConfig.js +2 -3
- package/dist-cjs/schemas/schemas_0.js +34 -7
- package/dist-es/AccessAnalyzer.js +4 -0
- package/dist-es/AccessAnalyzerClient.js +1 -4
- package/dist-es/commands/CreateServiceLinkedAnalyzerCommand.js +16 -0
- package/dist-es/commands/DeleteServiceLinkedAnalyzerCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeExtensions.js +1 -1
- package/dist-es/schemas/schemas_0.js +29 -2
- package/dist-types/AccessAnalyzer.d.ts +14 -0
- package/dist-types/AccessAnalyzerClient.d.ts +5 -4
- package/dist-types/commands/CreateServiceLinkedAnalyzerCommand.d.ts +150 -0
- package/dist-types/commands/DeleteServiceLinkedAnalyzerCommand.d.ts +93 -0
- package/dist-types/commands/GetAnalyzerCommand.d.ts +1 -0
- package/dist-types/commands/ListAnalyzersCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +58 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/AccessAnalyzer.d.ts +34 -0
- package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +13 -3
- package/dist-types/ts3.4/commands/CreateServiceLinkedAnalyzerCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteServiceLinkedAnalyzerCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +6 -14
package/README.md
CHANGED
|
@@ -237,6 +237,13 @@ CreateArchiveRule
|
|
|
237
237
|
</details>
|
|
238
238
|
<details>
|
|
239
239
|
<summary>
|
|
240
|
+
CreateServiceLinkedAnalyzer
|
|
241
|
+
</summary>
|
|
242
|
+
|
|
243
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/CreateServiceLinkedAnalyzerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/CreateServiceLinkedAnalyzerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/CreateServiceLinkedAnalyzerCommandOutput/)
|
|
244
|
+
</details>
|
|
245
|
+
<details>
|
|
246
|
+
<summary>
|
|
240
247
|
DeleteAnalyzer
|
|
241
248
|
</summary>
|
|
242
249
|
|
|
@@ -251,6 +258,13 @@ DeleteArchiveRule
|
|
|
251
258
|
</details>
|
|
252
259
|
<details>
|
|
253
260
|
<summary>
|
|
261
|
+
DeleteServiceLinkedAnalyzer
|
|
262
|
+
</summary>
|
|
263
|
+
|
|
264
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/DeleteServiceLinkedAnalyzerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/DeleteServiceLinkedAnalyzerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/DeleteServiceLinkedAnalyzerCommandOutput/)
|
|
265
|
+
</details>
|
|
266
|
+
<details>
|
|
267
|
+
<summary>
|
|
254
268
|
GenerateFindingRecommendation
|
|
255
269
|
</summary>
|
|
256
270
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const
|
|
4
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
5
5
|
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
7
|
const cache = new endpoints_1.EndpointCache({
|
|
@@ -15,4 +15,4 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
endpoints_1.customEndpointFunctions.aws =
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
-
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
-
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
3
|
+
var client$1 = require('@aws-sdk/core/client');
|
|
7
4
|
var core = require('@smithy/core');
|
|
8
5
|
var client = require('@smithy/core/client');
|
|
9
6
|
var config = require('@smithy/core/config');
|
|
@@ -13,7 +10,6 @@ var retry = require('@smithy/core/retry');
|
|
|
13
10
|
var schema = require('@smithy/core/schema');
|
|
14
11
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
15
12
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
|
-
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
13
|
var schemas_0 = require('./schemas/schemas_0');
|
|
18
14
|
var errors = require('./models/errors');
|
|
19
15
|
var AccessAnalyzerServiceException = require('./models/AccessAnalyzerServiceException');
|
|
@@ -72,9 +68,9 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
72
68
|
};
|
|
73
69
|
|
|
74
70
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
75
|
-
const extensionConfiguration = Object.assign(
|
|
71
|
+
const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
76
72
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
77
|
-
return Object.assign(runtimeConfig,
|
|
73
|
+
return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
78
74
|
};
|
|
79
75
|
|
|
80
76
|
class AccessAnalyzerClient extends client.Client {
|
|
@@ -84,21 +80,21 @@ class AccessAnalyzerClient extends client.Client {
|
|
|
84
80
|
super(_config_0);
|
|
85
81
|
this.initConfig = _config_0;
|
|
86
82
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
87
|
-
const _config_2 =
|
|
83
|
+
const _config_2 = client$1.resolveUserAgentConfig(_config_1);
|
|
88
84
|
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
89
85
|
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
90
|
-
const _config_5 =
|
|
86
|
+
const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
|
|
91
87
|
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
92
88
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
89
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
90
|
this.config = _config_8;
|
|
95
91
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
96
|
-
this.middlewareStack.use(
|
|
92
|
+
this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
|
|
97
93
|
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
98
94
|
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
99
|
-
this.middlewareStack.use(
|
|
100
|
-
this.middlewareStack.use(
|
|
101
|
-
this.middlewareStack.use(
|
|
95
|
+
this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
|
|
102
98
|
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
103
99
|
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultAccessAnalyzerHttpAuthSchemeParametersProvider,
|
|
104
100
|
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
@@ -208,6 +204,18 @@ class CreateArchiveRuleCommand extends client.Command
|
|
|
208
204
|
.build() {
|
|
209
205
|
}
|
|
210
206
|
|
|
207
|
+
class CreateServiceLinkedAnalyzerCommand extends client.Command
|
|
208
|
+
.classBuilder()
|
|
209
|
+
.ep(commonParams)
|
|
210
|
+
.m(function (Command, cs, config, o) {
|
|
211
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
212
|
+
})
|
|
213
|
+
.s("AccessAnalyzer", "CreateServiceLinkedAnalyzer", {})
|
|
214
|
+
.n("AccessAnalyzerClient", "CreateServiceLinkedAnalyzerCommand")
|
|
215
|
+
.sc(schemas_0.CreateServiceLinkedAnalyzer$)
|
|
216
|
+
.build() {
|
|
217
|
+
}
|
|
218
|
+
|
|
211
219
|
class DeleteAnalyzerCommand extends client.Command
|
|
212
220
|
.classBuilder()
|
|
213
221
|
.ep(commonParams)
|
|
@@ -232,6 +240,18 @@ class DeleteArchiveRuleCommand extends client.Command
|
|
|
232
240
|
.build() {
|
|
233
241
|
}
|
|
234
242
|
|
|
243
|
+
class DeleteServiceLinkedAnalyzerCommand extends client.Command
|
|
244
|
+
.classBuilder()
|
|
245
|
+
.ep(commonParams)
|
|
246
|
+
.m(function (Command, cs, config, o) {
|
|
247
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
248
|
+
})
|
|
249
|
+
.s("AccessAnalyzer", "DeleteServiceLinkedAnalyzer", {})
|
|
250
|
+
.n("AccessAnalyzerClient", "DeleteServiceLinkedAnalyzerCommand")
|
|
251
|
+
.sc(schemas_0.DeleteServiceLinkedAnalyzer$)
|
|
252
|
+
.build() {
|
|
253
|
+
}
|
|
254
|
+
|
|
235
255
|
class GenerateFindingRecommendationCommand extends client.Command
|
|
236
256
|
.classBuilder()
|
|
237
257
|
.ep(commonParams)
|
|
@@ -587,8 +607,10 @@ const commands = {
|
|
|
587
607
|
CreateAccessPreviewCommand,
|
|
588
608
|
CreateAnalyzerCommand,
|
|
589
609
|
CreateArchiveRuleCommand,
|
|
610
|
+
CreateServiceLinkedAnalyzerCommand,
|
|
590
611
|
DeleteAnalyzerCommand,
|
|
591
612
|
DeleteArchiveRuleCommand,
|
|
613
|
+
DeleteServiceLinkedAnalyzerCommand,
|
|
592
614
|
GenerateFindingRecommendationCommand,
|
|
593
615
|
GetAccessPreviewCommand,
|
|
594
616
|
GetAnalyzedResourceCommand,
|
|
@@ -887,8 +909,10 @@ exports.CheckNoPublicAccessResult = CheckNoPublicAccessResult;
|
|
|
887
909
|
exports.CreateAccessPreviewCommand = CreateAccessPreviewCommand;
|
|
888
910
|
exports.CreateAnalyzerCommand = CreateAnalyzerCommand;
|
|
889
911
|
exports.CreateArchiveRuleCommand = CreateArchiveRuleCommand;
|
|
912
|
+
exports.CreateServiceLinkedAnalyzerCommand = CreateServiceLinkedAnalyzerCommand;
|
|
890
913
|
exports.DeleteAnalyzerCommand = DeleteAnalyzerCommand;
|
|
891
914
|
exports.DeleteArchiveRuleCommand = DeleteArchiveRuleCommand;
|
|
915
|
+
exports.DeleteServiceLinkedAnalyzerCommand = DeleteServiceLinkedAnalyzerCommand;
|
|
892
916
|
exports.FindingChangeType = FindingChangeType;
|
|
893
917
|
exports.FindingSourceType = FindingSourceType;
|
|
894
918
|
exports.FindingStatus = FindingStatus;
|
|
@@ -4,8 +4,8 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
-
const
|
|
8
|
-
const
|
|
7
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
8
|
+
const client_2 = require("@smithy/core/client");
|
|
9
9
|
const config_1 = require("@smithy/core/config");
|
|
10
10
|
const retry_1 = require("@smithy/core/retry");
|
|
11
11
|
const serde_1 = require("@smithy/core/serde");
|
|
@@ -13,7 +13,7 @@ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
|
13
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
14
|
const getRuntimeConfig = (config) => {
|
|
15
15
|
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
16
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
16
|
+
const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
|
|
17
17
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
18
18
|
return {
|
|
19
19
|
...clientSharedValues,
|
|
@@ -22,9 +22,9 @@ const getRuntimeConfig = (config) => {
|
|
|
22
22
|
defaultsMode,
|
|
23
23
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
24
24
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
25
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,
|
|
25
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
26
26
|
maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
27
|
-
region: config?.region ?? (0,
|
|
27
|
+
region: config?.region ?? (0, client_2.invalidProvider)("Region is missing"),
|
|
28
28
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
29
29
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
|
|
30
30
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
@@ -6,7 +6,6 @@ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
|
6
6
|
const client_1 = require("@aws-sdk/core/client");
|
|
7
7
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
|
-
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
10
9
|
const client_2 = require("@smithy/core/client");
|
|
11
10
|
const config_1 = require("@smithy/core/config");
|
|
12
11
|
const retry_1 = require("@smithy/core/retry");
|
|
@@ -31,7 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
31
30
|
authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
32
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
33
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
34
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
35
|
region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
37
36
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -44,7 +43,7 @@ const getRuntimeConfig = (config) => {
|
|
|
44
43
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
45
44
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
46
45
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
47
|
-
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(
|
|
46
|
+
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(client_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
48
47
|
};
|
|
49
48
|
};
|
|
50
49
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.ValidatePolicy$ = exports.UpdateFindings$ = exports.UpdateArchiveRule$ = exports.UpdateAnalyzer$ = void 0;
|
|
3
|
+
exports.ExternalAccessDetails$ = exports.EfsFileSystemConfiguration$ = exports.EcrRepositoryConfiguration$ = exports.EbsSnapshotConfiguration$ = exports.DynamodbTableConfiguration$ = exports.DynamodbStreamConfiguration$ = exports.DeleteServiceLinkedAnalyzerRequest$ = exports.DeleteArchiveRuleRequest$ = exports.DeleteAnalyzerRequest$ = exports.Criterion$ = exports.CreateServiceLinkedAnalyzerResponse$ = exports.CreateServiceLinkedAnalyzerRequest$ = exports.CreateArchiveRuleRequest$ = exports.CreateAnalyzerResponse$ = exports.CreateAnalyzerRequest$ = exports.CreateAccessPreviewResponse$ = exports.CreateAccessPreviewRequest$ = exports.CloudTrailProperties$ = exports.CloudTrailDetails$ = exports.CheckNoPublicAccessResponse$ = exports.CheckNoPublicAccessRequest$ = exports.CheckNoNewAccessResponse$ = exports.CheckNoNewAccessRequest$ = exports.CheckAccessNotGrantedResponse$ = exports.CheckAccessNotGrantedRequest$ = exports.CancelPolicyGenerationResponse$ = exports.CancelPolicyGenerationRequest$ = exports.ArchiveRuleSummary$ = exports.ApplyArchiveRuleRequest$ = exports.AnalyzerSummary$ = exports.AnalyzedResourceSummary$ = exports.AnalyzedResource$ = exports.AnalysisRuleCriteria$ = exports.AnalysisRule$ = exports.AccessPreviewSummary$ = exports.AccessPreviewStatusReason$ = exports.AccessPreviewFinding$ = exports.AccessPreview$ = exports.Access$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.UnprocessableEntityException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InvalidParameterException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.AccessAnalyzerServiceException$ = void 0;
|
|
4
|
+
exports.ListAnalyzersRequest$ = exports.ListAnalyzedResourcesResponse$ = exports.ListAnalyzedResourcesRequest$ = exports.ListAccessPreviewsResponse$ = exports.ListAccessPreviewsRequest$ = exports.ListAccessPreviewFindingsResponse$ = exports.ListAccessPreviewFindingsRequest$ = exports.KmsKeyConfiguration$ = exports.KmsGrantConstraints$ = exports.KmsGrantConfiguration$ = exports.JobError$ = exports.JobDetails$ = exports.InternetConfiguration$ = exports.InternalAccessResourceTypeDetails$ = exports.InternalAccessFindingsStatistics$ = exports.InternalAccessDetails$ = exports.InternalAccessConfiguration$ = exports.InternalAccessAnalysisRuleCriteria$ = exports.InternalAccessAnalysisRule$ = exports.InlineArchiveRule$ = exports.IamRoleConfiguration$ = exports.GetGeneratedPolicyResponse$ = exports.GetGeneratedPolicyRequest$ = exports.GetFindingV2Response$ = exports.GetFindingV2Request$ = exports.GetFindingsStatisticsResponse$ = exports.GetFindingsStatisticsRequest$ = exports.GetFindingResponse$ = exports.GetFindingRequest$ = exports.GetFindingRecommendationResponse$ = exports.GetFindingRecommendationRequest$ = exports.GetArchiveRuleResponse$ = exports.GetArchiveRuleRequest$ = exports.GetAnalyzerResponse$ = exports.GetAnalyzerRequest$ = exports.GetAnalyzedResourceResponse$ = exports.GetAnalyzedResourceRequest$ = exports.GetAccessPreviewResponse$ = exports.GetAccessPreviewRequest$ = exports.GenerateFindingRecommendationRequest$ = exports.GeneratedPolicyResult$ = exports.GeneratedPolicyProperties$ = exports.GeneratedPolicy$ = exports.FindingSummaryV2$ = exports.FindingSummary$ = exports.FindingSourceDetail$ = exports.FindingSource$ = exports.FindingAggregationAccountDetails$ = exports.Finding$ = exports.ExternalAccessFindingsStatistics$ = void 0;
|
|
5
|
+
exports.UnusedPermissionDetails$ = exports.UnusedIamUserPasswordDetails$ = exports.UnusedIamUserAccessKeyDetails$ = exports.UnusedIamRoleDetails$ = exports.UnusedAction$ = exports.UnusedAccessTypeStatistics$ = exports.UnusedAccessFindingsStatistics$ = exports.UnusedAccessConfiguration$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TrailProperties$ = exports.Trail$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.Substring$ = exports.StatusReason$ = exports.StartResourceScanRequest$ = exports.StartPolicyGenerationResponse$ = exports.StartPolicyGenerationRequest$ = exports.SqsQueueConfiguration$ = exports.Span$ = exports.SortCriteria$ = exports.SnsTopicConfiguration$ = exports.SecretsManagerSecretConfiguration$ = exports.S3PublicAccessBlockConfiguration$ = exports.S3ExpressDirectoryBucketConfiguration$ = exports.S3ExpressDirectoryAccessPointConfiguration$ = exports.S3BucketConfiguration$ = exports.S3BucketAclGrantConfiguration$ = exports.S3AccessPointConfiguration$ = exports.ResourceTypeDetails$ = exports.RecommendationError$ = exports.ReasonSummary$ = exports.RdsDbSnapshotConfiguration$ = exports.RdsDbClusterSnapshotConfiguration$ = exports.Position$ = exports.PolicyGenerationDetails$ = exports.PolicyGeneration$ = exports.Location$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListPolicyGenerationsResponse$ = exports.ListPolicyGenerationsRequest$ = exports.ListFindingsV2Response$ = exports.ListFindingsV2Request$ = exports.ListFindingsResponse$ = exports.ListFindingsRequest$ = exports.ListArchiveRulesResponse$ = exports.ListArchiveRulesRequest$ = exports.ListAnalyzersResponse$ = void 0;
|
|
6
|
+
exports.ListPolicyGenerations$ = exports.ListFindingsV2$ = exports.ListFindings$ = exports.ListArchiveRules$ = exports.ListAnalyzers$ = exports.ListAnalyzedResources$ = exports.ListAccessPreviews$ = exports.ListAccessPreviewFindings$ = exports.GetGeneratedPolicy$ = exports.GetFindingV2$ = exports.GetFindingsStatistics$ = exports.GetFindingRecommendation$ = exports.GetFinding$ = exports.GetArchiveRule$ = exports.GetAnalyzer$ = exports.GetAnalyzedResource$ = exports.GetAccessPreview$ = exports.GenerateFindingRecommendation$ = exports.DeleteServiceLinkedAnalyzer$ = exports.DeleteArchiveRule$ = exports.DeleteAnalyzer$ = exports.CreateServiceLinkedAnalyzer$ = exports.CreateArchiveRule$ = exports.CreateAnalyzer$ = exports.CreateAccessPreview$ = exports.CheckNoPublicAccess$ = exports.CheckNoNewAccess$ = exports.CheckAccessNotGranted$ = exports.CancelPolicyGeneration$ = exports.ApplyArchiveRule$ = exports.RecommendedStep$ = exports.RdsDbSnapshotAttributeValue$ = exports.RdsDbClusterSnapshotAttributeValue$ = exports.PathElement$ = exports.NetworkOriginConfiguration$ = exports.FindingsStatistics$ = exports.FindingDetails$ = exports.Configuration$ = exports.AnalyzerConfiguration$ = exports.AclGrantee$ = exports.VpcConfiguration$ = exports.ValidationExceptionField$ = exports.ValidatePolicyResponse$ = exports.ValidatePolicyRequest$ = exports.ValidatePolicyFinding$ = exports.UpdateFindingsRequest$ = exports.UpdateArchiveRuleRequest$ = exports.UpdateAnalyzerResponse$ = exports.UpdateAnalyzerRequest$ = exports.UnusedPermissionsRecommendedStep$ = void 0;
|
|
7
|
+
exports.ValidatePolicy$ = exports.UpdateFindings$ = exports.UpdateArchiveRule$ = exports.UpdateAnalyzer$ = exports.UntagResource$ = exports.TagResource$ = exports.StartResourceScan$ = exports.StartPolicyGeneration$ = exports.ListTagsForResource$ = void 0;
|
|
8
8
|
const _A = "Access";
|
|
9
9
|
const _AA = "AccountAggregations";
|
|
10
10
|
const _AAR = "ApplyArchiveRule";
|
|
@@ -53,6 +53,9 @@ const _CNPARh = "CheckNoPublicAccessResponse";
|
|
|
53
53
|
const _CPG = "CancelPolicyGeneration";
|
|
54
54
|
const _CPGR = "CancelPolicyGenerationRequest";
|
|
55
55
|
const _CPGRa = "CancelPolicyGenerationResponse";
|
|
56
|
+
const _CSLA = "CreateServiceLinkedAnalyzer";
|
|
57
|
+
const _CSLAR = "CreateServiceLinkedAnalyzerRequest";
|
|
58
|
+
const _CSLARr = "CreateServiceLinkedAnalyzerResponse";
|
|
56
59
|
const _CTD = "CloudTrailDetails";
|
|
57
60
|
const _CTP = "CloudTrailProperties";
|
|
58
61
|
const _Co = "Configuration";
|
|
@@ -61,6 +64,8 @@ const _DAR = "DeleteAnalyzerRequest";
|
|
|
61
64
|
const _DARR = "DeleteArchiveRuleRequest";
|
|
62
65
|
const _DARe = "DeleteArchiveRule";
|
|
63
66
|
const _DSC = "DynamodbStreamConfiguration";
|
|
67
|
+
const _DSLA = "DeleteServiceLinkedAnalyzer";
|
|
68
|
+
const _DSLAR = "DeleteServiceLinkedAnalyzerRequest";
|
|
64
69
|
const _DTC = "DynamodbTableConfiguration";
|
|
65
70
|
const _EAD = "ExternalAccessDetails";
|
|
66
71
|
const _EAFS = "ExternalAccessFindingsStatistics";
|
|
@@ -368,6 +373,7 @@ const _le = "length";
|
|
|
368
373
|
const _lo = "locations";
|
|
369
374
|
const _loc = "locale";
|
|
370
375
|
const _m = "message";
|
|
376
|
+
const _mB = "managedBy";
|
|
371
377
|
const _mR = "maxResults";
|
|
372
378
|
const _n = "name";
|
|
373
379
|
const _nO = "networkOrigin";
|
|
@@ -590,8 +596,8 @@ exports.AnalyzedResourceSummary$ = [3, n0, _ARS,
|
|
|
590
596
|
];
|
|
591
597
|
exports.AnalyzerSummary$ = [3, n0, _AS,
|
|
592
598
|
0,
|
|
593
|
-
[_ar, _n, _t, _cA, _st, _lRA, _lRAA, _ta, _sR, _conf],
|
|
594
|
-
[0, 0, 0, 5, 0, 0, 5, 128 | 0, () => exports.StatusReason$, () => exports.AnalyzerConfiguration
|
|
599
|
+
[_ar, _n, _t, _cA, _st, _lRA, _lRAA, _ta, _sR, _conf, _mB],
|
|
600
|
+
[0, 0, 0, 5, 0, 0, 5, 128 | 0, () => exports.StatusReason$, () => exports.AnalyzerConfiguration$, 0], 5
|
|
595
601
|
];
|
|
596
602
|
exports.ApplyArchiveRuleRequest$ = [3, n0, _AARR,
|
|
597
603
|
0,
|
|
@@ -678,6 +684,16 @@ exports.CreateArchiveRuleRequest$ = [3, n0, _CARR,
|
|
|
678
684
|
[_aN, _rN, _f, _cTl],
|
|
679
685
|
[[0, 1], 0, () => FilterCriteriaMap, [0, 4]], 3
|
|
680
686
|
];
|
|
687
|
+
exports.CreateServiceLinkedAnalyzerRequest$ = [3, n0, _CSLAR,
|
|
688
|
+
0,
|
|
689
|
+
[_t, _aRr, _cTl, _conf],
|
|
690
|
+
[0, () => InlineArchiveRulesList, [0, 4], () => exports.AnalyzerConfiguration$], 1
|
|
691
|
+
];
|
|
692
|
+
exports.CreateServiceLinkedAnalyzerResponse$ = [3, n0, _CSLARr,
|
|
693
|
+
0,
|
|
694
|
+
[_ar],
|
|
695
|
+
[0]
|
|
696
|
+
];
|
|
681
697
|
exports.Criterion$ = [3, n0, _C,
|
|
682
698
|
0,
|
|
683
699
|
[_eq, _ne, _cont, _exi],
|
|
@@ -693,6 +709,11 @@ exports.DeleteArchiveRuleRequest$ = [3, n0, _DARR,
|
|
|
693
709
|
[_aN, _rN, _cTl],
|
|
694
710
|
[[0, 1], [0, 1], [0, { [_hQ]: _cTl, [_iT]: 1 }]], 2
|
|
695
711
|
];
|
|
712
|
+
exports.DeleteServiceLinkedAnalyzerRequest$ = [3, n0, _DSLAR,
|
|
713
|
+
0,
|
|
714
|
+
[_aN, _cTl],
|
|
715
|
+
[[0, 1], [0, { [_hQ]: _cTl, [_iT]: 1 }]], 1
|
|
716
|
+
];
|
|
696
717
|
exports.DynamodbStreamConfiguration$ = [3, n0, _DSC,
|
|
697
718
|
0,
|
|
698
719
|
[_sP],
|
|
@@ -1484,12 +1505,18 @@ exports.CreateAnalyzer$ = [9, n0, _CA,
|
|
|
1484
1505
|
exports.CreateArchiveRule$ = [9, n0, _CARre,
|
|
1485
1506
|
{ [_h]: ["PUT", "/analyzer/{analyzerName}/archive-rule", 200] }, () => exports.CreateArchiveRuleRequest$, () => __Unit
|
|
1486
1507
|
];
|
|
1508
|
+
exports.CreateServiceLinkedAnalyzer$ = [9, n0, _CSLA,
|
|
1509
|
+
{ [_h]: ["PUT", "/service-linked-analyzer", 200] }, () => exports.CreateServiceLinkedAnalyzerRequest$, () => exports.CreateServiceLinkedAnalyzerResponse$
|
|
1510
|
+
];
|
|
1487
1511
|
exports.DeleteAnalyzer$ = [9, n0, _DA,
|
|
1488
1512
|
{ [_h]: ["DELETE", "/analyzer/{analyzerName}", 200] }, () => exports.DeleteAnalyzerRequest$, () => __Unit
|
|
1489
1513
|
];
|
|
1490
1514
|
exports.DeleteArchiveRule$ = [9, n0, _DARe,
|
|
1491
1515
|
{ [_h]: ["DELETE", "/analyzer/{analyzerName}/archive-rule/{ruleName}", 200] }, () => exports.DeleteArchiveRuleRequest$, () => __Unit
|
|
1492
1516
|
];
|
|
1517
|
+
exports.DeleteServiceLinkedAnalyzer$ = [9, n0, _DSLA,
|
|
1518
|
+
{ [_h]: ["DELETE", "/service-linked-analyzer/{analyzerName}", 200] }, () => exports.DeleteServiceLinkedAnalyzerRequest$, () => __Unit
|
|
1519
|
+
];
|
|
1493
1520
|
exports.GenerateFindingRecommendation$ = [9, n0, _GFRen,
|
|
1494
1521
|
{ [_h]: ["POST", "/recommendation/{id}", 200] }, () => exports.GenerateFindingRecommendationRequest$, () => __Unit
|
|
1495
1522
|
];
|
|
@@ -8,8 +8,10 @@ import { CheckNoPublicAccessCommand, } from "./commands/CheckNoPublicAccessComma
|
|
|
8
8
|
import { CreateAccessPreviewCommand, } from "./commands/CreateAccessPreviewCommand";
|
|
9
9
|
import { CreateAnalyzerCommand, } from "./commands/CreateAnalyzerCommand";
|
|
10
10
|
import { CreateArchiveRuleCommand, } from "./commands/CreateArchiveRuleCommand";
|
|
11
|
+
import { CreateServiceLinkedAnalyzerCommand, } from "./commands/CreateServiceLinkedAnalyzerCommand";
|
|
11
12
|
import { DeleteAnalyzerCommand, } from "./commands/DeleteAnalyzerCommand";
|
|
12
13
|
import { DeleteArchiveRuleCommand, } from "./commands/DeleteArchiveRuleCommand";
|
|
14
|
+
import { DeleteServiceLinkedAnalyzerCommand, } from "./commands/DeleteServiceLinkedAnalyzerCommand";
|
|
13
15
|
import { GenerateFindingRecommendationCommand, } from "./commands/GenerateFindingRecommendationCommand";
|
|
14
16
|
import { GetAccessPreviewCommand, } from "./commands/GetAccessPreviewCommand";
|
|
15
17
|
import { GetAnalyzedResourceCommand, } from "./commands/GetAnalyzedResourceCommand";
|
|
@@ -57,8 +59,10 @@ const commands = {
|
|
|
57
59
|
CreateAccessPreviewCommand,
|
|
58
60
|
CreateAnalyzerCommand,
|
|
59
61
|
CreateArchiveRuleCommand,
|
|
62
|
+
CreateServiceLinkedAnalyzerCommand,
|
|
60
63
|
DeleteAnalyzerCommand,
|
|
61
64
|
DeleteArchiveRuleCommand,
|
|
65
|
+
DeleteServiceLinkedAnalyzerCommand,
|
|
62
66
|
GenerateFindingRecommendationCommand,
|
|
63
67
|
GetAccessPreviewCommand,
|
|
64
68
|
GetAnalyzedResourceCommand,
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/
|
|
2
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
3
|
-
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
4
|
-
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
1
|
+
import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from "@aws-sdk/core/client";
|
|
5
2
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
6
3
|
import { Client as __Client, } from "@smithy/core/client";
|
|
7
4
|
import { resolveRegionConfig } from "@smithy/core/config";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreateServiceLinkedAnalyzer$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateServiceLinkedAnalyzerCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AccessAnalyzer", "CreateServiceLinkedAnalyzer", {})
|
|
13
|
+
.n("AccessAnalyzerClient", "CreateServiceLinkedAnalyzerCommand")
|
|
14
|
+
.sc(CreateServiceLinkedAnalyzer$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteServiceLinkedAnalyzer$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteServiceLinkedAnalyzerCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AccessAnalyzer", "DeleteServiceLinkedAnalyzer", {})
|
|
13
|
+
.n("AccessAnalyzerClient", "DeleteServiceLinkedAnalyzerCommand")
|
|
14
|
+
.sc(DeleteServiceLinkedAnalyzer$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -6,8 +6,10 @@ export * from "./CheckNoPublicAccessCommand";
|
|
|
6
6
|
export * from "./CreateAccessPreviewCommand";
|
|
7
7
|
export * from "./CreateAnalyzerCommand";
|
|
8
8
|
export * from "./CreateArchiveRuleCommand";
|
|
9
|
+
export * from "./CreateServiceLinkedAnalyzerCommand";
|
|
9
10
|
export * from "./DeleteAnalyzerCommand";
|
|
10
11
|
export * from "./DeleteArchiveRuleCommand";
|
|
12
|
+
export * from "./DeleteServiceLinkedAnalyzerCommand";
|
|
11
13
|
export * from "./GenerateFindingRecommendationCommand";
|
|
12
14
|
export * from "./GetAccessPreviewCommand";
|
|
13
15
|
export * from "./GetAnalyzedResourceCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { awsEndpointFunctions } from "@aws-sdk/
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/core/client";
|
|
2
2
|
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
|
|
3
3
|
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
-
import { createDefaultUserAgentProvider } from "@aws-sdk/
|
|
3
|
+
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
4
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
5
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
6
6
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
|
|
2
|
+
import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
|
|
3
3
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
|
-
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
6
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
7
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
8
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration } from "@aws-sdk/core/client";
|
|
2
2
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
|
|
3
3
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
@@ -46,6 +46,9 @@ const _CNPARh = "CheckNoPublicAccessResponse";
|
|
|
46
46
|
const _CPG = "CancelPolicyGeneration";
|
|
47
47
|
const _CPGR = "CancelPolicyGenerationRequest";
|
|
48
48
|
const _CPGRa = "CancelPolicyGenerationResponse";
|
|
49
|
+
const _CSLA = "CreateServiceLinkedAnalyzer";
|
|
50
|
+
const _CSLAR = "CreateServiceLinkedAnalyzerRequest";
|
|
51
|
+
const _CSLARr = "CreateServiceLinkedAnalyzerResponse";
|
|
49
52
|
const _CTD = "CloudTrailDetails";
|
|
50
53
|
const _CTP = "CloudTrailProperties";
|
|
51
54
|
const _Co = "Configuration";
|
|
@@ -54,6 +57,8 @@ const _DAR = "DeleteAnalyzerRequest";
|
|
|
54
57
|
const _DARR = "DeleteArchiveRuleRequest";
|
|
55
58
|
const _DARe = "DeleteArchiveRule";
|
|
56
59
|
const _DSC = "DynamodbStreamConfiguration";
|
|
60
|
+
const _DSLA = "DeleteServiceLinkedAnalyzer";
|
|
61
|
+
const _DSLAR = "DeleteServiceLinkedAnalyzerRequest";
|
|
57
62
|
const _DTC = "DynamodbTableConfiguration";
|
|
58
63
|
const _EAD = "ExternalAccessDetails";
|
|
59
64
|
const _EAFS = "ExternalAccessFindingsStatistics";
|
|
@@ -361,6 +366,7 @@ const _le = "length";
|
|
|
361
366
|
const _lo = "locations";
|
|
362
367
|
const _loc = "locale";
|
|
363
368
|
const _m = "message";
|
|
369
|
+
const _mB = "managedBy";
|
|
364
370
|
const _mR = "maxResults";
|
|
365
371
|
const _n = "name";
|
|
366
372
|
const _nO = "networkOrigin";
|
|
@@ -583,8 +589,8 @@ export var AnalyzedResourceSummary$ = [3, n0, _ARS,
|
|
|
583
589
|
];
|
|
584
590
|
export var AnalyzerSummary$ = [3, n0, _AS,
|
|
585
591
|
0,
|
|
586
|
-
[_ar, _n, _t, _cA, _st, _lRA, _lRAA, _ta, _sR, _conf],
|
|
587
|
-
[0, 0, 0, 5, 0, 0, 5, 128 | 0, () => StatusReason$, () => AnalyzerConfiguration
|
|
592
|
+
[_ar, _n, _t, _cA, _st, _lRA, _lRAA, _ta, _sR, _conf, _mB],
|
|
593
|
+
[0, 0, 0, 5, 0, 0, 5, 128 | 0, () => StatusReason$, () => AnalyzerConfiguration$, 0], 5
|
|
588
594
|
];
|
|
589
595
|
export var ApplyArchiveRuleRequest$ = [3, n0, _AARR,
|
|
590
596
|
0,
|
|
@@ -671,6 +677,16 @@ export var CreateArchiveRuleRequest$ = [3, n0, _CARR,
|
|
|
671
677
|
[_aN, _rN, _f, _cTl],
|
|
672
678
|
[[0, 1], 0, () => FilterCriteriaMap, [0, 4]], 3
|
|
673
679
|
];
|
|
680
|
+
export var CreateServiceLinkedAnalyzerRequest$ = [3, n0, _CSLAR,
|
|
681
|
+
0,
|
|
682
|
+
[_t, _aRr, _cTl, _conf],
|
|
683
|
+
[0, () => InlineArchiveRulesList, [0, 4], () => AnalyzerConfiguration$], 1
|
|
684
|
+
];
|
|
685
|
+
export var CreateServiceLinkedAnalyzerResponse$ = [3, n0, _CSLARr,
|
|
686
|
+
0,
|
|
687
|
+
[_ar],
|
|
688
|
+
[0]
|
|
689
|
+
];
|
|
674
690
|
export var Criterion$ = [3, n0, _C,
|
|
675
691
|
0,
|
|
676
692
|
[_eq, _ne, _cont, _exi],
|
|
@@ -686,6 +702,11 @@ export var DeleteArchiveRuleRequest$ = [3, n0, _DARR,
|
|
|
686
702
|
[_aN, _rN, _cTl],
|
|
687
703
|
[[0, 1], [0, 1], [0, { [_hQ]: _cTl, [_iT]: 1 }]], 2
|
|
688
704
|
];
|
|
705
|
+
export var DeleteServiceLinkedAnalyzerRequest$ = [3, n0, _DSLAR,
|
|
706
|
+
0,
|
|
707
|
+
[_aN, _cTl],
|
|
708
|
+
[[0, 1], [0, { [_hQ]: _cTl, [_iT]: 1 }]], 1
|
|
709
|
+
];
|
|
689
710
|
export var DynamodbStreamConfiguration$ = [3, n0, _DSC,
|
|
690
711
|
0,
|
|
691
712
|
[_sP],
|
|
@@ -1477,12 +1498,18 @@ export var CreateAnalyzer$ = [9, n0, _CA,
|
|
|
1477
1498
|
export var CreateArchiveRule$ = [9, n0, _CARre,
|
|
1478
1499
|
{ [_h]: ["PUT", "/analyzer/{analyzerName}/archive-rule", 200] }, () => CreateArchiveRuleRequest$, () => __Unit
|
|
1479
1500
|
];
|
|
1501
|
+
export var CreateServiceLinkedAnalyzer$ = [9, n0, _CSLA,
|
|
1502
|
+
{ [_h]: ["PUT", "/service-linked-analyzer", 200] }, () => CreateServiceLinkedAnalyzerRequest$, () => CreateServiceLinkedAnalyzerResponse$
|
|
1503
|
+
];
|
|
1480
1504
|
export var DeleteAnalyzer$ = [9, n0, _DA,
|
|
1481
1505
|
{ [_h]: ["DELETE", "/analyzer/{analyzerName}", 200] }, () => DeleteAnalyzerRequest$, () => __Unit
|
|
1482
1506
|
];
|
|
1483
1507
|
export var DeleteArchiveRule$ = [9, n0, _DARe,
|
|
1484
1508
|
{ [_h]: ["DELETE", "/analyzer/{analyzerName}/archive-rule/{ruleName}", 200] }, () => DeleteArchiveRuleRequest$, () => __Unit
|
|
1485
1509
|
];
|
|
1510
|
+
export var DeleteServiceLinkedAnalyzer$ = [9, n0, _DSLA,
|
|
1511
|
+
{ [_h]: ["DELETE", "/service-linked-analyzer/{analyzerName}", 200] }, () => DeleteServiceLinkedAnalyzerRequest$, () => __Unit
|
|
1512
|
+
];
|
|
1486
1513
|
export var GenerateFindingRecommendation$ = [9, n0, _GFRen,
|
|
1487
1514
|
{ [_h]: ["POST", "/recommendation/{id}", 200] }, () => GenerateFindingRecommendationRequest$, () => __Unit
|
|
1488
1515
|
];
|
|
@@ -8,8 +8,10 @@ import { type CheckNoPublicAccessCommandInput, type CheckNoPublicAccessCommandOu
|
|
|
8
8
|
import { type CreateAccessPreviewCommandInput, type CreateAccessPreviewCommandOutput } from "./commands/CreateAccessPreviewCommand";
|
|
9
9
|
import { type CreateAnalyzerCommandInput, type CreateAnalyzerCommandOutput } from "./commands/CreateAnalyzerCommand";
|
|
10
10
|
import { type CreateArchiveRuleCommandInput, type CreateArchiveRuleCommandOutput } from "./commands/CreateArchiveRuleCommand";
|
|
11
|
+
import { type CreateServiceLinkedAnalyzerCommandInput, type CreateServiceLinkedAnalyzerCommandOutput } from "./commands/CreateServiceLinkedAnalyzerCommand";
|
|
11
12
|
import { type DeleteAnalyzerCommandInput, type DeleteAnalyzerCommandOutput } from "./commands/DeleteAnalyzerCommand";
|
|
12
13
|
import { type DeleteArchiveRuleCommandInput, type DeleteArchiveRuleCommandOutput } from "./commands/DeleteArchiveRuleCommand";
|
|
14
|
+
import { type DeleteServiceLinkedAnalyzerCommandInput, type DeleteServiceLinkedAnalyzerCommandOutput } from "./commands/DeleteServiceLinkedAnalyzerCommand";
|
|
13
15
|
import { type GenerateFindingRecommendationCommandInput, type GenerateFindingRecommendationCommandOutput } from "./commands/GenerateFindingRecommendationCommand";
|
|
14
16
|
import { type GetAccessPreviewCommandInput, type GetAccessPreviewCommandOutput } from "./commands/GetAccessPreviewCommand";
|
|
15
17
|
import { type GetAnalyzedResourceCommandInput, type GetAnalyzedResourceCommandOutput } from "./commands/GetAnalyzedResourceCommand";
|
|
@@ -86,6 +88,12 @@ export interface AccessAnalyzer {
|
|
|
86
88
|
createArchiveRule(args: CreateArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateArchiveRuleCommandOutput>;
|
|
87
89
|
createArchiveRule(args: CreateArchiveRuleCommandInput, cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void): void;
|
|
88
90
|
createArchiveRule(args: CreateArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void): void;
|
|
91
|
+
/**
|
|
92
|
+
* @see {@link CreateServiceLinkedAnalyzerCommand}
|
|
93
|
+
*/
|
|
94
|
+
createServiceLinkedAnalyzer(args: CreateServiceLinkedAnalyzerCommandInput, options?: __HttpHandlerOptions): Promise<CreateServiceLinkedAnalyzerCommandOutput>;
|
|
95
|
+
createServiceLinkedAnalyzer(args: CreateServiceLinkedAnalyzerCommandInput, cb: (err: any, data?: CreateServiceLinkedAnalyzerCommandOutput) => void): void;
|
|
96
|
+
createServiceLinkedAnalyzer(args: CreateServiceLinkedAnalyzerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateServiceLinkedAnalyzerCommandOutput) => void): void;
|
|
89
97
|
/**
|
|
90
98
|
* @see {@link DeleteAnalyzerCommand}
|
|
91
99
|
*/
|
|
@@ -98,6 +106,12 @@ export interface AccessAnalyzer {
|
|
|
98
106
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteArchiveRuleCommandOutput>;
|
|
99
107
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, cb: (err: any, data?: DeleteArchiveRuleCommandOutput) => void): void;
|
|
100
108
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteArchiveRuleCommandOutput) => void): void;
|
|
109
|
+
/**
|
|
110
|
+
* @see {@link DeleteServiceLinkedAnalyzerCommand}
|
|
111
|
+
*/
|
|
112
|
+
deleteServiceLinkedAnalyzer(args: DeleteServiceLinkedAnalyzerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteServiceLinkedAnalyzerCommandOutput>;
|
|
113
|
+
deleteServiceLinkedAnalyzer(args: DeleteServiceLinkedAnalyzerCommandInput, cb: (err: any, data?: DeleteServiceLinkedAnalyzerCommandOutput) => void): void;
|
|
114
|
+
deleteServiceLinkedAnalyzer(args: DeleteServiceLinkedAnalyzerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteServiceLinkedAnalyzerCommandOutput) => void): void;
|
|
101
115
|
/**
|
|
102
116
|
* @see {@link GenerateFindingRecommendationCommand}
|
|
103
117
|
*/
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/
|
|
2
|
-
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
|
|
3
2
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
4
3
|
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
5
4
|
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
@@ -15,8 +14,10 @@ import type { CheckNoPublicAccessCommandInput, CheckNoPublicAccessCommandOutput
|
|
|
15
14
|
import type { CreateAccessPreviewCommandInput, CreateAccessPreviewCommandOutput } from "./commands/CreateAccessPreviewCommand";
|
|
16
15
|
import type { CreateAnalyzerCommandInput, CreateAnalyzerCommandOutput } from "./commands/CreateAnalyzerCommand";
|
|
17
16
|
import type { CreateArchiveRuleCommandInput, CreateArchiveRuleCommandOutput } from "./commands/CreateArchiveRuleCommand";
|
|
17
|
+
import type { CreateServiceLinkedAnalyzerCommandInput, CreateServiceLinkedAnalyzerCommandOutput } from "./commands/CreateServiceLinkedAnalyzerCommand";
|
|
18
18
|
import type { DeleteAnalyzerCommandInput, DeleteAnalyzerCommandOutput } from "./commands/DeleteAnalyzerCommand";
|
|
19
19
|
import type { DeleteArchiveRuleCommandInput, DeleteArchiveRuleCommandOutput } from "./commands/DeleteArchiveRuleCommand";
|
|
20
|
+
import type { DeleteServiceLinkedAnalyzerCommandInput, DeleteServiceLinkedAnalyzerCommandOutput } from "./commands/DeleteServiceLinkedAnalyzerCommand";
|
|
20
21
|
import type { GenerateFindingRecommendationCommandInput, GenerateFindingRecommendationCommandOutput } from "./commands/GenerateFindingRecommendationCommand";
|
|
21
22
|
import type { GetAccessPreviewCommandInput, GetAccessPreviewCommandOutput } from "./commands/GetAccessPreviewCommand";
|
|
22
23
|
import type { GetAnalyzedResourceCommandInput, GetAnalyzedResourceCommandOutput } from "./commands/GetAnalyzedResourceCommand";
|
|
@@ -50,11 +51,11 @@ export { __Client };
|
|
|
50
51
|
/**
|
|
51
52
|
* @public
|
|
52
53
|
*/
|
|
53
|
-
export type ServiceInputTypes = ApplyArchiveRuleCommandInput | CancelPolicyGenerationCommandInput | CheckAccessNotGrantedCommandInput | CheckNoNewAccessCommandInput | CheckNoPublicAccessCommandInput | CreateAccessPreviewCommandInput | CreateAnalyzerCommandInput | CreateArchiveRuleCommandInput | DeleteAnalyzerCommandInput | DeleteArchiveRuleCommandInput | GenerateFindingRecommendationCommandInput | GetAccessPreviewCommandInput | GetAnalyzedResourceCommandInput | GetAnalyzerCommandInput | GetArchiveRuleCommandInput | GetFindingCommandInput | GetFindingRecommendationCommandInput | GetFindingV2CommandInput | GetFindingsStatisticsCommandInput | GetGeneratedPolicyCommandInput | ListAccessPreviewFindingsCommandInput | ListAccessPreviewsCommandInput | ListAnalyzedResourcesCommandInput | ListAnalyzersCommandInput | ListArchiveRulesCommandInput | ListFindingsCommandInput | ListFindingsV2CommandInput | ListPolicyGenerationsCommandInput | ListTagsForResourceCommandInput | StartPolicyGenerationCommandInput | StartResourceScanCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnalyzerCommandInput | UpdateArchiveRuleCommandInput | UpdateFindingsCommandInput | ValidatePolicyCommandInput;
|
|
54
|
+
export type ServiceInputTypes = ApplyArchiveRuleCommandInput | CancelPolicyGenerationCommandInput | CheckAccessNotGrantedCommandInput | CheckNoNewAccessCommandInput | CheckNoPublicAccessCommandInput | CreateAccessPreviewCommandInput | CreateAnalyzerCommandInput | CreateArchiveRuleCommandInput | CreateServiceLinkedAnalyzerCommandInput | DeleteAnalyzerCommandInput | DeleteArchiveRuleCommandInput | DeleteServiceLinkedAnalyzerCommandInput | GenerateFindingRecommendationCommandInput | GetAccessPreviewCommandInput | GetAnalyzedResourceCommandInput | GetAnalyzerCommandInput | GetArchiveRuleCommandInput | GetFindingCommandInput | GetFindingRecommendationCommandInput | GetFindingV2CommandInput | GetFindingsStatisticsCommandInput | GetGeneratedPolicyCommandInput | ListAccessPreviewFindingsCommandInput | ListAccessPreviewsCommandInput | ListAnalyzedResourcesCommandInput | ListAnalyzersCommandInput | ListArchiveRulesCommandInput | ListFindingsCommandInput | ListFindingsV2CommandInput | ListPolicyGenerationsCommandInput | ListTagsForResourceCommandInput | StartPolicyGenerationCommandInput | StartResourceScanCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnalyzerCommandInput | UpdateArchiveRuleCommandInput | UpdateFindingsCommandInput | ValidatePolicyCommandInput;
|
|
54
55
|
/**
|
|
55
56
|
* @public
|
|
56
57
|
*/
|
|
57
|
-
export type ServiceOutputTypes = ApplyArchiveRuleCommandOutput | CancelPolicyGenerationCommandOutput | CheckAccessNotGrantedCommandOutput | CheckNoNewAccessCommandOutput | CheckNoPublicAccessCommandOutput | CreateAccessPreviewCommandOutput | CreateAnalyzerCommandOutput | CreateArchiveRuleCommandOutput | DeleteAnalyzerCommandOutput | DeleteArchiveRuleCommandOutput | GenerateFindingRecommendationCommandOutput | GetAccessPreviewCommandOutput | GetAnalyzedResourceCommandOutput | GetAnalyzerCommandOutput | GetArchiveRuleCommandOutput | GetFindingCommandOutput | GetFindingRecommendationCommandOutput | GetFindingV2CommandOutput | GetFindingsStatisticsCommandOutput | GetGeneratedPolicyCommandOutput | ListAccessPreviewFindingsCommandOutput | ListAccessPreviewsCommandOutput | ListAnalyzedResourcesCommandOutput | ListAnalyzersCommandOutput | ListArchiveRulesCommandOutput | ListFindingsCommandOutput | ListFindingsV2CommandOutput | ListPolicyGenerationsCommandOutput | ListTagsForResourceCommandOutput | StartPolicyGenerationCommandOutput | StartResourceScanCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnalyzerCommandOutput | UpdateArchiveRuleCommandOutput | UpdateFindingsCommandOutput | ValidatePolicyCommandOutput;
|
|
58
|
+
export type ServiceOutputTypes = ApplyArchiveRuleCommandOutput | CancelPolicyGenerationCommandOutput | CheckAccessNotGrantedCommandOutput | CheckNoNewAccessCommandOutput | CheckNoPublicAccessCommandOutput | CreateAccessPreviewCommandOutput | CreateAnalyzerCommandOutput | CreateArchiveRuleCommandOutput | CreateServiceLinkedAnalyzerCommandOutput | DeleteAnalyzerCommandOutput | DeleteArchiveRuleCommandOutput | DeleteServiceLinkedAnalyzerCommandOutput | GenerateFindingRecommendationCommandOutput | GetAccessPreviewCommandOutput | GetAnalyzedResourceCommandOutput | GetAnalyzerCommandOutput | GetArchiveRuleCommandOutput | GetFindingCommandOutput | GetFindingRecommendationCommandOutput | GetFindingV2CommandOutput | GetFindingsStatisticsCommandOutput | GetGeneratedPolicyCommandOutput | ListAccessPreviewFindingsCommandOutput | ListAccessPreviewsCommandOutput | ListAnalyzedResourcesCommandOutput | ListAnalyzersCommandOutput | ListArchiveRulesCommandOutput | ListFindingsCommandOutput | ListFindingsV2CommandOutput | ListPolicyGenerationsCommandOutput | ListTagsForResourceCommandOutput | StartPolicyGenerationCommandOutput | StartResourceScanCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnalyzerCommandOutput | UpdateArchiveRuleCommandOutput | UpdateFindingsCommandOutput | ValidatePolicyCommandOutput;
|
|
58
59
|
/**
|
|
59
60
|
* @public
|
|
60
61
|
*/
|