@aws-sdk/client-resource-groups 3.758.0 → 3.772.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/index.js +24 -24
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
BadRequestException: () => BadRequestException,
|
|
25
25
|
CancelTagSyncTaskCommand: () => CancelTagSyncTaskCommand,
|
|
26
26
|
CreateGroupCommand: () => CreateGroupCommand,
|
|
@@ -73,7 +73,7 @@ __export(src_exports, {
|
|
|
73
73
|
paginateListTagSyncTasks: () => paginateListTagSyncTasks,
|
|
74
74
|
paginateSearchResources: () => paginateSearchResources
|
|
75
75
|
});
|
|
76
|
-
module.exports = __toCommonJS(
|
|
76
|
+
module.exports = __toCommonJS(index_exports);
|
|
77
77
|
|
|
78
78
|
// src/ResourceGroupsClient.ts
|
|
79
79
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -200,9 +200,9 @@ var ResourceGroupsClient = class extends import_smithy_client.Client {
|
|
|
200
200
|
this.middlewareStack.use(
|
|
201
201
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
202
202
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultResourceGroupsHttpAuthSchemeParametersProvider,
|
|
203
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
203
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
204
204
|
"aws.auth#sigv4": config.credentials
|
|
205
|
-
})
|
|
205
|
+
}), "identityProviderConfigProvider")
|
|
206
206
|
})
|
|
207
207
|
);
|
|
208
208
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -468,14 +468,14 @@ var se_CreateGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
468
468
|
let body;
|
|
469
469
|
body = JSON.stringify(
|
|
470
470
|
(0, import_smithy_client.take)(input, {
|
|
471
|
-
Configuration: (_) => (0, import_smithy_client._json)(_),
|
|
471
|
+
Configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Configuration"),
|
|
472
472
|
Criticality: [],
|
|
473
473
|
Description: [],
|
|
474
474
|
DisplayName: [],
|
|
475
475
|
Name: [],
|
|
476
476
|
Owner: [],
|
|
477
|
-
ResourceQuery: (_) => (0, import_smithy_client._json)(_),
|
|
478
|
-
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
477
|
+
ResourceQuery: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ResourceQuery"),
|
|
478
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
479
479
|
})
|
|
480
480
|
);
|
|
481
481
|
b.m("POST").h(headers).b(body);
|
|
@@ -586,7 +586,7 @@ var se_GroupResourcesCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
586
586
|
body = JSON.stringify(
|
|
587
587
|
(0, import_smithy_client.take)(input, {
|
|
588
588
|
Group: [],
|
|
589
|
-
ResourceArns: (_) => (0, import_smithy_client._json)(_)
|
|
589
|
+
ResourceArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ResourceArns")
|
|
590
590
|
})
|
|
591
591
|
);
|
|
592
592
|
b.m("POST").h(headers).b(body);
|
|
@@ -601,7 +601,7 @@ var se_ListGroupingStatusesCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
601
601
|
let body;
|
|
602
602
|
body = JSON.stringify(
|
|
603
603
|
(0, import_smithy_client.take)(input, {
|
|
604
|
-
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
604
|
+
Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
|
|
605
605
|
Group: [],
|
|
606
606
|
MaxResults: [],
|
|
607
607
|
NextToken: []
|
|
@@ -619,7 +619,7 @@ var se_ListGroupResourcesCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
619
619
|
let body;
|
|
620
620
|
body = JSON.stringify(
|
|
621
621
|
(0, import_smithy_client.take)(input, {
|
|
622
|
-
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
622
|
+
Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
|
|
623
623
|
Group: [],
|
|
624
624
|
GroupName: [],
|
|
625
625
|
MaxResults: [],
|
|
@@ -642,7 +642,7 @@ var se_ListGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
642
642
|
let body;
|
|
643
643
|
body = JSON.stringify(
|
|
644
644
|
(0, import_smithy_client.take)(input, {
|
|
645
|
-
Filters: (_) => (0, import_smithy_client._json)(_)
|
|
645
|
+
Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters")
|
|
646
646
|
})
|
|
647
647
|
);
|
|
648
648
|
b.m("POST").h(headers).q(query).b(body);
|
|
@@ -657,7 +657,7 @@ var se_ListTagSyncTasksCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
657
657
|
let body;
|
|
658
658
|
body = JSON.stringify(
|
|
659
659
|
(0, import_smithy_client.take)(input, {
|
|
660
|
-
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
660
|
+
Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
|
|
661
661
|
MaxResults: [],
|
|
662
662
|
NextToken: []
|
|
663
663
|
})
|
|
@@ -674,7 +674,7 @@ var se_PutGroupConfigurationCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
674
674
|
let body;
|
|
675
675
|
body = JSON.stringify(
|
|
676
676
|
(0, import_smithy_client.take)(input, {
|
|
677
|
-
Configuration: (_) => (0, import_smithy_client._json)(_),
|
|
677
|
+
Configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Configuration"),
|
|
678
678
|
Group: []
|
|
679
679
|
})
|
|
680
680
|
);
|
|
@@ -692,7 +692,7 @@ var se_SearchResourcesCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
692
692
|
(0, import_smithy_client.take)(input, {
|
|
693
693
|
MaxResults: [],
|
|
694
694
|
NextToken: [],
|
|
695
|
-
ResourceQuery: (_) => (0, import_smithy_client._json)(_)
|
|
695
|
+
ResourceQuery: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ResourceQuery")
|
|
696
696
|
})
|
|
697
697
|
);
|
|
698
698
|
b.m("POST").h(headers).b(body);
|
|
@@ -726,7 +726,7 @@ var se_TagCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
726
726
|
let body;
|
|
727
727
|
body = JSON.stringify(
|
|
728
728
|
(0, import_smithy_client.take)(input, {
|
|
729
|
-
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
729
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
730
730
|
})
|
|
731
731
|
);
|
|
732
732
|
b.m("PUT").h(headers).b(body);
|
|
@@ -742,7 +742,7 @@ var se_UngroupResourcesCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
742
742
|
body = JSON.stringify(
|
|
743
743
|
(0, import_smithy_client.take)(input, {
|
|
744
744
|
Group: [],
|
|
745
|
-
ResourceArns: (_) => (0, import_smithy_client._json)(_)
|
|
745
|
+
ResourceArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ResourceArns")
|
|
746
746
|
})
|
|
747
747
|
);
|
|
748
748
|
b.m("POST").h(headers).b(body);
|
|
@@ -758,7 +758,7 @@ var se_UntagCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
758
758
|
let body;
|
|
759
759
|
body = JSON.stringify(
|
|
760
760
|
(0, import_smithy_client.take)(input, {
|
|
761
|
-
Keys: (_) => (0, import_smithy_client._json)(_)
|
|
761
|
+
Keys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Keys")
|
|
762
762
|
})
|
|
763
763
|
);
|
|
764
764
|
b.m("PATCH").h(headers).b(body);
|
|
@@ -810,7 +810,7 @@ var se_UpdateGroupQueryCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
810
810
|
(0, import_smithy_client.take)(input, {
|
|
811
811
|
Group: [],
|
|
812
812
|
GroupName: [],
|
|
813
|
-
ResourceQuery: (_) => (0, import_smithy_client._json)(_)
|
|
813
|
+
ResourceQuery: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ResourceQuery")
|
|
814
814
|
})
|
|
815
815
|
);
|
|
816
816
|
b.m("POST").h(headers).b(body);
|
|
@@ -937,7 +937,7 @@ var de_GetTagSyncTaskCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
937
937
|
});
|
|
938
938
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
939
939
|
const doc = (0, import_smithy_client.take)(data, {
|
|
940
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
940
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
941
941
|
ErrorMessage: import_smithy_client.expectString,
|
|
942
942
|
GroupArn: import_smithy_client.expectString,
|
|
943
943
|
GroupName: import_smithy_client.expectString,
|
|
@@ -976,7 +976,7 @@ var de_ListGroupingStatusesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
976
976
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
977
977
|
const doc = (0, import_smithy_client.take)(data, {
|
|
978
978
|
Group: import_smithy_client.expectString,
|
|
979
|
-
GroupingStatuses: (_) => de_GroupingStatusesList(_, context),
|
|
979
|
+
GroupingStatuses: /* @__PURE__ */ __name((_) => de_GroupingStatusesList(_, context), "GroupingStatuses"),
|
|
980
980
|
NextToken: import_smithy_client.expectString
|
|
981
981
|
});
|
|
982
982
|
Object.assign(contents, doc);
|
|
@@ -1025,7 +1025,7 @@ var de_ListTagSyncTasksCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1025
1025
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1026
1026
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1027
1027
|
NextToken: import_smithy_client.expectString,
|
|
1028
|
-
TagSyncTasks: (_) => de_TagSyncTaskList(_, context)
|
|
1028
|
+
TagSyncTasks: /* @__PURE__ */ __name((_) => de_TagSyncTaskList(_, context), "TagSyncTasks")
|
|
1029
1029
|
});
|
|
1030
1030
|
Object.assign(contents, doc);
|
|
1031
1031
|
return contents;
|
|
@@ -1299,7 +1299,7 @@ var de_GroupingStatusesItem = /* @__PURE__ */ __name((output, context) => {
|
|
|
1299
1299
|
ErrorMessage: import_smithy_client.expectString,
|
|
1300
1300
|
ResourceArn: import_smithy_client.expectString,
|
|
1301
1301
|
Status: import_smithy_client.expectString,
|
|
1302
|
-
UpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1302
|
+
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1303
1303
|
});
|
|
1304
1304
|
}, "de_GroupingStatusesItem");
|
|
1305
1305
|
var de_GroupingStatusesList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1310,7 +1310,7 @@ var de_GroupingStatusesList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1310
1310
|
}, "de_GroupingStatusesList");
|
|
1311
1311
|
var de_TagSyncTaskItem = /* @__PURE__ */ __name((output, context) => {
|
|
1312
1312
|
return (0, import_smithy_client.take)(output, {
|
|
1313
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1313
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1314
1314
|
ErrorMessage: import_smithy_client.expectString,
|
|
1315
1315
|
GroupArn: import_smithy_client.expectString,
|
|
1316
1316
|
GroupName: import_smithy_client.expectString,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resource-groups",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resource Groups Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.772.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-resource-groups",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.758.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|