@aws-sdk/client-resource-groups 3.31.0 → 3.35.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 +39 -0
- package/{dist/cjs → dist-cjs}/ResourceGroups.js +1 -1
- package/dist-cjs/ResourceGroups.js.map +1 -0
- package/{dist/cjs → dist-cjs}/ResourceGroupsClient.js +14 -14
- package/dist-cjs/ResourceGroupsClient.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateGroupCommand.js +5 -5
- package/dist-cjs/commands/CreateGroupCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteGroupCommand.js +5 -5
- package/dist-cjs/commands/DeleteGroupCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetGroupCommand.js +5 -5
- package/dist-cjs/commands/GetGroupCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetGroupConfigurationCommand.js +5 -5
- package/dist-cjs/commands/GetGroupConfigurationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetGroupQueryCommand.js +5 -5
- package/dist-cjs/commands/GetGroupQueryCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetTagsCommand.js +5 -5
- package/dist-cjs/commands/GetTagsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GroupResourcesCommand.js +5 -5
- package/dist-cjs/commands/GroupResourcesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListGroupResourcesCommand.js +5 -5
- package/dist-cjs/commands/ListGroupResourcesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListGroupsCommand.js +5 -5
- package/dist-cjs/commands/ListGroupsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/PutGroupConfigurationCommand.js +5 -5
- package/dist-cjs/commands/PutGroupConfigurationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/SearchResourcesCommand.js +5 -5
- package/dist-cjs/commands/SearchResourcesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/TagCommand.js +5 -5
- package/dist-cjs/commands/TagCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UngroupResourcesCommand.js +5 -5
- package/dist-cjs/commands/UngroupResourcesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UntagCommand.js +5 -5
- package/dist-cjs/commands/UntagCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateGroupCommand.js +5 -5
- package/dist-cjs/commands/UpdateGroupCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateGroupQueryCommand.js +5 -5
- package/dist-cjs/commands/UpdateGroupQueryCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
- package/dist-cjs/endpoints.js.map +1 -0
- package/dist-cjs/index.js +27 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +1 -1
- package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
- package/{dist/cjs → dist-cjs}/pagination/ListGroupResourcesPaginator.js +1 -1
- package/dist-cjs/pagination/ListGroupResourcesPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListGroupsPaginator.js +1 -1
- package/dist-cjs/pagination/ListGroupsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/SearchResourcesPaginator.js +1 -1
- package/dist-cjs/pagination/SearchResourcesPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +69 -69
- package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/{dist/es → dist-es}/ResourceGroups.js +2 -40
- package/dist-es/ResourceGroups.js.map +1 -0
- package/dist-es/ResourceGroupsClient.js +38 -0
- package/dist-es/ResourceGroupsClient.js.map +1 -0
- package/dist-es/commands/CreateGroupCommand.js +40 -0
- package/dist-es/commands/CreateGroupCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteGroupCommand.js +4 -41
- package/dist-es/commands/DeleteGroupCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetGroupCommand.js +4 -40
- package/dist-es/commands/GetGroupCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetGroupConfigurationCommand.js +4 -42
- package/dist-es/commands/GetGroupConfigurationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetGroupQueryCommand.js +4 -42
- package/dist-es/commands/GetGroupQueryCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetTagsCommand.js +4 -41
- package/dist-es/commands/GetTagsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GroupResourcesCommand.js +4 -40
- package/dist-es/commands/GroupResourcesCommand.js.map +1 -0
- package/dist-es/commands/ListGroupResourcesCommand.js +40 -0
- package/dist-es/commands/ListGroupResourcesCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListGroupsCommand.js +4 -40
- package/dist-es/commands/ListGroupsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/PutGroupConfigurationCommand.js +4 -42
- package/dist-es/commands/PutGroupConfigurationCommand.js.map +1 -0
- package/dist-es/commands/SearchResourcesCommand.js +40 -0
- package/dist-es/commands/SearchResourcesCommand.js.map +1 -0
- package/dist-es/commands/TagCommand.js +40 -0
- package/dist-es/commands/TagCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UngroupResourcesCommand.js +4 -40
- package/dist-es/commands/UngroupResourcesCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UntagCommand.js +4 -40
- package/dist-es/commands/UntagCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateGroupCommand.js +4 -41
- package/dist-es/commands/UpdateGroupCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateGroupQueryCommand.js +4 -41
- package/dist-es/commands/UpdateGroupQueryCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +1 -1
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +0 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -162
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
- package/{dist/es → dist-es}/pagination/ListGroupResourcesPaginator.js +17 -29
- package/dist-es/pagination/ListGroupResourcesPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListGroupsPaginator.js +17 -29
- package/dist-es/pagination/ListGroupsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/SearchResourcesPaginator.js +17 -29
- package/dist-es/pagination/SearchResourcesPaginator.js.map +1 -0
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +531 -536
- package/dist-es/protocols/Aws_restJson1.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.js +2 -5
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- package/{dist/types → dist-types}/ResourceGroups.d.ts +2 -2
- package/{dist/types → dist-types}/ResourceGroupsClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetGroupConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetGroupQueryCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetTagsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GroupResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListGroupResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutGroupConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/SearchResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TagCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UngroupResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UntagCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateGroupQueryCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListGroupResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListGroupsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/SearchResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/ResourceGroups.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/ResourceGroupsClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/CreateGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetGroupConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetGroupQueryCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetTagsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GroupResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListGroupResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutGroupConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/SearchResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/TagCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UngroupResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UntagCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateGroupQueryCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListGroupResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListGroupsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/SearchResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +50 -50
- package/{ResourceGroups.ts → src/ResourceGroups.ts} +3 -2
- package/{ResourceGroupsClient.ts → src/ResourceGroupsClient.ts} +37 -36
- package/{commands → src/commands}/CreateGroupCommand.ts +8 -7
- package/{commands → src/commands}/DeleteGroupCommand.ts +8 -7
- package/{commands → src/commands}/GetGroupCommand.ts +8 -7
- package/{commands → src/commands}/GetGroupConfigurationCommand.ts +8 -7
- package/{commands → src/commands}/GetGroupQueryCommand.ts +8 -7
- package/{commands → src/commands}/GetTagsCommand.ts +8 -7
- package/{commands → src/commands}/GroupResourcesCommand.ts +8 -7
- package/{commands → src/commands}/ListGroupResourcesCommand.ts +8 -7
- package/{commands → src/commands}/ListGroupsCommand.ts +8 -7
- package/{commands → src/commands}/PutGroupConfigurationCommand.ts +8 -7
- package/{commands → src/commands}/SearchResourcesCommand.ts +8 -7
- package/{commands → src/commands}/TagCommand.ts +5 -4
- package/{commands → src/commands}/UngroupResourcesCommand.ts +8 -7
- package/{commands → src/commands}/UntagCommand.ts +5 -4
- package/{commands → src/commands}/UpdateGroupCommand.ts +8 -7
- package/{commands → src/commands}/UpdateGroupQueryCommand.ts +8 -7
- package/{endpoints.ts → src/endpoints.ts} +1 -1
- package/{index.ts → src/index.ts} +0 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +0 -0
- package/{pagination → src/pagination}/Interfaces.ts +2 -1
- package/{pagination → src/pagination}/ListGroupResourcesPaginator.ts +4 -3
- package/{pagination → src/pagination}/ListGroupsPaginator.ts +3 -2
- package/{pagination → src/pagination}/SearchResourcesPaginator.ts +4 -3
- package/{protocols → src/protocols}/Aws_restJson1.ts +46 -43
- package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
- package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
- package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
- package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
- package/tsconfig.es.json +1 -3
- package/tsconfig.json +7 -7
- package/tsconfig.types.json +9 -0
- package/dist/cjs/ResourceGroups.js.map +0 -1
- package/dist/cjs/ResourceGroupsClient.js.map +0 -1
- package/dist/cjs/commands/CreateGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteGroupCommand.js.map +0 -1
- package/dist/cjs/commands/GetGroupCommand.js.map +0 -1
- package/dist/cjs/commands/GetGroupConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/GetGroupQueryCommand.js.map +0 -1
- package/dist/cjs/commands/GetTagsCommand.js.map +0 -1
- package/dist/cjs/commands/GroupResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/ListGroupResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/ListGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/PutGroupConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/SearchResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/TagCommand.js.map +0 -1
- package/dist/cjs/commands/UngroupResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/UntagCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateGroupCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateGroupQueryCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js +0 -27
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/ListGroupResourcesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListGroupsPaginator.js.map +0 -1
- package/dist/cjs/pagination/SearchResourcesPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/ResourceGroups.js.map +0 -1
- package/dist/es/ResourceGroupsClient.js +0 -81
- package/dist/es/ResourceGroupsClient.js.map +0 -1
- package/dist/es/commands/CreateGroupCommand.js +0 -80
- package/dist/es/commands/CreateGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteGroupCommand.js.map +0 -1
- package/dist/es/commands/GetGroupCommand.js.map +0 -1
- package/dist/es/commands/GetGroupConfigurationCommand.js.map +0 -1
- package/dist/es/commands/GetGroupQueryCommand.js.map +0 -1
- package/dist/es/commands/GetTagsCommand.js.map +0 -1
- package/dist/es/commands/GroupResourcesCommand.js.map +0 -1
- package/dist/es/commands/ListGroupResourcesCommand.js +0 -92
- package/dist/es/commands/ListGroupResourcesCommand.js.map +0 -1
- package/dist/es/commands/ListGroupsCommand.js.map +0 -1
- package/dist/es/commands/PutGroupConfigurationCommand.js.map +0 -1
- package/dist/es/commands/SearchResourcesCommand.js +0 -93
- package/dist/es/commands/SearchResourcesCommand.js.map +0 -1
- package/dist/es/commands/TagCommand.js +0 -83
- package/dist/es/commands/TagCommand.js.map +0 -1
- package/dist/es/commands/UngroupResourcesCommand.js.map +0 -1
- package/dist/es/commands/UntagCommand.js.map +0 -1
- package/dist/es/commands/UpdateGroupCommand.js.map +0 -1
- package/dist/es/commands/UpdateGroupQueryCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/ListGroupResourcesPaginator.js.map +0 -1
- package/dist/es/pagination/ListGroupsPaginator.js.map +0 -1
- package/dist/es/pagination/SearchResourcesPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
|
@@ -8,7 +8,7 @@ const serializeAws_restJson1CreateGroupCommand = async (input, context) => {
|
|
|
8
8
|
const headers = {
|
|
9
9
|
"content-type": "application/json",
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/groups";
|
|
12
12
|
let body;
|
|
13
13
|
body = JSON.stringify({
|
|
14
14
|
...(input.Configuration !== undefined &&
|
|
@@ -39,7 +39,7 @@ const serializeAws_restJson1DeleteGroupCommand = async (input, context) => {
|
|
|
39
39
|
const headers = {
|
|
40
40
|
"content-type": "application/json",
|
|
41
41
|
};
|
|
42
|
-
|
|
42
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/delete-group";
|
|
43
43
|
let body;
|
|
44
44
|
body = JSON.stringify({
|
|
45
45
|
...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
|
|
@@ -61,7 +61,7 @@ const serializeAws_restJson1GetGroupCommand = async (input, context) => {
|
|
|
61
61
|
const headers = {
|
|
62
62
|
"content-type": "application/json",
|
|
63
63
|
};
|
|
64
|
-
|
|
64
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/get-group";
|
|
65
65
|
let body;
|
|
66
66
|
body = JSON.stringify({
|
|
67
67
|
...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
|
|
@@ -83,7 +83,7 @@ const serializeAws_restJson1GetGroupConfigurationCommand = async (input, context
|
|
|
83
83
|
const headers = {
|
|
84
84
|
"content-type": "application/json",
|
|
85
85
|
};
|
|
86
|
-
|
|
86
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/get-group-configuration";
|
|
87
87
|
let body;
|
|
88
88
|
body = JSON.stringify({
|
|
89
89
|
...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
|
|
@@ -104,7 +104,7 @@ const serializeAws_restJson1GetGroupQueryCommand = async (input, context) => {
|
|
|
104
104
|
const headers = {
|
|
105
105
|
"content-type": "application/json",
|
|
106
106
|
};
|
|
107
|
-
|
|
107
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/get-group-query";
|
|
108
108
|
let body;
|
|
109
109
|
body = JSON.stringify({
|
|
110
110
|
...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
|
|
@@ -130,7 +130,7 @@ const serializeAws_restJson1GetTagsCommand = async (input, context) => {
|
|
|
130
130
|
if (labelValue.length <= 0) {
|
|
131
131
|
throw new Error("Empty value provided for input HTTP label: Arn.");
|
|
132
132
|
}
|
|
133
|
-
resolvedPath = resolvedPath.replace("{Arn}",
|
|
133
|
+
resolvedPath = resolvedPath.replace("{Arn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
134
134
|
}
|
|
135
135
|
else {
|
|
136
136
|
throw new Error("No value provided for input HTTP label: Arn.");
|
|
@@ -152,7 +152,7 @@ const serializeAws_restJson1GroupResourcesCommand = async (input, context) => {
|
|
|
152
152
|
const headers = {
|
|
153
153
|
"content-type": "application/json",
|
|
154
154
|
};
|
|
155
|
-
|
|
155
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/group-resources";
|
|
156
156
|
let body;
|
|
157
157
|
body = JSON.stringify({
|
|
158
158
|
...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
|
|
@@ -177,7 +177,7 @@ const serializeAws_restJson1ListGroupResourcesCommand = async (input, context) =
|
|
|
177
177
|
const headers = {
|
|
178
178
|
"content-type": "application/json",
|
|
179
179
|
};
|
|
180
|
-
|
|
180
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/list-group-resources";
|
|
181
181
|
let body;
|
|
182
182
|
body = JSON.stringify({
|
|
183
183
|
...(input.Filters !== undefined &&
|
|
@@ -203,7 +203,7 @@ const serializeAws_restJson1ListGroupsCommand = async (input, context) => {
|
|
|
203
203
|
const headers = {
|
|
204
204
|
"content-type": "application/json",
|
|
205
205
|
};
|
|
206
|
-
|
|
206
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/groups-list";
|
|
207
207
|
const query = {
|
|
208
208
|
...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }),
|
|
209
209
|
...(input.NextToken !== undefined && { nextToken: input.NextToken }),
|
|
@@ -230,7 +230,7 @@ const serializeAws_restJson1PutGroupConfigurationCommand = async (input, context
|
|
|
230
230
|
const headers = {
|
|
231
231
|
"content-type": "application/json",
|
|
232
232
|
};
|
|
233
|
-
|
|
233
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/put-group-configuration";
|
|
234
234
|
let body;
|
|
235
235
|
body = JSON.stringify({
|
|
236
236
|
...(input.Configuration !== undefined &&
|
|
@@ -255,7 +255,7 @@ const serializeAws_restJson1SearchResourcesCommand = async (input, context) => {
|
|
|
255
255
|
const headers = {
|
|
256
256
|
"content-type": "application/json",
|
|
257
257
|
};
|
|
258
|
-
|
|
258
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/resources/search";
|
|
259
259
|
let body;
|
|
260
260
|
body = JSON.stringify({
|
|
261
261
|
...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
|
|
@@ -287,7 +287,7 @@ const serializeAws_restJson1TagCommand = async (input, context) => {
|
|
|
287
287
|
if (labelValue.length <= 0) {
|
|
288
288
|
throw new Error("Empty value provided for input HTTP label: Arn.");
|
|
289
289
|
}
|
|
290
|
-
resolvedPath = resolvedPath.replace("{Arn}",
|
|
290
|
+
resolvedPath = resolvedPath.replace("{Arn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
291
291
|
}
|
|
292
292
|
else {
|
|
293
293
|
throw new Error("No value provided for input HTTP label: Arn.");
|
|
@@ -312,7 +312,7 @@ const serializeAws_restJson1UngroupResourcesCommand = async (input, context) =>
|
|
|
312
312
|
const headers = {
|
|
313
313
|
"content-type": "application/json",
|
|
314
314
|
};
|
|
315
|
-
|
|
315
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/ungroup-resources";
|
|
316
316
|
let body;
|
|
317
317
|
body = JSON.stringify({
|
|
318
318
|
...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
|
|
@@ -343,7 +343,7 @@ const serializeAws_restJson1UntagCommand = async (input, context) => {
|
|
|
343
343
|
if (labelValue.length <= 0) {
|
|
344
344
|
throw new Error("Empty value provided for input HTTP label: Arn.");
|
|
345
345
|
}
|
|
346
|
-
resolvedPath = resolvedPath.replace("{Arn}",
|
|
346
|
+
resolvedPath = resolvedPath.replace("{Arn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
347
347
|
}
|
|
348
348
|
else {
|
|
349
349
|
throw new Error("No value provided for input HTTP label: Arn.");
|
|
@@ -369,7 +369,7 @@ const serializeAws_restJson1UpdateGroupCommand = async (input, context) => {
|
|
|
369
369
|
const headers = {
|
|
370
370
|
"content-type": "application/json",
|
|
371
371
|
};
|
|
372
|
-
|
|
372
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/update-group";
|
|
373
373
|
let body;
|
|
374
374
|
body = JSON.stringify({
|
|
375
375
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
@@ -392,7 +392,7 @@ const serializeAws_restJson1UpdateGroupQueryCommand = async (input, context) =>
|
|
|
392
392
|
const headers = {
|
|
393
393
|
"content-type": "application/json",
|
|
394
394
|
};
|
|
395
|
-
|
|
395
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/update-group-query";
|
|
396
396
|
let body;
|
|
397
397
|
body = JSON.stringify({
|
|
398
398
|
...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
|
|
@@ -424,7 +424,7 @@ const deserializeAws_restJson1CreateGroupCommand = async (output, context) => {
|
|
|
424
424
|
ResourceQuery: undefined,
|
|
425
425
|
Tags: undefined,
|
|
426
426
|
};
|
|
427
|
-
const data =
|
|
427
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
428
428
|
if (data.Group !== undefined && data.Group !== null) {
|
|
429
429
|
contents.Group = deserializeAws_restJson1Group(data.Group, context);
|
|
430
430
|
}
|
|
@@ -513,7 +513,7 @@ const deserializeAws_restJson1DeleteGroupCommand = async (output, context) => {
|
|
|
513
513
|
$metadata: deserializeMetadata(output),
|
|
514
514
|
Group: undefined,
|
|
515
515
|
};
|
|
516
|
-
const data =
|
|
516
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
517
517
|
if (data.Group !== undefined && data.Group !== null) {
|
|
518
518
|
contents.Group = deserializeAws_restJson1Group(data.Group, context);
|
|
519
519
|
}
|
|
@@ -601,7 +601,7 @@ const deserializeAws_restJson1GetGroupCommand = async (output, context) => {
|
|
|
601
601
|
$metadata: deserializeMetadata(output),
|
|
602
602
|
Group: undefined,
|
|
603
603
|
};
|
|
604
|
-
const data =
|
|
604
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
605
605
|
if (data.Group !== undefined && data.Group !== null) {
|
|
606
606
|
contents.Group = deserializeAws_restJson1Group(data.Group, context);
|
|
607
607
|
}
|
|
@@ -689,7 +689,7 @@ const deserializeAws_restJson1GetGroupConfigurationCommand = async (output, cont
|
|
|
689
689
|
$metadata: deserializeMetadata(output),
|
|
690
690
|
GroupConfiguration: undefined,
|
|
691
691
|
};
|
|
692
|
-
const data =
|
|
692
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
693
693
|
if (data.GroupConfiguration !== undefined && data.GroupConfiguration !== null) {
|
|
694
694
|
contents.GroupConfiguration = deserializeAws_restJson1GroupConfiguration(data.GroupConfiguration, context);
|
|
695
695
|
}
|
|
@@ -777,7 +777,7 @@ const deserializeAws_restJson1GetGroupQueryCommand = async (output, context) =>
|
|
|
777
777
|
$metadata: deserializeMetadata(output),
|
|
778
778
|
GroupQuery: undefined,
|
|
779
779
|
};
|
|
780
|
-
const data =
|
|
780
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
781
781
|
if (data.GroupQuery !== undefined && data.GroupQuery !== null) {
|
|
782
782
|
contents.GroupQuery = deserializeAws_restJson1GroupQuery(data.GroupQuery, context);
|
|
783
783
|
}
|
|
@@ -866,9 +866,9 @@ const deserializeAws_restJson1GetTagsCommand = async (output, context) => {
|
|
|
866
866
|
Arn: undefined,
|
|
867
867
|
Tags: undefined,
|
|
868
868
|
};
|
|
869
|
-
const data =
|
|
869
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
870
870
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
871
|
-
contents.Arn =
|
|
871
|
+
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
872
872
|
}
|
|
873
873
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
874
874
|
contents.Tags = deserializeAws_restJson1Tags(data.Tags, context);
|
|
@@ -959,7 +959,7 @@ const deserializeAws_restJson1GroupResourcesCommand = async (output, context) =>
|
|
|
959
959
|
Pending: undefined,
|
|
960
960
|
Succeeded: undefined,
|
|
961
961
|
};
|
|
962
|
-
const data =
|
|
962
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
963
963
|
if (data.Failed !== undefined && data.Failed !== null) {
|
|
964
964
|
contents.Failed = deserializeAws_restJson1FailedResourceList(data.Failed, context);
|
|
965
965
|
}
|
|
@@ -1056,9 +1056,9 @@ const deserializeAws_restJson1ListGroupResourcesCommand = async (output, context
|
|
|
1056
1056
|
ResourceIdentifiers: undefined,
|
|
1057
1057
|
Resources: undefined,
|
|
1058
1058
|
};
|
|
1059
|
-
const data =
|
|
1059
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1060
1060
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1061
|
-
contents.NextToken =
|
|
1061
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1062
1062
|
}
|
|
1063
1063
|
if (data.QueryErrors !== undefined && data.QueryErrors !== null) {
|
|
1064
1064
|
contents.QueryErrors = deserializeAws_restJson1QueryErrorList(data.QueryErrors, context);
|
|
@@ -1163,7 +1163,7 @@ const deserializeAws_restJson1ListGroupsCommand = async (output, context) => {
|
|
|
1163
1163
|
Groups: undefined,
|
|
1164
1164
|
NextToken: undefined,
|
|
1165
1165
|
};
|
|
1166
|
-
const data =
|
|
1166
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1167
1167
|
if (data.GroupIdentifiers !== undefined && data.GroupIdentifiers !== null) {
|
|
1168
1168
|
contents.GroupIdentifiers = deserializeAws_restJson1GroupIdentifierList(data.GroupIdentifiers, context);
|
|
1169
1169
|
}
|
|
@@ -1171,7 +1171,7 @@ const deserializeAws_restJson1ListGroupsCommand = async (output, context) => {
|
|
|
1171
1171
|
contents.Groups = deserializeAws_restJson1GroupList(data.Groups, context);
|
|
1172
1172
|
}
|
|
1173
1173
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1174
|
-
contents.NextToken =
|
|
1174
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1175
1175
|
}
|
|
1176
1176
|
return Promise.resolve(contents);
|
|
1177
1177
|
};
|
|
@@ -1335,9 +1335,9 @@ const deserializeAws_restJson1SearchResourcesCommand = async (output, context) =
|
|
|
1335
1335
|
QueryErrors: undefined,
|
|
1336
1336
|
ResourceIdentifiers: undefined,
|
|
1337
1337
|
};
|
|
1338
|
-
const data =
|
|
1338
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1339
1339
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1340
|
-
contents.NextToken =
|
|
1340
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1341
1341
|
}
|
|
1342
1342
|
if (data.QueryErrors !== undefined && data.QueryErrors !== null) {
|
|
1343
1343
|
contents.QueryErrors = deserializeAws_restJson1QueryErrorList(data.QueryErrors, context);
|
|
@@ -1430,9 +1430,9 @@ const deserializeAws_restJson1TagCommand = async (output, context) => {
|
|
|
1430
1430
|
Arn: undefined,
|
|
1431
1431
|
Tags: undefined,
|
|
1432
1432
|
};
|
|
1433
|
-
const data =
|
|
1433
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1434
1434
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
1435
|
-
contents.Arn =
|
|
1435
|
+
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
1436
1436
|
}
|
|
1437
1437
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
1438
1438
|
contents.Tags = deserializeAws_restJson1Tags(data.Tags, context);
|
|
@@ -1523,7 +1523,7 @@ const deserializeAws_restJson1UngroupResourcesCommand = async (output, context)
|
|
|
1523
1523
|
Pending: undefined,
|
|
1524
1524
|
Succeeded: undefined,
|
|
1525
1525
|
};
|
|
1526
|
-
const data =
|
|
1526
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1527
1527
|
if (data.Failed !== undefined && data.Failed !== null) {
|
|
1528
1528
|
contents.Failed = deserializeAws_restJson1FailedResourceList(data.Failed, context);
|
|
1529
1529
|
}
|
|
@@ -1618,9 +1618,9 @@ const deserializeAws_restJson1UntagCommand = async (output, context) => {
|
|
|
1618
1618
|
Arn: undefined,
|
|
1619
1619
|
Keys: undefined,
|
|
1620
1620
|
};
|
|
1621
|
-
const data =
|
|
1621
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1622
1622
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
1623
|
-
contents.Arn =
|
|
1623
|
+
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
1624
1624
|
}
|
|
1625
1625
|
if (data.Keys !== undefined && data.Keys !== null) {
|
|
1626
1626
|
contents.Keys = deserializeAws_restJson1TagKeyList(data.Keys, context);
|
|
@@ -1709,7 +1709,7 @@ const deserializeAws_restJson1UpdateGroupCommand = async (output, context) => {
|
|
|
1709
1709
|
$metadata: deserializeMetadata(output),
|
|
1710
1710
|
Group: undefined,
|
|
1711
1711
|
};
|
|
1712
|
-
const data =
|
|
1712
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1713
1713
|
if (data.Group !== undefined && data.Group !== null) {
|
|
1714
1714
|
contents.Group = deserializeAws_restJson1Group(data.Group, context);
|
|
1715
1715
|
}
|
|
@@ -1797,7 +1797,7 @@ const deserializeAws_restJson1UpdateGroupQueryCommand = async (output, context)
|
|
|
1797
1797
|
$metadata: deserializeMetadata(output),
|
|
1798
1798
|
GroupQuery: undefined,
|
|
1799
1799
|
};
|
|
1800
|
-
const data =
|
|
1800
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1801
1801
|
if (data.GroupQuery !== undefined && data.GroupQuery !== null) {
|
|
1802
1802
|
contents.GroupQuery = deserializeAws_restJson1GroupQuery(data.GroupQuery, context);
|
|
1803
1803
|
}
|
|
@@ -1886,7 +1886,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
|
|
|
1886
1886
|
};
|
|
1887
1887
|
const data = parsedOutput.body;
|
|
1888
1888
|
if (data.Message !== undefined && data.Message !== null) {
|
|
1889
|
-
contents.Message =
|
|
1889
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
1890
1890
|
}
|
|
1891
1891
|
return contents;
|
|
1892
1892
|
};
|
|
@@ -1899,7 +1899,7 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
|
|
|
1899
1899
|
};
|
|
1900
1900
|
const data = parsedOutput.body;
|
|
1901
1901
|
if (data.Message !== undefined && data.Message !== null) {
|
|
1902
|
-
contents.Message =
|
|
1902
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
1903
1903
|
}
|
|
1904
1904
|
return contents;
|
|
1905
1905
|
};
|
|
@@ -1912,7 +1912,7 @@ const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (pars
|
|
|
1912
1912
|
};
|
|
1913
1913
|
const data = parsedOutput.body;
|
|
1914
1914
|
if (data.Message !== undefined && data.Message !== null) {
|
|
1915
|
-
contents.Message =
|
|
1915
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
1916
1916
|
}
|
|
1917
1917
|
return contents;
|
|
1918
1918
|
};
|
|
@@ -1925,7 +1925,7 @@ const deserializeAws_restJson1MethodNotAllowedExceptionResponse = async (parsedO
|
|
|
1925
1925
|
};
|
|
1926
1926
|
const data = parsedOutput.body;
|
|
1927
1927
|
if (data.Message !== undefined && data.Message !== null) {
|
|
1928
|
-
contents.Message =
|
|
1928
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
1929
1929
|
}
|
|
1930
1930
|
return contents;
|
|
1931
1931
|
};
|
|
@@ -1938,7 +1938,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
|
|
|
1938
1938
|
};
|
|
1939
1939
|
const data = parsedOutput.body;
|
|
1940
1940
|
if (data.Message !== undefined && data.Message !== null) {
|
|
1941
|
-
contents.Message =
|
|
1941
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
1942
1942
|
}
|
|
1943
1943
|
return contents;
|
|
1944
1944
|
};
|
|
@@ -1951,7 +1951,7 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
|
|
|
1951
1951
|
};
|
|
1952
1952
|
const data = parsedOutput.body;
|
|
1953
1953
|
if (data.Message !== undefined && data.Message !== null) {
|
|
1954
|
-
contents.Message =
|
|
1954
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
1955
1955
|
}
|
|
1956
1956
|
return contents;
|
|
1957
1957
|
};
|
|
@@ -1964,7 +1964,7 @@ const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutpu
|
|
|
1964
1964
|
};
|
|
1965
1965
|
const data = parsedOutput.body;
|
|
1966
1966
|
if (data.Message !== undefined && data.Message !== null) {
|
|
1967
|
-
contents.Message =
|
|
1967
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
1968
1968
|
}
|
|
1969
1969
|
return contents;
|
|
1970
1970
|
};
|
|
@@ -2107,9 +2107,9 @@ const serializeAws_restJson1Tags = (input, context) => {
|
|
|
2107
2107
|
};
|
|
2108
2108
|
const deserializeAws_restJson1FailedResource = (output, context) => {
|
|
2109
2109
|
return {
|
|
2110
|
-
ErrorCode:
|
|
2111
|
-
ErrorMessage:
|
|
2112
|
-
ResourceArn:
|
|
2110
|
+
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
2111
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
2112
|
+
ResourceArn: smithy_client_1.expectString(output.ResourceArn),
|
|
2113
2113
|
};
|
|
2114
2114
|
};
|
|
2115
2115
|
const deserializeAws_restJson1FailedResourceList = (output, context) => {
|
|
@@ -2124,9 +2124,9 @@ const deserializeAws_restJson1FailedResourceList = (output, context) => {
|
|
|
2124
2124
|
};
|
|
2125
2125
|
const deserializeAws_restJson1Group = (output, context) => {
|
|
2126
2126
|
return {
|
|
2127
|
-
Description:
|
|
2128
|
-
GroupArn:
|
|
2129
|
-
Name:
|
|
2127
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
2128
|
+
GroupArn: smithy_client_1.expectString(output.GroupArn),
|
|
2129
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2130
2130
|
};
|
|
2131
2131
|
};
|
|
2132
2132
|
const deserializeAws_restJson1GroupConfiguration = (output, context) => {
|
|
@@ -2134,11 +2134,11 @@ const deserializeAws_restJson1GroupConfiguration = (output, context) => {
|
|
|
2134
2134
|
Configuration: output.Configuration !== undefined && output.Configuration !== null
|
|
2135
2135
|
? deserializeAws_restJson1GroupConfigurationList(output.Configuration, context)
|
|
2136
2136
|
: undefined,
|
|
2137
|
-
FailureReason:
|
|
2137
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
2138
2138
|
ProposedConfiguration: output.ProposedConfiguration !== undefined && output.ProposedConfiguration !== null
|
|
2139
2139
|
? deserializeAws_restJson1GroupConfigurationList(output.ProposedConfiguration, context)
|
|
2140
2140
|
: undefined,
|
|
2141
|
-
Status:
|
|
2141
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
2142
2142
|
};
|
|
2143
2143
|
};
|
|
2144
2144
|
const deserializeAws_restJson1GroupConfigurationItem = (output, context) => {
|
|
@@ -2146,7 +2146,7 @@ const deserializeAws_restJson1GroupConfigurationItem = (output, context) => {
|
|
|
2146
2146
|
Parameters: output.Parameters !== undefined && output.Parameters !== null
|
|
2147
2147
|
? deserializeAws_restJson1GroupParameterList(output.Parameters, context)
|
|
2148
2148
|
: undefined,
|
|
2149
|
-
Type:
|
|
2149
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
2150
2150
|
};
|
|
2151
2151
|
};
|
|
2152
2152
|
const deserializeAws_restJson1GroupConfigurationList = (output, context) => {
|
|
@@ -2161,7 +2161,7 @@ const deserializeAws_restJson1GroupConfigurationList = (output, context) => {
|
|
|
2161
2161
|
};
|
|
2162
2162
|
const deserializeAws_restJson1GroupConfigurationParameter = (output, context) => {
|
|
2163
2163
|
return {
|
|
2164
|
-
Name:
|
|
2164
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2165
2165
|
Values: output.Values !== undefined && output.Values !== null
|
|
2166
2166
|
? deserializeAws_restJson1GroupConfigurationParameterValueList(output.Values, context)
|
|
2167
2167
|
: undefined,
|
|
@@ -2174,13 +2174,13 @@ const deserializeAws_restJson1GroupConfigurationParameterValueList = (output, co
|
|
|
2174
2174
|
if (entry === null) {
|
|
2175
2175
|
return null;
|
|
2176
2176
|
}
|
|
2177
|
-
return
|
|
2177
|
+
return smithy_client_1.expectString(entry);
|
|
2178
2178
|
});
|
|
2179
2179
|
};
|
|
2180
2180
|
const deserializeAws_restJson1GroupIdentifier = (output, context) => {
|
|
2181
2181
|
return {
|
|
2182
|
-
GroupArn:
|
|
2183
|
-
GroupName:
|
|
2182
|
+
GroupArn: smithy_client_1.expectString(output.GroupArn),
|
|
2183
|
+
GroupName: smithy_client_1.expectString(output.GroupName),
|
|
2184
2184
|
};
|
|
2185
2185
|
};
|
|
2186
2186
|
const deserializeAws_restJson1GroupIdentifierList = (output, context) => {
|
|
@@ -2215,7 +2215,7 @@ const deserializeAws_restJson1GroupParameterList = (output, context) => {
|
|
|
2215
2215
|
};
|
|
2216
2216
|
const deserializeAws_restJson1GroupQuery = (output, context) => {
|
|
2217
2217
|
return {
|
|
2218
|
-
GroupName:
|
|
2218
|
+
GroupName: smithy_client_1.expectString(output.GroupName),
|
|
2219
2219
|
ResourceQuery: output.ResourceQuery !== undefined && output.ResourceQuery !== null
|
|
2220
2220
|
? deserializeAws_restJson1ResourceQuery(output.ResourceQuery, context)
|
|
2221
2221
|
: undefined,
|
|
@@ -2243,7 +2243,7 @@ const deserializeAws_restJson1ListGroupResourcesItemList = (output, context) =>
|
|
|
2243
2243
|
};
|
|
2244
2244
|
const deserializeAws_restJson1PendingResource = (output, context) => {
|
|
2245
2245
|
return {
|
|
2246
|
-
ResourceArn:
|
|
2246
|
+
ResourceArn: smithy_client_1.expectString(output.ResourceArn),
|
|
2247
2247
|
};
|
|
2248
2248
|
};
|
|
2249
2249
|
const deserializeAws_restJson1PendingResourceList = (output, context) => {
|
|
@@ -2258,8 +2258,8 @@ const deserializeAws_restJson1PendingResourceList = (output, context) => {
|
|
|
2258
2258
|
};
|
|
2259
2259
|
const deserializeAws_restJson1QueryError = (output, context) => {
|
|
2260
2260
|
return {
|
|
2261
|
-
ErrorCode:
|
|
2262
|
-
Message:
|
|
2261
|
+
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
2262
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2263
2263
|
};
|
|
2264
2264
|
};
|
|
2265
2265
|
const deserializeAws_restJson1QueryErrorList = (output, context) => {
|
|
@@ -2279,13 +2279,13 @@ const deserializeAws_restJson1ResourceArnList = (output, context) => {
|
|
|
2279
2279
|
if (entry === null) {
|
|
2280
2280
|
return null;
|
|
2281
2281
|
}
|
|
2282
|
-
return
|
|
2282
|
+
return smithy_client_1.expectString(entry);
|
|
2283
2283
|
});
|
|
2284
2284
|
};
|
|
2285
2285
|
const deserializeAws_restJson1ResourceIdentifier = (output, context) => {
|
|
2286
2286
|
return {
|
|
2287
|
-
ResourceArn:
|
|
2288
|
-
ResourceType:
|
|
2287
|
+
ResourceArn: smithy_client_1.expectString(output.ResourceArn),
|
|
2288
|
+
ResourceType: smithy_client_1.expectString(output.ResourceType),
|
|
2289
2289
|
};
|
|
2290
2290
|
};
|
|
2291
2291
|
const deserializeAws_restJson1ResourceIdentifierList = (output, context) => {
|
|
@@ -2300,13 +2300,13 @@ const deserializeAws_restJson1ResourceIdentifierList = (output, context) => {
|
|
|
2300
2300
|
};
|
|
2301
2301
|
const deserializeAws_restJson1ResourceQuery = (output, context) => {
|
|
2302
2302
|
return {
|
|
2303
|
-
Query:
|
|
2304
|
-
Type:
|
|
2303
|
+
Query: smithy_client_1.expectString(output.Query),
|
|
2304
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
2305
2305
|
};
|
|
2306
2306
|
};
|
|
2307
2307
|
const deserializeAws_restJson1ResourceStatus = (output, context) => {
|
|
2308
2308
|
return {
|
|
2309
|
-
Name:
|
|
2309
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2310
2310
|
};
|
|
2311
2311
|
};
|
|
2312
2312
|
const deserializeAws_restJson1TagKeyList = (output, context) => {
|
|
@@ -2316,7 +2316,7 @@ const deserializeAws_restJson1TagKeyList = (output, context) => {
|
|
|
2316
2316
|
if (entry === null) {
|
|
2317
2317
|
return null;
|
|
2318
2318
|
}
|
|
2319
|
-
return
|
|
2319
|
+
return smithy_client_1.expectString(entry);
|
|
2320
2320
|
});
|
|
2321
2321
|
};
|
|
2322
2322
|
const deserializeAws_restJson1Tags = (output, context) => {
|
|
@@ -2326,7 +2326,7 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
2326
2326
|
}
|
|
2327
2327
|
return {
|
|
2328
2328
|
...acc,
|
|
2329
|
-
[key]:
|
|
2329
|
+
[key]: smithy_client_1.expectString(value),
|
|
2330
2330
|
};
|
|
2331
2331
|
}, {});
|
|
2332
2332
|
};
|