@aws-sdk/client-sso-admin 3.303.0 → 3.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/AttachCustomerManagedPolicyReferenceToPermissionSetCommand.js +2 -2
- package/dist-cjs/commands/AttachManagedPolicyToPermissionSetCommand.js +2 -2
- package/dist-cjs/commands/CreateAccountAssignmentCommand.js +2 -2
- package/dist-cjs/commands/CreateInstanceAccessControlAttributeConfigurationCommand.js +2 -2
- package/dist-cjs/commands/CreatePermissionSetCommand.js +2 -2
- package/dist-cjs/commands/DeleteAccountAssignmentCommand.js +2 -2
- package/dist-cjs/commands/DeleteInlinePolicyFromPermissionSetCommand.js +2 -2
- package/dist-cjs/commands/DeleteInstanceAccessControlAttributeConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DeletePermissionSetCommand.js +2 -2
- package/dist-cjs/commands/DeletePermissionsBoundaryFromPermissionSetCommand.js +2 -2
- package/dist-cjs/commands/DescribeAccountAssignmentCreationStatusCommand.js +2 -2
- package/dist-cjs/commands/DescribeAccountAssignmentDeletionStatusCommand.js +2 -2
- package/dist-cjs/commands/DescribeInstanceAccessControlAttributeConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DescribePermissionSetCommand.js +2 -2
- package/dist-cjs/commands/DescribePermissionSetProvisioningStatusCommand.js +2 -2
- package/dist-cjs/commands/DetachCustomerManagedPolicyReferenceFromPermissionSetCommand.js +2 -2
- package/dist-cjs/commands/DetachManagedPolicyFromPermissionSetCommand.js +2 -2
- package/dist-cjs/commands/GetInlinePolicyForPermissionSetCommand.js +2 -2
- package/dist-cjs/commands/GetPermissionsBoundaryForPermissionSetCommand.js +2 -2
- package/dist-cjs/commands/ListAccountAssignmentCreationStatusCommand.js +2 -2
- package/dist-cjs/commands/ListAccountAssignmentDeletionStatusCommand.js +2 -2
- package/dist-cjs/commands/ListAccountAssignmentsCommand.js +2 -2
- package/dist-cjs/commands/ListAccountsForProvisionedPermissionSetCommand.js +2 -2
- package/dist-cjs/commands/ListCustomerManagedPolicyReferencesInPermissionSetCommand.js +2 -2
- package/dist-cjs/commands/ListInstancesCommand.js +2 -2
- package/dist-cjs/commands/ListManagedPoliciesInPermissionSetCommand.js +2 -2
- package/dist-cjs/commands/ListPermissionSetProvisioningStatusCommand.js +2 -2
- package/dist-cjs/commands/ListPermissionSetsCommand.js +2 -2
- package/dist-cjs/commands/ListPermissionSetsProvisionedToAccountCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ProvisionPermissionSetCommand.js +2 -2
- package/dist-cjs/commands/PutInlinePolicyToPermissionSetCommand.js +2 -2
- package/dist-cjs/commands/PutPermissionsBoundaryToPermissionSetCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateInstanceAccessControlAttributeConfigurationCommand.js +2 -2
- package/dist-cjs/commands/UpdatePermissionSetCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +687 -699
- package/dist-es/commands/AttachCustomerManagedPolicyReferenceToPermissionSetCommand.js +3 -3
- package/dist-es/commands/AttachManagedPolicyToPermissionSetCommand.js +3 -3
- package/dist-es/commands/CreateAccountAssignmentCommand.js +3 -3
- package/dist-es/commands/CreateInstanceAccessControlAttributeConfigurationCommand.js +3 -3
- package/dist-es/commands/CreatePermissionSetCommand.js +3 -3
- package/dist-es/commands/DeleteAccountAssignmentCommand.js +3 -3
- package/dist-es/commands/DeleteInlinePolicyFromPermissionSetCommand.js +3 -3
- package/dist-es/commands/DeleteInstanceAccessControlAttributeConfigurationCommand.js +3 -3
- package/dist-es/commands/DeletePermissionSetCommand.js +3 -3
- package/dist-es/commands/DeletePermissionsBoundaryFromPermissionSetCommand.js +3 -3
- package/dist-es/commands/DescribeAccountAssignmentCreationStatusCommand.js +3 -3
- package/dist-es/commands/DescribeAccountAssignmentDeletionStatusCommand.js +3 -3
- package/dist-es/commands/DescribeInstanceAccessControlAttributeConfigurationCommand.js +3 -3
- package/dist-es/commands/DescribePermissionSetCommand.js +3 -3
- package/dist-es/commands/DescribePermissionSetProvisioningStatusCommand.js +3 -3
- package/dist-es/commands/DetachCustomerManagedPolicyReferenceFromPermissionSetCommand.js +3 -3
- package/dist-es/commands/DetachManagedPolicyFromPermissionSetCommand.js +3 -3
- package/dist-es/commands/GetInlinePolicyForPermissionSetCommand.js +3 -3
- package/dist-es/commands/GetPermissionsBoundaryForPermissionSetCommand.js +3 -3
- package/dist-es/commands/ListAccountAssignmentCreationStatusCommand.js +3 -3
- package/dist-es/commands/ListAccountAssignmentDeletionStatusCommand.js +3 -3
- package/dist-es/commands/ListAccountAssignmentsCommand.js +3 -3
- package/dist-es/commands/ListAccountsForProvisionedPermissionSetCommand.js +3 -3
- package/dist-es/commands/ListCustomerManagedPolicyReferencesInPermissionSetCommand.js +3 -3
- package/dist-es/commands/ListInstancesCommand.js +3 -3
- package/dist-es/commands/ListManagedPoliciesInPermissionSetCommand.js +3 -3
- package/dist-es/commands/ListPermissionSetProvisioningStatusCommand.js +3 -3
- package/dist-es/commands/ListPermissionSetsCommand.js +3 -3
- package/dist-es/commands/ListPermissionSetsProvisionedToAccountCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ProvisionPermissionSetCommand.js +3 -3
- package/dist-es/commands/PutInlinePolicyToPermissionSetCommand.js +3 -3
- package/dist-es/commands/PutPermissionsBoundaryToPermissionSetCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateInstanceAccessControlAttributeConfigurationCommand.js +3 -3
- package/dist-es/commands/UpdatePermissionSetCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +611 -623
- package/dist-types/protocols/Aws_json1_1.d.ts +296 -74
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +74 -74
- package/package.json +29 -29
|
@@ -1,396 +1,396 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.de_DescribeInstanceAccessControlAttributeConfigurationCommand = exports.de_DescribeAccountAssignmentDeletionStatusCommand = exports.de_DescribeAccountAssignmentCreationStatusCommand = exports.de_DeletePermissionSetCommand = exports.de_DeletePermissionsBoundaryFromPermissionSetCommand = exports.de_DeleteInstanceAccessControlAttributeConfigurationCommand = exports.de_DeleteInlinePolicyFromPermissionSetCommand = exports.de_DeleteAccountAssignmentCommand = exports.de_CreatePermissionSetCommand = exports.de_CreateInstanceAccessControlAttributeConfigurationCommand = exports.de_CreateAccountAssignmentCommand = exports.de_AttachManagedPolicyToPermissionSetCommand = exports.de_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = exports.se_UpdatePermissionSetCommand = exports.se_UpdateInstanceAccessControlAttributeConfigurationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_PutPermissionsBoundaryToPermissionSetCommand = exports.se_PutInlinePolicyToPermissionSetCommand = exports.se_ProvisionPermissionSetCommand = exports.se_ListTagsForResourceCommand = exports.se_ListPermissionSetsProvisionedToAccountCommand = exports.se_ListPermissionSetsCommand = exports.se_ListPermissionSetProvisioningStatusCommand = exports.se_ListManagedPoliciesInPermissionSetCommand = exports.se_ListInstancesCommand = exports.se_ListCustomerManagedPolicyReferencesInPermissionSetCommand = exports.se_ListAccountsForProvisionedPermissionSetCommand = exports.se_ListAccountAssignmentsCommand = exports.se_ListAccountAssignmentDeletionStatusCommand = exports.se_ListAccountAssignmentCreationStatusCommand = exports.se_GetPermissionsBoundaryForPermissionSetCommand = exports.se_GetInlinePolicyForPermissionSetCommand = exports.se_DetachManagedPolicyFromPermissionSetCommand = exports.se_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = exports.se_DescribePermissionSetProvisioningStatusCommand = exports.se_DescribePermissionSetCommand = exports.se_DescribeInstanceAccessControlAttributeConfigurationCommand = exports.se_DescribeAccountAssignmentDeletionStatusCommand = exports.se_DescribeAccountAssignmentCreationStatusCommand = exports.se_DeletePermissionSetCommand = exports.se_DeletePermissionsBoundaryFromPermissionSetCommand = exports.se_DeleteInstanceAccessControlAttributeConfigurationCommand = exports.se_DeleteInlinePolicyFromPermissionSetCommand = exports.se_DeleteAccountAssignmentCommand = exports.se_CreatePermissionSetCommand = exports.se_CreateInstanceAccessControlAttributeConfigurationCommand = exports.se_CreateAccountAssignmentCommand = exports.se_AttachManagedPolicyToPermissionSetCommand = exports.se_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = void 0;
|
|
4
|
+
exports.de_UpdatePermissionSetCommand = exports.de_UpdateInstanceAccessControlAttributeConfigurationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_PutPermissionsBoundaryToPermissionSetCommand = exports.de_PutInlinePolicyToPermissionSetCommand = exports.de_ProvisionPermissionSetCommand = exports.de_ListTagsForResourceCommand = exports.de_ListPermissionSetsProvisionedToAccountCommand = exports.de_ListPermissionSetsCommand = exports.de_ListPermissionSetProvisioningStatusCommand = exports.de_ListManagedPoliciesInPermissionSetCommand = exports.de_ListInstancesCommand = exports.de_ListCustomerManagedPolicyReferencesInPermissionSetCommand = exports.de_ListAccountsForProvisionedPermissionSetCommand = exports.de_ListAccountAssignmentsCommand = exports.de_ListAccountAssignmentDeletionStatusCommand = exports.de_ListAccountAssignmentCreationStatusCommand = exports.de_GetPermissionsBoundaryForPermissionSetCommand = exports.de_GetInlinePolicyForPermissionSetCommand = exports.de_DetachManagedPolicyFromPermissionSetCommand = exports.de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = exports.de_DescribePermissionSetProvisioningStatusCommand = exports.de_DescribePermissionSetCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const SSOAdminServiceException_1 = require("../models/SSOAdminServiceException");
|
|
9
|
-
const
|
|
9
|
+
const se_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = async (input, context) => {
|
|
10
10
|
const headers = {
|
|
11
11
|
"content-type": "application/x-amz-json-1.1",
|
|
12
12
|
"x-amz-target": "SWBExternalService.AttachCustomerManagedPolicyReferenceToPermissionSet",
|
|
13
13
|
};
|
|
14
14
|
let body;
|
|
15
|
-
body = JSON.stringify(
|
|
15
|
+
body = JSON.stringify(se_AttachCustomerManagedPolicyReferenceToPermissionSetRequest(input, context));
|
|
16
16
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
17
|
};
|
|
18
|
-
exports.
|
|
19
|
-
const
|
|
18
|
+
exports.se_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = se_AttachCustomerManagedPolicyReferenceToPermissionSetCommand;
|
|
19
|
+
const se_AttachManagedPolicyToPermissionSetCommand = async (input, context) => {
|
|
20
20
|
const headers = {
|
|
21
21
|
"content-type": "application/x-amz-json-1.1",
|
|
22
22
|
"x-amz-target": "SWBExternalService.AttachManagedPolicyToPermissionSet",
|
|
23
23
|
};
|
|
24
24
|
let body;
|
|
25
|
-
body = JSON.stringify(
|
|
25
|
+
body = JSON.stringify(se_AttachManagedPolicyToPermissionSetRequest(input, context));
|
|
26
26
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
27
27
|
};
|
|
28
|
-
exports.
|
|
29
|
-
const
|
|
28
|
+
exports.se_AttachManagedPolicyToPermissionSetCommand = se_AttachManagedPolicyToPermissionSetCommand;
|
|
29
|
+
const se_CreateAccountAssignmentCommand = async (input, context) => {
|
|
30
30
|
const headers = {
|
|
31
31
|
"content-type": "application/x-amz-json-1.1",
|
|
32
32
|
"x-amz-target": "SWBExternalService.CreateAccountAssignment",
|
|
33
33
|
};
|
|
34
34
|
let body;
|
|
35
|
-
body = JSON.stringify(
|
|
35
|
+
body = JSON.stringify(se_CreateAccountAssignmentRequest(input, context));
|
|
36
36
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
37
37
|
};
|
|
38
|
-
exports.
|
|
39
|
-
const
|
|
38
|
+
exports.se_CreateAccountAssignmentCommand = se_CreateAccountAssignmentCommand;
|
|
39
|
+
const se_CreateInstanceAccessControlAttributeConfigurationCommand = async (input, context) => {
|
|
40
40
|
const headers = {
|
|
41
41
|
"content-type": "application/x-amz-json-1.1",
|
|
42
42
|
"x-amz-target": "SWBExternalService.CreateInstanceAccessControlAttributeConfiguration",
|
|
43
43
|
};
|
|
44
44
|
let body;
|
|
45
|
-
body = JSON.stringify(
|
|
45
|
+
body = JSON.stringify(se_CreateInstanceAccessControlAttributeConfigurationRequest(input, context));
|
|
46
46
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
47
|
};
|
|
48
|
-
exports.
|
|
49
|
-
const
|
|
48
|
+
exports.se_CreateInstanceAccessControlAttributeConfigurationCommand = se_CreateInstanceAccessControlAttributeConfigurationCommand;
|
|
49
|
+
const se_CreatePermissionSetCommand = async (input, context) => {
|
|
50
50
|
const headers = {
|
|
51
51
|
"content-type": "application/x-amz-json-1.1",
|
|
52
52
|
"x-amz-target": "SWBExternalService.CreatePermissionSet",
|
|
53
53
|
};
|
|
54
54
|
let body;
|
|
55
|
-
body = JSON.stringify(
|
|
55
|
+
body = JSON.stringify(se_CreatePermissionSetRequest(input, context));
|
|
56
56
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
57
57
|
};
|
|
58
|
-
exports.
|
|
59
|
-
const
|
|
58
|
+
exports.se_CreatePermissionSetCommand = se_CreatePermissionSetCommand;
|
|
59
|
+
const se_DeleteAccountAssignmentCommand = async (input, context) => {
|
|
60
60
|
const headers = {
|
|
61
61
|
"content-type": "application/x-amz-json-1.1",
|
|
62
62
|
"x-amz-target": "SWBExternalService.DeleteAccountAssignment",
|
|
63
63
|
};
|
|
64
64
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
65
|
+
body = JSON.stringify(se_DeleteAccountAssignmentRequest(input, context));
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
|
-
exports.
|
|
69
|
-
const
|
|
68
|
+
exports.se_DeleteAccountAssignmentCommand = se_DeleteAccountAssignmentCommand;
|
|
69
|
+
const se_DeleteInlinePolicyFromPermissionSetCommand = async (input, context) => {
|
|
70
70
|
const headers = {
|
|
71
71
|
"content-type": "application/x-amz-json-1.1",
|
|
72
72
|
"x-amz-target": "SWBExternalService.DeleteInlinePolicyFromPermissionSet",
|
|
73
73
|
};
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify(se_DeleteInlinePolicyFromPermissionSetRequest(input, context));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
|
-
exports.
|
|
79
|
-
const
|
|
78
|
+
exports.se_DeleteInlinePolicyFromPermissionSetCommand = se_DeleteInlinePolicyFromPermissionSetCommand;
|
|
79
|
+
const se_DeleteInstanceAccessControlAttributeConfigurationCommand = async (input, context) => {
|
|
80
80
|
const headers = {
|
|
81
81
|
"content-type": "application/x-amz-json-1.1",
|
|
82
82
|
"x-amz-target": "SWBExternalService.DeleteInstanceAccessControlAttributeConfiguration",
|
|
83
83
|
};
|
|
84
84
|
let body;
|
|
85
|
-
body = JSON.stringify(
|
|
85
|
+
body = JSON.stringify(se_DeleteInstanceAccessControlAttributeConfigurationRequest(input, context));
|
|
86
86
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
87
87
|
};
|
|
88
|
-
exports.
|
|
89
|
-
const
|
|
88
|
+
exports.se_DeleteInstanceAccessControlAttributeConfigurationCommand = se_DeleteInstanceAccessControlAttributeConfigurationCommand;
|
|
89
|
+
const se_DeletePermissionsBoundaryFromPermissionSetCommand = async (input, context) => {
|
|
90
90
|
const headers = {
|
|
91
91
|
"content-type": "application/x-amz-json-1.1",
|
|
92
92
|
"x-amz-target": "SWBExternalService.DeletePermissionsBoundaryFromPermissionSet",
|
|
93
93
|
};
|
|
94
94
|
let body;
|
|
95
|
-
body = JSON.stringify(
|
|
95
|
+
body = JSON.stringify(se_DeletePermissionsBoundaryFromPermissionSetRequest(input, context));
|
|
96
96
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
97
97
|
};
|
|
98
|
-
exports.
|
|
99
|
-
const
|
|
98
|
+
exports.se_DeletePermissionsBoundaryFromPermissionSetCommand = se_DeletePermissionsBoundaryFromPermissionSetCommand;
|
|
99
|
+
const se_DeletePermissionSetCommand = async (input, context) => {
|
|
100
100
|
const headers = {
|
|
101
101
|
"content-type": "application/x-amz-json-1.1",
|
|
102
102
|
"x-amz-target": "SWBExternalService.DeletePermissionSet",
|
|
103
103
|
};
|
|
104
104
|
let body;
|
|
105
|
-
body = JSON.stringify(
|
|
105
|
+
body = JSON.stringify(se_DeletePermissionSetRequest(input, context));
|
|
106
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
107
|
};
|
|
108
|
-
exports.
|
|
109
|
-
const
|
|
108
|
+
exports.se_DeletePermissionSetCommand = se_DeletePermissionSetCommand;
|
|
109
|
+
const se_DescribeAccountAssignmentCreationStatusCommand = async (input, context) => {
|
|
110
110
|
const headers = {
|
|
111
111
|
"content-type": "application/x-amz-json-1.1",
|
|
112
112
|
"x-amz-target": "SWBExternalService.DescribeAccountAssignmentCreationStatus",
|
|
113
113
|
};
|
|
114
114
|
let body;
|
|
115
|
-
body = JSON.stringify(
|
|
115
|
+
body = JSON.stringify(se_DescribeAccountAssignmentCreationStatusRequest(input, context));
|
|
116
116
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
117
117
|
};
|
|
118
|
-
exports.
|
|
119
|
-
const
|
|
118
|
+
exports.se_DescribeAccountAssignmentCreationStatusCommand = se_DescribeAccountAssignmentCreationStatusCommand;
|
|
119
|
+
const se_DescribeAccountAssignmentDeletionStatusCommand = async (input, context) => {
|
|
120
120
|
const headers = {
|
|
121
121
|
"content-type": "application/x-amz-json-1.1",
|
|
122
122
|
"x-amz-target": "SWBExternalService.DescribeAccountAssignmentDeletionStatus",
|
|
123
123
|
};
|
|
124
124
|
let body;
|
|
125
|
-
body = JSON.stringify(
|
|
125
|
+
body = JSON.stringify(se_DescribeAccountAssignmentDeletionStatusRequest(input, context));
|
|
126
126
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
127
127
|
};
|
|
128
|
-
exports.
|
|
129
|
-
const
|
|
128
|
+
exports.se_DescribeAccountAssignmentDeletionStatusCommand = se_DescribeAccountAssignmentDeletionStatusCommand;
|
|
129
|
+
const se_DescribeInstanceAccessControlAttributeConfigurationCommand = async (input, context) => {
|
|
130
130
|
const headers = {
|
|
131
131
|
"content-type": "application/x-amz-json-1.1",
|
|
132
132
|
"x-amz-target": "SWBExternalService.DescribeInstanceAccessControlAttributeConfiguration",
|
|
133
133
|
};
|
|
134
134
|
let body;
|
|
135
|
-
body = JSON.stringify(
|
|
135
|
+
body = JSON.stringify(se_DescribeInstanceAccessControlAttributeConfigurationRequest(input, context));
|
|
136
136
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
137
|
};
|
|
138
|
-
exports.
|
|
139
|
-
const
|
|
138
|
+
exports.se_DescribeInstanceAccessControlAttributeConfigurationCommand = se_DescribeInstanceAccessControlAttributeConfigurationCommand;
|
|
139
|
+
const se_DescribePermissionSetCommand = async (input, context) => {
|
|
140
140
|
const headers = {
|
|
141
141
|
"content-type": "application/x-amz-json-1.1",
|
|
142
142
|
"x-amz-target": "SWBExternalService.DescribePermissionSet",
|
|
143
143
|
};
|
|
144
144
|
let body;
|
|
145
|
-
body = JSON.stringify(
|
|
145
|
+
body = JSON.stringify(se_DescribePermissionSetRequest(input, context));
|
|
146
146
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
147
147
|
};
|
|
148
|
-
exports.
|
|
149
|
-
const
|
|
148
|
+
exports.se_DescribePermissionSetCommand = se_DescribePermissionSetCommand;
|
|
149
|
+
const se_DescribePermissionSetProvisioningStatusCommand = async (input, context) => {
|
|
150
150
|
const headers = {
|
|
151
151
|
"content-type": "application/x-amz-json-1.1",
|
|
152
152
|
"x-amz-target": "SWBExternalService.DescribePermissionSetProvisioningStatus",
|
|
153
153
|
};
|
|
154
154
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
155
|
+
body = JSON.stringify(se_DescribePermissionSetProvisioningStatusRequest(input, context));
|
|
156
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
157
|
};
|
|
158
|
-
exports.
|
|
159
|
-
const
|
|
158
|
+
exports.se_DescribePermissionSetProvisioningStatusCommand = se_DescribePermissionSetProvisioningStatusCommand;
|
|
159
|
+
const se_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = async (input, context) => {
|
|
160
160
|
const headers = {
|
|
161
161
|
"content-type": "application/x-amz-json-1.1",
|
|
162
162
|
"x-amz-target": "SWBExternalService.DetachCustomerManagedPolicyReferenceFromPermissionSet",
|
|
163
163
|
};
|
|
164
164
|
let body;
|
|
165
|
-
body = JSON.stringify(
|
|
165
|
+
body = JSON.stringify(se_DetachCustomerManagedPolicyReferenceFromPermissionSetRequest(input, context));
|
|
166
166
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
167
|
};
|
|
168
|
-
exports.
|
|
169
|
-
const
|
|
168
|
+
exports.se_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = se_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand;
|
|
169
|
+
const se_DetachManagedPolicyFromPermissionSetCommand = async (input, context) => {
|
|
170
170
|
const headers = {
|
|
171
171
|
"content-type": "application/x-amz-json-1.1",
|
|
172
172
|
"x-amz-target": "SWBExternalService.DetachManagedPolicyFromPermissionSet",
|
|
173
173
|
};
|
|
174
174
|
let body;
|
|
175
|
-
body = JSON.stringify(
|
|
175
|
+
body = JSON.stringify(se_DetachManagedPolicyFromPermissionSetRequest(input, context));
|
|
176
176
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
177
177
|
};
|
|
178
|
-
exports.
|
|
179
|
-
const
|
|
178
|
+
exports.se_DetachManagedPolicyFromPermissionSetCommand = se_DetachManagedPolicyFromPermissionSetCommand;
|
|
179
|
+
const se_GetInlinePolicyForPermissionSetCommand = async (input, context) => {
|
|
180
180
|
const headers = {
|
|
181
181
|
"content-type": "application/x-amz-json-1.1",
|
|
182
182
|
"x-amz-target": "SWBExternalService.GetInlinePolicyForPermissionSet",
|
|
183
183
|
};
|
|
184
184
|
let body;
|
|
185
|
-
body = JSON.stringify(
|
|
185
|
+
body = JSON.stringify(se_GetInlinePolicyForPermissionSetRequest(input, context));
|
|
186
186
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
187
187
|
};
|
|
188
|
-
exports.
|
|
189
|
-
const
|
|
188
|
+
exports.se_GetInlinePolicyForPermissionSetCommand = se_GetInlinePolicyForPermissionSetCommand;
|
|
189
|
+
const se_GetPermissionsBoundaryForPermissionSetCommand = async (input, context) => {
|
|
190
190
|
const headers = {
|
|
191
191
|
"content-type": "application/x-amz-json-1.1",
|
|
192
192
|
"x-amz-target": "SWBExternalService.GetPermissionsBoundaryForPermissionSet",
|
|
193
193
|
};
|
|
194
194
|
let body;
|
|
195
|
-
body = JSON.stringify(
|
|
195
|
+
body = JSON.stringify(se_GetPermissionsBoundaryForPermissionSetRequest(input, context));
|
|
196
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
197
|
};
|
|
198
|
-
exports.
|
|
199
|
-
const
|
|
198
|
+
exports.se_GetPermissionsBoundaryForPermissionSetCommand = se_GetPermissionsBoundaryForPermissionSetCommand;
|
|
199
|
+
const se_ListAccountAssignmentCreationStatusCommand = async (input, context) => {
|
|
200
200
|
const headers = {
|
|
201
201
|
"content-type": "application/x-amz-json-1.1",
|
|
202
202
|
"x-amz-target": "SWBExternalService.ListAccountAssignmentCreationStatus",
|
|
203
203
|
};
|
|
204
204
|
let body;
|
|
205
|
-
body = JSON.stringify(
|
|
205
|
+
body = JSON.stringify(se_ListAccountAssignmentCreationStatusRequest(input, context));
|
|
206
206
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
207
207
|
};
|
|
208
|
-
exports.
|
|
209
|
-
const
|
|
208
|
+
exports.se_ListAccountAssignmentCreationStatusCommand = se_ListAccountAssignmentCreationStatusCommand;
|
|
209
|
+
const se_ListAccountAssignmentDeletionStatusCommand = async (input, context) => {
|
|
210
210
|
const headers = {
|
|
211
211
|
"content-type": "application/x-amz-json-1.1",
|
|
212
212
|
"x-amz-target": "SWBExternalService.ListAccountAssignmentDeletionStatus",
|
|
213
213
|
};
|
|
214
214
|
let body;
|
|
215
|
-
body = JSON.stringify(
|
|
215
|
+
body = JSON.stringify(se_ListAccountAssignmentDeletionStatusRequest(input, context));
|
|
216
216
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
217
|
};
|
|
218
|
-
exports.
|
|
219
|
-
const
|
|
218
|
+
exports.se_ListAccountAssignmentDeletionStatusCommand = se_ListAccountAssignmentDeletionStatusCommand;
|
|
219
|
+
const se_ListAccountAssignmentsCommand = async (input, context) => {
|
|
220
220
|
const headers = {
|
|
221
221
|
"content-type": "application/x-amz-json-1.1",
|
|
222
222
|
"x-amz-target": "SWBExternalService.ListAccountAssignments",
|
|
223
223
|
};
|
|
224
224
|
let body;
|
|
225
|
-
body = JSON.stringify(
|
|
225
|
+
body = JSON.stringify(se_ListAccountAssignmentsRequest(input, context));
|
|
226
226
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
227
|
};
|
|
228
|
-
exports.
|
|
229
|
-
const
|
|
228
|
+
exports.se_ListAccountAssignmentsCommand = se_ListAccountAssignmentsCommand;
|
|
229
|
+
const se_ListAccountsForProvisionedPermissionSetCommand = async (input, context) => {
|
|
230
230
|
const headers = {
|
|
231
231
|
"content-type": "application/x-amz-json-1.1",
|
|
232
232
|
"x-amz-target": "SWBExternalService.ListAccountsForProvisionedPermissionSet",
|
|
233
233
|
};
|
|
234
234
|
let body;
|
|
235
|
-
body = JSON.stringify(
|
|
235
|
+
body = JSON.stringify(se_ListAccountsForProvisionedPermissionSetRequest(input, context));
|
|
236
236
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
237
237
|
};
|
|
238
|
-
exports.
|
|
239
|
-
const
|
|
238
|
+
exports.se_ListAccountsForProvisionedPermissionSetCommand = se_ListAccountsForProvisionedPermissionSetCommand;
|
|
239
|
+
const se_ListCustomerManagedPolicyReferencesInPermissionSetCommand = async (input, context) => {
|
|
240
240
|
const headers = {
|
|
241
241
|
"content-type": "application/x-amz-json-1.1",
|
|
242
242
|
"x-amz-target": "SWBExternalService.ListCustomerManagedPolicyReferencesInPermissionSet",
|
|
243
243
|
};
|
|
244
244
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
245
|
+
body = JSON.stringify(se_ListCustomerManagedPolicyReferencesInPermissionSetRequest(input, context));
|
|
246
246
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
247
|
};
|
|
248
|
-
exports.
|
|
249
|
-
const
|
|
248
|
+
exports.se_ListCustomerManagedPolicyReferencesInPermissionSetCommand = se_ListCustomerManagedPolicyReferencesInPermissionSetCommand;
|
|
249
|
+
const se_ListInstancesCommand = async (input, context) => {
|
|
250
250
|
const headers = {
|
|
251
251
|
"content-type": "application/x-amz-json-1.1",
|
|
252
252
|
"x-amz-target": "SWBExternalService.ListInstances",
|
|
253
253
|
};
|
|
254
254
|
let body;
|
|
255
|
-
body = JSON.stringify(
|
|
255
|
+
body = JSON.stringify(se_ListInstancesRequest(input, context));
|
|
256
256
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
257
|
};
|
|
258
|
-
exports.
|
|
259
|
-
const
|
|
258
|
+
exports.se_ListInstancesCommand = se_ListInstancesCommand;
|
|
259
|
+
const se_ListManagedPoliciesInPermissionSetCommand = async (input, context) => {
|
|
260
260
|
const headers = {
|
|
261
261
|
"content-type": "application/x-amz-json-1.1",
|
|
262
262
|
"x-amz-target": "SWBExternalService.ListManagedPoliciesInPermissionSet",
|
|
263
263
|
};
|
|
264
264
|
let body;
|
|
265
|
-
body = JSON.stringify(
|
|
265
|
+
body = JSON.stringify(se_ListManagedPoliciesInPermissionSetRequest(input, context));
|
|
266
266
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
267
267
|
};
|
|
268
|
-
exports.
|
|
269
|
-
const
|
|
268
|
+
exports.se_ListManagedPoliciesInPermissionSetCommand = se_ListManagedPoliciesInPermissionSetCommand;
|
|
269
|
+
const se_ListPermissionSetProvisioningStatusCommand = async (input, context) => {
|
|
270
270
|
const headers = {
|
|
271
271
|
"content-type": "application/x-amz-json-1.1",
|
|
272
272
|
"x-amz-target": "SWBExternalService.ListPermissionSetProvisioningStatus",
|
|
273
273
|
};
|
|
274
274
|
let body;
|
|
275
|
-
body = JSON.stringify(
|
|
275
|
+
body = JSON.stringify(se_ListPermissionSetProvisioningStatusRequest(input, context));
|
|
276
276
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
277
277
|
};
|
|
278
|
-
exports.
|
|
279
|
-
const
|
|
278
|
+
exports.se_ListPermissionSetProvisioningStatusCommand = se_ListPermissionSetProvisioningStatusCommand;
|
|
279
|
+
const se_ListPermissionSetsCommand = async (input, context) => {
|
|
280
280
|
const headers = {
|
|
281
281
|
"content-type": "application/x-amz-json-1.1",
|
|
282
282
|
"x-amz-target": "SWBExternalService.ListPermissionSets",
|
|
283
283
|
};
|
|
284
284
|
let body;
|
|
285
|
-
body = JSON.stringify(
|
|
285
|
+
body = JSON.stringify(se_ListPermissionSetsRequest(input, context));
|
|
286
286
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
287
|
};
|
|
288
|
-
exports.
|
|
289
|
-
const
|
|
288
|
+
exports.se_ListPermissionSetsCommand = se_ListPermissionSetsCommand;
|
|
289
|
+
const se_ListPermissionSetsProvisionedToAccountCommand = async (input, context) => {
|
|
290
290
|
const headers = {
|
|
291
291
|
"content-type": "application/x-amz-json-1.1",
|
|
292
292
|
"x-amz-target": "SWBExternalService.ListPermissionSetsProvisionedToAccount",
|
|
293
293
|
};
|
|
294
294
|
let body;
|
|
295
|
-
body = JSON.stringify(
|
|
295
|
+
body = JSON.stringify(se_ListPermissionSetsProvisionedToAccountRequest(input, context));
|
|
296
296
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
297
297
|
};
|
|
298
|
-
exports.
|
|
299
|
-
const
|
|
298
|
+
exports.se_ListPermissionSetsProvisionedToAccountCommand = se_ListPermissionSetsProvisionedToAccountCommand;
|
|
299
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
300
300
|
const headers = {
|
|
301
301
|
"content-type": "application/x-amz-json-1.1",
|
|
302
302
|
"x-amz-target": "SWBExternalService.ListTagsForResource",
|
|
303
303
|
};
|
|
304
304
|
let body;
|
|
305
|
-
body = JSON.stringify(
|
|
305
|
+
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
306
306
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
307
307
|
};
|
|
308
|
-
exports.
|
|
309
|
-
const
|
|
308
|
+
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
309
|
+
const se_ProvisionPermissionSetCommand = async (input, context) => {
|
|
310
310
|
const headers = {
|
|
311
311
|
"content-type": "application/x-amz-json-1.1",
|
|
312
312
|
"x-amz-target": "SWBExternalService.ProvisionPermissionSet",
|
|
313
313
|
};
|
|
314
314
|
let body;
|
|
315
|
-
body = JSON.stringify(
|
|
315
|
+
body = JSON.stringify(se_ProvisionPermissionSetRequest(input, context));
|
|
316
316
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
317
|
};
|
|
318
|
-
exports.
|
|
319
|
-
const
|
|
318
|
+
exports.se_ProvisionPermissionSetCommand = se_ProvisionPermissionSetCommand;
|
|
319
|
+
const se_PutInlinePolicyToPermissionSetCommand = async (input, context) => {
|
|
320
320
|
const headers = {
|
|
321
321
|
"content-type": "application/x-amz-json-1.1",
|
|
322
322
|
"x-amz-target": "SWBExternalService.PutInlinePolicyToPermissionSet",
|
|
323
323
|
};
|
|
324
324
|
let body;
|
|
325
|
-
body = JSON.stringify(
|
|
325
|
+
body = JSON.stringify(se_PutInlinePolicyToPermissionSetRequest(input, context));
|
|
326
326
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
327
327
|
};
|
|
328
|
-
exports.
|
|
329
|
-
const
|
|
328
|
+
exports.se_PutInlinePolicyToPermissionSetCommand = se_PutInlinePolicyToPermissionSetCommand;
|
|
329
|
+
const se_PutPermissionsBoundaryToPermissionSetCommand = async (input, context) => {
|
|
330
330
|
const headers = {
|
|
331
331
|
"content-type": "application/x-amz-json-1.1",
|
|
332
332
|
"x-amz-target": "SWBExternalService.PutPermissionsBoundaryToPermissionSet",
|
|
333
333
|
};
|
|
334
334
|
let body;
|
|
335
|
-
body = JSON.stringify(
|
|
335
|
+
body = JSON.stringify(se_PutPermissionsBoundaryToPermissionSetRequest(input, context));
|
|
336
336
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
337
337
|
};
|
|
338
|
-
exports.
|
|
339
|
-
const
|
|
338
|
+
exports.se_PutPermissionsBoundaryToPermissionSetCommand = se_PutPermissionsBoundaryToPermissionSetCommand;
|
|
339
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
340
340
|
const headers = {
|
|
341
341
|
"content-type": "application/x-amz-json-1.1",
|
|
342
342
|
"x-amz-target": "SWBExternalService.TagResource",
|
|
343
343
|
};
|
|
344
344
|
let body;
|
|
345
|
-
body = JSON.stringify(
|
|
345
|
+
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
346
346
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
347
347
|
};
|
|
348
|
-
exports.
|
|
349
|
-
const
|
|
348
|
+
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
349
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
350
350
|
const headers = {
|
|
351
351
|
"content-type": "application/x-amz-json-1.1",
|
|
352
352
|
"x-amz-target": "SWBExternalService.UntagResource",
|
|
353
353
|
};
|
|
354
354
|
let body;
|
|
355
|
-
body = JSON.stringify(
|
|
355
|
+
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
356
356
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
357
357
|
};
|
|
358
|
-
exports.
|
|
359
|
-
const
|
|
358
|
+
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
359
|
+
const se_UpdateInstanceAccessControlAttributeConfigurationCommand = async (input, context) => {
|
|
360
360
|
const headers = {
|
|
361
361
|
"content-type": "application/x-amz-json-1.1",
|
|
362
362
|
"x-amz-target": "SWBExternalService.UpdateInstanceAccessControlAttributeConfiguration",
|
|
363
363
|
};
|
|
364
364
|
let body;
|
|
365
|
-
body = JSON.stringify(
|
|
365
|
+
body = JSON.stringify(se_UpdateInstanceAccessControlAttributeConfigurationRequest(input, context));
|
|
366
366
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
367
367
|
};
|
|
368
|
-
exports.
|
|
369
|
-
const
|
|
368
|
+
exports.se_UpdateInstanceAccessControlAttributeConfigurationCommand = se_UpdateInstanceAccessControlAttributeConfigurationCommand;
|
|
369
|
+
const se_UpdatePermissionSetCommand = async (input, context) => {
|
|
370
370
|
const headers = {
|
|
371
371
|
"content-type": "application/x-amz-json-1.1",
|
|
372
372
|
"x-amz-target": "SWBExternalService.UpdatePermissionSet",
|
|
373
373
|
};
|
|
374
374
|
let body;
|
|
375
|
-
body = JSON.stringify(
|
|
375
|
+
body = JSON.stringify(se_UpdatePermissionSetRequest(input, context));
|
|
376
376
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
377
377
|
};
|
|
378
|
-
exports.
|
|
379
|
-
const
|
|
378
|
+
exports.se_UpdatePermissionSetCommand = se_UpdatePermissionSetCommand;
|
|
379
|
+
const de_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = async (output, context) => {
|
|
380
380
|
if (output.statusCode >= 300) {
|
|
381
|
-
return
|
|
381
|
+
return de_AttachCustomerManagedPolicyReferenceToPermissionSetCommandError(output, context);
|
|
382
382
|
}
|
|
383
383
|
const data = await parseBody(output.body, context);
|
|
384
384
|
let contents = {};
|
|
385
|
-
contents =
|
|
385
|
+
contents = de_AttachCustomerManagedPolicyReferenceToPermissionSetResponse(data, context);
|
|
386
386
|
const response = {
|
|
387
387
|
$metadata: deserializeMetadata(output),
|
|
388
388
|
...contents,
|
|
389
389
|
};
|
|
390
390
|
return Promise.resolve(response);
|
|
391
391
|
};
|
|
392
|
-
exports.
|
|
393
|
-
const
|
|
392
|
+
exports.de_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = de_AttachCustomerManagedPolicyReferenceToPermissionSetCommand;
|
|
393
|
+
const de_AttachCustomerManagedPolicyReferenceToPermissionSetCommandError = async (output, context) => {
|
|
394
394
|
const parsedOutput = {
|
|
395
395
|
...output,
|
|
396
396
|
body: await parseErrorBody(output.body, context),
|
|
@@ -399,25 +399,25 @@ const deserializeAws_json1_1AttachCustomerManagedPolicyReferenceToPermissionSetC
|
|
|
399
399
|
switch (errorCode) {
|
|
400
400
|
case "AccessDeniedException":
|
|
401
401
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
402
|
-
throw await
|
|
402
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
403
403
|
case "ConflictException":
|
|
404
404
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
405
|
-
throw await
|
|
405
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
406
406
|
case "InternalServerException":
|
|
407
407
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
408
|
-
throw await
|
|
408
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
409
409
|
case "ResourceNotFoundException":
|
|
410
410
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
411
|
-
throw await
|
|
411
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
412
412
|
case "ServiceQuotaExceededException":
|
|
413
413
|
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
414
|
-
throw await
|
|
414
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
415
415
|
case "ThrottlingException":
|
|
416
416
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
417
|
-
throw await
|
|
417
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
418
418
|
case "ValidationException":
|
|
419
419
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
420
|
-
throw await
|
|
420
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
421
421
|
default:
|
|
422
422
|
const parsedBody = parsedOutput.body;
|
|
423
423
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -428,21 +428,21 @@ const deserializeAws_json1_1AttachCustomerManagedPolicyReferenceToPermissionSetC
|
|
|
428
428
|
});
|
|
429
429
|
}
|
|
430
430
|
};
|
|
431
|
-
const
|
|
431
|
+
const de_AttachManagedPolicyToPermissionSetCommand = async (output, context) => {
|
|
432
432
|
if (output.statusCode >= 300) {
|
|
433
|
-
return
|
|
433
|
+
return de_AttachManagedPolicyToPermissionSetCommandError(output, context);
|
|
434
434
|
}
|
|
435
435
|
const data = await parseBody(output.body, context);
|
|
436
436
|
let contents = {};
|
|
437
|
-
contents =
|
|
437
|
+
contents = de_AttachManagedPolicyToPermissionSetResponse(data, context);
|
|
438
438
|
const response = {
|
|
439
439
|
$metadata: deserializeMetadata(output),
|
|
440
440
|
...contents,
|
|
441
441
|
};
|
|
442
442
|
return Promise.resolve(response);
|
|
443
443
|
};
|
|
444
|
-
exports.
|
|
445
|
-
const
|
|
444
|
+
exports.de_AttachManagedPolicyToPermissionSetCommand = de_AttachManagedPolicyToPermissionSetCommand;
|
|
445
|
+
const de_AttachManagedPolicyToPermissionSetCommandError = async (output, context) => {
|
|
446
446
|
const parsedOutput = {
|
|
447
447
|
...output,
|
|
448
448
|
body: await parseErrorBody(output.body, context),
|
|
@@ -451,25 +451,25 @@ const deserializeAws_json1_1AttachManagedPolicyToPermissionSetCommandError = asy
|
|
|
451
451
|
switch (errorCode) {
|
|
452
452
|
case "AccessDeniedException":
|
|
453
453
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
454
|
-
throw await
|
|
454
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
455
455
|
case "ConflictException":
|
|
456
456
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
457
|
-
throw await
|
|
457
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
458
458
|
case "InternalServerException":
|
|
459
459
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
460
|
-
throw await
|
|
460
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
461
461
|
case "ResourceNotFoundException":
|
|
462
462
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
463
|
-
throw await
|
|
463
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
464
464
|
case "ServiceQuotaExceededException":
|
|
465
465
|
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
466
|
-
throw await
|
|
466
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
467
467
|
case "ThrottlingException":
|
|
468
468
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
469
|
-
throw await
|
|
469
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
470
470
|
case "ValidationException":
|
|
471
471
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
472
|
-
throw await
|
|
472
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
473
473
|
default:
|
|
474
474
|
const parsedBody = parsedOutput.body;
|
|
475
475
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -480,21 +480,21 @@ const deserializeAws_json1_1AttachManagedPolicyToPermissionSetCommandError = asy
|
|
|
480
480
|
});
|
|
481
481
|
}
|
|
482
482
|
};
|
|
483
|
-
const
|
|
483
|
+
const de_CreateAccountAssignmentCommand = async (output, context) => {
|
|
484
484
|
if (output.statusCode >= 300) {
|
|
485
|
-
return
|
|
485
|
+
return de_CreateAccountAssignmentCommandError(output, context);
|
|
486
486
|
}
|
|
487
487
|
const data = await parseBody(output.body, context);
|
|
488
488
|
let contents = {};
|
|
489
|
-
contents =
|
|
489
|
+
contents = de_CreateAccountAssignmentResponse(data, context);
|
|
490
490
|
const response = {
|
|
491
491
|
$metadata: deserializeMetadata(output),
|
|
492
492
|
...contents,
|
|
493
493
|
};
|
|
494
494
|
return Promise.resolve(response);
|
|
495
495
|
};
|
|
496
|
-
exports.
|
|
497
|
-
const
|
|
496
|
+
exports.de_CreateAccountAssignmentCommand = de_CreateAccountAssignmentCommand;
|
|
497
|
+
const de_CreateAccountAssignmentCommandError = async (output, context) => {
|
|
498
498
|
const parsedOutput = {
|
|
499
499
|
...output,
|
|
500
500
|
body: await parseErrorBody(output.body, context),
|
|
@@ -503,25 +503,25 @@ const deserializeAws_json1_1CreateAccountAssignmentCommandError = async (output,
|
|
|
503
503
|
switch (errorCode) {
|
|
504
504
|
case "AccessDeniedException":
|
|
505
505
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
506
|
-
throw await
|
|
506
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
507
507
|
case "ConflictException":
|
|
508
508
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
509
|
-
throw await
|
|
509
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
510
510
|
case "InternalServerException":
|
|
511
511
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
512
|
-
throw await
|
|
512
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
513
513
|
case "ResourceNotFoundException":
|
|
514
514
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
515
|
-
throw await
|
|
515
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
516
516
|
case "ServiceQuotaExceededException":
|
|
517
517
|
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
518
|
-
throw await
|
|
518
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
519
519
|
case "ThrottlingException":
|
|
520
520
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
521
|
-
throw await
|
|
521
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
522
522
|
case "ValidationException":
|
|
523
523
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
524
|
-
throw await
|
|
524
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
525
525
|
default:
|
|
526
526
|
const parsedBody = parsedOutput.body;
|
|
527
527
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -532,21 +532,21 @@ const deserializeAws_json1_1CreateAccountAssignmentCommandError = async (output,
|
|
|
532
532
|
});
|
|
533
533
|
}
|
|
534
534
|
};
|
|
535
|
-
const
|
|
535
|
+
const de_CreateInstanceAccessControlAttributeConfigurationCommand = async (output, context) => {
|
|
536
536
|
if (output.statusCode >= 300) {
|
|
537
|
-
return
|
|
537
|
+
return de_CreateInstanceAccessControlAttributeConfigurationCommandError(output, context);
|
|
538
538
|
}
|
|
539
539
|
const data = await parseBody(output.body, context);
|
|
540
540
|
let contents = {};
|
|
541
|
-
contents =
|
|
541
|
+
contents = de_CreateInstanceAccessControlAttributeConfigurationResponse(data, context);
|
|
542
542
|
const response = {
|
|
543
543
|
$metadata: deserializeMetadata(output),
|
|
544
544
|
...contents,
|
|
545
545
|
};
|
|
546
546
|
return Promise.resolve(response);
|
|
547
547
|
};
|
|
548
|
-
exports.
|
|
549
|
-
const
|
|
548
|
+
exports.de_CreateInstanceAccessControlAttributeConfigurationCommand = de_CreateInstanceAccessControlAttributeConfigurationCommand;
|
|
549
|
+
const de_CreateInstanceAccessControlAttributeConfigurationCommandError = async (output, context) => {
|
|
550
550
|
const parsedOutput = {
|
|
551
551
|
...output,
|
|
552
552
|
body: await parseErrorBody(output.body, context),
|
|
@@ -555,22 +555,22 @@ const deserializeAws_json1_1CreateInstanceAccessControlAttributeConfigurationCom
|
|
|
555
555
|
switch (errorCode) {
|
|
556
556
|
case "AccessDeniedException":
|
|
557
557
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
558
|
-
throw await
|
|
558
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
559
559
|
case "ConflictException":
|
|
560
560
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
561
|
-
throw await
|
|
561
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
562
562
|
case "InternalServerException":
|
|
563
563
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
564
|
-
throw await
|
|
564
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
565
565
|
case "ResourceNotFoundException":
|
|
566
566
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
567
|
-
throw await
|
|
567
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
568
568
|
case "ThrottlingException":
|
|
569
569
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
570
|
-
throw await
|
|
570
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
571
571
|
case "ValidationException":
|
|
572
572
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
573
|
-
throw await
|
|
573
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
574
574
|
default:
|
|
575
575
|
const parsedBody = parsedOutput.body;
|
|
576
576
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -581,21 +581,21 @@ const deserializeAws_json1_1CreateInstanceAccessControlAttributeConfigurationCom
|
|
|
581
581
|
});
|
|
582
582
|
}
|
|
583
583
|
};
|
|
584
|
-
const
|
|
584
|
+
const de_CreatePermissionSetCommand = async (output, context) => {
|
|
585
585
|
if (output.statusCode >= 300) {
|
|
586
|
-
return
|
|
586
|
+
return de_CreatePermissionSetCommandError(output, context);
|
|
587
587
|
}
|
|
588
588
|
const data = await parseBody(output.body, context);
|
|
589
589
|
let contents = {};
|
|
590
|
-
contents =
|
|
590
|
+
contents = de_CreatePermissionSetResponse(data, context);
|
|
591
591
|
const response = {
|
|
592
592
|
$metadata: deserializeMetadata(output),
|
|
593
593
|
...contents,
|
|
594
594
|
};
|
|
595
595
|
return Promise.resolve(response);
|
|
596
596
|
};
|
|
597
|
-
exports.
|
|
598
|
-
const
|
|
597
|
+
exports.de_CreatePermissionSetCommand = de_CreatePermissionSetCommand;
|
|
598
|
+
const de_CreatePermissionSetCommandError = async (output, context) => {
|
|
599
599
|
const parsedOutput = {
|
|
600
600
|
...output,
|
|
601
601
|
body: await parseErrorBody(output.body, context),
|
|
@@ -604,25 +604,25 @@ const deserializeAws_json1_1CreatePermissionSetCommandError = async (output, con
|
|
|
604
604
|
switch (errorCode) {
|
|
605
605
|
case "AccessDeniedException":
|
|
606
606
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
607
|
-
throw await
|
|
607
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
608
608
|
case "ConflictException":
|
|
609
609
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
610
|
-
throw await
|
|
610
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
611
611
|
case "InternalServerException":
|
|
612
612
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
613
|
-
throw await
|
|
613
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
614
614
|
case "ResourceNotFoundException":
|
|
615
615
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
616
|
-
throw await
|
|
616
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
617
617
|
case "ServiceQuotaExceededException":
|
|
618
618
|
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
619
|
-
throw await
|
|
619
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
620
620
|
case "ThrottlingException":
|
|
621
621
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
622
|
-
throw await
|
|
622
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
623
623
|
case "ValidationException":
|
|
624
624
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
625
|
-
throw await
|
|
625
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
626
626
|
default:
|
|
627
627
|
const parsedBody = parsedOutput.body;
|
|
628
628
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -633,21 +633,21 @@ const deserializeAws_json1_1CreatePermissionSetCommandError = async (output, con
|
|
|
633
633
|
});
|
|
634
634
|
}
|
|
635
635
|
};
|
|
636
|
-
const
|
|
636
|
+
const de_DeleteAccountAssignmentCommand = async (output, context) => {
|
|
637
637
|
if (output.statusCode >= 300) {
|
|
638
|
-
return
|
|
638
|
+
return de_DeleteAccountAssignmentCommandError(output, context);
|
|
639
639
|
}
|
|
640
640
|
const data = await parseBody(output.body, context);
|
|
641
641
|
let contents = {};
|
|
642
|
-
contents =
|
|
642
|
+
contents = de_DeleteAccountAssignmentResponse(data, context);
|
|
643
643
|
const response = {
|
|
644
644
|
$metadata: deserializeMetadata(output),
|
|
645
645
|
...contents,
|
|
646
646
|
};
|
|
647
647
|
return Promise.resolve(response);
|
|
648
648
|
};
|
|
649
|
-
exports.
|
|
650
|
-
const
|
|
649
|
+
exports.de_DeleteAccountAssignmentCommand = de_DeleteAccountAssignmentCommand;
|
|
650
|
+
const de_DeleteAccountAssignmentCommandError = async (output, context) => {
|
|
651
651
|
const parsedOutput = {
|
|
652
652
|
...output,
|
|
653
653
|
body: await parseErrorBody(output.body, context),
|
|
@@ -656,22 +656,22 @@ const deserializeAws_json1_1DeleteAccountAssignmentCommandError = async (output,
|
|
|
656
656
|
switch (errorCode) {
|
|
657
657
|
case "AccessDeniedException":
|
|
658
658
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
659
|
-
throw await
|
|
659
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
660
660
|
case "ConflictException":
|
|
661
661
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
662
|
-
throw await
|
|
662
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
663
663
|
case "InternalServerException":
|
|
664
664
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
665
|
-
throw await
|
|
665
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
666
666
|
case "ResourceNotFoundException":
|
|
667
667
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
668
|
-
throw await
|
|
668
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
669
669
|
case "ThrottlingException":
|
|
670
670
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
671
|
-
throw await
|
|
671
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
672
672
|
case "ValidationException":
|
|
673
673
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
674
|
-
throw await
|
|
674
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
675
675
|
default:
|
|
676
676
|
const parsedBody = parsedOutput.body;
|
|
677
677
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -682,21 +682,21 @@ const deserializeAws_json1_1DeleteAccountAssignmentCommandError = async (output,
|
|
|
682
682
|
});
|
|
683
683
|
}
|
|
684
684
|
};
|
|
685
|
-
const
|
|
685
|
+
const de_DeleteInlinePolicyFromPermissionSetCommand = async (output, context) => {
|
|
686
686
|
if (output.statusCode >= 300) {
|
|
687
|
-
return
|
|
687
|
+
return de_DeleteInlinePolicyFromPermissionSetCommandError(output, context);
|
|
688
688
|
}
|
|
689
689
|
const data = await parseBody(output.body, context);
|
|
690
690
|
let contents = {};
|
|
691
|
-
contents =
|
|
691
|
+
contents = de_DeleteInlinePolicyFromPermissionSetResponse(data, context);
|
|
692
692
|
const response = {
|
|
693
693
|
$metadata: deserializeMetadata(output),
|
|
694
694
|
...contents,
|
|
695
695
|
};
|
|
696
696
|
return Promise.resolve(response);
|
|
697
697
|
};
|
|
698
|
-
exports.
|
|
699
|
-
const
|
|
698
|
+
exports.de_DeleteInlinePolicyFromPermissionSetCommand = de_DeleteInlinePolicyFromPermissionSetCommand;
|
|
699
|
+
const de_DeleteInlinePolicyFromPermissionSetCommandError = async (output, context) => {
|
|
700
700
|
const parsedOutput = {
|
|
701
701
|
...output,
|
|
702
702
|
body: await parseErrorBody(output.body, context),
|
|
@@ -705,22 +705,22 @@ const deserializeAws_json1_1DeleteInlinePolicyFromPermissionSetCommandError = as
|
|
|
705
705
|
switch (errorCode) {
|
|
706
706
|
case "AccessDeniedException":
|
|
707
707
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
708
|
-
throw await
|
|
708
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
709
709
|
case "ConflictException":
|
|
710
710
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
711
|
-
throw await
|
|
711
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
712
712
|
case "InternalServerException":
|
|
713
713
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
714
|
-
throw await
|
|
714
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
715
715
|
case "ResourceNotFoundException":
|
|
716
716
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
717
|
-
throw await
|
|
717
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
718
718
|
case "ThrottlingException":
|
|
719
719
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
720
|
-
throw await
|
|
720
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
721
721
|
case "ValidationException":
|
|
722
722
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
723
|
-
throw await
|
|
723
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
724
724
|
default:
|
|
725
725
|
const parsedBody = parsedOutput.body;
|
|
726
726
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -731,21 +731,21 @@ const deserializeAws_json1_1DeleteInlinePolicyFromPermissionSetCommandError = as
|
|
|
731
731
|
});
|
|
732
732
|
}
|
|
733
733
|
};
|
|
734
|
-
const
|
|
734
|
+
const de_DeleteInstanceAccessControlAttributeConfigurationCommand = async (output, context) => {
|
|
735
735
|
if (output.statusCode >= 300) {
|
|
736
|
-
return
|
|
736
|
+
return de_DeleteInstanceAccessControlAttributeConfigurationCommandError(output, context);
|
|
737
737
|
}
|
|
738
738
|
const data = await parseBody(output.body, context);
|
|
739
739
|
let contents = {};
|
|
740
|
-
contents =
|
|
740
|
+
contents = de_DeleteInstanceAccessControlAttributeConfigurationResponse(data, context);
|
|
741
741
|
const response = {
|
|
742
742
|
$metadata: deserializeMetadata(output),
|
|
743
743
|
...contents,
|
|
744
744
|
};
|
|
745
745
|
return Promise.resolve(response);
|
|
746
746
|
};
|
|
747
|
-
exports.
|
|
748
|
-
const
|
|
747
|
+
exports.de_DeleteInstanceAccessControlAttributeConfigurationCommand = de_DeleteInstanceAccessControlAttributeConfigurationCommand;
|
|
748
|
+
const de_DeleteInstanceAccessControlAttributeConfigurationCommandError = async (output, context) => {
|
|
749
749
|
const parsedOutput = {
|
|
750
750
|
...output,
|
|
751
751
|
body: await parseErrorBody(output.body, context),
|
|
@@ -754,22 +754,22 @@ const deserializeAws_json1_1DeleteInstanceAccessControlAttributeConfigurationCom
|
|
|
754
754
|
switch (errorCode) {
|
|
755
755
|
case "AccessDeniedException":
|
|
756
756
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
757
|
-
throw await
|
|
757
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
758
758
|
case "ConflictException":
|
|
759
759
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
760
|
-
throw await
|
|
760
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
761
761
|
case "InternalServerException":
|
|
762
762
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
763
|
-
throw await
|
|
763
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
764
764
|
case "ResourceNotFoundException":
|
|
765
765
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
766
|
-
throw await
|
|
766
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
767
767
|
case "ThrottlingException":
|
|
768
768
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
769
|
-
throw await
|
|
769
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
770
770
|
case "ValidationException":
|
|
771
771
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
772
|
-
throw await
|
|
772
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
773
773
|
default:
|
|
774
774
|
const parsedBody = parsedOutput.body;
|
|
775
775
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -780,21 +780,21 @@ const deserializeAws_json1_1DeleteInstanceAccessControlAttributeConfigurationCom
|
|
|
780
780
|
});
|
|
781
781
|
}
|
|
782
782
|
};
|
|
783
|
-
const
|
|
783
|
+
const de_DeletePermissionsBoundaryFromPermissionSetCommand = async (output, context) => {
|
|
784
784
|
if (output.statusCode >= 300) {
|
|
785
|
-
return
|
|
785
|
+
return de_DeletePermissionsBoundaryFromPermissionSetCommandError(output, context);
|
|
786
786
|
}
|
|
787
787
|
const data = await parseBody(output.body, context);
|
|
788
788
|
let contents = {};
|
|
789
|
-
contents =
|
|
789
|
+
contents = de_DeletePermissionsBoundaryFromPermissionSetResponse(data, context);
|
|
790
790
|
const response = {
|
|
791
791
|
$metadata: deserializeMetadata(output),
|
|
792
792
|
...contents,
|
|
793
793
|
};
|
|
794
794
|
return Promise.resolve(response);
|
|
795
795
|
};
|
|
796
|
-
exports.
|
|
797
|
-
const
|
|
796
|
+
exports.de_DeletePermissionsBoundaryFromPermissionSetCommand = de_DeletePermissionsBoundaryFromPermissionSetCommand;
|
|
797
|
+
const de_DeletePermissionsBoundaryFromPermissionSetCommandError = async (output, context) => {
|
|
798
798
|
const parsedOutput = {
|
|
799
799
|
...output,
|
|
800
800
|
body: await parseErrorBody(output.body, context),
|
|
@@ -803,19 +803,19 @@ const deserializeAws_json1_1DeletePermissionsBoundaryFromPermissionSetCommandErr
|
|
|
803
803
|
switch (errorCode) {
|
|
804
804
|
case "AccessDeniedException":
|
|
805
805
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
806
|
-
throw await
|
|
806
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
807
807
|
case "InternalServerException":
|
|
808
808
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
809
|
-
throw await
|
|
809
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
810
810
|
case "ResourceNotFoundException":
|
|
811
811
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
812
|
-
throw await
|
|
812
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
813
813
|
case "ThrottlingException":
|
|
814
814
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
815
|
-
throw await
|
|
815
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
816
816
|
case "ValidationException":
|
|
817
817
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
818
|
-
throw await
|
|
818
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
819
819
|
default:
|
|
820
820
|
const parsedBody = parsedOutput.body;
|
|
821
821
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -826,21 +826,21 @@ const deserializeAws_json1_1DeletePermissionsBoundaryFromPermissionSetCommandErr
|
|
|
826
826
|
});
|
|
827
827
|
}
|
|
828
828
|
};
|
|
829
|
-
const
|
|
829
|
+
const de_DeletePermissionSetCommand = async (output, context) => {
|
|
830
830
|
if (output.statusCode >= 300) {
|
|
831
|
-
return
|
|
831
|
+
return de_DeletePermissionSetCommandError(output, context);
|
|
832
832
|
}
|
|
833
833
|
const data = await parseBody(output.body, context);
|
|
834
834
|
let contents = {};
|
|
835
|
-
contents =
|
|
835
|
+
contents = de_DeletePermissionSetResponse(data, context);
|
|
836
836
|
const response = {
|
|
837
837
|
$metadata: deserializeMetadata(output),
|
|
838
838
|
...contents,
|
|
839
839
|
};
|
|
840
840
|
return Promise.resolve(response);
|
|
841
841
|
};
|
|
842
|
-
exports.
|
|
843
|
-
const
|
|
842
|
+
exports.de_DeletePermissionSetCommand = de_DeletePermissionSetCommand;
|
|
843
|
+
const de_DeletePermissionSetCommandError = async (output, context) => {
|
|
844
844
|
const parsedOutput = {
|
|
845
845
|
...output,
|
|
846
846
|
body: await parseErrorBody(output.body, context),
|
|
@@ -849,22 +849,22 @@ const deserializeAws_json1_1DeletePermissionSetCommandError = async (output, con
|
|
|
849
849
|
switch (errorCode) {
|
|
850
850
|
case "AccessDeniedException":
|
|
851
851
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
852
|
-
throw await
|
|
852
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
853
853
|
case "ConflictException":
|
|
854
854
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
855
|
-
throw await
|
|
855
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
856
856
|
case "InternalServerException":
|
|
857
857
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
858
|
-
throw await
|
|
858
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
859
859
|
case "ResourceNotFoundException":
|
|
860
860
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
861
|
-
throw await
|
|
861
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
862
862
|
case "ThrottlingException":
|
|
863
863
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
864
|
-
throw await
|
|
864
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
865
865
|
case "ValidationException":
|
|
866
866
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
867
|
-
throw await
|
|
867
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
868
868
|
default:
|
|
869
869
|
const parsedBody = parsedOutput.body;
|
|
870
870
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -875,21 +875,21 @@ const deserializeAws_json1_1DeletePermissionSetCommandError = async (output, con
|
|
|
875
875
|
});
|
|
876
876
|
}
|
|
877
877
|
};
|
|
878
|
-
const
|
|
878
|
+
const de_DescribeAccountAssignmentCreationStatusCommand = async (output, context) => {
|
|
879
879
|
if (output.statusCode >= 300) {
|
|
880
|
-
return
|
|
880
|
+
return de_DescribeAccountAssignmentCreationStatusCommandError(output, context);
|
|
881
881
|
}
|
|
882
882
|
const data = await parseBody(output.body, context);
|
|
883
883
|
let contents = {};
|
|
884
|
-
contents =
|
|
884
|
+
contents = de_DescribeAccountAssignmentCreationStatusResponse(data, context);
|
|
885
885
|
const response = {
|
|
886
886
|
$metadata: deserializeMetadata(output),
|
|
887
887
|
...contents,
|
|
888
888
|
};
|
|
889
889
|
return Promise.resolve(response);
|
|
890
890
|
};
|
|
891
|
-
exports.
|
|
892
|
-
const
|
|
891
|
+
exports.de_DescribeAccountAssignmentCreationStatusCommand = de_DescribeAccountAssignmentCreationStatusCommand;
|
|
892
|
+
const de_DescribeAccountAssignmentCreationStatusCommandError = async (output, context) => {
|
|
893
893
|
const parsedOutput = {
|
|
894
894
|
...output,
|
|
895
895
|
body: await parseErrorBody(output.body, context),
|
|
@@ -898,19 +898,19 @@ const deserializeAws_json1_1DescribeAccountAssignmentCreationStatusCommandError
|
|
|
898
898
|
switch (errorCode) {
|
|
899
899
|
case "AccessDeniedException":
|
|
900
900
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
901
|
-
throw await
|
|
901
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
902
902
|
case "InternalServerException":
|
|
903
903
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
904
|
-
throw await
|
|
904
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
905
905
|
case "ResourceNotFoundException":
|
|
906
906
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
907
|
-
throw await
|
|
907
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
908
908
|
case "ThrottlingException":
|
|
909
909
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
910
|
-
throw await
|
|
910
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
911
911
|
case "ValidationException":
|
|
912
912
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
913
|
-
throw await
|
|
913
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
914
914
|
default:
|
|
915
915
|
const parsedBody = parsedOutput.body;
|
|
916
916
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -921,21 +921,21 @@ const deserializeAws_json1_1DescribeAccountAssignmentCreationStatusCommandError
|
|
|
921
921
|
});
|
|
922
922
|
}
|
|
923
923
|
};
|
|
924
|
-
const
|
|
924
|
+
const de_DescribeAccountAssignmentDeletionStatusCommand = async (output, context) => {
|
|
925
925
|
if (output.statusCode >= 300) {
|
|
926
|
-
return
|
|
926
|
+
return de_DescribeAccountAssignmentDeletionStatusCommandError(output, context);
|
|
927
927
|
}
|
|
928
928
|
const data = await parseBody(output.body, context);
|
|
929
929
|
let contents = {};
|
|
930
|
-
contents =
|
|
930
|
+
contents = de_DescribeAccountAssignmentDeletionStatusResponse(data, context);
|
|
931
931
|
const response = {
|
|
932
932
|
$metadata: deserializeMetadata(output),
|
|
933
933
|
...contents,
|
|
934
934
|
};
|
|
935
935
|
return Promise.resolve(response);
|
|
936
936
|
};
|
|
937
|
-
exports.
|
|
938
|
-
const
|
|
937
|
+
exports.de_DescribeAccountAssignmentDeletionStatusCommand = de_DescribeAccountAssignmentDeletionStatusCommand;
|
|
938
|
+
const de_DescribeAccountAssignmentDeletionStatusCommandError = async (output, context) => {
|
|
939
939
|
const parsedOutput = {
|
|
940
940
|
...output,
|
|
941
941
|
body: await parseErrorBody(output.body, context),
|
|
@@ -944,19 +944,19 @@ const deserializeAws_json1_1DescribeAccountAssignmentDeletionStatusCommandError
|
|
|
944
944
|
switch (errorCode) {
|
|
945
945
|
case "AccessDeniedException":
|
|
946
946
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
947
|
-
throw await
|
|
947
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
948
948
|
case "InternalServerException":
|
|
949
949
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
950
|
-
throw await
|
|
950
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
951
951
|
case "ResourceNotFoundException":
|
|
952
952
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
953
|
-
throw await
|
|
953
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
954
954
|
case "ThrottlingException":
|
|
955
955
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
956
|
-
throw await
|
|
956
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
957
957
|
case "ValidationException":
|
|
958
958
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
959
|
-
throw await
|
|
959
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
960
960
|
default:
|
|
961
961
|
const parsedBody = parsedOutput.body;
|
|
962
962
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -967,21 +967,21 @@ const deserializeAws_json1_1DescribeAccountAssignmentDeletionStatusCommandError
|
|
|
967
967
|
});
|
|
968
968
|
}
|
|
969
969
|
};
|
|
970
|
-
const
|
|
970
|
+
const de_DescribeInstanceAccessControlAttributeConfigurationCommand = async (output, context) => {
|
|
971
971
|
if (output.statusCode >= 300) {
|
|
972
|
-
return
|
|
972
|
+
return de_DescribeInstanceAccessControlAttributeConfigurationCommandError(output, context);
|
|
973
973
|
}
|
|
974
974
|
const data = await parseBody(output.body, context);
|
|
975
975
|
let contents = {};
|
|
976
|
-
contents =
|
|
976
|
+
contents = de_DescribeInstanceAccessControlAttributeConfigurationResponse(data, context);
|
|
977
977
|
const response = {
|
|
978
978
|
$metadata: deserializeMetadata(output),
|
|
979
979
|
...contents,
|
|
980
980
|
};
|
|
981
981
|
return Promise.resolve(response);
|
|
982
982
|
};
|
|
983
|
-
exports.
|
|
984
|
-
const
|
|
983
|
+
exports.de_DescribeInstanceAccessControlAttributeConfigurationCommand = de_DescribeInstanceAccessControlAttributeConfigurationCommand;
|
|
984
|
+
const de_DescribeInstanceAccessControlAttributeConfigurationCommandError = async (output, context) => {
|
|
985
985
|
const parsedOutput = {
|
|
986
986
|
...output,
|
|
987
987
|
body: await parseErrorBody(output.body, context),
|
|
@@ -990,19 +990,19 @@ const deserializeAws_json1_1DescribeInstanceAccessControlAttributeConfigurationC
|
|
|
990
990
|
switch (errorCode) {
|
|
991
991
|
case "AccessDeniedException":
|
|
992
992
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
993
|
-
throw await
|
|
993
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
994
994
|
case "InternalServerException":
|
|
995
995
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
996
|
-
throw await
|
|
996
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
997
997
|
case "ResourceNotFoundException":
|
|
998
998
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
999
|
-
throw await
|
|
999
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1000
1000
|
case "ThrottlingException":
|
|
1001
1001
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1002
|
-
throw await
|
|
1002
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1003
1003
|
case "ValidationException":
|
|
1004
1004
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1005
|
-
throw await
|
|
1005
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1006
1006
|
default:
|
|
1007
1007
|
const parsedBody = parsedOutput.body;
|
|
1008
1008
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1013,21 +1013,21 @@ const deserializeAws_json1_1DescribeInstanceAccessControlAttributeConfigurationC
|
|
|
1013
1013
|
});
|
|
1014
1014
|
}
|
|
1015
1015
|
};
|
|
1016
|
-
const
|
|
1016
|
+
const de_DescribePermissionSetCommand = async (output, context) => {
|
|
1017
1017
|
if (output.statusCode >= 300) {
|
|
1018
|
-
return
|
|
1018
|
+
return de_DescribePermissionSetCommandError(output, context);
|
|
1019
1019
|
}
|
|
1020
1020
|
const data = await parseBody(output.body, context);
|
|
1021
1021
|
let contents = {};
|
|
1022
|
-
contents =
|
|
1022
|
+
contents = de_DescribePermissionSetResponse(data, context);
|
|
1023
1023
|
const response = {
|
|
1024
1024
|
$metadata: deserializeMetadata(output),
|
|
1025
1025
|
...contents,
|
|
1026
1026
|
};
|
|
1027
1027
|
return Promise.resolve(response);
|
|
1028
1028
|
};
|
|
1029
|
-
exports.
|
|
1030
|
-
const
|
|
1029
|
+
exports.de_DescribePermissionSetCommand = de_DescribePermissionSetCommand;
|
|
1030
|
+
const de_DescribePermissionSetCommandError = async (output, context) => {
|
|
1031
1031
|
const parsedOutput = {
|
|
1032
1032
|
...output,
|
|
1033
1033
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1036,19 +1036,19 @@ const deserializeAws_json1_1DescribePermissionSetCommandError = async (output, c
|
|
|
1036
1036
|
switch (errorCode) {
|
|
1037
1037
|
case "AccessDeniedException":
|
|
1038
1038
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1039
|
-
throw await
|
|
1039
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1040
1040
|
case "InternalServerException":
|
|
1041
1041
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1042
|
-
throw await
|
|
1042
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1043
1043
|
case "ResourceNotFoundException":
|
|
1044
1044
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1045
|
-
throw await
|
|
1045
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1046
1046
|
case "ThrottlingException":
|
|
1047
1047
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1048
|
-
throw await
|
|
1048
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1049
1049
|
case "ValidationException":
|
|
1050
1050
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1051
|
-
throw await
|
|
1051
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1052
1052
|
default:
|
|
1053
1053
|
const parsedBody = parsedOutput.body;
|
|
1054
1054
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1059,21 +1059,21 @@ const deserializeAws_json1_1DescribePermissionSetCommandError = async (output, c
|
|
|
1059
1059
|
});
|
|
1060
1060
|
}
|
|
1061
1061
|
};
|
|
1062
|
-
const
|
|
1062
|
+
const de_DescribePermissionSetProvisioningStatusCommand = async (output, context) => {
|
|
1063
1063
|
if (output.statusCode >= 300) {
|
|
1064
|
-
return
|
|
1064
|
+
return de_DescribePermissionSetProvisioningStatusCommandError(output, context);
|
|
1065
1065
|
}
|
|
1066
1066
|
const data = await parseBody(output.body, context);
|
|
1067
1067
|
let contents = {};
|
|
1068
|
-
contents =
|
|
1068
|
+
contents = de_DescribePermissionSetProvisioningStatusResponse(data, context);
|
|
1069
1069
|
const response = {
|
|
1070
1070
|
$metadata: deserializeMetadata(output),
|
|
1071
1071
|
...contents,
|
|
1072
1072
|
};
|
|
1073
1073
|
return Promise.resolve(response);
|
|
1074
1074
|
};
|
|
1075
|
-
exports.
|
|
1076
|
-
const
|
|
1075
|
+
exports.de_DescribePermissionSetProvisioningStatusCommand = de_DescribePermissionSetProvisioningStatusCommand;
|
|
1076
|
+
const de_DescribePermissionSetProvisioningStatusCommandError = async (output, context) => {
|
|
1077
1077
|
const parsedOutput = {
|
|
1078
1078
|
...output,
|
|
1079
1079
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1082,19 +1082,19 @@ const deserializeAws_json1_1DescribePermissionSetProvisioningStatusCommandError
|
|
|
1082
1082
|
switch (errorCode) {
|
|
1083
1083
|
case "AccessDeniedException":
|
|
1084
1084
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1085
|
-
throw await
|
|
1085
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1086
1086
|
case "InternalServerException":
|
|
1087
1087
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1088
|
-
throw await
|
|
1088
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1089
1089
|
case "ResourceNotFoundException":
|
|
1090
1090
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1091
|
-
throw await
|
|
1091
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1092
1092
|
case "ThrottlingException":
|
|
1093
1093
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1094
|
-
throw await
|
|
1094
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1095
1095
|
case "ValidationException":
|
|
1096
1096
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1097
|
-
throw await
|
|
1097
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1098
1098
|
default:
|
|
1099
1099
|
const parsedBody = parsedOutput.body;
|
|
1100
1100
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1105,21 +1105,21 @@ const deserializeAws_json1_1DescribePermissionSetProvisioningStatusCommandError
|
|
|
1105
1105
|
});
|
|
1106
1106
|
}
|
|
1107
1107
|
};
|
|
1108
|
-
const
|
|
1108
|
+
const de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = async (output, context) => {
|
|
1109
1109
|
if (output.statusCode >= 300) {
|
|
1110
|
-
return
|
|
1110
|
+
return de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommandError(output, context);
|
|
1111
1111
|
}
|
|
1112
1112
|
const data = await parseBody(output.body, context);
|
|
1113
1113
|
let contents = {};
|
|
1114
|
-
contents =
|
|
1114
|
+
contents = de_DetachCustomerManagedPolicyReferenceFromPermissionSetResponse(data, context);
|
|
1115
1115
|
const response = {
|
|
1116
1116
|
$metadata: deserializeMetadata(output),
|
|
1117
1117
|
...contents,
|
|
1118
1118
|
};
|
|
1119
1119
|
return Promise.resolve(response);
|
|
1120
1120
|
};
|
|
1121
|
-
exports.
|
|
1122
|
-
const
|
|
1121
|
+
exports.de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand;
|
|
1122
|
+
const de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommandError = async (output, context) => {
|
|
1123
1123
|
const parsedOutput = {
|
|
1124
1124
|
...output,
|
|
1125
1125
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1128,22 +1128,22 @@ const deserializeAws_json1_1DetachCustomerManagedPolicyReferenceFromPermissionSe
|
|
|
1128
1128
|
switch (errorCode) {
|
|
1129
1129
|
case "AccessDeniedException":
|
|
1130
1130
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1131
|
-
throw await
|
|
1131
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1132
1132
|
case "ConflictException":
|
|
1133
1133
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1134
|
-
throw await
|
|
1134
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1135
1135
|
case "InternalServerException":
|
|
1136
1136
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1137
|
-
throw await
|
|
1137
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1138
1138
|
case "ResourceNotFoundException":
|
|
1139
1139
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1140
|
-
throw await
|
|
1140
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1141
1141
|
case "ThrottlingException":
|
|
1142
1142
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1143
|
-
throw await
|
|
1143
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1144
1144
|
case "ValidationException":
|
|
1145
1145
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1146
|
-
throw await
|
|
1146
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1147
1147
|
default:
|
|
1148
1148
|
const parsedBody = parsedOutput.body;
|
|
1149
1149
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1154,21 +1154,21 @@ const deserializeAws_json1_1DetachCustomerManagedPolicyReferenceFromPermissionSe
|
|
|
1154
1154
|
});
|
|
1155
1155
|
}
|
|
1156
1156
|
};
|
|
1157
|
-
const
|
|
1157
|
+
const de_DetachManagedPolicyFromPermissionSetCommand = async (output, context) => {
|
|
1158
1158
|
if (output.statusCode >= 300) {
|
|
1159
|
-
return
|
|
1159
|
+
return de_DetachManagedPolicyFromPermissionSetCommandError(output, context);
|
|
1160
1160
|
}
|
|
1161
1161
|
const data = await parseBody(output.body, context);
|
|
1162
1162
|
let contents = {};
|
|
1163
|
-
contents =
|
|
1163
|
+
contents = de_DetachManagedPolicyFromPermissionSetResponse(data, context);
|
|
1164
1164
|
const response = {
|
|
1165
1165
|
$metadata: deserializeMetadata(output),
|
|
1166
1166
|
...contents,
|
|
1167
1167
|
};
|
|
1168
1168
|
return Promise.resolve(response);
|
|
1169
1169
|
};
|
|
1170
|
-
exports.
|
|
1171
|
-
const
|
|
1170
|
+
exports.de_DetachManagedPolicyFromPermissionSetCommand = de_DetachManagedPolicyFromPermissionSetCommand;
|
|
1171
|
+
const de_DetachManagedPolicyFromPermissionSetCommandError = async (output, context) => {
|
|
1172
1172
|
const parsedOutput = {
|
|
1173
1173
|
...output,
|
|
1174
1174
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1177,22 +1177,22 @@ const deserializeAws_json1_1DetachManagedPolicyFromPermissionSetCommandError = a
|
|
|
1177
1177
|
switch (errorCode) {
|
|
1178
1178
|
case "AccessDeniedException":
|
|
1179
1179
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1180
|
-
throw await
|
|
1180
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1181
1181
|
case "ConflictException":
|
|
1182
1182
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1183
|
-
throw await
|
|
1183
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1184
1184
|
case "InternalServerException":
|
|
1185
1185
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1186
|
-
throw await
|
|
1186
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1187
1187
|
case "ResourceNotFoundException":
|
|
1188
1188
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1189
|
-
throw await
|
|
1189
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1190
1190
|
case "ThrottlingException":
|
|
1191
1191
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1192
|
-
throw await
|
|
1192
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1193
1193
|
case "ValidationException":
|
|
1194
1194
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1195
|
-
throw await
|
|
1195
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1196
1196
|
default:
|
|
1197
1197
|
const parsedBody = parsedOutput.body;
|
|
1198
1198
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1203,21 +1203,21 @@ const deserializeAws_json1_1DetachManagedPolicyFromPermissionSetCommandError = a
|
|
|
1203
1203
|
});
|
|
1204
1204
|
}
|
|
1205
1205
|
};
|
|
1206
|
-
const
|
|
1206
|
+
const de_GetInlinePolicyForPermissionSetCommand = async (output, context) => {
|
|
1207
1207
|
if (output.statusCode >= 300) {
|
|
1208
|
-
return
|
|
1208
|
+
return de_GetInlinePolicyForPermissionSetCommandError(output, context);
|
|
1209
1209
|
}
|
|
1210
1210
|
const data = await parseBody(output.body, context);
|
|
1211
1211
|
let contents = {};
|
|
1212
|
-
contents =
|
|
1212
|
+
contents = de_GetInlinePolicyForPermissionSetResponse(data, context);
|
|
1213
1213
|
const response = {
|
|
1214
1214
|
$metadata: deserializeMetadata(output),
|
|
1215
1215
|
...contents,
|
|
1216
1216
|
};
|
|
1217
1217
|
return Promise.resolve(response);
|
|
1218
1218
|
};
|
|
1219
|
-
exports.
|
|
1220
|
-
const
|
|
1219
|
+
exports.de_GetInlinePolicyForPermissionSetCommand = de_GetInlinePolicyForPermissionSetCommand;
|
|
1220
|
+
const de_GetInlinePolicyForPermissionSetCommandError = async (output, context) => {
|
|
1221
1221
|
const parsedOutput = {
|
|
1222
1222
|
...output,
|
|
1223
1223
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1226,19 +1226,19 @@ const deserializeAws_json1_1GetInlinePolicyForPermissionSetCommandError = async
|
|
|
1226
1226
|
switch (errorCode) {
|
|
1227
1227
|
case "AccessDeniedException":
|
|
1228
1228
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1229
|
-
throw await
|
|
1229
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1230
1230
|
case "InternalServerException":
|
|
1231
1231
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1232
|
-
throw await
|
|
1232
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1233
1233
|
case "ResourceNotFoundException":
|
|
1234
1234
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1235
|
-
throw await
|
|
1235
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1236
1236
|
case "ThrottlingException":
|
|
1237
1237
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1238
|
-
throw await
|
|
1238
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1239
1239
|
case "ValidationException":
|
|
1240
1240
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1241
|
-
throw await
|
|
1241
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1242
1242
|
default:
|
|
1243
1243
|
const parsedBody = parsedOutput.body;
|
|
1244
1244
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1249,21 +1249,21 @@ const deserializeAws_json1_1GetInlinePolicyForPermissionSetCommandError = async
|
|
|
1249
1249
|
});
|
|
1250
1250
|
}
|
|
1251
1251
|
};
|
|
1252
|
-
const
|
|
1252
|
+
const de_GetPermissionsBoundaryForPermissionSetCommand = async (output, context) => {
|
|
1253
1253
|
if (output.statusCode >= 300) {
|
|
1254
|
-
return
|
|
1254
|
+
return de_GetPermissionsBoundaryForPermissionSetCommandError(output, context);
|
|
1255
1255
|
}
|
|
1256
1256
|
const data = await parseBody(output.body, context);
|
|
1257
1257
|
let contents = {};
|
|
1258
|
-
contents =
|
|
1258
|
+
contents = de_GetPermissionsBoundaryForPermissionSetResponse(data, context);
|
|
1259
1259
|
const response = {
|
|
1260
1260
|
$metadata: deserializeMetadata(output),
|
|
1261
1261
|
...contents,
|
|
1262
1262
|
};
|
|
1263
1263
|
return Promise.resolve(response);
|
|
1264
1264
|
};
|
|
1265
|
-
exports.
|
|
1266
|
-
const
|
|
1265
|
+
exports.de_GetPermissionsBoundaryForPermissionSetCommand = de_GetPermissionsBoundaryForPermissionSetCommand;
|
|
1266
|
+
const de_GetPermissionsBoundaryForPermissionSetCommandError = async (output, context) => {
|
|
1267
1267
|
const parsedOutput = {
|
|
1268
1268
|
...output,
|
|
1269
1269
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1272,19 +1272,19 @@ const deserializeAws_json1_1GetPermissionsBoundaryForPermissionSetCommandError =
|
|
|
1272
1272
|
switch (errorCode) {
|
|
1273
1273
|
case "AccessDeniedException":
|
|
1274
1274
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1275
|
-
throw await
|
|
1275
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1276
1276
|
case "InternalServerException":
|
|
1277
1277
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1278
|
-
throw await
|
|
1278
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1279
1279
|
case "ResourceNotFoundException":
|
|
1280
1280
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1281
|
-
throw await
|
|
1281
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1282
1282
|
case "ThrottlingException":
|
|
1283
1283
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1284
|
-
throw await
|
|
1284
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1285
1285
|
case "ValidationException":
|
|
1286
1286
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1287
|
-
throw await
|
|
1287
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1288
1288
|
default:
|
|
1289
1289
|
const parsedBody = parsedOutput.body;
|
|
1290
1290
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1295,21 +1295,21 @@ const deserializeAws_json1_1GetPermissionsBoundaryForPermissionSetCommandError =
|
|
|
1295
1295
|
});
|
|
1296
1296
|
}
|
|
1297
1297
|
};
|
|
1298
|
-
const
|
|
1298
|
+
const de_ListAccountAssignmentCreationStatusCommand = async (output, context) => {
|
|
1299
1299
|
if (output.statusCode >= 300) {
|
|
1300
|
-
return
|
|
1300
|
+
return de_ListAccountAssignmentCreationStatusCommandError(output, context);
|
|
1301
1301
|
}
|
|
1302
1302
|
const data = await parseBody(output.body, context);
|
|
1303
1303
|
let contents = {};
|
|
1304
|
-
contents =
|
|
1304
|
+
contents = de_ListAccountAssignmentCreationStatusResponse(data, context);
|
|
1305
1305
|
const response = {
|
|
1306
1306
|
$metadata: deserializeMetadata(output),
|
|
1307
1307
|
...contents,
|
|
1308
1308
|
};
|
|
1309
1309
|
return Promise.resolve(response);
|
|
1310
1310
|
};
|
|
1311
|
-
exports.
|
|
1312
|
-
const
|
|
1311
|
+
exports.de_ListAccountAssignmentCreationStatusCommand = de_ListAccountAssignmentCreationStatusCommand;
|
|
1312
|
+
const de_ListAccountAssignmentCreationStatusCommandError = async (output, context) => {
|
|
1313
1313
|
const parsedOutput = {
|
|
1314
1314
|
...output,
|
|
1315
1315
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1318,19 +1318,19 @@ const deserializeAws_json1_1ListAccountAssignmentCreationStatusCommandError = as
|
|
|
1318
1318
|
switch (errorCode) {
|
|
1319
1319
|
case "AccessDeniedException":
|
|
1320
1320
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1321
|
-
throw await
|
|
1321
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1322
1322
|
case "InternalServerException":
|
|
1323
1323
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1324
|
-
throw await
|
|
1324
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1325
1325
|
case "ResourceNotFoundException":
|
|
1326
1326
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1327
|
-
throw await
|
|
1327
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1328
1328
|
case "ThrottlingException":
|
|
1329
1329
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1330
|
-
throw await
|
|
1330
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1331
1331
|
case "ValidationException":
|
|
1332
1332
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1333
|
-
throw await
|
|
1333
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1334
1334
|
default:
|
|
1335
1335
|
const parsedBody = parsedOutput.body;
|
|
1336
1336
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1341,21 +1341,21 @@ const deserializeAws_json1_1ListAccountAssignmentCreationStatusCommandError = as
|
|
|
1341
1341
|
});
|
|
1342
1342
|
}
|
|
1343
1343
|
};
|
|
1344
|
-
const
|
|
1344
|
+
const de_ListAccountAssignmentDeletionStatusCommand = async (output, context) => {
|
|
1345
1345
|
if (output.statusCode >= 300) {
|
|
1346
|
-
return
|
|
1346
|
+
return de_ListAccountAssignmentDeletionStatusCommandError(output, context);
|
|
1347
1347
|
}
|
|
1348
1348
|
const data = await parseBody(output.body, context);
|
|
1349
1349
|
let contents = {};
|
|
1350
|
-
contents =
|
|
1350
|
+
contents = de_ListAccountAssignmentDeletionStatusResponse(data, context);
|
|
1351
1351
|
const response = {
|
|
1352
1352
|
$metadata: deserializeMetadata(output),
|
|
1353
1353
|
...contents,
|
|
1354
1354
|
};
|
|
1355
1355
|
return Promise.resolve(response);
|
|
1356
1356
|
};
|
|
1357
|
-
exports.
|
|
1358
|
-
const
|
|
1357
|
+
exports.de_ListAccountAssignmentDeletionStatusCommand = de_ListAccountAssignmentDeletionStatusCommand;
|
|
1358
|
+
const de_ListAccountAssignmentDeletionStatusCommandError = async (output, context) => {
|
|
1359
1359
|
const parsedOutput = {
|
|
1360
1360
|
...output,
|
|
1361
1361
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1364,19 +1364,19 @@ const deserializeAws_json1_1ListAccountAssignmentDeletionStatusCommandError = as
|
|
|
1364
1364
|
switch (errorCode) {
|
|
1365
1365
|
case "AccessDeniedException":
|
|
1366
1366
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1367
|
-
throw await
|
|
1367
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1368
1368
|
case "InternalServerException":
|
|
1369
1369
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1370
|
-
throw await
|
|
1370
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1371
1371
|
case "ResourceNotFoundException":
|
|
1372
1372
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1373
|
-
throw await
|
|
1373
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1374
1374
|
case "ThrottlingException":
|
|
1375
1375
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1376
|
-
throw await
|
|
1376
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1377
1377
|
case "ValidationException":
|
|
1378
1378
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1379
|
-
throw await
|
|
1379
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1380
1380
|
default:
|
|
1381
1381
|
const parsedBody = parsedOutput.body;
|
|
1382
1382
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1387,21 +1387,21 @@ const deserializeAws_json1_1ListAccountAssignmentDeletionStatusCommandError = as
|
|
|
1387
1387
|
});
|
|
1388
1388
|
}
|
|
1389
1389
|
};
|
|
1390
|
-
const
|
|
1390
|
+
const de_ListAccountAssignmentsCommand = async (output, context) => {
|
|
1391
1391
|
if (output.statusCode >= 300) {
|
|
1392
|
-
return
|
|
1392
|
+
return de_ListAccountAssignmentsCommandError(output, context);
|
|
1393
1393
|
}
|
|
1394
1394
|
const data = await parseBody(output.body, context);
|
|
1395
1395
|
let contents = {};
|
|
1396
|
-
contents =
|
|
1396
|
+
contents = de_ListAccountAssignmentsResponse(data, context);
|
|
1397
1397
|
const response = {
|
|
1398
1398
|
$metadata: deserializeMetadata(output),
|
|
1399
1399
|
...contents,
|
|
1400
1400
|
};
|
|
1401
1401
|
return Promise.resolve(response);
|
|
1402
1402
|
};
|
|
1403
|
-
exports.
|
|
1404
|
-
const
|
|
1403
|
+
exports.de_ListAccountAssignmentsCommand = de_ListAccountAssignmentsCommand;
|
|
1404
|
+
const de_ListAccountAssignmentsCommandError = async (output, context) => {
|
|
1405
1405
|
const parsedOutput = {
|
|
1406
1406
|
...output,
|
|
1407
1407
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1410,19 +1410,19 @@ const deserializeAws_json1_1ListAccountAssignmentsCommandError = async (output,
|
|
|
1410
1410
|
switch (errorCode) {
|
|
1411
1411
|
case "AccessDeniedException":
|
|
1412
1412
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1413
|
-
throw await
|
|
1413
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1414
1414
|
case "InternalServerException":
|
|
1415
1415
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1416
|
-
throw await
|
|
1416
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1417
1417
|
case "ResourceNotFoundException":
|
|
1418
1418
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1419
|
-
throw await
|
|
1419
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1420
1420
|
case "ThrottlingException":
|
|
1421
1421
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1422
|
-
throw await
|
|
1422
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1423
1423
|
case "ValidationException":
|
|
1424
1424
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1425
|
-
throw await
|
|
1425
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1426
1426
|
default:
|
|
1427
1427
|
const parsedBody = parsedOutput.body;
|
|
1428
1428
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1433,21 +1433,21 @@ const deserializeAws_json1_1ListAccountAssignmentsCommandError = async (output,
|
|
|
1433
1433
|
});
|
|
1434
1434
|
}
|
|
1435
1435
|
};
|
|
1436
|
-
const
|
|
1436
|
+
const de_ListAccountsForProvisionedPermissionSetCommand = async (output, context) => {
|
|
1437
1437
|
if (output.statusCode >= 300) {
|
|
1438
|
-
return
|
|
1438
|
+
return de_ListAccountsForProvisionedPermissionSetCommandError(output, context);
|
|
1439
1439
|
}
|
|
1440
1440
|
const data = await parseBody(output.body, context);
|
|
1441
1441
|
let contents = {};
|
|
1442
|
-
contents =
|
|
1442
|
+
contents = de_ListAccountsForProvisionedPermissionSetResponse(data, context);
|
|
1443
1443
|
const response = {
|
|
1444
1444
|
$metadata: deserializeMetadata(output),
|
|
1445
1445
|
...contents,
|
|
1446
1446
|
};
|
|
1447
1447
|
return Promise.resolve(response);
|
|
1448
1448
|
};
|
|
1449
|
-
exports.
|
|
1450
|
-
const
|
|
1449
|
+
exports.de_ListAccountsForProvisionedPermissionSetCommand = de_ListAccountsForProvisionedPermissionSetCommand;
|
|
1450
|
+
const de_ListAccountsForProvisionedPermissionSetCommandError = async (output, context) => {
|
|
1451
1451
|
const parsedOutput = {
|
|
1452
1452
|
...output,
|
|
1453
1453
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1456,19 +1456,19 @@ const deserializeAws_json1_1ListAccountsForProvisionedPermissionSetCommandError
|
|
|
1456
1456
|
switch (errorCode) {
|
|
1457
1457
|
case "AccessDeniedException":
|
|
1458
1458
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1459
|
-
throw await
|
|
1459
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1460
1460
|
case "InternalServerException":
|
|
1461
1461
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1462
|
-
throw await
|
|
1462
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1463
1463
|
case "ResourceNotFoundException":
|
|
1464
1464
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1465
|
-
throw await
|
|
1465
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1466
1466
|
case "ThrottlingException":
|
|
1467
1467
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1468
|
-
throw await
|
|
1468
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1469
1469
|
case "ValidationException":
|
|
1470
1470
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1471
|
-
throw await
|
|
1471
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1472
1472
|
default:
|
|
1473
1473
|
const parsedBody = parsedOutput.body;
|
|
1474
1474
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1479,21 +1479,21 @@ const deserializeAws_json1_1ListAccountsForProvisionedPermissionSetCommandError
|
|
|
1479
1479
|
});
|
|
1480
1480
|
}
|
|
1481
1481
|
};
|
|
1482
|
-
const
|
|
1482
|
+
const de_ListCustomerManagedPolicyReferencesInPermissionSetCommand = async (output, context) => {
|
|
1483
1483
|
if (output.statusCode >= 300) {
|
|
1484
|
-
return
|
|
1484
|
+
return de_ListCustomerManagedPolicyReferencesInPermissionSetCommandError(output, context);
|
|
1485
1485
|
}
|
|
1486
1486
|
const data = await parseBody(output.body, context);
|
|
1487
1487
|
let contents = {};
|
|
1488
|
-
contents =
|
|
1488
|
+
contents = de_ListCustomerManagedPolicyReferencesInPermissionSetResponse(data, context);
|
|
1489
1489
|
const response = {
|
|
1490
1490
|
$metadata: deserializeMetadata(output),
|
|
1491
1491
|
...contents,
|
|
1492
1492
|
};
|
|
1493
1493
|
return Promise.resolve(response);
|
|
1494
1494
|
};
|
|
1495
|
-
exports.
|
|
1496
|
-
const
|
|
1495
|
+
exports.de_ListCustomerManagedPolicyReferencesInPermissionSetCommand = de_ListCustomerManagedPolicyReferencesInPermissionSetCommand;
|
|
1496
|
+
const de_ListCustomerManagedPolicyReferencesInPermissionSetCommandError = async (output, context) => {
|
|
1497
1497
|
const parsedOutput = {
|
|
1498
1498
|
...output,
|
|
1499
1499
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1502,19 +1502,19 @@ const deserializeAws_json1_1ListCustomerManagedPolicyReferencesInPermissionSetCo
|
|
|
1502
1502
|
switch (errorCode) {
|
|
1503
1503
|
case "AccessDeniedException":
|
|
1504
1504
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1505
|
-
throw await
|
|
1505
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1506
1506
|
case "InternalServerException":
|
|
1507
1507
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1508
|
-
throw await
|
|
1508
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1509
1509
|
case "ResourceNotFoundException":
|
|
1510
1510
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1511
|
-
throw await
|
|
1511
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1512
1512
|
case "ThrottlingException":
|
|
1513
1513
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1514
|
-
throw await
|
|
1514
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1515
1515
|
case "ValidationException":
|
|
1516
1516
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1517
|
-
throw await
|
|
1517
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1518
1518
|
default:
|
|
1519
1519
|
const parsedBody = parsedOutput.body;
|
|
1520
1520
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1525,21 +1525,21 @@ const deserializeAws_json1_1ListCustomerManagedPolicyReferencesInPermissionSetCo
|
|
|
1525
1525
|
});
|
|
1526
1526
|
}
|
|
1527
1527
|
};
|
|
1528
|
-
const
|
|
1528
|
+
const de_ListInstancesCommand = async (output, context) => {
|
|
1529
1529
|
if (output.statusCode >= 300) {
|
|
1530
|
-
return
|
|
1530
|
+
return de_ListInstancesCommandError(output, context);
|
|
1531
1531
|
}
|
|
1532
1532
|
const data = await parseBody(output.body, context);
|
|
1533
1533
|
let contents = {};
|
|
1534
|
-
contents =
|
|
1534
|
+
contents = de_ListInstancesResponse(data, context);
|
|
1535
1535
|
const response = {
|
|
1536
1536
|
$metadata: deserializeMetadata(output),
|
|
1537
1537
|
...contents,
|
|
1538
1538
|
};
|
|
1539
1539
|
return Promise.resolve(response);
|
|
1540
1540
|
};
|
|
1541
|
-
exports.
|
|
1542
|
-
const
|
|
1541
|
+
exports.de_ListInstancesCommand = de_ListInstancesCommand;
|
|
1542
|
+
const de_ListInstancesCommandError = async (output, context) => {
|
|
1543
1543
|
const parsedOutput = {
|
|
1544
1544
|
...output,
|
|
1545
1545
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1548,16 +1548,16 @@ const deserializeAws_json1_1ListInstancesCommandError = async (output, context)
|
|
|
1548
1548
|
switch (errorCode) {
|
|
1549
1549
|
case "AccessDeniedException":
|
|
1550
1550
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1551
|
-
throw await
|
|
1551
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1552
1552
|
case "InternalServerException":
|
|
1553
1553
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1554
|
-
throw await
|
|
1554
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1555
1555
|
case "ThrottlingException":
|
|
1556
1556
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1557
|
-
throw await
|
|
1557
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1558
1558
|
case "ValidationException":
|
|
1559
1559
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1560
|
-
throw await
|
|
1560
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1561
1561
|
default:
|
|
1562
1562
|
const parsedBody = parsedOutput.body;
|
|
1563
1563
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1568,21 +1568,21 @@ const deserializeAws_json1_1ListInstancesCommandError = async (output, context)
|
|
|
1568
1568
|
});
|
|
1569
1569
|
}
|
|
1570
1570
|
};
|
|
1571
|
-
const
|
|
1571
|
+
const de_ListManagedPoliciesInPermissionSetCommand = async (output, context) => {
|
|
1572
1572
|
if (output.statusCode >= 300) {
|
|
1573
|
-
return
|
|
1573
|
+
return de_ListManagedPoliciesInPermissionSetCommandError(output, context);
|
|
1574
1574
|
}
|
|
1575
1575
|
const data = await parseBody(output.body, context);
|
|
1576
1576
|
let contents = {};
|
|
1577
|
-
contents =
|
|
1577
|
+
contents = de_ListManagedPoliciesInPermissionSetResponse(data, context);
|
|
1578
1578
|
const response = {
|
|
1579
1579
|
$metadata: deserializeMetadata(output),
|
|
1580
1580
|
...contents,
|
|
1581
1581
|
};
|
|
1582
1582
|
return Promise.resolve(response);
|
|
1583
1583
|
};
|
|
1584
|
-
exports.
|
|
1585
|
-
const
|
|
1584
|
+
exports.de_ListManagedPoliciesInPermissionSetCommand = de_ListManagedPoliciesInPermissionSetCommand;
|
|
1585
|
+
const de_ListManagedPoliciesInPermissionSetCommandError = async (output, context) => {
|
|
1586
1586
|
const parsedOutput = {
|
|
1587
1587
|
...output,
|
|
1588
1588
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1591,19 +1591,19 @@ const deserializeAws_json1_1ListManagedPoliciesInPermissionSetCommandError = asy
|
|
|
1591
1591
|
switch (errorCode) {
|
|
1592
1592
|
case "AccessDeniedException":
|
|
1593
1593
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1594
|
-
throw await
|
|
1594
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1595
1595
|
case "InternalServerException":
|
|
1596
1596
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1597
|
-
throw await
|
|
1597
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1598
1598
|
case "ResourceNotFoundException":
|
|
1599
1599
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1600
|
-
throw await
|
|
1600
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1601
1601
|
case "ThrottlingException":
|
|
1602
1602
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1603
|
-
throw await
|
|
1603
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1604
1604
|
case "ValidationException":
|
|
1605
1605
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1606
|
-
throw await
|
|
1606
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1607
1607
|
default:
|
|
1608
1608
|
const parsedBody = parsedOutput.body;
|
|
1609
1609
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1614,21 +1614,21 @@ const deserializeAws_json1_1ListManagedPoliciesInPermissionSetCommandError = asy
|
|
|
1614
1614
|
});
|
|
1615
1615
|
}
|
|
1616
1616
|
};
|
|
1617
|
-
const
|
|
1617
|
+
const de_ListPermissionSetProvisioningStatusCommand = async (output, context) => {
|
|
1618
1618
|
if (output.statusCode >= 300) {
|
|
1619
|
-
return
|
|
1619
|
+
return de_ListPermissionSetProvisioningStatusCommandError(output, context);
|
|
1620
1620
|
}
|
|
1621
1621
|
const data = await parseBody(output.body, context);
|
|
1622
1622
|
let contents = {};
|
|
1623
|
-
contents =
|
|
1623
|
+
contents = de_ListPermissionSetProvisioningStatusResponse(data, context);
|
|
1624
1624
|
const response = {
|
|
1625
1625
|
$metadata: deserializeMetadata(output),
|
|
1626
1626
|
...contents,
|
|
1627
1627
|
};
|
|
1628
1628
|
return Promise.resolve(response);
|
|
1629
1629
|
};
|
|
1630
|
-
exports.
|
|
1631
|
-
const
|
|
1630
|
+
exports.de_ListPermissionSetProvisioningStatusCommand = de_ListPermissionSetProvisioningStatusCommand;
|
|
1631
|
+
const de_ListPermissionSetProvisioningStatusCommandError = async (output, context) => {
|
|
1632
1632
|
const parsedOutput = {
|
|
1633
1633
|
...output,
|
|
1634
1634
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1637,19 +1637,19 @@ const deserializeAws_json1_1ListPermissionSetProvisioningStatusCommandError = as
|
|
|
1637
1637
|
switch (errorCode) {
|
|
1638
1638
|
case "AccessDeniedException":
|
|
1639
1639
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1640
|
-
throw await
|
|
1640
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1641
1641
|
case "InternalServerException":
|
|
1642
1642
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1643
|
-
throw await
|
|
1643
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1644
1644
|
case "ResourceNotFoundException":
|
|
1645
1645
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1646
|
-
throw await
|
|
1646
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1647
1647
|
case "ThrottlingException":
|
|
1648
1648
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1649
|
-
throw await
|
|
1649
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1650
1650
|
case "ValidationException":
|
|
1651
1651
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1652
|
-
throw await
|
|
1652
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1653
1653
|
default:
|
|
1654
1654
|
const parsedBody = parsedOutput.body;
|
|
1655
1655
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1660,21 +1660,21 @@ const deserializeAws_json1_1ListPermissionSetProvisioningStatusCommandError = as
|
|
|
1660
1660
|
});
|
|
1661
1661
|
}
|
|
1662
1662
|
};
|
|
1663
|
-
const
|
|
1663
|
+
const de_ListPermissionSetsCommand = async (output, context) => {
|
|
1664
1664
|
if (output.statusCode >= 300) {
|
|
1665
|
-
return
|
|
1665
|
+
return de_ListPermissionSetsCommandError(output, context);
|
|
1666
1666
|
}
|
|
1667
1667
|
const data = await parseBody(output.body, context);
|
|
1668
1668
|
let contents = {};
|
|
1669
|
-
contents =
|
|
1669
|
+
contents = de_ListPermissionSetsResponse(data, context);
|
|
1670
1670
|
const response = {
|
|
1671
1671
|
$metadata: deserializeMetadata(output),
|
|
1672
1672
|
...contents,
|
|
1673
1673
|
};
|
|
1674
1674
|
return Promise.resolve(response);
|
|
1675
1675
|
};
|
|
1676
|
-
exports.
|
|
1677
|
-
const
|
|
1676
|
+
exports.de_ListPermissionSetsCommand = de_ListPermissionSetsCommand;
|
|
1677
|
+
const de_ListPermissionSetsCommandError = async (output, context) => {
|
|
1678
1678
|
const parsedOutput = {
|
|
1679
1679
|
...output,
|
|
1680
1680
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1683,19 +1683,19 @@ const deserializeAws_json1_1ListPermissionSetsCommandError = async (output, cont
|
|
|
1683
1683
|
switch (errorCode) {
|
|
1684
1684
|
case "AccessDeniedException":
|
|
1685
1685
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1686
|
-
throw await
|
|
1686
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1687
1687
|
case "InternalServerException":
|
|
1688
1688
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1689
|
-
throw await
|
|
1689
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1690
1690
|
case "ResourceNotFoundException":
|
|
1691
1691
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1692
|
-
throw await
|
|
1692
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1693
1693
|
case "ThrottlingException":
|
|
1694
1694
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1695
|
-
throw await
|
|
1695
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1696
1696
|
case "ValidationException":
|
|
1697
1697
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1698
|
-
throw await
|
|
1698
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1699
1699
|
default:
|
|
1700
1700
|
const parsedBody = parsedOutput.body;
|
|
1701
1701
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1706,21 +1706,21 @@ const deserializeAws_json1_1ListPermissionSetsCommandError = async (output, cont
|
|
|
1706
1706
|
});
|
|
1707
1707
|
}
|
|
1708
1708
|
};
|
|
1709
|
-
const
|
|
1709
|
+
const de_ListPermissionSetsProvisionedToAccountCommand = async (output, context) => {
|
|
1710
1710
|
if (output.statusCode >= 300) {
|
|
1711
|
-
return
|
|
1711
|
+
return de_ListPermissionSetsProvisionedToAccountCommandError(output, context);
|
|
1712
1712
|
}
|
|
1713
1713
|
const data = await parseBody(output.body, context);
|
|
1714
1714
|
let contents = {};
|
|
1715
|
-
contents =
|
|
1715
|
+
contents = de_ListPermissionSetsProvisionedToAccountResponse(data, context);
|
|
1716
1716
|
const response = {
|
|
1717
1717
|
$metadata: deserializeMetadata(output),
|
|
1718
1718
|
...contents,
|
|
1719
1719
|
};
|
|
1720
1720
|
return Promise.resolve(response);
|
|
1721
1721
|
};
|
|
1722
|
-
exports.
|
|
1723
|
-
const
|
|
1722
|
+
exports.de_ListPermissionSetsProvisionedToAccountCommand = de_ListPermissionSetsProvisionedToAccountCommand;
|
|
1723
|
+
const de_ListPermissionSetsProvisionedToAccountCommandError = async (output, context) => {
|
|
1724
1724
|
const parsedOutput = {
|
|
1725
1725
|
...output,
|
|
1726
1726
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1729,19 +1729,19 @@ const deserializeAws_json1_1ListPermissionSetsProvisionedToAccountCommandError =
|
|
|
1729
1729
|
switch (errorCode) {
|
|
1730
1730
|
case "AccessDeniedException":
|
|
1731
1731
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1732
|
-
throw await
|
|
1732
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1733
1733
|
case "InternalServerException":
|
|
1734
1734
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1735
|
-
throw await
|
|
1735
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1736
1736
|
case "ResourceNotFoundException":
|
|
1737
1737
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1738
|
-
throw await
|
|
1738
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1739
1739
|
case "ThrottlingException":
|
|
1740
1740
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1741
|
-
throw await
|
|
1741
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1742
1742
|
case "ValidationException":
|
|
1743
1743
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1744
|
-
throw await
|
|
1744
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1745
1745
|
default:
|
|
1746
1746
|
const parsedBody = parsedOutput.body;
|
|
1747
1747
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1752,21 +1752,21 @@ const deserializeAws_json1_1ListPermissionSetsProvisionedToAccountCommandError =
|
|
|
1752
1752
|
});
|
|
1753
1753
|
}
|
|
1754
1754
|
};
|
|
1755
|
-
const
|
|
1755
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1756
1756
|
if (output.statusCode >= 300) {
|
|
1757
|
-
return
|
|
1757
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1758
1758
|
}
|
|
1759
1759
|
const data = await parseBody(output.body, context);
|
|
1760
1760
|
let contents = {};
|
|
1761
|
-
contents =
|
|
1761
|
+
contents = de_ListTagsForResourceResponse(data, context);
|
|
1762
1762
|
const response = {
|
|
1763
1763
|
$metadata: deserializeMetadata(output),
|
|
1764
1764
|
...contents,
|
|
1765
1765
|
};
|
|
1766
1766
|
return Promise.resolve(response);
|
|
1767
1767
|
};
|
|
1768
|
-
exports.
|
|
1769
|
-
const
|
|
1768
|
+
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1769
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1770
1770
|
const parsedOutput = {
|
|
1771
1771
|
...output,
|
|
1772
1772
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1775,19 +1775,19 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1775
1775
|
switch (errorCode) {
|
|
1776
1776
|
case "AccessDeniedException":
|
|
1777
1777
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1778
|
-
throw await
|
|
1778
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1779
1779
|
case "InternalServerException":
|
|
1780
1780
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1781
|
-
throw await
|
|
1781
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1782
1782
|
case "ResourceNotFoundException":
|
|
1783
1783
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1784
|
-
throw await
|
|
1784
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1785
1785
|
case "ThrottlingException":
|
|
1786
1786
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1787
|
-
throw await
|
|
1787
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1788
1788
|
case "ValidationException":
|
|
1789
1789
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1790
|
-
throw await
|
|
1790
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1791
1791
|
default:
|
|
1792
1792
|
const parsedBody = parsedOutput.body;
|
|
1793
1793
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1798,21 +1798,21 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1798
1798
|
});
|
|
1799
1799
|
}
|
|
1800
1800
|
};
|
|
1801
|
-
const
|
|
1801
|
+
const de_ProvisionPermissionSetCommand = async (output, context) => {
|
|
1802
1802
|
if (output.statusCode >= 300) {
|
|
1803
|
-
return
|
|
1803
|
+
return de_ProvisionPermissionSetCommandError(output, context);
|
|
1804
1804
|
}
|
|
1805
1805
|
const data = await parseBody(output.body, context);
|
|
1806
1806
|
let contents = {};
|
|
1807
|
-
contents =
|
|
1807
|
+
contents = de_ProvisionPermissionSetResponse(data, context);
|
|
1808
1808
|
const response = {
|
|
1809
1809
|
$metadata: deserializeMetadata(output),
|
|
1810
1810
|
...contents,
|
|
1811
1811
|
};
|
|
1812
1812
|
return Promise.resolve(response);
|
|
1813
1813
|
};
|
|
1814
|
-
exports.
|
|
1815
|
-
const
|
|
1814
|
+
exports.de_ProvisionPermissionSetCommand = de_ProvisionPermissionSetCommand;
|
|
1815
|
+
const de_ProvisionPermissionSetCommandError = async (output, context) => {
|
|
1816
1816
|
const parsedOutput = {
|
|
1817
1817
|
...output,
|
|
1818
1818
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1821,22 +1821,22 @@ const deserializeAws_json1_1ProvisionPermissionSetCommandError = async (output,
|
|
|
1821
1821
|
switch (errorCode) {
|
|
1822
1822
|
case "AccessDeniedException":
|
|
1823
1823
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1824
|
-
throw await
|
|
1824
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1825
1825
|
case "ConflictException":
|
|
1826
1826
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1827
|
-
throw await
|
|
1827
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1828
1828
|
case "InternalServerException":
|
|
1829
1829
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1830
|
-
throw await
|
|
1830
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1831
1831
|
case "ResourceNotFoundException":
|
|
1832
1832
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1833
|
-
throw await
|
|
1833
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1834
1834
|
case "ThrottlingException":
|
|
1835
1835
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1836
|
-
throw await
|
|
1836
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1837
1837
|
case "ValidationException":
|
|
1838
1838
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1839
|
-
throw await
|
|
1839
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1840
1840
|
default:
|
|
1841
1841
|
const parsedBody = parsedOutput.body;
|
|
1842
1842
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1847,21 +1847,21 @@ const deserializeAws_json1_1ProvisionPermissionSetCommandError = async (output,
|
|
|
1847
1847
|
});
|
|
1848
1848
|
}
|
|
1849
1849
|
};
|
|
1850
|
-
const
|
|
1850
|
+
const de_PutInlinePolicyToPermissionSetCommand = async (output, context) => {
|
|
1851
1851
|
if (output.statusCode >= 300) {
|
|
1852
|
-
return
|
|
1852
|
+
return de_PutInlinePolicyToPermissionSetCommandError(output, context);
|
|
1853
1853
|
}
|
|
1854
1854
|
const data = await parseBody(output.body, context);
|
|
1855
1855
|
let contents = {};
|
|
1856
|
-
contents =
|
|
1856
|
+
contents = de_PutInlinePolicyToPermissionSetResponse(data, context);
|
|
1857
1857
|
const response = {
|
|
1858
1858
|
$metadata: deserializeMetadata(output),
|
|
1859
1859
|
...contents,
|
|
1860
1860
|
};
|
|
1861
1861
|
return Promise.resolve(response);
|
|
1862
1862
|
};
|
|
1863
|
-
exports.
|
|
1864
|
-
const
|
|
1863
|
+
exports.de_PutInlinePolicyToPermissionSetCommand = de_PutInlinePolicyToPermissionSetCommand;
|
|
1864
|
+
const de_PutInlinePolicyToPermissionSetCommandError = async (output, context) => {
|
|
1865
1865
|
const parsedOutput = {
|
|
1866
1866
|
...output,
|
|
1867
1867
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1870,25 +1870,25 @@ const deserializeAws_json1_1PutInlinePolicyToPermissionSetCommandError = async (
|
|
|
1870
1870
|
switch (errorCode) {
|
|
1871
1871
|
case "AccessDeniedException":
|
|
1872
1872
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1873
|
-
throw await
|
|
1873
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1874
1874
|
case "ConflictException":
|
|
1875
1875
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1876
|
-
throw await
|
|
1876
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1877
1877
|
case "InternalServerException":
|
|
1878
1878
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1879
|
-
throw await
|
|
1879
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1880
1880
|
case "ResourceNotFoundException":
|
|
1881
1881
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1882
|
-
throw await
|
|
1882
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1883
1883
|
case "ServiceQuotaExceededException":
|
|
1884
1884
|
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
1885
|
-
throw await
|
|
1885
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1886
1886
|
case "ThrottlingException":
|
|
1887
1887
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1888
|
-
throw await
|
|
1888
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1889
1889
|
case "ValidationException":
|
|
1890
1890
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1891
|
-
throw await
|
|
1891
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1892
1892
|
default:
|
|
1893
1893
|
const parsedBody = parsedOutput.body;
|
|
1894
1894
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1899,21 +1899,21 @@ const deserializeAws_json1_1PutInlinePolicyToPermissionSetCommandError = async (
|
|
|
1899
1899
|
});
|
|
1900
1900
|
}
|
|
1901
1901
|
};
|
|
1902
|
-
const
|
|
1902
|
+
const de_PutPermissionsBoundaryToPermissionSetCommand = async (output, context) => {
|
|
1903
1903
|
if (output.statusCode >= 300) {
|
|
1904
|
-
return
|
|
1904
|
+
return de_PutPermissionsBoundaryToPermissionSetCommandError(output, context);
|
|
1905
1905
|
}
|
|
1906
1906
|
const data = await parseBody(output.body, context);
|
|
1907
1907
|
let contents = {};
|
|
1908
|
-
contents =
|
|
1908
|
+
contents = de_PutPermissionsBoundaryToPermissionSetResponse(data, context);
|
|
1909
1909
|
const response = {
|
|
1910
1910
|
$metadata: deserializeMetadata(output),
|
|
1911
1911
|
...contents,
|
|
1912
1912
|
};
|
|
1913
1913
|
return Promise.resolve(response);
|
|
1914
1914
|
};
|
|
1915
|
-
exports.
|
|
1916
|
-
const
|
|
1915
|
+
exports.de_PutPermissionsBoundaryToPermissionSetCommand = de_PutPermissionsBoundaryToPermissionSetCommand;
|
|
1916
|
+
const de_PutPermissionsBoundaryToPermissionSetCommandError = async (output, context) => {
|
|
1917
1917
|
const parsedOutput = {
|
|
1918
1918
|
...output,
|
|
1919
1919
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1922,22 +1922,22 @@ const deserializeAws_json1_1PutPermissionsBoundaryToPermissionSetCommandError =
|
|
|
1922
1922
|
switch (errorCode) {
|
|
1923
1923
|
case "AccessDeniedException":
|
|
1924
1924
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1925
|
-
throw await
|
|
1925
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1926
1926
|
case "ConflictException":
|
|
1927
1927
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1928
|
-
throw await
|
|
1928
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1929
1929
|
case "InternalServerException":
|
|
1930
1930
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1931
|
-
throw await
|
|
1931
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1932
1932
|
case "ResourceNotFoundException":
|
|
1933
1933
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1934
|
-
throw await
|
|
1934
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1935
1935
|
case "ThrottlingException":
|
|
1936
1936
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1937
|
-
throw await
|
|
1937
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1938
1938
|
case "ValidationException":
|
|
1939
1939
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1940
|
-
throw await
|
|
1940
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1941
1941
|
default:
|
|
1942
1942
|
const parsedBody = parsedOutput.body;
|
|
1943
1943
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1948,21 +1948,21 @@ const deserializeAws_json1_1PutPermissionsBoundaryToPermissionSetCommandError =
|
|
|
1948
1948
|
});
|
|
1949
1949
|
}
|
|
1950
1950
|
};
|
|
1951
|
-
const
|
|
1951
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
1952
1952
|
if (output.statusCode >= 300) {
|
|
1953
|
-
return
|
|
1953
|
+
return de_TagResourceCommandError(output, context);
|
|
1954
1954
|
}
|
|
1955
1955
|
const data = await parseBody(output.body, context);
|
|
1956
1956
|
let contents = {};
|
|
1957
|
-
contents =
|
|
1957
|
+
contents = de_TagResourceResponse(data, context);
|
|
1958
1958
|
const response = {
|
|
1959
1959
|
$metadata: deserializeMetadata(output),
|
|
1960
1960
|
...contents,
|
|
1961
1961
|
};
|
|
1962
1962
|
return Promise.resolve(response);
|
|
1963
1963
|
};
|
|
1964
|
-
exports.
|
|
1965
|
-
const
|
|
1964
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1965
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1966
1966
|
const parsedOutput = {
|
|
1967
1967
|
...output,
|
|
1968
1968
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1971,25 +1971,25 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1971
1971
|
switch (errorCode) {
|
|
1972
1972
|
case "AccessDeniedException":
|
|
1973
1973
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1974
|
-
throw await
|
|
1974
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1975
1975
|
case "ConflictException":
|
|
1976
1976
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1977
|
-
throw await
|
|
1977
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1978
1978
|
case "InternalServerException":
|
|
1979
1979
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1980
|
-
throw await
|
|
1980
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1981
1981
|
case "ResourceNotFoundException":
|
|
1982
1982
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1983
|
-
throw await
|
|
1983
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1984
1984
|
case "ServiceQuotaExceededException":
|
|
1985
1985
|
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
1986
|
-
throw await
|
|
1986
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1987
1987
|
case "ThrottlingException":
|
|
1988
1988
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1989
|
-
throw await
|
|
1989
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1990
1990
|
case "ValidationException":
|
|
1991
1991
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1992
|
-
throw await
|
|
1992
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1993
1993
|
default:
|
|
1994
1994
|
const parsedBody = parsedOutput.body;
|
|
1995
1995
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2000,21 +2000,21 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2000
2000
|
});
|
|
2001
2001
|
}
|
|
2002
2002
|
};
|
|
2003
|
-
const
|
|
2003
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
2004
2004
|
if (output.statusCode >= 300) {
|
|
2005
|
-
return
|
|
2005
|
+
return de_UntagResourceCommandError(output, context);
|
|
2006
2006
|
}
|
|
2007
2007
|
const data = await parseBody(output.body, context);
|
|
2008
2008
|
let contents = {};
|
|
2009
|
-
contents =
|
|
2009
|
+
contents = de_UntagResourceResponse(data, context);
|
|
2010
2010
|
const response = {
|
|
2011
2011
|
$metadata: deserializeMetadata(output),
|
|
2012
2012
|
...contents,
|
|
2013
2013
|
};
|
|
2014
2014
|
return Promise.resolve(response);
|
|
2015
2015
|
};
|
|
2016
|
-
exports.
|
|
2017
|
-
const
|
|
2016
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
2017
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
2018
2018
|
const parsedOutput = {
|
|
2019
2019
|
...output,
|
|
2020
2020
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2023,22 +2023,22 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2023
2023
|
switch (errorCode) {
|
|
2024
2024
|
case "AccessDeniedException":
|
|
2025
2025
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2026
|
-
throw await
|
|
2026
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2027
2027
|
case "ConflictException":
|
|
2028
2028
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
2029
|
-
throw await
|
|
2029
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2030
2030
|
case "InternalServerException":
|
|
2031
2031
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2032
|
-
throw await
|
|
2032
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2033
2033
|
case "ResourceNotFoundException":
|
|
2034
2034
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2035
|
-
throw await
|
|
2035
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2036
2036
|
case "ThrottlingException":
|
|
2037
2037
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2038
|
-
throw await
|
|
2038
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2039
2039
|
case "ValidationException":
|
|
2040
2040
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2041
|
-
throw await
|
|
2041
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2042
2042
|
default:
|
|
2043
2043
|
const parsedBody = parsedOutput.body;
|
|
2044
2044
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2049,21 +2049,21 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2049
2049
|
});
|
|
2050
2050
|
}
|
|
2051
2051
|
};
|
|
2052
|
-
const
|
|
2052
|
+
const de_UpdateInstanceAccessControlAttributeConfigurationCommand = async (output, context) => {
|
|
2053
2053
|
if (output.statusCode >= 300) {
|
|
2054
|
-
return
|
|
2054
|
+
return de_UpdateInstanceAccessControlAttributeConfigurationCommandError(output, context);
|
|
2055
2055
|
}
|
|
2056
2056
|
const data = await parseBody(output.body, context);
|
|
2057
2057
|
let contents = {};
|
|
2058
|
-
contents =
|
|
2058
|
+
contents = de_UpdateInstanceAccessControlAttributeConfigurationResponse(data, context);
|
|
2059
2059
|
const response = {
|
|
2060
2060
|
$metadata: deserializeMetadata(output),
|
|
2061
2061
|
...contents,
|
|
2062
2062
|
};
|
|
2063
2063
|
return Promise.resolve(response);
|
|
2064
2064
|
};
|
|
2065
|
-
exports.
|
|
2066
|
-
const
|
|
2065
|
+
exports.de_UpdateInstanceAccessControlAttributeConfigurationCommand = de_UpdateInstanceAccessControlAttributeConfigurationCommand;
|
|
2066
|
+
const de_UpdateInstanceAccessControlAttributeConfigurationCommandError = async (output, context) => {
|
|
2067
2067
|
const parsedOutput = {
|
|
2068
2068
|
...output,
|
|
2069
2069
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2072,22 +2072,22 @@ const deserializeAws_json1_1UpdateInstanceAccessControlAttributeConfigurationCom
|
|
|
2072
2072
|
switch (errorCode) {
|
|
2073
2073
|
case "AccessDeniedException":
|
|
2074
2074
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2075
|
-
throw await
|
|
2075
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2076
2076
|
case "ConflictException":
|
|
2077
2077
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
2078
|
-
throw await
|
|
2078
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2079
2079
|
case "InternalServerException":
|
|
2080
2080
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2081
|
-
throw await
|
|
2081
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2082
2082
|
case "ResourceNotFoundException":
|
|
2083
2083
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2084
|
-
throw await
|
|
2084
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2085
2085
|
case "ThrottlingException":
|
|
2086
2086
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2087
|
-
throw await
|
|
2087
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2088
2088
|
case "ValidationException":
|
|
2089
2089
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2090
|
-
throw await
|
|
2090
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2091
2091
|
default:
|
|
2092
2092
|
const parsedBody = parsedOutput.body;
|
|
2093
2093
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2098,21 +2098,21 @@ const deserializeAws_json1_1UpdateInstanceAccessControlAttributeConfigurationCom
|
|
|
2098
2098
|
});
|
|
2099
2099
|
}
|
|
2100
2100
|
};
|
|
2101
|
-
const
|
|
2101
|
+
const de_UpdatePermissionSetCommand = async (output, context) => {
|
|
2102
2102
|
if (output.statusCode >= 300) {
|
|
2103
|
-
return
|
|
2103
|
+
return de_UpdatePermissionSetCommandError(output, context);
|
|
2104
2104
|
}
|
|
2105
2105
|
const data = await parseBody(output.body, context);
|
|
2106
2106
|
let contents = {};
|
|
2107
|
-
contents =
|
|
2107
|
+
contents = de_UpdatePermissionSetResponse(data, context);
|
|
2108
2108
|
const response = {
|
|
2109
2109
|
$metadata: deserializeMetadata(output),
|
|
2110
2110
|
...contents,
|
|
2111
2111
|
};
|
|
2112
2112
|
return Promise.resolve(response);
|
|
2113
2113
|
};
|
|
2114
|
-
exports.
|
|
2115
|
-
const
|
|
2114
|
+
exports.de_UpdatePermissionSetCommand = de_UpdatePermissionSetCommand;
|
|
2115
|
+
const de_UpdatePermissionSetCommandError = async (output, context) => {
|
|
2116
2116
|
const parsedOutput = {
|
|
2117
2117
|
...output,
|
|
2118
2118
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2121,22 +2121,22 @@ const deserializeAws_json1_1UpdatePermissionSetCommandError = async (output, con
|
|
|
2121
2121
|
switch (errorCode) {
|
|
2122
2122
|
case "AccessDeniedException":
|
|
2123
2123
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2124
|
-
throw await
|
|
2124
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2125
2125
|
case "ConflictException":
|
|
2126
2126
|
case "com.amazonaws.ssoadmin#ConflictException":
|
|
2127
|
-
throw await
|
|
2127
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2128
2128
|
case "InternalServerException":
|
|
2129
2129
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2130
|
-
throw await
|
|
2130
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2131
2131
|
case "ResourceNotFoundException":
|
|
2132
2132
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2133
|
-
throw await
|
|
2133
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2134
2134
|
case "ThrottlingException":
|
|
2135
2135
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2136
|
-
throw await
|
|
2136
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2137
2137
|
case "ValidationException":
|
|
2138
2138
|
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2139
|
-
throw await
|
|
2139
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2140
2140
|
default:
|
|
2141
2141
|
const parsedBody = parsedOutput.body;
|
|
2142
2142
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2147,113 +2147,111 @@ const deserializeAws_json1_1UpdatePermissionSetCommandError = async (output, con
|
|
|
2147
2147
|
});
|
|
2148
2148
|
}
|
|
2149
2149
|
};
|
|
2150
|
-
const
|
|
2150
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2151
2151
|
const body = parsedOutput.body;
|
|
2152
|
-
const deserialized =
|
|
2152
|
+
const deserialized = de_AccessDeniedException(body, context);
|
|
2153
2153
|
const exception = new models_0_1.AccessDeniedException({
|
|
2154
2154
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2155
2155
|
...deserialized,
|
|
2156
2156
|
});
|
|
2157
2157
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2158
2158
|
};
|
|
2159
|
-
const
|
|
2159
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
2160
2160
|
const body = parsedOutput.body;
|
|
2161
|
-
const deserialized =
|
|
2161
|
+
const deserialized = de_ConflictException(body, context);
|
|
2162
2162
|
const exception = new models_0_1.ConflictException({
|
|
2163
2163
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2164
2164
|
...deserialized,
|
|
2165
2165
|
});
|
|
2166
2166
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2167
2167
|
};
|
|
2168
|
-
const
|
|
2168
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
2169
2169
|
const body = parsedOutput.body;
|
|
2170
|
-
const deserialized =
|
|
2170
|
+
const deserialized = de_InternalServerException(body, context);
|
|
2171
2171
|
const exception = new models_0_1.InternalServerException({
|
|
2172
2172
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2173
2173
|
...deserialized,
|
|
2174
2174
|
});
|
|
2175
2175
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2176
2176
|
};
|
|
2177
|
-
const
|
|
2177
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2178
2178
|
const body = parsedOutput.body;
|
|
2179
|
-
const deserialized =
|
|
2179
|
+
const deserialized = de_ResourceNotFoundException(body, context);
|
|
2180
2180
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
2181
2181
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2182
2182
|
...deserialized,
|
|
2183
2183
|
});
|
|
2184
2184
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2185
2185
|
};
|
|
2186
|
-
const
|
|
2186
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
2187
2187
|
const body = parsedOutput.body;
|
|
2188
|
-
const deserialized =
|
|
2188
|
+
const deserialized = de_ServiceQuotaExceededException(body, context);
|
|
2189
2189
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
2190
2190
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2191
2191
|
...deserialized,
|
|
2192
2192
|
});
|
|
2193
2193
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2194
2194
|
};
|
|
2195
|
-
const
|
|
2195
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2196
2196
|
const body = parsedOutput.body;
|
|
2197
|
-
const deserialized =
|
|
2197
|
+
const deserialized = de_ThrottlingException(body, context);
|
|
2198
2198
|
const exception = new models_0_1.ThrottlingException({
|
|
2199
2199
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2200
2200
|
...deserialized,
|
|
2201
2201
|
});
|
|
2202
2202
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2203
2203
|
};
|
|
2204
|
-
const
|
|
2204
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
2205
2205
|
const body = parsedOutput.body;
|
|
2206
|
-
const deserialized =
|
|
2206
|
+
const deserialized = de_ValidationException(body, context);
|
|
2207
2207
|
const exception = new models_0_1.ValidationException({
|
|
2208
2208
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2209
2209
|
...deserialized,
|
|
2210
2210
|
});
|
|
2211
2211
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2212
2212
|
};
|
|
2213
|
-
const
|
|
2213
|
+
const se_AccessControlAttribute = (input, context) => {
|
|
2214
2214
|
return {
|
|
2215
2215
|
...(input.Key != null && { Key: input.Key }),
|
|
2216
|
-
...(input.Value != null && { Value:
|
|
2216
|
+
...(input.Value != null && { Value: se_AccessControlAttributeValue(input.Value, context) }),
|
|
2217
2217
|
};
|
|
2218
2218
|
};
|
|
2219
|
-
const
|
|
2219
|
+
const se_AccessControlAttributeList = (input, context) => {
|
|
2220
2220
|
return input
|
|
2221
2221
|
.filter((e) => e != null)
|
|
2222
2222
|
.map((entry) => {
|
|
2223
|
-
return
|
|
2223
|
+
return se_AccessControlAttribute(entry, context);
|
|
2224
2224
|
});
|
|
2225
2225
|
};
|
|
2226
|
-
const
|
|
2226
|
+
const se_AccessControlAttributeValue = (input, context) => {
|
|
2227
2227
|
return {
|
|
2228
|
-
...(input.Source != null && {
|
|
2229
|
-
Source: serializeAws_json1_1AccessControlAttributeValueSourceList(input.Source, context),
|
|
2230
|
-
}),
|
|
2228
|
+
...(input.Source != null && { Source: se_AccessControlAttributeValueSourceList(input.Source, context) }),
|
|
2231
2229
|
};
|
|
2232
2230
|
};
|
|
2233
|
-
const
|
|
2231
|
+
const se_AccessControlAttributeValueSourceList = (input, context) => {
|
|
2234
2232
|
return input
|
|
2235
2233
|
.filter((e) => e != null)
|
|
2236
2234
|
.map((entry) => {
|
|
2237
2235
|
return entry;
|
|
2238
2236
|
});
|
|
2239
2237
|
};
|
|
2240
|
-
const
|
|
2238
|
+
const se_AttachCustomerManagedPolicyReferenceToPermissionSetRequest = (input, context) => {
|
|
2241
2239
|
return {
|
|
2242
2240
|
...(input.CustomerManagedPolicyReference != null && {
|
|
2243
|
-
CustomerManagedPolicyReference:
|
|
2241
|
+
CustomerManagedPolicyReference: se_CustomerManagedPolicyReference(input.CustomerManagedPolicyReference, context),
|
|
2244
2242
|
}),
|
|
2245
2243
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2246
2244
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2247
2245
|
};
|
|
2248
2246
|
};
|
|
2249
|
-
const
|
|
2247
|
+
const se_AttachManagedPolicyToPermissionSetRequest = (input, context) => {
|
|
2250
2248
|
return {
|
|
2251
2249
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2252
2250
|
...(input.ManagedPolicyArn != null && { ManagedPolicyArn: input.ManagedPolicyArn }),
|
|
2253
2251
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2254
2252
|
};
|
|
2255
2253
|
};
|
|
2256
|
-
const
|
|
2254
|
+
const se_CreateAccountAssignmentRequest = (input, context) => {
|
|
2257
2255
|
return {
|
|
2258
2256
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2259
2257
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
@@ -2263,31 +2261,31 @@ const serializeAws_json1_1CreateAccountAssignmentRequest = (input, context) => {
|
|
|
2263
2261
|
...(input.TargetType != null && { TargetType: input.TargetType }),
|
|
2264
2262
|
};
|
|
2265
2263
|
};
|
|
2266
|
-
const
|
|
2264
|
+
const se_CreateInstanceAccessControlAttributeConfigurationRequest = (input, context) => {
|
|
2267
2265
|
return {
|
|
2268
2266
|
...(input.InstanceAccessControlAttributeConfiguration != null && {
|
|
2269
|
-
InstanceAccessControlAttributeConfiguration:
|
|
2267
|
+
InstanceAccessControlAttributeConfiguration: se_InstanceAccessControlAttributeConfiguration(input.InstanceAccessControlAttributeConfiguration, context),
|
|
2270
2268
|
}),
|
|
2271
2269
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2272
2270
|
};
|
|
2273
2271
|
};
|
|
2274
|
-
const
|
|
2272
|
+
const se_CreatePermissionSetRequest = (input, context) => {
|
|
2275
2273
|
return {
|
|
2276
2274
|
...(input.Description != null && { Description: input.Description }),
|
|
2277
2275
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2278
2276
|
...(input.Name != null && { Name: input.Name }),
|
|
2279
2277
|
...(input.RelayState != null && { RelayState: input.RelayState }),
|
|
2280
2278
|
...(input.SessionDuration != null && { SessionDuration: input.SessionDuration }),
|
|
2281
|
-
...(input.Tags != null && { Tags:
|
|
2279
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2282
2280
|
};
|
|
2283
2281
|
};
|
|
2284
|
-
const
|
|
2282
|
+
const se_CustomerManagedPolicyReference = (input, context) => {
|
|
2285
2283
|
return {
|
|
2286
2284
|
...(input.Name != null && { Name: input.Name }),
|
|
2287
2285
|
...(input.Path != null && { Path: input.Path }),
|
|
2288
2286
|
};
|
|
2289
2287
|
};
|
|
2290
|
-
const
|
|
2288
|
+
const se_DeleteAccountAssignmentRequest = (input, context) => {
|
|
2291
2289
|
return {
|
|
2292
2290
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2293
2291
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
@@ -2297,30 +2295,30 @@ const serializeAws_json1_1DeleteAccountAssignmentRequest = (input, context) => {
|
|
|
2297
2295
|
...(input.TargetType != null && { TargetType: input.TargetType }),
|
|
2298
2296
|
};
|
|
2299
2297
|
};
|
|
2300
|
-
const
|
|
2298
|
+
const se_DeleteInlinePolicyFromPermissionSetRequest = (input, context) => {
|
|
2301
2299
|
return {
|
|
2302
2300
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2303
2301
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2304
2302
|
};
|
|
2305
2303
|
};
|
|
2306
|
-
const
|
|
2304
|
+
const se_DeleteInstanceAccessControlAttributeConfigurationRequest = (input, context) => {
|
|
2307
2305
|
return {
|
|
2308
2306
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2309
2307
|
};
|
|
2310
2308
|
};
|
|
2311
|
-
const
|
|
2309
|
+
const se_DeletePermissionsBoundaryFromPermissionSetRequest = (input, context) => {
|
|
2312
2310
|
return {
|
|
2313
2311
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2314
2312
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2315
2313
|
};
|
|
2316
2314
|
};
|
|
2317
|
-
const
|
|
2315
|
+
const se_DeletePermissionSetRequest = (input, context) => {
|
|
2318
2316
|
return {
|
|
2319
2317
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2320
2318
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2321
2319
|
};
|
|
2322
2320
|
};
|
|
2323
|
-
const
|
|
2321
|
+
const se_DescribeAccountAssignmentCreationStatusRequest = (input, context) => {
|
|
2324
2322
|
return {
|
|
2325
2323
|
...(input.AccountAssignmentCreationRequestId != null && {
|
|
2326
2324
|
AccountAssignmentCreationRequestId: input.AccountAssignmentCreationRequestId,
|
|
@@ -2328,7 +2326,7 @@ const serializeAws_json1_1DescribeAccountAssignmentCreationStatusRequest = (inpu
|
|
|
2328
2326
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2329
2327
|
};
|
|
2330
2328
|
};
|
|
2331
|
-
const
|
|
2329
|
+
const se_DescribeAccountAssignmentDeletionStatusRequest = (input, context) => {
|
|
2332
2330
|
return {
|
|
2333
2331
|
...(input.AccountAssignmentDeletionRequestId != null && {
|
|
2334
2332
|
AccountAssignmentDeletionRequestId: input.AccountAssignmentDeletionRequestId,
|
|
@@ -2336,12 +2334,12 @@ const serializeAws_json1_1DescribeAccountAssignmentDeletionStatusRequest = (inpu
|
|
|
2336
2334
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2337
2335
|
};
|
|
2338
2336
|
};
|
|
2339
|
-
const
|
|
2337
|
+
const se_DescribeInstanceAccessControlAttributeConfigurationRequest = (input, context) => {
|
|
2340
2338
|
return {
|
|
2341
2339
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2342
2340
|
};
|
|
2343
2341
|
};
|
|
2344
|
-
const
|
|
2342
|
+
const se_DescribePermissionSetProvisioningStatusRequest = (input, context) => {
|
|
2345
2343
|
return {
|
|
2346
2344
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2347
2345
|
...(input.ProvisionPermissionSetRequestId != null && {
|
|
@@ -2349,64 +2347,64 @@ const serializeAws_json1_1DescribePermissionSetProvisioningStatusRequest = (inpu
|
|
|
2349
2347
|
}),
|
|
2350
2348
|
};
|
|
2351
2349
|
};
|
|
2352
|
-
const
|
|
2350
|
+
const se_DescribePermissionSetRequest = (input, context) => {
|
|
2353
2351
|
return {
|
|
2354
2352
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2355
2353
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2356
2354
|
};
|
|
2357
2355
|
};
|
|
2358
|
-
const
|
|
2356
|
+
const se_DetachCustomerManagedPolicyReferenceFromPermissionSetRequest = (input, context) => {
|
|
2359
2357
|
return {
|
|
2360
2358
|
...(input.CustomerManagedPolicyReference != null && {
|
|
2361
|
-
CustomerManagedPolicyReference:
|
|
2359
|
+
CustomerManagedPolicyReference: se_CustomerManagedPolicyReference(input.CustomerManagedPolicyReference, context),
|
|
2362
2360
|
}),
|
|
2363
2361
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2364
2362
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2365
2363
|
};
|
|
2366
2364
|
};
|
|
2367
|
-
const
|
|
2365
|
+
const se_DetachManagedPolicyFromPermissionSetRequest = (input, context) => {
|
|
2368
2366
|
return {
|
|
2369
2367
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2370
2368
|
...(input.ManagedPolicyArn != null && { ManagedPolicyArn: input.ManagedPolicyArn }),
|
|
2371
2369
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2372
2370
|
};
|
|
2373
2371
|
};
|
|
2374
|
-
const
|
|
2372
|
+
const se_GetInlinePolicyForPermissionSetRequest = (input, context) => {
|
|
2375
2373
|
return {
|
|
2376
2374
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2377
2375
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2378
2376
|
};
|
|
2379
2377
|
};
|
|
2380
|
-
const
|
|
2378
|
+
const se_GetPermissionsBoundaryForPermissionSetRequest = (input, context) => {
|
|
2381
2379
|
return {
|
|
2382
2380
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2383
2381
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2384
2382
|
};
|
|
2385
2383
|
};
|
|
2386
|
-
const
|
|
2384
|
+
const se_InstanceAccessControlAttributeConfiguration = (input, context) => {
|
|
2387
2385
|
return {
|
|
2388
2386
|
...(input.AccessControlAttributes != null && {
|
|
2389
|
-
AccessControlAttributes:
|
|
2387
|
+
AccessControlAttributes: se_AccessControlAttributeList(input.AccessControlAttributes, context),
|
|
2390
2388
|
}),
|
|
2391
2389
|
};
|
|
2392
2390
|
};
|
|
2393
|
-
const
|
|
2391
|
+
const se_ListAccountAssignmentCreationStatusRequest = (input, context) => {
|
|
2394
2392
|
return {
|
|
2395
|
-
...(input.Filter != null && { Filter:
|
|
2393
|
+
...(input.Filter != null && { Filter: se_OperationStatusFilter(input.Filter, context) }),
|
|
2396
2394
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2397
2395
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2398
2396
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2399
2397
|
};
|
|
2400
2398
|
};
|
|
2401
|
-
const
|
|
2399
|
+
const se_ListAccountAssignmentDeletionStatusRequest = (input, context) => {
|
|
2402
2400
|
return {
|
|
2403
|
-
...(input.Filter != null && { Filter:
|
|
2401
|
+
...(input.Filter != null && { Filter: se_OperationStatusFilter(input.Filter, context) }),
|
|
2404
2402
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2405
2403
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2406
2404
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2407
2405
|
};
|
|
2408
2406
|
};
|
|
2409
|
-
const
|
|
2407
|
+
const se_ListAccountAssignmentsRequest = (input, context) => {
|
|
2410
2408
|
return {
|
|
2411
2409
|
...(input.AccountId != null && { AccountId: input.AccountId }),
|
|
2412
2410
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
@@ -2415,7 +2413,7 @@ const serializeAws_json1_1ListAccountAssignmentsRequest = (input, context) => {
|
|
|
2415
2413
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2416
2414
|
};
|
|
2417
2415
|
};
|
|
2418
|
-
const
|
|
2416
|
+
const se_ListAccountsForProvisionedPermissionSetRequest = (input, context) => {
|
|
2419
2417
|
return {
|
|
2420
2418
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2421
2419
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
@@ -2424,7 +2422,7 @@ const serializeAws_json1_1ListAccountsForProvisionedPermissionSetRequest = (inpu
|
|
|
2424
2422
|
...(input.ProvisioningStatus != null && { ProvisioningStatus: input.ProvisioningStatus }),
|
|
2425
2423
|
};
|
|
2426
2424
|
};
|
|
2427
|
-
const
|
|
2425
|
+
const se_ListCustomerManagedPolicyReferencesInPermissionSetRequest = (input, context) => {
|
|
2428
2426
|
return {
|
|
2429
2427
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2430
2428
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
@@ -2432,13 +2430,13 @@ const serializeAws_json1_1ListCustomerManagedPolicyReferencesInPermissionSetRequ
|
|
|
2432
2430
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2433
2431
|
};
|
|
2434
2432
|
};
|
|
2435
|
-
const
|
|
2433
|
+
const se_ListInstancesRequest = (input, context) => {
|
|
2436
2434
|
return {
|
|
2437
2435
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2438
2436
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2439
2437
|
};
|
|
2440
2438
|
};
|
|
2441
|
-
const
|
|
2439
|
+
const se_ListManagedPoliciesInPermissionSetRequest = (input, context) => {
|
|
2442
2440
|
return {
|
|
2443
2441
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2444
2442
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
@@ -2446,15 +2444,15 @@ const serializeAws_json1_1ListManagedPoliciesInPermissionSetRequest = (input, co
|
|
|
2446
2444
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2447
2445
|
};
|
|
2448
2446
|
};
|
|
2449
|
-
const
|
|
2447
|
+
const se_ListPermissionSetProvisioningStatusRequest = (input, context) => {
|
|
2450
2448
|
return {
|
|
2451
|
-
...(input.Filter != null && { Filter:
|
|
2449
|
+
...(input.Filter != null && { Filter: se_OperationStatusFilter(input.Filter, context) }),
|
|
2452
2450
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2453
2451
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2454
2452
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2455
2453
|
};
|
|
2456
2454
|
};
|
|
2457
|
-
const
|
|
2455
|
+
const se_ListPermissionSetsProvisionedToAccountRequest = (input, context) => {
|
|
2458
2456
|
return {
|
|
2459
2457
|
...(input.AccountId != null && { AccountId: input.AccountId }),
|
|
2460
2458
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
@@ -2463,34 +2461,34 @@ const serializeAws_json1_1ListPermissionSetsProvisionedToAccountRequest = (input
|
|
|
2463
2461
|
...(input.ProvisioningStatus != null && { ProvisioningStatus: input.ProvisioningStatus }),
|
|
2464
2462
|
};
|
|
2465
2463
|
};
|
|
2466
|
-
const
|
|
2464
|
+
const se_ListPermissionSetsRequest = (input, context) => {
|
|
2467
2465
|
return {
|
|
2468
2466
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2469
2467
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2470
2468
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2471
2469
|
};
|
|
2472
2470
|
};
|
|
2473
|
-
const
|
|
2471
|
+
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2474
2472
|
return {
|
|
2475
2473
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2476
2474
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2477
2475
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2478
2476
|
};
|
|
2479
2477
|
};
|
|
2480
|
-
const
|
|
2478
|
+
const se_OperationStatusFilter = (input, context) => {
|
|
2481
2479
|
return {
|
|
2482
2480
|
...(input.Status != null && { Status: input.Status }),
|
|
2483
2481
|
};
|
|
2484
2482
|
};
|
|
2485
|
-
const
|
|
2483
|
+
const se_PermissionsBoundary = (input, context) => {
|
|
2486
2484
|
return {
|
|
2487
2485
|
...(input.CustomerManagedPolicyReference != null && {
|
|
2488
|
-
CustomerManagedPolicyReference:
|
|
2486
|
+
CustomerManagedPolicyReference: se_CustomerManagedPolicyReference(input.CustomerManagedPolicyReference, context),
|
|
2489
2487
|
}),
|
|
2490
2488
|
...(input.ManagedPolicyArn != null && { ManagedPolicyArn: input.ManagedPolicyArn }),
|
|
2491
2489
|
};
|
|
2492
2490
|
};
|
|
2493
|
-
const
|
|
2491
|
+
const se_ProvisionPermissionSetRequest = (input, context) => {
|
|
2494
2492
|
return {
|
|
2495
2493
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2496
2494
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
@@ -2498,65 +2496,65 @@ const serializeAws_json1_1ProvisionPermissionSetRequest = (input, context) => {
|
|
|
2498
2496
|
...(input.TargetType != null && { TargetType: input.TargetType }),
|
|
2499
2497
|
};
|
|
2500
2498
|
};
|
|
2501
|
-
const
|
|
2499
|
+
const se_PutInlinePolicyToPermissionSetRequest = (input, context) => {
|
|
2502
2500
|
return {
|
|
2503
2501
|
...(input.InlinePolicy != null && { InlinePolicy: input.InlinePolicy }),
|
|
2504
2502
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2505
2503
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2506
2504
|
};
|
|
2507
2505
|
};
|
|
2508
|
-
const
|
|
2506
|
+
const se_PutPermissionsBoundaryToPermissionSetRequest = (input, context) => {
|
|
2509
2507
|
return {
|
|
2510
2508
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2511
2509
|
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2512
2510
|
...(input.PermissionsBoundary != null && {
|
|
2513
|
-
PermissionsBoundary:
|
|
2511
|
+
PermissionsBoundary: se_PermissionsBoundary(input.PermissionsBoundary, context),
|
|
2514
2512
|
}),
|
|
2515
2513
|
};
|
|
2516
2514
|
};
|
|
2517
|
-
const
|
|
2515
|
+
const se_Tag = (input, context) => {
|
|
2518
2516
|
return {
|
|
2519
2517
|
...(input.Key != null && { Key: input.Key }),
|
|
2520
2518
|
...(input.Value != null && { Value: input.Value }),
|
|
2521
2519
|
};
|
|
2522
2520
|
};
|
|
2523
|
-
const
|
|
2521
|
+
const se_TagKeyList = (input, context) => {
|
|
2524
2522
|
return input
|
|
2525
2523
|
.filter((e) => e != null)
|
|
2526
2524
|
.map((entry) => {
|
|
2527
2525
|
return entry;
|
|
2528
2526
|
});
|
|
2529
2527
|
};
|
|
2530
|
-
const
|
|
2528
|
+
const se_TagList = (input, context) => {
|
|
2531
2529
|
return input
|
|
2532
2530
|
.filter((e) => e != null)
|
|
2533
2531
|
.map((entry) => {
|
|
2534
|
-
return
|
|
2532
|
+
return se_Tag(entry, context);
|
|
2535
2533
|
});
|
|
2536
2534
|
};
|
|
2537
|
-
const
|
|
2535
|
+
const se_TagResourceRequest = (input, context) => {
|
|
2538
2536
|
return {
|
|
2539
2537
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2540
2538
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2541
|
-
...(input.Tags != null && { Tags:
|
|
2539
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2542
2540
|
};
|
|
2543
2541
|
};
|
|
2544
|
-
const
|
|
2542
|
+
const se_UntagResourceRequest = (input, context) => {
|
|
2545
2543
|
return {
|
|
2546
2544
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2547
2545
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2548
|
-
...(input.TagKeys != null && { TagKeys:
|
|
2546
|
+
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
2549
2547
|
};
|
|
2550
2548
|
};
|
|
2551
|
-
const
|
|
2549
|
+
const se_UpdateInstanceAccessControlAttributeConfigurationRequest = (input, context) => {
|
|
2552
2550
|
return {
|
|
2553
2551
|
...(input.InstanceAccessControlAttributeConfiguration != null && {
|
|
2554
|
-
InstanceAccessControlAttributeConfiguration:
|
|
2552
|
+
InstanceAccessControlAttributeConfiguration: se_InstanceAccessControlAttributeConfiguration(input.InstanceAccessControlAttributeConfiguration, context),
|
|
2555
2553
|
}),
|
|
2556
2554
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2557
2555
|
};
|
|
2558
2556
|
};
|
|
2559
|
-
const
|
|
2557
|
+
const se_UpdatePermissionSetRequest = (input, context) => {
|
|
2560
2558
|
return {
|
|
2561
2559
|
...(input.Description != null && { Description: input.Description }),
|
|
2562
2560
|
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
@@ -2565,31 +2563,29 @@ const serializeAws_json1_1UpdatePermissionSetRequest = (input, context) => {
|
|
|
2565
2563
|
...(input.SessionDuration != null && { SessionDuration: input.SessionDuration }),
|
|
2566
2564
|
};
|
|
2567
2565
|
};
|
|
2568
|
-
const
|
|
2566
|
+
const de_AccessControlAttribute = (output, context) => {
|
|
2569
2567
|
return {
|
|
2570
2568
|
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2571
|
-
Value: output.Value != null ?
|
|
2569
|
+
Value: output.Value != null ? de_AccessControlAttributeValue(output.Value, context) : undefined,
|
|
2572
2570
|
};
|
|
2573
2571
|
};
|
|
2574
|
-
const
|
|
2572
|
+
const de_AccessControlAttributeList = (output, context) => {
|
|
2575
2573
|
const retVal = (output || [])
|
|
2576
2574
|
.filter((e) => e != null)
|
|
2577
2575
|
.map((entry) => {
|
|
2578
2576
|
if (entry === null) {
|
|
2579
2577
|
return null;
|
|
2580
2578
|
}
|
|
2581
|
-
return
|
|
2579
|
+
return de_AccessControlAttribute(entry, context);
|
|
2582
2580
|
});
|
|
2583
2581
|
return retVal;
|
|
2584
2582
|
};
|
|
2585
|
-
const
|
|
2583
|
+
const de_AccessControlAttributeValue = (output, context) => {
|
|
2586
2584
|
return {
|
|
2587
|
-
Source: output.Source != null
|
|
2588
|
-
? deserializeAws_json1_1AccessControlAttributeValueSourceList(output.Source, context)
|
|
2589
|
-
: undefined,
|
|
2585
|
+
Source: output.Source != null ? de_AccessControlAttributeValueSourceList(output.Source, context) : undefined,
|
|
2590
2586
|
};
|
|
2591
2587
|
};
|
|
2592
|
-
const
|
|
2588
|
+
const de_AccessControlAttributeValueSourceList = (output, context) => {
|
|
2593
2589
|
const retVal = (output || [])
|
|
2594
2590
|
.filter((e) => e != null)
|
|
2595
2591
|
.map((entry) => {
|
|
@@ -2600,12 +2596,12 @@ const deserializeAws_json1_1AccessControlAttributeValueSourceList = (output, con
|
|
|
2600
2596
|
});
|
|
2601
2597
|
return retVal;
|
|
2602
2598
|
};
|
|
2603
|
-
const
|
|
2599
|
+
const de_AccessDeniedException = (output, context) => {
|
|
2604
2600
|
return {
|
|
2605
2601
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2606
2602
|
};
|
|
2607
2603
|
};
|
|
2608
|
-
const
|
|
2604
|
+
const de_AccountAssignment = (output, context) => {
|
|
2609
2605
|
return {
|
|
2610
2606
|
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
2611
2607
|
PermissionSetArn: (0, smithy_client_1.expectString)(output.PermissionSetArn),
|
|
@@ -2613,18 +2609,18 @@ const deserializeAws_json1_1AccountAssignment = (output, context) => {
|
|
|
2613
2609
|
PrincipalType: (0, smithy_client_1.expectString)(output.PrincipalType),
|
|
2614
2610
|
};
|
|
2615
2611
|
};
|
|
2616
|
-
const
|
|
2612
|
+
const de_AccountAssignmentList = (output, context) => {
|
|
2617
2613
|
const retVal = (output || [])
|
|
2618
2614
|
.filter((e) => e != null)
|
|
2619
2615
|
.map((entry) => {
|
|
2620
2616
|
if (entry === null) {
|
|
2621
2617
|
return null;
|
|
2622
2618
|
}
|
|
2623
|
-
return
|
|
2619
|
+
return de_AccountAssignment(entry, context);
|
|
2624
2620
|
});
|
|
2625
2621
|
return retVal;
|
|
2626
2622
|
};
|
|
2627
|
-
const
|
|
2623
|
+
const de_AccountAssignmentOperationStatus = (output, context) => {
|
|
2628
2624
|
return {
|
|
2629
2625
|
CreatedDate: output.CreatedDate != null
|
|
2630
2626
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedDate)))
|
|
@@ -2639,18 +2635,18 @@ const deserializeAws_json1_1AccountAssignmentOperationStatus = (output, context)
|
|
|
2639
2635
|
TargetType: (0, smithy_client_1.expectString)(output.TargetType),
|
|
2640
2636
|
};
|
|
2641
2637
|
};
|
|
2642
|
-
const
|
|
2638
|
+
const de_AccountAssignmentOperationStatusList = (output, context) => {
|
|
2643
2639
|
const retVal = (output || [])
|
|
2644
2640
|
.filter((e) => e != null)
|
|
2645
2641
|
.map((entry) => {
|
|
2646
2642
|
if (entry === null) {
|
|
2647
2643
|
return null;
|
|
2648
2644
|
}
|
|
2649
|
-
return
|
|
2645
|
+
return de_AccountAssignmentOperationStatusMetadata(entry, context);
|
|
2650
2646
|
});
|
|
2651
2647
|
return retVal;
|
|
2652
2648
|
};
|
|
2653
|
-
const
|
|
2649
|
+
const de_AccountAssignmentOperationStatusMetadata = (output, context) => {
|
|
2654
2650
|
return {
|
|
2655
2651
|
CreatedDate: output.CreatedDate != null
|
|
2656
2652
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedDate)))
|
|
@@ -2659,7 +2655,7 @@ const deserializeAws_json1_1AccountAssignmentOperationStatusMetadata = (output,
|
|
|
2659
2655
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2660
2656
|
};
|
|
2661
2657
|
};
|
|
2662
|
-
const
|
|
2658
|
+
const de_AccountList = (output, context) => {
|
|
2663
2659
|
const retVal = (output || [])
|
|
2664
2660
|
.filter((e) => e != null)
|
|
2665
2661
|
.map((entry) => {
|
|
@@ -2670,258 +2666,250 @@ const deserializeAws_json1_1AccountList = (output, context) => {
|
|
|
2670
2666
|
});
|
|
2671
2667
|
return retVal;
|
|
2672
2668
|
};
|
|
2673
|
-
const
|
|
2669
|
+
const de_AttachCustomerManagedPolicyReferenceToPermissionSetResponse = (output, context) => {
|
|
2674
2670
|
return {};
|
|
2675
2671
|
};
|
|
2676
|
-
const
|
|
2672
|
+
const de_AttachedManagedPolicy = (output, context) => {
|
|
2677
2673
|
return {
|
|
2678
2674
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2679
2675
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2680
2676
|
};
|
|
2681
2677
|
};
|
|
2682
|
-
const
|
|
2678
|
+
const de_AttachedManagedPolicyList = (output, context) => {
|
|
2683
2679
|
const retVal = (output || [])
|
|
2684
2680
|
.filter((e) => e != null)
|
|
2685
2681
|
.map((entry) => {
|
|
2686
2682
|
if (entry === null) {
|
|
2687
2683
|
return null;
|
|
2688
2684
|
}
|
|
2689
|
-
return
|
|
2685
|
+
return de_AttachedManagedPolicy(entry, context);
|
|
2690
2686
|
});
|
|
2691
2687
|
return retVal;
|
|
2692
2688
|
};
|
|
2693
|
-
const
|
|
2689
|
+
const de_AttachManagedPolicyToPermissionSetResponse = (output, context) => {
|
|
2694
2690
|
return {};
|
|
2695
2691
|
};
|
|
2696
|
-
const
|
|
2692
|
+
const de_ConflictException = (output, context) => {
|
|
2697
2693
|
return {
|
|
2698
2694
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2699
2695
|
};
|
|
2700
2696
|
};
|
|
2701
|
-
const
|
|
2697
|
+
const de_CreateAccountAssignmentResponse = (output, context) => {
|
|
2702
2698
|
return {
|
|
2703
2699
|
AccountAssignmentCreationStatus: output.AccountAssignmentCreationStatus != null
|
|
2704
|
-
?
|
|
2700
|
+
? de_AccountAssignmentOperationStatus(output.AccountAssignmentCreationStatus, context)
|
|
2705
2701
|
: undefined,
|
|
2706
2702
|
};
|
|
2707
2703
|
};
|
|
2708
|
-
const
|
|
2704
|
+
const de_CreateInstanceAccessControlAttributeConfigurationResponse = (output, context) => {
|
|
2709
2705
|
return {};
|
|
2710
2706
|
};
|
|
2711
|
-
const
|
|
2707
|
+
const de_CreatePermissionSetResponse = (output, context) => {
|
|
2712
2708
|
return {
|
|
2713
|
-
PermissionSet: output.PermissionSet != null ?
|
|
2709
|
+
PermissionSet: output.PermissionSet != null ? de_PermissionSet(output.PermissionSet, context) : undefined,
|
|
2714
2710
|
};
|
|
2715
2711
|
};
|
|
2716
|
-
const
|
|
2712
|
+
const de_CustomerManagedPolicyReference = (output, context) => {
|
|
2717
2713
|
return {
|
|
2718
2714
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2719
2715
|
Path: (0, smithy_client_1.expectString)(output.Path),
|
|
2720
2716
|
};
|
|
2721
2717
|
};
|
|
2722
|
-
const
|
|
2718
|
+
const de_CustomerManagedPolicyReferenceList = (output, context) => {
|
|
2723
2719
|
const retVal = (output || [])
|
|
2724
2720
|
.filter((e) => e != null)
|
|
2725
2721
|
.map((entry) => {
|
|
2726
2722
|
if (entry === null) {
|
|
2727
2723
|
return null;
|
|
2728
2724
|
}
|
|
2729
|
-
return
|
|
2725
|
+
return de_CustomerManagedPolicyReference(entry, context);
|
|
2730
2726
|
});
|
|
2731
2727
|
return retVal;
|
|
2732
2728
|
};
|
|
2733
|
-
const
|
|
2729
|
+
const de_DeleteAccountAssignmentResponse = (output, context) => {
|
|
2734
2730
|
return {
|
|
2735
2731
|
AccountAssignmentDeletionStatus: output.AccountAssignmentDeletionStatus != null
|
|
2736
|
-
?
|
|
2732
|
+
? de_AccountAssignmentOperationStatus(output.AccountAssignmentDeletionStatus, context)
|
|
2737
2733
|
: undefined,
|
|
2738
2734
|
};
|
|
2739
2735
|
};
|
|
2740
|
-
const
|
|
2736
|
+
const de_DeleteInlinePolicyFromPermissionSetResponse = (output, context) => {
|
|
2741
2737
|
return {};
|
|
2742
2738
|
};
|
|
2743
|
-
const
|
|
2739
|
+
const de_DeleteInstanceAccessControlAttributeConfigurationResponse = (output, context) => {
|
|
2744
2740
|
return {};
|
|
2745
2741
|
};
|
|
2746
|
-
const
|
|
2742
|
+
const de_DeletePermissionsBoundaryFromPermissionSetResponse = (output, context) => {
|
|
2747
2743
|
return {};
|
|
2748
2744
|
};
|
|
2749
|
-
const
|
|
2745
|
+
const de_DeletePermissionSetResponse = (output, context) => {
|
|
2750
2746
|
return {};
|
|
2751
2747
|
};
|
|
2752
|
-
const
|
|
2748
|
+
const de_DescribeAccountAssignmentCreationStatusResponse = (output, context) => {
|
|
2753
2749
|
return {
|
|
2754
2750
|
AccountAssignmentCreationStatus: output.AccountAssignmentCreationStatus != null
|
|
2755
|
-
?
|
|
2751
|
+
? de_AccountAssignmentOperationStatus(output.AccountAssignmentCreationStatus, context)
|
|
2756
2752
|
: undefined,
|
|
2757
2753
|
};
|
|
2758
2754
|
};
|
|
2759
|
-
const
|
|
2755
|
+
const de_DescribeAccountAssignmentDeletionStatusResponse = (output, context) => {
|
|
2760
2756
|
return {
|
|
2761
2757
|
AccountAssignmentDeletionStatus: output.AccountAssignmentDeletionStatus != null
|
|
2762
|
-
?
|
|
2758
|
+
? de_AccountAssignmentOperationStatus(output.AccountAssignmentDeletionStatus, context)
|
|
2763
2759
|
: undefined,
|
|
2764
2760
|
};
|
|
2765
2761
|
};
|
|
2766
|
-
const
|
|
2762
|
+
const de_DescribeInstanceAccessControlAttributeConfigurationResponse = (output, context) => {
|
|
2767
2763
|
return {
|
|
2768
2764
|
InstanceAccessControlAttributeConfiguration: output.InstanceAccessControlAttributeConfiguration != null
|
|
2769
|
-
?
|
|
2765
|
+
? de_InstanceAccessControlAttributeConfiguration(output.InstanceAccessControlAttributeConfiguration, context)
|
|
2770
2766
|
: undefined,
|
|
2771
2767
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2772
2768
|
StatusReason: (0, smithy_client_1.expectString)(output.StatusReason),
|
|
2773
2769
|
};
|
|
2774
2770
|
};
|
|
2775
|
-
const
|
|
2771
|
+
const de_DescribePermissionSetProvisioningStatusResponse = (output, context) => {
|
|
2776
2772
|
return {
|
|
2777
2773
|
PermissionSetProvisioningStatus: output.PermissionSetProvisioningStatus != null
|
|
2778
|
-
?
|
|
2774
|
+
? de_PermissionSetProvisioningStatus(output.PermissionSetProvisioningStatus, context)
|
|
2779
2775
|
: undefined,
|
|
2780
2776
|
};
|
|
2781
2777
|
};
|
|
2782
|
-
const
|
|
2778
|
+
const de_DescribePermissionSetResponse = (output, context) => {
|
|
2783
2779
|
return {
|
|
2784
|
-
PermissionSet: output.PermissionSet != null ?
|
|
2780
|
+
PermissionSet: output.PermissionSet != null ? de_PermissionSet(output.PermissionSet, context) : undefined,
|
|
2785
2781
|
};
|
|
2786
2782
|
};
|
|
2787
|
-
const
|
|
2783
|
+
const de_DetachCustomerManagedPolicyReferenceFromPermissionSetResponse = (output, context) => {
|
|
2788
2784
|
return {};
|
|
2789
2785
|
};
|
|
2790
|
-
const
|
|
2786
|
+
const de_DetachManagedPolicyFromPermissionSetResponse = (output, context) => {
|
|
2791
2787
|
return {};
|
|
2792
2788
|
};
|
|
2793
|
-
const
|
|
2789
|
+
const de_GetInlinePolicyForPermissionSetResponse = (output, context) => {
|
|
2794
2790
|
return {
|
|
2795
2791
|
InlinePolicy: (0, smithy_client_1.expectString)(output.InlinePolicy),
|
|
2796
2792
|
};
|
|
2797
2793
|
};
|
|
2798
|
-
const
|
|
2794
|
+
const de_GetPermissionsBoundaryForPermissionSetResponse = (output, context) => {
|
|
2799
2795
|
return {
|
|
2800
|
-
PermissionsBoundary: output.PermissionsBoundary != null
|
|
2801
|
-
? deserializeAws_json1_1PermissionsBoundary(output.PermissionsBoundary, context)
|
|
2802
|
-
: undefined,
|
|
2796
|
+
PermissionsBoundary: output.PermissionsBoundary != null ? de_PermissionsBoundary(output.PermissionsBoundary, context) : undefined,
|
|
2803
2797
|
};
|
|
2804
2798
|
};
|
|
2805
|
-
const
|
|
2799
|
+
const de_InstanceAccessControlAttributeConfiguration = (output, context) => {
|
|
2806
2800
|
return {
|
|
2807
2801
|
AccessControlAttributes: output.AccessControlAttributes != null
|
|
2808
|
-
?
|
|
2802
|
+
? de_AccessControlAttributeList(output.AccessControlAttributes, context)
|
|
2809
2803
|
: undefined,
|
|
2810
2804
|
};
|
|
2811
2805
|
};
|
|
2812
|
-
const
|
|
2806
|
+
const de_InstanceList = (output, context) => {
|
|
2813
2807
|
const retVal = (output || [])
|
|
2814
2808
|
.filter((e) => e != null)
|
|
2815
2809
|
.map((entry) => {
|
|
2816
2810
|
if (entry === null) {
|
|
2817
2811
|
return null;
|
|
2818
2812
|
}
|
|
2819
|
-
return
|
|
2813
|
+
return de_InstanceMetadata(entry, context);
|
|
2820
2814
|
});
|
|
2821
2815
|
return retVal;
|
|
2822
2816
|
};
|
|
2823
|
-
const
|
|
2817
|
+
const de_InstanceMetadata = (output, context) => {
|
|
2824
2818
|
return {
|
|
2825
2819
|
IdentityStoreId: (0, smithy_client_1.expectString)(output.IdentityStoreId),
|
|
2826
2820
|
InstanceArn: (0, smithy_client_1.expectString)(output.InstanceArn),
|
|
2827
2821
|
};
|
|
2828
2822
|
};
|
|
2829
|
-
const
|
|
2823
|
+
const de_InternalServerException = (output, context) => {
|
|
2830
2824
|
return {
|
|
2831
2825
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2832
2826
|
};
|
|
2833
2827
|
};
|
|
2834
|
-
const
|
|
2828
|
+
const de_ListAccountAssignmentCreationStatusResponse = (output, context) => {
|
|
2835
2829
|
return {
|
|
2836
2830
|
AccountAssignmentsCreationStatus: output.AccountAssignmentsCreationStatus != null
|
|
2837
|
-
?
|
|
2831
|
+
? de_AccountAssignmentOperationStatusList(output.AccountAssignmentsCreationStatus, context)
|
|
2838
2832
|
: undefined,
|
|
2839
2833
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2840
2834
|
};
|
|
2841
2835
|
};
|
|
2842
|
-
const
|
|
2836
|
+
const de_ListAccountAssignmentDeletionStatusResponse = (output, context) => {
|
|
2843
2837
|
return {
|
|
2844
2838
|
AccountAssignmentsDeletionStatus: output.AccountAssignmentsDeletionStatus != null
|
|
2845
|
-
?
|
|
2839
|
+
? de_AccountAssignmentOperationStatusList(output.AccountAssignmentsDeletionStatus, context)
|
|
2846
2840
|
: undefined,
|
|
2847
2841
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2848
2842
|
};
|
|
2849
2843
|
};
|
|
2850
|
-
const
|
|
2844
|
+
const de_ListAccountAssignmentsResponse = (output, context) => {
|
|
2851
2845
|
return {
|
|
2852
|
-
AccountAssignments: output.AccountAssignments != null
|
|
2853
|
-
? deserializeAws_json1_1AccountAssignmentList(output.AccountAssignments, context)
|
|
2854
|
-
: undefined,
|
|
2846
|
+
AccountAssignments: output.AccountAssignments != null ? de_AccountAssignmentList(output.AccountAssignments, context) : undefined,
|
|
2855
2847
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2856
2848
|
};
|
|
2857
2849
|
};
|
|
2858
|
-
const
|
|
2850
|
+
const de_ListAccountsForProvisionedPermissionSetResponse = (output, context) => {
|
|
2859
2851
|
return {
|
|
2860
|
-
AccountIds: output.AccountIds != null ?
|
|
2852
|
+
AccountIds: output.AccountIds != null ? de_AccountList(output.AccountIds, context) : undefined,
|
|
2861
2853
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2862
2854
|
};
|
|
2863
2855
|
};
|
|
2864
|
-
const
|
|
2856
|
+
const de_ListCustomerManagedPolicyReferencesInPermissionSetResponse = (output, context) => {
|
|
2865
2857
|
return {
|
|
2866
2858
|
CustomerManagedPolicyReferences: output.CustomerManagedPolicyReferences != null
|
|
2867
|
-
?
|
|
2859
|
+
? de_CustomerManagedPolicyReferenceList(output.CustomerManagedPolicyReferences, context)
|
|
2868
2860
|
: undefined,
|
|
2869
2861
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2870
2862
|
};
|
|
2871
2863
|
};
|
|
2872
|
-
const
|
|
2864
|
+
const de_ListInstancesResponse = (output, context) => {
|
|
2873
2865
|
return {
|
|
2874
|
-
Instances: output.Instances != null ?
|
|
2866
|
+
Instances: output.Instances != null ? de_InstanceList(output.Instances, context) : undefined,
|
|
2875
2867
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2876
2868
|
};
|
|
2877
2869
|
};
|
|
2878
|
-
const
|
|
2870
|
+
const de_ListManagedPoliciesInPermissionSetResponse = (output, context) => {
|
|
2879
2871
|
return {
|
|
2880
2872
|
AttachedManagedPolicies: output.AttachedManagedPolicies != null
|
|
2881
|
-
?
|
|
2873
|
+
? de_AttachedManagedPolicyList(output.AttachedManagedPolicies, context)
|
|
2882
2874
|
: undefined,
|
|
2883
2875
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2884
2876
|
};
|
|
2885
2877
|
};
|
|
2886
|
-
const
|
|
2878
|
+
const de_ListPermissionSetProvisioningStatusResponse = (output, context) => {
|
|
2887
2879
|
return {
|
|
2888
2880
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2889
2881
|
PermissionSetsProvisioningStatus: output.PermissionSetsProvisioningStatus != null
|
|
2890
|
-
?
|
|
2882
|
+
? de_PermissionSetProvisioningStatusList(output.PermissionSetsProvisioningStatus, context)
|
|
2891
2883
|
: undefined,
|
|
2892
2884
|
};
|
|
2893
2885
|
};
|
|
2894
|
-
const
|
|
2886
|
+
const de_ListPermissionSetsProvisionedToAccountResponse = (output, context) => {
|
|
2895
2887
|
return {
|
|
2896
2888
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2897
|
-
PermissionSets: output.PermissionSets != null
|
|
2898
|
-
? deserializeAws_json1_1PermissionSetList(output.PermissionSets, context)
|
|
2899
|
-
: undefined,
|
|
2889
|
+
PermissionSets: output.PermissionSets != null ? de_PermissionSetList(output.PermissionSets, context) : undefined,
|
|
2900
2890
|
};
|
|
2901
2891
|
};
|
|
2902
|
-
const
|
|
2892
|
+
const de_ListPermissionSetsResponse = (output, context) => {
|
|
2903
2893
|
return {
|
|
2904
2894
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2905
|
-
PermissionSets: output.PermissionSets != null
|
|
2906
|
-
? deserializeAws_json1_1PermissionSetList(output.PermissionSets, context)
|
|
2907
|
-
: undefined,
|
|
2895
|
+
PermissionSets: output.PermissionSets != null ? de_PermissionSetList(output.PermissionSets, context) : undefined,
|
|
2908
2896
|
};
|
|
2909
2897
|
};
|
|
2910
|
-
const
|
|
2898
|
+
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2911
2899
|
return {
|
|
2912
2900
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2913
|
-
Tags: output.Tags != null ?
|
|
2901
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
2914
2902
|
};
|
|
2915
2903
|
};
|
|
2916
|
-
const
|
|
2904
|
+
const de_PermissionsBoundary = (output, context) => {
|
|
2917
2905
|
return {
|
|
2918
2906
|
CustomerManagedPolicyReference: output.CustomerManagedPolicyReference != null
|
|
2919
|
-
?
|
|
2907
|
+
? de_CustomerManagedPolicyReference(output.CustomerManagedPolicyReference, context)
|
|
2920
2908
|
: undefined,
|
|
2921
2909
|
ManagedPolicyArn: (0, smithy_client_1.expectString)(output.ManagedPolicyArn),
|
|
2922
2910
|
};
|
|
2923
2911
|
};
|
|
2924
|
-
const
|
|
2912
|
+
const de_PermissionSet = (output, context) => {
|
|
2925
2913
|
return {
|
|
2926
2914
|
CreatedDate: output.CreatedDate != null
|
|
2927
2915
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedDate)))
|
|
@@ -2933,7 +2921,7 @@ const deserializeAws_json1_1PermissionSet = (output, context) => {
|
|
|
2933
2921
|
SessionDuration: (0, smithy_client_1.expectString)(output.SessionDuration),
|
|
2934
2922
|
};
|
|
2935
2923
|
};
|
|
2936
|
-
const
|
|
2924
|
+
const de_PermissionSetList = (output, context) => {
|
|
2937
2925
|
const retVal = (output || [])
|
|
2938
2926
|
.filter((e) => e != null)
|
|
2939
2927
|
.map((entry) => {
|
|
@@ -2944,7 +2932,7 @@ const deserializeAws_json1_1PermissionSetList = (output, context) => {
|
|
|
2944
2932
|
});
|
|
2945
2933
|
return retVal;
|
|
2946
2934
|
};
|
|
2947
|
-
const
|
|
2935
|
+
const de_PermissionSetProvisioningStatus = (output, context) => {
|
|
2948
2936
|
return {
|
|
2949
2937
|
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
2950
2938
|
CreatedDate: output.CreatedDate != null
|
|
@@ -2956,18 +2944,18 @@ const deserializeAws_json1_1PermissionSetProvisioningStatus = (output, context)
|
|
|
2956
2944
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2957
2945
|
};
|
|
2958
2946
|
};
|
|
2959
|
-
const
|
|
2947
|
+
const de_PermissionSetProvisioningStatusList = (output, context) => {
|
|
2960
2948
|
const retVal = (output || [])
|
|
2961
2949
|
.filter((e) => e != null)
|
|
2962
2950
|
.map((entry) => {
|
|
2963
2951
|
if (entry === null) {
|
|
2964
2952
|
return null;
|
|
2965
2953
|
}
|
|
2966
|
-
return
|
|
2954
|
+
return de_PermissionSetProvisioningStatusMetadata(entry, context);
|
|
2967
2955
|
});
|
|
2968
2956
|
return retVal;
|
|
2969
2957
|
};
|
|
2970
|
-
const
|
|
2958
|
+
const de_PermissionSetProvisioningStatusMetadata = (output, context) => {
|
|
2971
2959
|
return {
|
|
2972
2960
|
CreatedDate: output.CreatedDate != null
|
|
2973
2961
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedDate)))
|
|
@@ -2976,64 +2964,64 @@ const deserializeAws_json1_1PermissionSetProvisioningStatusMetadata = (output, c
|
|
|
2976
2964
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2977
2965
|
};
|
|
2978
2966
|
};
|
|
2979
|
-
const
|
|
2967
|
+
const de_ProvisionPermissionSetResponse = (output, context) => {
|
|
2980
2968
|
return {
|
|
2981
2969
|
PermissionSetProvisioningStatus: output.PermissionSetProvisioningStatus != null
|
|
2982
|
-
?
|
|
2970
|
+
? de_PermissionSetProvisioningStatus(output.PermissionSetProvisioningStatus, context)
|
|
2983
2971
|
: undefined,
|
|
2984
2972
|
};
|
|
2985
2973
|
};
|
|
2986
|
-
const
|
|
2974
|
+
const de_PutInlinePolicyToPermissionSetResponse = (output, context) => {
|
|
2987
2975
|
return {};
|
|
2988
2976
|
};
|
|
2989
|
-
const
|
|
2977
|
+
const de_PutPermissionsBoundaryToPermissionSetResponse = (output, context) => {
|
|
2990
2978
|
return {};
|
|
2991
2979
|
};
|
|
2992
|
-
const
|
|
2980
|
+
const de_ResourceNotFoundException = (output, context) => {
|
|
2993
2981
|
return {
|
|
2994
2982
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2995
2983
|
};
|
|
2996
2984
|
};
|
|
2997
|
-
const
|
|
2985
|
+
const de_ServiceQuotaExceededException = (output, context) => {
|
|
2998
2986
|
return {
|
|
2999
2987
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3000
2988
|
};
|
|
3001
2989
|
};
|
|
3002
|
-
const
|
|
2990
|
+
const de_Tag = (output, context) => {
|
|
3003
2991
|
return {
|
|
3004
2992
|
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
3005
2993
|
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
3006
2994
|
};
|
|
3007
2995
|
};
|
|
3008
|
-
const
|
|
2996
|
+
const de_TagList = (output, context) => {
|
|
3009
2997
|
const retVal = (output || [])
|
|
3010
2998
|
.filter((e) => e != null)
|
|
3011
2999
|
.map((entry) => {
|
|
3012
3000
|
if (entry === null) {
|
|
3013
3001
|
return null;
|
|
3014
3002
|
}
|
|
3015
|
-
return
|
|
3003
|
+
return de_Tag(entry, context);
|
|
3016
3004
|
});
|
|
3017
3005
|
return retVal;
|
|
3018
3006
|
};
|
|
3019
|
-
const
|
|
3007
|
+
const de_TagResourceResponse = (output, context) => {
|
|
3020
3008
|
return {};
|
|
3021
3009
|
};
|
|
3022
|
-
const
|
|
3010
|
+
const de_ThrottlingException = (output, context) => {
|
|
3023
3011
|
return {
|
|
3024
3012
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3025
3013
|
};
|
|
3026
3014
|
};
|
|
3027
|
-
const
|
|
3015
|
+
const de_UntagResourceResponse = (output, context) => {
|
|
3028
3016
|
return {};
|
|
3029
3017
|
};
|
|
3030
|
-
const
|
|
3018
|
+
const de_UpdateInstanceAccessControlAttributeConfigurationResponse = (output, context) => {
|
|
3031
3019
|
return {};
|
|
3032
3020
|
};
|
|
3033
|
-
const
|
|
3021
|
+
const de_UpdatePermissionSetResponse = (output, context) => {
|
|
3034
3022
|
return {};
|
|
3035
3023
|
};
|
|
3036
|
-
const
|
|
3024
|
+
const de_ValidationException = (output, context) => {
|
|
3037
3025
|
return {
|
|
3038
3026
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3039
3027
|
};
|