@aws-sdk/client-sso-admin 3.451.0 → 3.454.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/README.md +306 -14
- package/dist-cjs/SSOAdmin.js +72 -0
- package/dist-cjs/commands/CreateApplicationAssignmentCommand.js +51 -0
- package/dist-cjs/commands/CreateApplicationCommand.js +51 -0
- package/dist-cjs/commands/CreateInstanceCommand.js +51 -0
- package/dist-cjs/commands/CreateTrustedTokenIssuerCommand.js +51 -0
- package/dist-cjs/commands/DeleteApplicationAccessScopeCommand.js +51 -0
- package/dist-cjs/commands/DeleteApplicationAssignmentCommand.js +51 -0
- package/dist-cjs/commands/DeleteApplicationAuthenticationMethodCommand.js +51 -0
- package/dist-cjs/commands/DeleteApplicationCommand.js +51 -0
- package/dist-cjs/commands/DeleteApplicationGrantCommand.js +51 -0
- package/dist-cjs/commands/DeleteInstanceCommand.js +51 -0
- package/dist-cjs/commands/DeleteTrustedTokenIssuerCommand.js +51 -0
- package/dist-cjs/commands/DescribeApplicationAssignmentCommand.js +51 -0
- package/dist-cjs/commands/DescribeApplicationCommand.js +51 -0
- package/dist-cjs/commands/DescribeApplicationProviderCommand.js +51 -0
- package/dist-cjs/commands/DescribeInstanceCommand.js +51 -0
- package/dist-cjs/commands/DescribeTrustedTokenIssuerCommand.js +51 -0
- package/dist-cjs/commands/GetApplicationAccessScopeCommand.js +51 -0
- package/dist-cjs/commands/GetApplicationAssignmentConfigurationCommand.js +51 -0
- package/dist-cjs/commands/GetApplicationAuthenticationMethodCommand.js +51 -0
- package/dist-cjs/commands/GetApplicationGrantCommand.js +51 -0
- package/dist-cjs/commands/ListAccountAssignmentsForPrincipalCommand.js +51 -0
- package/dist-cjs/commands/ListApplicationAccessScopesCommand.js +51 -0
- package/dist-cjs/commands/ListApplicationAssignmentsCommand.js +51 -0
- package/dist-cjs/commands/ListApplicationAssignmentsForPrincipalCommand.js +51 -0
- package/dist-cjs/commands/ListApplicationAuthenticationMethodsCommand.js +51 -0
- package/dist-cjs/commands/ListApplicationGrantsCommand.js +51 -0
- package/dist-cjs/commands/ListApplicationProvidersCommand.js +51 -0
- package/dist-cjs/commands/ListApplicationsCommand.js +51 -0
- package/dist-cjs/commands/ListTrustedTokenIssuersCommand.js +51 -0
- package/dist-cjs/commands/PutApplicationAccessScopeCommand.js +51 -0
- package/dist-cjs/commands/PutApplicationAssignmentConfigurationCommand.js +51 -0
- package/dist-cjs/commands/PutApplicationAuthenticationMethodCommand.js +51 -0
- package/dist-cjs/commands/PutApplicationGrantCommand.js +51 -0
- package/dist-cjs/commands/UpdateApplicationCommand.js +51 -0
- package/dist-cjs/commands/UpdateInstanceCommand.js +51 -0
- package/dist-cjs/commands/UpdateTrustedTokenIssuerCommand.js +51 -0
- package/dist-cjs/commands/index.js +36 -0
- package/dist-cjs/models/models_0.js +89 -15
- package/dist-cjs/pagination/ListAccountAssignmentsForPrincipalPaginator.js +29 -0
- package/dist-cjs/pagination/ListApplicationAccessScopesPaginator.js +29 -0
- package/dist-cjs/pagination/ListApplicationAssignmentsForPrincipalPaginator.js +29 -0
- package/dist-cjs/pagination/ListApplicationAssignmentsPaginator.js +29 -0
- package/dist-cjs/pagination/ListApplicationAuthenticationMethodsPaginator.js +28 -0
- package/dist-cjs/pagination/ListApplicationGrantsPaginator.js +28 -0
- package/dist-cjs/pagination/ListApplicationProvidersPaginator.js +29 -0
- package/dist-cjs/pagination/ListApplicationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListTrustedTokenIssuersPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2257 -190
- package/dist-es/SSOAdmin.js +72 -0
- package/dist-es/commands/CreateApplicationAssignmentCommand.js +47 -0
- package/dist-es/commands/CreateApplicationCommand.js +47 -0
- package/dist-es/commands/CreateInstanceCommand.js +47 -0
- package/dist-es/commands/CreateTrustedTokenIssuerCommand.js +47 -0
- package/dist-es/commands/DeleteApplicationAccessScopeCommand.js +47 -0
- package/dist-es/commands/DeleteApplicationAssignmentCommand.js +47 -0
- package/dist-es/commands/DeleteApplicationAuthenticationMethodCommand.js +47 -0
- package/dist-es/commands/DeleteApplicationCommand.js +47 -0
- package/dist-es/commands/DeleteApplicationGrantCommand.js +47 -0
- package/dist-es/commands/DeleteInstanceCommand.js +47 -0
- package/dist-es/commands/DeleteTrustedTokenIssuerCommand.js +47 -0
- package/dist-es/commands/DescribeApplicationAssignmentCommand.js +47 -0
- package/dist-es/commands/DescribeApplicationCommand.js +47 -0
- package/dist-es/commands/DescribeApplicationProviderCommand.js +47 -0
- package/dist-es/commands/DescribeInstanceCommand.js +47 -0
- package/dist-es/commands/DescribeTrustedTokenIssuerCommand.js +47 -0
- package/dist-es/commands/GetApplicationAccessScopeCommand.js +47 -0
- package/dist-es/commands/GetApplicationAssignmentConfigurationCommand.js +47 -0
- package/dist-es/commands/GetApplicationAuthenticationMethodCommand.js +47 -0
- package/dist-es/commands/GetApplicationGrantCommand.js +47 -0
- package/dist-es/commands/ListAccountAssignmentsForPrincipalCommand.js +47 -0
- package/dist-es/commands/ListApplicationAccessScopesCommand.js +47 -0
- package/dist-es/commands/ListApplicationAssignmentsCommand.js +47 -0
- package/dist-es/commands/ListApplicationAssignmentsForPrincipalCommand.js +47 -0
- package/dist-es/commands/ListApplicationAuthenticationMethodsCommand.js +47 -0
- package/dist-es/commands/ListApplicationGrantsCommand.js +47 -0
- package/dist-es/commands/ListApplicationProvidersCommand.js +47 -0
- package/dist-es/commands/ListApplicationsCommand.js +47 -0
- package/dist-es/commands/ListTrustedTokenIssuersCommand.js +47 -0
- package/dist-es/commands/PutApplicationAccessScopeCommand.js +47 -0
- package/dist-es/commands/PutApplicationAssignmentConfigurationCommand.js +47 -0
- package/dist-es/commands/PutApplicationAuthenticationMethodCommand.js +47 -0
- package/dist-es/commands/PutApplicationGrantCommand.js +47 -0
- package/dist-es/commands/UpdateApplicationCommand.js +47 -0
- package/dist-es/commands/UpdateInstanceCommand.js +47 -0
- package/dist-es/commands/UpdateTrustedTokenIssuerCommand.js +47 -0
- package/dist-es/commands/index.js +36 -0
- package/dist-es/models/models_0.js +86 -12
- package/dist-es/pagination/ListAccountAssignmentsForPrincipalPaginator.js +25 -0
- package/dist-es/pagination/ListApplicationAccessScopesPaginator.js +25 -0
- package/dist-es/pagination/ListApplicationAssignmentsForPrincipalPaginator.js +25 -0
- package/dist-es/pagination/ListApplicationAssignmentsPaginator.js +25 -0
- package/dist-es/pagination/ListApplicationAuthenticationMethodsPaginator.js +24 -0
- package/dist-es/pagination/ListApplicationGrantsPaginator.js +24 -0
- package/dist-es/pagination/ListApplicationProvidersPaginator.js +25 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +25 -0
- package/dist-es/pagination/ListTrustedTokenIssuersPaginator.js +25 -0
- package/dist-es/pagination/index.js +9 -0
- package/dist-es/protocols/Aws_json1_1.js +2156 -162
- package/dist-types/SSOAdmin.d.ts +271 -15
- package/dist-types/SSOAdminClient.d.ts +57 -17
- package/dist-types/commands/AttachCustomerManagedPolicyReferenceToPermissionSetCommand.d.ts +8 -8
- package/dist-types/commands/AttachManagedPolicyToPermissionSetCommand.d.ts +13 -13
- package/dist-types/commands/CreateAccountAssignmentCommand.d.ts +21 -19
- package/dist-types/commands/CreateApplicationAssignmentCommand.d.ts +100 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +118 -0
- package/dist-types/commands/CreateInstanceAccessControlAttributeConfigurationCommand.d.ts +12 -11
- package/dist-types/commands/CreateInstanceCommand.d.ts +115 -0
- package/dist-types/commands/CreatePermissionSetCommand.d.ts +8 -8
- package/dist-types/commands/CreateTrustedTokenIssuerCommand.d.ts +117 -0
- package/dist-types/commands/DeleteAccountAssignmentCommand.d.ts +12 -11
- package/dist-types/commands/DeleteApplicationAccessScopeCommand.d.ts +95 -0
- package/dist-types/commands/DeleteApplicationAssignmentCommand.d.ts +97 -0
- package/dist-types/commands/DeleteApplicationAuthenticationMethodCommand.d.ts +95 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +95 -0
- package/dist-types/commands/DeleteApplicationGrantCommand.d.ts +95 -0
- package/dist-types/commands/DeleteInlinePolicyFromPermissionSetCommand.d.ts +7 -7
- package/dist-types/commands/DeleteInstanceAccessControlAttributeConfigurationCommand.d.ts +10 -10
- package/dist-types/commands/DeleteInstanceCommand.d.ts +93 -0
- package/dist-types/commands/DeletePermissionSetCommand.d.ts +7 -7
- package/dist-types/commands/DeletePermissionsBoundaryFromPermissionSetCommand.d.ts +9 -3
- package/dist-types/commands/DeleteTrustedTokenIssuerCommand.d.ts +97 -0
- package/dist-types/commands/DescribeAccountAssignmentCreationStatusCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAccountAssignmentDeletionStatusCommand.d.ts +3 -3
- package/dist-types/commands/DescribeApplicationAssignmentCommand.d.ts +96 -0
- package/dist-types/commands/DescribeApplicationCommand.d.ts +104 -0
- package/dist-types/commands/DescribeApplicationProviderCommand.d.ts +104 -0
- package/dist-types/commands/DescribeInstanceAccessControlAttributeConfigurationCommand.d.ts +6 -5
- package/dist-types/commands/DescribeInstanceCommand.d.ts +110 -0
- package/dist-types/commands/DescribePermissionSetCommand.d.ts +3 -3
- package/dist-types/commands/DescribePermissionSetProvisioningStatusCommand.d.ts +3 -3
- package/dist-types/commands/DescribeTrustedTokenIssuerCommand.d.ts +101 -0
- package/dist-types/commands/DetachCustomerManagedPolicyReferenceFromPermissionSetCommand.d.ts +7 -7
- package/dist-types/commands/DetachManagedPolicyFromPermissionSetCommand.d.ts +9 -8
- package/dist-types/commands/GetApplicationAccessScopeCommand.d.ts +94 -0
- package/dist-types/commands/GetApplicationAssignmentConfigurationCommand.d.ts +90 -0
- package/dist-types/commands/GetApplicationAuthenticationMethodCommand.d.ts +95 -0
- package/dist-types/commands/GetApplicationGrantCommand.d.ts +109 -0
- package/dist-types/commands/GetInlinePolicyForPermissionSetCommand.d.ts +3 -3
- package/dist-types/commands/GetPermissionsBoundaryForPermissionSetCommand.d.ts +3 -3
- package/dist-types/commands/ListAccountAssignmentCreationStatusCommand.d.ts +5 -5
- package/dist-types/commands/ListAccountAssignmentDeletionStatusCommand.d.ts +5 -5
- package/dist-types/commands/ListAccountAssignmentsCommand.d.ts +5 -4
- package/dist-types/commands/ListAccountAssignmentsForPrincipalCommand.d.ts +106 -0
- package/dist-types/commands/ListAccountsForProvisionedPermissionSetCommand.d.ts +3 -3
- package/dist-types/commands/ListApplicationAccessScopesCommand.d.ts +100 -0
- package/dist-types/commands/ListApplicationAssignmentsCommand.d.ts +99 -0
- package/dist-types/commands/ListApplicationAssignmentsForPrincipalCommand.d.ts +104 -0
- package/dist-types/commands/ListApplicationAuthenticationMethodsCommand.d.ts +101 -0
- package/dist-types/commands/ListApplicationGrantsCommand.d.ts +115 -0
- package/dist-types/commands/ListApplicationProvidersCommand.d.ts +107 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +114 -0
- package/dist-types/commands/ListCustomerManagedPolicyReferencesInPermissionSetCommand.d.ts +3 -3
- package/dist-types/commands/ListInstancesCommand.d.ts +9 -4
- package/dist-types/commands/ListManagedPoliciesInPermissionSetCommand.d.ts +3 -3
- package/dist-types/commands/ListPermissionSetProvisioningStatusCommand.d.ts +4 -4
- package/dist-types/commands/ListPermissionSetsCommand.d.ts +3 -3
- package/dist-types/commands/ListPermissionSetsProvisionedToAccountCommand.d.ts +5 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -4
- package/dist-types/commands/ListTrustedTokenIssuersCommand.d.ts +96 -0
- package/dist-types/commands/ProvisionPermissionSetCommand.d.ts +8 -8
- package/dist-types/commands/PutApplicationAccessScopeCommand.d.ts +99 -0
- package/dist-types/commands/PutApplicationAssignmentConfigurationCommand.d.ts +97 -0
- package/dist-types/commands/PutApplicationAuthenticationMethodCommand.d.ts +100 -0
- package/dist-types/commands/PutApplicationGrantCommand.d.ts +114 -0
- package/dist-types/commands/PutInlinePolicyToPermissionSetCommand.d.ts +13 -12
- package/dist-types/commands/PutPermissionsBoundaryToPermissionSetCommand.d.ts +7 -7
- package/dist-types/commands/TagResourceCommand.d.ts +9 -9
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -8
- package/dist-types/commands/UpdateApplicationCommand.d.ts +103 -0
- package/dist-types/commands/UpdateInstanceAccessControlAttributeConfigurationCommand.d.ts +12 -12
- package/dist-types/commands/UpdateInstanceCommand.d.ts +93 -0
- package/dist-types/commands/UpdatePermissionSetCommand.d.ts +7 -7
- package/dist-types/commands/UpdateTrustedTokenIssuerCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +36 -0
- package/dist-types/index.d.ts +19 -15
- package/dist-types/models/models_0.d.ts +2369 -276
- package/dist-types/pagination/ListAccountAssignmentsForPrincipalPaginator.d.ts +7 -0
- package/dist-types/pagination/ListApplicationAccessScopesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListApplicationAssignmentsForPrincipalPaginator.d.ts +7 -0
- package/dist-types/pagination/ListApplicationAssignmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListApplicationAuthenticationMethodsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListApplicationGrantsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListApplicationProvidersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTrustedTokenIssuersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +9 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +324 -0
- package/dist-types/ts3.4/SSOAdmin.d.ts +660 -0
- package/dist-types/ts3.4/SSOAdminClient.d.ts +218 -2
- package/dist-types/ts3.4/commands/CreateApplicationAssignmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateInstanceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateTrustedTokenIssuerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteApplicationAccessScopeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteApplicationAssignmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteApplicationAuthenticationMethodCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteApplicationGrantCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteInstanceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteTrustedTokenIssuerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeApplicationAssignmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeApplicationProviderCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeInstanceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeTrustedTokenIssuerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetApplicationAccessScopeCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetApplicationAssignmentConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetApplicationAuthenticationMethodCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetApplicationGrantCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAccountAssignmentsForPrincipalCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListApplicationAccessScopesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListApplicationAssignmentsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListApplicationAssignmentsForPrincipalCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListApplicationAuthenticationMethodsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListApplicationGrantsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListApplicationProvidersCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTrustedTokenIssuersCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutApplicationAccessScopeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutApplicationAssignmentConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutApplicationAuthenticationMethodCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutApplicationGrantCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateInstanceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateTrustedTokenIssuerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +36 -0
- package/dist-types/ts3.4/models/models_0.d.ts +573 -23
- package/dist-types/ts3.4/pagination/ListAccountAssignmentsForPrincipalPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListApplicationAccessScopesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListApplicationAssignmentsForPrincipalPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListApplicationAssignmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListApplicationAuthenticationMethodsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListApplicationGrantsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListApplicationProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTrustedTokenIssuersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +9 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +432 -0
- package/package.json +5 -3
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.se_ListApplicationProvidersCommand = exports.se_ListApplicationGrantsCommand = exports.se_ListApplicationAuthenticationMethodsCommand = exports.se_ListApplicationAssignmentsForPrincipalCommand = exports.se_ListApplicationAssignmentsCommand = exports.se_ListApplicationAccessScopesCommand = exports.se_ListAccountsForProvisionedPermissionSetCommand = exports.se_ListAccountAssignmentsForPrincipalCommand = exports.se_ListAccountAssignmentsCommand = exports.se_ListAccountAssignmentDeletionStatusCommand = exports.se_ListAccountAssignmentCreationStatusCommand = exports.se_GetPermissionsBoundaryForPermissionSetCommand = exports.se_GetInlinePolicyForPermissionSetCommand = exports.se_GetApplicationGrantCommand = exports.se_GetApplicationAuthenticationMethodCommand = exports.se_GetApplicationAssignmentConfigurationCommand = exports.se_GetApplicationAccessScopeCommand = exports.se_DetachManagedPolicyFromPermissionSetCommand = exports.se_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = exports.se_DescribeTrustedTokenIssuerCommand = exports.se_DescribePermissionSetProvisioningStatusCommand = exports.se_DescribePermissionSetCommand = exports.se_DescribeInstanceAccessControlAttributeConfigurationCommand = exports.se_DescribeInstanceCommand = exports.se_DescribeApplicationProviderCommand = exports.se_DescribeApplicationAssignmentCommand = exports.se_DescribeApplicationCommand = exports.se_DescribeAccountAssignmentDeletionStatusCommand = exports.se_DescribeAccountAssignmentCreationStatusCommand = exports.se_DeleteTrustedTokenIssuerCommand = exports.se_DeletePermissionSetCommand = exports.se_DeletePermissionsBoundaryFromPermissionSetCommand = exports.se_DeleteInstanceAccessControlAttributeConfigurationCommand = exports.se_DeleteInstanceCommand = exports.se_DeleteInlinePolicyFromPermissionSetCommand = exports.se_DeleteApplicationGrantCommand = exports.se_DeleteApplicationAuthenticationMethodCommand = exports.se_DeleteApplicationAssignmentCommand = exports.se_DeleteApplicationAccessScopeCommand = exports.se_DeleteApplicationCommand = exports.se_DeleteAccountAssignmentCommand = exports.se_CreateTrustedTokenIssuerCommand = exports.se_CreatePermissionSetCommand = exports.se_CreateInstanceAccessControlAttributeConfigurationCommand = exports.se_CreateInstanceCommand = exports.se_CreateApplicationAssignmentCommand = exports.se_CreateApplicationCommand = exports.se_CreateAccountAssignmentCommand = exports.se_AttachManagedPolicyToPermissionSetCommand = exports.se_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = void 0;
|
|
4
|
+
exports.de_DescribeInstanceCommand = exports.de_DescribeApplicationProviderCommand = exports.de_DescribeApplicationAssignmentCommand = exports.de_DescribeApplicationCommand = exports.de_DescribeAccountAssignmentDeletionStatusCommand = exports.de_DescribeAccountAssignmentCreationStatusCommand = exports.de_DeleteTrustedTokenIssuerCommand = exports.de_DeletePermissionSetCommand = exports.de_DeletePermissionsBoundaryFromPermissionSetCommand = exports.de_DeleteInstanceAccessControlAttributeConfigurationCommand = exports.de_DeleteInstanceCommand = exports.de_DeleteInlinePolicyFromPermissionSetCommand = exports.de_DeleteApplicationGrantCommand = exports.de_DeleteApplicationAuthenticationMethodCommand = exports.de_DeleteApplicationAssignmentCommand = exports.de_DeleteApplicationAccessScopeCommand = exports.de_DeleteApplicationCommand = exports.de_DeleteAccountAssignmentCommand = exports.de_CreateTrustedTokenIssuerCommand = exports.de_CreatePermissionSetCommand = exports.de_CreateInstanceAccessControlAttributeConfigurationCommand = exports.de_CreateInstanceCommand = exports.de_CreateApplicationAssignmentCommand = exports.de_CreateApplicationCommand = exports.de_CreateAccountAssignmentCommand = exports.de_AttachManagedPolicyToPermissionSetCommand = exports.de_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = exports.se_UpdateTrustedTokenIssuerCommand = exports.se_UpdatePermissionSetCommand = exports.se_UpdateInstanceAccessControlAttributeConfigurationCommand = exports.se_UpdateInstanceCommand = exports.se_UpdateApplicationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_PutPermissionsBoundaryToPermissionSetCommand = exports.se_PutInlinePolicyToPermissionSetCommand = exports.se_PutApplicationGrantCommand = exports.se_PutApplicationAuthenticationMethodCommand = exports.se_PutApplicationAssignmentConfigurationCommand = exports.se_PutApplicationAccessScopeCommand = exports.se_ProvisionPermissionSetCommand = exports.se_ListTrustedTokenIssuersCommand = exports.se_ListTagsForResourceCommand = exports.se_ListPermissionSetsProvisionedToAccountCommand = exports.se_ListPermissionSetsCommand = exports.se_ListPermissionSetProvisioningStatusCommand = exports.se_ListManagedPoliciesInPermissionSetCommand = exports.se_ListInstancesCommand = exports.se_ListCustomerManagedPolicyReferencesInPermissionSetCommand = exports.se_ListApplicationsCommand = void 0;
|
|
5
|
+
exports.de_UpdateTrustedTokenIssuerCommand = exports.de_UpdatePermissionSetCommand = exports.de_UpdateInstanceAccessControlAttributeConfigurationCommand = exports.de_UpdateInstanceCommand = exports.de_UpdateApplicationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_PutPermissionsBoundaryToPermissionSetCommand = exports.de_PutInlinePolicyToPermissionSetCommand = exports.de_PutApplicationGrantCommand = exports.de_PutApplicationAuthenticationMethodCommand = exports.de_PutApplicationAssignmentConfigurationCommand = exports.de_PutApplicationAccessScopeCommand = exports.de_ProvisionPermissionSetCommand = exports.de_ListTrustedTokenIssuersCommand = exports.de_ListTagsForResourceCommand = exports.de_ListPermissionSetsProvisionedToAccountCommand = exports.de_ListPermissionSetsCommand = exports.de_ListPermissionSetProvisioningStatusCommand = exports.de_ListManagedPoliciesInPermissionSetCommand = exports.de_ListInstancesCommand = exports.de_ListCustomerManagedPolicyReferencesInPermissionSetCommand = exports.de_ListApplicationsCommand = exports.de_ListApplicationProvidersCommand = exports.de_ListApplicationGrantsCommand = exports.de_ListApplicationAuthenticationMethodsCommand = exports.de_ListApplicationAssignmentsForPrincipalCommand = exports.de_ListApplicationAssignmentsCommand = exports.de_ListApplicationAccessScopesCommand = exports.de_ListAccountsForProvisionedPermissionSetCommand = exports.de_ListAccountAssignmentsForPrincipalCommand = exports.de_ListAccountAssignmentsCommand = exports.de_ListAccountAssignmentDeletionStatusCommand = exports.de_ListAccountAssignmentCreationStatusCommand = exports.de_GetPermissionsBoundaryForPermissionSetCommand = exports.de_GetInlinePolicyForPermissionSetCommand = exports.de_GetApplicationGrantCommand = exports.de_GetApplicationAuthenticationMethodCommand = exports.de_GetApplicationAssignmentConfigurationCommand = exports.de_GetApplicationAccessScopeCommand = exports.de_DetachManagedPolicyFromPermissionSetCommand = exports.de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = exports.de_DescribeTrustedTokenIssuerCommand = exports.de_DescribePermissionSetProvisioningStatusCommand = exports.de_DescribePermissionSetCommand = exports.de_DescribeInstanceAccessControlAttributeConfigurationCommand = void 0;
|
|
6
|
+
const core_1 = require("@aws-sdk/core");
|
|
5
7
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
8
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
|
+
const uuid_1 = require("uuid");
|
|
7
10
|
const models_0_1 = require("../models/models_0");
|
|
8
11
|
const SSOAdminServiceException_1 = require("../models/SSOAdminServiceException");
|
|
9
12
|
const se_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = async (input, context) => {
|
|
@@ -27,6 +30,27 @@ const se_CreateAccountAssignmentCommand = async (input, context) => {
|
|
|
27
30
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
31
|
};
|
|
29
32
|
exports.se_CreateAccountAssignmentCommand = se_CreateAccountAssignmentCommand;
|
|
33
|
+
const se_CreateApplicationCommand = async (input, context) => {
|
|
34
|
+
const headers = sharedHeaders("CreateApplication");
|
|
35
|
+
let body;
|
|
36
|
+
body = JSON.stringify(se_CreateApplicationRequest(input, context));
|
|
37
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
38
|
+
};
|
|
39
|
+
exports.se_CreateApplicationCommand = se_CreateApplicationCommand;
|
|
40
|
+
const se_CreateApplicationAssignmentCommand = async (input, context) => {
|
|
41
|
+
const headers = sharedHeaders("CreateApplicationAssignment");
|
|
42
|
+
let body;
|
|
43
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
44
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
45
|
+
};
|
|
46
|
+
exports.se_CreateApplicationAssignmentCommand = se_CreateApplicationAssignmentCommand;
|
|
47
|
+
const se_CreateInstanceCommand = async (input, context) => {
|
|
48
|
+
const headers = sharedHeaders("CreateInstance");
|
|
49
|
+
let body;
|
|
50
|
+
body = JSON.stringify(se_CreateInstanceRequest(input, context));
|
|
51
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
52
|
+
};
|
|
53
|
+
exports.se_CreateInstanceCommand = se_CreateInstanceCommand;
|
|
30
54
|
const se_CreateInstanceAccessControlAttributeConfigurationCommand = async (input, context) => {
|
|
31
55
|
const headers = sharedHeaders("CreateInstanceAccessControlAttributeConfiguration");
|
|
32
56
|
let body;
|
|
@@ -41,6 +65,13 @@ const se_CreatePermissionSetCommand = async (input, context) => {
|
|
|
41
65
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
66
|
};
|
|
43
67
|
exports.se_CreatePermissionSetCommand = se_CreatePermissionSetCommand;
|
|
68
|
+
const se_CreateTrustedTokenIssuerCommand = async (input, context) => {
|
|
69
|
+
const headers = sharedHeaders("CreateTrustedTokenIssuer");
|
|
70
|
+
let body;
|
|
71
|
+
body = JSON.stringify(se_CreateTrustedTokenIssuerRequest(input, context));
|
|
72
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
73
|
+
};
|
|
74
|
+
exports.se_CreateTrustedTokenIssuerCommand = se_CreateTrustedTokenIssuerCommand;
|
|
44
75
|
const se_DeleteAccountAssignmentCommand = async (input, context) => {
|
|
45
76
|
const headers = sharedHeaders("DeleteAccountAssignment");
|
|
46
77
|
let body;
|
|
@@ -48,6 +79,41 @@ const se_DeleteAccountAssignmentCommand = async (input, context) => {
|
|
|
48
79
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
80
|
};
|
|
50
81
|
exports.se_DeleteAccountAssignmentCommand = se_DeleteAccountAssignmentCommand;
|
|
82
|
+
const se_DeleteApplicationCommand = async (input, context) => {
|
|
83
|
+
const headers = sharedHeaders("DeleteApplication");
|
|
84
|
+
let body;
|
|
85
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
86
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
87
|
+
};
|
|
88
|
+
exports.se_DeleteApplicationCommand = se_DeleteApplicationCommand;
|
|
89
|
+
const se_DeleteApplicationAccessScopeCommand = async (input, context) => {
|
|
90
|
+
const headers = sharedHeaders("DeleteApplicationAccessScope");
|
|
91
|
+
let body;
|
|
92
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
93
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
|
+
};
|
|
95
|
+
exports.se_DeleteApplicationAccessScopeCommand = se_DeleteApplicationAccessScopeCommand;
|
|
96
|
+
const se_DeleteApplicationAssignmentCommand = async (input, context) => {
|
|
97
|
+
const headers = sharedHeaders("DeleteApplicationAssignment");
|
|
98
|
+
let body;
|
|
99
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
100
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
|
+
};
|
|
102
|
+
exports.se_DeleteApplicationAssignmentCommand = se_DeleteApplicationAssignmentCommand;
|
|
103
|
+
const se_DeleteApplicationAuthenticationMethodCommand = async (input, context) => {
|
|
104
|
+
const headers = sharedHeaders("DeleteApplicationAuthenticationMethod");
|
|
105
|
+
let body;
|
|
106
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
107
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
108
|
+
};
|
|
109
|
+
exports.se_DeleteApplicationAuthenticationMethodCommand = se_DeleteApplicationAuthenticationMethodCommand;
|
|
110
|
+
const se_DeleteApplicationGrantCommand = async (input, context) => {
|
|
111
|
+
const headers = sharedHeaders("DeleteApplicationGrant");
|
|
112
|
+
let body;
|
|
113
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
114
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
115
|
+
};
|
|
116
|
+
exports.se_DeleteApplicationGrantCommand = se_DeleteApplicationGrantCommand;
|
|
51
117
|
const se_DeleteInlinePolicyFromPermissionSetCommand = async (input, context) => {
|
|
52
118
|
const headers = sharedHeaders("DeleteInlinePolicyFromPermissionSet");
|
|
53
119
|
let body;
|
|
@@ -55,6 +121,13 @@ const se_DeleteInlinePolicyFromPermissionSetCommand = async (input, context) =>
|
|
|
55
121
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
56
122
|
};
|
|
57
123
|
exports.se_DeleteInlinePolicyFromPermissionSetCommand = se_DeleteInlinePolicyFromPermissionSetCommand;
|
|
124
|
+
const se_DeleteInstanceCommand = async (input, context) => {
|
|
125
|
+
const headers = sharedHeaders("DeleteInstance");
|
|
126
|
+
let body;
|
|
127
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
128
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
129
|
+
};
|
|
130
|
+
exports.se_DeleteInstanceCommand = se_DeleteInstanceCommand;
|
|
58
131
|
const se_DeleteInstanceAccessControlAttributeConfigurationCommand = async (input, context) => {
|
|
59
132
|
const headers = sharedHeaders("DeleteInstanceAccessControlAttributeConfiguration");
|
|
60
133
|
let body;
|
|
@@ -76,6 +149,13 @@ const se_DeletePermissionSetCommand = async (input, context) => {
|
|
|
76
149
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
150
|
};
|
|
78
151
|
exports.se_DeletePermissionSetCommand = se_DeletePermissionSetCommand;
|
|
152
|
+
const se_DeleteTrustedTokenIssuerCommand = async (input, context) => {
|
|
153
|
+
const headers = sharedHeaders("DeleteTrustedTokenIssuer");
|
|
154
|
+
let body;
|
|
155
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
156
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
|
+
};
|
|
158
|
+
exports.se_DeleteTrustedTokenIssuerCommand = se_DeleteTrustedTokenIssuerCommand;
|
|
79
159
|
const se_DescribeAccountAssignmentCreationStatusCommand = async (input, context) => {
|
|
80
160
|
const headers = sharedHeaders("DescribeAccountAssignmentCreationStatus");
|
|
81
161
|
let body;
|
|
@@ -90,6 +170,34 @@ const se_DescribeAccountAssignmentDeletionStatusCommand = async (input, context)
|
|
|
90
170
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
91
171
|
};
|
|
92
172
|
exports.se_DescribeAccountAssignmentDeletionStatusCommand = se_DescribeAccountAssignmentDeletionStatusCommand;
|
|
173
|
+
const se_DescribeApplicationCommand = async (input, context) => {
|
|
174
|
+
const headers = sharedHeaders("DescribeApplication");
|
|
175
|
+
let body;
|
|
176
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
177
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
178
|
+
};
|
|
179
|
+
exports.se_DescribeApplicationCommand = se_DescribeApplicationCommand;
|
|
180
|
+
const se_DescribeApplicationAssignmentCommand = async (input, context) => {
|
|
181
|
+
const headers = sharedHeaders("DescribeApplicationAssignment");
|
|
182
|
+
let body;
|
|
183
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
184
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
|
+
};
|
|
186
|
+
exports.se_DescribeApplicationAssignmentCommand = se_DescribeApplicationAssignmentCommand;
|
|
187
|
+
const se_DescribeApplicationProviderCommand = async (input, context) => {
|
|
188
|
+
const headers = sharedHeaders("DescribeApplicationProvider");
|
|
189
|
+
let body;
|
|
190
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
191
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
192
|
+
};
|
|
193
|
+
exports.se_DescribeApplicationProviderCommand = se_DescribeApplicationProviderCommand;
|
|
194
|
+
const se_DescribeInstanceCommand = async (input, context) => {
|
|
195
|
+
const headers = sharedHeaders("DescribeInstance");
|
|
196
|
+
let body;
|
|
197
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
198
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
199
|
+
};
|
|
200
|
+
exports.se_DescribeInstanceCommand = se_DescribeInstanceCommand;
|
|
93
201
|
const se_DescribeInstanceAccessControlAttributeConfigurationCommand = async (input, context) => {
|
|
94
202
|
const headers = sharedHeaders("DescribeInstanceAccessControlAttributeConfiguration");
|
|
95
203
|
let body;
|
|
@@ -111,6 +219,13 @@ const se_DescribePermissionSetProvisioningStatusCommand = async (input, context)
|
|
|
111
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
220
|
};
|
|
113
221
|
exports.se_DescribePermissionSetProvisioningStatusCommand = se_DescribePermissionSetProvisioningStatusCommand;
|
|
222
|
+
const se_DescribeTrustedTokenIssuerCommand = async (input, context) => {
|
|
223
|
+
const headers = sharedHeaders("DescribeTrustedTokenIssuer");
|
|
224
|
+
let body;
|
|
225
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
226
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
|
+
};
|
|
228
|
+
exports.se_DescribeTrustedTokenIssuerCommand = se_DescribeTrustedTokenIssuerCommand;
|
|
114
229
|
const se_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = async (input, context) => {
|
|
115
230
|
const headers = sharedHeaders("DetachCustomerManagedPolicyReferenceFromPermissionSet");
|
|
116
231
|
let body;
|
|
@@ -125,6 +240,34 @@ const se_DetachManagedPolicyFromPermissionSetCommand = async (input, context) =>
|
|
|
125
240
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
241
|
};
|
|
127
242
|
exports.se_DetachManagedPolicyFromPermissionSetCommand = se_DetachManagedPolicyFromPermissionSetCommand;
|
|
243
|
+
const se_GetApplicationAccessScopeCommand = async (input, context) => {
|
|
244
|
+
const headers = sharedHeaders("GetApplicationAccessScope");
|
|
245
|
+
let body;
|
|
246
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
247
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
248
|
+
};
|
|
249
|
+
exports.se_GetApplicationAccessScopeCommand = se_GetApplicationAccessScopeCommand;
|
|
250
|
+
const se_GetApplicationAssignmentConfigurationCommand = async (input, context) => {
|
|
251
|
+
const headers = sharedHeaders("GetApplicationAssignmentConfiguration");
|
|
252
|
+
let body;
|
|
253
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
254
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
255
|
+
};
|
|
256
|
+
exports.se_GetApplicationAssignmentConfigurationCommand = se_GetApplicationAssignmentConfigurationCommand;
|
|
257
|
+
const se_GetApplicationAuthenticationMethodCommand = async (input, context) => {
|
|
258
|
+
const headers = sharedHeaders("GetApplicationAuthenticationMethod");
|
|
259
|
+
let body;
|
|
260
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
261
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
262
|
+
};
|
|
263
|
+
exports.se_GetApplicationAuthenticationMethodCommand = se_GetApplicationAuthenticationMethodCommand;
|
|
264
|
+
const se_GetApplicationGrantCommand = async (input, context) => {
|
|
265
|
+
const headers = sharedHeaders("GetApplicationGrant");
|
|
266
|
+
let body;
|
|
267
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
268
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
269
|
+
};
|
|
270
|
+
exports.se_GetApplicationGrantCommand = se_GetApplicationGrantCommand;
|
|
128
271
|
const se_GetInlinePolicyForPermissionSetCommand = async (input, context) => {
|
|
129
272
|
const headers = sharedHeaders("GetInlinePolicyForPermissionSet");
|
|
130
273
|
let body;
|
|
@@ -160,6 +303,13 @@ const se_ListAccountAssignmentsCommand = async (input, context) => {
|
|
|
160
303
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
304
|
};
|
|
162
305
|
exports.se_ListAccountAssignmentsCommand = se_ListAccountAssignmentsCommand;
|
|
306
|
+
const se_ListAccountAssignmentsForPrincipalCommand = async (input, context) => {
|
|
307
|
+
const headers = sharedHeaders("ListAccountAssignmentsForPrincipal");
|
|
308
|
+
let body;
|
|
309
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
310
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
311
|
+
};
|
|
312
|
+
exports.se_ListAccountAssignmentsForPrincipalCommand = se_ListAccountAssignmentsForPrincipalCommand;
|
|
163
313
|
const se_ListAccountsForProvisionedPermissionSetCommand = async (input, context) => {
|
|
164
314
|
const headers = sharedHeaders("ListAccountsForProvisionedPermissionSet");
|
|
165
315
|
let body;
|
|
@@ -167,6 +317,55 @@ const se_ListAccountsForProvisionedPermissionSetCommand = async (input, context)
|
|
|
167
317
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
318
|
};
|
|
169
319
|
exports.se_ListAccountsForProvisionedPermissionSetCommand = se_ListAccountsForProvisionedPermissionSetCommand;
|
|
320
|
+
const se_ListApplicationAccessScopesCommand = async (input, context) => {
|
|
321
|
+
const headers = sharedHeaders("ListApplicationAccessScopes");
|
|
322
|
+
let body;
|
|
323
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
324
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
325
|
+
};
|
|
326
|
+
exports.se_ListApplicationAccessScopesCommand = se_ListApplicationAccessScopesCommand;
|
|
327
|
+
const se_ListApplicationAssignmentsCommand = async (input, context) => {
|
|
328
|
+
const headers = sharedHeaders("ListApplicationAssignments");
|
|
329
|
+
let body;
|
|
330
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
331
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
332
|
+
};
|
|
333
|
+
exports.se_ListApplicationAssignmentsCommand = se_ListApplicationAssignmentsCommand;
|
|
334
|
+
const se_ListApplicationAssignmentsForPrincipalCommand = async (input, context) => {
|
|
335
|
+
const headers = sharedHeaders("ListApplicationAssignmentsForPrincipal");
|
|
336
|
+
let body;
|
|
337
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
338
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
339
|
+
};
|
|
340
|
+
exports.se_ListApplicationAssignmentsForPrincipalCommand = se_ListApplicationAssignmentsForPrincipalCommand;
|
|
341
|
+
const se_ListApplicationAuthenticationMethodsCommand = async (input, context) => {
|
|
342
|
+
const headers = sharedHeaders("ListApplicationAuthenticationMethods");
|
|
343
|
+
let body;
|
|
344
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
345
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
346
|
+
};
|
|
347
|
+
exports.se_ListApplicationAuthenticationMethodsCommand = se_ListApplicationAuthenticationMethodsCommand;
|
|
348
|
+
const se_ListApplicationGrantsCommand = async (input, context) => {
|
|
349
|
+
const headers = sharedHeaders("ListApplicationGrants");
|
|
350
|
+
let body;
|
|
351
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
352
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
353
|
+
};
|
|
354
|
+
exports.se_ListApplicationGrantsCommand = se_ListApplicationGrantsCommand;
|
|
355
|
+
const se_ListApplicationProvidersCommand = async (input, context) => {
|
|
356
|
+
const headers = sharedHeaders("ListApplicationProviders");
|
|
357
|
+
let body;
|
|
358
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
359
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
360
|
+
};
|
|
361
|
+
exports.se_ListApplicationProvidersCommand = se_ListApplicationProvidersCommand;
|
|
362
|
+
const se_ListApplicationsCommand = async (input, context) => {
|
|
363
|
+
const headers = sharedHeaders("ListApplications");
|
|
364
|
+
let body;
|
|
365
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
366
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
367
|
+
};
|
|
368
|
+
exports.se_ListApplicationsCommand = se_ListApplicationsCommand;
|
|
170
369
|
const se_ListCustomerManagedPolicyReferencesInPermissionSetCommand = async (input, context) => {
|
|
171
370
|
const headers = sharedHeaders("ListCustomerManagedPolicyReferencesInPermissionSet");
|
|
172
371
|
let body;
|
|
@@ -216,6 +415,13 @@ const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
216
415
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
416
|
};
|
|
218
417
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
418
|
+
const se_ListTrustedTokenIssuersCommand = async (input, context) => {
|
|
419
|
+
const headers = sharedHeaders("ListTrustedTokenIssuers");
|
|
420
|
+
let body;
|
|
421
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
422
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
423
|
+
};
|
|
424
|
+
exports.se_ListTrustedTokenIssuersCommand = se_ListTrustedTokenIssuersCommand;
|
|
219
425
|
const se_ProvisionPermissionSetCommand = async (input, context) => {
|
|
220
426
|
const headers = sharedHeaders("ProvisionPermissionSet");
|
|
221
427
|
let body;
|
|
@@ -223,6 +429,34 @@ const se_ProvisionPermissionSetCommand = async (input, context) => {
|
|
|
223
429
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
224
430
|
};
|
|
225
431
|
exports.se_ProvisionPermissionSetCommand = se_ProvisionPermissionSetCommand;
|
|
432
|
+
const se_PutApplicationAccessScopeCommand = async (input, context) => {
|
|
433
|
+
const headers = sharedHeaders("PutApplicationAccessScope");
|
|
434
|
+
let body;
|
|
435
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
436
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
437
|
+
};
|
|
438
|
+
exports.se_PutApplicationAccessScopeCommand = se_PutApplicationAccessScopeCommand;
|
|
439
|
+
const se_PutApplicationAssignmentConfigurationCommand = async (input, context) => {
|
|
440
|
+
const headers = sharedHeaders("PutApplicationAssignmentConfiguration");
|
|
441
|
+
let body;
|
|
442
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
443
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
444
|
+
};
|
|
445
|
+
exports.se_PutApplicationAssignmentConfigurationCommand = se_PutApplicationAssignmentConfigurationCommand;
|
|
446
|
+
const se_PutApplicationAuthenticationMethodCommand = async (input, context) => {
|
|
447
|
+
const headers = sharedHeaders("PutApplicationAuthenticationMethod");
|
|
448
|
+
let body;
|
|
449
|
+
body = JSON.stringify(se_PutApplicationAuthenticationMethodRequest(input, context));
|
|
450
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
451
|
+
};
|
|
452
|
+
exports.se_PutApplicationAuthenticationMethodCommand = se_PutApplicationAuthenticationMethodCommand;
|
|
453
|
+
const se_PutApplicationGrantCommand = async (input, context) => {
|
|
454
|
+
const headers = sharedHeaders("PutApplicationGrant");
|
|
455
|
+
let body;
|
|
456
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
457
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
458
|
+
};
|
|
459
|
+
exports.se_PutApplicationGrantCommand = se_PutApplicationGrantCommand;
|
|
226
460
|
const se_PutInlinePolicyToPermissionSetCommand = async (input, context) => {
|
|
227
461
|
const headers = sharedHeaders("PutInlinePolicyToPermissionSet");
|
|
228
462
|
let body;
|
|
@@ -251,6 +485,20 @@ const se_UntagResourceCommand = async (input, context) => {
|
|
|
251
485
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
252
486
|
};
|
|
253
487
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
488
|
+
const se_UpdateApplicationCommand = async (input, context) => {
|
|
489
|
+
const headers = sharedHeaders("UpdateApplication");
|
|
490
|
+
let body;
|
|
491
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
492
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
493
|
+
};
|
|
494
|
+
exports.se_UpdateApplicationCommand = se_UpdateApplicationCommand;
|
|
495
|
+
const se_UpdateInstanceCommand = async (input, context) => {
|
|
496
|
+
const headers = sharedHeaders("UpdateInstance");
|
|
497
|
+
let body;
|
|
498
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
499
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
500
|
+
};
|
|
501
|
+
exports.se_UpdateInstanceCommand = se_UpdateInstanceCommand;
|
|
254
502
|
const se_UpdateInstanceAccessControlAttributeConfigurationCommand = async (input, context) => {
|
|
255
503
|
const headers = sharedHeaders("UpdateInstanceAccessControlAttributeConfiguration");
|
|
256
504
|
let body;
|
|
@@ -265,6 +513,13 @@ const se_UpdatePermissionSetCommand = async (input, context) => {
|
|
|
265
513
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
266
514
|
};
|
|
267
515
|
exports.se_UpdatePermissionSetCommand = se_UpdatePermissionSetCommand;
|
|
516
|
+
const se_UpdateTrustedTokenIssuerCommand = async (input, context) => {
|
|
517
|
+
const headers = sharedHeaders("UpdateTrustedTokenIssuer");
|
|
518
|
+
let body;
|
|
519
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
520
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
521
|
+
};
|
|
522
|
+
exports.se_UpdateTrustedTokenIssuerCommand = se_UpdateTrustedTokenIssuerCommand;
|
|
268
523
|
const de_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = async (output, context) => {
|
|
269
524
|
if (output.statusCode >= 300) {
|
|
270
525
|
return de_AttachCustomerManagedPolicyReferenceToPermissionSetCommandError(output, context);
|
|
@@ -418,9 +673,9 @@ const de_CreateAccountAssignmentCommandError = async (output, context) => {
|
|
|
418
673
|
});
|
|
419
674
|
}
|
|
420
675
|
};
|
|
421
|
-
const
|
|
676
|
+
const de_CreateApplicationCommand = async (output, context) => {
|
|
422
677
|
if (output.statusCode >= 300) {
|
|
423
|
-
return
|
|
678
|
+
return de_CreateApplicationCommandError(output, context);
|
|
424
679
|
}
|
|
425
680
|
const data = await parseBody(output.body, context);
|
|
426
681
|
let contents = {};
|
|
@@ -431,8 +686,8 @@ const de_CreateInstanceAccessControlAttributeConfigurationCommand = async (outpu
|
|
|
431
686
|
};
|
|
432
687
|
return response;
|
|
433
688
|
};
|
|
434
|
-
exports.
|
|
435
|
-
const
|
|
689
|
+
exports.de_CreateApplicationCommand = de_CreateApplicationCommand;
|
|
690
|
+
const de_CreateApplicationCommandError = async (output, context) => {
|
|
436
691
|
const parsedOutput = {
|
|
437
692
|
...output,
|
|
438
693
|
body: await parseErrorBody(output.body, context),
|
|
@@ -451,6 +706,9 @@ const de_CreateInstanceAccessControlAttributeConfigurationCommandError = async (
|
|
|
451
706
|
case "ResourceNotFoundException":
|
|
452
707
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
453
708
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
709
|
+
case "ServiceQuotaExceededException":
|
|
710
|
+
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
711
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
454
712
|
case "ThrottlingException":
|
|
455
713
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
456
714
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -466,21 +724,21 @@ const de_CreateInstanceAccessControlAttributeConfigurationCommandError = async (
|
|
|
466
724
|
});
|
|
467
725
|
}
|
|
468
726
|
};
|
|
469
|
-
const
|
|
727
|
+
const de_CreateApplicationAssignmentCommand = async (output, context) => {
|
|
470
728
|
if (output.statusCode >= 300) {
|
|
471
|
-
return
|
|
729
|
+
return de_CreateApplicationAssignmentCommandError(output, context);
|
|
472
730
|
}
|
|
473
731
|
const data = await parseBody(output.body, context);
|
|
474
732
|
let contents = {};
|
|
475
|
-
contents =
|
|
733
|
+
contents = (0, smithy_client_1._json)(data);
|
|
476
734
|
const response = {
|
|
477
735
|
$metadata: deserializeMetadata(output),
|
|
478
736
|
...contents,
|
|
479
737
|
};
|
|
480
738
|
return response;
|
|
481
739
|
};
|
|
482
|
-
exports.
|
|
483
|
-
const
|
|
740
|
+
exports.de_CreateApplicationAssignmentCommand = de_CreateApplicationAssignmentCommand;
|
|
741
|
+
const de_CreateApplicationAssignmentCommandError = async (output, context) => {
|
|
484
742
|
const parsedOutput = {
|
|
485
743
|
...output,
|
|
486
744
|
body: await parseErrorBody(output.body, context),
|
|
@@ -517,21 +775,21 @@ const de_CreatePermissionSetCommandError = async (output, context) => {
|
|
|
517
775
|
});
|
|
518
776
|
}
|
|
519
777
|
};
|
|
520
|
-
const
|
|
778
|
+
const de_CreateInstanceCommand = async (output, context) => {
|
|
521
779
|
if (output.statusCode >= 300) {
|
|
522
|
-
return
|
|
780
|
+
return de_CreateInstanceCommandError(output, context);
|
|
523
781
|
}
|
|
524
782
|
const data = await parseBody(output.body, context);
|
|
525
783
|
let contents = {};
|
|
526
|
-
contents =
|
|
784
|
+
contents = (0, smithy_client_1._json)(data);
|
|
527
785
|
const response = {
|
|
528
786
|
$metadata: deserializeMetadata(output),
|
|
529
787
|
...contents,
|
|
530
788
|
};
|
|
531
789
|
return response;
|
|
532
790
|
};
|
|
533
|
-
exports.
|
|
534
|
-
const
|
|
791
|
+
exports.de_CreateInstanceCommand = de_CreateInstanceCommand;
|
|
792
|
+
const de_CreateInstanceCommandError = async (output, context) => {
|
|
535
793
|
const parsedOutput = {
|
|
536
794
|
...output,
|
|
537
795
|
body: await parseErrorBody(output.body, context),
|
|
@@ -547,9 +805,9 @@ const de_DeleteAccountAssignmentCommandError = async (output, context) => {
|
|
|
547
805
|
case "InternalServerException":
|
|
548
806
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
549
807
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
550
|
-
case "
|
|
551
|
-
case "com.amazonaws.ssoadmin#
|
|
552
|
-
throw await
|
|
808
|
+
case "ServiceQuotaExceededException":
|
|
809
|
+
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
810
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
553
811
|
case "ThrottlingException":
|
|
554
812
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
555
813
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -565,9 +823,9 @@ const de_DeleteAccountAssignmentCommandError = async (output, context) => {
|
|
|
565
823
|
});
|
|
566
824
|
}
|
|
567
825
|
};
|
|
568
|
-
const
|
|
826
|
+
const de_CreateInstanceAccessControlAttributeConfigurationCommand = async (output, context) => {
|
|
569
827
|
if (output.statusCode >= 300) {
|
|
570
|
-
return
|
|
828
|
+
return de_CreateInstanceAccessControlAttributeConfigurationCommandError(output, context);
|
|
571
829
|
}
|
|
572
830
|
const data = await parseBody(output.body, context);
|
|
573
831
|
let contents = {};
|
|
@@ -578,8 +836,8 @@ const de_DeleteInlinePolicyFromPermissionSetCommand = async (output, context) =>
|
|
|
578
836
|
};
|
|
579
837
|
return response;
|
|
580
838
|
};
|
|
581
|
-
exports.
|
|
582
|
-
const
|
|
839
|
+
exports.de_CreateInstanceAccessControlAttributeConfigurationCommand = de_CreateInstanceAccessControlAttributeConfigurationCommand;
|
|
840
|
+
const de_CreateInstanceAccessControlAttributeConfigurationCommandError = async (output, context) => {
|
|
583
841
|
const parsedOutput = {
|
|
584
842
|
...output,
|
|
585
843
|
body: await parseErrorBody(output.body, context),
|
|
@@ -613,21 +871,21 @@ const de_DeleteInlinePolicyFromPermissionSetCommandError = async (output, contex
|
|
|
613
871
|
});
|
|
614
872
|
}
|
|
615
873
|
};
|
|
616
|
-
const
|
|
874
|
+
const de_CreatePermissionSetCommand = async (output, context) => {
|
|
617
875
|
if (output.statusCode >= 300) {
|
|
618
|
-
return
|
|
876
|
+
return de_CreatePermissionSetCommandError(output, context);
|
|
619
877
|
}
|
|
620
878
|
const data = await parseBody(output.body, context);
|
|
621
879
|
let contents = {};
|
|
622
|
-
contents = (
|
|
880
|
+
contents = de_CreatePermissionSetResponse(data, context);
|
|
623
881
|
const response = {
|
|
624
882
|
$metadata: deserializeMetadata(output),
|
|
625
883
|
...contents,
|
|
626
884
|
};
|
|
627
885
|
return response;
|
|
628
886
|
};
|
|
629
|
-
exports.
|
|
630
|
-
const
|
|
887
|
+
exports.de_CreatePermissionSetCommand = de_CreatePermissionSetCommand;
|
|
888
|
+
const de_CreatePermissionSetCommandError = async (output, context) => {
|
|
631
889
|
const parsedOutput = {
|
|
632
890
|
...output,
|
|
633
891
|
body: await parseErrorBody(output.body, context),
|
|
@@ -646,6 +904,9 @@ const de_DeleteInstanceAccessControlAttributeConfigurationCommandError = async (
|
|
|
646
904
|
case "ResourceNotFoundException":
|
|
647
905
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
648
906
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
907
|
+
case "ServiceQuotaExceededException":
|
|
908
|
+
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
909
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
649
910
|
case "ThrottlingException":
|
|
650
911
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
651
912
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -661,9 +922,9 @@ const de_DeleteInstanceAccessControlAttributeConfigurationCommandError = async (
|
|
|
661
922
|
});
|
|
662
923
|
}
|
|
663
924
|
};
|
|
664
|
-
const
|
|
925
|
+
const de_CreateTrustedTokenIssuerCommand = async (output, context) => {
|
|
665
926
|
if (output.statusCode >= 300) {
|
|
666
|
-
return
|
|
927
|
+
return de_CreateTrustedTokenIssuerCommandError(output, context);
|
|
667
928
|
}
|
|
668
929
|
const data = await parseBody(output.body, context);
|
|
669
930
|
let contents = {};
|
|
@@ -674,8 +935,8 @@ const de_DeletePermissionsBoundaryFromPermissionSetCommand = async (output, cont
|
|
|
674
935
|
};
|
|
675
936
|
return response;
|
|
676
937
|
};
|
|
677
|
-
exports.
|
|
678
|
-
const
|
|
938
|
+
exports.de_CreateTrustedTokenIssuerCommand = de_CreateTrustedTokenIssuerCommand;
|
|
939
|
+
const de_CreateTrustedTokenIssuerCommandError = async (output, context) => {
|
|
679
940
|
const parsedOutput = {
|
|
680
941
|
...output,
|
|
681
942
|
body: await parseErrorBody(output.body, context),
|
|
@@ -685,12 +946,15 @@ const de_DeletePermissionsBoundaryFromPermissionSetCommandError = async (output,
|
|
|
685
946
|
case "AccessDeniedException":
|
|
686
947
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
687
948
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
949
|
+
case "ConflictException":
|
|
950
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
951
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
688
952
|
case "InternalServerException":
|
|
689
953
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
690
954
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
691
|
-
case "
|
|
692
|
-
case "com.amazonaws.ssoadmin#
|
|
693
|
-
throw await
|
|
955
|
+
case "ServiceQuotaExceededException":
|
|
956
|
+
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
957
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
694
958
|
case "ThrottlingException":
|
|
695
959
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
696
960
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -706,21 +970,21 @@ const de_DeletePermissionsBoundaryFromPermissionSetCommandError = async (output,
|
|
|
706
970
|
});
|
|
707
971
|
}
|
|
708
972
|
};
|
|
709
|
-
const
|
|
973
|
+
const de_DeleteAccountAssignmentCommand = async (output, context) => {
|
|
710
974
|
if (output.statusCode >= 300) {
|
|
711
|
-
return
|
|
975
|
+
return de_DeleteAccountAssignmentCommandError(output, context);
|
|
712
976
|
}
|
|
713
977
|
const data = await parseBody(output.body, context);
|
|
714
978
|
let contents = {};
|
|
715
|
-
contents = (
|
|
979
|
+
contents = de_DeleteAccountAssignmentResponse(data, context);
|
|
716
980
|
const response = {
|
|
717
981
|
$metadata: deserializeMetadata(output),
|
|
718
982
|
...contents,
|
|
719
983
|
};
|
|
720
984
|
return response;
|
|
721
985
|
};
|
|
722
|
-
exports.
|
|
723
|
-
const
|
|
986
|
+
exports.de_DeleteAccountAssignmentCommand = de_DeleteAccountAssignmentCommand;
|
|
987
|
+
const de_DeleteAccountAssignmentCommandError = async (output, context) => {
|
|
724
988
|
const parsedOutput = {
|
|
725
989
|
...output,
|
|
726
990
|
body: await parseErrorBody(output.body, context),
|
|
@@ -754,21 +1018,21 @@ const de_DeletePermissionSetCommandError = async (output, context) => {
|
|
|
754
1018
|
});
|
|
755
1019
|
}
|
|
756
1020
|
};
|
|
757
|
-
const
|
|
1021
|
+
const de_DeleteApplicationCommand = async (output, context) => {
|
|
758
1022
|
if (output.statusCode >= 300) {
|
|
759
|
-
return
|
|
1023
|
+
return de_DeleteApplicationCommandError(output, context);
|
|
760
1024
|
}
|
|
761
1025
|
const data = await parseBody(output.body, context);
|
|
762
1026
|
let contents = {};
|
|
763
|
-
contents =
|
|
1027
|
+
contents = (0, smithy_client_1._json)(data);
|
|
764
1028
|
const response = {
|
|
765
1029
|
$metadata: deserializeMetadata(output),
|
|
766
1030
|
...contents,
|
|
767
1031
|
};
|
|
768
1032
|
return response;
|
|
769
1033
|
};
|
|
770
|
-
exports.
|
|
771
|
-
const
|
|
1034
|
+
exports.de_DeleteApplicationCommand = de_DeleteApplicationCommand;
|
|
1035
|
+
const de_DeleteApplicationCommandError = async (output, context) => {
|
|
772
1036
|
const parsedOutput = {
|
|
773
1037
|
...output,
|
|
774
1038
|
body: await parseErrorBody(output.body, context),
|
|
@@ -778,6 +1042,9 @@ const de_DescribeAccountAssignmentCreationStatusCommandError = async (output, co
|
|
|
778
1042
|
case "AccessDeniedException":
|
|
779
1043
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
780
1044
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1045
|
+
case "ConflictException":
|
|
1046
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1047
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
781
1048
|
case "InternalServerException":
|
|
782
1049
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
783
1050
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -799,21 +1066,18 @@ const de_DescribeAccountAssignmentCreationStatusCommandError = async (output, co
|
|
|
799
1066
|
});
|
|
800
1067
|
}
|
|
801
1068
|
};
|
|
802
|
-
const
|
|
1069
|
+
const de_DeleteApplicationAccessScopeCommand = async (output, context) => {
|
|
803
1070
|
if (output.statusCode >= 300) {
|
|
804
|
-
return
|
|
1071
|
+
return de_DeleteApplicationAccessScopeCommandError(output, context);
|
|
805
1072
|
}
|
|
806
|
-
|
|
807
|
-
let contents = {};
|
|
808
|
-
contents = de_DescribeAccountAssignmentDeletionStatusResponse(data, context);
|
|
1073
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
809
1074
|
const response = {
|
|
810
1075
|
$metadata: deserializeMetadata(output),
|
|
811
|
-
...contents,
|
|
812
1076
|
};
|
|
813
1077
|
return response;
|
|
814
1078
|
};
|
|
815
|
-
exports.
|
|
816
|
-
const
|
|
1079
|
+
exports.de_DeleteApplicationAccessScopeCommand = de_DeleteApplicationAccessScopeCommand;
|
|
1080
|
+
const de_DeleteApplicationAccessScopeCommandError = async (output, context) => {
|
|
817
1081
|
const parsedOutput = {
|
|
818
1082
|
...output,
|
|
819
1083
|
body: await parseErrorBody(output.body, context),
|
|
@@ -823,6 +1087,9 @@ const de_DescribeAccountAssignmentDeletionStatusCommandError = async (output, co
|
|
|
823
1087
|
case "AccessDeniedException":
|
|
824
1088
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
825
1089
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1090
|
+
case "ConflictException":
|
|
1091
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1092
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
826
1093
|
case "InternalServerException":
|
|
827
1094
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
828
1095
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -844,9 +1111,9 @@ const de_DescribeAccountAssignmentDeletionStatusCommandError = async (output, co
|
|
|
844
1111
|
});
|
|
845
1112
|
}
|
|
846
1113
|
};
|
|
847
|
-
const
|
|
1114
|
+
const de_DeleteApplicationAssignmentCommand = async (output, context) => {
|
|
848
1115
|
if (output.statusCode >= 300) {
|
|
849
|
-
return
|
|
1116
|
+
return de_DeleteApplicationAssignmentCommandError(output, context);
|
|
850
1117
|
}
|
|
851
1118
|
const data = await parseBody(output.body, context);
|
|
852
1119
|
let contents = {};
|
|
@@ -857,8 +1124,8 @@ const de_DescribeInstanceAccessControlAttributeConfigurationCommand = async (out
|
|
|
857
1124
|
};
|
|
858
1125
|
return response;
|
|
859
1126
|
};
|
|
860
|
-
exports.
|
|
861
|
-
const
|
|
1127
|
+
exports.de_DeleteApplicationAssignmentCommand = de_DeleteApplicationAssignmentCommand;
|
|
1128
|
+
const de_DeleteApplicationAssignmentCommandError = async (output, context) => {
|
|
862
1129
|
const parsedOutput = {
|
|
863
1130
|
...output,
|
|
864
1131
|
body: await parseErrorBody(output.body, context),
|
|
@@ -868,6 +1135,9 @@ const de_DescribeInstanceAccessControlAttributeConfigurationCommandError = async
|
|
|
868
1135
|
case "AccessDeniedException":
|
|
869
1136
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
870
1137
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1138
|
+
case "ConflictException":
|
|
1139
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1140
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
871
1141
|
case "InternalServerException":
|
|
872
1142
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
873
1143
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -889,21 +1159,18 @@ const de_DescribeInstanceAccessControlAttributeConfigurationCommandError = async
|
|
|
889
1159
|
});
|
|
890
1160
|
}
|
|
891
1161
|
};
|
|
892
|
-
const
|
|
1162
|
+
const de_DeleteApplicationAuthenticationMethodCommand = async (output, context) => {
|
|
893
1163
|
if (output.statusCode >= 300) {
|
|
894
|
-
return
|
|
1164
|
+
return de_DeleteApplicationAuthenticationMethodCommandError(output, context);
|
|
895
1165
|
}
|
|
896
|
-
|
|
897
|
-
let contents = {};
|
|
898
|
-
contents = de_DescribePermissionSetResponse(data, context);
|
|
1166
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
899
1167
|
const response = {
|
|
900
1168
|
$metadata: deserializeMetadata(output),
|
|
901
|
-
...contents,
|
|
902
1169
|
};
|
|
903
1170
|
return response;
|
|
904
1171
|
};
|
|
905
|
-
exports.
|
|
906
|
-
const
|
|
1172
|
+
exports.de_DeleteApplicationAuthenticationMethodCommand = de_DeleteApplicationAuthenticationMethodCommand;
|
|
1173
|
+
const de_DeleteApplicationAuthenticationMethodCommandError = async (output, context) => {
|
|
907
1174
|
const parsedOutput = {
|
|
908
1175
|
...output,
|
|
909
1176
|
body: await parseErrorBody(output.body, context),
|
|
@@ -913,6 +1180,9 @@ const de_DescribePermissionSetCommandError = async (output, context) => {
|
|
|
913
1180
|
case "AccessDeniedException":
|
|
914
1181
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
915
1182
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1183
|
+
case "ConflictException":
|
|
1184
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1185
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
916
1186
|
case "InternalServerException":
|
|
917
1187
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
918
1188
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -934,21 +1204,18 @@ const de_DescribePermissionSetCommandError = async (output, context) => {
|
|
|
934
1204
|
});
|
|
935
1205
|
}
|
|
936
1206
|
};
|
|
937
|
-
const
|
|
1207
|
+
const de_DeleteApplicationGrantCommand = async (output, context) => {
|
|
938
1208
|
if (output.statusCode >= 300) {
|
|
939
|
-
return
|
|
1209
|
+
return de_DeleteApplicationGrantCommandError(output, context);
|
|
940
1210
|
}
|
|
941
|
-
|
|
942
|
-
let contents = {};
|
|
943
|
-
contents = de_DescribePermissionSetProvisioningStatusResponse(data, context);
|
|
1211
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
944
1212
|
const response = {
|
|
945
1213
|
$metadata: deserializeMetadata(output),
|
|
946
|
-
...contents,
|
|
947
1214
|
};
|
|
948
1215
|
return response;
|
|
949
1216
|
};
|
|
950
|
-
exports.
|
|
951
|
-
const
|
|
1217
|
+
exports.de_DeleteApplicationGrantCommand = de_DeleteApplicationGrantCommand;
|
|
1218
|
+
const de_DeleteApplicationGrantCommandError = async (output, context) => {
|
|
952
1219
|
const parsedOutput = {
|
|
953
1220
|
...output,
|
|
954
1221
|
body: await parseErrorBody(output.body, context),
|
|
@@ -958,7 +1225,10 @@ const de_DescribePermissionSetProvisioningStatusCommandError = async (output, co
|
|
|
958
1225
|
case "AccessDeniedException":
|
|
959
1226
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
960
1227
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
961
|
-
case "
|
|
1228
|
+
case "ConflictException":
|
|
1229
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1230
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1231
|
+
case "InternalServerException":
|
|
962
1232
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
963
1233
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
964
1234
|
case "ResourceNotFoundException":
|
|
@@ -979,9 +1249,9 @@ const de_DescribePermissionSetProvisioningStatusCommandError = async (output, co
|
|
|
979
1249
|
});
|
|
980
1250
|
}
|
|
981
1251
|
};
|
|
982
|
-
const
|
|
1252
|
+
const de_DeleteInlinePolicyFromPermissionSetCommand = async (output, context) => {
|
|
983
1253
|
if (output.statusCode >= 300) {
|
|
984
|
-
return
|
|
1254
|
+
return de_DeleteInlinePolicyFromPermissionSetCommandError(output, context);
|
|
985
1255
|
}
|
|
986
1256
|
const data = await parseBody(output.body, context);
|
|
987
1257
|
let contents = {};
|
|
@@ -992,8 +1262,8 @@ const de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = async (o
|
|
|
992
1262
|
};
|
|
993
1263
|
return response;
|
|
994
1264
|
};
|
|
995
|
-
exports.
|
|
996
|
-
const
|
|
1265
|
+
exports.de_DeleteInlinePolicyFromPermissionSetCommand = de_DeleteInlinePolicyFromPermissionSetCommand;
|
|
1266
|
+
const de_DeleteInlinePolicyFromPermissionSetCommandError = async (output, context) => {
|
|
997
1267
|
const parsedOutput = {
|
|
998
1268
|
...output,
|
|
999
1269
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1027,9 +1297,9 @@ const de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommandError = asy
|
|
|
1027
1297
|
});
|
|
1028
1298
|
}
|
|
1029
1299
|
};
|
|
1030
|
-
const
|
|
1300
|
+
const de_DeleteInstanceCommand = async (output, context) => {
|
|
1031
1301
|
if (output.statusCode >= 300) {
|
|
1032
|
-
return
|
|
1302
|
+
return de_DeleteInstanceCommandError(output, context);
|
|
1033
1303
|
}
|
|
1034
1304
|
const data = await parseBody(output.body, context);
|
|
1035
1305
|
let contents = {};
|
|
@@ -1040,8 +1310,53 @@ const de_DetachManagedPolicyFromPermissionSetCommand = async (output, context) =
|
|
|
1040
1310
|
};
|
|
1041
1311
|
return response;
|
|
1042
1312
|
};
|
|
1043
|
-
exports.
|
|
1044
|
-
const
|
|
1313
|
+
exports.de_DeleteInstanceCommand = de_DeleteInstanceCommand;
|
|
1314
|
+
const de_DeleteInstanceCommandError = async (output, context) => {
|
|
1315
|
+
const parsedOutput = {
|
|
1316
|
+
...output,
|
|
1317
|
+
body: await parseErrorBody(output.body, context),
|
|
1318
|
+
};
|
|
1319
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1320
|
+
switch (errorCode) {
|
|
1321
|
+
case "AccessDeniedException":
|
|
1322
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1323
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1324
|
+
case "ConflictException":
|
|
1325
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1326
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1327
|
+
case "InternalServerException":
|
|
1328
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1329
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1330
|
+
case "ThrottlingException":
|
|
1331
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1332
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1333
|
+
case "ValidationException":
|
|
1334
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1335
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1336
|
+
default:
|
|
1337
|
+
const parsedBody = parsedOutput.body;
|
|
1338
|
+
return throwDefaultError({
|
|
1339
|
+
output,
|
|
1340
|
+
parsedBody,
|
|
1341
|
+
errorCode,
|
|
1342
|
+
});
|
|
1343
|
+
}
|
|
1344
|
+
};
|
|
1345
|
+
const de_DeleteInstanceAccessControlAttributeConfigurationCommand = async (output, context) => {
|
|
1346
|
+
if (output.statusCode >= 300) {
|
|
1347
|
+
return de_DeleteInstanceAccessControlAttributeConfigurationCommandError(output, context);
|
|
1348
|
+
}
|
|
1349
|
+
const data = await parseBody(output.body, context);
|
|
1350
|
+
let contents = {};
|
|
1351
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1352
|
+
const response = {
|
|
1353
|
+
$metadata: deserializeMetadata(output),
|
|
1354
|
+
...contents,
|
|
1355
|
+
};
|
|
1356
|
+
return response;
|
|
1357
|
+
};
|
|
1358
|
+
exports.de_DeleteInstanceAccessControlAttributeConfigurationCommand = de_DeleteInstanceAccessControlAttributeConfigurationCommand;
|
|
1359
|
+
const de_DeleteInstanceAccessControlAttributeConfigurationCommandError = async (output, context) => {
|
|
1045
1360
|
const parsedOutput = {
|
|
1046
1361
|
...output,
|
|
1047
1362
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1075,9 +1390,9 @@ const de_DetachManagedPolicyFromPermissionSetCommandError = async (output, conte
|
|
|
1075
1390
|
});
|
|
1076
1391
|
}
|
|
1077
1392
|
};
|
|
1078
|
-
const
|
|
1393
|
+
const de_DeletePermissionsBoundaryFromPermissionSetCommand = async (output, context) => {
|
|
1079
1394
|
if (output.statusCode >= 300) {
|
|
1080
|
-
return
|
|
1395
|
+
return de_DeletePermissionsBoundaryFromPermissionSetCommandError(output, context);
|
|
1081
1396
|
}
|
|
1082
1397
|
const data = await parseBody(output.body, context);
|
|
1083
1398
|
let contents = {};
|
|
@@ -1088,8 +1403,8 @@ const de_GetInlinePolicyForPermissionSetCommand = async (output, context) => {
|
|
|
1088
1403
|
};
|
|
1089
1404
|
return response;
|
|
1090
1405
|
};
|
|
1091
|
-
exports.
|
|
1092
|
-
const
|
|
1406
|
+
exports.de_DeletePermissionsBoundaryFromPermissionSetCommand = de_DeletePermissionsBoundaryFromPermissionSetCommand;
|
|
1407
|
+
const de_DeletePermissionsBoundaryFromPermissionSetCommandError = async (output, context) => {
|
|
1093
1408
|
const parsedOutput = {
|
|
1094
1409
|
...output,
|
|
1095
1410
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1099,6 +1414,9 @@ const de_GetInlinePolicyForPermissionSetCommandError = async (output, context) =
|
|
|
1099
1414
|
case "AccessDeniedException":
|
|
1100
1415
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1101
1416
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1417
|
+
case "ConflictException":
|
|
1418
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1419
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1102
1420
|
case "InternalServerException":
|
|
1103
1421
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1104
1422
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -1120,9 +1438,9 @@ const de_GetInlinePolicyForPermissionSetCommandError = async (output, context) =
|
|
|
1120
1438
|
});
|
|
1121
1439
|
}
|
|
1122
1440
|
};
|
|
1123
|
-
const
|
|
1441
|
+
const de_DeletePermissionSetCommand = async (output, context) => {
|
|
1124
1442
|
if (output.statusCode >= 300) {
|
|
1125
|
-
return
|
|
1443
|
+
return de_DeletePermissionSetCommandError(output, context);
|
|
1126
1444
|
}
|
|
1127
1445
|
const data = await parseBody(output.body, context);
|
|
1128
1446
|
let contents = {};
|
|
@@ -1133,8 +1451,1583 @@ const de_GetPermissionsBoundaryForPermissionSetCommand = async (output, context)
|
|
|
1133
1451
|
};
|
|
1134
1452
|
return response;
|
|
1135
1453
|
};
|
|
1136
|
-
exports.
|
|
1137
|
-
const
|
|
1454
|
+
exports.de_DeletePermissionSetCommand = de_DeletePermissionSetCommand;
|
|
1455
|
+
const de_DeletePermissionSetCommandError = async (output, context) => {
|
|
1456
|
+
const parsedOutput = {
|
|
1457
|
+
...output,
|
|
1458
|
+
body: await parseErrorBody(output.body, context),
|
|
1459
|
+
};
|
|
1460
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1461
|
+
switch (errorCode) {
|
|
1462
|
+
case "AccessDeniedException":
|
|
1463
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1464
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1465
|
+
case "ConflictException":
|
|
1466
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1467
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1468
|
+
case "InternalServerException":
|
|
1469
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1470
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1471
|
+
case "ResourceNotFoundException":
|
|
1472
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1473
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1474
|
+
case "ThrottlingException":
|
|
1475
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1476
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1477
|
+
case "ValidationException":
|
|
1478
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1479
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1480
|
+
default:
|
|
1481
|
+
const parsedBody = parsedOutput.body;
|
|
1482
|
+
return throwDefaultError({
|
|
1483
|
+
output,
|
|
1484
|
+
parsedBody,
|
|
1485
|
+
errorCode,
|
|
1486
|
+
});
|
|
1487
|
+
}
|
|
1488
|
+
};
|
|
1489
|
+
const de_DeleteTrustedTokenIssuerCommand = async (output, context) => {
|
|
1490
|
+
if (output.statusCode >= 300) {
|
|
1491
|
+
return de_DeleteTrustedTokenIssuerCommandError(output, context);
|
|
1492
|
+
}
|
|
1493
|
+
const data = await parseBody(output.body, context);
|
|
1494
|
+
let contents = {};
|
|
1495
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1496
|
+
const response = {
|
|
1497
|
+
$metadata: deserializeMetadata(output),
|
|
1498
|
+
...contents,
|
|
1499
|
+
};
|
|
1500
|
+
return response;
|
|
1501
|
+
};
|
|
1502
|
+
exports.de_DeleteTrustedTokenIssuerCommand = de_DeleteTrustedTokenIssuerCommand;
|
|
1503
|
+
const de_DeleteTrustedTokenIssuerCommandError = async (output, context) => {
|
|
1504
|
+
const parsedOutput = {
|
|
1505
|
+
...output,
|
|
1506
|
+
body: await parseErrorBody(output.body, context),
|
|
1507
|
+
};
|
|
1508
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1509
|
+
switch (errorCode) {
|
|
1510
|
+
case "AccessDeniedException":
|
|
1511
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1512
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1513
|
+
case "ConflictException":
|
|
1514
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1515
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1516
|
+
case "InternalServerException":
|
|
1517
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1518
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1519
|
+
case "ResourceNotFoundException":
|
|
1520
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1521
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1522
|
+
case "ThrottlingException":
|
|
1523
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1524
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1525
|
+
case "ValidationException":
|
|
1526
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1527
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1528
|
+
default:
|
|
1529
|
+
const parsedBody = parsedOutput.body;
|
|
1530
|
+
return throwDefaultError({
|
|
1531
|
+
output,
|
|
1532
|
+
parsedBody,
|
|
1533
|
+
errorCode,
|
|
1534
|
+
});
|
|
1535
|
+
}
|
|
1536
|
+
};
|
|
1537
|
+
const de_DescribeAccountAssignmentCreationStatusCommand = async (output, context) => {
|
|
1538
|
+
if (output.statusCode >= 300) {
|
|
1539
|
+
return de_DescribeAccountAssignmentCreationStatusCommandError(output, context);
|
|
1540
|
+
}
|
|
1541
|
+
const data = await parseBody(output.body, context);
|
|
1542
|
+
let contents = {};
|
|
1543
|
+
contents = de_DescribeAccountAssignmentCreationStatusResponse(data, context);
|
|
1544
|
+
const response = {
|
|
1545
|
+
$metadata: deserializeMetadata(output),
|
|
1546
|
+
...contents,
|
|
1547
|
+
};
|
|
1548
|
+
return response;
|
|
1549
|
+
};
|
|
1550
|
+
exports.de_DescribeAccountAssignmentCreationStatusCommand = de_DescribeAccountAssignmentCreationStatusCommand;
|
|
1551
|
+
const de_DescribeAccountAssignmentCreationStatusCommandError = async (output, context) => {
|
|
1552
|
+
const parsedOutput = {
|
|
1553
|
+
...output,
|
|
1554
|
+
body: await parseErrorBody(output.body, context),
|
|
1555
|
+
};
|
|
1556
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1557
|
+
switch (errorCode) {
|
|
1558
|
+
case "AccessDeniedException":
|
|
1559
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1560
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1561
|
+
case "InternalServerException":
|
|
1562
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1563
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1564
|
+
case "ResourceNotFoundException":
|
|
1565
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1566
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1567
|
+
case "ThrottlingException":
|
|
1568
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1569
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1570
|
+
case "ValidationException":
|
|
1571
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1572
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1573
|
+
default:
|
|
1574
|
+
const parsedBody = parsedOutput.body;
|
|
1575
|
+
return throwDefaultError({
|
|
1576
|
+
output,
|
|
1577
|
+
parsedBody,
|
|
1578
|
+
errorCode,
|
|
1579
|
+
});
|
|
1580
|
+
}
|
|
1581
|
+
};
|
|
1582
|
+
const de_DescribeAccountAssignmentDeletionStatusCommand = async (output, context) => {
|
|
1583
|
+
if (output.statusCode >= 300) {
|
|
1584
|
+
return de_DescribeAccountAssignmentDeletionStatusCommandError(output, context);
|
|
1585
|
+
}
|
|
1586
|
+
const data = await parseBody(output.body, context);
|
|
1587
|
+
let contents = {};
|
|
1588
|
+
contents = de_DescribeAccountAssignmentDeletionStatusResponse(data, context);
|
|
1589
|
+
const response = {
|
|
1590
|
+
$metadata: deserializeMetadata(output),
|
|
1591
|
+
...contents,
|
|
1592
|
+
};
|
|
1593
|
+
return response;
|
|
1594
|
+
};
|
|
1595
|
+
exports.de_DescribeAccountAssignmentDeletionStatusCommand = de_DescribeAccountAssignmentDeletionStatusCommand;
|
|
1596
|
+
const de_DescribeAccountAssignmentDeletionStatusCommandError = async (output, context) => {
|
|
1597
|
+
const parsedOutput = {
|
|
1598
|
+
...output,
|
|
1599
|
+
body: await parseErrorBody(output.body, context),
|
|
1600
|
+
};
|
|
1601
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1602
|
+
switch (errorCode) {
|
|
1603
|
+
case "AccessDeniedException":
|
|
1604
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1605
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1606
|
+
case "InternalServerException":
|
|
1607
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1608
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1609
|
+
case "ResourceNotFoundException":
|
|
1610
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1611
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1612
|
+
case "ThrottlingException":
|
|
1613
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1614
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1615
|
+
case "ValidationException":
|
|
1616
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1617
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1618
|
+
default:
|
|
1619
|
+
const parsedBody = parsedOutput.body;
|
|
1620
|
+
return throwDefaultError({
|
|
1621
|
+
output,
|
|
1622
|
+
parsedBody,
|
|
1623
|
+
errorCode,
|
|
1624
|
+
});
|
|
1625
|
+
}
|
|
1626
|
+
};
|
|
1627
|
+
const de_DescribeApplicationCommand = async (output, context) => {
|
|
1628
|
+
if (output.statusCode >= 300) {
|
|
1629
|
+
return de_DescribeApplicationCommandError(output, context);
|
|
1630
|
+
}
|
|
1631
|
+
const data = await parseBody(output.body, context);
|
|
1632
|
+
let contents = {};
|
|
1633
|
+
contents = de_DescribeApplicationResponse(data, context);
|
|
1634
|
+
const response = {
|
|
1635
|
+
$metadata: deserializeMetadata(output),
|
|
1636
|
+
...contents,
|
|
1637
|
+
};
|
|
1638
|
+
return response;
|
|
1639
|
+
};
|
|
1640
|
+
exports.de_DescribeApplicationCommand = de_DescribeApplicationCommand;
|
|
1641
|
+
const de_DescribeApplicationCommandError = async (output, context) => {
|
|
1642
|
+
const parsedOutput = {
|
|
1643
|
+
...output,
|
|
1644
|
+
body: await parseErrorBody(output.body, context),
|
|
1645
|
+
};
|
|
1646
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1647
|
+
switch (errorCode) {
|
|
1648
|
+
case "AccessDeniedException":
|
|
1649
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1650
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1651
|
+
case "InternalServerException":
|
|
1652
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1653
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1654
|
+
case "ResourceNotFoundException":
|
|
1655
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1656
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1657
|
+
case "ThrottlingException":
|
|
1658
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1659
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1660
|
+
case "ValidationException":
|
|
1661
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1662
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1663
|
+
default:
|
|
1664
|
+
const parsedBody = parsedOutput.body;
|
|
1665
|
+
return throwDefaultError({
|
|
1666
|
+
output,
|
|
1667
|
+
parsedBody,
|
|
1668
|
+
errorCode,
|
|
1669
|
+
});
|
|
1670
|
+
}
|
|
1671
|
+
};
|
|
1672
|
+
const de_DescribeApplicationAssignmentCommand = async (output, context) => {
|
|
1673
|
+
if (output.statusCode >= 300) {
|
|
1674
|
+
return de_DescribeApplicationAssignmentCommandError(output, context);
|
|
1675
|
+
}
|
|
1676
|
+
const data = await parseBody(output.body, context);
|
|
1677
|
+
let contents = {};
|
|
1678
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1679
|
+
const response = {
|
|
1680
|
+
$metadata: deserializeMetadata(output),
|
|
1681
|
+
...contents,
|
|
1682
|
+
};
|
|
1683
|
+
return response;
|
|
1684
|
+
};
|
|
1685
|
+
exports.de_DescribeApplicationAssignmentCommand = de_DescribeApplicationAssignmentCommand;
|
|
1686
|
+
const de_DescribeApplicationAssignmentCommandError = async (output, context) => {
|
|
1687
|
+
const parsedOutput = {
|
|
1688
|
+
...output,
|
|
1689
|
+
body: await parseErrorBody(output.body, context),
|
|
1690
|
+
};
|
|
1691
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1692
|
+
switch (errorCode) {
|
|
1693
|
+
case "AccessDeniedException":
|
|
1694
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1695
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1696
|
+
case "InternalServerException":
|
|
1697
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1698
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1699
|
+
case "ResourceNotFoundException":
|
|
1700
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1701
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1702
|
+
case "ThrottlingException":
|
|
1703
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1704
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1705
|
+
case "ValidationException":
|
|
1706
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1707
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1708
|
+
default:
|
|
1709
|
+
const parsedBody = parsedOutput.body;
|
|
1710
|
+
return throwDefaultError({
|
|
1711
|
+
output,
|
|
1712
|
+
parsedBody,
|
|
1713
|
+
errorCode,
|
|
1714
|
+
});
|
|
1715
|
+
}
|
|
1716
|
+
};
|
|
1717
|
+
const de_DescribeApplicationProviderCommand = async (output, context) => {
|
|
1718
|
+
if (output.statusCode >= 300) {
|
|
1719
|
+
return de_DescribeApplicationProviderCommandError(output, context);
|
|
1720
|
+
}
|
|
1721
|
+
const data = await parseBody(output.body, context);
|
|
1722
|
+
let contents = {};
|
|
1723
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1724
|
+
const response = {
|
|
1725
|
+
$metadata: deserializeMetadata(output),
|
|
1726
|
+
...contents,
|
|
1727
|
+
};
|
|
1728
|
+
return response;
|
|
1729
|
+
};
|
|
1730
|
+
exports.de_DescribeApplicationProviderCommand = de_DescribeApplicationProviderCommand;
|
|
1731
|
+
const de_DescribeApplicationProviderCommandError = async (output, context) => {
|
|
1732
|
+
const parsedOutput = {
|
|
1733
|
+
...output,
|
|
1734
|
+
body: await parseErrorBody(output.body, context),
|
|
1735
|
+
};
|
|
1736
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1737
|
+
switch (errorCode) {
|
|
1738
|
+
case "AccessDeniedException":
|
|
1739
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1740
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1741
|
+
case "InternalServerException":
|
|
1742
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1743
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1744
|
+
case "ResourceNotFoundException":
|
|
1745
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1746
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1747
|
+
case "ThrottlingException":
|
|
1748
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1749
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1750
|
+
case "ValidationException":
|
|
1751
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1752
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1753
|
+
default:
|
|
1754
|
+
const parsedBody = parsedOutput.body;
|
|
1755
|
+
return throwDefaultError({
|
|
1756
|
+
output,
|
|
1757
|
+
parsedBody,
|
|
1758
|
+
errorCode,
|
|
1759
|
+
});
|
|
1760
|
+
}
|
|
1761
|
+
};
|
|
1762
|
+
const de_DescribeInstanceCommand = async (output, context) => {
|
|
1763
|
+
if (output.statusCode >= 300) {
|
|
1764
|
+
return de_DescribeInstanceCommandError(output, context);
|
|
1765
|
+
}
|
|
1766
|
+
const data = await parseBody(output.body, context);
|
|
1767
|
+
let contents = {};
|
|
1768
|
+
contents = de_DescribeInstanceResponse(data, context);
|
|
1769
|
+
const response = {
|
|
1770
|
+
$metadata: deserializeMetadata(output),
|
|
1771
|
+
...contents,
|
|
1772
|
+
};
|
|
1773
|
+
return response;
|
|
1774
|
+
};
|
|
1775
|
+
exports.de_DescribeInstanceCommand = de_DescribeInstanceCommand;
|
|
1776
|
+
const de_DescribeInstanceCommandError = async (output, context) => {
|
|
1777
|
+
const parsedOutput = {
|
|
1778
|
+
...output,
|
|
1779
|
+
body: await parseErrorBody(output.body, context),
|
|
1780
|
+
};
|
|
1781
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1782
|
+
switch (errorCode) {
|
|
1783
|
+
case "AccessDeniedException":
|
|
1784
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1785
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1786
|
+
case "InternalServerException":
|
|
1787
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1788
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1789
|
+
case "ThrottlingException":
|
|
1790
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1791
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1792
|
+
case "ValidationException":
|
|
1793
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1794
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1795
|
+
default:
|
|
1796
|
+
const parsedBody = parsedOutput.body;
|
|
1797
|
+
return throwDefaultError({
|
|
1798
|
+
output,
|
|
1799
|
+
parsedBody,
|
|
1800
|
+
errorCode,
|
|
1801
|
+
});
|
|
1802
|
+
}
|
|
1803
|
+
};
|
|
1804
|
+
const de_DescribeInstanceAccessControlAttributeConfigurationCommand = async (output, context) => {
|
|
1805
|
+
if (output.statusCode >= 300) {
|
|
1806
|
+
return de_DescribeInstanceAccessControlAttributeConfigurationCommandError(output, context);
|
|
1807
|
+
}
|
|
1808
|
+
const data = await parseBody(output.body, context);
|
|
1809
|
+
let contents = {};
|
|
1810
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1811
|
+
const response = {
|
|
1812
|
+
$metadata: deserializeMetadata(output),
|
|
1813
|
+
...contents,
|
|
1814
|
+
};
|
|
1815
|
+
return response;
|
|
1816
|
+
};
|
|
1817
|
+
exports.de_DescribeInstanceAccessControlAttributeConfigurationCommand = de_DescribeInstanceAccessControlAttributeConfigurationCommand;
|
|
1818
|
+
const de_DescribeInstanceAccessControlAttributeConfigurationCommandError = async (output, context) => {
|
|
1819
|
+
const parsedOutput = {
|
|
1820
|
+
...output,
|
|
1821
|
+
body: await parseErrorBody(output.body, context),
|
|
1822
|
+
};
|
|
1823
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1824
|
+
switch (errorCode) {
|
|
1825
|
+
case "AccessDeniedException":
|
|
1826
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1827
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1828
|
+
case "InternalServerException":
|
|
1829
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1830
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1831
|
+
case "ResourceNotFoundException":
|
|
1832
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1833
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1834
|
+
case "ThrottlingException":
|
|
1835
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1836
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1837
|
+
case "ValidationException":
|
|
1838
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1839
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1840
|
+
default:
|
|
1841
|
+
const parsedBody = parsedOutput.body;
|
|
1842
|
+
return throwDefaultError({
|
|
1843
|
+
output,
|
|
1844
|
+
parsedBody,
|
|
1845
|
+
errorCode,
|
|
1846
|
+
});
|
|
1847
|
+
}
|
|
1848
|
+
};
|
|
1849
|
+
const de_DescribePermissionSetCommand = async (output, context) => {
|
|
1850
|
+
if (output.statusCode >= 300) {
|
|
1851
|
+
return de_DescribePermissionSetCommandError(output, context);
|
|
1852
|
+
}
|
|
1853
|
+
const data = await parseBody(output.body, context);
|
|
1854
|
+
let contents = {};
|
|
1855
|
+
contents = de_DescribePermissionSetResponse(data, context);
|
|
1856
|
+
const response = {
|
|
1857
|
+
$metadata: deserializeMetadata(output),
|
|
1858
|
+
...contents,
|
|
1859
|
+
};
|
|
1860
|
+
return response;
|
|
1861
|
+
};
|
|
1862
|
+
exports.de_DescribePermissionSetCommand = de_DescribePermissionSetCommand;
|
|
1863
|
+
const de_DescribePermissionSetCommandError = async (output, context) => {
|
|
1864
|
+
const parsedOutput = {
|
|
1865
|
+
...output,
|
|
1866
|
+
body: await parseErrorBody(output.body, context),
|
|
1867
|
+
};
|
|
1868
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1869
|
+
switch (errorCode) {
|
|
1870
|
+
case "AccessDeniedException":
|
|
1871
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1872
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1873
|
+
case "InternalServerException":
|
|
1874
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1875
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1876
|
+
case "ResourceNotFoundException":
|
|
1877
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1878
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1879
|
+
case "ThrottlingException":
|
|
1880
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1881
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1882
|
+
case "ValidationException":
|
|
1883
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1884
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1885
|
+
default:
|
|
1886
|
+
const parsedBody = parsedOutput.body;
|
|
1887
|
+
return throwDefaultError({
|
|
1888
|
+
output,
|
|
1889
|
+
parsedBody,
|
|
1890
|
+
errorCode,
|
|
1891
|
+
});
|
|
1892
|
+
}
|
|
1893
|
+
};
|
|
1894
|
+
const de_DescribePermissionSetProvisioningStatusCommand = async (output, context) => {
|
|
1895
|
+
if (output.statusCode >= 300) {
|
|
1896
|
+
return de_DescribePermissionSetProvisioningStatusCommandError(output, context);
|
|
1897
|
+
}
|
|
1898
|
+
const data = await parseBody(output.body, context);
|
|
1899
|
+
let contents = {};
|
|
1900
|
+
contents = de_DescribePermissionSetProvisioningStatusResponse(data, context);
|
|
1901
|
+
const response = {
|
|
1902
|
+
$metadata: deserializeMetadata(output),
|
|
1903
|
+
...contents,
|
|
1904
|
+
};
|
|
1905
|
+
return response;
|
|
1906
|
+
};
|
|
1907
|
+
exports.de_DescribePermissionSetProvisioningStatusCommand = de_DescribePermissionSetProvisioningStatusCommand;
|
|
1908
|
+
const de_DescribePermissionSetProvisioningStatusCommandError = async (output, context) => {
|
|
1909
|
+
const parsedOutput = {
|
|
1910
|
+
...output,
|
|
1911
|
+
body: await parseErrorBody(output.body, context),
|
|
1912
|
+
};
|
|
1913
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1914
|
+
switch (errorCode) {
|
|
1915
|
+
case "AccessDeniedException":
|
|
1916
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1917
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1918
|
+
case "InternalServerException":
|
|
1919
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1920
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1921
|
+
case "ResourceNotFoundException":
|
|
1922
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1923
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1924
|
+
case "ThrottlingException":
|
|
1925
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1926
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1927
|
+
case "ValidationException":
|
|
1928
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1929
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1930
|
+
default:
|
|
1931
|
+
const parsedBody = parsedOutput.body;
|
|
1932
|
+
return throwDefaultError({
|
|
1933
|
+
output,
|
|
1934
|
+
parsedBody,
|
|
1935
|
+
errorCode,
|
|
1936
|
+
});
|
|
1937
|
+
}
|
|
1938
|
+
};
|
|
1939
|
+
const de_DescribeTrustedTokenIssuerCommand = async (output, context) => {
|
|
1940
|
+
if (output.statusCode >= 300) {
|
|
1941
|
+
return de_DescribeTrustedTokenIssuerCommandError(output, context);
|
|
1942
|
+
}
|
|
1943
|
+
const data = await parseBody(output.body, context);
|
|
1944
|
+
let contents = {};
|
|
1945
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1946
|
+
const response = {
|
|
1947
|
+
$metadata: deserializeMetadata(output),
|
|
1948
|
+
...contents,
|
|
1949
|
+
};
|
|
1950
|
+
return response;
|
|
1951
|
+
};
|
|
1952
|
+
exports.de_DescribeTrustedTokenIssuerCommand = de_DescribeTrustedTokenIssuerCommand;
|
|
1953
|
+
const de_DescribeTrustedTokenIssuerCommandError = async (output, context) => {
|
|
1954
|
+
const parsedOutput = {
|
|
1955
|
+
...output,
|
|
1956
|
+
body: await parseErrorBody(output.body, context),
|
|
1957
|
+
};
|
|
1958
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1959
|
+
switch (errorCode) {
|
|
1960
|
+
case "AccessDeniedException":
|
|
1961
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1962
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1963
|
+
case "InternalServerException":
|
|
1964
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1965
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1966
|
+
case "ResourceNotFoundException":
|
|
1967
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1968
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1969
|
+
case "ThrottlingException":
|
|
1970
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1971
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1972
|
+
case "ValidationException":
|
|
1973
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1974
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1975
|
+
default:
|
|
1976
|
+
const parsedBody = parsedOutput.body;
|
|
1977
|
+
return throwDefaultError({
|
|
1978
|
+
output,
|
|
1979
|
+
parsedBody,
|
|
1980
|
+
errorCode,
|
|
1981
|
+
});
|
|
1982
|
+
}
|
|
1983
|
+
};
|
|
1984
|
+
const de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = async (output, context) => {
|
|
1985
|
+
if (output.statusCode >= 300) {
|
|
1986
|
+
return de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommandError(output, context);
|
|
1987
|
+
}
|
|
1988
|
+
const data = await parseBody(output.body, context);
|
|
1989
|
+
let contents = {};
|
|
1990
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1991
|
+
const response = {
|
|
1992
|
+
$metadata: deserializeMetadata(output),
|
|
1993
|
+
...contents,
|
|
1994
|
+
};
|
|
1995
|
+
return response;
|
|
1996
|
+
};
|
|
1997
|
+
exports.de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand;
|
|
1998
|
+
const de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommandError = async (output, context) => {
|
|
1999
|
+
const parsedOutput = {
|
|
2000
|
+
...output,
|
|
2001
|
+
body: await parseErrorBody(output.body, context),
|
|
2002
|
+
};
|
|
2003
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2004
|
+
switch (errorCode) {
|
|
2005
|
+
case "AccessDeniedException":
|
|
2006
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2007
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2008
|
+
case "ConflictException":
|
|
2009
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
2010
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2011
|
+
case "InternalServerException":
|
|
2012
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2013
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2014
|
+
case "ResourceNotFoundException":
|
|
2015
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2016
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2017
|
+
case "ThrottlingException":
|
|
2018
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2019
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2020
|
+
case "ValidationException":
|
|
2021
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2022
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2023
|
+
default:
|
|
2024
|
+
const parsedBody = parsedOutput.body;
|
|
2025
|
+
return throwDefaultError({
|
|
2026
|
+
output,
|
|
2027
|
+
parsedBody,
|
|
2028
|
+
errorCode,
|
|
2029
|
+
});
|
|
2030
|
+
}
|
|
2031
|
+
};
|
|
2032
|
+
const de_DetachManagedPolicyFromPermissionSetCommand = async (output, context) => {
|
|
2033
|
+
if (output.statusCode >= 300) {
|
|
2034
|
+
return de_DetachManagedPolicyFromPermissionSetCommandError(output, context);
|
|
2035
|
+
}
|
|
2036
|
+
const data = await parseBody(output.body, context);
|
|
2037
|
+
let contents = {};
|
|
2038
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2039
|
+
const response = {
|
|
2040
|
+
$metadata: deserializeMetadata(output),
|
|
2041
|
+
...contents,
|
|
2042
|
+
};
|
|
2043
|
+
return response;
|
|
2044
|
+
};
|
|
2045
|
+
exports.de_DetachManagedPolicyFromPermissionSetCommand = de_DetachManagedPolicyFromPermissionSetCommand;
|
|
2046
|
+
const de_DetachManagedPolicyFromPermissionSetCommandError = async (output, context) => {
|
|
2047
|
+
const parsedOutput = {
|
|
2048
|
+
...output,
|
|
2049
|
+
body: await parseErrorBody(output.body, context),
|
|
2050
|
+
};
|
|
2051
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2052
|
+
switch (errorCode) {
|
|
2053
|
+
case "AccessDeniedException":
|
|
2054
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2055
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2056
|
+
case "ConflictException":
|
|
2057
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
2058
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2059
|
+
case "InternalServerException":
|
|
2060
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2061
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2062
|
+
case "ResourceNotFoundException":
|
|
2063
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2064
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2065
|
+
case "ThrottlingException":
|
|
2066
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2067
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2068
|
+
case "ValidationException":
|
|
2069
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2070
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2071
|
+
default:
|
|
2072
|
+
const parsedBody = parsedOutput.body;
|
|
2073
|
+
return throwDefaultError({
|
|
2074
|
+
output,
|
|
2075
|
+
parsedBody,
|
|
2076
|
+
errorCode,
|
|
2077
|
+
});
|
|
2078
|
+
}
|
|
2079
|
+
};
|
|
2080
|
+
const de_GetApplicationAccessScopeCommand = async (output, context) => {
|
|
2081
|
+
if (output.statusCode >= 300) {
|
|
2082
|
+
return de_GetApplicationAccessScopeCommandError(output, context);
|
|
2083
|
+
}
|
|
2084
|
+
const data = await parseBody(output.body, context);
|
|
2085
|
+
let contents = {};
|
|
2086
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2087
|
+
const response = {
|
|
2088
|
+
$metadata: deserializeMetadata(output),
|
|
2089
|
+
...contents,
|
|
2090
|
+
};
|
|
2091
|
+
return response;
|
|
2092
|
+
};
|
|
2093
|
+
exports.de_GetApplicationAccessScopeCommand = de_GetApplicationAccessScopeCommand;
|
|
2094
|
+
const de_GetApplicationAccessScopeCommandError = async (output, context) => {
|
|
2095
|
+
const parsedOutput = {
|
|
2096
|
+
...output,
|
|
2097
|
+
body: await parseErrorBody(output.body, context),
|
|
2098
|
+
};
|
|
2099
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2100
|
+
switch (errorCode) {
|
|
2101
|
+
case "AccessDeniedException":
|
|
2102
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2103
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2104
|
+
case "InternalServerException":
|
|
2105
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2106
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2107
|
+
case "ResourceNotFoundException":
|
|
2108
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2109
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2110
|
+
case "ThrottlingException":
|
|
2111
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2112
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2113
|
+
case "ValidationException":
|
|
2114
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2115
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2116
|
+
default:
|
|
2117
|
+
const parsedBody = parsedOutput.body;
|
|
2118
|
+
return throwDefaultError({
|
|
2119
|
+
output,
|
|
2120
|
+
parsedBody,
|
|
2121
|
+
errorCode,
|
|
2122
|
+
});
|
|
2123
|
+
}
|
|
2124
|
+
};
|
|
2125
|
+
const de_GetApplicationAssignmentConfigurationCommand = async (output, context) => {
|
|
2126
|
+
if (output.statusCode >= 300) {
|
|
2127
|
+
return de_GetApplicationAssignmentConfigurationCommandError(output, context);
|
|
2128
|
+
}
|
|
2129
|
+
const data = await parseBody(output.body, context);
|
|
2130
|
+
let contents = {};
|
|
2131
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2132
|
+
const response = {
|
|
2133
|
+
$metadata: deserializeMetadata(output),
|
|
2134
|
+
...contents,
|
|
2135
|
+
};
|
|
2136
|
+
return response;
|
|
2137
|
+
};
|
|
2138
|
+
exports.de_GetApplicationAssignmentConfigurationCommand = de_GetApplicationAssignmentConfigurationCommand;
|
|
2139
|
+
const de_GetApplicationAssignmentConfigurationCommandError = async (output, context) => {
|
|
2140
|
+
const parsedOutput = {
|
|
2141
|
+
...output,
|
|
2142
|
+
body: await parseErrorBody(output.body, context),
|
|
2143
|
+
};
|
|
2144
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2145
|
+
switch (errorCode) {
|
|
2146
|
+
case "AccessDeniedException":
|
|
2147
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2148
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2149
|
+
case "InternalServerException":
|
|
2150
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2151
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2152
|
+
case "ResourceNotFoundException":
|
|
2153
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2154
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2155
|
+
case "ThrottlingException":
|
|
2156
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2157
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2158
|
+
case "ValidationException":
|
|
2159
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2160
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2161
|
+
default:
|
|
2162
|
+
const parsedBody = parsedOutput.body;
|
|
2163
|
+
return throwDefaultError({
|
|
2164
|
+
output,
|
|
2165
|
+
parsedBody,
|
|
2166
|
+
errorCode,
|
|
2167
|
+
});
|
|
2168
|
+
}
|
|
2169
|
+
};
|
|
2170
|
+
const de_GetApplicationAuthenticationMethodCommand = async (output, context) => {
|
|
2171
|
+
if (output.statusCode >= 300) {
|
|
2172
|
+
return de_GetApplicationAuthenticationMethodCommandError(output, context);
|
|
2173
|
+
}
|
|
2174
|
+
const data = await parseBody(output.body, context);
|
|
2175
|
+
let contents = {};
|
|
2176
|
+
contents = de_GetApplicationAuthenticationMethodResponse(data, context);
|
|
2177
|
+
const response = {
|
|
2178
|
+
$metadata: deserializeMetadata(output),
|
|
2179
|
+
...contents,
|
|
2180
|
+
};
|
|
2181
|
+
return response;
|
|
2182
|
+
};
|
|
2183
|
+
exports.de_GetApplicationAuthenticationMethodCommand = de_GetApplicationAuthenticationMethodCommand;
|
|
2184
|
+
const de_GetApplicationAuthenticationMethodCommandError = async (output, context) => {
|
|
2185
|
+
const parsedOutput = {
|
|
2186
|
+
...output,
|
|
2187
|
+
body: await parseErrorBody(output.body, context),
|
|
2188
|
+
};
|
|
2189
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2190
|
+
switch (errorCode) {
|
|
2191
|
+
case "AccessDeniedException":
|
|
2192
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2193
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2194
|
+
case "InternalServerException":
|
|
2195
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2196
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2197
|
+
case "ResourceNotFoundException":
|
|
2198
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2199
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2200
|
+
case "ThrottlingException":
|
|
2201
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2202
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2203
|
+
case "ValidationException":
|
|
2204
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2205
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2206
|
+
default:
|
|
2207
|
+
const parsedBody = parsedOutput.body;
|
|
2208
|
+
return throwDefaultError({
|
|
2209
|
+
output,
|
|
2210
|
+
parsedBody,
|
|
2211
|
+
errorCode,
|
|
2212
|
+
});
|
|
2213
|
+
}
|
|
2214
|
+
};
|
|
2215
|
+
const de_GetApplicationGrantCommand = async (output, context) => {
|
|
2216
|
+
if (output.statusCode >= 300) {
|
|
2217
|
+
return de_GetApplicationGrantCommandError(output, context);
|
|
2218
|
+
}
|
|
2219
|
+
const data = await parseBody(output.body, context);
|
|
2220
|
+
let contents = {};
|
|
2221
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2222
|
+
const response = {
|
|
2223
|
+
$metadata: deserializeMetadata(output),
|
|
2224
|
+
...contents,
|
|
2225
|
+
};
|
|
2226
|
+
return response;
|
|
2227
|
+
};
|
|
2228
|
+
exports.de_GetApplicationGrantCommand = de_GetApplicationGrantCommand;
|
|
2229
|
+
const de_GetApplicationGrantCommandError = async (output, context) => {
|
|
2230
|
+
const parsedOutput = {
|
|
2231
|
+
...output,
|
|
2232
|
+
body: await parseErrorBody(output.body, context),
|
|
2233
|
+
};
|
|
2234
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2235
|
+
switch (errorCode) {
|
|
2236
|
+
case "AccessDeniedException":
|
|
2237
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2238
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2239
|
+
case "InternalServerException":
|
|
2240
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2241
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2242
|
+
case "ResourceNotFoundException":
|
|
2243
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2244
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2245
|
+
case "ThrottlingException":
|
|
2246
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2247
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2248
|
+
case "ValidationException":
|
|
2249
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2250
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2251
|
+
default:
|
|
2252
|
+
const parsedBody = parsedOutput.body;
|
|
2253
|
+
return throwDefaultError({
|
|
2254
|
+
output,
|
|
2255
|
+
parsedBody,
|
|
2256
|
+
errorCode,
|
|
2257
|
+
});
|
|
2258
|
+
}
|
|
2259
|
+
};
|
|
2260
|
+
const de_GetInlinePolicyForPermissionSetCommand = async (output, context) => {
|
|
2261
|
+
if (output.statusCode >= 300) {
|
|
2262
|
+
return de_GetInlinePolicyForPermissionSetCommandError(output, context);
|
|
2263
|
+
}
|
|
2264
|
+
const data = await parseBody(output.body, context);
|
|
2265
|
+
let contents = {};
|
|
2266
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2267
|
+
const response = {
|
|
2268
|
+
$metadata: deserializeMetadata(output),
|
|
2269
|
+
...contents,
|
|
2270
|
+
};
|
|
2271
|
+
return response;
|
|
2272
|
+
};
|
|
2273
|
+
exports.de_GetInlinePolicyForPermissionSetCommand = de_GetInlinePolicyForPermissionSetCommand;
|
|
2274
|
+
const de_GetInlinePolicyForPermissionSetCommandError = async (output, context) => {
|
|
2275
|
+
const parsedOutput = {
|
|
2276
|
+
...output,
|
|
2277
|
+
body: await parseErrorBody(output.body, context),
|
|
2278
|
+
};
|
|
2279
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2280
|
+
switch (errorCode) {
|
|
2281
|
+
case "AccessDeniedException":
|
|
2282
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2283
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2284
|
+
case "InternalServerException":
|
|
2285
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2286
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2287
|
+
case "ResourceNotFoundException":
|
|
2288
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2289
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2290
|
+
case "ThrottlingException":
|
|
2291
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2292
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2293
|
+
case "ValidationException":
|
|
2294
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2295
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2296
|
+
default:
|
|
2297
|
+
const parsedBody = parsedOutput.body;
|
|
2298
|
+
return throwDefaultError({
|
|
2299
|
+
output,
|
|
2300
|
+
parsedBody,
|
|
2301
|
+
errorCode,
|
|
2302
|
+
});
|
|
2303
|
+
}
|
|
2304
|
+
};
|
|
2305
|
+
const de_GetPermissionsBoundaryForPermissionSetCommand = async (output, context) => {
|
|
2306
|
+
if (output.statusCode >= 300) {
|
|
2307
|
+
return de_GetPermissionsBoundaryForPermissionSetCommandError(output, context);
|
|
2308
|
+
}
|
|
2309
|
+
const data = await parseBody(output.body, context);
|
|
2310
|
+
let contents = {};
|
|
2311
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2312
|
+
const response = {
|
|
2313
|
+
$metadata: deserializeMetadata(output),
|
|
2314
|
+
...contents,
|
|
2315
|
+
};
|
|
2316
|
+
return response;
|
|
2317
|
+
};
|
|
2318
|
+
exports.de_GetPermissionsBoundaryForPermissionSetCommand = de_GetPermissionsBoundaryForPermissionSetCommand;
|
|
2319
|
+
const de_GetPermissionsBoundaryForPermissionSetCommandError = async (output, context) => {
|
|
2320
|
+
const parsedOutput = {
|
|
2321
|
+
...output,
|
|
2322
|
+
body: await parseErrorBody(output.body, context),
|
|
2323
|
+
};
|
|
2324
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2325
|
+
switch (errorCode) {
|
|
2326
|
+
case "AccessDeniedException":
|
|
2327
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2328
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2329
|
+
case "InternalServerException":
|
|
2330
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2331
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2332
|
+
case "ResourceNotFoundException":
|
|
2333
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2334
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2335
|
+
case "ThrottlingException":
|
|
2336
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2337
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2338
|
+
case "ValidationException":
|
|
2339
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2340
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2341
|
+
default:
|
|
2342
|
+
const parsedBody = parsedOutput.body;
|
|
2343
|
+
return throwDefaultError({
|
|
2344
|
+
output,
|
|
2345
|
+
parsedBody,
|
|
2346
|
+
errorCode,
|
|
2347
|
+
});
|
|
2348
|
+
}
|
|
2349
|
+
};
|
|
2350
|
+
const de_ListAccountAssignmentCreationStatusCommand = async (output, context) => {
|
|
2351
|
+
if (output.statusCode >= 300) {
|
|
2352
|
+
return de_ListAccountAssignmentCreationStatusCommandError(output, context);
|
|
2353
|
+
}
|
|
2354
|
+
const data = await parseBody(output.body, context);
|
|
2355
|
+
let contents = {};
|
|
2356
|
+
contents = de_ListAccountAssignmentCreationStatusResponse(data, context);
|
|
2357
|
+
const response = {
|
|
2358
|
+
$metadata: deserializeMetadata(output),
|
|
2359
|
+
...contents,
|
|
2360
|
+
};
|
|
2361
|
+
return response;
|
|
2362
|
+
};
|
|
2363
|
+
exports.de_ListAccountAssignmentCreationStatusCommand = de_ListAccountAssignmentCreationStatusCommand;
|
|
2364
|
+
const de_ListAccountAssignmentCreationStatusCommandError = async (output, context) => {
|
|
2365
|
+
const parsedOutput = {
|
|
2366
|
+
...output,
|
|
2367
|
+
body: await parseErrorBody(output.body, context),
|
|
2368
|
+
};
|
|
2369
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2370
|
+
switch (errorCode) {
|
|
2371
|
+
case "AccessDeniedException":
|
|
2372
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2373
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2374
|
+
case "InternalServerException":
|
|
2375
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2376
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2377
|
+
case "ResourceNotFoundException":
|
|
2378
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2379
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2380
|
+
case "ThrottlingException":
|
|
2381
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2382
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2383
|
+
case "ValidationException":
|
|
2384
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2385
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2386
|
+
default:
|
|
2387
|
+
const parsedBody = parsedOutput.body;
|
|
2388
|
+
return throwDefaultError({
|
|
2389
|
+
output,
|
|
2390
|
+
parsedBody,
|
|
2391
|
+
errorCode,
|
|
2392
|
+
});
|
|
2393
|
+
}
|
|
2394
|
+
};
|
|
2395
|
+
const de_ListAccountAssignmentDeletionStatusCommand = async (output, context) => {
|
|
2396
|
+
if (output.statusCode >= 300) {
|
|
2397
|
+
return de_ListAccountAssignmentDeletionStatusCommandError(output, context);
|
|
2398
|
+
}
|
|
2399
|
+
const data = await parseBody(output.body, context);
|
|
2400
|
+
let contents = {};
|
|
2401
|
+
contents = de_ListAccountAssignmentDeletionStatusResponse(data, context);
|
|
2402
|
+
const response = {
|
|
2403
|
+
$metadata: deserializeMetadata(output),
|
|
2404
|
+
...contents,
|
|
2405
|
+
};
|
|
2406
|
+
return response;
|
|
2407
|
+
};
|
|
2408
|
+
exports.de_ListAccountAssignmentDeletionStatusCommand = de_ListAccountAssignmentDeletionStatusCommand;
|
|
2409
|
+
const de_ListAccountAssignmentDeletionStatusCommandError = async (output, context) => {
|
|
2410
|
+
const parsedOutput = {
|
|
2411
|
+
...output,
|
|
2412
|
+
body: await parseErrorBody(output.body, context),
|
|
2413
|
+
};
|
|
2414
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2415
|
+
switch (errorCode) {
|
|
2416
|
+
case "AccessDeniedException":
|
|
2417
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2418
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2419
|
+
case "InternalServerException":
|
|
2420
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2421
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2422
|
+
case "ResourceNotFoundException":
|
|
2423
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2424
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2425
|
+
case "ThrottlingException":
|
|
2426
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2427
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2428
|
+
case "ValidationException":
|
|
2429
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2430
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2431
|
+
default:
|
|
2432
|
+
const parsedBody = parsedOutput.body;
|
|
2433
|
+
return throwDefaultError({
|
|
2434
|
+
output,
|
|
2435
|
+
parsedBody,
|
|
2436
|
+
errorCode,
|
|
2437
|
+
});
|
|
2438
|
+
}
|
|
2439
|
+
};
|
|
2440
|
+
const de_ListAccountAssignmentsCommand = async (output, context) => {
|
|
2441
|
+
if (output.statusCode >= 300) {
|
|
2442
|
+
return de_ListAccountAssignmentsCommandError(output, context);
|
|
2443
|
+
}
|
|
2444
|
+
const data = await parseBody(output.body, context);
|
|
2445
|
+
let contents = {};
|
|
2446
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2447
|
+
const response = {
|
|
2448
|
+
$metadata: deserializeMetadata(output),
|
|
2449
|
+
...contents,
|
|
2450
|
+
};
|
|
2451
|
+
return response;
|
|
2452
|
+
};
|
|
2453
|
+
exports.de_ListAccountAssignmentsCommand = de_ListAccountAssignmentsCommand;
|
|
2454
|
+
const de_ListAccountAssignmentsCommandError = async (output, context) => {
|
|
2455
|
+
const parsedOutput = {
|
|
2456
|
+
...output,
|
|
2457
|
+
body: await parseErrorBody(output.body, context),
|
|
2458
|
+
};
|
|
2459
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2460
|
+
switch (errorCode) {
|
|
2461
|
+
case "AccessDeniedException":
|
|
2462
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2463
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2464
|
+
case "InternalServerException":
|
|
2465
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2466
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2467
|
+
case "ResourceNotFoundException":
|
|
2468
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2469
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2470
|
+
case "ThrottlingException":
|
|
2471
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2472
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2473
|
+
case "ValidationException":
|
|
2474
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2475
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2476
|
+
default:
|
|
2477
|
+
const parsedBody = parsedOutput.body;
|
|
2478
|
+
return throwDefaultError({
|
|
2479
|
+
output,
|
|
2480
|
+
parsedBody,
|
|
2481
|
+
errorCode,
|
|
2482
|
+
});
|
|
2483
|
+
}
|
|
2484
|
+
};
|
|
2485
|
+
const de_ListAccountAssignmentsForPrincipalCommand = async (output, context) => {
|
|
2486
|
+
if (output.statusCode >= 300) {
|
|
2487
|
+
return de_ListAccountAssignmentsForPrincipalCommandError(output, context);
|
|
2488
|
+
}
|
|
2489
|
+
const data = await parseBody(output.body, context);
|
|
2490
|
+
let contents = {};
|
|
2491
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2492
|
+
const response = {
|
|
2493
|
+
$metadata: deserializeMetadata(output),
|
|
2494
|
+
...contents,
|
|
2495
|
+
};
|
|
2496
|
+
return response;
|
|
2497
|
+
};
|
|
2498
|
+
exports.de_ListAccountAssignmentsForPrincipalCommand = de_ListAccountAssignmentsForPrincipalCommand;
|
|
2499
|
+
const de_ListAccountAssignmentsForPrincipalCommandError = async (output, context) => {
|
|
2500
|
+
const parsedOutput = {
|
|
2501
|
+
...output,
|
|
2502
|
+
body: await parseErrorBody(output.body, context),
|
|
2503
|
+
};
|
|
2504
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2505
|
+
switch (errorCode) {
|
|
2506
|
+
case "AccessDeniedException":
|
|
2507
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2508
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2509
|
+
case "InternalServerException":
|
|
2510
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2511
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2512
|
+
case "ResourceNotFoundException":
|
|
2513
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2514
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2515
|
+
case "ThrottlingException":
|
|
2516
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2517
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2518
|
+
case "ValidationException":
|
|
2519
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2520
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2521
|
+
default:
|
|
2522
|
+
const parsedBody = parsedOutput.body;
|
|
2523
|
+
return throwDefaultError({
|
|
2524
|
+
output,
|
|
2525
|
+
parsedBody,
|
|
2526
|
+
errorCode,
|
|
2527
|
+
});
|
|
2528
|
+
}
|
|
2529
|
+
};
|
|
2530
|
+
const de_ListAccountsForProvisionedPermissionSetCommand = async (output, context) => {
|
|
2531
|
+
if (output.statusCode >= 300) {
|
|
2532
|
+
return de_ListAccountsForProvisionedPermissionSetCommandError(output, context);
|
|
2533
|
+
}
|
|
2534
|
+
const data = await parseBody(output.body, context);
|
|
2535
|
+
let contents = {};
|
|
2536
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2537
|
+
const response = {
|
|
2538
|
+
$metadata: deserializeMetadata(output),
|
|
2539
|
+
...contents,
|
|
2540
|
+
};
|
|
2541
|
+
return response;
|
|
2542
|
+
};
|
|
2543
|
+
exports.de_ListAccountsForProvisionedPermissionSetCommand = de_ListAccountsForProvisionedPermissionSetCommand;
|
|
2544
|
+
const de_ListAccountsForProvisionedPermissionSetCommandError = async (output, context) => {
|
|
2545
|
+
const parsedOutput = {
|
|
2546
|
+
...output,
|
|
2547
|
+
body: await parseErrorBody(output.body, context),
|
|
2548
|
+
};
|
|
2549
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2550
|
+
switch (errorCode) {
|
|
2551
|
+
case "AccessDeniedException":
|
|
2552
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2553
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2554
|
+
case "InternalServerException":
|
|
2555
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2556
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2557
|
+
case "ResourceNotFoundException":
|
|
2558
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2559
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2560
|
+
case "ThrottlingException":
|
|
2561
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2562
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2563
|
+
case "ValidationException":
|
|
2564
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2565
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2566
|
+
default:
|
|
2567
|
+
const parsedBody = parsedOutput.body;
|
|
2568
|
+
return throwDefaultError({
|
|
2569
|
+
output,
|
|
2570
|
+
parsedBody,
|
|
2571
|
+
errorCode,
|
|
2572
|
+
});
|
|
2573
|
+
}
|
|
2574
|
+
};
|
|
2575
|
+
const de_ListApplicationAccessScopesCommand = async (output, context) => {
|
|
2576
|
+
if (output.statusCode >= 300) {
|
|
2577
|
+
return de_ListApplicationAccessScopesCommandError(output, context);
|
|
2578
|
+
}
|
|
2579
|
+
const data = await parseBody(output.body, context);
|
|
2580
|
+
let contents = {};
|
|
2581
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2582
|
+
const response = {
|
|
2583
|
+
$metadata: deserializeMetadata(output),
|
|
2584
|
+
...contents,
|
|
2585
|
+
};
|
|
2586
|
+
return response;
|
|
2587
|
+
};
|
|
2588
|
+
exports.de_ListApplicationAccessScopesCommand = de_ListApplicationAccessScopesCommand;
|
|
2589
|
+
const de_ListApplicationAccessScopesCommandError = async (output, context) => {
|
|
2590
|
+
const parsedOutput = {
|
|
2591
|
+
...output,
|
|
2592
|
+
body: await parseErrorBody(output.body, context),
|
|
2593
|
+
};
|
|
2594
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2595
|
+
switch (errorCode) {
|
|
2596
|
+
case "AccessDeniedException":
|
|
2597
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2598
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2599
|
+
case "InternalServerException":
|
|
2600
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2601
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2602
|
+
case "ResourceNotFoundException":
|
|
2603
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2604
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2605
|
+
case "ThrottlingException":
|
|
2606
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2607
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2608
|
+
case "ValidationException":
|
|
2609
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2610
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2611
|
+
default:
|
|
2612
|
+
const parsedBody = parsedOutput.body;
|
|
2613
|
+
return throwDefaultError({
|
|
2614
|
+
output,
|
|
2615
|
+
parsedBody,
|
|
2616
|
+
errorCode,
|
|
2617
|
+
});
|
|
2618
|
+
}
|
|
2619
|
+
};
|
|
2620
|
+
const de_ListApplicationAssignmentsCommand = async (output, context) => {
|
|
2621
|
+
if (output.statusCode >= 300) {
|
|
2622
|
+
return de_ListApplicationAssignmentsCommandError(output, context);
|
|
2623
|
+
}
|
|
2624
|
+
const data = await parseBody(output.body, context);
|
|
2625
|
+
let contents = {};
|
|
2626
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2627
|
+
const response = {
|
|
2628
|
+
$metadata: deserializeMetadata(output),
|
|
2629
|
+
...contents,
|
|
2630
|
+
};
|
|
2631
|
+
return response;
|
|
2632
|
+
};
|
|
2633
|
+
exports.de_ListApplicationAssignmentsCommand = de_ListApplicationAssignmentsCommand;
|
|
2634
|
+
const de_ListApplicationAssignmentsCommandError = async (output, context) => {
|
|
2635
|
+
const parsedOutput = {
|
|
2636
|
+
...output,
|
|
2637
|
+
body: await parseErrorBody(output.body, context),
|
|
2638
|
+
};
|
|
2639
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2640
|
+
switch (errorCode) {
|
|
2641
|
+
case "AccessDeniedException":
|
|
2642
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2643
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2644
|
+
case "InternalServerException":
|
|
2645
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2646
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2647
|
+
case "ResourceNotFoundException":
|
|
2648
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2649
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2650
|
+
case "ThrottlingException":
|
|
2651
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2652
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2653
|
+
case "ValidationException":
|
|
2654
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2655
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2656
|
+
default:
|
|
2657
|
+
const parsedBody = parsedOutput.body;
|
|
2658
|
+
return throwDefaultError({
|
|
2659
|
+
output,
|
|
2660
|
+
parsedBody,
|
|
2661
|
+
errorCode,
|
|
2662
|
+
});
|
|
2663
|
+
}
|
|
2664
|
+
};
|
|
2665
|
+
const de_ListApplicationAssignmentsForPrincipalCommand = async (output, context) => {
|
|
2666
|
+
if (output.statusCode >= 300) {
|
|
2667
|
+
return de_ListApplicationAssignmentsForPrincipalCommandError(output, context);
|
|
2668
|
+
}
|
|
2669
|
+
const data = await parseBody(output.body, context);
|
|
2670
|
+
let contents = {};
|
|
2671
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2672
|
+
const response = {
|
|
2673
|
+
$metadata: deserializeMetadata(output),
|
|
2674
|
+
...contents,
|
|
2675
|
+
};
|
|
2676
|
+
return response;
|
|
2677
|
+
};
|
|
2678
|
+
exports.de_ListApplicationAssignmentsForPrincipalCommand = de_ListApplicationAssignmentsForPrincipalCommand;
|
|
2679
|
+
const de_ListApplicationAssignmentsForPrincipalCommandError = async (output, context) => {
|
|
2680
|
+
const parsedOutput = {
|
|
2681
|
+
...output,
|
|
2682
|
+
body: await parseErrorBody(output.body, context),
|
|
2683
|
+
};
|
|
2684
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2685
|
+
switch (errorCode) {
|
|
2686
|
+
case "AccessDeniedException":
|
|
2687
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2688
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2689
|
+
case "InternalServerException":
|
|
2690
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2691
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2692
|
+
case "ResourceNotFoundException":
|
|
2693
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2694
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2695
|
+
case "ThrottlingException":
|
|
2696
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2697
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2698
|
+
case "ValidationException":
|
|
2699
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2700
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2701
|
+
default:
|
|
2702
|
+
const parsedBody = parsedOutput.body;
|
|
2703
|
+
return throwDefaultError({
|
|
2704
|
+
output,
|
|
2705
|
+
parsedBody,
|
|
2706
|
+
errorCode,
|
|
2707
|
+
});
|
|
2708
|
+
}
|
|
2709
|
+
};
|
|
2710
|
+
const de_ListApplicationAuthenticationMethodsCommand = async (output, context) => {
|
|
2711
|
+
if (output.statusCode >= 300) {
|
|
2712
|
+
return de_ListApplicationAuthenticationMethodsCommandError(output, context);
|
|
2713
|
+
}
|
|
2714
|
+
const data = await parseBody(output.body, context);
|
|
2715
|
+
let contents = {};
|
|
2716
|
+
contents = de_ListApplicationAuthenticationMethodsResponse(data, context);
|
|
2717
|
+
const response = {
|
|
2718
|
+
$metadata: deserializeMetadata(output),
|
|
2719
|
+
...contents,
|
|
2720
|
+
};
|
|
2721
|
+
return response;
|
|
2722
|
+
};
|
|
2723
|
+
exports.de_ListApplicationAuthenticationMethodsCommand = de_ListApplicationAuthenticationMethodsCommand;
|
|
2724
|
+
const de_ListApplicationAuthenticationMethodsCommandError = async (output, context) => {
|
|
2725
|
+
const parsedOutput = {
|
|
2726
|
+
...output,
|
|
2727
|
+
body: await parseErrorBody(output.body, context),
|
|
2728
|
+
};
|
|
2729
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2730
|
+
switch (errorCode) {
|
|
2731
|
+
case "AccessDeniedException":
|
|
2732
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2733
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2734
|
+
case "InternalServerException":
|
|
2735
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2736
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2737
|
+
case "ResourceNotFoundException":
|
|
2738
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2739
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2740
|
+
case "ThrottlingException":
|
|
2741
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2742
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2743
|
+
case "ValidationException":
|
|
2744
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2745
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2746
|
+
default:
|
|
2747
|
+
const parsedBody = parsedOutput.body;
|
|
2748
|
+
return throwDefaultError({
|
|
2749
|
+
output,
|
|
2750
|
+
parsedBody,
|
|
2751
|
+
errorCode,
|
|
2752
|
+
});
|
|
2753
|
+
}
|
|
2754
|
+
};
|
|
2755
|
+
const de_ListApplicationGrantsCommand = async (output, context) => {
|
|
2756
|
+
if (output.statusCode >= 300) {
|
|
2757
|
+
return de_ListApplicationGrantsCommandError(output, context);
|
|
2758
|
+
}
|
|
2759
|
+
const data = await parseBody(output.body, context);
|
|
2760
|
+
let contents = {};
|
|
2761
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2762
|
+
const response = {
|
|
2763
|
+
$metadata: deserializeMetadata(output),
|
|
2764
|
+
...contents,
|
|
2765
|
+
};
|
|
2766
|
+
return response;
|
|
2767
|
+
};
|
|
2768
|
+
exports.de_ListApplicationGrantsCommand = de_ListApplicationGrantsCommand;
|
|
2769
|
+
const de_ListApplicationGrantsCommandError = async (output, context) => {
|
|
2770
|
+
const parsedOutput = {
|
|
2771
|
+
...output,
|
|
2772
|
+
body: await parseErrorBody(output.body, context),
|
|
2773
|
+
};
|
|
2774
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2775
|
+
switch (errorCode) {
|
|
2776
|
+
case "AccessDeniedException":
|
|
2777
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2778
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2779
|
+
case "InternalServerException":
|
|
2780
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2781
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2782
|
+
case "ResourceNotFoundException":
|
|
2783
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2784
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2785
|
+
case "ThrottlingException":
|
|
2786
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2787
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2788
|
+
case "ValidationException":
|
|
2789
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2790
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2791
|
+
default:
|
|
2792
|
+
const parsedBody = parsedOutput.body;
|
|
2793
|
+
return throwDefaultError({
|
|
2794
|
+
output,
|
|
2795
|
+
parsedBody,
|
|
2796
|
+
errorCode,
|
|
2797
|
+
});
|
|
2798
|
+
}
|
|
2799
|
+
};
|
|
2800
|
+
const de_ListApplicationProvidersCommand = async (output, context) => {
|
|
2801
|
+
if (output.statusCode >= 300) {
|
|
2802
|
+
return de_ListApplicationProvidersCommandError(output, context);
|
|
2803
|
+
}
|
|
2804
|
+
const data = await parseBody(output.body, context);
|
|
2805
|
+
let contents = {};
|
|
2806
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2807
|
+
const response = {
|
|
2808
|
+
$metadata: deserializeMetadata(output),
|
|
2809
|
+
...contents,
|
|
2810
|
+
};
|
|
2811
|
+
return response;
|
|
2812
|
+
};
|
|
2813
|
+
exports.de_ListApplicationProvidersCommand = de_ListApplicationProvidersCommand;
|
|
2814
|
+
const de_ListApplicationProvidersCommandError = async (output, context) => {
|
|
2815
|
+
const parsedOutput = {
|
|
2816
|
+
...output,
|
|
2817
|
+
body: await parseErrorBody(output.body, context),
|
|
2818
|
+
};
|
|
2819
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2820
|
+
switch (errorCode) {
|
|
2821
|
+
case "AccessDeniedException":
|
|
2822
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2823
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2824
|
+
case "InternalServerException":
|
|
2825
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2826
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2827
|
+
case "ThrottlingException":
|
|
2828
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2829
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2830
|
+
case "ValidationException":
|
|
2831
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2832
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2833
|
+
default:
|
|
2834
|
+
const parsedBody = parsedOutput.body;
|
|
2835
|
+
return throwDefaultError({
|
|
2836
|
+
output,
|
|
2837
|
+
parsedBody,
|
|
2838
|
+
errorCode,
|
|
2839
|
+
});
|
|
2840
|
+
}
|
|
2841
|
+
};
|
|
2842
|
+
const de_ListApplicationsCommand = async (output, context) => {
|
|
2843
|
+
if (output.statusCode >= 300) {
|
|
2844
|
+
return de_ListApplicationsCommandError(output, context);
|
|
2845
|
+
}
|
|
2846
|
+
const data = await parseBody(output.body, context);
|
|
2847
|
+
let contents = {};
|
|
2848
|
+
contents = de_ListApplicationsResponse(data, context);
|
|
2849
|
+
const response = {
|
|
2850
|
+
$metadata: deserializeMetadata(output),
|
|
2851
|
+
...contents,
|
|
2852
|
+
};
|
|
2853
|
+
return response;
|
|
2854
|
+
};
|
|
2855
|
+
exports.de_ListApplicationsCommand = de_ListApplicationsCommand;
|
|
2856
|
+
const de_ListApplicationsCommandError = async (output, context) => {
|
|
2857
|
+
const parsedOutput = {
|
|
2858
|
+
...output,
|
|
2859
|
+
body: await parseErrorBody(output.body, context),
|
|
2860
|
+
};
|
|
2861
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2862
|
+
switch (errorCode) {
|
|
2863
|
+
case "AccessDeniedException":
|
|
2864
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2865
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2866
|
+
case "InternalServerException":
|
|
2867
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2868
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2869
|
+
case "ThrottlingException":
|
|
2870
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2871
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2872
|
+
case "ValidationException":
|
|
2873
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2874
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2875
|
+
default:
|
|
2876
|
+
const parsedBody = parsedOutput.body;
|
|
2877
|
+
return throwDefaultError({
|
|
2878
|
+
output,
|
|
2879
|
+
parsedBody,
|
|
2880
|
+
errorCode,
|
|
2881
|
+
});
|
|
2882
|
+
}
|
|
2883
|
+
};
|
|
2884
|
+
const de_ListCustomerManagedPolicyReferencesInPermissionSetCommand = async (output, context) => {
|
|
2885
|
+
if (output.statusCode >= 300) {
|
|
2886
|
+
return de_ListCustomerManagedPolicyReferencesInPermissionSetCommandError(output, context);
|
|
2887
|
+
}
|
|
2888
|
+
const data = await parseBody(output.body, context);
|
|
2889
|
+
let contents = {};
|
|
2890
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2891
|
+
const response = {
|
|
2892
|
+
$metadata: deserializeMetadata(output),
|
|
2893
|
+
...contents,
|
|
2894
|
+
};
|
|
2895
|
+
return response;
|
|
2896
|
+
};
|
|
2897
|
+
exports.de_ListCustomerManagedPolicyReferencesInPermissionSetCommand = de_ListCustomerManagedPolicyReferencesInPermissionSetCommand;
|
|
2898
|
+
const de_ListCustomerManagedPolicyReferencesInPermissionSetCommandError = async (output, context) => {
|
|
2899
|
+
const parsedOutput = {
|
|
2900
|
+
...output,
|
|
2901
|
+
body: await parseErrorBody(output.body, context),
|
|
2902
|
+
};
|
|
2903
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2904
|
+
switch (errorCode) {
|
|
2905
|
+
case "AccessDeniedException":
|
|
2906
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2907
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2908
|
+
case "InternalServerException":
|
|
2909
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2910
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2911
|
+
case "ResourceNotFoundException":
|
|
2912
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2913
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2914
|
+
case "ThrottlingException":
|
|
2915
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2916
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2917
|
+
case "ValidationException":
|
|
2918
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2919
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2920
|
+
default:
|
|
2921
|
+
const parsedBody = parsedOutput.body;
|
|
2922
|
+
return throwDefaultError({
|
|
2923
|
+
output,
|
|
2924
|
+
parsedBody,
|
|
2925
|
+
errorCode,
|
|
2926
|
+
});
|
|
2927
|
+
}
|
|
2928
|
+
};
|
|
2929
|
+
const de_ListInstancesCommand = async (output, context) => {
|
|
2930
|
+
if (output.statusCode >= 300) {
|
|
2931
|
+
return de_ListInstancesCommandError(output, context);
|
|
2932
|
+
}
|
|
2933
|
+
const data = await parseBody(output.body, context);
|
|
2934
|
+
let contents = {};
|
|
2935
|
+
contents = de_ListInstancesResponse(data, context);
|
|
2936
|
+
const response = {
|
|
2937
|
+
$metadata: deserializeMetadata(output),
|
|
2938
|
+
...contents,
|
|
2939
|
+
};
|
|
2940
|
+
return response;
|
|
2941
|
+
};
|
|
2942
|
+
exports.de_ListInstancesCommand = de_ListInstancesCommand;
|
|
2943
|
+
const de_ListInstancesCommandError = async (output, context) => {
|
|
2944
|
+
const parsedOutput = {
|
|
2945
|
+
...output,
|
|
2946
|
+
body: await parseErrorBody(output.body, context),
|
|
2947
|
+
};
|
|
2948
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2949
|
+
switch (errorCode) {
|
|
2950
|
+
case "AccessDeniedException":
|
|
2951
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2952
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2953
|
+
case "InternalServerException":
|
|
2954
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2955
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2956
|
+
case "ThrottlingException":
|
|
2957
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2958
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2959
|
+
case "ValidationException":
|
|
2960
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2961
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2962
|
+
default:
|
|
2963
|
+
const parsedBody = parsedOutput.body;
|
|
2964
|
+
return throwDefaultError({
|
|
2965
|
+
output,
|
|
2966
|
+
parsedBody,
|
|
2967
|
+
errorCode,
|
|
2968
|
+
});
|
|
2969
|
+
}
|
|
2970
|
+
};
|
|
2971
|
+
const de_ListManagedPoliciesInPermissionSetCommand = async (output, context) => {
|
|
2972
|
+
if (output.statusCode >= 300) {
|
|
2973
|
+
return de_ListManagedPoliciesInPermissionSetCommandError(output, context);
|
|
2974
|
+
}
|
|
2975
|
+
const data = await parseBody(output.body, context);
|
|
2976
|
+
let contents = {};
|
|
2977
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2978
|
+
const response = {
|
|
2979
|
+
$metadata: deserializeMetadata(output),
|
|
2980
|
+
...contents,
|
|
2981
|
+
};
|
|
2982
|
+
return response;
|
|
2983
|
+
};
|
|
2984
|
+
exports.de_ListManagedPoliciesInPermissionSetCommand = de_ListManagedPoliciesInPermissionSetCommand;
|
|
2985
|
+
const de_ListManagedPoliciesInPermissionSetCommandError = async (output, context) => {
|
|
2986
|
+
const parsedOutput = {
|
|
2987
|
+
...output,
|
|
2988
|
+
body: await parseErrorBody(output.body, context),
|
|
2989
|
+
};
|
|
2990
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2991
|
+
switch (errorCode) {
|
|
2992
|
+
case "AccessDeniedException":
|
|
2993
|
+
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2994
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2995
|
+
case "InternalServerException":
|
|
2996
|
+
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2997
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2998
|
+
case "ResourceNotFoundException":
|
|
2999
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3000
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3001
|
+
case "ThrottlingException":
|
|
3002
|
+
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3003
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3004
|
+
case "ValidationException":
|
|
3005
|
+
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3006
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3007
|
+
default:
|
|
3008
|
+
const parsedBody = parsedOutput.body;
|
|
3009
|
+
return throwDefaultError({
|
|
3010
|
+
output,
|
|
3011
|
+
parsedBody,
|
|
3012
|
+
errorCode,
|
|
3013
|
+
});
|
|
3014
|
+
}
|
|
3015
|
+
};
|
|
3016
|
+
const de_ListPermissionSetProvisioningStatusCommand = async (output, context) => {
|
|
3017
|
+
if (output.statusCode >= 300) {
|
|
3018
|
+
return de_ListPermissionSetProvisioningStatusCommandError(output, context);
|
|
3019
|
+
}
|
|
3020
|
+
const data = await parseBody(output.body, context);
|
|
3021
|
+
let contents = {};
|
|
3022
|
+
contents = de_ListPermissionSetProvisioningStatusResponse(data, context);
|
|
3023
|
+
const response = {
|
|
3024
|
+
$metadata: deserializeMetadata(output),
|
|
3025
|
+
...contents,
|
|
3026
|
+
};
|
|
3027
|
+
return response;
|
|
3028
|
+
};
|
|
3029
|
+
exports.de_ListPermissionSetProvisioningStatusCommand = de_ListPermissionSetProvisioningStatusCommand;
|
|
3030
|
+
const de_ListPermissionSetProvisioningStatusCommandError = async (output, context) => {
|
|
1138
3031
|
const parsedOutput = {
|
|
1139
3032
|
...output,
|
|
1140
3033
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1165,21 +3058,21 @@ const de_GetPermissionsBoundaryForPermissionSetCommandError = async (output, con
|
|
|
1165
3058
|
});
|
|
1166
3059
|
}
|
|
1167
3060
|
};
|
|
1168
|
-
const
|
|
3061
|
+
const de_ListPermissionSetsCommand = async (output, context) => {
|
|
1169
3062
|
if (output.statusCode >= 300) {
|
|
1170
|
-
return
|
|
3063
|
+
return de_ListPermissionSetsCommandError(output, context);
|
|
1171
3064
|
}
|
|
1172
3065
|
const data = await parseBody(output.body, context);
|
|
1173
3066
|
let contents = {};
|
|
1174
|
-
contents =
|
|
3067
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1175
3068
|
const response = {
|
|
1176
3069
|
$metadata: deserializeMetadata(output),
|
|
1177
3070
|
...contents,
|
|
1178
3071
|
};
|
|
1179
3072
|
return response;
|
|
1180
3073
|
};
|
|
1181
|
-
exports.
|
|
1182
|
-
const
|
|
3074
|
+
exports.de_ListPermissionSetsCommand = de_ListPermissionSetsCommand;
|
|
3075
|
+
const de_ListPermissionSetsCommandError = async (output, context) => {
|
|
1183
3076
|
const parsedOutput = {
|
|
1184
3077
|
...output,
|
|
1185
3078
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1210,21 +3103,21 @@ const de_ListAccountAssignmentCreationStatusCommandError = async (output, contex
|
|
|
1210
3103
|
});
|
|
1211
3104
|
}
|
|
1212
3105
|
};
|
|
1213
|
-
const
|
|
3106
|
+
const de_ListPermissionSetsProvisionedToAccountCommand = async (output, context) => {
|
|
1214
3107
|
if (output.statusCode >= 300) {
|
|
1215
|
-
return
|
|
3108
|
+
return de_ListPermissionSetsProvisionedToAccountCommandError(output, context);
|
|
1216
3109
|
}
|
|
1217
3110
|
const data = await parseBody(output.body, context);
|
|
1218
3111
|
let contents = {};
|
|
1219
|
-
contents =
|
|
3112
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1220
3113
|
const response = {
|
|
1221
3114
|
$metadata: deserializeMetadata(output),
|
|
1222
3115
|
...contents,
|
|
1223
3116
|
};
|
|
1224
3117
|
return response;
|
|
1225
3118
|
};
|
|
1226
|
-
exports.
|
|
1227
|
-
const
|
|
3119
|
+
exports.de_ListPermissionSetsProvisionedToAccountCommand = de_ListPermissionSetsProvisionedToAccountCommand;
|
|
3120
|
+
const de_ListPermissionSetsProvisionedToAccountCommandError = async (output, context) => {
|
|
1228
3121
|
const parsedOutput = {
|
|
1229
3122
|
...output,
|
|
1230
3123
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1255,9 +3148,9 @@ const de_ListAccountAssignmentDeletionStatusCommandError = async (output, contex
|
|
|
1255
3148
|
});
|
|
1256
3149
|
}
|
|
1257
3150
|
};
|
|
1258
|
-
const
|
|
3151
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1259
3152
|
if (output.statusCode >= 300) {
|
|
1260
|
-
return
|
|
3153
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1261
3154
|
}
|
|
1262
3155
|
const data = await parseBody(output.body, context);
|
|
1263
3156
|
let contents = {};
|
|
@@ -1268,8 +3161,8 @@ const de_ListAccountAssignmentsCommand = async (output, context) => {
|
|
|
1268
3161
|
};
|
|
1269
3162
|
return response;
|
|
1270
3163
|
};
|
|
1271
|
-
exports.
|
|
1272
|
-
const
|
|
3164
|
+
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
3165
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1273
3166
|
const parsedOutput = {
|
|
1274
3167
|
...output,
|
|
1275
3168
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1300,9 +3193,9 @@ const de_ListAccountAssignmentsCommandError = async (output, context) => {
|
|
|
1300
3193
|
});
|
|
1301
3194
|
}
|
|
1302
3195
|
};
|
|
1303
|
-
const
|
|
3196
|
+
const de_ListTrustedTokenIssuersCommand = async (output, context) => {
|
|
1304
3197
|
if (output.statusCode >= 300) {
|
|
1305
|
-
return
|
|
3198
|
+
return de_ListTrustedTokenIssuersCommandError(output, context);
|
|
1306
3199
|
}
|
|
1307
3200
|
const data = await parseBody(output.body, context);
|
|
1308
3201
|
let contents = {};
|
|
@@ -1313,8 +3206,8 @@ const de_ListAccountsForProvisionedPermissionSetCommand = async (output, context
|
|
|
1313
3206
|
};
|
|
1314
3207
|
return response;
|
|
1315
3208
|
};
|
|
1316
|
-
exports.
|
|
1317
|
-
const
|
|
3209
|
+
exports.de_ListTrustedTokenIssuersCommand = de_ListTrustedTokenIssuersCommand;
|
|
3210
|
+
const de_ListTrustedTokenIssuersCommandError = async (output, context) => {
|
|
1318
3211
|
const parsedOutput = {
|
|
1319
3212
|
...output,
|
|
1320
3213
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1327,9 +3220,6 @@ const de_ListAccountsForProvisionedPermissionSetCommandError = async (output, co
|
|
|
1327
3220
|
case "InternalServerException":
|
|
1328
3221
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1329
3222
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1330
|
-
case "ResourceNotFoundException":
|
|
1331
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1332
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1333
3223
|
case "ThrottlingException":
|
|
1334
3224
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1335
3225
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -1345,21 +3235,21 @@ const de_ListAccountsForProvisionedPermissionSetCommandError = async (output, co
|
|
|
1345
3235
|
});
|
|
1346
3236
|
}
|
|
1347
3237
|
};
|
|
1348
|
-
const
|
|
3238
|
+
const de_ProvisionPermissionSetCommand = async (output, context) => {
|
|
1349
3239
|
if (output.statusCode >= 300) {
|
|
1350
|
-
return
|
|
3240
|
+
return de_ProvisionPermissionSetCommandError(output, context);
|
|
1351
3241
|
}
|
|
1352
3242
|
const data = await parseBody(output.body, context);
|
|
1353
3243
|
let contents = {};
|
|
1354
|
-
contents = (
|
|
3244
|
+
contents = de_ProvisionPermissionSetResponse(data, context);
|
|
1355
3245
|
const response = {
|
|
1356
3246
|
$metadata: deserializeMetadata(output),
|
|
1357
3247
|
...contents,
|
|
1358
3248
|
};
|
|
1359
3249
|
return response;
|
|
1360
3250
|
};
|
|
1361
|
-
exports.
|
|
1362
|
-
const
|
|
3251
|
+
exports.de_ProvisionPermissionSetCommand = de_ProvisionPermissionSetCommand;
|
|
3252
|
+
const de_ProvisionPermissionSetCommandError = async (output, context) => {
|
|
1363
3253
|
const parsedOutput = {
|
|
1364
3254
|
...output,
|
|
1365
3255
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1369,6 +3259,9 @@ const de_ListCustomerManagedPolicyReferencesInPermissionSetCommandError = async
|
|
|
1369
3259
|
case "AccessDeniedException":
|
|
1370
3260
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1371
3261
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3262
|
+
case "ConflictException":
|
|
3263
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
3264
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1372
3265
|
case "InternalServerException":
|
|
1373
3266
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1374
3267
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -1390,21 +3283,18 @@ const de_ListCustomerManagedPolicyReferencesInPermissionSetCommandError = async
|
|
|
1390
3283
|
});
|
|
1391
3284
|
}
|
|
1392
3285
|
};
|
|
1393
|
-
const
|
|
3286
|
+
const de_PutApplicationAccessScopeCommand = async (output, context) => {
|
|
1394
3287
|
if (output.statusCode >= 300) {
|
|
1395
|
-
return
|
|
3288
|
+
return de_PutApplicationAccessScopeCommandError(output, context);
|
|
1396
3289
|
}
|
|
1397
|
-
|
|
1398
|
-
let contents = {};
|
|
1399
|
-
contents = (0, smithy_client_1._json)(data);
|
|
3290
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1400
3291
|
const response = {
|
|
1401
3292
|
$metadata: deserializeMetadata(output),
|
|
1402
|
-
...contents,
|
|
1403
3293
|
};
|
|
1404
3294
|
return response;
|
|
1405
3295
|
};
|
|
1406
|
-
exports.
|
|
1407
|
-
const
|
|
3296
|
+
exports.de_PutApplicationAccessScopeCommand = de_PutApplicationAccessScopeCommand;
|
|
3297
|
+
const de_PutApplicationAccessScopeCommandError = async (output, context) => {
|
|
1408
3298
|
const parsedOutput = {
|
|
1409
3299
|
...output,
|
|
1410
3300
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1414,9 +3304,15 @@ const de_ListInstancesCommandError = async (output, context) => {
|
|
|
1414
3304
|
case "AccessDeniedException":
|
|
1415
3305
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1416
3306
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3307
|
+
case "ConflictException":
|
|
3308
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
3309
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1417
3310
|
case "InternalServerException":
|
|
1418
3311
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1419
3312
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3313
|
+
case "ResourceNotFoundException":
|
|
3314
|
+
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3315
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1420
3316
|
case "ThrottlingException":
|
|
1421
3317
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1422
3318
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -1432,9 +3328,9 @@ const de_ListInstancesCommandError = async (output, context) => {
|
|
|
1432
3328
|
});
|
|
1433
3329
|
}
|
|
1434
3330
|
};
|
|
1435
|
-
const
|
|
3331
|
+
const de_PutApplicationAssignmentConfigurationCommand = async (output, context) => {
|
|
1436
3332
|
if (output.statusCode >= 300) {
|
|
1437
|
-
return
|
|
3333
|
+
return de_PutApplicationAssignmentConfigurationCommandError(output, context);
|
|
1438
3334
|
}
|
|
1439
3335
|
const data = await parseBody(output.body, context);
|
|
1440
3336
|
let contents = {};
|
|
@@ -1445,8 +3341,8 @@ const de_ListManagedPoliciesInPermissionSetCommand = async (output, context) =>
|
|
|
1445
3341
|
};
|
|
1446
3342
|
return response;
|
|
1447
3343
|
};
|
|
1448
|
-
exports.
|
|
1449
|
-
const
|
|
3344
|
+
exports.de_PutApplicationAssignmentConfigurationCommand = de_PutApplicationAssignmentConfigurationCommand;
|
|
3345
|
+
const de_PutApplicationAssignmentConfigurationCommandError = async (output, context) => {
|
|
1450
3346
|
const parsedOutput = {
|
|
1451
3347
|
...output,
|
|
1452
3348
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1456,6 +3352,9 @@ const de_ListManagedPoliciesInPermissionSetCommandError = async (output, context
|
|
|
1456
3352
|
case "AccessDeniedException":
|
|
1457
3353
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1458
3354
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3355
|
+
case "ConflictException":
|
|
3356
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
3357
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1459
3358
|
case "InternalServerException":
|
|
1460
3359
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1461
3360
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -1477,21 +3376,18 @@ const de_ListManagedPoliciesInPermissionSetCommandError = async (output, context
|
|
|
1477
3376
|
});
|
|
1478
3377
|
}
|
|
1479
3378
|
};
|
|
1480
|
-
const
|
|
3379
|
+
const de_PutApplicationAuthenticationMethodCommand = async (output, context) => {
|
|
1481
3380
|
if (output.statusCode >= 300) {
|
|
1482
|
-
return
|
|
3381
|
+
return de_PutApplicationAuthenticationMethodCommandError(output, context);
|
|
1483
3382
|
}
|
|
1484
|
-
|
|
1485
|
-
let contents = {};
|
|
1486
|
-
contents = de_ListPermissionSetProvisioningStatusResponse(data, context);
|
|
3383
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1487
3384
|
const response = {
|
|
1488
3385
|
$metadata: deserializeMetadata(output),
|
|
1489
|
-
...contents,
|
|
1490
3386
|
};
|
|
1491
3387
|
return response;
|
|
1492
3388
|
};
|
|
1493
|
-
exports.
|
|
1494
|
-
const
|
|
3389
|
+
exports.de_PutApplicationAuthenticationMethodCommand = de_PutApplicationAuthenticationMethodCommand;
|
|
3390
|
+
const de_PutApplicationAuthenticationMethodCommandError = async (output, context) => {
|
|
1495
3391
|
const parsedOutput = {
|
|
1496
3392
|
...output,
|
|
1497
3393
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1501,6 +3397,9 @@ const de_ListPermissionSetProvisioningStatusCommandError = async (output, contex
|
|
|
1501
3397
|
case "AccessDeniedException":
|
|
1502
3398
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1503
3399
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3400
|
+
case "ConflictException":
|
|
3401
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
3402
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1504
3403
|
case "InternalServerException":
|
|
1505
3404
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1506
3405
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -1522,21 +3421,18 @@ const de_ListPermissionSetProvisioningStatusCommandError = async (output, contex
|
|
|
1522
3421
|
});
|
|
1523
3422
|
}
|
|
1524
3423
|
};
|
|
1525
|
-
const
|
|
3424
|
+
const de_PutApplicationGrantCommand = async (output, context) => {
|
|
1526
3425
|
if (output.statusCode >= 300) {
|
|
1527
|
-
return
|
|
3426
|
+
return de_PutApplicationGrantCommandError(output, context);
|
|
1528
3427
|
}
|
|
1529
|
-
|
|
1530
|
-
let contents = {};
|
|
1531
|
-
contents = (0, smithy_client_1._json)(data);
|
|
3428
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1532
3429
|
const response = {
|
|
1533
3430
|
$metadata: deserializeMetadata(output),
|
|
1534
|
-
...contents,
|
|
1535
3431
|
};
|
|
1536
3432
|
return response;
|
|
1537
3433
|
};
|
|
1538
|
-
exports.
|
|
1539
|
-
const
|
|
3434
|
+
exports.de_PutApplicationGrantCommand = de_PutApplicationGrantCommand;
|
|
3435
|
+
const de_PutApplicationGrantCommandError = async (output, context) => {
|
|
1540
3436
|
const parsedOutput = {
|
|
1541
3437
|
...output,
|
|
1542
3438
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1546,6 +3442,9 @@ const de_ListPermissionSetsCommandError = async (output, context) => {
|
|
|
1546
3442
|
case "AccessDeniedException":
|
|
1547
3443
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1548
3444
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3445
|
+
case "ConflictException":
|
|
3446
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
3447
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1549
3448
|
case "InternalServerException":
|
|
1550
3449
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1551
3450
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -1567,9 +3466,9 @@ const de_ListPermissionSetsCommandError = async (output, context) => {
|
|
|
1567
3466
|
});
|
|
1568
3467
|
}
|
|
1569
3468
|
};
|
|
1570
|
-
const
|
|
3469
|
+
const de_PutInlinePolicyToPermissionSetCommand = async (output, context) => {
|
|
1571
3470
|
if (output.statusCode >= 300) {
|
|
1572
|
-
return
|
|
3471
|
+
return de_PutInlinePolicyToPermissionSetCommandError(output, context);
|
|
1573
3472
|
}
|
|
1574
3473
|
const data = await parseBody(output.body, context);
|
|
1575
3474
|
let contents = {};
|
|
@@ -1580,8 +3479,8 @@ const de_ListPermissionSetsProvisionedToAccountCommand = async (output, context)
|
|
|
1580
3479
|
};
|
|
1581
3480
|
return response;
|
|
1582
3481
|
};
|
|
1583
|
-
exports.
|
|
1584
|
-
const
|
|
3482
|
+
exports.de_PutInlinePolicyToPermissionSetCommand = de_PutInlinePolicyToPermissionSetCommand;
|
|
3483
|
+
const de_PutInlinePolicyToPermissionSetCommandError = async (output, context) => {
|
|
1585
3484
|
const parsedOutput = {
|
|
1586
3485
|
...output,
|
|
1587
3486
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1591,12 +3490,18 @@ const de_ListPermissionSetsProvisionedToAccountCommandError = async (output, con
|
|
|
1591
3490
|
case "AccessDeniedException":
|
|
1592
3491
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1593
3492
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3493
|
+
case "ConflictException":
|
|
3494
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
3495
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1594
3496
|
case "InternalServerException":
|
|
1595
3497
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1596
3498
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1597
3499
|
case "ResourceNotFoundException":
|
|
1598
3500
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1599
3501
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3502
|
+
case "ServiceQuotaExceededException":
|
|
3503
|
+
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
3504
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1600
3505
|
case "ThrottlingException":
|
|
1601
3506
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1602
3507
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -1612,9 +3517,9 @@ const de_ListPermissionSetsProvisionedToAccountCommandError = async (output, con
|
|
|
1612
3517
|
});
|
|
1613
3518
|
}
|
|
1614
3519
|
};
|
|
1615
|
-
const
|
|
3520
|
+
const de_PutPermissionsBoundaryToPermissionSetCommand = async (output, context) => {
|
|
1616
3521
|
if (output.statusCode >= 300) {
|
|
1617
|
-
return
|
|
3522
|
+
return de_PutPermissionsBoundaryToPermissionSetCommandError(output, context);
|
|
1618
3523
|
}
|
|
1619
3524
|
const data = await parseBody(output.body, context);
|
|
1620
3525
|
let contents = {};
|
|
@@ -1625,8 +3530,8 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1625
3530
|
};
|
|
1626
3531
|
return response;
|
|
1627
3532
|
};
|
|
1628
|
-
exports.
|
|
1629
|
-
const
|
|
3533
|
+
exports.de_PutPermissionsBoundaryToPermissionSetCommand = de_PutPermissionsBoundaryToPermissionSetCommand;
|
|
3534
|
+
const de_PutPermissionsBoundaryToPermissionSetCommandError = async (output, context) => {
|
|
1630
3535
|
const parsedOutput = {
|
|
1631
3536
|
...output,
|
|
1632
3537
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1636,6 +3541,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1636
3541
|
case "AccessDeniedException":
|
|
1637
3542
|
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1638
3543
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3544
|
+
case "ConflictException":
|
|
3545
|
+
case "com.amazonaws.ssoadmin#ConflictException":
|
|
3546
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1639
3547
|
case "InternalServerException":
|
|
1640
3548
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1641
3549
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -1657,21 +3565,21 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1657
3565
|
});
|
|
1658
3566
|
}
|
|
1659
3567
|
};
|
|
1660
|
-
const
|
|
3568
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
1661
3569
|
if (output.statusCode >= 300) {
|
|
1662
|
-
return
|
|
3570
|
+
return de_TagResourceCommandError(output, context);
|
|
1663
3571
|
}
|
|
1664
3572
|
const data = await parseBody(output.body, context);
|
|
1665
3573
|
let contents = {};
|
|
1666
|
-
contents =
|
|
3574
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1667
3575
|
const response = {
|
|
1668
3576
|
$metadata: deserializeMetadata(output),
|
|
1669
3577
|
...contents,
|
|
1670
3578
|
};
|
|
1671
3579
|
return response;
|
|
1672
3580
|
};
|
|
1673
|
-
exports.
|
|
1674
|
-
const
|
|
3581
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
3582
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1675
3583
|
const parsedOutput = {
|
|
1676
3584
|
...output,
|
|
1677
3585
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1690,6 +3598,9 @@ const de_ProvisionPermissionSetCommandError = async (output, context) => {
|
|
|
1690
3598
|
case "ResourceNotFoundException":
|
|
1691
3599
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1692
3600
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3601
|
+
case "ServiceQuotaExceededException":
|
|
3602
|
+
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
3603
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1693
3604
|
case "ThrottlingException":
|
|
1694
3605
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1695
3606
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -1705,9 +3616,9 @@ const de_ProvisionPermissionSetCommandError = async (output, context) => {
|
|
|
1705
3616
|
});
|
|
1706
3617
|
}
|
|
1707
3618
|
};
|
|
1708
|
-
const
|
|
3619
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
1709
3620
|
if (output.statusCode >= 300) {
|
|
1710
|
-
return
|
|
3621
|
+
return de_UntagResourceCommandError(output, context);
|
|
1711
3622
|
}
|
|
1712
3623
|
const data = await parseBody(output.body, context);
|
|
1713
3624
|
let contents = {};
|
|
@@ -1718,8 +3629,8 @@ const de_PutInlinePolicyToPermissionSetCommand = async (output, context) => {
|
|
|
1718
3629
|
};
|
|
1719
3630
|
return response;
|
|
1720
3631
|
};
|
|
1721
|
-
exports.
|
|
1722
|
-
const
|
|
3632
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
3633
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1723
3634
|
const parsedOutput = {
|
|
1724
3635
|
...output,
|
|
1725
3636
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1738,9 +3649,6 @@ const de_PutInlinePolicyToPermissionSetCommandError = async (output, context) =>
|
|
|
1738
3649
|
case "ResourceNotFoundException":
|
|
1739
3650
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1740
3651
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1741
|
-
case "ServiceQuotaExceededException":
|
|
1742
|
-
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
1743
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1744
3652
|
case "ThrottlingException":
|
|
1745
3653
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1746
3654
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -1756,9 +3664,9 @@ const de_PutInlinePolicyToPermissionSetCommandError = async (output, context) =>
|
|
|
1756
3664
|
});
|
|
1757
3665
|
}
|
|
1758
3666
|
};
|
|
1759
|
-
const
|
|
3667
|
+
const de_UpdateApplicationCommand = async (output, context) => {
|
|
1760
3668
|
if (output.statusCode >= 300) {
|
|
1761
|
-
return
|
|
3669
|
+
return de_UpdateApplicationCommandError(output, context);
|
|
1762
3670
|
}
|
|
1763
3671
|
const data = await parseBody(output.body, context);
|
|
1764
3672
|
let contents = {};
|
|
@@ -1769,8 +3677,8 @@ const de_PutPermissionsBoundaryToPermissionSetCommand = async (output, context)
|
|
|
1769
3677
|
};
|
|
1770
3678
|
return response;
|
|
1771
3679
|
};
|
|
1772
|
-
exports.
|
|
1773
|
-
const
|
|
3680
|
+
exports.de_UpdateApplicationCommand = de_UpdateApplicationCommand;
|
|
3681
|
+
const de_UpdateApplicationCommandError = async (output, context) => {
|
|
1774
3682
|
const parsedOutput = {
|
|
1775
3683
|
...output,
|
|
1776
3684
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1804,9 +3712,9 @@ const de_PutPermissionsBoundaryToPermissionSetCommandError = async (output, cont
|
|
|
1804
3712
|
});
|
|
1805
3713
|
}
|
|
1806
3714
|
};
|
|
1807
|
-
const
|
|
3715
|
+
const de_UpdateInstanceCommand = async (output, context) => {
|
|
1808
3716
|
if (output.statusCode >= 300) {
|
|
1809
|
-
return
|
|
3717
|
+
return de_UpdateInstanceCommandError(output, context);
|
|
1810
3718
|
}
|
|
1811
3719
|
const data = await parseBody(output.body, context);
|
|
1812
3720
|
let contents = {};
|
|
@@ -1817,8 +3725,8 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1817
3725
|
};
|
|
1818
3726
|
return response;
|
|
1819
3727
|
};
|
|
1820
|
-
exports.
|
|
1821
|
-
const
|
|
3728
|
+
exports.de_UpdateInstanceCommand = de_UpdateInstanceCommand;
|
|
3729
|
+
const de_UpdateInstanceCommandError = async (output, context) => {
|
|
1822
3730
|
const parsedOutput = {
|
|
1823
3731
|
...output,
|
|
1824
3732
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1834,12 +3742,6 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1834
3742
|
case "InternalServerException":
|
|
1835
3743
|
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1836
3744
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1837
|
-
case "ResourceNotFoundException":
|
|
1838
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1839
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1840
|
-
case "ServiceQuotaExceededException":
|
|
1841
|
-
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
1842
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1843
3745
|
case "ThrottlingException":
|
|
1844
3746
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1845
3747
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -1855,9 +3757,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1855
3757
|
});
|
|
1856
3758
|
}
|
|
1857
3759
|
};
|
|
1858
|
-
const
|
|
3760
|
+
const de_UpdateInstanceAccessControlAttributeConfigurationCommand = async (output, context) => {
|
|
1859
3761
|
if (output.statusCode >= 300) {
|
|
1860
|
-
return
|
|
3762
|
+
return de_UpdateInstanceAccessControlAttributeConfigurationCommandError(output, context);
|
|
1861
3763
|
}
|
|
1862
3764
|
const data = await parseBody(output.body, context);
|
|
1863
3765
|
let contents = {};
|
|
@@ -1868,8 +3770,8 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1868
3770
|
};
|
|
1869
3771
|
return response;
|
|
1870
3772
|
};
|
|
1871
|
-
exports.
|
|
1872
|
-
const
|
|
3773
|
+
exports.de_UpdateInstanceAccessControlAttributeConfigurationCommand = de_UpdateInstanceAccessControlAttributeConfigurationCommand;
|
|
3774
|
+
const de_UpdateInstanceAccessControlAttributeConfigurationCommandError = async (output, context) => {
|
|
1873
3775
|
const parsedOutput = {
|
|
1874
3776
|
...output,
|
|
1875
3777
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1903,9 +3805,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1903
3805
|
});
|
|
1904
3806
|
}
|
|
1905
3807
|
};
|
|
1906
|
-
const
|
|
3808
|
+
const de_UpdatePermissionSetCommand = async (output, context) => {
|
|
1907
3809
|
if (output.statusCode >= 300) {
|
|
1908
|
-
return
|
|
3810
|
+
return de_UpdatePermissionSetCommandError(output, context);
|
|
1909
3811
|
}
|
|
1910
3812
|
const data = await parseBody(output.body, context);
|
|
1911
3813
|
let contents = {};
|
|
@@ -1916,8 +3818,8 @@ const de_UpdateInstanceAccessControlAttributeConfigurationCommand = async (outpu
|
|
|
1916
3818
|
};
|
|
1917
3819
|
return response;
|
|
1918
3820
|
};
|
|
1919
|
-
exports.
|
|
1920
|
-
const
|
|
3821
|
+
exports.de_UpdatePermissionSetCommand = de_UpdatePermissionSetCommand;
|
|
3822
|
+
const de_UpdatePermissionSetCommandError = async (output, context) => {
|
|
1921
3823
|
const parsedOutput = {
|
|
1922
3824
|
...output,
|
|
1923
3825
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1951,9 +3853,9 @@ const de_UpdateInstanceAccessControlAttributeConfigurationCommandError = async (
|
|
|
1951
3853
|
});
|
|
1952
3854
|
}
|
|
1953
3855
|
};
|
|
1954
|
-
const
|
|
3856
|
+
const de_UpdateTrustedTokenIssuerCommand = async (output, context) => {
|
|
1955
3857
|
if (output.statusCode >= 300) {
|
|
1956
|
-
return
|
|
3858
|
+
return de_UpdateTrustedTokenIssuerCommandError(output, context);
|
|
1957
3859
|
}
|
|
1958
3860
|
const data = await parseBody(output.body, context);
|
|
1959
3861
|
let contents = {};
|
|
@@ -1964,8 +3866,8 @@ const de_UpdatePermissionSetCommand = async (output, context) => {
|
|
|
1964
3866
|
};
|
|
1965
3867
|
return response;
|
|
1966
3868
|
};
|
|
1967
|
-
exports.
|
|
1968
|
-
const
|
|
3869
|
+
exports.de_UpdateTrustedTokenIssuerCommand = de_UpdateTrustedTokenIssuerCommand;
|
|
3870
|
+
const de_UpdateTrustedTokenIssuerCommandError = async (output, context) => {
|
|
1969
3871
|
const parsedOutput = {
|
|
1970
3872
|
...output,
|
|
1971
3873
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2062,6 +3964,56 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
2062
3964
|
});
|
|
2063
3965
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2064
3966
|
};
|
|
3967
|
+
const se_ActorPolicyDocument = (input, context) => {
|
|
3968
|
+
return input;
|
|
3969
|
+
};
|
|
3970
|
+
const se_AuthenticationMethod = (input, context) => {
|
|
3971
|
+
return models_0_1.AuthenticationMethod.visit(input, {
|
|
3972
|
+
Iam: (value) => ({ Iam: se_IamAuthenticationMethod(value, context) }),
|
|
3973
|
+
_: (name, value) => ({ name: value }),
|
|
3974
|
+
});
|
|
3975
|
+
};
|
|
3976
|
+
const se_CreateApplicationRequest = (input, context) => {
|
|
3977
|
+
return (0, smithy_client_1.take)(input, {
|
|
3978
|
+
ApplicationProviderArn: [],
|
|
3979
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
3980
|
+
Description: [],
|
|
3981
|
+
InstanceArn: [],
|
|
3982
|
+
Name: [],
|
|
3983
|
+
PortalOptions: smithy_client_1._json,
|
|
3984
|
+
Status: [],
|
|
3985
|
+
Tags: smithy_client_1._json,
|
|
3986
|
+
});
|
|
3987
|
+
};
|
|
3988
|
+
const se_CreateInstanceRequest = (input, context) => {
|
|
3989
|
+
return (0, smithy_client_1.take)(input, {
|
|
3990
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
3991
|
+
Name: [],
|
|
3992
|
+
Tags: smithy_client_1._json,
|
|
3993
|
+
});
|
|
3994
|
+
};
|
|
3995
|
+
const se_CreateTrustedTokenIssuerRequest = (input, context) => {
|
|
3996
|
+
return (0, smithy_client_1.take)(input, {
|
|
3997
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
3998
|
+
InstanceArn: [],
|
|
3999
|
+
Name: [],
|
|
4000
|
+
Tags: smithy_client_1._json,
|
|
4001
|
+
TrustedTokenIssuerConfiguration: smithy_client_1._json,
|
|
4002
|
+
TrustedTokenIssuerType: [],
|
|
4003
|
+
});
|
|
4004
|
+
};
|
|
4005
|
+
const se_IamAuthenticationMethod = (input, context) => {
|
|
4006
|
+
return (0, smithy_client_1.take)(input, {
|
|
4007
|
+
ActorPolicy: (_) => se_ActorPolicyDocument(_, context),
|
|
4008
|
+
});
|
|
4009
|
+
};
|
|
4010
|
+
const se_PutApplicationAuthenticationMethodRequest = (input, context) => {
|
|
4011
|
+
return (0, smithy_client_1.take)(input, {
|
|
4012
|
+
ApplicationArn: [],
|
|
4013
|
+
AuthenticationMethod: (_) => se_AuthenticationMethod(_, context),
|
|
4014
|
+
AuthenticationMethodType: [],
|
|
4015
|
+
});
|
|
4016
|
+
};
|
|
2065
4017
|
const de_AccountAssignmentOperationStatus = (output, context) => {
|
|
2066
4018
|
return (0, smithy_client_1.take)(output, {
|
|
2067
4019
|
CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
@@ -2090,6 +4042,52 @@ const de_AccountAssignmentOperationStatusMetadata = (output, context) => {
|
|
|
2090
4042
|
Status: smithy_client_1.expectString,
|
|
2091
4043
|
});
|
|
2092
4044
|
};
|
|
4045
|
+
const de_ActorPolicyDocument = (output, context) => {
|
|
4046
|
+
return output;
|
|
4047
|
+
};
|
|
4048
|
+
const de_Application = (output, context) => {
|
|
4049
|
+
return (0, smithy_client_1.take)(output, {
|
|
4050
|
+
ApplicationAccount: smithy_client_1.expectString,
|
|
4051
|
+
ApplicationArn: smithy_client_1.expectString,
|
|
4052
|
+
ApplicationProviderArn: smithy_client_1.expectString,
|
|
4053
|
+
CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4054
|
+
Description: smithy_client_1.expectString,
|
|
4055
|
+
InstanceArn: smithy_client_1.expectString,
|
|
4056
|
+
Name: smithy_client_1.expectString,
|
|
4057
|
+
PortalOptions: smithy_client_1._json,
|
|
4058
|
+
Status: smithy_client_1.expectString,
|
|
4059
|
+
});
|
|
4060
|
+
};
|
|
4061
|
+
const de_ApplicationList = (output, context) => {
|
|
4062
|
+
const retVal = (output || [])
|
|
4063
|
+
.filter((e) => e != null)
|
|
4064
|
+
.map((entry) => {
|
|
4065
|
+
return de_Application(entry, context);
|
|
4066
|
+
});
|
|
4067
|
+
return retVal;
|
|
4068
|
+
};
|
|
4069
|
+
const de_AuthenticationMethod = (output, context) => {
|
|
4070
|
+
if (output.Iam != null) {
|
|
4071
|
+
return {
|
|
4072
|
+
Iam: de_IamAuthenticationMethod(output.Iam, context),
|
|
4073
|
+
};
|
|
4074
|
+
}
|
|
4075
|
+
return { $unknown: Object.entries(output)[0] };
|
|
4076
|
+
};
|
|
4077
|
+
const de_AuthenticationMethodItem = (output, context) => {
|
|
4078
|
+
return (0, smithy_client_1.take)(output, {
|
|
4079
|
+
AuthenticationMethod: (_) => de_AuthenticationMethod((0, core_1.awsExpectUnion)(_), context),
|
|
4080
|
+
AuthenticationMethodType: smithy_client_1.expectString,
|
|
4081
|
+
});
|
|
4082
|
+
};
|
|
4083
|
+
const de_AuthenticationMethods = (output, context) => {
|
|
4084
|
+
const retVal = (output || [])
|
|
4085
|
+
.filter((e) => e != null)
|
|
4086
|
+
.map((entry) => {
|
|
4087
|
+
return de_AuthenticationMethodItem(entry, context);
|
|
4088
|
+
});
|
|
4089
|
+
return retVal;
|
|
4090
|
+
};
|
|
2093
4091
|
const de_CreateAccountAssignmentResponse = (output, context) => {
|
|
2094
4092
|
return (0, smithy_client_1.take)(output, {
|
|
2095
4093
|
AccountAssignmentCreationStatus: (_) => de_AccountAssignmentOperationStatus(_, context),
|
|
@@ -2115,6 +4113,29 @@ const de_DescribeAccountAssignmentDeletionStatusResponse = (output, context) =>
|
|
|
2115
4113
|
AccountAssignmentDeletionStatus: (_) => de_AccountAssignmentOperationStatus(_, context),
|
|
2116
4114
|
});
|
|
2117
4115
|
};
|
|
4116
|
+
const de_DescribeApplicationResponse = (output, context) => {
|
|
4117
|
+
return (0, smithy_client_1.take)(output, {
|
|
4118
|
+
ApplicationAccount: smithy_client_1.expectString,
|
|
4119
|
+
ApplicationArn: smithy_client_1.expectString,
|
|
4120
|
+
ApplicationProviderArn: smithy_client_1.expectString,
|
|
4121
|
+
CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4122
|
+
Description: smithy_client_1.expectString,
|
|
4123
|
+
InstanceArn: smithy_client_1.expectString,
|
|
4124
|
+
Name: smithy_client_1.expectString,
|
|
4125
|
+
PortalOptions: smithy_client_1._json,
|
|
4126
|
+
Status: smithy_client_1.expectString,
|
|
4127
|
+
});
|
|
4128
|
+
};
|
|
4129
|
+
const de_DescribeInstanceResponse = (output, context) => {
|
|
4130
|
+
return (0, smithy_client_1.take)(output, {
|
|
4131
|
+
CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4132
|
+
IdentityStoreId: smithy_client_1.expectString,
|
|
4133
|
+
InstanceArn: smithy_client_1.expectString,
|
|
4134
|
+
Name: smithy_client_1.expectString,
|
|
4135
|
+
OwnerAccountId: smithy_client_1.expectString,
|
|
4136
|
+
Status: smithy_client_1.expectString,
|
|
4137
|
+
});
|
|
4138
|
+
};
|
|
2118
4139
|
const de_DescribePermissionSetProvisioningStatusResponse = (output, context) => {
|
|
2119
4140
|
return (0, smithy_client_1.take)(output, {
|
|
2120
4141
|
PermissionSetProvisioningStatus: (_) => de_PermissionSetProvisioningStatus(_, context),
|
|
@@ -2125,6 +4146,34 @@ const de_DescribePermissionSetResponse = (output, context) => {
|
|
|
2125
4146
|
PermissionSet: (_) => de_PermissionSet(_, context),
|
|
2126
4147
|
});
|
|
2127
4148
|
};
|
|
4149
|
+
const de_GetApplicationAuthenticationMethodResponse = (output, context) => {
|
|
4150
|
+
return (0, smithy_client_1.take)(output, {
|
|
4151
|
+
AuthenticationMethod: (_) => de_AuthenticationMethod((0, core_1.awsExpectUnion)(_), context),
|
|
4152
|
+
});
|
|
4153
|
+
};
|
|
4154
|
+
const de_IamAuthenticationMethod = (output, context) => {
|
|
4155
|
+
return (0, smithy_client_1.take)(output, {
|
|
4156
|
+
ActorPolicy: (_) => de_ActorPolicyDocument(_, context),
|
|
4157
|
+
});
|
|
4158
|
+
};
|
|
4159
|
+
const de_InstanceList = (output, context) => {
|
|
4160
|
+
const retVal = (output || [])
|
|
4161
|
+
.filter((e) => e != null)
|
|
4162
|
+
.map((entry) => {
|
|
4163
|
+
return de_InstanceMetadata(entry, context);
|
|
4164
|
+
});
|
|
4165
|
+
return retVal;
|
|
4166
|
+
};
|
|
4167
|
+
const de_InstanceMetadata = (output, context) => {
|
|
4168
|
+
return (0, smithy_client_1.take)(output, {
|
|
4169
|
+
CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4170
|
+
IdentityStoreId: smithy_client_1.expectString,
|
|
4171
|
+
InstanceArn: smithy_client_1.expectString,
|
|
4172
|
+
Name: smithy_client_1.expectString,
|
|
4173
|
+
OwnerAccountId: smithy_client_1.expectString,
|
|
4174
|
+
Status: smithy_client_1.expectString,
|
|
4175
|
+
});
|
|
4176
|
+
};
|
|
2128
4177
|
const de_ListAccountAssignmentCreationStatusResponse = (output, context) => {
|
|
2129
4178
|
return (0, smithy_client_1.take)(output, {
|
|
2130
4179
|
AccountAssignmentsCreationStatus: (_) => de_AccountAssignmentOperationStatusList(_, context),
|
|
@@ -2137,6 +4186,24 @@ const de_ListAccountAssignmentDeletionStatusResponse = (output, context) => {
|
|
|
2137
4186
|
NextToken: smithy_client_1.expectString,
|
|
2138
4187
|
});
|
|
2139
4188
|
};
|
|
4189
|
+
const de_ListApplicationAuthenticationMethodsResponse = (output, context) => {
|
|
4190
|
+
return (0, smithy_client_1.take)(output, {
|
|
4191
|
+
AuthenticationMethods: (_) => de_AuthenticationMethods(_, context),
|
|
4192
|
+
NextToken: smithy_client_1.expectString,
|
|
4193
|
+
});
|
|
4194
|
+
};
|
|
4195
|
+
const de_ListApplicationsResponse = (output, context) => {
|
|
4196
|
+
return (0, smithy_client_1.take)(output, {
|
|
4197
|
+
Applications: (_) => de_ApplicationList(_, context),
|
|
4198
|
+
NextToken: smithy_client_1.expectString,
|
|
4199
|
+
});
|
|
4200
|
+
};
|
|
4201
|
+
const de_ListInstancesResponse = (output, context) => {
|
|
4202
|
+
return (0, smithy_client_1.take)(output, {
|
|
4203
|
+
Instances: (_) => de_InstanceList(_, context),
|
|
4204
|
+
NextToken: smithy_client_1.expectString,
|
|
4205
|
+
});
|
|
4206
|
+
};
|
|
2140
4207
|
const de_ListPermissionSetProvisioningStatusResponse = (output, context) => {
|
|
2141
4208
|
return (0, smithy_client_1.take)(output, {
|
|
2142
4209
|
NextToken: smithy_client_1.expectString,
|