@aws-sdk/client-mediatailor 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 +40 -0
- package/README.md +7 -7
- package/{dist/cjs → dist-cjs}/MediaTailor.js +16 -1
- package/dist-cjs/MediaTailor.js.map +1 -0
- package/{dist/cjs → dist-cjs}/MediaTailorClient.js +14 -14
- package/dist-cjs/MediaTailorClient.js.map +1 -0
- package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js +61 -0
- package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateChannelCommand.js +5 -5
- package/dist-cjs/commands/CreateChannelCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateProgramCommand.js +5 -5
- package/dist-cjs/commands/CreateProgramCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateSourceLocationCommand.js +5 -5
- package/dist-cjs/commands/CreateSourceLocationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateVodSourceCommand.js +5 -5
- package/dist-cjs/commands/CreateVodSourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteChannelCommand.js +5 -5
- package/dist-cjs/commands/DeleteChannelCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteChannelPolicyCommand.js +5 -5
- package/dist-cjs/commands/DeleteChannelPolicyCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeletePlaybackConfigurationCommand.js +5 -5
- package/dist-cjs/commands/DeletePlaybackConfigurationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteProgramCommand.js +5 -5
- package/dist-cjs/commands/DeleteProgramCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteSourceLocationCommand.js +5 -5
- package/dist-cjs/commands/DeleteSourceLocationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteVodSourceCommand.js +5 -5
- package/dist-cjs/commands/DeleteVodSourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeChannelCommand.js +5 -5
- package/dist-cjs/commands/DescribeChannelCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeProgramCommand.js +5 -5
- package/dist-cjs/commands/DescribeProgramCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeSourceLocationCommand.js +5 -5
- package/dist-cjs/commands/DescribeSourceLocationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeVodSourceCommand.js +5 -5
- package/dist-cjs/commands/DescribeVodSourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetChannelPolicyCommand.js +5 -5
- package/dist-cjs/commands/GetChannelPolicyCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetChannelScheduleCommand.js +5 -5
- package/dist-cjs/commands/GetChannelScheduleCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetPlaybackConfigurationCommand.js +5 -5
- package/dist-cjs/commands/GetPlaybackConfigurationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListAlertsCommand.js +5 -5
- package/dist-cjs/commands/ListAlertsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListChannelsCommand.js +5 -5
- package/dist-cjs/commands/ListChannelsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListPlaybackConfigurationsCommand.js +5 -5
- package/dist-cjs/commands/ListPlaybackConfigurationsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListSourceLocationsCommand.js +5 -5
- package/dist-cjs/commands/ListSourceLocationsCommand.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/ListVodSourcesCommand.js +5 -5
- package/dist-cjs/commands/ListVodSourcesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/PutChannelPolicyCommand.js +5 -5
- package/dist-cjs/commands/PutChannelPolicyCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/PutPlaybackConfigurationCommand.js +5 -5
- package/dist-cjs/commands/PutPlaybackConfigurationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/StartChannelCommand.js +5 -5
- package/dist-cjs/commands/StartChannelCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/StopChannelCommand.js +5 -5
- package/dist-cjs/commands/StopChannelCommand.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/UpdateChannelCommand.js +5 -5
- package/dist-cjs/commands/UpdateChannelCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateSourceLocationCommand.js +5 -5
- package/dist-cjs/commands/UpdateSourceLocationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateVodSourceCommand.js +5 -5
- package/dist-cjs/commands/UpdateVodSourceCommand.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 +30 -3
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/GetChannelSchedulePaginator.js +1 -1
- package/dist-cjs/pagination/GetChannelSchedulePaginator.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/ListAlertsPaginator.js +1 -1
- package/dist-cjs/pagination/ListAlertsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListChannelsPaginator.js +1 -1
- package/dist-cjs/pagination/ListChannelsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListPlaybackConfigurationsPaginator.js +1 -1
- package/dist-cjs/pagination/ListPlaybackConfigurationsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListSourceLocationsPaginator.js +1 -1
- package/dist-cjs/pagination/ListSourceLocationsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListVodSourcesPaginator.js +1 -1
- package/dist-cjs/pagination/ListVodSourcesPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +311 -227
- 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}/MediaTailor.js +17 -5
- package/dist-es/MediaTailor.js.map +1 -0
- package/{dist/es → dist-es}/MediaTailorClient.js +2 -10
- package/dist-es/MediaTailorClient.js.map +1 -0
- package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js +40 -0
- package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateChannelCommand.js +4 -29
- package/dist-es/commands/CreateChannelCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateProgramCommand.js +4 -29
- package/dist-es/commands/CreateProgramCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateSourceLocationCommand.js +4 -29
- package/dist-es/commands/CreateSourceLocationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateVodSourceCommand.js +4 -29
- package/dist-es/commands/CreateVodSourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteChannelCommand.js +4 -29
- package/dist-es/commands/DeleteChannelCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteChannelPolicyCommand.js +4 -29
- package/dist-es/commands/DeleteChannelPolicyCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeletePlaybackConfigurationCommand.js +4 -29
- package/dist-es/commands/DeletePlaybackConfigurationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteProgramCommand.js +4 -29
- package/dist-es/commands/DeleteProgramCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteSourceLocationCommand.js +4 -29
- package/dist-es/commands/DeleteSourceLocationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteVodSourceCommand.js +4 -29
- package/dist-es/commands/DeleteVodSourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeChannelCommand.js +4 -29
- package/dist-es/commands/DescribeChannelCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeProgramCommand.js +4 -29
- package/dist-es/commands/DescribeProgramCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeSourceLocationCommand.js +4 -29
- package/dist-es/commands/DescribeSourceLocationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeVodSourceCommand.js +4 -29
- package/dist-es/commands/DescribeVodSourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetChannelPolicyCommand.js +4 -29
- package/dist-es/commands/GetChannelPolicyCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetChannelScheduleCommand.js +4 -29
- package/dist-es/commands/GetChannelScheduleCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetPlaybackConfigurationCommand.js +4 -29
- package/dist-es/commands/GetPlaybackConfigurationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListAlertsCommand.js +4 -29
- package/dist-es/commands/ListAlertsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListChannelsCommand.js +4 -29
- package/dist-es/commands/ListChannelsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListPlaybackConfigurationsCommand.js +4 -29
- package/dist-es/commands/ListPlaybackConfigurationsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListSourceLocationsCommand.js +4 -29
- package/dist-es/commands/ListSourceLocationsCommand.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/ListVodSourcesCommand.js +4 -29
- package/dist-es/commands/ListVodSourcesCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/PutChannelPolicyCommand.js +4 -29
- package/dist-es/commands/PutChannelPolicyCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/PutPlaybackConfigurationCommand.js +4 -29
- package/dist-es/commands/PutPlaybackConfigurationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/StartChannelCommand.js +4 -29
- package/dist-es/commands/StartChannelCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/StopChannelCommand.js +4 -29
- package/dist-es/commands/StopChannelCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -29
- 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/UpdateChannelCommand.js +4 -29
- package/dist-es/commands/UpdateChannelCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateSourceLocationCommand.js +4 -29
- package/dist-es/commands/UpdateSourceLocationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateVodSourceCommand.js +4 -29
- package/dist-es/commands/UpdateVodSourceCommand.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 +1 -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 +12 -279
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/pagination/GetChannelSchedulePaginator.js +17 -29
- package/dist-es/pagination/GetChannelSchedulePaginator.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/ListAlertsPaginator.js +17 -29
- package/dist-es/pagination/ListAlertsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListChannelsPaginator.js +17 -29
- package/dist-es/pagination/ListChannelsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListPlaybackConfigurationsPaginator.js +17 -29
- package/dist-es/pagination/ListPlaybackConfigurationsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListSourceLocationsPaginator.js +17 -29
- package/dist-es/pagination/ListSourceLocationsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListVodSourcesPaginator.js +17 -29
- package/dist-es/pagination/ListVodSourcesPaginator.js.map +1 -0
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +336 -245
- 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}/MediaTailor.d.ts +9 -2
- package/{dist/types/ts3.4 → dist-types}/MediaTailorClient.d.ts +165 -164
- package/dist-types/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +35 -0
- package/{dist/types → dist-types}/commands/CreateChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateProgramCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateSourceLocationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateVodSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteChannelPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeletePlaybackConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteProgramCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteSourceLocationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteVodSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeProgramCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeSourceLocationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeVodSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetChannelPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetChannelScheduleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetPlaybackConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAlertsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListChannelsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListPlaybackConfigurationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListSourceLocationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListVodSourcesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutChannelPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutPlaybackConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StopChannelCommand.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/UpdateChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateSourceLocationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateVodSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{dist/types/ts3.4 → dist-types}/index.d.ts +43 -42
- package/{dist/types → dist-types}/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +63 -1
- package/{dist/types → dist-types}/pagination/GetChannelSchedulePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAlertsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListChannelsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPlaybackConfigurationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListSourceLocationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListVodSourcesPaginator.d.ts +1 -1
- package/{dist/types/ts3.4 → dist-types}/protocols/Aws_restJson1.d.ts +101 -98
- 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/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/MediaTailor.d.ts +9 -2
- package/{dist/types → dist-types/ts3.4}/MediaTailorClient.d.ts +165 -164
- package/dist-types/ts3.4/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +35 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateProgramCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateSourceLocationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateVodSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteChannelPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeletePlaybackConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteProgramCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteSourceLocationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteVodSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeProgramCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeSourceLocationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeVodSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetChannelPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetChannelScheduleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetPlaybackConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListAlertsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListChannelsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListPlaybackConfigurationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListSourceLocationsCommand.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/ListVodSourcesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PutChannelPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PutPlaybackConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/StartChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/StopChannelCommand.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/UpdateChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateSourceLocationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateVodSourceCommand.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 +43 -42
- 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 +63 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetChannelSchedulePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAlertsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListChannelsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPlaybackConfigurationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListSourceLocationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListVodSourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types/ts3.4}/protocols/Aws_restJson1.d.ts +101 -98
- 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 +36 -35
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +50 -50
- package/{MediaTailor.ts → src/MediaTailor.ts} +42 -2
- package/{MediaTailorClient.ts → src/MediaTailorClient.ts} +64 -57
- package/src/commands/ConfigureLogsForPlaybackConfigurationCommand.ts +107 -0
- package/{commands → src/commands}/CreateChannelCommand.ts +8 -7
- package/{commands → src/commands}/CreateProgramCommand.ts +8 -7
- package/{commands → src/commands}/CreateSourceLocationCommand.ts +8 -7
- package/{commands → src/commands}/CreateVodSourceCommand.ts +8 -7
- package/{commands → src/commands}/DeleteChannelCommand.ts +8 -7
- package/{commands → src/commands}/DeleteChannelPolicyCommand.ts +8 -7
- package/{commands → src/commands}/DeletePlaybackConfigurationCommand.ts +8 -7
- package/{commands → src/commands}/DeleteProgramCommand.ts +8 -7
- package/{commands → src/commands}/DeleteSourceLocationCommand.ts +8 -7
- package/{commands → src/commands}/DeleteVodSourceCommand.ts +8 -7
- package/{commands → src/commands}/DescribeChannelCommand.ts +8 -7
- package/{commands → src/commands}/DescribeProgramCommand.ts +8 -7
- package/{commands → src/commands}/DescribeSourceLocationCommand.ts +8 -7
- package/{commands → src/commands}/DescribeVodSourceCommand.ts +8 -7
- package/{commands → src/commands}/GetChannelPolicyCommand.ts +8 -7
- package/{commands → src/commands}/GetChannelScheduleCommand.ts +8 -7
- package/{commands → src/commands}/GetPlaybackConfigurationCommand.ts +8 -7
- package/{commands → src/commands}/ListAlertsCommand.ts +8 -7
- package/{commands → src/commands}/ListChannelsCommand.ts +8 -7
- package/{commands → src/commands}/ListPlaybackConfigurationsCommand.ts +8 -7
- package/{commands → src/commands}/ListSourceLocationsCommand.ts +8 -7
- package/{commands → src/commands}/ListTagsForResourceCommand.ts +8 -7
- package/{commands → src/commands}/ListVodSourcesCommand.ts +8 -7
- package/{commands → src/commands}/PutChannelPolicyCommand.ts +8 -7
- package/{commands → src/commands}/PutPlaybackConfigurationCommand.ts +8 -7
- package/{commands → src/commands}/StartChannelCommand.ts +8 -7
- package/{commands → src/commands}/StopChannelCommand.ts +8 -7
- package/{commands → src/commands}/TagResourceCommand.ts +8 -7
- package/{commands → src/commands}/UntagResourceCommand.ts +8 -7
- package/{commands → src/commands}/UpdateChannelCommand.ts +8 -7
- package/{commands → src/commands}/UpdateSourceLocationCommand.ts +8 -7
- package/{commands → src/commands}/UpdateVodSourceCommand.ts +8 -7
- package/{endpoints.ts → src/endpoints.ts} +1 -1
- package/{index.ts → src/index.ts} +1 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +80 -1
- package/{pagination → src/pagination}/GetChannelSchedulePaginator.ts +4 -3
- package/{pagination → src/pagination}/Interfaces.ts +2 -1
- package/{pagination → src/pagination}/ListAlertsPaginator.ts +3 -2
- package/{pagination → src/pagination}/ListChannelsPaginator.ts +4 -3
- package/{pagination → src/pagination}/ListPlaybackConfigurationsPaginator.ts +4 -3
- package/{pagination → src/pagination}/ListSourceLocationsPaginator.ts +4 -3
- package/{pagination → src/pagination}/ListVodSourcesPaginator.ts +4 -3
- package/{protocols → src/protocols}/Aws_restJson1.ts +160 -56
- 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/MediaTailor.js.map +0 -1
- package/dist/cjs/MediaTailorClient.js.map +0 -1
- package/dist/cjs/commands/CreateChannelCommand.js.map +0 -1
- package/dist/cjs/commands/CreateProgramCommand.js.map +0 -1
- package/dist/cjs/commands/CreateSourceLocationCommand.js.map +0 -1
- package/dist/cjs/commands/CreateVodSourceCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteChannelCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteChannelPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeletePlaybackConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteProgramCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteSourceLocationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteVodSourceCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeChannelCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeProgramCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeSourceLocationCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeVodSourceCommand.js.map +0 -1
- package/dist/cjs/commands/GetChannelPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetChannelScheduleCommand.js.map +0 -1
- package/dist/cjs/commands/GetPlaybackConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/ListAlertsCommand.js.map +0 -1
- package/dist/cjs/commands/ListChannelsCommand.js.map +0 -1
- package/dist/cjs/commands/ListPlaybackConfigurationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListSourceLocationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListVodSourcesCommand.js.map +0 -1
- package/dist/cjs/commands/PutChannelPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/PutPlaybackConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/StartChannelCommand.js.map +0 -1
- package/dist/cjs/commands/StopChannelCommand.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/UpdateChannelCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateSourceLocationCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateVodSourceCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js +0 -46
- 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/GetChannelSchedulePaginator.js.map +0 -1
- package/dist/cjs/pagination/ListAlertsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListChannelsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListPlaybackConfigurationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListSourceLocationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListVodSourcesPaginator.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/MediaTailor.js.map +0 -1
- package/dist/es/MediaTailorClient.js.map +0 -1
- package/dist/es/commands/CreateChannelCommand.js.map +0 -1
- package/dist/es/commands/CreateProgramCommand.js.map +0 -1
- package/dist/es/commands/CreateSourceLocationCommand.js.map +0 -1
- package/dist/es/commands/CreateVodSourceCommand.js.map +0 -1
- package/dist/es/commands/DeleteChannelCommand.js.map +0 -1
- package/dist/es/commands/DeleteChannelPolicyCommand.js.map +0 -1
- package/dist/es/commands/DeletePlaybackConfigurationCommand.js.map +0 -1
- package/dist/es/commands/DeleteProgramCommand.js.map +0 -1
- package/dist/es/commands/DeleteSourceLocationCommand.js.map +0 -1
- package/dist/es/commands/DeleteVodSourceCommand.js.map +0 -1
- package/dist/es/commands/DescribeChannelCommand.js.map +0 -1
- package/dist/es/commands/DescribeProgramCommand.js.map +0 -1
- package/dist/es/commands/DescribeSourceLocationCommand.js.map +0 -1
- package/dist/es/commands/DescribeVodSourceCommand.js.map +0 -1
- package/dist/es/commands/GetChannelPolicyCommand.js.map +0 -1
- package/dist/es/commands/GetChannelScheduleCommand.js.map +0 -1
- package/dist/es/commands/GetPlaybackConfigurationCommand.js.map +0 -1
- package/dist/es/commands/ListAlertsCommand.js.map +0 -1
- package/dist/es/commands/ListChannelsCommand.js.map +0 -1
- package/dist/es/commands/ListPlaybackConfigurationsCommand.js.map +0 -1
- package/dist/es/commands/ListSourceLocationsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListVodSourcesCommand.js.map +0 -1
- package/dist/es/commands/PutChannelPolicyCommand.js.map +0 -1
- package/dist/es/commands/PutPlaybackConfigurationCommand.js.map +0 -1
- package/dist/es/commands/StartChannelCommand.js.map +0 -1
- package/dist/es/commands/StopChannelCommand.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/UpdateChannelCommand.js.map +0 -1
- package/dist/es/commands/UpdateSourceLocationCommand.js.map +0 -1
- package/dist/es/commands/UpdateVodSourceCommand.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/GetChannelSchedulePaginator.js.map +0 -1
- package/dist/es/pagination/ListAlertsPaginator.js.map +0 -1
- package/dist/es/pagination/ListChannelsPaginator.js.map +0 -1
- package/dist/es/pagination/ListPlaybackConfigurationsPaginator.js.map +0 -1
- package/dist/es/pagination/ListSourceLocationsPaginator.js.map +0 -1
- package/dist/es/pagination/ListVodSourcesPaginator.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
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import {
|
|
3
|
+
expectBoolean as __expectBoolean,
|
|
4
|
+
expectInt32 as __expectInt32,
|
|
5
|
+
expectLong as __expectLong,
|
|
6
|
+
expectNonNull as __expectNonNull,
|
|
7
|
+
expectNumber as __expectNumber,
|
|
8
|
+
expectObject as __expectObject,
|
|
9
|
+
expectString as __expectString,
|
|
10
|
+
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
11
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
12
|
+
} from "@aws-sdk/smithy-client";
|
|
13
|
+
import {
|
|
14
|
+
Endpoint as __Endpoint,
|
|
15
|
+
MetadataBearer as __MetadataBearer,
|
|
16
|
+
ResponseMetadata as __ResponseMetadata,
|
|
17
|
+
SerdeContext as __SerdeContext,
|
|
18
|
+
SmithyException as __SmithyException,
|
|
19
|
+
} from "@aws-sdk/types";
|
|
20
|
+
|
|
21
|
+
import {
|
|
22
|
+
ConfigureLogsForPlaybackConfigurationCommandInput,
|
|
23
|
+
ConfigureLogsForPlaybackConfigurationCommandOutput,
|
|
24
|
+
} from "../commands/ConfigureLogsForPlaybackConfigurationCommand";
|
|
1
25
|
import { CreateChannelCommandInput, CreateChannelCommandOutput } from "../commands/CreateChannelCommand";
|
|
2
26
|
import { CreateProgramCommandInput, CreateProgramCommandOutput } from "../commands/CreateProgramCommand";
|
|
3
27
|
import {
|
|
@@ -82,6 +106,7 @@ import {
|
|
|
82
106
|
HttpConfiguration,
|
|
83
107
|
HttpPackageConfiguration,
|
|
84
108
|
LivePreRollConfiguration,
|
|
109
|
+
LogConfiguration,
|
|
85
110
|
ManifestProcessingRules,
|
|
86
111
|
PlaybackConfiguration,
|
|
87
112
|
RequestOutputItem,
|
|
@@ -96,25 +121,34 @@ import {
|
|
|
96
121
|
Transition,
|
|
97
122
|
VodSource,
|
|
98
123
|
} from "../models/models_0";
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
124
|
+
|
|
125
|
+
export const serializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand = async (
|
|
126
|
+
input: ConfigureLogsForPlaybackConfigurationCommandInput,
|
|
127
|
+
context: __SerdeContext
|
|
128
|
+
): Promise<__HttpRequest> => {
|
|
129
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
130
|
+
const headers: any = {
|
|
131
|
+
"content-type": "application/json",
|
|
132
|
+
};
|
|
133
|
+
const resolvedPath =
|
|
134
|
+
`${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configureLogs/playbackConfiguration";
|
|
135
|
+
let body: any;
|
|
136
|
+
body = JSON.stringify({
|
|
137
|
+
...(input.PercentEnabled !== undefined &&
|
|
138
|
+
input.PercentEnabled !== null && { PercentEnabled: input.PercentEnabled }),
|
|
139
|
+
...(input.PlaybackConfigurationName !== undefined &&
|
|
140
|
+
input.PlaybackConfigurationName !== null && { PlaybackConfigurationName: input.PlaybackConfigurationName }),
|
|
141
|
+
});
|
|
142
|
+
return new __HttpRequest({
|
|
143
|
+
protocol,
|
|
144
|
+
hostname,
|
|
145
|
+
port,
|
|
146
|
+
method: "PUT",
|
|
147
|
+
headers,
|
|
148
|
+
path: resolvedPath,
|
|
149
|
+
body,
|
|
150
|
+
});
|
|
151
|
+
};
|
|
118
152
|
|
|
119
153
|
export const serializeAws_restJson1CreateChannelCommand = async (
|
|
120
154
|
input: CreateChannelCommandInput,
|
|
@@ -736,7 +770,7 @@ export const serializeAws_restJson1ListAlertsCommand = async (
|
|
|
736
770
|
): Promise<__HttpRequest> => {
|
|
737
771
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
738
772
|
const headers: any = {};
|
|
739
|
-
|
|
773
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/alerts";
|
|
740
774
|
const query: any = {
|
|
741
775
|
...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }),
|
|
742
776
|
...(input.NextToken !== undefined && { nextToken: input.NextToken }),
|
|
@@ -761,7 +795,7 @@ export const serializeAws_restJson1ListChannelsCommand = async (
|
|
|
761
795
|
): Promise<__HttpRequest> => {
|
|
762
796
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
763
797
|
const headers: any = {};
|
|
764
|
-
|
|
798
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
|
|
765
799
|
const query: any = {
|
|
766
800
|
...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }),
|
|
767
801
|
...(input.NextToken !== undefined && { nextToken: input.NextToken }),
|
|
@@ -785,7 +819,8 @@ export const serializeAws_restJson1ListPlaybackConfigurationsCommand = async (
|
|
|
785
819
|
): Promise<__HttpRequest> => {
|
|
786
820
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
787
821
|
const headers: any = {};
|
|
788
|
-
|
|
822
|
+
const resolvedPath =
|
|
823
|
+
`${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/playbackConfigurations";
|
|
789
824
|
const query: any = {
|
|
790
825
|
...(input.MaxResults !== undefined && { MaxResults: input.MaxResults.toString() }),
|
|
791
826
|
...(input.NextToken !== undefined && { NextToken: input.NextToken }),
|
|
@@ -809,7 +844,7 @@ export const serializeAws_restJson1ListSourceLocationsCommand = async (
|
|
|
809
844
|
): Promise<__HttpRequest> => {
|
|
810
845
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
811
846
|
const headers: any = {};
|
|
812
|
-
|
|
847
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sourceLocations";
|
|
813
848
|
const query: any = {
|
|
814
849
|
...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }),
|
|
815
850
|
...(input.NextToken !== undefined && { nextToken: input.NextToken }),
|
|
@@ -932,7 +967,7 @@ export const serializeAws_restJson1PutPlaybackConfigurationCommand = async (
|
|
|
932
967
|
const headers: any = {
|
|
933
968
|
"content-type": "application/json",
|
|
934
969
|
};
|
|
935
|
-
|
|
970
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/playbackConfiguration";
|
|
936
971
|
let body: any;
|
|
937
972
|
body = JSON.stringify({
|
|
938
973
|
...(input.AdDecisionServerUrl !== undefined &&
|
|
@@ -1246,6 +1281,57 @@ export const serializeAws_restJson1UpdateVodSourceCommand = async (
|
|
|
1246
1281
|
});
|
|
1247
1282
|
};
|
|
1248
1283
|
|
|
1284
|
+
export const deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand = async (
|
|
1285
|
+
output: __HttpResponse,
|
|
1286
|
+
context: __SerdeContext
|
|
1287
|
+
): Promise<ConfigureLogsForPlaybackConfigurationCommandOutput> => {
|
|
1288
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1289
|
+
return deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommandError(output, context);
|
|
1290
|
+
}
|
|
1291
|
+
const contents: ConfigureLogsForPlaybackConfigurationCommandOutput = {
|
|
1292
|
+
$metadata: deserializeMetadata(output),
|
|
1293
|
+
PercentEnabled: undefined,
|
|
1294
|
+
PlaybackConfigurationName: undefined,
|
|
1295
|
+
};
|
|
1296
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1297
|
+
if (data.PercentEnabled !== undefined && data.PercentEnabled !== null) {
|
|
1298
|
+
contents.PercentEnabled = __expectInt32(data.PercentEnabled);
|
|
1299
|
+
}
|
|
1300
|
+
if (data.PlaybackConfigurationName !== undefined && data.PlaybackConfigurationName !== null) {
|
|
1301
|
+
contents.PlaybackConfigurationName = __expectString(data.PlaybackConfigurationName);
|
|
1302
|
+
}
|
|
1303
|
+
return Promise.resolve(contents);
|
|
1304
|
+
};
|
|
1305
|
+
|
|
1306
|
+
const deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommandError = async (
|
|
1307
|
+
output: __HttpResponse,
|
|
1308
|
+
context: __SerdeContext
|
|
1309
|
+
): Promise<ConfigureLogsForPlaybackConfigurationCommandOutput> => {
|
|
1310
|
+
const parsedOutput: any = {
|
|
1311
|
+
...output,
|
|
1312
|
+
body: await parseBody(output.body, context),
|
|
1313
|
+
};
|
|
1314
|
+
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1315
|
+
let errorCode = "UnknownError";
|
|
1316
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1317
|
+
switch (errorCode) {
|
|
1318
|
+
default:
|
|
1319
|
+
const parsedBody = parsedOutput.body;
|
|
1320
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
1321
|
+
response = {
|
|
1322
|
+
...parsedBody,
|
|
1323
|
+
name: `${errorCode}`,
|
|
1324
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1325
|
+
$fault: "client",
|
|
1326
|
+
$metadata: deserializeMetadata(output),
|
|
1327
|
+
} as any;
|
|
1328
|
+
}
|
|
1329
|
+
const message = response.message || response.Message || errorCode;
|
|
1330
|
+
response.message = message;
|
|
1331
|
+
delete response.Message;
|
|
1332
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
1333
|
+
};
|
|
1334
|
+
|
|
1249
1335
|
export const deserializeAws_restJson1CreateChannelCommand = async (
|
|
1250
1336
|
output: __HttpResponse,
|
|
1251
1337
|
context: __SerdeContext
|
|
@@ -1305,7 +1391,7 @@ const deserializeAws_restJson1CreateChannelCommandError = async (
|
|
|
1305
1391
|
body: await parseBody(output.body, context),
|
|
1306
1392
|
};
|
|
1307
1393
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1308
|
-
let errorCode
|
|
1394
|
+
let errorCode = "UnknownError";
|
|
1309
1395
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1310
1396
|
switch (errorCode) {
|
|
1311
1397
|
default:
|
|
@@ -1380,7 +1466,7 @@ const deserializeAws_restJson1CreateProgramCommandError = async (
|
|
|
1380
1466
|
body: await parseBody(output.body, context),
|
|
1381
1467
|
};
|
|
1382
1468
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1383
|
-
let errorCode
|
|
1469
|
+
let errorCode = "UnknownError";
|
|
1384
1470
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1385
1471
|
switch (errorCode) {
|
|
1386
1472
|
default:
|
|
@@ -1458,7 +1544,7 @@ const deserializeAws_restJson1CreateSourceLocationCommandError = async (
|
|
|
1458
1544
|
body: await parseBody(output.body, context),
|
|
1459
1545
|
};
|
|
1460
1546
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1461
|
-
let errorCode
|
|
1547
|
+
let errorCode = "UnknownError";
|
|
1462
1548
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1463
1549
|
switch (errorCode) {
|
|
1464
1550
|
default:
|
|
@@ -1532,7 +1618,7 @@ const deserializeAws_restJson1CreateVodSourceCommandError = async (
|
|
|
1532
1618
|
body: await parseBody(output.body, context),
|
|
1533
1619
|
};
|
|
1534
1620
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1535
|
-
let errorCode
|
|
1621
|
+
let errorCode = "UnknownError";
|
|
1536
1622
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1537
1623
|
switch (errorCode) {
|
|
1538
1624
|
default:
|
|
@@ -1575,7 +1661,7 @@ const deserializeAws_restJson1DeleteChannelCommandError = async (
|
|
|
1575
1661
|
body: await parseBody(output.body, context),
|
|
1576
1662
|
};
|
|
1577
1663
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1578
|
-
let errorCode
|
|
1664
|
+
let errorCode = "UnknownError";
|
|
1579
1665
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1580
1666
|
switch (errorCode) {
|
|
1581
1667
|
default:
|
|
@@ -1618,7 +1704,7 @@ const deserializeAws_restJson1DeleteChannelPolicyCommandError = async (
|
|
|
1618
1704
|
body: await parseBody(output.body, context),
|
|
1619
1705
|
};
|
|
1620
1706
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1621
|
-
let errorCode
|
|
1707
|
+
let errorCode = "UnknownError";
|
|
1622
1708
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1623
1709
|
switch (errorCode) {
|
|
1624
1710
|
default:
|
|
@@ -1661,7 +1747,7 @@ const deserializeAws_restJson1DeletePlaybackConfigurationCommandError = async (
|
|
|
1661
1747
|
body: await parseBody(output.body, context),
|
|
1662
1748
|
};
|
|
1663
1749
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1664
|
-
let errorCode
|
|
1750
|
+
let errorCode = "UnknownError";
|
|
1665
1751
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1666
1752
|
switch (errorCode) {
|
|
1667
1753
|
default:
|
|
@@ -1704,7 +1790,7 @@ const deserializeAws_restJson1DeleteProgramCommandError = async (
|
|
|
1704
1790
|
body: await parseBody(output.body, context),
|
|
1705
1791
|
};
|
|
1706
1792
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1707
|
-
let errorCode
|
|
1793
|
+
let errorCode = "UnknownError";
|
|
1708
1794
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1709
1795
|
switch (errorCode) {
|
|
1710
1796
|
default:
|
|
@@ -1747,7 +1833,7 @@ const deserializeAws_restJson1DeleteSourceLocationCommandError = async (
|
|
|
1747
1833
|
body: await parseBody(output.body, context),
|
|
1748
1834
|
};
|
|
1749
1835
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1750
|
-
let errorCode
|
|
1836
|
+
let errorCode = "UnknownError";
|
|
1751
1837
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1752
1838
|
switch (errorCode) {
|
|
1753
1839
|
default:
|
|
@@ -1790,7 +1876,7 @@ const deserializeAws_restJson1DeleteVodSourceCommandError = async (
|
|
|
1790
1876
|
body: await parseBody(output.body, context),
|
|
1791
1877
|
};
|
|
1792
1878
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1793
|
-
let errorCode
|
|
1879
|
+
let errorCode = "UnknownError";
|
|
1794
1880
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1795
1881
|
switch (errorCode) {
|
|
1796
1882
|
default:
|
|
@@ -1869,7 +1955,7 @@ const deserializeAws_restJson1DescribeChannelCommandError = async (
|
|
|
1869
1955
|
body: await parseBody(output.body, context),
|
|
1870
1956
|
};
|
|
1871
1957
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1872
|
-
let errorCode
|
|
1958
|
+
let errorCode = "UnknownError";
|
|
1873
1959
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1874
1960
|
switch (errorCode) {
|
|
1875
1961
|
default:
|
|
@@ -1944,7 +2030,7 @@ const deserializeAws_restJson1DescribeProgramCommandError = async (
|
|
|
1944
2030
|
body: await parseBody(output.body, context),
|
|
1945
2031
|
};
|
|
1946
2032
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1947
|
-
let errorCode
|
|
2033
|
+
let errorCode = "UnknownError";
|
|
1948
2034
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1949
2035
|
switch (errorCode) {
|
|
1950
2036
|
default:
|
|
@@ -2022,7 +2108,7 @@ const deserializeAws_restJson1DescribeSourceLocationCommandError = async (
|
|
|
2022
2108
|
body: await parseBody(output.body, context),
|
|
2023
2109
|
};
|
|
2024
2110
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2025
|
-
let errorCode
|
|
2111
|
+
let errorCode = "UnknownError";
|
|
2026
2112
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2027
2113
|
switch (errorCode) {
|
|
2028
2114
|
default:
|
|
@@ -2096,7 +2182,7 @@ const deserializeAws_restJson1DescribeVodSourceCommandError = async (
|
|
|
2096
2182
|
body: await parseBody(output.body, context),
|
|
2097
2183
|
};
|
|
2098
2184
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2099
|
-
let errorCode
|
|
2185
|
+
let errorCode = "UnknownError";
|
|
2100
2186
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2101
2187
|
switch (errorCode) {
|
|
2102
2188
|
default:
|
|
@@ -2143,7 +2229,7 @@ const deserializeAws_restJson1GetChannelPolicyCommandError = async (
|
|
|
2143
2229
|
body: await parseBody(output.body, context),
|
|
2144
2230
|
};
|
|
2145
2231
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2146
|
-
let errorCode
|
|
2232
|
+
let errorCode = "UnknownError";
|
|
2147
2233
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2148
2234
|
switch (errorCode) {
|
|
2149
2235
|
default:
|
|
@@ -2194,7 +2280,7 @@ const deserializeAws_restJson1GetChannelScheduleCommandError = async (
|
|
|
2194
2280
|
body: await parseBody(output.body, context),
|
|
2195
2281
|
};
|
|
2196
2282
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2197
|
-
let errorCode
|
|
2283
|
+
let errorCode = "UnknownError";
|
|
2198
2284
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2199
2285
|
switch (errorCode) {
|
|
2200
2286
|
default:
|
|
@@ -2231,6 +2317,7 @@ export const deserializeAws_restJson1GetPlaybackConfigurationCommand = async (
|
|
|
2231
2317
|
DashConfiguration: undefined,
|
|
2232
2318
|
HlsConfiguration: undefined,
|
|
2233
2319
|
LivePreRollConfiguration: undefined,
|
|
2320
|
+
LogConfiguration: undefined,
|
|
2234
2321
|
ManifestProcessingRules: undefined,
|
|
2235
2322
|
Name: undefined,
|
|
2236
2323
|
PersonalizationThresholdSeconds: undefined,
|
|
@@ -2273,6 +2360,9 @@ export const deserializeAws_restJson1GetPlaybackConfigurationCommand = async (
|
|
|
2273
2360
|
context
|
|
2274
2361
|
);
|
|
2275
2362
|
}
|
|
2363
|
+
if (data.LogConfiguration !== undefined && data.LogConfiguration !== null) {
|
|
2364
|
+
contents.LogConfiguration = deserializeAws_restJson1LogConfiguration(data.LogConfiguration, context);
|
|
2365
|
+
}
|
|
2276
2366
|
if (data.ManifestProcessingRules !== undefined && data.ManifestProcessingRules !== null) {
|
|
2277
2367
|
contents.ManifestProcessingRules = deserializeAws_restJson1ManifestProcessingRules(
|
|
2278
2368
|
data.ManifestProcessingRules,
|
|
@@ -2318,7 +2408,7 @@ const deserializeAws_restJson1GetPlaybackConfigurationCommandError = async (
|
|
|
2318
2408
|
body: await parseBody(output.body, context),
|
|
2319
2409
|
};
|
|
2320
2410
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2321
|
-
let errorCode
|
|
2411
|
+
let errorCode = "UnknownError";
|
|
2322
2412
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2323
2413
|
switch (errorCode) {
|
|
2324
2414
|
default:
|
|
@@ -2369,7 +2459,7 @@ const deserializeAws_restJson1ListAlertsCommandError = async (
|
|
|
2369
2459
|
body: await parseBody(output.body, context),
|
|
2370
2460
|
};
|
|
2371
2461
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2372
|
-
let errorCode
|
|
2462
|
+
let errorCode = "UnknownError";
|
|
2373
2463
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2374
2464
|
switch (errorCode) {
|
|
2375
2465
|
default:
|
|
@@ -2420,7 +2510,7 @@ const deserializeAws_restJson1ListChannelsCommandError = async (
|
|
|
2420
2510
|
body: await parseBody(output.body, context),
|
|
2421
2511
|
};
|
|
2422
2512
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2423
|
-
let errorCode
|
|
2513
|
+
let errorCode = "UnknownError";
|
|
2424
2514
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2425
2515
|
switch (errorCode) {
|
|
2426
2516
|
default:
|
|
@@ -2471,7 +2561,7 @@ const deserializeAws_restJson1ListPlaybackConfigurationsCommandError = async (
|
|
|
2471
2561
|
body: await parseBody(output.body, context),
|
|
2472
2562
|
};
|
|
2473
2563
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2474
|
-
let errorCode
|
|
2564
|
+
let errorCode = "UnknownError";
|
|
2475
2565
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2476
2566
|
switch (errorCode) {
|
|
2477
2567
|
default:
|
|
@@ -2522,7 +2612,7 @@ const deserializeAws_restJson1ListSourceLocationsCommandError = async (
|
|
|
2522
2612
|
body: await parseBody(output.body, context),
|
|
2523
2613
|
};
|
|
2524
2614
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2525
|
-
let errorCode
|
|
2615
|
+
let errorCode = "UnknownError";
|
|
2526
2616
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2527
2617
|
switch (errorCode) {
|
|
2528
2618
|
default:
|
|
@@ -2569,7 +2659,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (
|
|
|
2569
2659
|
body: await parseBody(output.body, context),
|
|
2570
2660
|
};
|
|
2571
2661
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2572
|
-
let errorCode
|
|
2662
|
+
let errorCode = "UnknownError";
|
|
2573
2663
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2574
2664
|
switch (errorCode) {
|
|
2575
2665
|
case "BadRequestException":
|
|
@@ -2628,7 +2718,7 @@ const deserializeAws_restJson1ListVodSourcesCommandError = async (
|
|
|
2628
2718
|
body: await parseBody(output.body, context),
|
|
2629
2719
|
};
|
|
2630
2720
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2631
|
-
let errorCode
|
|
2721
|
+
let errorCode = "UnknownError";
|
|
2632
2722
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2633
2723
|
switch (errorCode) {
|
|
2634
2724
|
default:
|
|
@@ -2671,7 +2761,7 @@ const deserializeAws_restJson1PutChannelPolicyCommandError = async (
|
|
|
2671
2761
|
body: await parseBody(output.body, context),
|
|
2672
2762
|
};
|
|
2673
2763
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2674
|
-
let errorCode
|
|
2764
|
+
let errorCode = "UnknownError";
|
|
2675
2765
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2676
2766
|
switch (errorCode) {
|
|
2677
2767
|
default:
|
|
@@ -2708,6 +2798,7 @@ export const deserializeAws_restJson1PutPlaybackConfigurationCommand = async (
|
|
|
2708
2798
|
DashConfiguration: undefined,
|
|
2709
2799
|
HlsConfiguration: undefined,
|
|
2710
2800
|
LivePreRollConfiguration: undefined,
|
|
2801
|
+
LogConfiguration: undefined,
|
|
2711
2802
|
ManifestProcessingRules: undefined,
|
|
2712
2803
|
Name: undefined,
|
|
2713
2804
|
PersonalizationThresholdSeconds: undefined,
|
|
@@ -2750,6 +2841,9 @@ export const deserializeAws_restJson1PutPlaybackConfigurationCommand = async (
|
|
|
2750
2841
|
context
|
|
2751
2842
|
);
|
|
2752
2843
|
}
|
|
2844
|
+
if (data.LogConfiguration !== undefined && data.LogConfiguration !== null) {
|
|
2845
|
+
contents.LogConfiguration = deserializeAws_restJson1LogConfiguration(data.LogConfiguration, context);
|
|
2846
|
+
}
|
|
2753
2847
|
if (data.ManifestProcessingRules !== undefined && data.ManifestProcessingRules !== null) {
|
|
2754
2848
|
contents.ManifestProcessingRules = deserializeAws_restJson1ManifestProcessingRules(
|
|
2755
2849
|
data.ManifestProcessingRules,
|
|
@@ -2795,7 +2889,7 @@ const deserializeAws_restJson1PutPlaybackConfigurationCommandError = async (
|
|
|
2795
2889
|
body: await parseBody(output.body, context),
|
|
2796
2890
|
};
|
|
2797
2891
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2798
|
-
let errorCode
|
|
2892
|
+
let errorCode = "UnknownError";
|
|
2799
2893
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2800
2894
|
switch (errorCode) {
|
|
2801
2895
|
default:
|
|
@@ -2838,7 +2932,7 @@ const deserializeAws_restJson1StartChannelCommandError = async (
|
|
|
2838
2932
|
body: await parseBody(output.body, context),
|
|
2839
2933
|
};
|
|
2840
2934
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2841
|
-
let errorCode
|
|
2935
|
+
let errorCode = "UnknownError";
|
|
2842
2936
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2843
2937
|
switch (errorCode) {
|
|
2844
2938
|
default:
|
|
@@ -2881,7 +2975,7 @@ const deserializeAws_restJson1StopChannelCommandError = async (
|
|
|
2881
2975
|
body: await parseBody(output.body, context),
|
|
2882
2976
|
};
|
|
2883
2977
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2884
|
-
let errorCode
|
|
2978
|
+
let errorCode = "UnknownError";
|
|
2885
2979
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2886
2980
|
switch (errorCode) {
|
|
2887
2981
|
default:
|
|
@@ -2924,7 +3018,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (
|
|
|
2924
3018
|
body: await parseBody(output.body, context),
|
|
2925
3019
|
};
|
|
2926
3020
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2927
|
-
let errorCode
|
|
3021
|
+
let errorCode = "UnknownError";
|
|
2928
3022
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2929
3023
|
switch (errorCode) {
|
|
2930
3024
|
case "BadRequestException":
|
|
@@ -2975,7 +3069,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (
|
|
|
2975
3069
|
body: await parseBody(output.body, context),
|
|
2976
3070
|
};
|
|
2977
3071
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2978
|
-
let errorCode
|
|
3072
|
+
let errorCode = "UnknownError";
|
|
2979
3073
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2980
3074
|
switch (errorCode) {
|
|
2981
3075
|
case "BadRequestException":
|
|
@@ -3062,7 +3156,7 @@ const deserializeAws_restJson1UpdateChannelCommandError = async (
|
|
|
3062
3156
|
body: await parseBody(output.body, context),
|
|
3063
3157
|
};
|
|
3064
3158
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
3065
|
-
let errorCode
|
|
3159
|
+
let errorCode = "UnknownError";
|
|
3066
3160
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3067
3161
|
switch (errorCode) {
|
|
3068
3162
|
default:
|
|
@@ -3140,7 +3234,7 @@ const deserializeAws_restJson1UpdateSourceLocationCommandError = async (
|
|
|
3140
3234
|
body: await parseBody(output.body, context),
|
|
3141
3235
|
};
|
|
3142
3236
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
3143
|
-
let errorCode
|
|
3237
|
+
let errorCode = "UnknownError";
|
|
3144
3238
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3145
3239
|
switch (errorCode) {
|
|
3146
3240
|
default:
|
|
@@ -3214,7 +3308,7 @@ const deserializeAws_restJson1UpdateVodSourceCommandError = async (
|
|
|
3214
3308
|
body: await parseBody(output.body, context),
|
|
3215
3309
|
};
|
|
3216
3310
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
3217
|
-
let errorCode
|
|
3311
|
+
let errorCode = "UnknownError";
|
|
3218
3312
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3219
3313
|
switch (errorCode) {
|
|
3220
3314
|
default:
|
|
@@ -3829,6 +3923,12 @@ const deserializeAws_restJson1LivePreRollConfiguration = (
|
|
|
3829
3923
|
} as any;
|
|
3830
3924
|
};
|
|
3831
3925
|
|
|
3926
|
+
const deserializeAws_restJson1LogConfiguration = (output: any, context: __SerdeContext): LogConfiguration => {
|
|
3927
|
+
return {
|
|
3928
|
+
PercentEnabled: __expectInt32(output.PercentEnabled),
|
|
3929
|
+
} as any;
|
|
3930
|
+
};
|
|
3931
|
+
|
|
3832
3932
|
const deserializeAws_restJson1ManifestProcessingRules = (
|
|
3833
3933
|
output: any,
|
|
3834
3934
|
context: __SerdeContext
|
|
@@ -3872,6 +3972,10 @@ const deserializeAws_restJson1PlaybackConfiguration = (output: any, context: __S
|
|
|
3872
3972
|
output.LivePreRollConfiguration !== undefined && output.LivePreRollConfiguration !== null
|
|
3873
3973
|
? deserializeAws_restJson1LivePreRollConfiguration(output.LivePreRollConfiguration, context)
|
|
3874
3974
|
: undefined,
|
|
3975
|
+
LogConfiguration:
|
|
3976
|
+
output.LogConfiguration !== undefined && output.LogConfiguration !== null
|
|
3977
|
+
? deserializeAws_restJson1LogConfiguration(output.LogConfiguration, context)
|
|
3978
|
+
: undefined,
|
|
3875
3979
|
ManifestProcessingRules:
|
|
3876
3980
|
output.ManifestProcessingRules !== undefined && output.ManifestProcessingRules !== null
|
|
3877
3981
|
? deserializeAws_restJson1ManifestProcessingRules(output.ManifestProcessingRules, context)
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
1
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
2
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
3
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
@@ -8,6 +6,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
|
8
6
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
9
7
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
8
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
9
|
+
|
|
10
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
11
|
+
import packageInfo from "../package.json";
|
|
11
12
|
import { MediaTailorClientConfig } from "./MediaTailorClient";
|
|
12
13
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
14
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defaultRegionInfoProvider } from "./endpoints";
|
|
2
1
|
import { Logger as __Logger } from "@aws-sdk/types";
|
|
3
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
|
+
|
|
4
|
+
import { defaultRegionInfoProvider } from "./endpoints";
|
|
4
5
|
import { MediaTailorClientConfig } from "./MediaTailorClient";
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
1
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
2
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
5
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
@@ -7,13 +5,16 @@ import { Hash } from "@aws-sdk/hash-node";
|
|
|
7
5
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
8
6
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
7
|
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
8
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
10
9
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
10
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
11
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
12
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
13
|
+
|
|
14
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
15
|
+
import packageInfo from "../package.json";
|
|
14
16
|
import { MediaTailorClientConfig } from "./MediaTailorClient";
|
|
15
17
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
* @internal
|
package/tsconfig.es.json
CHANGED
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
"target": "es5",
|
|
5
5
|
"module": "esnext",
|
|
6
6
|
"moduleResolution": "node",
|
|
7
|
-
"declaration": false,
|
|
8
|
-
"declarationDir": null,
|
|
9
7
|
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
|
|
10
|
-
"outDir": "dist
|
|
8
|
+
"outDir": "dist-es"
|
|
11
9
|
}
|
|
12
10
|
}
|
package/tsconfig.json
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"alwaysStrict": true,
|
|
4
4
|
"target": "ES2018",
|
|
5
5
|
"module": "commonjs",
|
|
6
|
-
"declaration": true,
|
|
7
6
|
"strict": true,
|
|
8
7
|
"sourceMap": true,
|
|
9
8
|
"downlevelIteration": true,
|
|
@@ -12,9 +11,9 @@
|
|
|
12
11
|
"incremental": true,
|
|
13
12
|
"resolveJsonModule": true,
|
|
14
13
|
"esModuleInterop": true,
|
|
15
|
-
"
|
|
16
|
-
"outDir": "dist
|
|
17
|
-
"
|
|
14
|
+
"rootDir": "src",
|
|
15
|
+
"outDir": "dist-cjs",
|
|
16
|
+
"removeComments": true
|
|
18
17
|
},
|
|
19
18
|
"typedocOptions": {
|
|
20
19
|
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
|
|
@@ -24,10 +23,11 @@
|
|
|
24
23
|
"ignoreCompilerErrors": true,
|
|
25
24
|
"includeDeclarations": true,
|
|
26
25
|
"stripInternal": true,
|
|
27
|
-
"readme": "
|
|
26
|
+
"readme": "README.md",
|
|
28
27
|
"mode": "file",
|
|
29
|
-
"out": "
|
|
28
|
+
"out": "docs",
|
|
30
29
|
"theme": "minimal",
|
|
31
30
|
"plugin": ["@aws-sdk/client-documentation-generator"]
|
|
32
|
-
}
|
|
31
|
+
},
|
|
32
|
+
"exclude": ["test/**/*"]
|
|
33
33
|
}
|