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