@aws-sdk/client-accessanalyzer 3.511.0 → 3.514.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/index.js +120 -62
- package/dist-cjs/runtimeConfig.shared.js +10 -0
- package/dist-es/AccessAnalyzerClient.js +17 -4
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/runtimeConfig.shared.js +10 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/AccessAnalyzerClient.d.ts +13 -11
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -4
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +11 -9
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -8
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +7 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveHttpAuthSchemeConfig = exports.defaultAccessAnalyzerHttpAuthSchemeProvider = exports.defaultAccessAnalyzerHttpAuthSchemeParametersProvider = void 0;
|
|
4
|
+
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const util_middleware_1 = require("@smithy/util-middleware");
|
|
6
|
+
const defaultAccessAnalyzerHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
|
+
return {
|
|
8
|
+
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
|
|
10
|
+
(() => {
|
|
11
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
12
|
+
})(),
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
exports.defaultAccessAnalyzerHttpAuthSchemeParametersProvider = defaultAccessAnalyzerHttpAuthSchemeParametersProvider;
|
|
16
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
17
|
+
return {
|
|
18
|
+
schemeId: "aws.auth#sigv4",
|
|
19
|
+
signingProperties: {
|
|
20
|
+
name: "access-analyzer",
|
|
21
|
+
region: authParameters.region,
|
|
22
|
+
},
|
|
23
|
+
propertiesExtractor: (config, context) => ({
|
|
24
|
+
signingProperties: {
|
|
25
|
+
config,
|
|
26
|
+
context,
|
|
27
|
+
},
|
|
28
|
+
}),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
const defaultAccessAnalyzerHttpAuthSchemeProvider = (authParameters) => {
|
|
32
|
+
const options = [];
|
|
33
|
+
switch (authParameters.operation) {
|
|
34
|
+
default: {
|
|
35
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return options;
|
|
39
|
+
};
|
|
40
|
+
exports.defaultAccessAnalyzerHttpAuthSchemeProvider = defaultAccessAnalyzerHttpAuthSchemeProvider;
|
|
41
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
42
|
+
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
43
|
+
return {
|
|
44
|
+
...config_0,
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/index.js
CHANGED
|
@@ -109,13 +109,14 @@ module.exports = __toCommonJS(src_exports);
|
|
|
109
109
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
110
110
|
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
111
111
|
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
112
|
-
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
113
112
|
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
114
113
|
var import_config_resolver = require("@smithy/config-resolver");
|
|
114
|
+
var import_core = require("@smithy/core");
|
|
115
115
|
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
116
116
|
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
117
117
|
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
118
118
|
|
|
119
|
+
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
119
120
|
|
|
120
121
|
// src/endpoint/EndpointParameters.ts
|
|
121
122
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
@@ -140,19 +141,62 @@ var import_runtimeConfig = require("././runtimeConfig");
|
|
|
140
141
|
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
141
142
|
var import_protocol_http = require("@smithy/protocol-http");
|
|
142
143
|
var import_smithy_client = require("@smithy/smithy-client");
|
|
144
|
+
|
|
145
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
|
146
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
147
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
148
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
149
|
+
let _credentials = runtimeConfig.credentials;
|
|
150
|
+
return {
|
|
151
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
152
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
153
|
+
if (index === -1) {
|
|
154
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
155
|
+
} else {
|
|
156
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
httpAuthSchemes() {
|
|
160
|
+
return _httpAuthSchemes;
|
|
161
|
+
},
|
|
162
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
163
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
164
|
+
},
|
|
165
|
+
httpAuthSchemeProvider() {
|
|
166
|
+
return _httpAuthSchemeProvider;
|
|
167
|
+
},
|
|
168
|
+
setCredentials(credentials) {
|
|
169
|
+
_credentials = credentials;
|
|
170
|
+
},
|
|
171
|
+
credentials() {
|
|
172
|
+
return _credentials;
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
}, "getHttpAuthExtensionConfiguration");
|
|
176
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
177
|
+
return {
|
|
178
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
179
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
180
|
+
credentials: config.credentials()
|
|
181
|
+
};
|
|
182
|
+
}, "resolveHttpAuthRuntimeConfig");
|
|
183
|
+
|
|
184
|
+
// src/runtimeExtensions.ts
|
|
143
185
|
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
144
186
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
145
187
|
const extensionConfiguration = {
|
|
146
188
|
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
147
189
|
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
148
|
-
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
190
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
191
|
+
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
|
|
149
192
|
};
|
|
150
193
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
151
194
|
return {
|
|
152
195
|
...runtimeConfig,
|
|
153
196
|
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
154
197
|
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
155
|
-
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
198
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
199
|
+
...resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
156
200
|
};
|
|
157
201
|
}, "resolveRuntimeExtensions");
|
|
158
202
|
|
|
@@ -165,8 +209,8 @@ var _AccessAnalyzerClient = class _AccessAnalyzerClient extends import_smithy_cl
|
|
|
165
209
|
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
166
210
|
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
167
211
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
168
|
-
const _config_6 = (0,
|
|
169
|
-
const _config_7 = (0,
|
|
212
|
+
const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
|
|
213
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
170
214
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
171
215
|
super(_config_8);
|
|
172
216
|
this.config = _config_8;
|
|
@@ -175,8 +219,14 @@ var _AccessAnalyzerClient = class _AccessAnalyzerClient extends import_smithy_cl
|
|
|
175
219
|
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
176
220
|
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
177
221
|
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
178
|
-
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
179
222
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
223
|
+
this.middlewareStack.use(
|
|
224
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
225
|
+
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
226
|
+
identityProviderConfigProvider: this.getIdentityProviderConfigProvider()
|
|
227
|
+
})
|
|
228
|
+
);
|
|
229
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
180
230
|
}
|
|
181
231
|
/**
|
|
182
232
|
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
@@ -186,6 +236,14 @@ var _AccessAnalyzerClient = class _AccessAnalyzerClient extends import_smithy_cl
|
|
|
186
236
|
destroy() {
|
|
187
237
|
super.destroy();
|
|
188
238
|
}
|
|
239
|
+
getDefaultHttpAuthSchemeParametersProvider() {
|
|
240
|
+
return import_httpAuthSchemeProvider.defaultAccessAnalyzerHttpAuthSchemeParametersProvider;
|
|
241
|
+
}
|
|
242
|
+
getIdentityProviderConfigProvider() {
|
|
243
|
+
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
244
|
+
"aws.auth#sigv4": config.credentials
|
|
245
|
+
});
|
|
246
|
+
}
|
|
189
247
|
};
|
|
190
248
|
__name(_AccessAnalyzerClient, "AccessAnalyzerClient");
|
|
191
249
|
var AccessAnalyzerClient = _AccessAnalyzerClient;
|
|
@@ -200,8 +258,8 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
200
258
|
var import_types = require("@smithy/types");
|
|
201
259
|
|
|
202
260
|
// src/protocols/Aws_restJson1.ts
|
|
203
|
-
var
|
|
204
|
-
|
|
261
|
+
var import_core2 = require("@aws-sdk/core");
|
|
262
|
+
|
|
205
263
|
|
|
206
264
|
var import_uuid = require("uuid");
|
|
207
265
|
|
|
@@ -609,7 +667,7 @@ var CheckNoNewAccessRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
|
|
|
609
667
|
|
|
610
668
|
// src/protocols/Aws_restJson1.ts
|
|
611
669
|
var se_ApplyArchiveRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
612
|
-
const b = (0,
|
|
670
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
613
671
|
const headers = {
|
|
614
672
|
"content-type": "application/json"
|
|
615
673
|
};
|
|
@@ -626,7 +684,7 @@ var se_ApplyArchiveRuleCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
626
684
|
return b.build();
|
|
627
685
|
}, "se_ApplyArchiveRuleCommand");
|
|
628
686
|
var se_CancelPolicyGenerationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
629
|
-
const b = (0,
|
|
687
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
630
688
|
const headers = {};
|
|
631
689
|
b.bp("/policy/generation/{jobId}");
|
|
632
690
|
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
@@ -635,7 +693,7 @@ var se_CancelPolicyGenerationCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
635
693
|
return b.build();
|
|
636
694
|
}, "se_CancelPolicyGenerationCommand");
|
|
637
695
|
var se_CheckAccessNotGrantedCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
638
|
-
const b = (0,
|
|
696
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
639
697
|
const headers = {
|
|
640
698
|
"content-type": "application/json"
|
|
641
699
|
};
|
|
@@ -652,7 +710,7 @@ var se_CheckAccessNotGrantedCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
652
710
|
return b.build();
|
|
653
711
|
}, "se_CheckAccessNotGrantedCommand");
|
|
654
712
|
var se_CheckNoNewAccessCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
655
|
-
const b = (0,
|
|
713
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
656
714
|
const headers = {
|
|
657
715
|
"content-type": "application/json"
|
|
658
716
|
};
|
|
@@ -669,7 +727,7 @@ var se_CheckNoNewAccessCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
669
727
|
return b.build();
|
|
670
728
|
}, "se_CheckNoNewAccessCommand");
|
|
671
729
|
var se_CreateAccessPreviewCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
672
|
-
const b = (0,
|
|
730
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
673
731
|
const headers = {
|
|
674
732
|
"content-type": "application/json"
|
|
675
733
|
};
|
|
@@ -686,7 +744,7 @@ var se_CreateAccessPreviewCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
686
744
|
return b.build();
|
|
687
745
|
}, "se_CreateAccessPreviewCommand");
|
|
688
746
|
var se_CreateAnalyzerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
689
|
-
const b = (0,
|
|
747
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
690
748
|
const headers = {
|
|
691
749
|
"content-type": "application/json"
|
|
692
750
|
};
|
|
@@ -706,7 +764,7 @@ var se_CreateAnalyzerCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
706
764
|
return b.build();
|
|
707
765
|
}, "se_CreateAnalyzerCommand");
|
|
708
766
|
var se_CreateArchiveRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
709
|
-
const b = (0,
|
|
767
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
710
768
|
const headers = {
|
|
711
769
|
"content-type": "application/json"
|
|
712
770
|
};
|
|
@@ -724,7 +782,7 @@ var se_CreateArchiveRuleCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
724
782
|
return b.build();
|
|
725
783
|
}, "se_CreateArchiveRuleCommand");
|
|
726
784
|
var se_DeleteAnalyzerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
727
|
-
const b = (0,
|
|
785
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
728
786
|
const headers = {};
|
|
729
787
|
b.bp("/analyzer/{analyzerName}");
|
|
730
788
|
b.p("analyzerName", () => input.analyzerName, "{analyzerName}", false);
|
|
@@ -736,7 +794,7 @@ var se_DeleteAnalyzerCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
736
794
|
return b.build();
|
|
737
795
|
}, "se_DeleteAnalyzerCommand");
|
|
738
796
|
var se_DeleteArchiveRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
739
|
-
const b = (0,
|
|
797
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
740
798
|
const headers = {};
|
|
741
799
|
b.bp("/analyzer/{analyzerName}/archive-rule/{ruleName}");
|
|
742
800
|
b.p("analyzerName", () => input.analyzerName, "{analyzerName}", false);
|
|
@@ -749,7 +807,7 @@ var se_DeleteArchiveRuleCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
749
807
|
return b.build();
|
|
750
808
|
}, "se_DeleteArchiveRuleCommand");
|
|
751
809
|
var se_GetAccessPreviewCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
752
|
-
const b = (0,
|
|
810
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
753
811
|
const headers = {};
|
|
754
812
|
b.bp("/access-preview/{accessPreviewId}");
|
|
755
813
|
b.p("accessPreviewId", () => input.accessPreviewId, "{accessPreviewId}", false);
|
|
@@ -761,7 +819,7 @@ var se_GetAccessPreviewCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
761
819
|
return b.build();
|
|
762
820
|
}, "se_GetAccessPreviewCommand");
|
|
763
821
|
var se_GetAnalyzedResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
764
|
-
const b = (0,
|
|
822
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
765
823
|
const headers = {};
|
|
766
824
|
b.bp("/analyzed-resource");
|
|
767
825
|
const query = (0, import_smithy_client.map)({
|
|
@@ -773,7 +831,7 @@ var se_GetAnalyzedResourceCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
773
831
|
return b.build();
|
|
774
832
|
}, "se_GetAnalyzedResourceCommand");
|
|
775
833
|
var se_GetAnalyzerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
776
|
-
const b = (0,
|
|
834
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
777
835
|
const headers = {};
|
|
778
836
|
b.bp("/analyzer/{analyzerName}");
|
|
779
837
|
b.p("analyzerName", () => input.analyzerName, "{analyzerName}", false);
|
|
@@ -782,7 +840,7 @@ var se_GetAnalyzerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
782
840
|
return b.build();
|
|
783
841
|
}, "se_GetAnalyzerCommand");
|
|
784
842
|
var se_GetArchiveRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
785
|
-
const b = (0,
|
|
843
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
786
844
|
const headers = {};
|
|
787
845
|
b.bp("/analyzer/{analyzerName}/archive-rule/{ruleName}");
|
|
788
846
|
b.p("analyzerName", () => input.analyzerName, "{analyzerName}", false);
|
|
@@ -792,7 +850,7 @@ var se_GetArchiveRuleCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
792
850
|
return b.build();
|
|
793
851
|
}, "se_GetArchiveRuleCommand");
|
|
794
852
|
var se_GetFindingCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
795
|
-
const b = (0,
|
|
853
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
796
854
|
const headers = {};
|
|
797
855
|
b.bp("/finding/{id}");
|
|
798
856
|
b.p("id", () => input.id, "{id}", false);
|
|
@@ -804,7 +862,7 @@ var se_GetFindingCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
804
862
|
return b.build();
|
|
805
863
|
}, "se_GetFindingCommand");
|
|
806
864
|
var se_GetFindingV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
807
|
-
const b = (0,
|
|
865
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
808
866
|
const headers = {};
|
|
809
867
|
b.bp("/findingv2/{id}");
|
|
810
868
|
b.p("id", () => input.id, "{id}", false);
|
|
@@ -818,7 +876,7 @@ var se_GetFindingV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
818
876
|
return b.build();
|
|
819
877
|
}, "se_GetFindingV2Command");
|
|
820
878
|
var se_GetGeneratedPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
821
|
-
const b = (0,
|
|
879
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
822
880
|
const headers = {};
|
|
823
881
|
b.bp("/policy/generation/{jobId}");
|
|
824
882
|
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
@@ -831,7 +889,7 @@ var se_GetGeneratedPolicyCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
831
889
|
return b.build();
|
|
832
890
|
}, "se_GetGeneratedPolicyCommand");
|
|
833
891
|
var se_ListAccessPreviewFindingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
834
|
-
const b = (0,
|
|
892
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
835
893
|
const headers = {
|
|
836
894
|
"content-type": "application/json"
|
|
837
895
|
};
|
|
@@ -850,7 +908,7 @@ var se_ListAccessPreviewFindingsCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
850
908
|
return b.build();
|
|
851
909
|
}, "se_ListAccessPreviewFindingsCommand");
|
|
852
910
|
var se_ListAccessPreviewsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
853
|
-
const b = (0,
|
|
911
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
854
912
|
const headers = {};
|
|
855
913
|
b.bp("/access-preview");
|
|
856
914
|
const query = (0, import_smithy_client.map)({
|
|
@@ -863,7 +921,7 @@ var se_ListAccessPreviewsCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
863
921
|
return b.build();
|
|
864
922
|
}, "se_ListAccessPreviewsCommand");
|
|
865
923
|
var se_ListAnalyzedResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
866
|
-
const b = (0,
|
|
924
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
867
925
|
const headers = {
|
|
868
926
|
"content-type": "application/json"
|
|
869
927
|
};
|
|
@@ -881,7 +939,7 @@ var se_ListAnalyzedResourcesCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
881
939
|
return b.build();
|
|
882
940
|
}, "se_ListAnalyzedResourcesCommand");
|
|
883
941
|
var se_ListAnalyzersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
884
|
-
const b = (0,
|
|
942
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
885
943
|
const headers = {};
|
|
886
944
|
b.bp("/analyzer");
|
|
887
945
|
const query = (0, import_smithy_client.map)({
|
|
@@ -894,7 +952,7 @@ var se_ListAnalyzersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
894
952
|
return b.build();
|
|
895
953
|
}, "se_ListAnalyzersCommand");
|
|
896
954
|
var se_ListArchiveRulesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
897
|
-
const b = (0,
|
|
955
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
898
956
|
const headers = {};
|
|
899
957
|
b.bp("/analyzer/{analyzerName}/archive-rule");
|
|
900
958
|
b.p("analyzerName", () => input.analyzerName, "{analyzerName}", false);
|
|
@@ -907,7 +965,7 @@ var se_ListArchiveRulesCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
907
965
|
return b.build();
|
|
908
966
|
}, "se_ListArchiveRulesCommand");
|
|
909
967
|
var se_ListFindingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
910
|
-
const b = (0,
|
|
968
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
911
969
|
const headers = {
|
|
912
970
|
"content-type": "application/json"
|
|
913
971
|
};
|
|
@@ -926,7 +984,7 @@ var se_ListFindingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
926
984
|
return b.build();
|
|
927
985
|
}, "se_ListFindingsCommand");
|
|
928
986
|
var se_ListFindingsV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
929
|
-
const b = (0,
|
|
987
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
930
988
|
const headers = {
|
|
931
989
|
"content-type": "application/json"
|
|
932
990
|
};
|
|
@@ -945,7 +1003,7 @@ var se_ListFindingsV2Command = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
945
1003
|
return b.build();
|
|
946
1004
|
}, "se_ListFindingsV2Command");
|
|
947
1005
|
var se_ListPolicyGenerationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
948
|
-
const b = (0,
|
|
1006
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
949
1007
|
const headers = {};
|
|
950
1008
|
b.bp("/policy/generation");
|
|
951
1009
|
const query = (0, import_smithy_client.map)({
|
|
@@ -958,7 +1016,7 @@ var se_ListPolicyGenerationsCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
958
1016
|
return b.build();
|
|
959
1017
|
}, "se_ListPolicyGenerationsCommand");
|
|
960
1018
|
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
961
|
-
const b = (0,
|
|
1019
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
962
1020
|
const headers = {};
|
|
963
1021
|
b.bp("/tags/{resourceArn}");
|
|
964
1022
|
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
@@ -967,7 +1025,7 @@ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
967
1025
|
return b.build();
|
|
968
1026
|
}, "se_ListTagsForResourceCommand");
|
|
969
1027
|
var se_StartPolicyGenerationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
970
|
-
const b = (0,
|
|
1028
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
971
1029
|
const headers = {
|
|
972
1030
|
"content-type": "application/json"
|
|
973
1031
|
};
|
|
@@ -984,7 +1042,7 @@ var se_StartPolicyGenerationCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
984
1042
|
return b.build();
|
|
985
1043
|
}, "se_StartPolicyGenerationCommand");
|
|
986
1044
|
var se_StartResourceScanCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
987
|
-
const b = (0,
|
|
1045
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
988
1046
|
const headers = {
|
|
989
1047
|
"content-type": "application/json"
|
|
990
1048
|
};
|
|
@@ -1001,7 +1059,7 @@ var se_StartResourceScanCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1001
1059
|
return b.build();
|
|
1002
1060
|
}, "se_StartResourceScanCommand");
|
|
1003
1061
|
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1004
|
-
const b = (0,
|
|
1062
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1005
1063
|
const headers = {
|
|
1006
1064
|
"content-type": "application/json"
|
|
1007
1065
|
};
|
|
@@ -1017,7 +1075,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1017
1075
|
return b.build();
|
|
1018
1076
|
}, "se_TagResourceCommand");
|
|
1019
1077
|
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1020
|
-
const b = (0,
|
|
1078
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1021
1079
|
const headers = {};
|
|
1022
1080
|
b.bp("/tags/{resourceArn}");
|
|
1023
1081
|
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
@@ -1032,7 +1090,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1032
1090
|
return b.build();
|
|
1033
1091
|
}, "se_UntagResourceCommand");
|
|
1034
1092
|
var se_UpdateArchiveRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1035
|
-
const b = (0,
|
|
1093
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1036
1094
|
const headers = {
|
|
1037
1095
|
"content-type": "application/json"
|
|
1038
1096
|
};
|
|
@@ -1050,7 +1108,7 @@ var se_UpdateArchiveRuleCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1050
1108
|
return b.build();
|
|
1051
1109
|
}, "se_UpdateArchiveRuleCommand");
|
|
1052
1110
|
var se_UpdateFindingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1053
|
-
const b = (0,
|
|
1111
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1054
1112
|
const headers = {
|
|
1055
1113
|
"content-type": "application/json"
|
|
1056
1114
|
};
|
|
@@ -1069,7 +1127,7 @@ var se_UpdateFindingsCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1069
1127
|
return b.build();
|
|
1070
1128
|
}, "se_UpdateFindingsCommand");
|
|
1071
1129
|
var se_ValidatePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1072
|
-
const b = (0,
|
|
1130
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1073
1131
|
const headers = {
|
|
1074
1132
|
"content-type": "application/json"
|
|
1075
1133
|
};
|
|
@@ -1778,7 +1836,7 @@ var de_AnalyzersList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1778
1836
|
var de_AnalyzerSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1779
1837
|
return (0, import_smithy_client.take)(output, {
|
|
1780
1838
|
arn: import_smithy_client.expectString,
|
|
1781
|
-
configuration: (_) => (0, import_smithy_client._json)((0,
|
|
1839
|
+
configuration: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1782
1840
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1783
1841
|
lastResourceAnalyzed: import_smithy_client.expectString,
|
|
1784
1842
|
lastResourceAnalyzedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
@@ -1858,7 +1916,7 @@ var de_FindingDetails = /* @__PURE__ */ __name((output, context) => {
|
|
|
1858
1916
|
}, "de_FindingDetails");
|
|
1859
1917
|
var de_FindingDetailsList = /* @__PURE__ */ __name((output, context) => {
|
|
1860
1918
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1861
|
-
return de_FindingDetails((0,
|
|
1919
|
+
return de_FindingDetails((0, import_core2.awsExpectUnion)(entry), context);
|
|
1862
1920
|
});
|
|
1863
1921
|
return retVal;
|
|
1864
1922
|
}, "de_FindingDetailsList");
|
|
@@ -2620,44 +2678,44 @@ var AccessAnalyzer = _AccessAnalyzer;
|
|
|
2620
2678
|
(0, import_smithy_client.createAggregatedClient)(commands, AccessAnalyzer);
|
|
2621
2679
|
|
|
2622
2680
|
// src/pagination/GetFindingV2Paginator.ts
|
|
2623
|
-
|
|
2624
|
-
var paginateGetFindingV2 = (0,
|
|
2681
|
+
|
|
2682
|
+
var paginateGetFindingV2 = (0, import_core.createPaginator)(AccessAnalyzerClient, GetFindingV2Command, "nextToken", "nextToken", "maxResults");
|
|
2625
2683
|
|
|
2626
2684
|
// src/pagination/ListAccessPreviewFindingsPaginator.ts
|
|
2627
|
-
|
|
2628
|
-
var paginateListAccessPreviewFindings = (0,
|
|
2685
|
+
|
|
2686
|
+
var paginateListAccessPreviewFindings = (0, import_core.createPaginator)(AccessAnalyzerClient, ListAccessPreviewFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
2629
2687
|
|
|
2630
2688
|
// src/pagination/ListAccessPreviewsPaginator.ts
|
|
2631
|
-
|
|
2632
|
-
var paginateListAccessPreviews = (0,
|
|
2689
|
+
|
|
2690
|
+
var paginateListAccessPreviews = (0, import_core.createPaginator)(AccessAnalyzerClient, ListAccessPreviewsCommand, "nextToken", "nextToken", "maxResults");
|
|
2633
2691
|
|
|
2634
2692
|
// src/pagination/ListAnalyzedResourcesPaginator.ts
|
|
2635
|
-
|
|
2636
|
-
var paginateListAnalyzedResources = (0,
|
|
2693
|
+
|
|
2694
|
+
var paginateListAnalyzedResources = (0, import_core.createPaginator)(AccessAnalyzerClient, ListAnalyzedResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
2637
2695
|
|
|
2638
2696
|
// src/pagination/ListAnalyzersPaginator.ts
|
|
2639
|
-
|
|
2640
|
-
var paginateListAnalyzers = (0,
|
|
2697
|
+
|
|
2698
|
+
var paginateListAnalyzers = (0, import_core.createPaginator)(AccessAnalyzerClient, ListAnalyzersCommand, "nextToken", "nextToken", "maxResults");
|
|
2641
2699
|
|
|
2642
2700
|
// src/pagination/ListArchiveRulesPaginator.ts
|
|
2643
|
-
|
|
2644
|
-
var paginateListArchiveRules = (0,
|
|
2701
|
+
|
|
2702
|
+
var paginateListArchiveRules = (0, import_core.createPaginator)(AccessAnalyzerClient, ListArchiveRulesCommand, "nextToken", "nextToken", "maxResults");
|
|
2645
2703
|
|
|
2646
2704
|
// src/pagination/ListFindingsPaginator.ts
|
|
2647
|
-
|
|
2648
|
-
var paginateListFindings = (0,
|
|
2705
|
+
|
|
2706
|
+
var paginateListFindings = (0, import_core.createPaginator)(AccessAnalyzerClient, ListFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
2649
2707
|
|
|
2650
2708
|
// src/pagination/ListFindingsV2Paginator.ts
|
|
2651
|
-
|
|
2652
|
-
var paginateListFindingsV2 = (0,
|
|
2709
|
+
|
|
2710
|
+
var paginateListFindingsV2 = (0, import_core.createPaginator)(AccessAnalyzerClient, ListFindingsV2Command, "nextToken", "nextToken", "maxResults");
|
|
2653
2711
|
|
|
2654
2712
|
// src/pagination/ListPolicyGenerationsPaginator.ts
|
|
2655
|
-
|
|
2656
|
-
var paginateListPolicyGenerations = (0,
|
|
2713
|
+
|
|
2714
|
+
var paginateListPolicyGenerations = (0, import_core.createPaginator)(AccessAnalyzerClient, ListPolicyGenerationsCommand, "nextToken", "nextToken", "maxResults");
|
|
2657
2715
|
|
|
2658
2716
|
// src/pagination/ValidatePolicyPaginator.ts
|
|
2659
|
-
|
|
2660
|
-
var paginateValidatePolicy = (0,
|
|
2717
|
+
|
|
2718
|
+
var paginateValidatePolicy = (0, import_core.createPaginator)(AccessAnalyzerClient, ValidatePolicyCommand, "nextToken", "nextToken", "maxResults");
|
|
2661
2719
|
|
|
2662
2720
|
// src/index.ts
|
|
2663
2721
|
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const core_1 = require("@aws-sdk/core");
|
|
4
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
6
|
const url_parser_1 = require("@smithy/url-parser");
|
|
6
7
|
const util_base64_1 = require("@smithy/util-base64");
|
|
7
8
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
9
|
+
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
8
10
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
9
11
|
const getRuntimeConfig = (config) => {
|
|
10
12
|
return {
|
|
@@ -14,6 +16,14 @@ const getRuntimeConfig = (config) => {
|
|
|
14
16
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
15
17
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
16
18
|
extensions: config?.extensions ?? [],
|
|
19
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultAccessAnalyzerHttpAuthSchemeProvider,
|
|
20
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
21
|
+
{
|
|
22
|
+
schemeId: "aws.auth#sigv4",
|
|
23
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
24
|
+
signer: new core_1.AwsSdkSigV4Signer(),
|
|
25
|
+
},
|
|
26
|
+
],
|
|
17
27
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
18
28
|
serviceId: config?.serviceId ?? "AccessAnalyzer",
|
|
19
29
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
2
2
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
3
3
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
4
|
-
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
5
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
6
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
|
+
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
8
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
9
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
10
10
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
11
|
+
import { defaultAccessAnalyzerHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
11
12
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
12
13
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
@@ -20,8 +21,8 @@ export class AccessAnalyzerClient extends __Client {
|
|
|
20
21
|
const _config_3 = resolveEndpointConfig(_config_2);
|
|
21
22
|
const _config_4 = resolveRetryConfig(_config_3);
|
|
22
23
|
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
23
|
-
const _config_6 =
|
|
24
|
-
const _config_7 =
|
|
24
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
25
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
25
26
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
26
27
|
super(_config_8);
|
|
27
28
|
this.config = _config_8;
|
|
@@ -30,10 +31,22 @@ export class AccessAnalyzerClient extends __Client {
|
|
|
30
31
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
31
32
|
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
32
33
|
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
33
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
34
34
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
35
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
36
|
+
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
37
|
+
identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
|
|
38
|
+
}));
|
|
39
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
35
40
|
}
|
|
36
41
|
destroy() {
|
|
37
42
|
super.destroy();
|
|
38
43
|
}
|
|
44
|
+
getDefaultHttpAuthSchemeParametersProvider() {
|
|
45
|
+
return defaultAccessAnalyzerHttpAuthSchemeParametersProvider;
|
|
46
|
+
}
|
|
47
|
+
getIdentityProviderConfigProvider() {
|
|
48
|
+
return async (config) => new DefaultIdentityProviderConfig({
|
|
49
|
+
"aws.auth#sigv4": config.credentials,
|
|
50
|
+
});
|
|
51
|
+
}
|
|
39
52
|
}
|