@aws-sdk/client-appconfig 3.31.0 → 3.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/{dist/cjs → dist-cjs}/AppConfig.js +1 -1
- package/dist-cjs/AppConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/AppConfigClient.js +14 -14
- package/dist-cjs/AppConfigClient.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateApplicationCommand.js +5 -5
- package/dist-cjs/commands/CreateApplicationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateConfigurationProfileCommand.js +5 -5
- package/dist-cjs/commands/CreateConfigurationProfileCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateDeploymentStrategyCommand.js +5 -5
- package/dist-cjs/commands/CreateDeploymentStrategyCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateEnvironmentCommand.js +5 -5
- package/dist-cjs/commands/CreateEnvironmentCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateHostedConfigurationVersionCommand.js +5 -5
- package/dist-cjs/commands/CreateHostedConfigurationVersionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteApplicationCommand.js +5 -5
- package/dist-cjs/commands/DeleteApplicationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteConfigurationProfileCommand.js +5 -5
- package/dist-cjs/commands/DeleteConfigurationProfileCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteDeploymentStrategyCommand.js +5 -5
- package/dist-cjs/commands/DeleteDeploymentStrategyCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteEnvironmentCommand.js +5 -5
- package/dist-cjs/commands/DeleteEnvironmentCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteHostedConfigurationVersionCommand.js +5 -5
- package/dist-cjs/commands/DeleteHostedConfigurationVersionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetApplicationCommand.js +5 -5
- package/dist-cjs/commands/GetApplicationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetConfigurationCommand.js +5 -5
- package/dist-cjs/commands/GetConfigurationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetConfigurationProfileCommand.js +5 -5
- package/dist-cjs/commands/GetConfigurationProfileCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetDeploymentCommand.js +5 -5
- package/dist-cjs/commands/GetDeploymentCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetDeploymentStrategyCommand.js +5 -5
- package/dist-cjs/commands/GetDeploymentStrategyCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetEnvironmentCommand.js +5 -5
- package/dist-cjs/commands/GetEnvironmentCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetHostedConfigurationVersionCommand.js +5 -5
- package/dist-cjs/commands/GetHostedConfigurationVersionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListApplicationsCommand.js +5 -5
- package/dist-cjs/commands/ListApplicationsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListConfigurationProfilesCommand.js +5 -5
- package/dist-cjs/commands/ListConfigurationProfilesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListDeploymentStrategiesCommand.js +5 -5
- package/dist-cjs/commands/ListDeploymentStrategiesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListDeploymentsCommand.js +5 -5
- package/dist-cjs/commands/ListDeploymentsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListEnvironmentsCommand.js +5 -5
- package/dist-cjs/commands/ListEnvironmentsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListHostedConfigurationVersionsCommand.js +5 -5
- package/dist-cjs/commands/ListHostedConfigurationVersionsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +5 -5
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/StartDeploymentCommand.js +5 -5
- package/dist-cjs/commands/StartDeploymentCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/StopDeploymentCommand.js +5 -5
- package/dist-cjs/commands/StopDeploymentCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +5 -5
- package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +5 -5
- package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateApplicationCommand.js +5 -5
- package/dist-cjs/commands/UpdateApplicationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateConfigurationProfileCommand.js +5 -5
- package/dist-cjs/commands/UpdateConfigurationProfileCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateDeploymentStrategyCommand.js +5 -5
- package/dist-cjs/commands/UpdateDeploymentStrategyCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateEnvironmentCommand.js +5 -5
- package/dist-cjs/commands/UpdateEnvironmentCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ValidateConfigurationCommand.js +5 -5
- package/dist-cjs/commands/ValidateConfigurationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
- package/dist-cjs/endpoints.js.map +1 -0
- package/dist-cjs/index.js +47 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +1 -1
- package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
- package/{dist/cjs → dist-cjs}/pagination/ListApplicationsPaginator.js +0 -0
- package/dist-cjs/pagination/ListApplicationsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListConfigurationProfilesPaginator.js +0 -0
- package/dist-cjs/pagination/ListConfigurationProfilesPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListDeploymentStrategiesPaginator.js +0 -0
- package/dist-cjs/pagination/ListDeploymentStrategiesPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListDeploymentsPaginator.js +0 -0
- package/dist-cjs/pagination/ListDeploymentsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListEnvironmentsPaginator.js +0 -0
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListHostedConfigurationVersionsPaginator.js +0 -0
- package/dist-cjs/pagination/ListHostedConfigurationVersionsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +259 -259
- package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/{dist/es → dist-es}/AppConfig.js +2 -53
- package/dist-es/AppConfig.js.map +1 -0
- package/dist-es/AppConfigClient.js +38 -0
- package/dist-es/AppConfigClient.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateApplicationCommand.js +4 -32
- package/dist-es/commands/CreateApplicationCommand.js.map +1 -0
- package/dist-es/commands/CreateConfigurationProfileCommand.js +40 -0
- package/dist-es/commands/CreateConfigurationProfileCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateDeploymentStrategyCommand.js +4 -32
- package/dist-es/commands/CreateDeploymentStrategyCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateEnvironmentCommand.js +4 -35
- package/dist-es/commands/CreateEnvironmentCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateHostedConfigurationVersionCommand.js +4 -29
- package/dist-es/commands/CreateHostedConfigurationVersionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteApplicationCommand.js +4 -30
- package/dist-es/commands/DeleteApplicationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteConfigurationProfileCommand.js +4 -30
- package/dist-es/commands/DeleteConfigurationProfileCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteDeploymentStrategyCommand.js +4 -30
- package/dist-es/commands/DeleteDeploymentStrategyCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteEnvironmentCommand.js +4 -30
- package/dist-es/commands/DeleteEnvironmentCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteHostedConfigurationVersionCommand.js +4 -29
- package/dist-es/commands/DeleteHostedConfigurationVersionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetApplicationCommand.js +4 -29
- package/dist-es/commands/GetApplicationCommand.js.map +1 -0
- package/dist-es/commands/GetConfigurationCommand.js +40 -0
- package/dist-es/commands/GetConfigurationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetConfigurationProfileCommand.js +4 -29
- package/dist-es/commands/GetConfigurationProfileCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetDeploymentCommand.js +4 -29
- package/dist-es/commands/GetDeploymentCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetDeploymentStrategyCommand.js +4 -33
- package/dist-es/commands/GetDeploymentStrategyCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetEnvironmentCommand.js +4 -33
- package/dist-es/commands/GetEnvironmentCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetHostedConfigurationVersionCommand.js +4 -29
- package/dist-es/commands/GetHostedConfigurationVersionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListApplicationsCommand.js +4 -29
- package/dist-es/commands/ListApplicationsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListConfigurationProfilesCommand.js +4 -29
- package/dist-es/commands/ListConfigurationProfilesCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListDeploymentStrategiesCommand.js +4 -29
- package/dist-es/commands/ListDeploymentStrategiesCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListDeploymentsCommand.js +4 -29
- package/dist-es/commands/ListDeploymentsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListEnvironmentsCommand.js +4 -29
- package/dist-es/commands/ListEnvironmentsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListHostedConfigurationVersionsCommand.js +4 -30
- package/dist-es/commands/ListHostedConfigurationVersionsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -29
- package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/StartDeploymentCommand.js +4 -29
- package/dist-es/commands/StartDeploymentCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/StopDeploymentCommand.js +4 -31
- package/dist-es/commands/StopDeploymentCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -31
- package/dist-es/commands/TagResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -29
- package/dist-es/commands/UntagResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateApplicationCommand.js +4 -29
- package/dist-es/commands/UpdateApplicationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateConfigurationProfileCommand.js +4 -29
- package/dist-es/commands/UpdateConfigurationProfileCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateDeploymentStrategyCommand.js +4 -29
- package/dist-es/commands/UpdateDeploymentStrategyCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateEnvironmentCommand.js +4 -29
- package/dist-es/commands/UpdateEnvironmentCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ValidateConfigurationCommand.js +4 -29
- package/dist-es/commands/ValidateConfigurationCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +1 -1
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +0 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -177
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
- package/{dist/es → dist-es}/pagination/ListApplicationsPaginator.js +16 -28
- package/dist-es/pagination/ListApplicationsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListConfigurationProfilesPaginator.js +16 -28
- package/dist-es/pagination/ListConfigurationProfilesPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListDeploymentStrategiesPaginator.js +16 -28
- package/dist-es/pagination/ListDeploymentStrategiesPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListDeploymentsPaginator.js +16 -28
- package/dist-es/pagination/ListDeploymentsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListEnvironmentsPaginator.js +16 -28
- package/dist-es/pagination/ListEnvironmentsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListHostedConfigurationVersionsPaginator.js +16 -28
- package/dist-es/pagination/ListHostedConfigurationVersionsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +703 -708
- package/dist-es/protocols/Aws_restJson1.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.js +2 -5
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- package/{dist/types → dist-types}/AppConfig.d.ts +2 -2
- package/{dist/types → dist-types}/AppConfigClient.d.ts +9 -9
- package/{dist/types → dist-types}/commands/CreateApplicationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateConfigurationProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateDeploymentStrategyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateEnvironmentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateHostedConfigurationVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteApplicationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteConfigurationProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteDeploymentStrategyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteEnvironmentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteHostedConfigurationVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetApplicationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetConfigurationProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetDeploymentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetDeploymentStrategyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetEnvironmentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetHostedConfigurationVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListApplicationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListConfigurationProfilesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListDeploymentStrategiesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListDeploymentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListEnvironmentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListHostedConfigurationVersionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartDeploymentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StopDeploymentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateApplicationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateConfigurationProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateDeploymentStrategyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateEnvironmentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ValidateConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListApplicationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListConfigurationProfilesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDeploymentStrategiesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDeploymentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListEnvironmentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListHostedConfigurationVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +3 -3
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/AppConfig.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/AppConfigClient.d.ts +9 -9
- package/{dist/types → dist-types}/ts3.4/commands/CreateApplicationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateConfigurationProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateDeploymentStrategyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateEnvironmentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateHostedConfigurationVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteConfigurationProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteDeploymentStrategyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteEnvironmentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteHostedConfigurationVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetApplicationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetConfigurationProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetDeploymentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetDeploymentStrategyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetEnvironmentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetHostedConfigurationVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListApplicationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListConfigurationProfilesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListDeploymentStrategiesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListDeploymentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListEnvironmentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListHostedConfigurationVersionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/StartDeploymentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/StopDeploymentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateApplicationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateConfigurationProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateDeploymentStrategyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateEnvironmentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ValidateConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListApplicationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListConfigurationProfilesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDeploymentStrategiesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDeploymentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListHostedConfigurationVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +3 -3
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +50 -50
- package/{AppConfig.ts → src/AppConfig.ts} +7 -6
- package/{AppConfigClient.ts → src/AppConfigClient.ts} +59 -58
- package/{commands → src/commands}/CreateApplicationCommand.ts +8 -7
- package/{commands → src/commands}/CreateConfigurationProfileCommand.ts +8 -7
- package/{commands → src/commands}/CreateDeploymentStrategyCommand.ts +8 -7
- package/{commands → src/commands}/CreateEnvironmentCommand.ts +8 -7
- package/{commands → src/commands}/CreateHostedConfigurationVersionCommand.ts +8 -7
- package/{commands → src/commands}/DeleteApplicationCommand.ts +8 -7
- package/{commands → src/commands}/DeleteConfigurationProfileCommand.ts +8 -7
- package/{commands → src/commands}/DeleteDeploymentStrategyCommand.ts +8 -7
- package/{commands → src/commands}/DeleteEnvironmentCommand.ts +8 -7
- package/{commands → src/commands}/DeleteHostedConfigurationVersionCommand.ts +8 -7
- package/{commands → src/commands}/GetApplicationCommand.ts +8 -7
- package/{commands → src/commands}/GetConfigurationCommand.ts +8 -7
- package/{commands → src/commands}/GetConfigurationProfileCommand.ts +8 -7
- package/{commands → src/commands}/GetDeploymentCommand.ts +8 -7
- package/{commands → src/commands}/GetDeploymentStrategyCommand.ts +8 -7
- package/{commands → src/commands}/GetEnvironmentCommand.ts +8 -7
- package/{commands → src/commands}/GetHostedConfigurationVersionCommand.ts +8 -7
- package/{commands → src/commands}/ListApplicationsCommand.ts +8 -7
- package/{commands → src/commands}/ListConfigurationProfilesCommand.ts +8 -7
- package/{commands → src/commands}/ListDeploymentStrategiesCommand.ts +8 -7
- package/{commands → src/commands}/ListDeploymentsCommand.ts +8 -7
- package/{commands → src/commands}/ListEnvironmentsCommand.ts +8 -7
- package/{commands → src/commands}/ListHostedConfigurationVersionsCommand.ts +8 -7
- package/{commands → src/commands}/ListTagsForResourceCommand.ts +8 -7
- package/{commands → src/commands}/StartDeploymentCommand.ts +8 -7
- package/{commands → src/commands}/StopDeploymentCommand.ts +8 -7
- package/{commands → src/commands}/TagResourceCommand.ts +8 -7
- package/{commands → src/commands}/UntagResourceCommand.ts +8 -7
- package/{commands → src/commands}/UpdateApplicationCommand.ts +8 -7
- package/{commands → src/commands}/UpdateConfigurationProfileCommand.ts +8 -7
- package/{commands → src/commands}/UpdateDeploymentStrategyCommand.ts +8 -7
- package/{commands → src/commands}/UpdateEnvironmentCommand.ts +8 -7
- package/{commands → src/commands}/ValidateConfigurationCommand.ts +8 -7
- package/{endpoints.ts → src/endpoints.ts} +1 -1
- package/{index.ts → src/index.ts} +0 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +0 -0
- package/{pagination → src/pagination}/Interfaces.ts +2 -1
- package/{pagination → src/pagination}/ListApplicationsPaginator.ts +2 -1
- package/{pagination → src/pagination}/ListConfigurationProfilesPaginator.ts +2 -1
- package/{pagination → src/pagination}/ListDeploymentStrategiesPaginator.ts +2 -1
- package/{pagination → src/pagination}/ListDeploymentsPaginator.ts +2 -1
- package/{pagination → src/pagination}/ListEnvironmentsPaginator.ts +2 -1
- package/{pagination → src/pagination}/ListHostedConfigurationVersionsPaginator.ts +2 -1
- package/{protocols → src/protocols}/Aws_restJson1.ts +58 -57
- package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
- package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
- package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
- package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
- package/tsconfig.es.json +1 -3
- package/tsconfig.json +7 -7
- package/tsconfig.types.json +9 -0
- package/dist/cjs/AppConfig.js.map +0 -1
- package/dist/cjs/AppConfigClient.js.map +0 -1
- package/dist/cjs/commands/CreateApplicationCommand.js.map +0 -1
- package/dist/cjs/commands/CreateConfigurationProfileCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDeploymentStrategyCommand.js.map +0 -1
- package/dist/cjs/commands/CreateEnvironmentCommand.js.map +0 -1
- package/dist/cjs/commands/CreateHostedConfigurationVersionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteApplicationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteConfigurationProfileCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDeploymentStrategyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteEnvironmentCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteHostedConfigurationVersionCommand.js.map +0 -1
- package/dist/cjs/commands/GetApplicationCommand.js.map +0 -1
- package/dist/cjs/commands/GetConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/GetConfigurationProfileCommand.js.map +0 -1
- package/dist/cjs/commands/GetDeploymentCommand.js.map +0 -1
- package/dist/cjs/commands/GetDeploymentStrategyCommand.js.map +0 -1
- package/dist/cjs/commands/GetEnvironmentCommand.js.map +0 -1
- package/dist/cjs/commands/GetHostedConfigurationVersionCommand.js.map +0 -1
- package/dist/cjs/commands/ListApplicationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListConfigurationProfilesCommand.js.map +0 -1
- package/dist/cjs/commands/ListDeploymentStrategiesCommand.js.map +0 -1
- package/dist/cjs/commands/ListDeploymentsCommand.js.map +0 -1
- package/dist/cjs/commands/ListEnvironmentsCommand.js.map +0 -1
- package/dist/cjs/commands/ListHostedConfigurationVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/StartDeploymentCommand.js.map +0 -1
- package/dist/cjs/commands/StopDeploymentCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateApplicationCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateConfigurationProfileCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateDeploymentStrategyCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateEnvironmentCommand.js.map +0 -1
- package/dist/cjs/commands/ValidateConfigurationCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js +0 -47
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/ListApplicationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListConfigurationProfilesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListDeploymentStrategiesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListDeploymentsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListEnvironmentsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListHostedConfigurationVersionsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/AppConfig.js.map +0 -1
- package/dist/es/AppConfigClient.js +0 -94
- package/dist/es/AppConfigClient.js.map +0 -1
- package/dist/es/commands/CreateApplicationCommand.js.map +0 -1
- package/dist/es/commands/CreateConfigurationProfileCommand.js +0 -82
- package/dist/es/commands/CreateConfigurationProfileCommand.js.map +0 -1
- package/dist/es/commands/CreateDeploymentStrategyCommand.js.map +0 -1
- package/dist/es/commands/CreateEnvironmentCommand.js.map +0 -1
- package/dist/es/commands/CreateHostedConfigurationVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteApplicationCommand.js.map +0 -1
- package/dist/es/commands/DeleteConfigurationProfileCommand.js.map +0 -1
- package/dist/es/commands/DeleteDeploymentStrategyCommand.js.map +0 -1
- package/dist/es/commands/DeleteEnvironmentCommand.js.map +0 -1
- package/dist/es/commands/DeleteHostedConfigurationVersionCommand.js.map +0 -1
- package/dist/es/commands/GetApplicationCommand.js.map +0 -1
- package/dist/es/commands/GetConfigurationCommand.js +0 -77
- package/dist/es/commands/GetConfigurationCommand.js.map +0 -1
- package/dist/es/commands/GetConfigurationProfileCommand.js.map +0 -1
- package/dist/es/commands/GetDeploymentCommand.js.map +0 -1
- package/dist/es/commands/GetDeploymentStrategyCommand.js.map +0 -1
- package/dist/es/commands/GetEnvironmentCommand.js.map +0 -1
- package/dist/es/commands/GetHostedConfigurationVersionCommand.js.map +0 -1
- package/dist/es/commands/ListApplicationsCommand.js.map +0 -1
- package/dist/es/commands/ListConfigurationProfilesCommand.js.map +0 -1
- package/dist/es/commands/ListDeploymentStrategiesCommand.js.map +0 -1
- package/dist/es/commands/ListDeploymentsCommand.js.map +0 -1
- package/dist/es/commands/ListEnvironmentsCommand.js.map +0 -1
- package/dist/es/commands/ListHostedConfigurationVersionsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/StartDeploymentCommand.js.map +0 -1
- package/dist/es/commands/StopDeploymentCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateApplicationCommand.js.map +0 -1
- package/dist/es/commands/UpdateConfigurationProfileCommand.js.map +0 -1
- package/dist/es/commands/UpdateDeploymentStrategyCommand.js.map +0 -1
- package/dist/es/commands/UpdateEnvironmentCommand.js.map +0 -1
- package/dist/es/commands/ValidateConfigurationCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/ListApplicationsPaginator.js.map +0 -1
- package/dist/es/pagination/ListConfigurationProfilesPaginator.js.map +0 -1
- package/dist/es/pagination/ListDeploymentStrategiesPaginator.js.map +0 -1
- package/dist/es/pagination/ListDeploymentsPaginator.js.map +0 -1
- package/dist/es/pagination/ListEnvironmentsPaginator.js.map +0 -1
- package/dist/es/pagination/ListHostedConfigurationVersionsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
|
@@ -9,7 +9,7 @@ const serializeAws_restJson1CreateApplicationCommand = async (input, context) =>
|
|
|
9
9
|
const headers = {
|
|
10
10
|
"content-type": "application/json",
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
|
|
13
13
|
let body;
|
|
14
14
|
body = JSON.stringify({
|
|
15
15
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
@@ -39,7 +39,7 @@ const serializeAws_restJson1CreateConfigurationProfileCommand = async (input, co
|
|
|
39
39
|
if (labelValue.length <= 0) {
|
|
40
40
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
41
41
|
}
|
|
42
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
42
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
43
43
|
}
|
|
44
44
|
else {
|
|
45
45
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -71,7 +71,7 @@ const serializeAws_restJson1CreateDeploymentStrategyCommand = async (input, cont
|
|
|
71
71
|
const headers = {
|
|
72
72
|
"content-type": "application/json",
|
|
73
73
|
};
|
|
74
|
-
|
|
74
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/deploymentstrategies";
|
|
75
75
|
let body;
|
|
76
76
|
body = JSON.stringify({
|
|
77
77
|
...(input.DeploymentDurationInMinutes !== undefined &&
|
|
@@ -80,7 +80,7 @@ const serializeAws_restJson1CreateDeploymentStrategyCommand = async (input, cont
|
|
|
80
80
|
...(input.FinalBakeTimeInMinutes !== undefined &&
|
|
81
81
|
input.FinalBakeTimeInMinutes !== null && { FinalBakeTimeInMinutes: input.FinalBakeTimeInMinutes }),
|
|
82
82
|
...(input.GrowthFactor !== undefined &&
|
|
83
|
-
input.GrowthFactor !== null && { GrowthFactor:
|
|
83
|
+
input.GrowthFactor !== null && { GrowthFactor: smithy_client_1.serializeFloat(input.GrowthFactor) }),
|
|
84
84
|
...(input.GrowthType !== undefined && input.GrowthType !== null && { GrowthType: input.GrowthType }),
|
|
85
85
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
86
86
|
...(input.ReplicateTo !== undefined && input.ReplicateTo !== null && { ReplicateTo: input.ReplicateTo }),
|
|
@@ -109,7 +109,7 @@ const serializeAws_restJson1CreateEnvironmentCommand = async (input, context) =>
|
|
|
109
109
|
if (labelValue.length <= 0) {
|
|
110
110
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
111
111
|
}
|
|
112
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
112
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
113
113
|
}
|
|
114
114
|
else {
|
|
115
115
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -150,7 +150,7 @@ const serializeAws_restJson1CreateHostedConfigurationVersionCommand = async (inp
|
|
|
150
150
|
if (labelValue.length <= 0) {
|
|
151
151
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
152
152
|
}
|
|
153
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
153
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
154
154
|
}
|
|
155
155
|
else {
|
|
156
156
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -160,7 +160,7 @@ const serializeAws_restJson1CreateHostedConfigurationVersionCommand = async (inp
|
|
|
160
160
|
if (labelValue.length <= 0) {
|
|
161
161
|
throw new Error("Empty value provided for input HTTP label: ConfigurationProfileId.");
|
|
162
162
|
}
|
|
163
|
-
resolvedPath = resolvedPath.replace("{ConfigurationProfileId}",
|
|
163
|
+
resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
164
164
|
}
|
|
165
165
|
else {
|
|
166
166
|
throw new Error("No value provided for input HTTP label: ConfigurationProfileId.");
|
|
@@ -189,7 +189,7 @@ const serializeAws_restJson1DeleteApplicationCommand = async (input, context) =>
|
|
|
189
189
|
if (labelValue.length <= 0) {
|
|
190
190
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
191
191
|
}
|
|
192
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
192
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
193
193
|
}
|
|
194
194
|
else {
|
|
195
195
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -216,7 +216,7 @@ const serializeAws_restJson1DeleteConfigurationProfileCommand = async (input, co
|
|
|
216
216
|
if (labelValue.length <= 0) {
|
|
217
217
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
218
218
|
}
|
|
219
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
219
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
220
220
|
}
|
|
221
221
|
else {
|
|
222
222
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -226,7 +226,7 @@ const serializeAws_restJson1DeleteConfigurationProfileCommand = async (input, co
|
|
|
226
226
|
if (labelValue.length <= 0) {
|
|
227
227
|
throw new Error("Empty value provided for input HTTP label: ConfigurationProfileId.");
|
|
228
228
|
}
|
|
229
|
-
resolvedPath = resolvedPath.replace("{ConfigurationProfileId}",
|
|
229
|
+
resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
230
230
|
}
|
|
231
231
|
else {
|
|
232
232
|
throw new Error("No value provided for input HTTP label: ConfigurationProfileId.");
|
|
@@ -253,7 +253,7 @@ const serializeAws_restJson1DeleteDeploymentStrategyCommand = async (input, cont
|
|
|
253
253
|
if (labelValue.length <= 0) {
|
|
254
254
|
throw new Error("Empty value provided for input HTTP label: DeploymentStrategyId.");
|
|
255
255
|
}
|
|
256
|
-
resolvedPath = resolvedPath.replace("{DeploymentStrategyId}",
|
|
256
|
+
resolvedPath = resolvedPath.replace("{DeploymentStrategyId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
257
257
|
}
|
|
258
258
|
else {
|
|
259
259
|
throw new Error("No value provided for input HTTP label: DeploymentStrategyId.");
|
|
@@ -280,7 +280,7 @@ const serializeAws_restJson1DeleteEnvironmentCommand = async (input, context) =>
|
|
|
280
280
|
if (labelValue.length <= 0) {
|
|
281
281
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
282
282
|
}
|
|
283
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
283
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
284
284
|
}
|
|
285
285
|
else {
|
|
286
286
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -290,7 +290,7 @@ const serializeAws_restJson1DeleteEnvironmentCommand = async (input, context) =>
|
|
|
290
290
|
if (labelValue.length <= 0) {
|
|
291
291
|
throw new Error("Empty value provided for input HTTP label: EnvironmentId.");
|
|
292
292
|
}
|
|
293
|
-
resolvedPath = resolvedPath.replace("{EnvironmentId}",
|
|
293
|
+
resolvedPath = resolvedPath.replace("{EnvironmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
294
294
|
}
|
|
295
295
|
else {
|
|
296
296
|
throw new Error("No value provided for input HTTP label: EnvironmentId.");
|
|
@@ -317,7 +317,7 @@ const serializeAws_restJson1DeleteHostedConfigurationVersionCommand = async (inp
|
|
|
317
317
|
if (labelValue.length <= 0) {
|
|
318
318
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
319
319
|
}
|
|
320
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
320
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
321
321
|
}
|
|
322
322
|
else {
|
|
323
323
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -327,7 +327,7 @@ const serializeAws_restJson1DeleteHostedConfigurationVersionCommand = async (inp
|
|
|
327
327
|
if (labelValue.length <= 0) {
|
|
328
328
|
throw new Error("Empty value provided for input HTTP label: ConfigurationProfileId.");
|
|
329
329
|
}
|
|
330
|
-
resolvedPath = resolvedPath.replace("{ConfigurationProfileId}",
|
|
330
|
+
resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
331
331
|
}
|
|
332
332
|
else {
|
|
333
333
|
throw new Error("No value provided for input HTTP label: ConfigurationProfileId.");
|
|
@@ -337,7 +337,7 @@ const serializeAws_restJson1DeleteHostedConfigurationVersionCommand = async (inp
|
|
|
337
337
|
if (labelValue.length <= 0) {
|
|
338
338
|
throw new Error("Empty value provided for input HTTP label: VersionNumber.");
|
|
339
339
|
}
|
|
340
|
-
resolvedPath = resolvedPath.replace("{VersionNumber}",
|
|
340
|
+
resolvedPath = resolvedPath.replace("{VersionNumber}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
341
341
|
}
|
|
342
342
|
else {
|
|
343
343
|
throw new Error("No value provided for input HTTP label: VersionNumber.");
|
|
@@ -363,7 +363,7 @@ const serializeAws_restJson1GetApplicationCommand = async (input, context) => {
|
|
|
363
363
|
if (labelValue.length <= 0) {
|
|
364
364
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
365
365
|
}
|
|
366
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
366
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
367
367
|
}
|
|
368
368
|
else {
|
|
369
369
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -390,7 +390,7 @@ const serializeAws_restJson1GetConfigurationCommand = async (input, context) =>
|
|
|
390
390
|
if (labelValue.length <= 0) {
|
|
391
391
|
throw new Error("Empty value provided for input HTTP label: Application.");
|
|
392
392
|
}
|
|
393
|
-
resolvedPath = resolvedPath.replace("{Application}",
|
|
393
|
+
resolvedPath = resolvedPath.replace("{Application}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
394
394
|
}
|
|
395
395
|
else {
|
|
396
396
|
throw new Error("No value provided for input HTTP label: Application.");
|
|
@@ -400,7 +400,7 @@ const serializeAws_restJson1GetConfigurationCommand = async (input, context) =>
|
|
|
400
400
|
if (labelValue.length <= 0) {
|
|
401
401
|
throw new Error("Empty value provided for input HTTP label: Environment.");
|
|
402
402
|
}
|
|
403
|
-
resolvedPath = resolvedPath.replace("{Environment}",
|
|
403
|
+
resolvedPath = resolvedPath.replace("{Environment}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
404
404
|
}
|
|
405
405
|
else {
|
|
406
406
|
throw new Error("No value provided for input HTTP label: Environment.");
|
|
@@ -410,7 +410,7 @@ const serializeAws_restJson1GetConfigurationCommand = async (input, context) =>
|
|
|
410
410
|
if (labelValue.length <= 0) {
|
|
411
411
|
throw new Error("Empty value provided for input HTTP label: Configuration.");
|
|
412
412
|
}
|
|
413
|
-
resolvedPath = resolvedPath.replace("{Configuration}",
|
|
413
|
+
resolvedPath = resolvedPath.replace("{Configuration}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
414
414
|
}
|
|
415
415
|
else {
|
|
416
416
|
throw new Error("No value provided for input HTTP label: Configuration.");
|
|
@@ -444,7 +444,7 @@ const serializeAws_restJson1GetConfigurationProfileCommand = async (input, conte
|
|
|
444
444
|
if (labelValue.length <= 0) {
|
|
445
445
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
446
446
|
}
|
|
447
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
447
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
448
448
|
}
|
|
449
449
|
else {
|
|
450
450
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -454,7 +454,7 @@ const serializeAws_restJson1GetConfigurationProfileCommand = async (input, conte
|
|
|
454
454
|
if (labelValue.length <= 0) {
|
|
455
455
|
throw new Error("Empty value provided for input HTTP label: ConfigurationProfileId.");
|
|
456
456
|
}
|
|
457
|
-
resolvedPath = resolvedPath.replace("{ConfigurationProfileId}",
|
|
457
|
+
resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
458
458
|
}
|
|
459
459
|
else {
|
|
460
460
|
throw new Error("No value provided for input HTTP label: ConfigurationProfileId.");
|
|
@@ -481,7 +481,7 @@ const serializeAws_restJson1GetDeploymentCommand = async (input, context) => {
|
|
|
481
481
|
if (labelValue.length <= 0) {
|
|
482
482
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
483
483
|
}
|
|
484
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
484
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
485
485
|
}
|
|
486
486
|
else {
|
|
487
487
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -491,7 +491,7 @@ const serializeAws_restJson1GetDeploymentCommand = async (input, context) => {
|
|
|
491
491
|
if (labelValue.length <= 0) {
|
|
492
492
|
throw new Error("Empty value provided for input HTTP label: EnvironmentId.");
|
|
493
493
|
}
|
|
494
|
-
resolvedPath = resolvedPath.replace("{EnvironmentId}",
|
|
494
|
+
resolvedPath = resolvedPath.replace("{EnvironmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
495
495
|
}
|
|
496
496
|
else {
|
|
497
497
|
throw new Error("No value provided for input HTTP label: EnvironmentId.");
|
|
@@ -501,7 +501,7 @@ const serializeAws_restJson1GetDeploymentCommand = async (input, context) => {
|
|
|
501
501
|
if (labelValue.length <= 0) {
|
|
502
502
|
throw new Error("Empty value provided for input HTTP label: DeploymentNumber.");
|
|
503
503
|
}
|
|
504
|
-
resolvedPath = resolvedPath.replace("{DeploymentNumber}",
|
|
504
|
+
resolvedPath = resolvedPath.replace("{DeploymentNumber}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
505
505
|
}
|
|
506
506
|
else {
|
|
507
507
|
throw new Error("No value provided for input HTTP label: DeploymentNumber.");
|
|
@@ -528,7 +528,7 @@ const serializeAws_restJson1GetDeploymentStrategyCommand = async (input, context
|
|
|
528
528
|
if (labelValue.length <= 0) {
|
|
529
529
|
throw new Error("Empty value provided for input HTTP label: DeploymentStrategyId.");
|
|
530
530
|
}
|
|
531
|
-
resolvedPath = resolvedPath.replace("{DeploymentStrategyId}",
|
|
531
|
+
resolvedPath = resolvedPath.replace("{DeploymentStrategyId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
532
532
|
}
|
|
533
533
|
else {
|
|
534
534
|
throw new Error("No value provided for input HTTP label: DeploymentStrategyId.");
|
|
@@ -555,7 +555,7 @@ const serializeAws_restJson1GetEnvironmentCommand = async (input, context) => {
|
|
|
555
555
|
if (labelValue.length <= 0) {
|
|
556
556
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
557
557
|
}
|
|
558
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
558
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
559
559
|
}
|
|
560
560
|
else {
|
|
561
561
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -565,7 +565,7 @@ const serializeAws_restJson1GetEnvironmentCommand = async (input, context) => {
|
|
|
565
565
|
if (labelValue.length <= 0) {
|
|
566
566
|
throw new Error("Empty value provided for input HTTP label: EnvironmentId.");
|
|
567
567
|
}
|
|
568
|
-
resolvedPath = resolvedPath.replace("{EnvironmentId}",
|
|
568
|
+
resolvedPath = resolvedPath.replace("{EnvironmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
569
569
|
}
|
|
570
570
|
else {
|
|
571
571
|
throw new Error("No value provided for input HTTP label: EnvironmentId.");
|
|
@@ -592,7 +592,7 @@ const serializeAws_restJson1GetHostedConfigurationVersionCommand = async (input,
|
|
|
592
592
|
if (labelValue.length <= 0) {
|
|
593
593
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
594
594
|
}
|
|
595
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
595
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
596
596
|
}
|
|
597
597
|
else {
|
|
598
598
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -602,7 +602,7 @@ const serializeAws_restJson1GetHostedConfigurationVersionCommand = async (input,
|
|
|
602
602
|
if (labelValue.length <= 0) {
|
|
603
603
|
throw new Error("Empty value provided for input HTTP label: ConfigurationProfileId.");
|
|
604
604
|
}
|
|
605
|
-
resolvedPath = resolvedPath.replace("{ConfigurationProfileId}",
|
|
605
|
+
resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
606
606
|
}
|
|
607
607
|
else {
|
|
608
608
|
throw new Error("No value provided for input HTTP label: ConfigurationProfileId.");
|
|
@@ -612,7 +612,7 @@ const serializeAws_restJson1GetHostedConfigurationVersionCommand = async (input,
|
|
|
612
612
|
if (labelValue.length <= 0) {
|
|
613
613
|
throw new Error("Empty value provided for input HTTP label: VersionNumber.");
|
|
614
614
|
}
|
|
615
|
-
resolvedPath = resolvedPath.replace("{VersionNumber}",
|
|
615
|
+
resolvedPath = resolvedPath.replace("{VersionNumber}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
616
616
|
}
|
|
617
617
|
else {
|
|
618
618
|
throw new Error("No value provided for input HTTP label: VersionNumber.");
|
|
@@ -632,7 +632,7 @@ exports.serializeAws_restJson1GetHostedConfigurationVersionCommand = serializeAw
|
|
|
632
632
|
const serializeAws_restJson1ListApplicationsCommand = async (input, context) => {
|
|
633
633
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
634
634
|
const headers = {};
|
|
635
|
-
|
|
635
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
|
|
636
636
|
const query = {
|
|
637
637
|
...(input.MaxResults !== undefined && { max_results: input.MaxResults.toString() }),
|
|
638
638
|
...(input.NextToken !== undefined && { next_token: input.NextToken }),
|
|
@@ -660,7 +660,7 @@ const serializeAws_restJson1ListConfigurationProfilesCommand = async (input, con
|
|
|
660
660
|
if (labelValue.length <= 0) {
|
|
661
661
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
662
662
|
}
|
|
663
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
663
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
664
664
|
}
|
|
665
665
|
else {
|
|
666
666
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -692,7 +692,7 @@ const serializeAws_restJson1ListDeploymentsCommand = async (input, context) => {
|
|
|
692
692
|
if (labelValue.length <= 0) {
|
|
693
693
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
694
694
|
}
|
|
695
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
695
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
696
696
|
}
|
|
697
697
|
else {
|
|
698
698
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -702,7 +702,7 @@ const serializeAws_restJson1ListDeploymentsCommand = async (input, context) => {
|
|
|
702
702
|
if (labelValue.length <= 0) {
|
|
703
703
|
throw new Error("Empty value provided for input HTTP label: EnvironmentId.");
|
|
704
704
|
}
|
|
705
|
-
resolvedPath = resolvedPath.replace("{EnvironmentId}",
|
|
705
|
+
resolvedPath = resolvedPath.replace("{EnvironmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
706
706
|
}
|
|
707
707
|
else {
|
|
708
708
|
throw new Error("No value provided for input HTTP label: EnvironmentId.");
|
|
@@ -727,7 +727,7 @@ exports.serializeAws_restJson1ListDeploymentsCommand = serializeAws_restJson1Lis
|
|
|
727
727
|
const serializeAws_restJson1ListDeploymentStrategiesCommand = async (input, context) => {
|
|
728
728
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
729
729
|
const headers = {};
|
|
730
|
-
|
|
730
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/deploymentstrategies";
|
|
731
731
|
const query = {
|
|
732
732
|
...(input.MaxResults !== undefined && { max_results: input.MaxResults.toString() }),
|
|
733
733
|
...(input.NextToken !== undefined && { next_token: input.NextToken }),
|
|
@@ -755,7 +755,7 @@ const serializeAws_restJson1ListEnvironmentsCommand = async (input, context) =>
|
|
|
755
755
|
if (labelValue.length <= 0) {
|
|
756
756
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
757
757
|
}
|
|
758
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
758
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
759
759
|
}
|
|
760
760
|
else {
|
|
761
761
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -787,7 +787,7 @@ const serializeAws_restJson1ListHostedConfigurationVersionsCommand = async (inpu
|
|
|
787
787
|
if (labelValue.length <= 0) {
|
|
788
788
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
789
789
|
}
|
|
790
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
790
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
791
791
|
}
|
|
792
792
|
else {
|
|
793
793
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -797,7 +797,7 @@ const serializeAws_restJson1ListHostedConfigurationVersionsCommand = async (inpu
|
|
|
797
797
|
if (labelValue.length <= 0) {
|
|
798
798
|
throw new Error("Empty value provided for input HTTP label: ConfigurationProfileId.");
|
|
799
799
|
}
|
|
800
|
-
resolvedPath = resolvedPath.replace("{ConfigurationProfileId}",
|
|
800
|
+
resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
801
801
|
}
|
|
802
802
|
else {
|
|
803
803
|
throw new Error("No value provided for input HTTP label: ConfigurationProfileId.");
|
|
@@ -828,7 +828,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
828
828
|
if (labelValue.length <= 0) {
|
|
829
829
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
830
830
|
}
|
|
831
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}",
|
|
831
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
832
832
|
}
|
|
833
833
|
else {
|
|
834
834
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -857,7 +857,7 @@ const serializeAws_restJson1StartDeploymentCommand = async (input, context) => {
|
|
|
857
857
|
if (labelValue.length <= 0) {
|
|
858
858
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
859
859
|
}
|
|
860
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
860
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
861
861
|
}
|
|
862
862
|
else {
|
|
863
863
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -867,7 +867,7 @@ const serializeAws_restJson1StartDeploymentCommand = async (input, context) => {
|
|
|
867
867
|
if (labelValue.length <= 0) {
|
|
868
868
|
throw new Error("Empty value provided for input HTTP label: EnvironmentId.");
|
|
869
869
|
}
|
|
870
|
-
resolvedPath = resolvedPath.replace("{EnvironmentId}",
|
|
870
|
+
resolvedPath = resolvedPath.replace("{EnvironmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
871
871
|
}
|
|
872
872
|
else {
|
|
873
873
|
throw new Error("No value provided for input HTTP label: EnvironmentId.");
|
|
@@ -904,7 +904,7 @@ const serializeAws_restJson1StopDeploymentCommand = async (input, context) => {
|
|
|
904
904
|
if (labelValue.length <= 0) {
|
|
905
905
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
906
906
|
}
|
|
907
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
907
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
908
908
|
}
|
|
909
909
|
else {
|
|
910
910
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -914,7 +914,7 @@ const serializeAws_restJson1StopDeploymentCommand = async (input, context) => {
|
|
|
914
914
|
if (labelValue.length <= 0) {
|
|
915
915
|
throw new Error("Empty value provided for input HTTP label: EnvironmentId.");
|
|
916
916
|
}
|
|
917
|
-
resolvedPath = resolvedPath.replace("{EnvironmentId}",
|
|
917
|
+
resolvedPath = resolvedPath.replace("{EnvironmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
918
918
|
}
|
|
919
919
|
else {
|
|
920
920
|
throw new Error("No value provided for input HTTP label: EnvironmentId.");
|
|
@@ -924,7 +924,7 @@ const serializeAws_restJson1StopDeploymentCommand = async (input, context) => {
|
|
|
924
924
|
if (labelValue.length <= 0) {
|
|
925
925
|
throw new Error("Empty value provided for input HTTP label: DeploymentNumber.");
|
|
926
926
|
}
|
|
927
|
-
resolvedPath = resolvedPath.replace("{DeploymentNumber}",
|
|
927
|
+
resolvedPath = resolvedPath.replace("{DeploymentNumber}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
928
928
|
}
|
|
929
929
|
else {
|
|
930
930
|
throw new Error("No value provided for input HTTP label: DeploymentNumber.");
|
|
@@ -952,7 +952,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
952
952
|
if (labelValue.length <= 0) {
|
|
953
953
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
954
954
|
}
|
|
955
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}",
|
|
955
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
956
956
|
}
|
|
957
957
|
else {
|
|
958
958
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -981,7 +981,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
981
981
|
if (labelValue.length <= 0) {
|
|
982
982
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
983
983
|
}
|
|
984
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}",
|
|
984
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
985
985
|
}
|
|
986
986
|
else {
|
|
987
987
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -1013,7 +1013,7 @@ const serializeAws_restJson1UpdateApplicationCommand = async (input, context) =>
|
|
|
1013
1013
|
if (labelValue.length <= 0) {
|
|
1014
1014
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
1015
1015
|
}
|
|
1016
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
1016
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1017
1017
|
}
|
|
1018
1018
|
else {
|
|
1019
1019
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -1046,7 +1046,7 @@ const serializeAws_restJson1UpdateConfigurationProfileCommand = async (input, co
|
|
|
1046
1046
|
if (labelValue.length <= 0) {
|
|
1047
1047
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
1048
1048
|
}
|
|
1049
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
1049
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1050
1050
|
}
|
|
1051
1051
|
else {
|
|
1052
1052
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -1056,7 +1056,7 @@ const serializeAws_restJson1UpdateConfigurationProfileCommand = async (input, co
|
|
|
1056
1056
|
if (labelValue.length <= 0) {
|
|
1057
1057
|
throw new Error("Empty value provided for input HTTP label: ConfigurationProfileId.");
|
|
1058
1058
|
}
|
|
1059
|
-
resolvedPath = resolvedPath.replace("{ConfigurationProfileId}",
|
|
1059
|
+
resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1060
1060
|
}
|
|
1061
1061
|
else {
|
|
1062
1062
|
throw new Error("No value provided for input HTTP label: ConfigurationProfileId.");
|
|
@@ -1093,7 +1093,7 @@ const serializeAws_restJson1UpdateDeploymentStrategyCommand = async (input, cont
|
|
|
1093
1093
|
if (labelValue.length <= 0) {
|
|
1094
1094
|
throw new Error("Empty value provided for input HTTP label: DeploymentStrategyId.");
|
|
1095
1095
|
}
|
|
1096
|
-
resolvedPath = resolvedPath.replace("{DeploymentStrategyId}",
|
|
1096
|
+
resolvedPath = resolvedPath.replace("{DeploymentStrategyId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1097
1097
|
}
|
|
1098
1098
|
else {
|
|
1099
1099
|
throw new Error("No value provided for input HTTP label: DeploymentStrategyId.");
|
|
@@ -1106,7 +1106,7 @@ const serializeAws_restJson1UpdateDeploymentStrategyCommand = async (input, cont
|
|
|
1106
1106
|
...(input.FinalBakeTimeInMinutes !== undefined &&
|
|
1107
1107
|
input.FinalBakeTimeInMinutes !== null && { FinalBakeTimeInMinutes: input.FinalBakeTimeInMinutes }),
|
|
1108
1108
|
...(input.GrowthFactor !== undefined &&
|
|
1109
|
-
input.GrowthFactor !== null && { GrowthFactor:
|
|
1109
|
+
input.GrowthFactor !== null && { GrowthFactor: smithy_client_1.serializeFloat(input.GrowthFactor) }),
|
|
1110
1110
|
...(input.GrowthType !== undefined && input.GrowthType !== null && { GrowthType: input.GrowthType }),
|
|
1111
1111
|
});
|
|
1112
1112
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1132,7 +1132,7 @@ const serializeAws_restJson1UpdateEnvironmentCommand = async (input, context) =>
|
|
|
1132
1132
|
if (labelValue.length <= 0) {
|
|
1133
1133
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
1134
1134
|
}
|
|
1135
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
1135
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1136
1136
|
}
|
|
1137
1137
|
else {
|
|
1138
1138
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -1142,7 +1142,7 @@ const serializeAws_restJson1UpdateEnvironmentCommand = async (input, context) =>
|
|
|
1142
1142
|
if (labelValue.length <= 0) {
|
|
1143
1143
|
throw new Error("Empty value provided for input HTTP label: EnvironmentId.");
|
|
1144
1144
|
}
|
|
1145
|
-
resolvedPath = resolvedPath.replace("{EnvironmentId}",
|
|
1145
|
+
resolvedPath = resolvedPath.replace("{EnvironmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1146
1146
|
}
|
|
1147
1147
|
else {
|
|
1148
1148
|
throw new Error("No value provided for input HTTP label: EnvironmentId.");
|
|
@@ -1175,7 +1175,7 @@ const serializeAws_restJson1ValidateConfigurationCommand = async (input, context
|
|
|
1175
1175
|
if (labelValue.length <= 0) {
|
|
1176
1176
|
throw new Error("Empty value provided for input HTTP label: ApplicationId.");
|
|
1177
1177
|
}
|
|
1178
|
-
resolvedPath = resolvedPath.replace("{ApplicationId}",
|
|
1178
|
+
resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1179
1179
|
}
|
|
1180
1180
|
else {
|
|
1181
1181
|
throw new Error("No value provided for input HTTP label: ApplicationId.");
|
|
@@ -1185,7 +1185,7 @@ const serializeAws_restJson1ValidateConfigurationCommand = async (input, context
|
|
|
1185
1185
|
if (labelValue.length <= 0) {
|
|
1186
1186
|
throw new Error("Empty value provided for input HTTP label: ConfigurationProfileId.");
|
|
1187
1187
|
}
|
|
1188
|
-
resolvedPath = resolvedPath.replace("{ConfigurationProfileId}",
|
|
1188
|
+
resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1189
1189
|
}
|
|
1190
1190
|
else {
|
|
1191
1191
|
throw new Error("No value provided for input HTTP label: ConfigurationProfileId.");
|
|
@@ -1216,15 +1216,15 @@ const deserializeAws_restJson1CreateApplicationCommand = async (output, context)
|
|
|
1216
1216
|
Id: undefined,
|
|
1217
1217
|
Name: undefined,
|
|
1218
1218
|
};
|
|
1219
|
-
const data =
|
|
1219
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1220
1220
|
if (data.Description !== undefined && data.Description !== null) {
|
|
1221
|
-
contents.Description =
|
|
1221
|
+
contents.Description = smithy_client_1.expectString(data.Description);
|
|
1222
1222
|
}
|
|
1223
1223
|
if (data.Id !== undefined && data.Id !== null) {
|
|
1224
|
-
contents.Id =
|
|
1224
|
+
contents.Id = smithy_client_1.expectString(data.Id);
|
|
1225
1225
|
}
|
|
1226
1226
|
if (data.Name !== undefined && data.Name !== null) {
|
|
1227
|
-
contents.Name =
|
|
1227
|
+
contents.Name = smithy_client_1.expectString(data.Name);
|
|
1228
1228
|
}
|
|
1229
1229
|
return Promise.resolve(contents);
|
|
1230
1230
|
};
|
|
@@ -1284,24 +1284,24 @@ const deserializeAws_restJson1CreateConfigurationProfileCommand = async (output,
|
|
|
1284
1284
|
RetrievalRoleArn: undefined,
|
|
1285
1285
|
Validators: undefined,
|
|
1286
1286
|
};
|
|
1287
|
-
const data =
|
|
1287
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1288
1288
|
if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
|
|
1289
|
-
contents.ApplicationId =
|
|
1289
|
+
contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
|
|
1290
1290
|
}
|
|
1291
1291
|
if (data.Description !== undefined && data.Description !== null) {
|
|
1292
|
-
contents.Description =
|
|
1292
|
+
contents.Description = smithy_client_1.expectString(data.Description);
|
|
1293
1293
|
}
|
|
1294
1294
|
if (data.Id !== undefined && data.Id !== null) {
|
|
1295
|
-
contents.Id =
|
|
1295
|
+
contents.Id = smithy_client_1.expectString(data.Id);
|
|
1296
1296
|
}
|
|
1297
1297
|
if (data.LocationUri !== undefined && data.LocationUri !== null) {
|
|
1298
|
-
contents.LocationUri =
|
|
1298
|
+
contents.LocationUri = smithy_client_1.expectString(data.LocationUri);
|
|
1299
1299
|
}
|
|
1300
1300
|
if (data.Name !== undefined && data.Name !== null) {
|
|
1301
|
-
contents.Name =
|
|
1301
|
+
contents.Name = smithy_client_1.expectString(data.Name);
|
|
1302
1302
|
}
|
|
1303
1303
|
if (data.RetrievalRoleArn !== undefined && data.RetrievalRoleArn !== null) {
|
|
1304
|
-
contents.RetrievalRoleArn =
|
|
1304
|
+
contents.RetrievalRoleArn = smithy_client_1.expectString(data.RetrievalRoleArn);
|
|
1305
1305
|
}
|
|
1306
1306
|
if (data.Validators !== undefined && data.Validators !== null) {
|
|
1307
1307
|
contents.Validators = deserializeAws_restJson1ValidatorList(data.Validators, context);
|
|
@@ -1373,30 +1373,30 @@ const deserializeAws_restJson1CreateDeploymentStrategyCommand = async (output, c
|
|
|
1373
1373
|
Name: undefined,
|
|
1374
1374
|
ReplicateTo: undefined,
|
|
1375
1375
|
};
|
|
1376
|
-
const data =
|
|
1376
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1377
1377
|
if (data.DeploymentDurationInMinutes !== undefined && data.DeploymentDurationInMinutes !== null) {
|
|
1378
|
-
contents.DeploymentDurationInMinutes =
|
|
1378
|
+
contents.DeploymentDurationInMinutes = smithy_client_1.expectInt32(data.DeploymentDurationInMinutes);
|
|
1379
1379
|
}
|
|
1380
1380
|
if (data.Description !== undefined && data.Description !== null) {
|
|
1381
|
-
contents.Description =
|
|
1381
|
+
contents.Description = smithy_client_1.expectString(data.Description);
|
|
1382
1382
|
}
|
|
1383
1383
|
if (data.FinalBakeTimeInMinutes !== undefined && data.FinalBakeTimeInMinutes !== null) {
|
|
1384
|
-
contents.FinalBakeTimeInMinutes =
|
|
1384
|
+
contents.FinalBakeTimeInMinutes = smithy_client_1.expectInt32(data.FinalBakeTimeInMinutes);
|
|
1385
1385
|
}
|
|
1386
1386
|
if (data.GrowthFactor !== undefined && data.GrowthFactor !== null) {
|
|
1387
|
-
contents.GrowthFactor =
|
|
1387
|
+
contents.GrowthFactor = smithy_client_1.limitedParseFloat32(data.GrowthFactor);
|
|
1388
1388
|
}
|
|
1389
1389
|
if (data.GrowthType !== undefined && data.GrowthType !== null) {
|
|
1390
|
-
contents.GrowthType =
|
|
1390
|
+
contents.GrowthType = smithy_client_1.expectString(data.GrowthType);
|
|
1391
1391
|
}
|
|
1392
1392
|
if (data.Id !== undefined && data.Id !== null) {
|
|
1393
|
-
contents.Id =
|
|
1393
|
+
contents.Id = smithy_client_1.expectString(data.Id);
|
|
1394
1394
|
}
|
|
1395
1395
|
if (data.Name !== undefined && data.Name !== null) {
|
|
1396
|
-
contents.Name =
|
|
1396
|
+
contents.Name = smithy_client_1.expectString(data.Name);
|
|
1397
1397
|
}
|
|
1398
1398
|
if (data.ReplicateTo !== undefined && data.ReplicateTo !== null) {
|
|
1399
|
-
contents.ReplicateTo =
|
|
1399
|
+
contents.ReplicateTo = smithy_client_1.expectString(data.ReplicateTo);
|
|
1400
1400
|
}
|
|
1401
1401
|
return Promise.resolve(contents);
|
|
1402
1402
|
};
|
|
@@ -1455,24 +1455,24 @@ const deserializeAws_restJson1CreateEnvironmentCommand = async (output, context)
|
|
|
1455
1455
|
Name: undefined,
|
|
1456
1456
|
State: undefined,
|
|
1457
1457
|
};
|
|
1458
|
-
const data =
|
|
1458
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1459
1459
|
if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
|
|
1460
|
-
contents.ApplicationId =
|
|
1460
|
+
contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
|
|
1461
1461
|
}
|
|
1462
1462
|
if (data.Description !== undefined && data.Description !== null) {
|
|
1463
|
-
contents.Description =
|
|
1463
|
+
contents.Description = smithy_client_1.expectString(data.Description);
|
|
1464
1464
|
}
|
|
1465
1465
|
if (data.Id !== undefined && data.Id !== null) {
|
|
1466
|
-
contents.Id =
|
|
1466
|
+
contents.Id = smithy_client_1.expectString(data.Id);
|
|
1467
1467
|
}
|
|
1468
1468
|
if (data.Monitors !== undefined && data.Monitors !== null) {
|
|
1469
1469
|
contents.Monitors = deserializeAws_restJson1MonitorList(data.Monitors, context);
|
|
1470
1470
|
}
|
|
1471
1471
|
if (data.Name !== undefined && data.Name !== null) {
|
|
1472
|
-
contents.Name =
|
|
1472
|
+
contents.Name = smithy_client_1.expectString(data.Name);
|
|
1473
1473
|
}
|
|
1474
1474
|
if (data.State !== undefined && data.State !== null) {
|
|
1475
|
-
contents.State =
|
|
1475
|
+
contents.State = smithy_client_1.expectString(data.State);
|
|
1476
1476
|
}
|
|
1477
1477
|
return Promise.resolve(contents);
|
|
1478
1478
|
};
|
|
@@ -1546,7 +1546,7 @@ const deserializeAws_restJson1CreateHostedConfigurationVersionCommand = async (o
|
|
|
1546
1546
|
contents.ConfigurationProfileId = output.headers["configuration-profile-id"];
|
|
1547
1547
|
}
|
|
1548
1548
|
if (output.headers["version-number"] !== undefined) {
|
|
1549
|
-
contents.VersionNumber =
|
|
1549
|
+
contents.VersionNumber = smithy_client_1.strictParseInt32(output.headers["version-number"]);
|
|
1550
1550
|
}
|
|
1551
1551
|
if (output.headers["description"] !== undefined) {
|
|
1552
1552
|
contents.Description = output.headers["description"];
|
|
@@ -1958,15 +1958,15 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
|
|
|
1958
1958
|
Id: undefined,
|
|
1959
1959
|
Name: undefined,
|
|
1960
1960
|
};
|
|
1961
|
-
const data =
|
|
1961
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1962
1962
|
if (data.Description !== undefined && data.Description !== null) {
|
|
1963
|
-
contents.Description =
|
|
1963
|
+
contents.Description = smithy_client_1.expectString(data.Description);
|
|
1964
1964
|
}
|
|
1965
1965
|
if (data.Id !== undefined && data.Id !== null) {
|
|
1966
|
-
contents.Id =
|
|
1966
|
+
contents.Id = smithy_client_1.expectString(data.Id);
|
|
1967
1967
|
}
|
|
1968
1968
|
if (data.Name !== undefined && data.Name !== null) {
|
|
1969
|
-
contents.Name =
|
|
1969
|
+
contents.Name = smithy_client_1.expectString(data.Name);
|
|
1970
1970
|
}
|
|
1971
1971
|
return Promise.resolve(contents);
|
|
1972
1972
|
};
|
|
@@ -2104,24 +2104,24 @@ const deserializeAws_restJson1GetConfigurationProfileCommand = async (output, co
|
|
|
2104
2104
|
RetrievalRoleArn: undefined,
|
|
2105
2105
|
Validators: undefined,
|
|
2106
2106
|
};
|
|
2107
|
-
const data =
|
|
2107
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2108
2108
|
if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
|
|
2109
|
-
contents.ApplicationId =
|
|
2109
|
+
contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
|
|
2110
2110
|
}
|
|
2111
2111
|
if (data.Description !== undefined && data.Description !== null) {
|
|
2112
|
-
contents.Description =
|
|
2112
|
+
contents.Description = smithy_client_1.expectString(data.Description);
|
|
2113
2113
|
}
|
|
2114
2114
|
if (data.Id !== undefined && data.Id !== null) {
|
|
2115
|
-
contents.Id =
|
|
2115
|
+
contents.Id = smithy_client_1.expectString(data.Id);
|
|
2116
2116
|
}
|
|
2117
2117
|
if (data.LocationUri !== undefined && data.LocationUri !== null) {
|
|
2118
|
-
contents.LocationUri =
|
|
2118
|
+
contents.LocationUri = smithy_client_1.expectString(data.LocationUri);
|
|
2119
2119
|
}
|
|
2120
2120
|
if (data.Name !== undefined && data.Name !== null) {
|
|
2121
|
-
contents.Name =
|
|
2121
|
+
contents.Name = smithy_client_1.expectString(data.Name);
|
|
2122
2122
|
}
|
|
2123
2123
|
if (data.RetrievalRoleArn !== undefined && data.RetrievalRoleArn !== null) {
|
|
2124
|
-
contents.RetrievalRoleArn =
|
|
2124
|
+
contents.RetrievalRoleArn = smithy_client_1.expectString(data.RetrievalRoleArn);
|
|
2125
2125
|
}
|
|
2126
2126
|
if (data.Validators !== undefined && data.Validators !== null) {
|
|
2127
2127
|
contents.Validators = deserializeAws_restJson1ValidatorList(data.Validators, context);
|
|
@@ -2203,60 +2203,60 @@ const deserializeAws_restJson1GetDeploymentCommand = async (output, context) =>
|
|
|
2203
2203
|
StartedAt: undefined,
|
|
2204
2204
|
State: undefined,
|
|
2205
2205
|
};
|
|
2206
|
-
const data =
|
|
2206
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2207
2207
|
if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
|
|
2208
|
-
contents.ApplicationId =
|
|
2208
|
+
contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
|
|
2209
2209
|
}
|
|
2210
2210
|
if (data.CompletedAt !== undefined && data.CompletedAt !== null) {
|
|
2211
|
-
contents.CompletedAt =
|
|
2211
|
+
contents.CompletedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.CompletedAt));
|
|
2212
2212
|
}
|
|
2213
2213
|
if (data.ConfigurationLocationUri !== undefined && data.ConfigurationLocationUri !== null) {
|
|
2214
|
-
contents.ConfigurationLocationUri =
|
|
2214
|
+
contents.ConfigurationLocationUri = smithy_client_1.expectString(data.ConfigurationLocationUri);
|
|
2215
2215
|
}
|
|
2216
2216
|
if (data.ConfigurationName !== undefined && data.ConfigurationName !== null) {
|
|
2217
|
-
contents.ConfigurationName =
|
|
2217
|
+
contents.ConfigurationName = smithy_client_1.expectString(data.ConfigurationName);
|
|
2218
2218
|
}
|
|
2219
2219
|
if (data.ConfigurationProfileId !== undefined && data.ConfigurationProfileId !== null) {
|
|
2220
|
-
contents.ConfigurationProfileId =
|
|
2220
|
+
contents.ConfigurationProfileId = smithy_client_1.expectString(data.ConfigurationProfileId);
|
|
2221
2221
|
}
|
|
2222
2222
|
if (data.ConfigurationVersion !== undefined && data.ConfigurationVersion !== null) {
|
|
2223
|
-
contents.ConfigurationVersion =
|
|
2223
|
+
contents.ConfigurationVersion = smithy_client_1.expectString(data.ConfigurationVersion);
|
|
2224
2224
|
}
|
|
2225
2225
|
if (data.DeploymentDurationInMinutes !== undefined && data.DeploymentDurationInMinutes !== null) {
|
|
2226
|
-
contents.DeploymentDurationInMinutes =
|
|
2226
|
+
contents.DeploymentDurationInMinutes = smithy_client_1.expectInt32(data.DeploymentDurationInMinutes);
|
|
2227
2227
|
}
|
|
2228
2228
|
if (data.DeploymentNumber !== undefined && data.DeploymentNumber !== null) {
|
|
2229
|
-
contents.DeploymentNumber =
|
|
2229
|
+
contents.DeploymentNumber = smithy_client_1.expectInt32(data.DeploymentNumber);
|
|
2230
2230
|
}
|
|
2231
2231
|
if (data.DeploymentStrategyId !== undefined && data.DeploymentStrategyId !== null) {
|
|
2232
|
-
contents.DeploymentStrategyId =
|
|
2232
|
+
contents.DeploymentStrategyId = smithy_client_1.expectString(data.DeploymentStrategyId);
|
|
2233
2233
|
}
|
|
2234
2234
|
if (data.Description !== undefined && data.Description !== null) {
|
|
2235
|
-
contents.Description =
|
|
2235
|
+
contents.Description = smithy_client_1.expectString(data.Description);
|
|
2236
2236
|
}
|
|
2237
2237
|
if (data.EnvironmentId !== undefined && data.EnvironmentId !== null) {
|
|
2238
|
-
contents.EnvironmentId =
|
|
2238
|
+
contents.EnvironmentId = smithy_client_1.expectString(data.EnvironmentId);
|
|
2239
2239
|
}
|
|
2240
2240
|
if (data.EventLog !== undefined && data.EventLog !== null) {
|
|
2241
2241
|
contents.EventLog = deserializeAws_restJson1DeploymentEvents(data.EventLog, context);
|
|
2242
2242
|
}
|
|
2243
2243
|
if (data.FinalBakeTimeInMinutes !== undefined && data.FinalBakeTimeInMinutes !== null) {
|
|
2244
|
-
contents.FinalBakeTimeInMinutes =
|
|
2244
|
+
contents.FinalBakeTimeInMinutes = smithy_client_1.expectInt32(data.FinalBakeTimeInMinutes);
|
|
2245
2245
|
}
|
|
2246
2246
|
if (data.GrowthFactor !== undefined && data.GrowthFactor !== null) {
|
|
2247
|
-
contents.GrowthFactor =
|
|
2247
|
+
contents.GrowthFactor = smithy_client_1.limitedParseFloat32(data.GrowthFactor);
|
|
2248
2248
|
}
|
|
2249
2249
|
if (data.GrowthType !== undefined && data.GrowthType !== null) {
|
|
2250
|
-
contents.GrowthType =
|
|
2250
|
+
contents.GrowthType = smithy_client_1.expectString(data.GrowthType);
|
|
2251
2251
|
}
|
|
2252
2252
|
if (data.PercentageComplete !== undefined && data.PercentageComplete !== null) {
|
|
2253
|
-
contents.PercentageComplete =
|
|
2253
|
+
contents.PercentageComplete = smithy_client_1.limitedParseFloat32(data.PercentageComplete);
|
|
2254
2254
|
}
|
|
2255
2255
|
if (data.StartedAt !== undefined && data.StartedAt !== null) {
|
|
2256
|
-
contents.StartedAt =
|
|
2256
|
+
contents.StartedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.StartedAt));
|
|
2257
2257
|
}
|
|
2258
2258
|
if (data.State !== undefined && data.State !== null) {
|
|
2259
|
-
contents.State =
|
|
2259
|
+
contents.State = smithy_client_1.expectString(data.State);
|
|
2260
2260
|
}
|
|
2261
2261
|
return Promise.resolve(contents);
|
|
2262
2262
|
};
|
|
@@ -2325,30 +2325,30 @@ const deserializeAws_restJson1GetDeploymentStrategyCommand = async (output, cont
|
|
|
2325
2325
|
Name: undefined,
|
|
2326
2326
|
ReplicateTo: undefined,
|
|
2327
2327
|
};
|
|
2328
|
-
const data =
|
|
2328
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2329
2329
|
if (data.DeploymentDurationInMinutes !== undefined && data.DeploymentDurationInMinutes !== null) {
|
|
2330
|
-
contents.DeploymentDurationInMinutes =
|
|
2330
|
+
contents.DeploymentDurationInMinutes = smithy_client_1.expectInt32(data.DeploymentDurationInMinutes);
|
|
2331
2331
|
}
|
|
2332
2332
|
if (data.Description !== undefined && data.Description !== null) {
|
|
2333
|
-
contents.Description =
|
|
2333
|
+
contents.Description = smithy_client_1.expectString(data.Description);
|
|
2334
2334
|
}
|
|
2335
2335
|
if (data.FinalBakeTimeInMinutes !== undefined && data.FinalBakeTimeInMinutes !== null) {
|
|
2336
|
-
contents.FinalBakeTimeInMinutes =
|
|
2336
|
+
contents.FinalBakeTimeInMinutes = smithy_client_1.expectInt32(data.FinalBakeTimeInMinutes);
|
|
2337
2337
|
}
|
|
2338
2338
|
if (data.GrowthFactor !== undefined && data.GrowthFactor !== null) {
|
|
2339
|
-
contents.GrowthFactor =
|
|
2339
|
+
contents.GrowthFactor = smithy_client_1.limitedParseFloat32(data.GrowthFactor);
|
|
2340
2340
|
}
|
|
2341
2341
|
if (data.GrowthType !== undefined && data.GrowthType !== null) {
|
|
2342
|
-
contents.GrowthType =
|
|
2342
|
+
contents.GrowthType = smithy_client_1.expectString(data.GrowthType);
|
|
2343
2343
|
}
|
|
2344
2344
|
if (data.Id !== undefined && data.Id !== null) {
|
|
2345
|
-
contents.Id =
|
|
2345
|
+
contents.Id = smithy_client_1.expectString(data.Id);
|
|
2346
2346
|
}
|
|
2347
2347
|
if (data.Name !== undefined && data.Name !== null) {
|
|
2348
|
-
contents.Name =
|
|
2348
|
+
contents.Name = smithy_client_1.expectString(data.Name);
|
|
2349
2349
|
}
|
|
2350
2350
|
if (data.ReplicateTo !== undefined && data.ReplicateTo !== null) {
|
|
2351
|
-
contents.ReplicateTo =
|
|
2351
|
+
contents.ReplicateTo = smithy_client_1.expectString(data.ReplicateTo);
|
|
2352
2352
|
}
|
|
2353
2353
|
return Promise.resolve(contents);
|
|
2354
2354
|
};
|
|
@@ -2415,24 +2415,24 @@ const deserializeAws_restJson1GetEnvironmentCommand = async (output, context) =>
|
|
|
2415
2415
|
Name: undefined,
|
|
2416
2416
|
State: undefined,
|
|
2417
2417
|
};
|
|
2418
|
-
const data =
|
|
2418
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2419
2419
|
if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
|
|
2420
|
-
contents.ApplicationId =
|
|
2420
|
+
contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
|
|
2421
2421
|
}
|
|
2422
2422
|
if (data.Description !== undefined && data.Description !== null) {
|
|
2423
|
-
contents.Description =
|
|
2423
|
+
contents.Description = smithy_client_1.expectString(data.Description);
|
|
2424
2424
|
}
|
|
2425
2425
|
if (data.Id !== undefined && data.Id !== null) {
|
|
2426
|
-
contents.Id =
|
|
2426
|
+
contents.Id = smithy_client_1.expectString(data.Id);
|
|
2427
2427
|
}
|
|
2428
2428
|
if (data.Monitors !== undefined && data.Monitors !== null) {
|
|
2429
2429
|
contents.Monitors = deserializeAws_restJson1MonitorList(data.Monitors, context);
|
|
2430
2430
|
}
|
|
2431
2431
|
if (data.Name !== undefined && data.Name !== null) {
|
|
2432
|
-
contents.Name =
|
|
2432
|
+
contents.Name = smithy_client_1.expectString(data.Name);
|
|
2433
2433
|
}
|
|
2434
2434
|
if (data.State !== undefined && data.State !== null) {
|
|
2435
|
-
contents.State =
|
|
2435
|
+
contents.State = smithy_client_1.expectString(data.State);
|
|
2436
2436
|
}
|
|
2437
2437
|
return Promise.resolve(contents);
|
|
2438
2438
|
};
|
|
@@ -2506,7 +2506,7 @@ const deserializeAws_restJson1GetHostedConfigurationVersionCommand = async (outp
|
|
|
2506
2506
|
contents.ConfigurationProfileId = output.headers["configuration-profile-id"];
|
|
2507
2507
|
}
|
|
2508
2508
|
if (output.headers["version-number"] !== undefined) {
|
|
2509
|
-
contents.VersionNumber =
|
|
2509
|
+
contents.VersionNumber = smithy_client_1.strictParseInt32(output.headers["version-number"]);
|
|
2510
2510
|
}
|
|
2511
2511
|
if (output.headers["description"] !== undefined) {
|
|
2512
2512
|
contents.Description = output.headers["description"];
|
|
@@ -2577,12 +2577,12 @@ const deserializeAws_restJson1ListApplicationsCommand = async (output, context)
|
|
|
2577
2577
|
Items: undefined,
|
|
2578
2578
|
NextToken: undefined,
|
|
2579
2579
|
};
|
|
2580
|
-
const data =
|
|
2580
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2581
2581
|
if (data.Items !== undefined && data.Items !== null) {
|
|
2582
2582
|
contents.Items = deserializeAws_restJson1ApplicationList(data.Items, context);
|
|
2583
2583
|
}
|
|
2584
2584
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2585
|
-
contents.NextToken =
|
|
2585
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2586
2586
|
}
|
|
2587
2587
|
return Promise.resolve(contents);
|
|
2588
2588
|
};
|
|
@@ -2637,12 +2637,12 @@ const deserializeAws_restJson1ListConfigurationProfilesCommand = async (output,
|
|
|
2637
2637
|
Items: undefined,
|
|
2638
2638
|
NextToken: undefined,
|
|
2639
2639
|
};
|
|
2640
|
-
const data =
|
|
2640
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2641
2641
|
if (data.Items !== undefined && data.Items !== null) {
|
|
2642
2642
|
contents.Items = deserializeAws_restJson1ConfigurationProfileSummaryList(data.Items, context);
|
|
2643
2643
|
}
|
|
2644
2644
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2645
|
-
contents.NextToken =
|
|
2645
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2646
2646
|
}
|
|
2647
2647
|
return Promise.resolve(contents);
|
|
2648
2648
|
};
|
|
@@ -2705,12 +2705,12 @@ const deserializeAws_restJson1ListDeploymentsCommand = async (output, context) =
|
|
|
2705
2705
|
Items: undefined,
|
|
2706
2706
|
NextToken: undefined,
|
|
2707
2707
|
};
|
|
2708
|
-
const data =
|
|
2708
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2709
2709
|
if (data.Items !== undefined && data.Items !== null) {
|
|
2710
2710
|
contents.Items = deserializeAws_restJson1DeploymentList(data.Items, context);
|
|
2711
2711
|
}
|
|
2712
2712
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2713
|
-
contents.NextToken =
|
|
2713
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2714
2714
|
}
|
|
2715
2715
|
return Promise.resolve(contents);
|
|
2716
2716
|
};
|
|
@@ -2773,12 +2773,12 @@ const deserializeAws_restJson1ListDeploymentStrategiesCommand = async (output, c
|
|
|
2773
2773
|
Items: undefined,
|
|
2774
2774
|
NextToken: undefined,
|
|
2775
2775
|
};
|
|
2776
|
-
const data =
|
|
2776
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2777
2777
|
if (data.Items !== undefined && data.Items !== null) {
|
|
2778
2778
|
contents.Items = deserializeAws_restJson1DeploymentStrategyList(data.Items, context);
|
|
2779
2779
|
}
|
|
2780
2780
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2781
|
-
contents.NextToken =
|
|
2781
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2782
2782
|
}
|
|
2783
2783
|
return Promise.resolve(contents);
|
|
2784
2784
|
};
|
|
@@ -2833,12 +2833,12 @@ const deserializeAws_restJson1ListEnvironmentsCommand = async (output, context)
|
|
|
2833
2833
|
Items: undefined,
|
|
2834
2834
|
NextToken: undefined,
|
|
2835
2835
|
};
|
|
2836
|
-
const data =
|
|
2836
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2837
2837
|
if (data.Items !== undefined && data.Items !== null) {
|
|
2838
2838
|
contents.Items = deserializeAws_restJson1EnvironmentList(data.Items, context);
|
|
2839
2839
|
}
|
|
2840
2840
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2841
|
-
contents.NextToken =
|
|
2841
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2842
2842
|
}
|
|
2843
2843
|
return Promise.resolve(contents);
|
|
2844
2844
|
};
|
|
@@ -2901,12 +2901,12 @@ const deserializeAws_restJson1ListHostedConfigurationVersionsCommand = async (ou
|
|
|
2901
2901
|
Items: undefined,
|
|
2902
2902
|
NextToken: undefined,
|
|
2903
2903
|
};
|
|
2904
|
-
const data =
|
|
2904
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2905
2905
|
if (data.Items !== undefined && data.Items !== null) {
|
|
2906
2906
|
contents.Items = deserializeAws_restJson1HostedConfigurationVersionSummaryList(data.Items, context);
|
|
2907
2907
|
}
|
|
2908
2908
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2909
|
-
contents.NextToken =
|
|
2909
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2910
2910
|
}
|
|
2911
2911
|
return Promise.resolve(contents);
|
|
2912
2912
|
};
|
|
@@ -2968,7 +2968,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
2968
2968
|
$metadata: deserializeMetadata(output),
|
|
2969
2969
|
Tags: undefined,
|
|
2970
2970
|
};
|
|
2971
|
-
const data =
|
|
2971
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2972
2972
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
2973
2973
|
contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
|
|
2974
2974
|
}
|
|
@@ -3049,60 +3049,60 @@ const deserializeAws_restJson1StartDeploymentCommand = async (output, context) =
|
|
|
3049
3049
|
StartedAt: undefined,
|
|
3050
3050
|
State: undefined,
|
|
3051
3051
|
};
|
|
3052
|
-
const data =
|
|
3052
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3053
3053
|
if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
|
|
3054
|
-
contents.ApplicationId =
|
|
3054
|
+
contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
|
|
3055
3055
|
}
|
|
3056
3056
|
if (data.CompletedAt !== undefined && data.CompletedAt !== null) {
|
|
3057
|
-
contents.CompletedAt =
|
|
3057
|
+
contents.CompletedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.CompletedAt));
|
|
3058
3058
|
}
|
|
3059
3059
|
if (data.ConfigurationLocationUri !== undefined && data.ConfigurationLocationUri !== null) {
|
|
3060
|
-
contents.ConfigurationLocationUri =
|
|
3060
|
+
contents.ConfigurationLocationUri = smithy_client_1.expectString(data.ConfigurationLocationUri);
|
|
3061
3061
|
}
|
|
3062
3062
|
if (data.ConfigurationName !== undefined && data.ConfigurationName !== null) {
|
|
3063
|
-
contents.ConfigurationName =
|
|
3063
|
+
contents.ConfigurationName = smithy_client_1.expectString(data.ConfigurationName);
|
|
3064
3064
|
}
|
|
3065
3065
|
if (data.ConfigurationProfileId !== undefined && data.ConfigurationProfileId !== null) {
|
|
3066
|
-
contents.ConfigurationProfileId =
|
|
3066
|
+
contents.ConfigurationProfileId = smithy_client_1.expectString(data.ConfigurationProfileId);
|
|
3067
3067
|
}
|
|
3068
3068
|
if (data.ConfigurationVersion !== undefined && data.ConfigurationVersion !== null) {
|
|
3069
|
-
contents.ConfigurationVersion =
|
|
3069
|
+
contents.ConfigurationVersion = smithy_client_1.expectString(data.ConfigurationVersion);
|
|
3070
3070
|
}
|
|
3071
3071
|
if (data.DeploymentDurationInMinutes !== undefined && data.DeploymentDurationInMinutes !== null) {
|
|
3072
|
-
contents.DeploymentDurationInMinutes =
|
|
3072
|
+
contents.DeploymentDurationInMinutes = smithy_client_1.expectInt32(data.DeploymentDurationInMinutes);
|
|
3073
3073
|
}
|
|
3074
3074
|
if (data.DeploymentNumber !== undefined && data.DeploymentNumber !== null) {
|
|
3075
|
-
contents.DeploymentNumber =
|
|
3075
|
+
contents.DeploymentNumber = smithy_client_1.expectInt32(data.DeploymentNumber);
|
|
3076
3076
|
}
|
|
3077
3077
|
if (data.DeploymentStrategyId !== undefined && data.DeploymentStrategyId !== null) {
|
|
3078
|
-
contents.DeploymentStrategyId =
|
|
3078
|
+
contents.DeploymentStrategyId = smithy_client_1.expectString(data.DeploymentStrategyId);
|
|
3079
3079
|
}
|
|
3080
3080
|
if (data.Description !== undefined && data.Description !== null) {
|
|
3081
|
-
contents.Description =
|
|
3081
|
+
contents.Description = smithy_client_1.expectString(data.Description);
|
|
3082
3082
|
}
|
|
3083
3083
|
if (data.EnvironmentId !== undefined && data.EnvironmentId !== null) {
|
|
3084
|
-
contents.EnvironmentId =
|
|
3084
|
+
contents.EnvironmentId = smithy_client_1.expectString(data.EnvironmentId);
|
|
3085
3085
|
}
|
|
3086
3086
|
if (data.EventLog !== undefined && data.EventLog !== null) {
|
|
3087
3087
|
contents.EventLog = deserializeAws_restJson1DeploymentEvents(data.EventLog, context);
|
|
3088
3088
|
}
|
|
3089
3089
|
if (data.FinalBakeTimeInMinutes !== undefined && data.FinalBakeTimeInMinutes !== null) {
|
|
3090
|
-
contents.FinalBakeTimeInMinutes =
|
|
3090
|
+
contents.FinalBakeTimeInMinutes = smithy_client_1.expectInt32(data.FinalBakeTimeInMinutes);
|
|
3091
3091
|
}
|
|
3092
3092
|
if (data.GrowthFactor !== undefined && data.GrowthFactor !== null) {
|
|
3093
|
-
contents.GrowthFactor =
|
|
3093
|
+
contents.GrowthFactor = smithy_client_1.limitedParseFloat32(data.GrowthFactor);
|
|
3094
3094
|
}
|
|
3095
3095
|
if (data.GrowthType !== undefined && data.GrowthType !== null) {
|
|
3096
|
-
contents.GrowthType =
|
|
3096
|
+
contents.GrowthType = smithy_client_1.expectString(data.GrowthType);
|
|
3097
3097
|
}
|
|
3098
3098
|
if (data.PercentageComplete !== undefined && data.PercentageComplete !== null) {
|
|
3099
|
-
contents.PercentageComplete =
|
|
3099
|
+
contents.PercentageComplete = smithy_client_1.limitedParseFloat32(data.PercentageComplete);
|
|
3100
3100
|
}
|
|
3101
3101
|
if (data.StartedAt !== undefined && data.StartedAt !== null) {
|
|
3102
|
-
contents.StartedAt =
|
|
3102
|
+
contents.StartedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.StartedAt));
|
|
3103
3103
|
}
|
|
3104
3104
|
if (data.State !== undefined && data.State !== null) {
|
|
3105
|
-
contents.State =
|
|
3105
|
+
contents.State = smithy_client_1.expectString(data.State);
|
|
3106
3106
|
}
|
|
3107
3107
|
return Promise.resolve(contents);
|
|
3108
3108
|
};
|
|
@@ -3189,60 +3189,60 @@ const deserializeAws_restJson1StopDeploymentCommand = async (output, context) =>
|
|
|
3189
3189
|
StartedAt: undefined,
|
|
3190
3190
|
State: undefined,
|
|
3191
3191
|
};
|
|
3192
|
-
const data =
|
|
3192
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3193
3193
|
if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
|
|
3194
|
-
contents.ApplicationId =
|
|
3194
|
+
contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
|
|
3195
3195
|
}
|
|
3196
3196
|
if (data.CompletedAt !== undefined && data.CompletedAt !== null) {
|
|
3197
|
-
contents.CompletedAt =
|
|
3197
|
+
contents.CompletedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.CompletedAt));
|
|
3198
3198
|
}
|
|
3199
3199
|
if (data.ConfigurationLocationUri !== undefined && data.ConfigurationLocationUri !== null) {
|
|
3200
|
-
contents.ConfigurationLocationUri =
|
|
3200
|
+
contents.ConfigurationLocationUri = smithy_client_1.expectString(data.ConfigurationLocationUri);
|
|
3201
3201
|
}
|
|
3202
3202
|
if (data.ConfigurationName !== undefined && data.ConfigurationName !== null) {
|
|
3203
|
-
contents.ConfigurationName =
|
|
3203
|
+
contents.ConfigurationName = smithy_client_1.expectString(data.ConfigurationName);
|
|
3204
3204
|
}
|
|
3205
3205
|
if (data.ConfigurationProfileId !== undefined && data.ConfigurationProfileId !== null) {
|
|
3206
|
-
contents.ConfigurationProfileId =
|
|
3206
|
+
contents.ConfigurationProfileId = smithy_client_1.expectString(data.ConfigurationProfileId);
|
|
3207
3207
|
}
|
|
3208
3208
|
if (data.ConfigurationVersion !== undefined && data.ConfigurationVersion !== null) {
|
|
3209
|
-
contents.ConfigurationVersion =
|
|
3209
|
+
contents.ConfigurationVersion = smithy_client_1.expectString(data.ConfigurationVersion);
|
|
3210
3210
|
}
|
|
3211
3211
|
if (data.DeploymentDurationInMinutes !== undefined && data.DeploymentDurationInMinutes !== null) {
|
|
3212
|
-
contents.DeploymentDurationInMinutes =
|
|
3212
|
+
contents.DeploymentDurationInMinutes = smithy_client_1.expectInt32(data.DeploymentDurationInMinutes);
|
|
3213
3213
|
}
|
|
3214
3214
|
if (data.DeploymentNumber !== undefined && data.DeploymentNumber !== null) {
|
|
3215
|
-
contents.DeploymentNumber =
|
|
3215
|
+
contents.DeploymentNumber = smithy_client_1.expectInt32(data.DeploymentNumber);
|
|
3216
3216
|
}
|
|
3217
3217
|
if (data.DeploymentStrategyId !== undefined && data.DeploymentStrategyId !== null) {
|
|
3218
|
-
contents.DeploymentStrategyId =
|
|
3218
|
+
contents.DeploymentStrategyId = smithy_client_1.expectString(data.DeploymentStrategyId);
|
|
3219
3219
|
}
|
|
3220
3220
|
if (data.Description !== undefined && data.Description !== null) {
|
|
3221
|
-
contents.Description =
|
|
3221
|
+
contents.Description = smithy_client_1.expectString(data.Description);
|
|
3222
3222
|
}
|
|
3223
3223
|
if (data.EnvironmentId !== undefined && data.EnvironmentId !== null) {
|
|
3224
|
-
contents.EnvironmentId =
|
|
3224
|
+
contents.EnvironmentId = smithy_client_1.expectString(data.EnvironmentId);
|
|
3225
3225
|
}
|
|
3226
3226
|
if (data.EventLog !== undefined && data.EventLog !== null) {
|
|
3227
3227
|
contents.EventLog = deserializeAws_restJson1DeploymentEvents(data.EventLog, context);
|
|
3228
3228
|
}
|
|
3229
3229
|
if (data.FinalBakeTimeInMinutes !== undefined && data.FinalBakeTimeInMinutes !== null) {
|
|
3230
|
-
contents.FinalBakeTimeInMinutes =
|
|
3230
|
+
contents.FinalBakeTimeInMinutes = smithy_client_1.expectInt32(data.FinalBakeTimeInMinutes);
|
|
3231
3231
|
}
|
|
3232
3232
|
if (data.GrowthFactor !== undefined && data.GrowthFactor !== null) {
|
|
3233
|
-
contents.GrowthFactor =
|
|
3233
|
+
contents.GrowthFactor = smithy_client_1.limitedParseFloat32(data.GrowthFactor);
|
|
3234
3234
|
}
|
|
3235
3235
|
if (data.GrowthType !== undefined && data.GrowthType !== null) {
|
|
3236
|
-
contents.GrowthType =
|
|
3236
|
+
contents.GrowthType = smithy_client_1.expectString(data.GrowthType);
|
|
3237
3237
|
}
|
|
3238
3238
|
if (data.PercentageComplete !== undefined && data.PercentageComplete !== null) {
|
|
3239
|
-
contents.PercentageComplete =
|
|
3239
|
+
contents.PercentageComplete = smithy_client_1.limitedParseFloat32(data.PercentageComplete);
|
|
3240
3240
|
}
|
|
3241
3241
|
if (data.StartedAt !== undefined && data.StartedAt !== null) {
|
|
3242
|
-
contents.StartedAt =
|
|
3242
|
+
contents.StartedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.StartedAt));
|
|
3243
3243
|
}
|
|
3244
3244
|
if (data.State !== undefined && data.State !== null) {
|
|
3245
|
-
contents.State =
|
|
3245
|
+
contents.State = smithy_client_1.expectString(data.State);
|
|
3246
3246
|
}
|
|
3247
3247
|
return Promise.resolve(contents);
|
|
3248
3248
|
};
|
|
@@ -3426,15 +3426,15 @@ const deserializeAws_restJson1UpdateApplicationCommand = async (output, context)
|
|
|
3426
3426
|
Id: undefined,
|
|
3427
3427
|
Name: undefined,
|
|
3428
3428
|
};
|
|
3429
|
-
const data =
|
|
3429
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3430
3430
|
if (data.Description !== undefined && data.Description !== null) {
|
|
3431
|
-
contents.Description =
|
|
3431
|
+
contents.Description = smithy_client_1.expectString(data.Description);
|
|
3432
3432
|
}
|
|
3433
3433
|
if (data.Id !== undefined && data.Id !== null) {
|
|
3434
|
-
contents.Id =
|
|
3434
|
+
contents.Id = smithy_client_1.expectString(data.Id);
|
|
3435
3435
|
}
|
|
3436
3436
|
if (data.Name !== undefined && data.Name !== null) {
|
|
3437
|
-
contents.Name =
|
|
3437
|
+
contents.Name = smithy_client_1.expectString(data.Name);
|
|
3438
3438
|
}
|
|
3439
3439
|
return Promise.resolve(contents);
|
|
3440
3440
|
};
|
|
@@ -3502,24 +3502,24 @@ const deserializeAws_restJson1UpdateConfigurationProfileCommand = async (output,
|
|
|
3502
3502
|
RetrievalRoleArn: undefined,
|
|
3503
3503
|
Validators: undefined,
|
|
3504
3504
|
};
|
|
3505
|
-
const data =
|
|
3505
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3506
3506
|
if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
|
|
3507
|
-
contents.ApplicationId =
|
|
3507
|
+
contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
|
|
3508
3508
|
}
|
|
3509
3509
|
if (data.Description !== undefined && data.Description !== null) {
|
|
3510
|
-
contents.Description =
|
|
3510
|
+
contents.Description = smithy_client_1.expectString(data.Description);
|
|
3511
3511
|
}
|
|
3512
3512
|
if (data.Id !== undefined && data.Id !== null) {
|
|
3513
|
-
contents.Id =
|
|
3513
|
+
contents.Id = smithy_client_1.expectString(data.Id);
|
|
3514
3514
|
}
|
|
3515
3515
|
if (data.LocationUri !== undefined && data.LocationUri !== null) {
|
|
3516
|
-
contents.LocationUri =
|
|
3516
|
+
contents.LocationUri = smithy_client_1.expectString(data.LocationUri);
|
|
3517
3517
|
}
|
|
3518
3518
|
if (data.Name !== undefined && data.Name !== null) {
|
|
3519
|
-
contents.Name =
|
|
3519
|
+
contents.Name = smithy_client_1.expectString(data.Name);
|
|
3520
3520
|
}
|
|
3521
3521
|
if (data.RetrievalRoleArn !== undefined && data.RetrievalRoleArn !== null) {
|
|
3522
|
-
contents.RetrievalRoleArn =
|
|
3522
|
+
contents.RetrievalRoleArn = smithy_client_1.expectString(data.RetrievalRoleArn);
|
|
3523
3523
|
}
|
|
3524
3524
|
if (data.Validators !== undefined && data.Validators !== null) {
|
|
3525
3525
|
contents.Validators = deserializeAws_restJson1ValidatorList(data.Validators, context);
|
|
@@ -3591,30 +3591,30 @@ const deserializeAws_restJson1UpdateDeploymentStrategyCommand = async (output, c
|
|
|
3591
3591
|
Name: undefined,
|
|
3592
3592
|
ReplicateTo: undefined,
|
|
3593
3593
|
};
|
|
3594
|
-
const data =
|
|
3594
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3595
3595
|
if (data.DeploymentDurationInMinutes !== undefined && data.DeploymentDurationInMinutes !== null) {
|
|
3596
|
-
contents.DeploymentDurationInMinutes =
|
|
3596
|
+
contents.DeploymentDurationInMinutes = smithy_client_1.expectInt32(data.DeploymentDurationInMinutes);
|
|
3597
3597
|
}
|
|
3598
3598
|
if (data.Description !== undefined && data.Description !== null) {
|
|
3599
|
-
contents.Description =
|
|
3599
|
+
contents.Description = smithy_client_1.expectString(data.Description);
|
|
3600
3600
|
}
|
|
3601
3601
|
if (data.FinalBakeTimeInMinutes !== undefined && data.FinalBakeTimeInMinutes !== null) {
|
|
3602
|
-
contents.FinalBakeTimeInMinutes =
|
|
3602
|
+
contents.FinalBakeTimeInMinutes = smithy_client_1.expectInt32(data.FinalBakeTimeInMinutes);
|
|
3603
3603
|
}
|
|
3604
3604
|
if (data.GrowthFactor !== undefined && data.GrowthFactor !== null) {
|
|
3605
|
-
contents.GrowthFactor =
|
|
3605
|
+
contents.GrowthFactor = smithy_client_1.limitedParseFloat32(data.GrowthFactor);
|
|
3606
3606
|
}
|
|
3607
3607
|
if (data.GrowthType !== undefined && data.GrowthType !== null) {
|
|
3608
|
-
contents.GrowthType =
|
|
3608
|
+
contents.GrowthType = smithy_client_1.expectString(data.GrowthType);
|
|
3609
3609
|
}
|
|
3610
3610
|
if (data.Id !== undefined && data.Id !== null) {
|
|
3611
|
-
contents.Id =
|
|
3611
|
+
contents.Id = smithy_client_1.expectString(data.Id);
|
|
3612
3612
|
}
|
|
3613
3613
|
if (data.Name !== undefined && data.Name !== null) {
|
|
3614
|
-
contents.Name =
|
|
3614
|
+
contents.Name = smithy_client_1.expectString(data.Name);
|
|
3615
3615
|
}
|
|
3616
3616
|
if (data.ReplicateTo !== undefined && data.ReplicateTo !== null) {
|
|
3617
|
-
contents.ReplicateTo =
|
|
3617
|
+
contents.ReplicateTo = smithy_client_1.expectString(data.ReplicateTo);
|
|
3618
3618
|
}
|
|
3619
3619
|
return Promise.resolve(contents);
|
|
3620
3620
|
};
|
|
@@ -3681,24 +3681,24 @@ const deserializeAws_restJson1UpdateEnvironmentCommand = async (output, context)
|
|
|
3681
3681
|
Name: undefined,
|
|
3682
3682
|
State: undefined,
|
|
3683
3683
|
};
|
|
3684
|
-
const data =
|
|
3684
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3685
3685
|
if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
|
|
3686
|
-
contents.ApplicationId =
|
|
3686
|
+
contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
|
|
3687
3687
|
}
|
|
3688
3688
|
if (data.Description !== undefined && data.Description !== null) {
|
|
3689
|
-
contents.Description =
|
|
3689
|
+
contents.Description = smithy_client_1.expectString(data.Description);
|
|
3690
3690
|
}
|
|
3691
3691
|
if (data.Id !== undefined && data.Id !== null) {
|
|
3692
|
-
contents.Id =
|
|
3692
|
+
contents.Id = smithy_client_1.expectString(data.Id);
|
|
3693
3693
|
}
|
|
3694
3694
|
if (data.Monitors !== undefined && data.Monitors !== null) {
|
|
3695
3695
|
contents.Monitors = deserializeAws_restJson1MonitorList(data.Monitors, context);
|
|
3696
3696
|
}
|
|
3697
3697
|
if (data.Name !== undefined && data.Name !== null) {
|
|
3698
|
-
contents.Name =
|
|
3698
|
+
contents.Name = smithy_client_1.expectString(data.Name);
|
|
3699
3699
|
}
|
|
3700
3700
|
if (data.State !== undefined && data.State !== null) {
|
|
3701
|
-
contents.State =
|
|
3701
|
+
contents.State = smithy_client_1.expectString(data.State);
|
|
3702
3702
|
}
|
|
3703
3703
|
return Promise.resolve(contents);
|
|
3704
3704
|
};
|
|
@@ -3821,7 +3821,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
|
|
|
3821
3821
|
};
|
|
3822
3822
|
const data = parsedOutput.body;
|
|
3823
3823
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3824
|
-
contents.Message =
|
|
3824
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3825
3825
|
}
|
|
3826
3826
|
return contents;
|
|
3827
3827
|
};
|
|
@@ -3834,7 +3834,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
3834
3834
|
};
|
|
3835
3835
|
const data = parsedOutput.body;
|
|
3836
3836
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3837
|
-
contents.Message =
|
|
3837
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3838
3838
|
}
|
|
3839
3839
|
return contents;
|
|
3840
3840
|
};
|
|
@@ -3847,7 +3847,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
|
|
|
3847
3847
|
};
|
|
3848
3848
|
const data = parsedOutput.body;
|
|
3849
3849
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3850
|
-
contents.Message =
|
|
3850
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3851
3851
|
}
|
|
3852
3852
|
return contents;
|
|
3853
3853
|
};
|
|
@@ -3863,16 +3863,16 @@ const deserializeAws_restJson1PayloadTooLargeExceptionResponse = async (parsedOu
|
|
|
3863
3863
|
};
|
|
3864
3864
|
const data = parsedOutput.body;
|
|
3865
3865
|
if (data.Limit !== undefined && data.Limit !== null) {
|
|
3866
|
-
contents.Limit =
|
|
3866
|
+
contents.Limit = smithy_client_1.limitedParseFloat32(data.Limit);
|
|
3867
3867
|
}
|
|
3868
3868
|
if (data.Measure !== undefined && data.Measure !== null) {
|
|
3869
|
-
contents.Measure =
|
|
3869
|
+
contents.Measure = smithy_client_1.expectString(data.Measure);
|
|
3870
3870
|
}
|
|
3871
3871
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3872
|
-
contents.Message =
|
|
3872
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3873
3873
|
}
|
|
3874
3874
|
if (data.Size !== undefined && data.Size !== null) {
|
|
3875
|
-
contents.Size =
|
|
3875
|
+
contents.Size = smithy_client_1.limitedParseFloat32(data.Size);
|
|
3876
3876
|
}
|
|
3877
3877
|
return contents;
|
|
3878
3878
|
};
|
|
@@ -3886,10 +3886,10 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
3886
3886
|
};
|
|
3887
3887
|
const data = parsedOutput.body;
|
|
3888
3888
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3889
|
-
contents.Message =
|
|
3889
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3890
3890
|
}
|
|
3891
3891
|
if (data.ResourceName !== undefined && data.ResourceName !== null) {
|
|
3892
|
-
contents.ResourceName =
|
|
3892
|
+
contents.ResourceName = smithy_client_1.expectString(data.ResourceName);
|
|
3893
3893
|
}
|
|
3894
3894
|
return contents;
|
|
3895
3895
|
};
|
|
@@ -3902,7 +3902,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
|
|
|
3902
3902
|
};
|
|
3903
3903
|
const data = parsedOutput.body;
|
|
3904
3904
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3905
|
-
contents.Message =
|
|
3905
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3906
3906
|
}
|
|
3907
3907
|
return contents;
|
|
3908
3908
|
};
|
|
@@ -3951,9 +3951,9 @@ const serializeAws_restJson1ValidatorList = (input, context) => {
|
|
|
3951
3951
|
};
|
|
3952
3952
|
const deserializeAws_restJson1Application = (output, context) => {
|
|
3953
3953
|
return {
|
|
3954
|
-
Description:
|
|
3955
|
-
Id:
|
|
3956
|
-
Name:
|
|
3954
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
3955
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
3956
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
3957
3957
|
};
|
|
3958
3958
|
};
|
|
3959
3959
|
const deserializeAws_restJson1ApplicationList = (output, context) => {
|
|
@@ -3968,10 +3968,10 @@ const deserializeAws_restJson1ApplicationList = (output, context) => {
|
|
|
3968
3968
|
};
|
|
3969
3969
|
const deserializeAws_restJson1ConfigurationProfileSummary = (output, context) => {
|
|
3970
3970
|
return {
|
|
3971
|
-
ApplicationId:
|
|
3972
|
-
Id:
|
|
3973
|
-
LocationUri:
|
|
3974
|
-
Name:
|
|
3971
|
+
ApplicationId: smithy_client_1.expectString(output.ApplicationId),
|
|
3972
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
3973
|
+
LocationUri: smithy_client_1.expectString(output.LocationUri),
|
|
3974
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
3975
3975
|
ValidatorTypes: output.ValidatorTypes !== undefined && output.ValidatorTypes !== null
|
|
3976
3976
|
? deserializeAws_restJson1ValidatorTypeList(output.ValidatorTypes, context)
|
|
3977
3977
|
: undefined,
|
|
@@ -3989,12 +3989,12 @@ const deserializeAws_restJson1ConfigurationProfileSummaryList = (output, context
|
|
|
3989
3989
|
};
|
|
3990
3990
|
const deserializeAws_restJson1DeploymentEvent = (output, context) => {
|
|
3991
3991
|
return {
|
|
3992
|
-
Description:
|
|
3993
|
-
EventType:
|
|
3992
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
3993
|
+
EventType: smithy_client_1.expectString(output.EventType),
|
|
3994
3994
|
OccurredAt: output.OccurredAt !== undefined && output.OccurredAt !== null
|
|
3995
|
-
?
|
|
3995
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.OccurredAt))
|
|
3996
3996
|
: undefined,
|
|
3997
|
-
TriggeredBy:
|
|
3997
|
+
TriggeredBy: smithy_client_1.expectString(output.TriggeredBy),
|
|
3998
3998
|
};
|
|
3999
3999
|
};
|
|
4000
4000
|
const deserializeAws_restJson1DeploymentEvents = (output, context) => {
|
|
@@ -4019,14 +4019,14 @@ const deserializeAws_restJson1DeploymentList = (output, context) => {
|
|
|
4019
4019
|
};
|
|
4020
4020
|
const deserializeAws_restJson1DeploymentStrategy = (output, context) => {
|
|
4021
4021
|
return {
|
|
4022
|
-
DeploymentDurationInMinutes:
|
|
4023
|
-
Description:
|
|
4024
|
-
FinalBakeTimeInMinutes:
|
|
4025
|
-
GrowthFactor:
|
|
4026
|
-
GrowthType:
|
|
4027
|
-
Id:
|
|
4028
|
-
Name:
|
|
4029
|
-
ReplicateTo:
|
|
4022
|
+
DeploymentDurationInMinutes: smithy_client_1.expectInt32(output.DeploymentDurationInMinutes),
|
|
4023
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
4024
|
+
FinalBakeTimeInMinutes: smithy_client_1.expectInt32(output.FinalBakeTimeInMinutes),
|
|
4025
|
+
GrowthFactor: smithy_client_1.limitedParseFloat32(output.GrowthFactor),
|
|
4026
|
+
GrowthType: smithy_client_1.expectString(output.GrowthType),
|
|
4027
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
4028
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
4029
|
+
ReplicateTo: smithy_client_1.expectString(output.ReplicateTo),
|
|
4030
4030
|
};
|
|
4031
4031
|
};
|
|
4032
4032
|
const deserializeAws_restJson1DeploymentStrategyList = (output, context) => {
|
|
@@ -4042,32 +4042,32 @@ const deserializeAws_restJson1DeploymentStrategyList = (output, context) => {
|
|
|
4042
4042
|
const deserializeAws_restJson1DeploymentSummary = (output, context) => {
|
|
4043
4043
|
return {
|
|
4044
4044
|
CompletedAt: output.CompletedAt !== undefined && output.CompletedAt !== null
|
|
4045
|
-
?
|
|
4045
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CompletedAt))
|
|
4046
4046
|
: undefined,
|
|
4047
|
-
ConfigurationName:
|
|
4048
|
-
ConfigurationVersion:
|
|
4049
|
-
DeploymentDurationInMinutes:
|
|
4050
|
-
DeploymentNumber:
|
|
4051
|
-
FinalBakeTimeInMinutes:
|
|
4052
|
-
GrowthFactor:
|
|
4053
|
-
GrowthType:
|
|
4054
|
-
PercentageComplete:
|
|
4047
|
+
ConfigurationName: smithy_client_1.expectString(output.ConfigurationName),
|
|
4048
|
+
ConfigurationVersion: smithy_client_1.expectString(output.ConfigurationVersion),
|
|
4049
|
+
DeploymentDurationInMinutes: smithy_client_1.expectInt32(output.DeploymentDurationInMinutes),
|
|
4050
|
+
DeploymentNumber: smithy_client_1.expectInt32(output.DeploymentNumber),
|
|
4051
|
+
FinalBakeTimeInMinutes: smithy_client_1.expectInt32(output.FinalBakeTimeInMinutes),
|
|
4052
|
+
GrowthFactor: smithy_client_1.limitedParseFloat32(output.GrowthFactor),
|
|
4053
|
+
GrowthType: smithy_client_1.expectString(output.GrowthType),
|
|
4054
|
+
PercentageComplete: smithy_client_1.limitedParseFloat32(output.PercentageComplete),
|
|
4055
4055
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
4056
|
-
?
|
|
4056
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.StartedAt))
|
|
4057
4057
|
: undefined,
|
|
4058
|
-
State:
|
|
4058
|
+
State: smithy_client_1.expectString(output.State),
|
|
4059
4059
|
};
|
|
4060
4060
|
};
|
|
4061
4061
|
const deserializeAws_restJson1Environment = (output, context) => {
|
|
4062
4062
|
return {
|
|
4063
|
-
ApplicationId:
|
|
4064
|
-
Description:
|
|
4065
|
-
Id:
|
|
4063
|
+
ApplicationId: smithy_client_1.expectString(output.ApplicationId),
|
|
4064
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
4065
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
4066
4066
|
Monitors: output.Monitors !== undefined && output.Monitors !== null
|
|
4067
4067
|
? deserializeAws_restJson1MonitorList(output.Monitors, context)
|
|
4068
4068
|
: undefined,
|
|
4069
|
-
Name:
|
|
4070
|
-
State:
|
|
4069
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
4070
|
+
State: smithy_client_1.expectString(output.State),
|
|
4071
4071
|
};
|
|
4072
4072
|
};
|
|
4073
4073
|
const deserializeAws_restJson1EnvironmentList = (output, context) => {
|
|
@@ -4082,11 +4082,11 @@ const deserializeAws_restJson1EnvironmentList = (output, context) => {
|
|
|
4082
4082
|
};
|
|
4083
4083
|
const deserializeAws_restJson1HostedConfigurationVersionSummary = (output, context) => {
|
|
4084
4084
|
return {
|
|
4085
|
-
ApplicationId:
|
|
4086
|
-
ConfigurationProfileId:
|
|
4087
|
-
ContentType:
|
|
4088
|
-
Description:
|
|
4089
|
-
VersionNumber:
|
|
4085
|
+
ApplicationId: smithy_client_1.expectString(output.ApplicationId),
|
|
4086
|
+
ConfigurationProfileId: smithy_client_1.expectString(output.ConfigurationProfileId),
|
|
4087
|
+
ContentType: smithy_client_1.expectString(output.ContentType),
|
|
4088
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
4089
|
+
VersionNumber: smithy_client_1.expectInt32(output.VersionNumber),
|
|
4090
4090
|
};
|
|
4091
4091
|
};
|
|
4092
4092
|
const deserializeAws_restJson1HostedConfigurationVersionSummaryList = (output, context) => {
|
|
@@ -4101,8 +4101,8 @@ const deserializeAws_restJson1HostedConfigurationVersionSummaryList = (output, c
|
|
|
4101
4101
|
};
|
|
4102
4102
|
const deserializeAws_restJson1Monitor = (output, context) => {
|
|
4103
4103
|
return {
|
|
4104
|
-
AlarmArn:
|
|
4105
|
-
AlarmRoleArn:
|
|
4104
|
+
AlarmArn: smithy_client_1.expectString(output.AlarmArn),
|
|
4105
|
+
AlarmRoleArn: smithy_client_1.expectString(output.AlarmRoleArn),
|
|
4106
4106
|
};
|
|
4107
4107
|
};
|
|
4108
4108
|
const deserializeAws_restJson1MonitorList = (output, context) => {
|
|
@@ -4122,14 +4122,14 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
4122
4122
|
}
|
|
4123
4123
|
return {
|
|
4124
4124
|
...acc,
|
|
4125
|
-
[key]:
|
|
4125
|
+
[key]: smithy_client_1.expectString(value),
|
|
4126
4126
|
};
|
|
4127
4127
|
}, {});
|
|
4128
4128
|
};
|
|
4129
4129
|
const deserializeAws_restJson1Validator = (output, context) => {
|
|
4130
4130
|
return {
|
|
4131
|
-
Content:
|
|
4132
|
-
Type:
|
|
4131
|
+
Content: smithy_client_1.expectString(output.Content),
|
|
4132
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
4133
4133
|
};
|
|
4134
4134
|
};
|
|
4135
4135
|
const deserializeAws_restJson1ValidatorList = (output, context) => {
|
|
@@ -4149,7 +4149,7 @@ const deserializeAws_restJson1ValidatorTypeList = (output, context) => {
|
|
|
4149
4149
|
if (entry === null) {
|
|
4150
4150
|
return null;
|
|
4151
4151
|
}
|
|
4152
|
-
return
|
|
4152
|
+
return smithy_client_1.expectString(entry);
|
|
4153
4153
|
});
|
|
4154
4154
|
};
|
|
4155
4155
|
const deserializeMetadata = (output) => {
|