@aws-sdk/client-mediatailor 3.32.0 → 3.36.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 +45 -0
- package/README.md +7 -7
- package/{dist/cjs → dist-cjs}/MediaTailor.js +16 -2
- package/{dist/cjs → dist-cjs}/MediaTailorClient.js +8 -9
- package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js +60 -0
- package/{dist/cjs → dist-cjs}/commands/CreateChannelCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateProgramCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateSourceLocationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateVodSourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteChannelCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteChannelPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeletePlaybackConfigurationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteProgramCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteSourceLocationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteVodSourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeChannelCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeProgramCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeSourceLocationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeVodSourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetChannelPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetChannelScheduleCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetPlaybackConfigurationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListAlertsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListChannelsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListPlaybackConfigurationsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListSourceLocationsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListVodSourcesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutChannelPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutPlaybackConfigurationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/StartChannelCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/StopChannelCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateChannelCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateSourceLocationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateVodSourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +1 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +30 -4
- package/{dist/cjs → dist-cjs}/pagination/GetChannelSchedulePaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListAlertsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListChannelsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListPlaybackConfigurationsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListSourceLocationsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListVodSourcesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +91 -8
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/MediaTailor.js +17 -6
- package/{dist/es → dist-es}/MediaTailorClient.js +2 -11
- package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js +39 -0
- package/{dist/es → dist-es}/commands/CreateChannelCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateProgramCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateSourceLocationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateVodSourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteChannelCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteChannelPolicyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeletePlaybackConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteProgramCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteSourceLocationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteVodSourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeChannelCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeProgramCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeSourceLocationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeVodSourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetChannelPolicyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetChannelScheduleCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetPlaybackConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListAlertsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListChannelsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListPlaybackConfigurationsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListSourceLocationsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListVodSourcesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/PutChannelPolicyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/PutPlaybackConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/StartChannelCommand.js +4 -30
- package/{dist/es → dist-es}/commands/StopChannelCommand.js +4 -30
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateChannelCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateSourceLocationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateVodSourceCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/es → dist-es}/index.js +1 -1
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +12 -280
- package/{dist/es → dist-es}/pagination/GetChannelSchedulePaginator.js +17 -30
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListAlertsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListChannelsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListPlaybackConfigurationsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListSourceLocationsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListVodSourcesPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +336 -246
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- 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/{models/index.ts → 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 +52 -49
- package/MediaTailor.ts +0 -1155
- package/MediaTailorClient.ts +0 -364
- package/commands/CreateChannelCommand.ts +0 -94
- package/commands/CreateProgramCommand.ts +0 -94
- package/commands/CreateSourceLocationCommand.ts +0 -94
- package/commands/CreateVodSourceCommand.ts +0 -94
- package/commands/DeleteChannelCommand.ts +0 -94
- package/commands/DeleteChannelPolicyCommand.ts +0 -94
- package/commands/DeletePlaybackConfigurationCommand.ts +0 -99
- package/commands/DeleteProgramCommand.ts +0 -94
- package/commands/DeleteSourceLocationCommand.ts +0 -94
- package/commands/DeleteVodSourceCommand.ts +0 -94
- package/commands/DescribeChannelCommand.ts +0 -94
- package/commands/DescribeProgramCommand.ts +0 -94
- package/commands/DescribeSourceLocationCommand.ts +0 -94
- package/commands/DescribeVodSourceCommand.ts +0 -94
- package/commands/GetChannelPolicyCommand.ts +0 -94
- package/commands/GetChannelScheduleCommand.ts +0 -94
- package/commands/GetPlaybackConfigurationCommand.ts +0 -94
- package/commands/ListAlertsCommand.ts +0 -94
- package/commands/ListChannelsCommand.ts +0 -94
- package/commands/ListPlaybackConfigurationsCommand.ts +0 -97
- package/commands/ListSourceLocationsCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/ListVodSourcesCommand.ts +0 -94
- package/commands/PutChannelPolicyCommand.ts +0 -94
- package/commands/PutPlaybackConfigurationCommand.ts +0 -94
- package/commands/StartChannelCommand.ts +0 -94
- package/commands/StopChannelCommand.ts +0 -94
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateChannelCommand.ts +0 -94
- package/commands/UpdateSourceLocationCommand.ts +0 -94
- package/commands/UpdateVodSourceCommand.ts +0 -94
- 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.map +0 -1
- package/dist/cjs/models/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/Interfaces.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 +0 -2
- 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/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.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
- package/endpoints.ts +0 -57
- package/index.ts +0 -42
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2850
- package/pagination/GetChannelSchedulePaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListAlertsPaginator.ts +0 -54
- package/pagination/ListChannelsPaginator.ts +0 -58
- package/pagination/ListPlaybackConfigurationsPaginator.ts +0 -58
- package/pagination/ListSourceLocationsPaginator.ts +0 -58
- package/pagination/ListVodSourcesPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -4103
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { GetChannelScheduleCommand, } from "../commands/GetChannelScheduleCommand";
|
|
2
3
|
import { MediaTailor } from "../MediaTailor";
|
|
3
4
|
import { MediaTailorClient } from "../MediaTailorClient";
|
|
4
|
-
import { GetChannelScheduleCommand, } from "../commands/GetChannelScheduleCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetChannelScheduleCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.getChannelSchedule.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateGetChannelSchedule(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.NextToken = token;
|
|
59
49
|
input["MaxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof MediaTailor)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof MediaTailor)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof MediaTailorClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof MediaTailorClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.NextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=GetChannelSchedulePaginator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListAlertsCommand } from "../commands/ListAlertsCommand";
|
|
2
3
|
import { MediaTailor } from "../MediaTailor";
|
|
3
4
|
import { MediaTailorClient } from "../MediaTailorClient";
|
|
4
|
-
import { ListAlertsCommand } from "../commands/ListAlertsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAlertsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listAlerts.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListAlerts(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.NextToken = token;
|
|
59
49
|
input["MaxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof MediaTailor)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof MediaTailor)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof MediaTailorClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof MediaTailorClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.NextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListAlertsPaginator.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListChannelsCommand, } from "../commands/ListChannelsCommand";
|
|
2
3
|
import { MediaTailor } from "../MediaTailor";
|
|
3
4
|
import { MediaTailorClient } from "../MediaTailorClient";
|
|
4
|
-
import { ListChannelsCommand, } from "../commands/ListChannelsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListChannelsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listChannels.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListChannels(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.NextToken = token;
|
|
59
49
|
input["MaxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof MediaTailor)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof MediaTailor)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof MediaTailorClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof MediaTailorClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.NextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListChannelsPaginator.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListPlaybackConfigurationsCommand, } from "../commands/ListPlaybackConfigurationsCommand";
|
|
2
3
|
import { MediaTailor } from "../MediaTailor";
|
|
3
4
|
import { MediaTailorClient } from "../MediaTailorClient";
|
|
4
|
-
import { ListPlaybackConfigurationsCommand, } from "../commands/ListPlaybackConfigurationsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListPlaybackConfigurationsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listPlaybackConfigurations.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListPlaybackConfigurations(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.NextToken = token;
|
|
59
49
|
input["MaxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof MediaTailor)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof MediaTailor)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof MediaTailorClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof MediaTailorClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.NextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListPlaybackConfigurationsPaginator.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListSourceLocationsCommand, } from "../commands/ListSourceLocationsCommand";
|
|
2
3
|
import { MediaTailor } from "../MediaTailor";
|
|
3
4
|
import { MediaTailorClient } from "../MediaTailorClient";
|
|
4
|
-
import { ListSourceLocationsCommand, } from "../commands/ListSourceLocationsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListSourceLocationsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listSourceLocations.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListSourceLocations(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.NextToken = token;
|
|
59
49
|
input["MaxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof MediaTailor)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof MediaTailor)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof MediaTailorClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof MediaTailorClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.NextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListSourceLocationsPaginator.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListVodSourcesCommand, } from "../commands/ListVodSourcesCommand";
|
|
2
3
|
import { MediaTailor } from "../MediaTailor";
|
|
3
4
|
import { MediaTailorClient } from "../MediaTailorClient";
|
|
4
|
-
import { ListVodSourcesCommand, } from "../commands/ListVodSourcesCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListVodSourcesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listVodSources.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListVodSources(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.NextToken = token;
|
|
59
49
|
input["MaxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof MediaTailor)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof MediaTailor)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof MediaTailorClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof MediaTailorClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.NextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListVodSourcesPaginator.js.map
|