@aws-sdk/client-chime-sdk-identity 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}/ChimeSDKIdentity.js +1 -1
- package/dist-cjs/ChimeSDKIdentity.js.map +1 -0
- package/{dist/cjs → dist-cjs}/ChimeSDKIdentityClient.js +14 -14
- package/dist-cjs/ChimeSDKIdentityClient.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateAppInstanceAdminCommand.js +5 -5
- package/dist-cjs/commands/CreateAppInstanceAdminCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateAppInstanceCommand.js +5 -5
- package/dist-cjs/commands/CreateAppInstanceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateAppInstanceUserCommand.js +5 -5
- package/dist-cjs/commands/CreateAppInstanceUserCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteAppInstanceAdminCommand.js +5 -5
- package/dist-cjs/commands/DeleteAppInstanceAdminCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteAppInstanceCommand.js +5 -5
- package/dist-cjs/commands/DeleteAppInstanceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteAppInstanceUserCommand.js +5 -5
- package/dist-cjs/commands/DeleteAppInstanceUserCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeAppInstanceAdminCommand.js +5 -5
- package/dist-cjs/commands/DescribeAppInstanceAdminCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeAppInstanceCommand.js +5 -5
- package/dist-cjs/commands/DescribeAppInstanceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeAppInstanceUserCommand.js +5 -5
- package/dist-cjs/commands/DescribeAppInstanceUserCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetAppInstanceRetentionSettingsCommand.js +5 -5
- package/dist-cjs/commands/GetAppInstanceRetentionSettingsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListAppInstanceAdminsCommand.js +5 -5
- package/dist-cjs/commands/ListAppInstanceAdminsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListAppInstanceUsersCommand.js +5 -5
- package/dist-cjs/commands/ListAppInstanceUsersCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListAppInstancesCommand.js +5 -5
- package/dist-cjs/commands/ListAppInstancesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/PutAppInstanceRetentionSettingsCommand.js +5 -5
- package/dist-cjs/commands/PutAppInstanceRetentionSettingsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateAppInstanceCommand.js +5 -5
- package/dist-cjs/commands/UpdateAppInstanceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateAppInstanceUserCommand.js +5 -5
- package/dist-cjs/commands/UpdateAppInstanceUserCommand.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/ListAppInstanceAdminsPaginator.js +0 -0
- package/dist-cjs/pagination/ListAppInstanceAdminsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListAppInstanceUsersPaginator.js +0 -0
- package/dist-cjs/pagination/ListAppInstanceUsersPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListAppInstancesPaginator.js +0 -0
- package/dist-cjs/pagination/ListAppInstancesPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +82 -82
- 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}/ChimeSDKIdentity.js +2 -8
- package/dist-es/ChimeSDKIdentity.js.map +1 -0
- package/{dist/es → dist-es}/ChimeSDKIdentityClient.js +2 -13
- package/dist-es/ChimeSDKIdentityClient.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateAppInstanceAdminCommand.js +4 -45
- package/dist-es/commands/CreateAppInstanceAdminCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateAppInstanceCommand.js +4 -32
- package/dist-es/commands/CreateAppInstanceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateAppInstanceUserCommand.js +4 -30
- package/dist-es/commands/CreateAppInstanceUserCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteAppInstanceAdminCommand.js +4 -30
- package/dist-es/commands/DeleteAppInstanceAdminCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteAppInstanceCommand.js +4 -29
- package/dist-es/commands/DeleteAppInstanceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteAppInstanceUserCommand.js +4 -29
- package/dist-es/commands/DeleteAppInstanceUserCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeAppInstanceAdminCommand.js +4 -29
- package/dist-es/commands/DescribeAppInstanceAdminCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeAppInstanceCommand.js +4 -29
- package/dist-es/commands/DescribeAppInstanceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeAppInstanceUserCommand.js +4 -29
- package/dist-es/commands/DescribeAppInstanceUserCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetAppInstanceRetentionSettingsCommand.js +4 -29
- package/dist-es/commands/GetAppInstanceRetentionSettingsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListAppInstanceAdminsCommand.js +4 -29
- package/dist-es/commands/ListAppInstanceAdminsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListAppInstanceUsersCommand.js +4 -30
- package/dist-es/commands/ListAppInstanceUsersCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListAppInstancesCommand.js +4 -30
- package/dist-es/commands/ListAppInstancesCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/PutAppInstanceRetentionSettingsCommand.js +4 -30
- package/dist-es/commands/PutAppInstanceRetentionSettingsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateAppInstanceCommand.js +4 -29
- package/dist-es/commands/UpdateAppInstanceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateAppInstanceUserCommand.js +4 -30
- package/dist-es/commands/UpdateAppInstanceUserCommand.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 -141
- 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/ListAppInstanceAdminsPaginator.js +16 -28
- package/dist-es/pagination/ListAppInstanceAdminsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListAppInstanceUsersPaginator.js +16 -28
- package/dist-es/pagination/ListAppInstanceUsersPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListAppInstancesPaginator.js +16 -28
- package/dist-es/pagination/ListAppInstancesPaginator.js.map +1 -0
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +596 -601
- 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}/ChimeSDKIdentity.d.ts +2 -2
- package/{dist/types → dist-types}/ChimeSDKIdentityClient.d.ts +9 -9
- package/{dist/types → dist-types}/commands/CreateAppInstanceAdminCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateAppInstanceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateAppInstanceUserCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteAppInstanceAdminCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteAppInstanceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteAppInstanceUserCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeAppInstanceAdminCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeAppInstanceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeAppInstanceUserCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetAppInstanceRetentionSettingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAppInstanceAdminsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAppInstanceUsersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAppInstancesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutAppInstanceRetentionSettingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateAppInstanceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateAppInstanceUserCommand.d.ts +2 -2
- 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/ListAppInstanceAdminsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAppInstanceUsersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAppInstancesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +3 -3
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -1
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/ChimeSDKIdentity.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/ChimeSDKIdentityClient.d.ts +9 -9
- package/{dist/types → dist-types}/ts3.4/commands/CreateAppInstanceAdminCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateAppInstanceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateAppInstanceUserCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteAppInstanceAdminCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteAppInstanceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteAppInstanceUserCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeAppInstanceAdminCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeAppInstanceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeAppInstanceUserCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetAppInstanceRetentionSettingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListAppInstanceAdminsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListAppInstanceUsersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListAppInstancesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PutAppInstanceRetentionSettingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateAppInstanceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateAppInstanceUserCommand.d.ts +2 -2
- 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/ListAppInstanceAdminsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAppInstanceUsersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAppInstancesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -1
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +50 -50
- package/{ChimeSDKIdentity.ts → src/ChimeSDKIdentity.ts} +7 -6
- package/{ChimeSDKIdentityClient.ts → src/ChimeSDKIdentityClient.ts} +59 -58
- package/{commands → src/commands}/CreateAppInstanceAdminCommand.ts +8 -7
- package/{commands → src/commands}/CreateAppInstanceCommand.ts +8 -7
- package/{commands → src/commands}/CreateAppInstanceUserCommand.ts +8 -7
- package/{commands → src/commands}/DeleteAppInstanceAdminCommand.ts +8 -7
- package/{commands → src/commands}/DeleteAppInstanceCommand.ts +8 -7
- package/{commands → src/commands}/DeleteAppInstanceUserCommand.ts +8 -7
- package/{commands → src/commands}/DescribeAppInstanceAdminCommand.ts +8 -7
- package/{commands → src/commands}/DescribeAppInstanceCommand.ts +8 -7
- package/{commands → src/commands}/DescribeAppInstanceUserCommand.ts +8 -7
- package/{commands → src/commands}/GetAppInstanceRetentionSettingsCommand.ts +8 -7
- package/{commands → src/commands}/ListAppInstanceAdminsCommand.ts +8 -7
- package/{commands → src/commands}/ListAppInstanceUsersCommand.ts +8 -7
- package/{commands → src/commands}/ListAppInstancesCommand.ts +8 -7
- package/{commands → src/commands}/PutAppInstanceRetentionSettingsCommand.ts +8 -7
- package/{commands → src/commands}/UpdateAppInstanceCommand.ts +8 -7
- package/{commands → src/commands}/UpdateAppInstanceUserCommand.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}/ListAppInstanceAdminsPaginator.ts +2 -1
- package/{pagination → src/pagination}/ListAppInstanceUsersPaginator.ts +2 -1
- package/{pagination → src/pagination}/ListAppInstancesPaginator.ts +2 -1
- package/{protocols → src/protocols}/Aws_restJson1.ts +40 -39
- 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/ChimeSDKIdentity.js.map +0 -1
- package/dist/cjs/ChimeSDKIdentityClient.js.map +0 -1
- package/dist/cjs/commands/CreateAppInstanceAdminCommand.js.map +0 -1
- package/dist/cjs/commands/CreateAppInstanceCommand.js.map +0 -1
- package/dist/cjs/commands/CreateAppInstanceUserCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAppInstanceAdminCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAppInstanceCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAppInstanceUserCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeAppInstanceAdminCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeAppInstanceCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeAppInstanceUserCommand.js.map +0 -1
- package/dist/cjs/commands/GetAppInstanceRetentionSettingsCommand.js.map +0 -1
- package/dist/cjs/commands/ListAppInstanceAdminsCommand.js.map +0 -1
- package/dist/cjs/commands/ListAppInstanceUsersCommand.js.map +0 -1
- package/dist/cjs/commands/ListAppInstancesCommand.js.map +0 -1
- package/dist/cjs/commands/PutAppInstanceRetentionSettingsCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateAppInstanceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateAppInstanceUserCommand.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 -93
- package/dist/cjs/pagination/ListAppInstanceAdminsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListAppInstanceUsersPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListAppInstancesPaginator.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/ChimeSDKIdentity.js.map +0 -1
- package/dist/es/ChimeSDKIdentityClient.js.map +0 -1
- package/dist/es/commands/CreateAppInstanceAdminCommand.js.map +0 -1
- package/dist/es/commands/CreateAppInstanceCommand.js.map +0 -1
- package/dist/es/commands/CreateAppInstanceUserCommand.js.map +0 -1
- package/dist/es/commands/DeleteAppInstanceAdminCommand.js.map +0 -1
- package/dist/es/commands/DeleteAppInstanceCommand.js.map +0 -1
- package/dist/es/commands/DeleteAppInstanceUserCommand.js.map +0 -1
- package/dist/es/commands/DescribeAppInstanceAdminCommand.js.map +0 -1
- package/dist/es/commands/DescribeAppInstanceCommand.js.map +0 -1
- package/dist/es/commands/DescribeAppInstanceUserCommand.js.map +0 -1
- package/dist/es/commands/GetAppInstanceRetentionSettingsCommand.js.map +0 -1
- package/dist/es/commands/ListAppInstanceAdminsCommand.js.map +0 -1
- package/dist/es/commands/ListAppInstanceUsersCommand.js.map +0 -1
- package/dist/es/commands/ListAppInstancesCommand.js.map +0 -1
- package/dist/es/commands/PutAppInstanceRetentionSettingsCommand.js.map +0 -1
- package/dist/es/commands/UpdateAppInstanceCommand.js.map +0 -1
- package/dist/es/commands/UpdateAppInstanceUserCommand.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 -93
- package/dist/es/pagination/ListAppInstanceAdminsPaginator.js.map +0 -1
- package/dist/es/pagination/ListAppInstanceUsersPaginator.js.map +0 -1
- package/dist/es/pagination/ListAppInstancesPaginator.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
|
@@ -10,10 +10,10 @@ const serializeAws_restJson1CreateAppInstanceCommand = async (input, context) =>
|
|
|
10
10
|
const headers = {
|
|
11
11
|
"content-type": "application/json",
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/app-instances";
|
|
14
14
|
let body;
|
|
15
15
|
body = JSON.stringify({
|
|
16
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a :
|
|
16
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
17
17
|
...(input.Metadata !== undefined && input.Metadata !== null && { Metadata: input.Metadata }),
|
|
18
18
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
19
19
|
...(input.Tags !== undefined &&
|
|
@@ -41,7 +41,7 @@ const serializeAws_restJson1CreateAppInstanceAdminCommand = async (input, contex
|
|
|
41
41
|
if (labelValue.length <= 0) {
|
|
42
42
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
43
43
|
}
|
|
44
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}",
|
|
44
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
45
45
|
}
|
|
46
46
|
else {
|
|
47
47
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -68,14 +68,14 @@ const serializeAws_restJson1CreateAppInstanceUserCommand = async (input, context
|
|
|
68
68
|
const headers = {
|
|
69
69
|
"content-type": "application/json",
|
|
70
70
|
};
|
|
71
|
-
|
|
71
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/app-instance-users";
|
|
72
72
|
let body;
|
|
73
73
|
body = JSON.stringify({
|
|
74
74
|
...(input.AppInstanceArn !== undefined &&
|
|
75
75
|
input.AppInstanceArn !== null && { AppInstanceArn: input.AppInstanceArn }),
|
|
76
76
|
...(input.AppInstanceUserId !== undefined &&
|
|
77
77
|
input.AppInstanceUserId !== null && { AppInstanceUserId: input.AppInstanceUserId }),
|
|
78
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a :
|
|
78
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
79
79
|
...(input.Metadata !== undefined && input.Metadata !== null && { Metadata: input.Metadata }),
|
|
80
80
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
81
81
|
...(input.Tags !== undefined &&
|
|
@@ -101,7 +101,7 @@ const serializeAws_restJson1DeleteAppInstanceCommand = async (input, context) =>
|
|
|
101
101
|
if (labelValue.length <= 0) {
|
|
102
102
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
103
103
|
}
|
|
104
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}",
|
|
104
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
105
105
|
}
|
|
106
106
|
else {
|
|
107
107
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -128,7 +128,7 @@ const serializeAws_restJson1DeleteAppInstanceAdminCommand = async (input, contex
|
|
|
128
128
|
if (labelValue.length <= 0) {
|
|
129
129
|
throw new Error("Empty value provided for input HTTP label: AppInstanceAdminArn.");
|
|
130
130
|
}
|
|
131
|
-
resolvedPath = resolvedPath.replace("{AppInstanceAdminArn}",
|
|
131
|
+
resolvedPath = resolvedPath.replace("{AppInstanceAdminArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
132
132
|
}
|
|
133
133
|
else {
|
|
134
134
|
throw new Error("No value provided for input HTTP label: AppInstanceAdminArn.");
|
|
@@ -138,7 +138,7 @@ const serializeAws_restJson1DeleteAppInstanceAdminCommand = async (input, contex
|
|
|
138
138
|
if (labelValue.length <= 0) {
|
|
139
139
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
140
140
|
}
|
|
141
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}",
|
|
141
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
142
142
|
}
|
|
143
143
|
else {
|
|
144
144
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -164,7 +164,7 @@ const serializeAws_restJson1DeleteAppInstanceUserCommand = async (input, context
|
|
|
164
164
|
if (labelValue.length <= 0) {
|
|
165
165
|
throw new Error("Empty value provided for input HTTP label: AppInstanceUserArn.");
|
|
166
166
|
}
|
|
167
|
-
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}",
|
|
167
|
+
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
168
168
|
}
|
|
169
169
|
else {
|
|
170
170
|
throw new Error("No value provided for input HTTP label: AppInstanceUserArn.");
|
|
@@ -190,7 +190,7 @@ const serializeAws_restJson1DescribeAppInstanceCommand = async (input, context)
|
|
|
190
190
|
if (labelValue.length <= 0) {
|
|
191
191
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
192
192
|
}
|
|
193
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}",
|
|
193
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
194
194
|
}
|
|
195
195
|
else {
|
|
196
196
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -217,7 +217,7 @@ const serializeAws_restJson1DescribeAppInstanceAdminCommand = async (input, cont
|
|
|
217
217
|
if (labelValue.length <= 0) {
|
|
218
218
|
throw new Error("Empty value provided for input HTTP label: AppInstanceAdminArn.");
|
|
219
219
|
}
|
|
220
|
-
resolvedPath = resolvedPath.replace("{AppInstanceAdminArn}",
|
|
220
|
+
resolvedPath = resolvedPath.replace("{AppInstanceAdminArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
221
221
|
}
|
|
222
222
|
else {
|
|
223
223
|
throw new Error("No value provided for input HTTP label: AppInstanceAdminArn.");
|
|
@@ -227,7 +227,7 @@ const serializeAws_restJson1DescribeAppInstanceAdminCommand = async (input, cont
|
|
|
227
227
|
if (labelValue.length <= 0) {
|
|
228
228
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
229
229
|
}
|
|
230
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}",
|
|
230
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
231
231
|
}
|
|
232
232
|
else {
|
|
233
233
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -253,7 +253,7 @@ const serializeAws_restJson1DescribeAppInstanceUserCommand = async (input, conte
|
|
|
253
253
|
if (labelValue.length <= 0) {
|
|
254
254
|
throw new Error("Empty value provided for input HTTP label: AppInstanceUserArn.");
|
|
255
255
|
}
|
|
256
|
-
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}",
|
|
256
|
+
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
257
257
|
}
|
|
258
258
|
else {
|
|
259
259
|
throw new Error("No value provided for input HTTP label: AppInstanceUserArn.");
|
|
@@ -280,7 +280,7 @@ const serializeAws_restJson1GetAppInstanceRetentionSettingsCommand = async (inpu
|
|
|
280
280
|
if (labelValue.length <= 0) {
|
|
281
281
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
282
282
|
}
|
|
283
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}",
|
|
283
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
284
284
|
}
|
|
285
285
|
else {
|
|
286
286
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -306,7 +306,7 @@ const serializeAws_restJson1ListAppInstanceAdminsCommand = async (input, context
|
|
|
306
306
|
if (labelValue.length <= 0) {
|
|
307
307
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
308
308
|
}
|
|
309
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}",
|
|
309
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
310
310
|
}
|
|
311
311
|
else {
|
|
312
312
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -331,7 +331,7 @@ exports.serializeAws_restJson1ListAppInstanceAdminsCommand = serializeAws_restJs
|
|
|
331
331
|
const serializeAws_restJson1ListAppInstancesCommand = async (input, context) => {
|
|
332
332
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
333
333
|
const headers = {};
|
|
334
|
-
|
|
334
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/app-instances";
|
|
335
335
|
const query = {
|
|
336
336
|
...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }),
|
|
337
337
|
...(input.NextToken !== undefined && { "next-token": input.NextToken }),
|
|
@@ -352,7 +352,7 @@ exports.serializeAws_restJson1ListAppInstancesCommand = serializeAws_restJson1Li
|
|
|
352
352
|
const serializeAws_restJson1ListAppInstanceUsersCommand = async (input, context) => {
|
|
353
353
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
354
354
|
const headers = {};
|
|
355
|
-
|
|
355
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/app-instance-users";
|
|
356
356
|
const query = {
|
|
357
357
|
...(input.AppInstanceArn !== undefined && { "app-instance-arn": input.AppInstanceArn }),
|
|
358
358
|
...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }),
|
|
@@ -383,7 +383,7 @@ const serializeAws_restJson1PutAppInstanceRetentionSettingsCommand = async (inpu
|
|
|
383
383
|
if (labelValue.length <= 0) {
|
|
384
384
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
385
385
|
}
|
|
386
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}",
|
|
386
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
387
387
|
}
|
|
388
388
|
else {
|
|
389
389
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -417,7 +417,7 @@ const serializeAws_restJson1UpdateAppInstanceCommand = async (input, context) =>
|
|
|
417
417
|
if (labelValue.length <= 0) {
|
|
418
418
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
419
419
|
}
|
|
420
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}",
|
|
420
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
421
421
|
}
|
|
422
422
|
else {
|
|
423
423
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -449,7 +449,7 @@ const serializeAws_restJson1UpdateAppInstanceUserCommand = async (input, context
|
|
|
449
449
|
if (labelValue.length <= 0) {
|
|
450
450
|
throw new Error("Empty value provided for input HTTP label: AppInstanceUserArn.");
|
|
451
451
|
}
|
|
452
|
-
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}",
|
|
452
|
+
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
453
453
|
}
|
|
454
454
|
else {
|
|
455
455
|
throw new Error("No value provided for input HTTP label: AppInstanceUserArn.");
|
|
@@ -478,9 +478,9 @@ const deserializeAws_restJson1CreateAppInstanceCommand = async (output, context)
|
|
|
478
478
|
$metadata: deserializeMetadata(output),
|
|
479
479
|
AppInstanceArn: undefined,
|
|
480
480
|
};
|
|
481
|
-
const data =
|
|
481
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
482
482
|
if (data.AppInstanceArn !== undefined && data.AppInstanceArn !== null) {
|
|
483
|
-
contents.AppInstanceArn =
|
|
483
|
+
contents.AppInstanceArn = smithy_client_1.expectString(data.AppInstanceArn);
|
|
484
484
|
}
|
|
485
485
|
return Promise.resolve(contents);
|
|
486
486
|
};
|
|
@@ -583,12 +583,12 @@ const deserializeAws_restJson1CreateAppInstanceAdminCommand = async (output, con
|
|
|
583
583
|
AppInstanceAdmin: undefined,
|
|
584
584
|
AppInstanceArn: undefined,
|
|
585
585
|
};
|
|
586
|
-
const data =
|
|
586
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
587
587
|
if (data.AppInstanceAdmin !== undefined && data.AppInstanceAdmin !== null) {
|
|
588
588
|
contents.AppInstanceAdmin = deserializeAws_restJson1Identity(data.AppInstanceAdmin, context);
|
|
589
589
|
}
|
|
590
590
|
if (data.AppInstanceArn !== undefined && data.AppInstanceArn !== null) {
|
|
591
|
-
contents.AppInstanceArn =
|
|
591
|
+
contents.AppInstanceArn = smithy_client_1.expectString(data.AppInstanceArn);
|
|
592
592
|
}
|
|
593
593
|
return Promise.resolve(contents);
|
|
594
594
|
};
|
|
@@ -690,9 +690,9 @@ const deserializeAws_restJson1CreateAppInstanceUserCommand = async (output, cont
|
|
|
690
690
|
$metadata: deserializeMetadata(output),
|
|
691
691
|
AppInstanceUserArn: undefined,
|
|
692
692
|
};
|
|
693
|
-
const data =
|
|
693
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
694
694
|
if (data.AppInstanceUserArn !== undefined && data.AppInstanceUserArn !== null) {
|
|
695
|
-
contents.AppInstanceUserArn =
|
|
695
|
+
contents.AppInstanceUserArn = smithy_client_1.expectString(data.AppInstanceUserArn);
|
|
696
696
|
}
|
|
697
697
|
return Promise.resolve(contents);
|
|
698
698
|
};
|
|
@@ -1086,7 +1086,7 @@ const deserializeAws_restJson1DescribeAppInstanceCommand = async (output, contex
|
|
|
1086
1086
|
$metadata: deserializeMetadata(output),
|
|
1087
1087
|
AppInstance: undefined,
|
|
1088
1088
|
};
|
|
1089
|
-
const data =
|
|
1089
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1090
1090
|
if (data.AppInstance !== undefined && data.AppInstance !== null) {
|
|
1091
1091
|
contents.AppInstance = deserializeAws_restJson1AppInstance(data.AppInstance, context);
|
|
1092
1092
|
}
|
|
@@ -1174,7 +1174,7 @@ const deserializeAws_restJson1DescribeAppInstanceAdminCommand = async (output, c
|
|
|
1174
1174
|
$metadata: deserializeMetadata(output),
|
|
1175
1175
|
AppInstanceAdmin: undefined,
|
|
1176
1176
|
};
|
|
1177
|
-
const data =
|
|
1177
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1178
1178
|
if (data.AppInstanceAdmin !== undefined && data.AppInstanceAdmin !== null) {
|
|
1179
1179
|
contents.AppInstanceAdmin = deserializeAws_restJson1AppInstanceAdmin(data.AppInstanceAdmin, context);
|
|
1180
1180
|
}
|
|
@@ -1262,7 +1262,7 @@ const deserializeAws_restJson1DescribeAppInstanceUserCommand = async (output, co
|
|
|
1262
1262
|
$metadata: deserializeMetadata(output),
|
|
1263
1263
|
AppInstanceUser: undefined,
|
|
1264
1264
|
};
|
|
1265
|
-
const data =
|
|
1265
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1266
1266
|
if (data.AppInstanceUser !== undefined && data.AppInstanceUser !== null) {
|
|
1267
1267
|
contents.AppInstanceUser = deserializeAws_restJson1AppInstanceUser(data.AppInstanceUser, context);
|
|
1268
1268
|
}
|
|
@@ -1351,12 +1351,12 @@ const deserializeAws_restJson1GetAppInstanceRetentionSettingsCommand = async (ou
|
|
|
1351
1351
|
AppInstanceRetentionSettings: undefined,
|
|
1352
1352
|
InitiateDeletionTimestamp: undefined,
|
|
1353
1353
|
};
|
|
1354
|
-
const data =
|
|
1354
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1355
1355
|
if (data.AppInstanceRetentionSettings !== undefined && data.AppInstanceRetentionSettings !== null) {
|
|
1356
1356
|
contents.AppInstanceRetentionSettings = deserializeAws_restJson1AppInstanceRetentionSettings(data.AppInstanceRetentionSettings, context);
|
|
1357
1357
|
}
|
|
1358
1358
|
if (data.InitiateDeletionTimestamp !== undefined && data.InitiateDeletionTimestamp !== null) {
|
|
1359
|
-
contents.InitiateDeletionTimestamp =
|
|
1359
|
+
contents.InitiateDeletionTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.InitiateDeletionTimestamp)));
|
|
1360
1360
|
}
|
|
1361
1361
|
return Promise.resolve(contents);
|
|
1362
1362
|
};
|
|
@@ -1444,15 +1444,15 @@ const deserializeAws_restJson1ListAppInstanceAdminsCommand = async (output, cont
|
|
|
1444
1444
|
AppInstanceArn: undefined,
|
|
1445
1445
|
NextToken: undefined,
|
|
1446
1446
|
};
|
|
1447
|
-
const data =
|
|
1447
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1448
1448
|
if (data.AppInstanceAdmins !== undefined && data.AppInstanceAdmins !== null) {
|
|
1449
1449
|
contents.AppInstanceAdmins = deserializeAws_restJson1AppInstanceAdminList(data.AppInstanceAdmins, context);
|
|
1450
1450
|
}
|
|
1451
1451
|
if (data.AppInstanceArn !== undefined && data.AppInstanceArn !== null) {
|
|
1452
|
-
contents.AppInstanceArn =
|
|
1452
|
+
contents.AppInstanceArn = smithy_client_1.expectString(data.AppInstanceArn);
|
|
1453
1453
|
}
|
|
1454
1454
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1455
|
-
contents.NextToken =
|
|
1455
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1456
1456
|
}
|
|
1457
1457
|
return Promise.resolve(contents);
|
|
1458
1458
|
};
|
|
@@ -1547,12 +1547,12 @@ const deserializeAws_restJson1ListAppInstancesCommand = async (output, context)
|
|
|
1547
1547
|
AppInstances: undefined,
|
|
1548
1548
|
NextToken: undefined,
|
|
1549
1549
|
};
|
|
1550
|
-
const data =
|
|
1550
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1551
1551
|
if (data.AppInstances !== undefined && data.AppInstances !== null) {
|
|
1552
1552
|
contents.AppInstances = deserializeAws_restJson1AppInstanceList(data.AppInstances, context);
|
|
1553
1553
|
}
|
|
1554
1554
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1555
|
-
contents.NextToken =
|
|
1555
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1556
1556
|
}
|
|
1557
1557
|
return Promise.resolve(contents);
|
|
1558
1558
|
};
|
|
@@ -1640,15 +1640,15 @@ const deserializeAws_restJson1ListAppInstanceUsersCommand = async (output, conte
|
|
|
1640
1640
|
AppInstanceUsers: undefined,
|
|
1641
1641
|
NextToken: undefined,
|
|
1642
1642
|
};
|
|
1643
|
-
const data =
|
|
1643
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1644
1644
|
if (data.AppInstanceArn !== undefined && data.AppInstanceArn !== null) {
|
|
1645
|
-
contents.AppInstanceArn =
|
|
1645
|
+
contents.AppInstanceArn = smithy_client_1.expectString(data.AppInstanceArn);
|
|
1646
1646
|
}
|
|
1647
1647
|
if (data.AppInstanceUsers !== undefined && data.AppInstanceUsers !== null) {
|
|
1648
1648
|
contents.AppInstanceUsers = deserializeAws_restJson1AppInstanceUserList(data.AppInstanceUsers, context);
|
|
1649
1649
|
}
|
|
1650
1650
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1651
|
-
contents.NextToken =
|
|
1651
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1652
1652
|
}
|
|
1653
1653
|
return Promise.resolve(contents);
|
|
1654
1654
|
};
|
|
@@ -1735,12 +1735,12 @@ const deserializeAws_restJson1PutAppInstanceRetentionSettingsCommand = async (ou
|
|
|
1735
1735
|
AppInstanceRetentionSettings: undefined,
|
|
1736
1736
|
InitiateDeletionTimestamp: undefined,
|
|
1737
1737
|
};
|
|
1738
|
-
const data =
|
|
1738
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1739
1739
|
if (data.AppInstanceRetentionSettings !== undefined && data.AppInstanceRetentionSettings !== null) {
|
|
1740
1740
|
contents.AppInstanceRetentionSettings = deserializeAws_restJson1AppInstanceRetentionSettings(data.AppInstanceRetentionSettings, context);
|
|
1741
1741
|
}
|
|
1742
1742
|
if (data.InitiateDeletionTimestamp !== undefined && data.InitiateDeletionTimestamp !== null) {
|
|
1743
|
-
contents.InitiateDeletionTimestamp =
|
|
1743
|
+
contents.InitiateDeletionTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.InitiateDeletionTimestamp)));
|
|
1744
1744
|
}
|
|
1745
1745
|
return Promise.resolve(contents);
|
|
1746
1746
|
};
|
|
@@ -1826,9 +1826,9 @@ const deserializeAws_restJson1UpdateAppInstanceCommand = async (output, context)
|
|
|
1826
1826
|
$metadata: deserializeMetadata(output),
|
|
1827
1827
|
AppInstanceArn: undefined,
|
|
1828
1828
|
};
|
|
1829
|
-
const data =
|
|
1829
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1830
1830
|
if (data.AppInstanceArn !== undefined && data.AppInstanceArn !== null) {
|
|
1831
|
-
contents.AppInstanceArn =
|
|
1831
|
+
contents.AppInstanceArn = smithy_client_1.expectString(data.AppInstanceArn);
|
|
1832
1832
|
}
|
|
1833
1833
|
return Promise.resolve(contents);
|
|
1834
1834
|
};
|
|
@@ -1922,9 +1922,9 @@ const deserializeAws_restJson1UpdateAppInstanceUserCommand = async (output, cont
|
|
|
1922
1922
|
$metadata: deserializeMetadata(output),
|
|
1923
1923
|
AppInstanceUserArn: undefined,
|
|
1924
1924
|
};
|
|
1925
|
-
const data =
|
|
1925
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1926
1926
|
if (data.AppInstanceUserArn !== undefined && data.AppInstanceUserArn !== null) {
|
|
1927
|
-
contents.AppInstanceUserArn =
|
|
1927
|
+
contents.AppInstanceUserArn = smithy_client_1.expectString(data.AppInstanceUserArn);
|
|
1928
1928
|
}
|
|
1929
1929
|
return Promise.resolve(contents);
|
|
1930
1930
|
};
|
|
@@ -2028,10 +2028,10 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
|
|
|
2028
2028
|
};
|
|
2029
2029
|
const data = parsedOutput.body;
|
|
2030
2030
|
if (data.Code !== undefined && data.Code !== null) {
|
|
2031
|
-
contents.Code =
|
|
2031
|
+
contents.Code = smithy_client_1.expectString(data.Code);
|
|
2032
2032
|
}
|
|
2033
2033
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2034
|
-
contents.Message =
|
|
2034
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2035
2035
|
}
|
|
2036
2036
|
return contents;
|
|
2037
2037
|
};
|
|
@@ -2045,10 +2045,10 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
2045
2045
|
};
|
|
2046
2046
|
const data = parsedOutput.body;
|
|
2047
2047
|
if (data.Code !== undefined && data.Code !== null) {
|
|
2048
|
-
contents.Code =
|
|
2048
|
+
contents.Code = smithy_client_1.expectString(data.Code);
|
|
2049
2049
|
}
|
|
2050
2050
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2051
|
-
contents.Message =
|
|
2051
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2052
2052
|
}
|
|
2053
2053
|
return contents;
|
|
2054
2054
|
};
|
|
@@ -2062,10 +2062,10 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
|
|
|
2062
2062
|
};
|
|
2063
2063
|
const data = parsedOutput.body;
|
|
2064
2064
|
if (data.Code !== undefined && data.Code !== null) {
|
|
2065
|
-
contents.Code =
|
|
2065
|
+
contents.Code = smithy_client_1.expectString(data.Code);
|
|
2066
2066
|
}
|
|
2067
2067
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2068
|
-
contents.Message =
|
|
2068
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2069
2069
|
}
|
|
2070
2070
|
return contents;
|
|
2071
2071
|
};
|
|
@@ -2079,10 +2079,10 @@ const deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (pa
|
|
|
2079
2079
|
};
|
|
2080
2080
|
const data = parsedOutput.body;
|
|
2081
2081
|
if (data.Code !== undefined && data.Code !== null) {
|
|
2082
|
-
contents.Code =
|
|
2082
|
+
contents.Code = smithy_client_1.expectString(data.Code);
|
|
2083
2083
|
}
|
|
2084
2084
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2085
|
-
contents.Message =
|
|
2085
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2086
2086
|
}
|
|
2087
2087
|
return contents;
|
|
2088
2088
|
};
|
|
@@ -2096,10 +2096,10 @@ const deserializeAws_restJson1ServiceFailureExceptionResponse = async (parsedOut
|
|
|
2096
2096
|
};
|
|
2097
2097
|
const data = parsedOutput.body;
|
|
2098
2098
|
if (data.Code !== undefined && data.Code !== null) {
|
|
2099
|
-
contents.Code =
|
|
2099
|
+
contents.Code = smithy_client_1.expectString(data.Code);
|
|
2100
2100
|
}
|
|
2101
2101
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2102
|
-
contents.Message =
|
|
2102
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2103
2103
|
}
|
|
2104
2104
|
return contents;
|
|
2105
2105
|
};
|
|
@@ -2113,10 +2113,10 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
|
|
|
2113
2113
|
};
|
|
2114
2114
|
const data = parsedOutput.body;
|
|
2115
2115
|
if (data.Code !== undefined && data.Code !== null) {
|
|
2116
|
-
contents.Code =
|
|
2116
|
+
contents.Code = smithy_client_1.expectString(data.Code);
|
|
2117
2117
|
}
|
|
2118
2118
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2119
|
-
contents.Message =
|
|
2119
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2120
2120
|
}
|
|
2121
2121
|
return contents;
|
|
2122
2122
|
};
|
|
@@ -2130,10 +2130,10 @@ const deserializeAws_restJson1ThrottledClientExceptionResponse = async (parsedOu
|
|
|
2130
2130
|
};
|
|
2131
2131
|
const data = parsedOutput.body;
|
|
2132
2132
|
if (data.Code !== undefined && data.Code !== null) {
|
|
2133
|
-
contents.Code =
|
|
2133
|
+
contents.Code = smithy_client_1.expectString(data.Code);
|
|
2134
2134
|
}
|
|
2135
2135
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2136
|
-
contents.Message =
|
|
2136
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2137
2137
|
}
|
|
2138
2138
|
return contents;
|
|
2139
2139
|
};
|
|
@@ -2147,10 +2147,10 @@ const deserializeAws_restJson1UnauthorizedClientExceptionResponse = async (parse
|
|
|
2147
2147
|
};
|
|
2148
2148
|
const data = parsedOutput.body;
|
|
2149
2149
|
if (data.Code !== undefined && data.Code !== null) {
|
|
2150
|
-
contents.Code =
|
|
2150
|
+
contents.Code = smithy_client_1.expectString(data.Code);
|
|
2151
2151
|
}
|
|
2152
2152
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2153
|
-
contents.Message =
|
|
2153
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2154
2154
|
}
|
|
2155
2155
|
return contents;
|
|
2156
2156
|
};
|
|
@@ -2185,15 +2185,15 @@ const serializeAws_restJson1TagList = (input, context) => {
|
|
|
2185
2185
|
};
|
|
2186
2186
|
const deserializeAws_restJson1AppInstance = (output, context) => {
|
|
2187
2187
|
return {
|
|
2188
|
-
AppInstanceArn:
|
|
2188
|
+
AppInstanceArn: smithy_client_1.expectString(output.AppInstanceArn),
|
|
2189
2189
|
CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
2190
|
-
?
|
|
2190
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
|
|
2191
2191
|
: undefined,
|
|
2192
2192
|
LastUpdatedTimestamp: output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
2193
|
-
?
|
|
2193
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTimestamp)))
|
|
2194
2194
|
: undefined,
|
|
2195
|
-
Metadata:
|
|
2196
|
-
Name:
|
|
2195
|
+
Metadata: smithy_client_1.expectString(output.Metadata),
|
|
2196
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2197
2197
|
};
|
|
2198
2198
|
};
|
|
2199
2199
|
const deserializeAws_restJson1AppInstanceAdmin = (output, context) => {
|
|
@@ -2201,9 +2201,9 @@ const deserializeAws_restJson1AppInstanceAdmin = (output, context) => {
|
|
|
2201
2201
|
Admin: output.Admin !== undefined && output.Admin !== null
|
|
2202
2202
|
? deserializeAws_restJson1Identity(output.Admin, context)
|
|
2203
2203
|
: undefined,
|
|
2204
|
-
AppInstanceArn:
|
|
2204
|
+
AppInstanceArn: smithy_client_1.expectString(output.AppInstanceArn),
|
|
2205
2205
|
CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
2206
|
-
?
|
|
2206
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
|
|
2207
2207
|
: undefined,
|
|
2208
2208
|
};
|
|
2209
2209
|
};
|
|
@@ -2243,22 +2243,22 @@ const deserializeAws_restJson1AppInstanceRetentionSettings = (output, context) =
|
|
|
2243
2243
|
};
|
|
2244
2244
|
const deserializeAws_restJson1AppInstanceSummary = (output, context) => {
|
|
2245
2245
|
return {
|
|
2246
|
-
AppInstanceArn:
|
|
2247
|
-
Metadata:
|
|
2248
|
-
Name:
|
|
2246
|
+
AppInstanceArn: smithy_client_1.expectString(output.AppInstanceArn),
|
|
2247
|
+
Metadata: smithy_client_1.expectString(output.Metadata),
|
|
2248
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2249
2249
|
};
|
|
2250
2250
|
};
|
|
2251
2251
|
const deserializeAws_restJson1AppInstanceUser = (output, context) => {
|
|
2252
2252
|
return {
|
|
2253
|
-
AppInstanceUserArn:
|
|
2253
|
+
AppInstanceUserArn: smithy_client_1.expectString(output.AppInstanceUserArn),
|
|
2254
2254
|
CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
2255
|
-
?
|
|
2255
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
|
|
2256
2256
|
: undefined,
|
|
2257
2257
|
LastUpdatedTimestamp: output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
2258
|
-
?
|
|
2258
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTimestamp)))
|
|
2259
2259
|
: undefined,
|
|
2260
|
-
Metadata:
|
|
2261
|
-
Name:
|
|
2260
|
+
Metadata: smithy_client_1.expectString(output.Metadata),
|
|
2261
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2262
2262
|
};
|
|
2263
2263
|
};
|
|
2264
2264
|
const deserializeAws_restJson1AppInstanceUserList = (output, context) => {
|
|
@@ -2273,20 +2273,20 @@ const deserializeAws_restJson1AppInstanceUserList = (output, context) => {
|
|
|
2273
2273
|
};
|
|
2274
2274
|
const deserializeAws_restJson1AppInstanceUserSummary = (output, context) => {
|
|
2275
2275
|
return {
|
|
2276
|
-
AppInstanceUserArn:
|
|
2277
|
-
Metadata:
|
|
2278
|
-
Name:
|
|
2276
|
+
AppInstanceUserArn: smithy_client_1.expectString(output.AppInstanceUserArn),
|
|
2277
|
+
Metadata: smithy_client_1.expectString(output.Metadata),
|
|
2278
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2279
2279
|
};
|
|
2280
2280
|
};
|
|
2281
2281
|
const deserializeAws_restJson1ChannelRetentionSettings = (output, context) => {
|
|
2282
2282
|
return {
|
|
2283
|
-
RetentionDays:
|
|
2283
|
+
RetentionDays: smithy_client_1.expectInt32(output.RetentionDays),
|
|
2284
2284
|
};
|
|
2285
2285
|
};
|
|
2286
2286
|
const deserializeAws_restJson1Identity = (output, context) => {
|
|
2287
2287
|
return {
|
|
2288
|
-
Arn:
|
|
2289
|
-
Name:
|
|
2288
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
2289
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2290
2290
|
};
|
|
2291
2291
|
};
|
|
2292
2292
|
const deserializeMetadata = (output) => {
|