@aws-sdk/client-accessanalyzer 3.54.0 → 3.56.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 +24 -0
- package/dist-cjs/AccessAnalyzerClient.js +13 -13
- package/dist-cjs/commands/ApplyArchiveRuleCommand.js +3 -3
- package/dist-cjs/commands/CancelPolicyGenerationCommand.js +3 -3
- package/dist-cjs/commands/CreateAccessPreviewCommand.js +3 -3
- package/dist-cjs/commands/CreateAnalyzerCommand.js +3 -3
- package/dist-cjs/commands/CreateArchiveRuleCommand.js +3 -3
- package/dist-cjs/commands/DeleteAnalyzerCommand.js +3 -3
- package/dist-cjs/commands/DeleteArchiveRuleCommand.js +3 -3
- package/dist-cjs/commands/GetAccessPreviewCommand.js +3 -3
- package/dist-cjs/commands/GetAnalyzedResourceCommand.js +3 -3
- package/dist-cjs/commands/GetAnalyzerCommand.js +3 -3
- package/dist-cjs/commands/GetArchiveRuleCommand.js +3 -3
- package/dist-cjs/commands/GetFindingCommand.js +3 -3
- package/dist-cjs/commands/GetGeneratedPolicyCommand.js +3 -3
- package/dist-cjs/commands/ListAccessPreviewFindingsCommand.js +3 -3
- package/dist-cjs/commands/ListAccessPreviewsCommand.js +3 -3
- package/dist-cjs/commands/ListAnalyzedResourcesCommand.js +3 -3
- package/dist-cjs/commands/ListAnalyzersCommand.js +3 -3
- package/dist-cjs/commands/ListArchiveRulesCommand.js +3 -3
- package/dist-cjs/commands/ListFindingsCommand.js +3 -3
- package/dist-cjs/commands/ListPolicyGenerationsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/StartPolicyGenerationCommand.js +3 -3
- package/dist-cjs/commands/StartResourceScanCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateArchiveRuleCommand.js +3 -3
- package/dist-cjs/commands/UpdateFindingsCommand.js +3 -3
- package/dist-cjs/commands/ValidatePolicyCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +237 -237
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/AccessAnalyzer.js +28 -28
- package/dist-es/pagination/ListAccessPreviewFindingsPaginator.js +4 -4
- package/dist-es/pagination/ListAccessPreviewsPaginator.js +4 -4
- package/dist-es/pagination/ListAnalyzedResourcesPaginator.js +4 -4
- package/dist-es/pagination/ListAnalyzersPaginator.js +4 -4
- package/dist-es/pagination/ListArchiveRulesPaginator.js +4 -4
- package/dist-es/pagination/ListFindingsPaginator.js +4 -4
- package/dist-es/pagination/ListPolicyGenerationsPaginator.js +4 -4
- package/dist-es/pagination/ValidatePolicyPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +28 -28
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -15,7 +15,7 @@ export var serializeAws_restJson1ApplyArchiveRuleCommand = function (input, cont
|
|
|
15
15
|
headers = {
|
|
16
16
|
"content-type": "application/json",
|
|
17
17
|
};
|
|
18
|
-
resolvedPath = ""
|
|
18
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/archive-rule";
|
|
19
19
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.analyzerArn !== undefined && input.analyzerArn !== null && { analyzerArn: input.analyzerArn })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.ruleName !== undefined && input.ruleName !== null && { ruleName: input.ruleName })));
|
|
20
20
|
return [2, new __HttpRequest({
|
|
21
21
|
protocol: protocol,
|
|
@@ -37,7 +37,7 @@ export var serializeAws_restJson1CancelPolicyGenerationCommand = function (input
|
|
|
37
37
|
case 1:
|
|
38
38
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
39
39
|
headers = {};
|
|
40
|
-
resolvedPath = ""
|
|
40
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/policy/generation/{jobId}";
|
|
41
41
|
if (input.jobId !== undefined) {
|
|
42
42
|
labelValue = input.jobId;
|
|
43
43
|
if (labelValue.length <= 0) {
|
|
@@ -71,7 +71,7 @@ export var serializeAws_restJson1CreateAccessPreviewCommand = function (input, c
|
|
|
71
71
|
headers = {
|
|
72
72
|
"content-type": "application/json",
|
|
73
73
|
};
|
|
74
|
-
resolvedPath = ""
|
|
74
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/access-preview";
|
|
75
75
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.analyzerArn !== undefined && input.analyzerArn !== null && { analyzerArn: input.analyzerArn })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.configurations !== undefined &&
|
|
76
76
|
input.configurations !== null && {
|
|
77
77
|
configurations: serializeAws_restJson1ConfigurationsMap(input.configurations, context),
|
|
@@ -99,7 +99,7 @@ export var serializeAws_restJson1CreateAnalyzerCommand = function (input, contex
|
|
|
99
99
|
headers = {
|
|
100
100
|
"content-type": "application/json",
|
|
101
101
|
};
|
|
102
|
-
resolvedPath = ""
|
|
102
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/analyzer";
|
|
103
103
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.analyzerName !== undefined && input.analyzerName !== null && { analyzerName: input.analyzerName })), (input.archiveRules !== undefined &&
|
|
104
104
|
input.archiveRules !== null && {
|
|
105
105
|
archiveRules: serializeAws_restJson1InlineArchiveRulesList(input.archiveRules, context),
|
|
@@ -128,7 +128,7 @@ export var serializeAws_restJson1CreateArchiveRuleCommand = function (input, con
|
|
|
128
128
|
headers = {
|
|
129
129
|
"content-type": "application/json",
|
|
130
130
|
};
|
|
131
|
-
resolvedPath = ""
|
|
131
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/analyzer/{analyzerName}/archive-rule";
|
|
132
132
|
if (input.analyzerName !== undefined) {
|
|
133
133
|
labelValue = input.analyzerName;
|
|
134
134
|
if (labelValue.length <= 0) {
|
|
@@ -161,7 +161,7 @@ export var serializeAws_restJson1DeleteAnalyzerCommand = function (input, contex
|
|
|
161
161
|
case 1:
|
|
162
162
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
163
163
|
headers = {};
|
|
164
|
-
resolvedPath = ""
|
|
164
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/analyzer/{analyzerName}";
|
|
165
165
|
if (input.analyzerName !== undefined) {
|
|
166
166
|
labelValue = input.analyzerName;
|
|
167
167
|
if (labelValue.length <= 0) {
|
|
@@ -194,7 +194,7 @@ export var serializeAws_restJson1DeleteArchiveRuleCommand = function (input, con
|
|
|
194
194
|
case 1:
|
|
195
195
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
196
196
|
headers = {};
|
|
197
|
-
resolvedPath = ""
|
|
197
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
198
198
|
"/analyzer/{analyzerName}/archive-rule/{ruleName}";
|
|
199
199
|
if (input.analyzerName !== undefined) {
|
|
200
200
|
labelValue = input.analyzerName;
|
|
@@ -238,7 +238,7 @@ export var serializeAws_restJson1GetAccessPreviewCommand = function (input, cont
|
|
|
238
238
|
case 1:
|
|
239
239
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
240
240
|
headers = {};
|
|
241
|
-
resolvedPath = ""
|
|
241
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/access-preview/{accessPreviewId}";
|
|
242
242
|
if (input.accessPreviewId !== undefined) {
|
|
243
243
|
labelValue = input.accessPreviewId;
|
|
244
244
|
if (labelValue.length <= 0) {
|
|
@@ -271,7 +271,7 @@ export var serializeAws_restJson1GetAnalyzedResourceCommand = function (input, c
|
|
|
271
271
|
case 1:
|
|
272
272
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
273
273
|
headers = {};
|
|
274
|
-
resolvedPath = ""
|
|
274
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/analyzed-resource";
|
|
275
275
|
query = __assign(__assign({}, (input.analyzerArn !== undefined && { analyzerArn: input.analyzerArn })), (input.resourceArn !== undefined && { resourceArn: input.resourceArn }));
|
|
276
276
|
return [2, new __HttpRequest({
|
|
277
277
|
protocol: protocol,
|
|
@@ -294,7 +294,7 @@ export var serializeAws_restJson1GetAnalyzerCommand = function (input, context)
|
|
|
294
294
|
case 1:
|
|
295
295
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
296
296
|
headers = {};
|
|
297
|
-
resolvedPath = ""
|
|
297
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/analyzer/{analyzerName}";
|
|
298
298
|
if (input.analyzerName !== undefined) {
|
|
299
299
|
labelValue = input.analyzerName;
|
|
300
300
|
if (labelValue.length <= 0) {
|
|
@@ -325,7 +325,7 @@ export var serializeAws_restJson1GetArchiveRuleCommand = function (input, contex
|
|
|
325
325
|
case 1:
|
|
326
326
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
327
327
|
headers = {};
|
|
328
|
-
resolvedPath = ""
|
|
328
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
329
329
|
"/analyzer/{analyzerName}/archive-rule/{ruleName}";
|
|
330
330
|
if (input.analyzerName !== undefined) {
|
|
331
331
|
labelValue = input.analyzerName;
|
|
@@ -367,7 +367,7 @@ export var serializeAws_restJson1GetFindingCommand = function (input, context) {
|
|
|
367
367
|
case 1:
|
|
368
368
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
369
369
|
headers = {};
|
|
370
|
-
resolvedPath = ""
|
|
370
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/finding/{id}";
|
|
371
371
|
if (input.id !== undefined) {
|
|
372
372
|
labelValue = input.id;
|
|
373
373
|
if (labelValue.length <= 0) {
|
|
@@ -400,7 +400,7 @@ export var serializeAws_restJson1GetGeneratedPolicyCommand = function (input, co
|
|
|
400
400
|
case 1:
|
|
401
401
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
402
402
|
headers = {};
|
|
403
|
-
resolvedPath = ""
|
|
403
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/policy/generation/{jobId}";
|
|
404
404
|
if (input.jobId !== undefined) {
|
|
405
405
|
labelValue = input.jobId;
|
|
406
406
|
if (labelValue.length <= 0) {
|
|
@@ -439,7 +439,7 @@ export var serializeAws_restJson1ListAccessPreviewFindingsCommand = function (in
|
|
|
439
439
|
headers = {
|
|
440
440
|
"content-type": "application/json",
|
|
441
441
|
};
|
|
442
|
-
resolvedPath = ""
|
|
442
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/access-preview/{accessPreviewId}";
|
|
443
443
|
if (input.accessPreviewId !== undefined) {
|
|
444
444
|
labelValue = input.accessPreviewId;
|
|
445
445
|
if (labelValue.length <= 0) {
|
|
@@ -472,7 +472,7 @@ export var serializeAws_restJson1ListAccessPreviewsCommand = function (input, co
|
|
|
472
472
|
case 1:
|
|
473
473
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
474
474
|
headers = {};
|
|
475
|
-
resolvedPath = ""
|
|
475
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/access-preview";
|
|
476
476
|
query = __assign(__assign(__assign({}, (input.analyzerArn !== undefined && { analyzerArn: input.analyzerArn })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
477
477
|
return [2, new __HttpRequest({
|
|
478
478
|
protocol: protocol,
|
|
@@ -497,7 +497,7 @@ export var serializeAws_restJson1ListAnalyzedResourcesCommand = function (input,
|
|
|
497
497
|
headers = {
|
|
498
498
|
"content-type": "application/json",
|
|
499
499
|
};
|
|
500
|
-
resolvedPath = ""
|
|
500
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/analyzed-resource";
|
|
501
501
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.analyzerArn !== undefined && input.analyzerArn !== null && { analyzerArn: input.analyzerArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.resourceType !== undefined && input.resourceType !== null && { resourceType: input.resourceType })));
|
|
502
502
|
return [2, new __HttpRequest({
|
|
503
503
|
protocol: protocol,
|
|
@@ -519,7 +519,7 @@ export var serializeAws_restJson1ListAnalyzersCommand = function (input, context
|
|
|
519
519
|
case 1:
|
|
520
520
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
521
521
|
headers = {};
|
|
522
|
-
resolvedPath = ""
|
|
522
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/analyzer";
|
|
523
523
|
query = __assign(__assign(__assign({}, (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.type !== undefined && { type: input.type }));
|
|
524
524
|
return [2, new __HttpRequest({
|
|
525
525
|
protocol: protocol,
|
|
@@ -542,7 +542,7 @@ export var serializeAws_restJson1ListArchiveRulesCommand = function (input, cont
|
|
|
542
542
|
case 1:
|
|
543
543
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
544
544
|
headers = {};
|
|
545
|
-
resolvedPath = ""
|
|
545
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/analyzer/{analyzerName}/archive-rule";
|
|
546
546
|
if (input.analyzerName !== undefined) {
|
|
547
547
|
labelValue = input.analyzerName;
|
|
548
548
|
if (labelValue.length <= 0) {
|
|
@@ -577,7 +577,7 @@ export var serializeAws_restJson1ListFindingsCommand = function (input, context)
|
|
|
577
577
|
headers = {
|
|
578
578
|
"content-type": "application/json",
|
|
579
579
|
};
|
|
580
|
-
resolvedPath = ""
|
|
580
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/finding";
|
|
581
581
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.analyzerArn !== undefined && input.analyzerArn !== null && { analyzerArn: input.analyzerArn })), (input.filter !== undefined &&
|
|
582
582
|
input.filter !== null && { filter: serializeAws_restJson1FilterCriteriaMap(input.filter, context) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.sort !== undefined &&
|
|
583
583
|
input.sort !== null && { sort: serializeAws_restJson1SortCriteria(input.sort, context) })));
|
|
@@ -601,7 +601,7 @@ export var serializeAws_restJson1ListPolicyGenerationsCommand = function (input,
|
|
|
601
601
|
case 1:
|
|
602
602
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
603
603
|
headers = {};
|
|
604
|
-
resolvedPath = ""
|
|
604
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/policy/generation";
|
|
605
605
|
query = __assign(__assign(__assign({}, (input.principalArn !== undefined && { principalArn: input.principalArn })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
|
|
606
606
|
return [2, new __HttpRequest({
|
|
607
607
|
protocol: protocol,
|
|
@@ -624,7 +624,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
624
624
|
case 1:
|
|
625
625
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
626
626
|
headers = {};
|
|
627
|
-
resolvedPath = ""
|
|
627
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
628
628
|
if (input.resourceArn !== undefined) {
|
|
629
629
|
labelValue = input.resourceArn;
|
|
630
630
|
if (labelValue.length <= 0) {
|
|
@@ -658,7 +658,7 @@ export var serializeAws_restJson1StartPolicyGenerationCommand = function (input,
|
|
|
658
658
|
headers = {
|
|
659
659
|
"content-type": "application/json",
|
|
660
660
|
};
|
|
661
|
-
resolvedPath = ""
|
|
661
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/policy/generation";
|
|
662
662
|
body = JSON.stringify(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.cloudTrailDetails !== undefined &&
|
|
663
663
|
input.cloudTrailDetails !== null && {
|
|
664
664
|
cloudTrailDetails: serializeAws_restJson1CloudTrailDetails(input.cloudTrailDetails, context),
|
|
@@ -688,7 +688,7 @@ export var serializeAws_restJson1StartResourceScanCommand = function (input, con
|
|
|
688
688
|
headers = {
|
|
689
689
|
"content-type": "application/json",
|
|
690
690
|
};
|
|
691
|
-
resolvedPath = ""
|
|
691
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resource/scan";
|
|
692
692
|
body = JSON.stringify(__assign(__assign({}, (input.analyzerArn !== undefined && input.analyzerArn !== null && { analyzerArn: input.analyzerArn })), (input.resourceArn !== undefined && input.resourceArn !== null && { resourceArn: input.resourceArn })));
|
|
693
693
|
return [2, new __HttpRequest({
|
|
694
694
|
protocol: protocol,
|
|
@@ -712,7 +712,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
712
712
|
headers = {
|
|
713
713
|
"content-type": "application/json",
|
|
714
714
|
};
|
|
715
|
-
resolvedPath = ""
|
|
715
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
716
716
|
if (input.resourceArn !== undefined) {
|
|
717
717
|
labelValue = input.resourceArn;
|
|
718
718
|
if (labelValue.length <= 0) {
|
|
@@ -745,7 +745,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
745
745
|
case 1:
|
|
746
746
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
747
747
|
headers = {};
|
|
748
|
-
resolvedPath = ""
|
|
748
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
749
749
|
if (input.resourceArn !== undefined) {
|
|
750
750
|
labelValue = input.resourceArn;
|
|
751
751
|
if (labelValue.length <= 0) {
|
|
@@ -781,7 +781,7 @@ export var serializeAws_restJson1UpdateArchiveRuleCommand = function (input, con
|
|
|
781
781
|
headers = {
|
|
782
782
|
"content-type": "application/json",
|
|
783
783
|
};
|
|
784
|
-
resolvedPath = ""
|
|
784
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
785
785
|
"/analyzer/{analyzerName}/archive-rule/{ruleName}";
|
|
786
786
|
if (input.analyzerName !== undefined) {
|
|
787
787
|
labelValue = input.analyzerName;
|
|
@@ -828,7 +828,7 @@ export var serializeAws_restJson1UpdateFindingsCommand = function (input, contex
|
|
|
828
828
|
headers = {
|
|
829
829
|
"content-type": "application/json",
|
|
830
830
|
};
|
|
831
|
-
resolvedPath = ""
|
|
831
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/finding";
|
|
832
832
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.analyzerArn !== undefined && input.analyzerArn !== null && { analyzerArn: input.analyzerArn })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.ids !== undefined &&
|
|
833
833
|
input.ids !== null && { ids: serializeAws_restJson1FindingIdList(input.ids, context) })), (input.resourceArn !== undefined && input.resourceArn !== null && { resourceArn: input.resourceArn })), (input.status !== undefined && input.status !== null && { status: input.status })));
|
|
834
834
|
return [2, new __HttpRequest({
|
|
@@ -853,7 +853,7 @@ export var serializeAws_restJson1ValidatePolicyCommand = function (input, contex
|
|
|
853
853
|
headers = {
|
|
854
854
|
"content-type": "application/json",
|
|
855
855
|
};
|
|
856
|
-
resolvedPath = ""
|
|
856
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/policy/validation";
|
|
857
857
|
query = __assign(__assign({}, (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
|
|
858
858
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.locale !== undefined && input.locale !== null && { locale: input.locale })), (input.policyDocument !== undefined &&
|
|
859
859
|
input.policyDocument !== null && { policyDocument: input.policyDocument })), (input.policyType !== undefined && input.policyType !== null && { policyType: input.policyType })), (input.validatePolicyResourceType !== undefined &&
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-accessanalyzer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Accessanalyzer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.56.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,41 +18,41 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.56.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.56.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.56.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.55.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.55.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.55.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.56.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.56.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.55.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.56.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.55.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.55.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
|
+
"@aws-sdk/types": "3.55.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.55.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.56.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.55.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.56.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
+
"tslib": "^2.3.1",
|
|
52
52
|
"uuid": "^8.3.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.55.0",
|
|
56
56
|
"@tsconfig/recommended": "1.0.1",
|
|
57
57
|
"@types/node": "^12.7.5",
|
|
58
58
|
"@types/uuid": "^8.3.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"downlevel-dts": "0.7.0",
|
|
61
61
|
"rimraf": "3.0.2",
|
|
62
62
|
"typedoc": "0.19.2",
|
|
63
|
-
"typescript": "~4.
|
|
63
|
+
"typescript": "~4.6.2"
|
|
64
64
|
},
|
|
65
65
|
"engines": {
|
|
66
66
|
"node": ">=12.0.0"
|