@aws-sdk/client-workspaces-web 3.190.0 → 3.192.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/WorkSpacesWeb.js +105 -0
- package/dist-cjs/WorkSpacesWebClient.js +11 -8
- package/dist-cjs/commands/AssociateBrowserSettingsCommand.js +10 -0
- package/dist-cjs/commands/AssociateNetworkSettingsCommand.js +10 -0
- package/dist-cjs/commands/AssociateTrustStoreCommand.js +10 -0
- package/dist-cjs/commands/AssociateUserAccessLoggingSettingsCommand.js +46 -0
- package/dist-cjs/commands/AssociateUserSettingsCommand.js +10 -0
- package/dist-cjs/commands/CreateBrowserSettingsCommand.js +10 -0
- package/dist-cjs/commands/CreateIdentityProviderCommand.js +10 -0
- package/dist-cjs/commands/CreateNetworkSettingsCommand.js +10 -0
- package/dist-cjs/commands/CreatePortalCommand.js +10 -0
- package/dist-cjs/commands/CreateTrustStoreCommand.js +10 -0
- package/dist-cjs/commands/CreateUserAccessLoggingSettingsCommand.js +46 -0
- package/dist-cjs/commands/CreateUserSettingsCommand.js +10 -0
- package/dist-cjs/commands/DeleteBrowserSettingsCommand.js +10 -0
- package/dist-cjs/commands/DeleteIdentityProviderCommand.js +10 -0
- package/dist-cjs/commands/DeleteNetworkSettingsCommand.js +10 -0
- package/dist-cjs/commands/DeletePortalCommand.js +10 -0
- package/dist-cjs/commands/DeleteTrustStoreCommand.js +10 -0
- package/dist-cjs/commands/DeleteUserAccessLoggingSettingsCommand.js +46 -0
- package/dist-cjs/commands/DeleteUserSettingsCommand.js +10 -0
- package/dist-cjs/commands/DisassociateBrowserSettingsCommand.js +10 -0
- package/dist-cjs/commands/DisassociateNetworkSettingsCommand.js +10 -0
- package/dist-cjs/commands/DisassociateTrustStoreCommand.js +10 -0
- package/dist-cjs/commands/DisassociateUserAccessLoggingSettingsCommand.js +46 -0
- package/dist-cjs/commands/DisassociateUserSettingsCommand.js +10 -0
- package/dist-cjs/commands/GetBrowserSettingsCommand.js +10 -0
- package/dist-cjs/commands/GetIdentityProviderCommand.js +10 -0
- package/dist-cjs/commands/GetNetworkSettingsCommand.js +10 -0
- package/dist-cjs/commands/GetPortalCommand.js +10 -0
- package/dist-cjs/commands/GetPortalServiceProviderMetadataCommand.js +10 -0
- package/dist-cjs/commands/GetTrustStoreCertificateCommand.js +10 -0
- package/dist-cjs/commands/GetTrustStoreCommand.js +10 -0
- package/dist-cjs/commands/GetUserAccessLoggingSettingsCommand.js +46 -0
- package/dist-cjs/commands/GetUserSettingsCommand.js +10 -0
- package/dist-cjs/commands/ListBrowserSettingsCommand.js +10 -0
- package/dist-cjs/commands/ListIdentityProvidersCommand.js +10 -0
- package/dist-cjs/commands/ListNetworkSettingsCommand.js +10 -0
- package/dist-cjs/commands/ListPortalsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ListTrustStoreCertificatesCommand.js +10 -0
- package/dist-cjs/commands/ListTrustStoresCommand.js +10 -0
- package/dist-cjs/commands/ListUserAccessLoggingSettingsCommand.js +46 -0
- package/dist-cjs/commands/ListUserSettingsCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateBrowserSettingsCommand.js +10 -0
- package/dist-cjs/commands/UpdateIdentityProviderCommand.js +10 -0
- package/dist-cjs/commands/UpdateNetworkSettingsCommand.js +10 -0
- package/dist-cjs/commands/UpdatePortalCommand.js +10 -0
- package/dist-cjs/commands/UpdateTrustStoreCommand.js +10 -0
- package/dist-cjs/commands/UpdateUserAccessLoggingSettingsCommand.js +46 -0
- package/dist-cjs/commands/UpdateUserSettingsCommand.js +10 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/models/models_0.js +68 -3
- package/dist-cjs/pagination/ListUserAccessLoggingSettingsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +502 -2
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/WorkSpacesWeb.js +105 -0
- package/dist-es/WorkSpacesWebClient.js +12 -9
- package/dist-es/commands/AssociateBrowserSettingsCommand.js +10 -0
- package/dist-es/commands/AssociateNetworkSettingsCommand.js +10 -0
- package/dist-es/commands/AssociateTrustStoreCommand.js +10 -0
- package/dist-es/commands/AssociateUserAccessLoggingSettingsCommand.js +42 -0
- package/dist-es/commands/AssociateUserSettingsCommand.js +10 -0
- package/dist-es/commands/CreateBrowserSettingsCommand.js +10 -0
- package/dist-es/commands/CreateIdentityProviderCommand.js +10 -0
- package/dist-es/commands/CreateNetworkSettingsCommand.js +10 -0
- package/dist-es/commands/CreatePortalCommand.js +10 -0
- package/dist-es/commands/CreateTrustStoreCommand.js +10 -0
- package/dist-es/commands/CreateUserAccessLoggingSettingsCommand.js +42 -0
- package/dist-es/commands/CreateUserSettingsCommand.js +10 -0
- package/dist-es/commands/DeleteBrowserSettingsCommand.js +10 -0
- package/dist-es/commands/DeleteIdentityProviderCommand.js +10 -0
- package/dist-es/commands/DeleteNetworkSettingsCommand.js +10 -0
- package/dist-es/commands/DeletePortalCommand.js +10 -0
- package/dist-es/commands/DeleteTrustStoreCommand.js +10 -0
- package/dist-es/commands/DeleteUserAccessLoggingSettingsCommand.js +42 -0
- package/dist-es/commands/DeleteUserSettingsCommand.js +10 -0
- package/dist-es/commands/DisassociateBrowserSettingsCommand.js +10 -0
- package/dist-es/commands/DisassociateNetworkSettingsCommand.js +10 -0
- package/dist-es/commands/DisassociateTrustStoreCommand.js +10 -0
- package/dist-es/commands/DisassociateUserAccessLoggingSettingsCommand.js +42 -0
- package/dist-es/commands/DisassociateUserSettingsCommand.js +10 -0
- package/dist-es/commands/GetBrowserSettingsCommand.js +10 -0
- package/dist-es/commands/GetIdentityProviderCommand.js +10 -0
- package/dist-es/commands/GetNetworkSettingsCommand.js +10 -0
- package/dist-es/commands/GetPortalCommand.js +10 -0
- package/dist-es/commands/GetPortalServiceProviderMetadataCommand.js +10 -0
- package/dist-es/commands/GetTrustStoreCertificateCommand.js +10 -0
- package/dist-es/commands/GetTrustStoreCommand.js +10 -0
- package/dist-es/commands/GetUserAccessLoggingSettingsCommand.js +42 -0
- package/dist-es/commands/GetUserSettingsCommand.js +10 -0
- package/dist-es/commands/ListBrowserSettingsCommand.js +10 -0
- package/dist-es/commands/ListIdentityProvidersCommand.js +10 -0
- package/dist-es/commands/ListNetworkSettingsCommand.js +10 -0
- package/dist-es/commands/ListPortalsCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ListTrustStoreCertificatesCommand.js +10 -0
- package/dist-es/commands/ListTrustStoresCommand.js +10 -0
- package/dist-es/commands/ListUserAccessLoggingSettingsCommand.js +42 -0
- package/dist-es/commands/ListUserSettingsCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateBrowserSettingsCommand.js +10 -0
- package/dist-es/commands/UpdateIdentityProviderCommand.js +10 -0
- package/dist-es/commands/UpdateNetworkSettingsCommand.js +10 -0
- package/dist-es/commands/UpdatePortalCommand.js +10 -0
- package/dist-es/commands/UpdateTrustStoreCommand.js +10 -0
- package/dist-es/commands/UpdateUserAccessLoggingSettingsCommand.js +42 -0
- package/dist-es/commands/UpdateUserSettingsCommand.js +10 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/models/models_0.js +49 -0
- package/dist-es/pagination/ListUserAccessLoggingSettingsPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +483 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/WorkSpacesWeb.d.ts +49 -0
- package/dist-types/WorkSpacesWebClient.d.ts +15 -11
- package/dist-types/commands/AssociateBrowserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/AssociateNetworkSettingsCommand.d.ts +2 -0
- package/dist-types/commands/AssociateTrustStoreCommand.d.ts +2 -0
- package/dist-types/commands/AssociateUserAccessLoggingSettingsCommand.d.ts +37 -0
- package/dist-types/commands/AssociateUserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/CreateBrowserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/CreateIdentityProviderCommand.d.ts +2 -0
- package/dist-types/commands/CreateNetworkSettingsCommand.d.ts +2 -0
- package/dist-types/commands/CreatePortalCommand.d.ts +2 -0
- package/dist-types/commands/CreateTrustStoreCommand.d.ts +2 -0
- package/dist-types/commands/CreateUserAccessLoggingSettingsCommand.d.ts +37 -0
- package/dist-types/commands/CreateUserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBrowserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +2 -0
- package/dist-types/commands/DeleteNetworkSettingsCommand.d.ts +2 -0
- package/dist-types/commands/DeletePortalCommand.d.ts +2 -0
- package/dist-types/commands/DeleteTrustStoreCommand.d.ts +2 -0
- package/dist-types/commands/DeleteUserAccessLoggingSettingsCommand.d.ts +37 -0
- package/dist-types/commands/DeleteUserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateBrowserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateNetworkSettingsCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateTrustStoreCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateUserAccessLoggingSettingsCommand.d.ts +37 -0
- package/dist-types/commands/DisassociateUserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/GetBrowserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/GetIdentityProviderCommand.d.ts +2 -0
- package/dist-types/commands/GetNetworkSettingsCommand.d.ts +2 -0
- package/dist-types/commands/GetPortalCommand.d.ts +2 -0
- package/dist-types/commands/GetPortalServiceProviderMetadataCommand.d.ts +2 -0
- package/dist-types/commands/GetTrustStoreCertificateCommand.d.ts +2 -0
- package/dist-types/commands/GetTrustStoreCommand.d.ts +2 -0
- package/dist-types/commands/GetUserAccessLoggingSettingsCommand.d.ts +37 -0
- package/dist-types/commands/GetUserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/ListBrowserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +2 -0
- package/dist-types/commands/ListNetworkSettingsCommand.d.ts +2 -0
- package/dist-types/commands/ListPortalsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListTrustStoreCertificatesCommand.d.ts +2 -0
- package/dist-types/commands/ListTrustStoresCommand.d.ts +2 -0
- package/dist-types/commands/ListUserAccessLoggingSettingsCommand.d.ts +37 -0
- package/dist-types/commands/ListUserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateBrowserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +2 -0
- package/dist-types/commands/UpdateNetworkSettingsCommand.d.ts +2 -0
- package/dist-types/commands/UpdatePortalCommand.d.ts +2 -0
- package/dist-types/commands/UpdateTrustStoreCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUserAccessLoggingSettingsCommand.d.ts +37 -0
- package/dist-types/commands/UpdateUserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +221 -1
- package/dist-types/pagination/ListUserAccessLoggingSettingsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +21 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/WorkSpacesWeb.d.ts +131 -0
- package/dist-types/ts3.4/WorkSpacesWebClient.d.ts +57 -8
- package/dist-types/ts3.4/commands/AssociateBrowserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssociateNetworkSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssociateTrustStoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssociateUserAccessLoggingSettingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/AssociateUserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateBrowserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateIdentityProviderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateNetworkSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreatePortalCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateTrustStoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateUserAccessLoggingSettingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateUserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBrowserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteIdentityProviderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteNetworkSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeletePortalCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteTrustStoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteUserAccessLoggingSettingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteUserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateBrowserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateNetworkSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateTrustStoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateUserAccessLoggingSettingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DisassociateUserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBrowserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetIdentityProviderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetNetworkSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetPortalCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetPortalServiceProviderMetadataCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetTrustStoreCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetTrustStoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetUserAccessLoggingSettingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetUserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListBrowserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListNetworkSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListPortalsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTrustStoreCertificatesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTrustStoresCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListUserAccessLoggingSettingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListUserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateBrowserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateNetworkSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdatePortalCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateTrustStoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUserAccessLoggingSettingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateUserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +105 -0
- package/dist-types/ts3.4/pagination/ListUserAccessLoggingSettingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +4 -3
- package/dist-cjs/endpoints.js +0 -132
- package/dist-es/endpoints.js +0 -128
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.serializeAws_restJson1UpdateUserAccessLoggingSettingsCommand = exports.serializeAws_restJson1UpdateTrustStoreCommand = exports.serializeAws_restJson1UpdatePortalCommand = exports.serializeAws_restJson1UpdateNetworkSettingsCommand = exports.serializeAws_restJson1UpdateIdentityProviderCommand = exports.serializeAws_restJson1UpdateBrowserSettingsCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1ListUserSettingsCommand = exports.serializeAws_restJson1ListUserAccessLoggingSettingsCommand = exports.serializeAws_restJson1ListTrustStoresCommand = exports.serializeAws_restJson1ListTrustStoreCertificatesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListPortalsCommand = exports.serializeAws_restJson1ListNetworkSettingsCommand = exports.serializeAws_restJson1ListIdentityProvidersCommand = exports.serializeAws_restJson1ListBrowserSettingsCommand = exports.serializeAws_restJson1GetUserSettingsCommand = exports.serializeAws_restJson1GetUserAccessLoggingSettingsCommand = exports.serializeAws_restJson1GetTrustStoreCertificateCommand = exports.serializeAws_restJson1GetTrustStoreCommand = exports.serializeAws_restJson1GetPortalServiceProviderMetadataCommand = exports.serializeAws_restJson1GetPortalCommand = exports.serializeAws_restJson1GetNetworkSettingsCommand = exports.serializeAws_restJson1GetIdentityProviderCommand = exports.serializeAws_restJson1GetBrowserSettingsCommand = exports.serializeAws_restJson1DisassociateUserSettingsCommand = exports.serializeAws_restJson1DisassociateUserAccessLoggingSettingsCommand = exports.serializeAws_restJson1DisassociateTrustStoreCommand = exports.serializeAws_restJson1DisassociateNetworkSettingsCommand = exports.serializeAws_restJson1DisassociateBrowserSettingsCommand = exports.serializeAws_restJson1DeleteUserSettingsCommand = exports.serializeAws_restJson1DeleteUserAccessLoggingSettingsCommand = exports.serializeAws_restJson1DeleteTrustStoreCommand = exports.serializeAws_restJson1DeletePortalCommand = exports.serializeAws_restJson1DeleteNetworkSettingsCommand = exports.serializeAws_restJson1DeleteIdentityProviderCommand = exports.serializeAws_restJson1DeleteBrowserSettingsCommand = exports.serializeAws_restJson1CreateUserSettingsCommand = exports.serializeAws_restJson1CreateUserAccessLoggingSettingsCommand = exports.serializeAws_restJson1CreateTrustStoreCommand = exports.serializeAws_restJson1CreatePortalCommand = exports.serializeAws_restJson1CreateNetworkSettingsCommand = exports.serializeAws_restJson1CreateIdentityProviderCommand = exports.serializeAws_restJson1CreateBrowserSettingsCommand = exports.serializeAws_restJson1AssociateUserSettingsCommand = exports.serializeAws_restJson1AssociateUserAccessLoggingSettingsCommand = exports.serializeAws_restJson1AssociateTrustStoreCommand = exports.serializeAws_restJson1AssociateNetworkSettingsCommand = exports.serializeAws_restJson1AssociateBrowserSettingsCommand = void 0;
|
|
4
|
+
exports.deserializeAws_restJson1UpdateTrustStoreCommand = exports.deserializeAws_restJson1UpdatePortalCommand = exports.deserializeAws_restJson1UpdateNetworkSettingsCommand = exports.deserializeAws_restJson1UpdateIdentityProviderCommand = exports.deserializeAws_restJson1UpdateBrowserSettingsCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1ListUserSettingsCommand = exports.deserializeAws_restJson1ListUserAccessLoggingSettingsCommand = exports.deserializeAws_restJson1ListTrustStoresCommand = exports.deserializeAws_restJson1ListTrustStoreCertificatesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListPortalsCommand = exports.deserializeAws_restJson1ListNetworkSettingsCommand = exports.deserializeAws_restJson1ListIdentityProvidersCommand = exports.deserializeAws_restJson1ListBrowserSettingsCommand = exports.deserializeAws_restJson1GetUserSettingsCommand = exports.deserializeAws_restJson1GetUserAccessLoggingSettingsCommand = exports.deserializeAws_restJson1GetTrustStoreCertificateCommand = exports.deserializeAws_restJson1GetTrustStoreCommand = exports.deserializeAws_restJson1GetPortalServiceProviderMetadataCommand = exports.deserializeAws_restJson1GetPortalCommand = exports.deserializeAws_restJson1GetNetworkSettingsCommand = exports.deserializeAws_restJson1GetIdentityProviderCommand = exports.deserializeAws_restJson1GetBrowserSettingsCommand = exports.deserializeAws_restJson1DisassociateUserSettingsCommand = exports.deserializeAws_restJson1DisassociateUserAccessLoggingSettingsCommand = exports.deserializeAws_restJson1DisassociateTrustStoreCommand = exports.deserializeAws_restJson1DisassociateNetworkSettingsCommand = exports.deserializeAws_restJson1DisassociateBrowserSettingsCommand = exports.deserializeAws_restJson1DeleteUserSettingsCommand = exports.deserializeAws_restJson1DeleteUserAccessLoggingSettingsCommand = exports.deserializeAws_restJson1DeleteTrustStoreCommand = exports.deserializeAws_restJson1DeletePortalCommand = exports.deserializeAws_restJson1DeleteNetworkSettingsCommand = exports.deserializeAws_restJson1DeleteIdentityProviderCommand = exports.deserializeAws_restJson1DeleteBrowserSettingsCommand = exports.deserializeAws_restJson1CreateUserSettingsCommand = exports.deserializeAws_restJson1CreateUserAccessLoggingSettingsCommand = exports.deserializeAws_restJson1CreateTrustStoreCommand = exports.deserializeAws_restJson1CreatePortalCommand = exports.deserializeAws_restJson1CreateNetworkSettingsCommand = exports.deserializeAws_restJson1CreateIdentityProviderCommand = exports.deserializeAws_restJson1CreateBrowserSettingsCommand = exports.deserializeAws_restJson1AssociateUserSettingsCommand = exports.deserializeAws_restJson1AssociateUserAccessLoggingSettingsCommand = exports.deserializeAws_restJson1AssociateTrustStoreCommand = exports.deserializeAws_restJson1AssociateNetworkSettingsCommand = exports.deserializeAws_restJson1AssociateBrowserSettingsCommand = exports.serializeAws_restJson1UpdateUserSettingsCommand = void 0;
|
|
5
|
+
exports.deserializeAws_restJson1UpdateUserSettingsCommand = exports.deserializeAws_restJson1UpdateUserAccessLoggingSettingsCommand = void 0;
|
|
5
6
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
8
|
const uuid_1 = require("uuid");
|
|
@@ -70,6 +71,28 @@ const serializeAws_restJson1AssociateTrustStoreCommand = async (input, context)
|
|
|
70
71
|
});
|
|
71
72
|
};
|
|
72
73
|
exports.serializeAws_restJson1AssociateTrustStoreCommand = serializeAws_restJson1AssociateTrustStoreCommand;
|
|
74
|
+
const serializeAws_restJson1AssociateUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
75
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
76
|
+
const headers = {};
|
|
77
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
|
|
78
|
+
"/portals/{portalArn+}/userAccessLoggingSettings";
|
|
79
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
80
|
+
const query = map({
|
|
81
|
+
userAccessLoggingSettingsArn: [, input.userAccessLoggingSettingsArn],
|
|
82
|
+
});
|
|
83
|
+
let body;
|
|
84
|
+
return new protocol_http_1.HttpRequest({
|
|
85
|
+
protocol,
|
|
86
|
+
hostname,
|
|
87
|
+
port,
|
|
88
|
+
method: "PUT",
|
|
89
|
+
headers,
|
|
90
|
+
path: resolvedPath,
|
|
91
|
+
query,
|
|
92
|
+
body,
|
|
93
|
+
});
|
|
94
|
+
};
|
|
95
|
+
exports.serializeAws_restJson1AssociateUserAccessLoggingSettingsCommand = serializeAws_restJson1AssociateUserAccessLoggingSettingsCommand;
|
|
73
96
|
const serializeAws_restJson1AssociateUserSettingsCommand = async (input, context) => {
|
|
74
97
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
75
98
|
const headers = {};
|
|
@@ -229,6 +252,30 @@ const serializeAws_restJson1CreateTrustStoreCommand = async (input, context) =>
|
|
|
229
252
|
});
|
|
230
253
|
};
|
|
231
254
|
exports.serializeAws_restJson1CreateTrustStoreCommand = serializeAws_restJson1CreateTrustStoreCommand;
|
|
255
|
+
const serializeAws_restJson1CreateUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
256
|
+
var _a;
|
|
257
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
258
|
+
const headers = {
|
|
259
|
+
"content-type": "application/json",
|
|
260
|
+
};
|
|
261
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/userAccessLoggingSettings";
|
|
262
|
+
let body;
|
|
263
|
+
body = JSON.stringify({
|
|
264
|
+
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
265
|
+
...(input.kinesisStreamArn != null && { kinesisStreamArn: input.kinesisStreamArn }),
|
|
266
|
+
...(input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
|
|
267
|
+
});
|
|
268
|
+
return new protocol_http_1.HttpRequest({
|
|
269
|
+
protocol,
|
|
270
|
+
hostname,
|
|
271
|
+
port,
|
|
272
|
+
method: "POST",
|
|
273
|
+
headers,
|
|
274
|
+
path: resolvedPath,
|
|
275
|
+
body,
|
|
276
|
+
});
|
|
277
|
+
};
|
|
278
|
+
exports.serializeAws_restJson1CreateUserAccessLoggingSettingsCommand = serializeAws_restJson1CreateUserAccessLoggingSettingsCommand;
|
|
232
279
|
const serializeAws_restJson1CreateUserSettingsCommand = async (input, context) => {
|
|
233
280
|
var _a;
|
|
234
281
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -346,6 +393,24 @@ const serializeAws_restJson1DeleteTrustStoreCommand = async (input, context) =>
|
|
|
346
393
|
});
|
|
347
394
|
};
|
|
348
395
|
exports.serializeAws_restJson1DeleteTrustStoreCommand = serializeAws_restJson1DeleteTrustStoreCommand;
|
|
396
|
+
const serializeAws_restJson1DeleteUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
397
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
398
|
+
const headers = {};
|
|
399
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
|
|
400
|
+
"/userAccessLoggingSettings/{userAccessLoggingSettingsArn+}";
|
|
401
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "userAccessLoggingSettingsArn", () => input.userAccessLoggingSettingsArn, "{userAccessLoggingSettingsArn+}", true);
|
|
402
|
+
let body;
|
|
403
|
+
return new protocol_http_1.HttpRequest({
|
|
404
|
+
protocol,
|
|
405
|
+
hostname,
|
|
406
|
+
port,
|
|
407
|
+
method: "DELETE",
|
|
408
|
+
headers,
|
|
409
|
+
path: resolvedPath,
|
|
410
|
+
body,
|
|
411
|
+
});
|
|
412
|
+
};
|
|
413
|
+
exports.serializeAws_restJson1DeleteUserAccessLoggingSettingsCommand = serializeAws_restJson1DeleteUserAccessLoggingSettingsCommand;
|
|
349
414
|
const serializeAws_restJson1DeleteUserSettingsCommand = async (input, context) => {
|
|
350
415
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
351
416
|
const headers = {};
|
|
@@ -414,6 +479,24 @@ const serializeAws_restJson1DisassociateTrustStoreCommand = async (input, contex
|
|
|
414
479
|
});
|
|
415
480
|
};
|
|
416
481
|
exports.serializeAws_restJson1DisassociateTrustStoreCommand = serializeAws_restJson1DisassociateTrustStoreCommand;
|
|
482
|
+
const serializeAws_restJson1DisassociateUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
483
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
484
|
+
const headers = {};
|
|
485
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
|
|
486
|
+
"/portals/{portalArn+}/userAccessLoggingSettings";
|
|
487
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
488
|
+
let body;
|
|
489
|
+
return new protocol_http_1.HttpRequest({
|
|
490
|
+
protocol,
|
|
491
|
+
hostname,
|
|
492
|
+
port,
|
|
493
|
+
method: "DELETE",
|
|
494
|
+
headers,
|
|
495
|
+
path: resolvedPath,
|
|
496
|
+
body,
|
|
497
|
+
});
|
|
498
|
+
};
|
|
499
|
+
exports.serializeAws_restJson1DisassociateUserAccessLoggingSettingsCommand = serializeAws_restJson1DisassociateUserAccessLoggingSettingsCommand;
|
|
417
500
|
const serializeAws_restJson1DisassociateUserSettingsCommand = async (input, context) => {
|
|
418
501
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
419
502
|
const headers = {};
|
|
@@ -554,6 +637,24 @@ const serializeAws_restJson1GetTrustStoreCertificateCommand = async (input, cont
|
|
|
554
637
|
});
|
|
555
638
|
};
|
|
556
639
|
exports.serializeAws_restJson1GetTrustStoreCertificateCommand = serializeAws_restJson1GetTrustStoreCertificateCommand;
|
|
640
|
+
const serializeAws_restJson1GetUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
641
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
642
|
+
const headers = {};
|
|
643
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
|
|
644
|
+
"/userAccessLoggingSettings/{userAccessLoggingSettingsArn+}";
|
|
645
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "userAccessLoggingSettingsArn", () => input.userAccessLoggingSettingsArn, "{userAccessLoggingSettingsArn+}", true);
|
|
646
|
+
let body;
|
|
647
|
+
return new protocol_http_1.HttpRequest({
|
|
648
|
+
protocol,
|
|
649
|
+
hostname,
|
|
650
|
+
port,
|
|
651
|
+
method: "GET",
|
|
652
|
+
headers,
|
|
653
|
+
path: resolvedPath,
|
|
654
|
+
body,
|
|
655
|
+
});
|
|
656
|
+
};
|
|
657
|
+
exports.serializeAws_restJson1GetUserAccessLoggingSettingsCommand = serializeAws_restJson1GetUserAccessLoggingSettingsCommand;
|
|
557
658
|
const serializeAws_restJson1GetUserSettingsCommand = async (input, context) => {
|
|
558
659
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
559
660
|
const headers = {};
|
|
@@ -717,6 +818,27 @@ const serializeAws_restJson1ListTrustStoresCommand = async (input, context) => {
|
|
|
717
818
|
});
|
|
718
819
|
};
|
|
719
820
|
exports.serializeAws_restJson1ListTrustStoresCommand = serializeAws_restJson1ListTrustStoresCommand;
|
|
821
|
+
const serializeAws_restJson1ListUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
822
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
823
|
+
const headers = {};
|
|
824
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/userAccessLoggingSettings";
|
|
825
|
+
const query = map({
|
|
826
|
+
nextToken: [, input.nextToken],
|
|
827
|
+
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
828
|
+
});
|
|
829
|
+
let body;
|
|
830
|
+
return new protocol_http_1.HttpRequest({
|
|
831
|
+
protocol,
|
|
832
|
+
hostname,
|
|
833
|
+
port,
|
|
834
|
+
method: "GET",
|
|
835
|
+
headers,
|
|
836
|
+
path: resolvedPath,
|
|
837
|
+
query,
|
|
838
|
+
body,
|
|
839
|
+
});
|
|
840
|
+
};
|
|
841
|
+
exports.serializeAws_restJson1ListUserAccessLoggingSettingsCommand = serializeAws_restJson1ListUserAccessLoggingSettingsCommand;
|
|
720
842
|
const serializeAws_restJson1ListUserSettingsCommand = async (input, context) => {
|
|
721
843
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
722
844
|
const headers = {};
|
|
@@ -914,6 +1036,31 @@ const serializeAws_restJson1UpdateTrustStoreCommand = async (input, context) =>
|
|
|
914
1036
|
});
|
|
915
1037
|
};
|
|
916
1038
|
exports.serializeAws_restJson1UpdateTrustStoreCommand = serializeAws_restJson1UpdateTrustStoreCommand;
|
|
1039
|
+
const serializeAws_restJson1UpdateUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
1040
|
+
var _a;
|
|
1041
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1042
|
+
const headers = {
|
|
1043
|
+
"content-type": "application/json",
|
|
1044
|
+
};
|
|
1045
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1046
|
+
"/userAccessLoggingSettings/{userAccessLoggingSettingsArn+}";
|
|
1047
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "userAccessLoggingSettingsArn", () => input.userAccessLoggingSettingsArn, "{userAccessLoggingSettingsArn+}", true);
|
|
1048
|
+
let body;
|
|
1049
|
+
body = JSON.stringify({
|
|
1050
|
+
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1051
|
+
...(input.kinesisStreamArn != null && { kinesisStreamArn: input.kinesisStreamArn }),
|
|
1052
|
+
});
|
|
1053
|
+
return new protocol_http_1.HttpRequest({
|
|
1054
|
+
protocol,
|
|
1055
|
+
hostname,
|
|
1056
|
+
port,
|
|
1057
|
+
method: "PATCH",
|
|
1058
|
+
headers,
|
|
1059
|
+
path: resolvedPath,
|
|
1060
|
+
body,
|
|
1061
|
+
});
|
|
1062
|
+
};
|
|
1063
|
+
exports.serializeAws_restJson1UpdateUserAccessLoggingSettingsCommand = serializeAws_restJson1UpdateUserAccessLoggingSettingsCommand;
|
|
917
1064
|
const serializeAws_restJson1UpdateUserSettingsCommand = async (input, context) => {
|
|
918
1065
|
var _a;
|
|
919
1066
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -1099,6 +1246,58 @@ const deserializeAws_restJson1AssociateTrustStoreCommandError = async (output, c
|
|
|
1099
1246
|
});
|
|
1100
1247
|
}
|
|
1101
1248
|
};
|
|
1249
|
+
const deserializeAws_restJson1AssociateUserAccessLoggingSettingsCommand = async (output, context) => {
|
|
1250
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1251
|
+
return deserializeAws_restJson1AssociateUserAccessLoggingSettingsCommandError(output, context);
|
|
1252
|
+
}
|
|
1253
|
+
const contents = map({
|
|
1254
|
+
$metadata: deserializeMetadata(output),
|
|
1255
|
+
});
|
|
1256
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1257
|
+
if (data.portalArn != null) {
|
|
1258
|
+
contents.portalArn = (0, smithy_client_1.expectString)(data.portalArn);
|
|
1259
|
+
}
|
|
1260
|
+
if (data.userAccessLoggingSettingsArn != null) {
|
|
1261
|
+
contents.userAccessLoggingSettingsArn = (0, smithy_client_1.expectString)(data.userAccessLoggingSettingsArn);
|
|
1262
|
+
}
|
|
1263
|
+
return contents;
|
|
1264
|
+
};
|
|
1265
|
+
exports.deserializeAws_restJson1AssociateUserAccessLoggingSettingsCommand = deserializeAws_restJson1AssociateUserAccessLoggingSettingsCommand;
|
|
1266
|
+
const deserializeAws_restJson1AssociateUserAccessLoggingSettingsCommandError = async (output, context) => {
|
|
1267
|
+
const parsedOutput = {
|
|
1268
|
+
...output,
|
|
1269
|
+
body: await parseErrorBody(output.body, context),
|
|
1270
|
+
};
|
|
1271
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1272
|
+
switch (errorCode) {
|
|
1273
|
+
case "AccessDeniedException":
|
|
1274
|
+
case "com.amazonaws.workspacesweb#AccessDeniedException":
|
|
1275
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1276
|
+
case "ConflictException":
|
|
1277
|
+
case "com.amazonaws.workspacesweb#ConflictException":
|
|
1278
|
+
throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
|
|
1279
|
+
case "InternalServerException":
|
|
1280
|
+
case "com.amazonaws.workspacesweb#InternalServerException":
|
|
1281
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
1282
|
+
case "ResourceNotFoundException":
|
|
1283
|
+
case "com.amazonaws.workspacesweb#ResourceNotFoundException":
|
|
1284
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1285
|
+
case "ThrottlingException":
|
|
1286
|
+
case "com.amazonaws.workspacesweb#ThrottlingException":
|
|
1287
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1288
|
+
case "ValidationException":
|
|
1289
|
+
case "com.amazonaws.workspacesweb#ValidationException":
|
|
1290
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
1291
|
+
default:
|
|
1292
|
+
const parsedBody = parsedOutput.body;
|
|
1293
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1294
|
+
output,
|
|
1295
|
+
parsedBody,
|
|
1296
|
+
exceptionCtor: WorkSpacesWebServiceException_1.WorkSpacesWebServiceException,
|
|
1297
|
+
errorCode,
|
|
1298
|
+
});
|
|
1299
|
+
}
|
|
1300
|
+
};
|
|
1102
1301
|
const deserializeAws_restJson1AssociateUserSettingsCommand = async (output, context) => {
|
|
1103
1302
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1104
1303
|
return deserializeAws_restJson1AssociateUserSettingsCommandError(output, context);
|
|
@@ -1408,6 +1607,55 @@ const deserializeAws_restJson1CreateTrustStoreCommandError = async (output, cont
|
|
|
1408
1607
|
});
|
|
1409
1608
|
}
|
|
1410
1609
|
};
|
|
1610
|
+
const deserializeAws_restJson1CreateUserAccessLoggingSettingsCommand = async (output, context) => {
|
|
1611
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1612
|
+
return deserializeAws_restJson1CreateUserAccessLoggingSettingsCommandError(output, context);
|
|
1613
|
+
}
|
|
1614
|
+
const contents = map({
|
|
1615
|
+
$metadata: deserializeMetadata(output),
|
|
1616
|
+
});
|
|
1617
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1618
|
+
if (data.userAccessLoggingSettingsArn != null) {
|
|
1619
|
+
contents.userAccessLoggingSettingsArn = (0, smithy_client_1.expectString)(data.userAccessLoggingSettingsArn);
|
|
1620
|
+
}
|
|
1621
|
+
return contents;
|
|
1622
|
+
};
|
|
1623
|
+
exports.deserializeAws_restJson1CreateUserAccessLoggingSettingsCommand = deserializeAws_restJson1CreateUserAccessLoggingSettingsCommand;
|
|
1624
|
+
const deserializeAws_restJson1CreateUserAccessLoggingSettingsCommandError = async (output, context) => {
|
|
1625
|
+
const parsedOutput = {
|
|
1626
|
+
...output,
|
|
1627
|
+
body: await parseErrorBody(output.body, context),
|
|
1628
|
+
};
|
|
1629
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1630
|
+
switch (errorCode) {
|
|
1631
|
+
case "AccessDeniedException":
|
|
1632
|
+
case "com.amazonaws.workspacesweb#AccessDeniedException":
|
|
1633
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1634
|
+
case "ConflictException":
|
|
1635
|
+
case "com.amazonaws.workspacesweb#ConflictException":
|
|
1636
|
+
throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
|
|
1637
|
+
case "InternalServerException":
|
|
1638
|
+
case "com.amazonaws.workspacesweb#InternalServerException":
|
|
1639
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
1640
|
+
case "ServiceQuotaExceededException":
|
|
1641
|
+
case "com.amazonaws.workspacesweb#ServiceQuotaExceededException":
|
|
1642
|
+
throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
1643
|
+
case "ThrottlingException":
|
|
1644
|
+
case "com.amazonaws.workspacesweb#ThrottlingException":
|
|
1645
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1646
|
+
case "ValidationException":
|
|
1647
|
+
case "com.amazonaws.workspacesweb#ValidationException":
|
|
1648
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
1649
|
+
default:
|
|
1650
|
+
const parsedBody = parsedOutput.body;
|
|
1651
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1652
|
+
output,
|
|
1653
|
+
parsedBody,
|
|
1654
|
+
exceptionCtor: WorkSpacesWebServiceException_1.WorkSpacesWebServiceException,
|
|
1655
|
+
errorCode,
|
|
1656
|
+
});
|
|
1657
|
+
}
|
|
1658
|
+
};
|
|
1411
1659
|
const deserializeAws_restJson1CreateUserSettingsCommand = async (output, context) => {
|
|
1412
1660
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1413
1661
|
return deserializeAws_restJson1CreateUserSettingsCommandError(output, context);
|
|
@@ -1672,6 +1920,49 @@ const deserializeAws_restJson1DeleteTrustStoreCommandError = async (output, cont
|
|
|
1672
1920
|
});
|
|
1673
1921
|
}
|
|
1674
1922
|
};
|
|
1923
|
+
const deserializeAws_restJson1DeleteUserAccessLoggingSettingsCommand = async (output, context) => {
|
|
1924
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1925
|
+
return deserializeAws_restJson1DeleteUserAccessLoggingSettingsCommandError(output, context);
|
|
1926
|
+
}
|
|
1927
|
+
const contents = map({
|
|
1928
|
+
$metadata: deserializeMetadata(output),
|
|
1929
|
+
});
|
|
1930
|
+
await collectBody(output.body, context);
|
|
1931
|
+
return contents;
|
|
1932
|
+
};
|
|
1933
|
+
exports.deserializeAws_restJson1DeleteUserAccessLoggingSettingsCommand = deserializeAws_restJson1DeleteUserAccessLoggingSettingsCommand;
|
|
1934
|
+
const deserializeAws_restJson1DeleteUserAccessLoggingSettingsCommandError = async (output, context) => {
|
|
1935
|
+
const parsedOutput = {
|
|
1936
|
+
...output,
|
|
1937
|
+
body: await parseErrorBody(output.body, context),
|
|
1938
|
+
};
|
|
1939
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1940
|
+
switch (errorCode) {
|
|
1941
|
+
case "AccessDeniedException":
|
|
1942
|
+
case "com.amazonaws.workspacesweb#AccessDeniedException":
|
|
1943
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1944
|
+
case "ConflictException":
|
|
1945
|
+
case "com.amazonaws.workspacesweb#ConflictException":
|
|
1946
|
+
throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
|
|
1947
|
+
case "InternalServerException":
|
|
1948
|
+
case "com.amazonaws.workspacesweb#InternalServerException":
|
|
1949
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
1950
|
+
case "ThrottlingException":
|
|
1951
|
+
case "com.amazonaws.workspacesweb#ThrottlingException":
|
|
1952
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1953
|
+
case "ValidationException":
|
|
1954
|
+
case "com.amazonaws.workspacesweb#ValidationException":
|
|
1955
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
1956
|
+
default:
|
|
1957
|
+
const parsedBody = parsedOutput.body;
|
|
1958
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1959
|
+
output,
|
|
1960
|
+
parsedBody,
|
|
1961
|
+
exceptionCtor: WorkSpacesWebServiceException_1.WorkSpacesWebServiceException,
|
|
1962
|
+
errorCode,
|
|
1963
|
+
});
|
|
1964
|
+
}
|
|
1965
|
+
};
|
|
1675
1966
|
const deserializeAws_restJson1DeleteUserSettingsCommand = async (output, context) => {
|
|
1676
1967
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1677
1968
|
return deserializeAws_restJson1DeleteUserSettingsCommandError(output, context);
|
|
@@ -1844,6 +2135,49 @@ const deserializeAws_restJson1DisassociateTrustStoreCommandError = async (output
|
|
|
1844
2135
|
});
|
|
1845
2136
|
}
|
|
1846
2137
|
};
|
|
2138
|
+
const deserializeAws_restJson1DisassociateUserAccessLoggingSettingsCommand = async (output, context) => {
|
|
2139
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2140
|
+
return deserializeAws_restJson1DisassociateUserAccessLoggingSettingsCommandError(output, context);
|
|
2141
|
+
}
|
|
2142
|
+
const contents = map({
|
|
2143
|
+
$metadata: deserializeMetadata(output),
|
|
2144
|
+
});
|
|
2145
|
+
await collectBody(output.body, context);
|
|
2146
|
+
return contents;
|
|
2147
|
+
};
|
|
2148
|
+
exports.deserializeAws_restJson1DisassociateUserAccessLoggingSettingsCommand = deserializeAws_restJson1DisassociateUserAccessLoggingSettingsCommand;
|
|
2149
|
+
const deserializeAws_restJson1DisassociateUserAccessLoggingSettingsCommandError = async (output, context) => {
|
|
2150
|
+
const parsedOutput = {
|
|
2151
|
+
...output,
|
|
2152
|
+
body: await parseErrorBody(output.body, context),
|
|
2153
|
+
};
|
|
2154
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2155
|
+
switch (errorCode) {
|
|
2156
|
+
case "AccessDeniedException":
|
|
2157
|
+
case "com.amazonaws.workspacesweb#AccessDeniedException":
|
|
2158
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2159
|
+
case "InternalServerException":
|
|
2160
|
+
case "com.amazonaws.workspacesweb#InternalServerException":
|
|
2161
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
2162
|
+
case "ResourceNotFoundException":
|
|
2163
|
+
case "com.amazonaws.workspacesweb#ResourceNotFoundException":
|
|
2164
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2165
|
+
case "ThrottlingException":
|
|
2166
|
+
case "com.amazonaws.workspacesweb#ThrottlingException":
|
|
2167
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2168
|
+
case "ValidationException":
|
|
2169
|
+
case "com.amazonaws.workspacesweb#ValidationException":
|
|
2170
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
2171
|
+
default:
|
|
2172
|
+
const parsedBody = parsedOutput.body;
|
|
2173
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2174
|
+
output,
|
|
2175
|
+
parsedBody,
|
|
2176
|
+
exceptionCtor: WorkSpacesWebServiceException_1.WorkSpacesWebServiceException,
|
|
2177
|
+
errorCode,
|
|
2178
|
+
});
|
|
2179
|
+
}
|
|
2180
|
+
};
|
|
1847
2181
|
const deserializeAws_restJson1DisassociateUserSettingsCommand = async (output, context) => {
|
|
1848
2182
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1849
2183
|
return deserializeAws_restJson1DisassociateUserSettingsCommandError(output, context);
|
|
@@ -2215,6 +2549,52 @@ const deserializeAws_restJson1GetTrustStoreCertificateCommandError = async (outp
|
|
|
2215
2549
|
});
|
|
2216
2550
|
}
|
|
2217
2551
|
};
|
|
2552
|
+
const deserializeAws_restJson1GetUserAccessLoggingSettingsCommand = async (output, context) => {
|
|
2553
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2554
|
+
return deserializeAws_restJson1GetUserAccessLoggingSettingsCommandError(output, context);
|
|
2555
|
+
}
|
|
2556
|
+
const contents = map({
|
|
2557
|
+
$metadata: deserializeMetadata(output),
|
|
2558
|
+
});
|
|
2559
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2560
|
+
if (data.userAccessLoggingSettings != null) {
|
|
2561
|
+
contents.userAccessLoggingSettings = deserializeAws_restJson1UserAccessLoggingSettings(data.userAccessLoggingSettings, context);
|
|
2562
|
+
}
|
|
2563
|
+
return contents;
|
|
2564
|
+
};
|
|
2565
|
+
exports.deserializeAws_restJson1GetUserAccessLoggingSettingsCommand = deserializeAws_restJson1GetUserAccessLoggingSettingsCommand;
|
|
2566
|
+
const deserializeAws_restJson1GetUserAccessLoggingSettingsCommandError = async (output, context) => {
|
|
2567
|
+
const parsedOutput = {
|
|
2568
|
+
...output,
|
|
2569
|
+
body: await parseErrorBody(output.body, context),
|
|
2570
|
+
};
|
|
2571
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2572
|
+
switch (errorCode) {
|
|
2573
|
+
case "AccessDeniedException":
|
|
2574
|
+
case "com.amazonaws.workspacesweb#AccessDeniedException":
|
|
2575
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2576
|
+
case "InternalServerException":
|
|
2577
|
+
case "com.amazonaws.workspacesweb#InternalServerException":
|
|
2578
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
2579
|
+
case "ResourceNotFoundException":
|
|
2580
|
+
case "com.amazonaws.workspacesweb#ResourceNotFoundException":
|
|
2581
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2582
|
+
case "ThrottlingException":
|
|
2583
|
+
case "com.amazonaws.workspacesweb#ThrottlingException":
|
|
2584
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2585
|
+
case "ValidationException":
|
|
2586
|
+
case "com.amazonaws.workspacesweb#ValidationException":
|
|
2587
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
2588
|
+
default:
|
|
2589
|
+
const parsedBody = parsedOutput.body;
|
|
2590
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2591
|
+
output,
|
|
2592
|
+
parsedBody,
|
|
2593
|
+
exceptionCtor: WorkSpacesWebServiceException_1.WorkSpacesWebServiceException,
|
|
2594
|
+
errorCode,
|
|
2595
|
+
});
|
|
2596
|
+
}
|
|
2597
|
+
};
|
|
2218
2598
|
const deserializeAws_restJson1GetUserSettingsCommand = async (output, context) => {
|
|
2219
2599
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2220
2600
|
return deserializeAws_restJson1GetUserSettingsCommandError(output, context);
|
|
@@ -2589,6 +2969,52 @@ const deserializeAws_restJson1ListTrustStoresCommandError = async (output, conte
|
|
|
2589
2969
|
});
|
|
2590
2970
|
}
|
|
2591
2971
|
};
|
|
2972
|
+
const deserializeAws_restJson1ListUserAccessLoggingSettingsCommand = async (output, context) => {
|
|
2973
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2974
|
+
return deserializeAws_restJson1ListUserAccessLoggingSettingsCommandError(output, context);
|
|
2975
|
+
}
|
|
2976
|
+
const contents = map({
|
|
2977
|
+
$metadata: deserializeMetadata(output),
|
|
2978
|
+
});
|
|
2979
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2980
|
+
if (data.nextToken != null) {
|
|
2981
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2982
|
+
}
|
|
2983
|
+
if (data.userAccessLoggingSettings != null) {
|
|
2984
|
+
contents.userAccessLoggingSettings = deserializeAws_restJson1UserAccessLoggingSettingsList(data.userAccessLoggingSettings, context);
|
|
2985
|
+
}
|
|
2986
|
+
return contents;
|
|
2987
|
+
};
|
|
2988
|
+
exports.deserializeAws_restJson1ListUserAccessLoggingSettingsCommand = deserializeAws_restJson1ListUserAccessLoggingSettingsCommand;
|
|
2989
|
+
const deserializeAws_restJson1ListUserAccessLoggingSettingsCommandError = async (output, context) => {
|
|
2990
|
+
const parsedOutput = {
|
|
2991
|
+
...output,
|
|
2992
|
+
body: await parseErrorBody(output.body, context),
|
|
2993
|
+
};
|
|
2994
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2995
|
+
switch (errorCode) {
|
|
2996
|
+
case "AccessDeniedException":
|
|
2997
|
+
case "com.amazonaws.workspacesweb#AccessDeniedException":
|
|
2998
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2999
|
+
case "InternalServerException":
|
|
3000
|
+
case "com.amazonaws.workspacesweb#InternalServerException":
|
|
3001
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
3002
|
+
case "ThrottlingException":
|
|
3003
|
+
case "com.amazonaws.workspacesweb#ThrottlingException":
|
|
3004
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3005
|
+
case "ValidationException":
|
|
3006
|
+
case "com.amazonaws.workspacesweb#ValidationException":
|
|
3007
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
3008
|
+
default:
|
|
3009
|
+
const parsedBody = parsedOutput.body;
|
|
3010
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3011
|
+
output,
|
|
3012
|
+
parsedBody,
|
|
3013
|
+
exceptionCtor: WorkSpacesWebServiceException_1.WorkSpacesWebServiceException,
|
|
3014
|
+
errorCode,
|
|
3015
|
+
});
|
|
3016
|
+
}
|
|
3017
|
+
};
|
|
2592
3018
|
const deserializeAws_restJson1ListUserSettingsCommand = async (output, context) => {
|
|
2593
3019
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2594
3020
|
return deserializeAws_restJson1ListUserSettingsCommandError(output, context);
|
|
@@ -2957,6 +3383,52 @@ const deserializeAws_restJson1UpdateTrustStoreCommandError = async (output, cont
|
|
|
2957
3383
|
});
|
|
2958
3384
|
}
|
|
2959
3385
|
};
|
|
3386
|
+
const deserializeAws_restJson1UpdateUserAccessLoggingSettingsCommand = async (output, context) => {
|
|
3387
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3388
|
+
return deserializeAws_restJson1UpdateUserAccessLoggingSettingsCommandError(output, context);
|
|
3389
|
+
}
|
|
3390
|
+
const contents = map({
|
|
3391
|
+
$metadata: deserializeMetadata(output),
|
|
3392
|
+
});
|
|
3393
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3394
|
+
if (data.userAccessLoggingSettings != null) {
|
|
3395
|
+
contents.userAccessLoggingSettings = deserializeAws_restJson1UserAccessLoggingSettings(data.userAccessLoggingSettings, context);
|
|
3396
|
+
}
|
|
3397
|
+
return contents;
|
|
3398
|
+
};
|
|
3399
|
+
exports.deserializeAws_restJson1UpdateUserAccessLoggingSettingsCommand = deserializeAws_restJson1UpdateUserAccessLoggingSettingsCommand;
|
|
3400
|
+
const deserializeAws_restJson1UpdateUserAccessLoggingSettingsCommandError = async (output, context) => {
|
|
3401
|
+
const parsedOutput = {
|
|
3402
|
+
...output,
|
|
3403
|
+
body: await parseErrorBody(output.body, context),
|
|
3404
|
+
};
|
|
3405
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3406
|
+
switch (errorCode) {
|
|
3407
|
+
case "AccessDeniedException":
|
|
3408
|
+
case "com.amazonaws.workspacesweb#AccessDeniedException":
|
|
3409
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
3410
|
+
case "InternalServerException":
|
|
3411
|
+
case "com.amazonaws.workspacesweb#InternalServerException":
|
|
3412
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
3413
|
+
case "ResourceNotFoundException":
|
|
3414
|
+
case "com.amazonaws.workspacesweb#ResourceNotFoundException":
|
|
3415
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3416
|
+
case "ThrottlingException":
|
|
3417
|
+
case "com.amazonaws.workspacesweb#ThrottlingException":
|
|
3418
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3419
|
+
case "ValidationException":
|
|
3420
|
+
case "com.amazonaws.workspacesweb#ValidationException":
|
|
3421
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
3422
|
+
default:
|
|
3423
|
+
const parsedBody = parsedOutput.body;
|
|
3424
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3425
|
+
output,
|
|
3426
|
+
parsedBody,
|
|
3427
|
+
exceptionCtor: WorkSpacesWebServiceException_1.WorkSpacesWebServiceException,
|
|
3428
|
+
errorCode,
|
|
3429
|
+
});
|
|
3430
|
+
}
|
|
3431
|
+
};
|
|
2960
3432
|
const deserializeAws_restJson1UpdateUserSettingsCommand = async (output, context) => {
|
|
2961
3433
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2962
3434
|
return deserializeAws_restJson1UpdateUserSettingsCommandError(output, context);
|
|
@@ -3370,6 +3842,7 @@ const deserializeAws_restJson1Portal = (output, context) => {
|
|
|
3370
3842
|
rendererType: (0, smithy_client_1.expectString)(output.rendererType),
|
|
3371
3843
|
statusReason: (0, smithy_client_1.expectString)(output.statusReason),
|
|
3372
3844
|
trustStoreArn: (0, smithy_client_1.expectString)(output.trustStoreArn),
|
|
3845
|
+
userAccessLoggingSettingsArn: (0, smithy_client_1.expectString)(output.userAccessLoggingSettingsArn),
|
|
3373
3846
|
userSettingsArn: (0, smithy_client_1.expectString)(output.userSettingsArn),
|
|
3374
3847
|
};
|
|
3375
3848
|
};
|
|
@@ -3398,6 +3871,7 @@ const deserializeAws_restJson1PortalSummary = (output, context) => {
|
|
|
3398
3871
|
portalStatus: (0, smithy_client_1.expectString)(output.portalStatus),
|
|
3399
3872
|
rendererType: (0, smithy_client_1.expectString)(output.rendererType),
|
|
3400
3873
|
trustStoreArn: (0, smithy_client_1.expectString)(output.trustStoreArn),
|
|
3874
|
+
userAccessLoggingSettingsArn: (0, smithy_client_1.expectString)(output.userAccessLoggingSettingsArn),
|
|
3401
3875
|
userSettingsArn: (0, smithy_client_1.expectString)(output.userSettingsArn),
|
|
3402
3876
|
};
|
|
3403
3877
|
};
|
|
@@ -3464,6 +3938,32 @@ const deserializeAws_restJson1TrustStoreSummaryList = (output, context) => {
|
|
|
3464
3938
|
});
|
|
3465
3939
|
return retVal;
|
|
3466
3940
|
};
|
|
3941
|
+
const deserializeAws_restJson1UserAccessLoggingSettings = (output, context) => {
|
|
3942
|
+
return {
|
|
3943
|
+
associatedPortalArns: output.associatedPortalArns != null
|
|
3944
|
+
? deserializeAws_restJson1ArnList(output.associatedPortalArns, context)
|
|
3945
|
+
: undefined,
|
|
3946
|
+
kinesisStreamArn: (0, smithy_client_1.expectString)(output.kinesisStreamArn),
|
|
3947
|
+
userAccessLoggingSettingsArn: (0, smithy_client_1.expectString)(output.userAccessLoggingSettingsArn),
|
|
3948
|
+
};
|
|
3949
|
+
};
|
|
3950
|
+
const deserializeAws_restJson1UserAccessLoggingSettingsList = (output, context) => {
|
|
3951
|
+
const retVal = (output || [])
|
|
3952
|
+
.filter((e) => e != null)
|
|
3953
|
+
.map((entry) => {
|
|
3954
|
+
if (entry === null) {
|
|
3955
|
+
return null;
|
|
3956
|
+
}
|
|
3957
|
+
return deserializeAws_restJson1UserAccessLoggingSettingsSummary(entry, context);
|
|
3958
|
+
});
|
|
3959
|
+
return retVal;
|
|
3960
|
+
};
|
|
3961
|
+
const deserializeAws_restJson1UserAccessLoggingSettingsSummary = (output, context) => {
|
|
3962
|
+
return {
|
|
3963
|
+
kinesisStreamArn: (0, smithy_client_1.expectString)(output.kinesisStreamArn),
|
|
3964
|
+
userAccessLoggingSettingsArn: (0, smithy_client_1.expectString)(output.userAccessLoggingSettingsArn),
|
|
3965
|
+
};
|
|
3966
|
+
};
|
|
3467
3967
|
const deserializeAws_restJson1UserSettings = (output, context) => {
|
|
3468
3968
|
return {
|
|
3469
3969
|
associatedPortalArns: output.associatedPortalArns != null
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
|
-
const
|
|
5
|
+
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a, _b, _c, _d, _e;
|
|
8
8
|
return ({
|
|
9
9
|
apiVersion: "2020-07-08",
|
|
10
10
|
disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
endpointProvider: (_b = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _b !== void 0 ? _b : endpointResolver_1.defaultEndpointResolver,
|
|
12
|
+
logger: (_c = config === null || config === void 0 ? void 0 : config.logger) !== null && _c !== void 0 ? _c : {},
|
|
13
13
|
serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "WorkSpaces Web",
|
|
14
14
|
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
|
|
15
15
|
});
|