@aws-sdk/client-mediatailor 3.325.0 → 3.327.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.
Files changed (45) hide show
  1. package/dist-types/commands/ConfigureLogsForChannelCommand.d.ts +9 -0
  2. package/dist-types/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +7 -0
  3. package/dist-types/commands/CreateChannelCommand.d.ts +35 -0
  4. package/dist-types/commands/CreateLiveSourceCommand.d.ts +20 -0
  5. package/dist-types/commands/CreatePrefetchScheduleCommand.d.ts +26 -0
  6. package/dist-types/commands/CreateProgramCommand.d.ts +47 -0
  7. package/dist-types/commands/CreateSourceLocationCommand.d.ts +32 -0
  8. package/dist-types/commands/CreateVodSourceCommand.d.ts +20 -0
  9. package/dist-types/commands/DeleteChannelCommand.d.ts +4 -0
  10. package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +4 -0
  11. package/dist-types/commands/DeleteLiveSourceCommand.d.ts +4 -0
  12. package/dist-types/commands/DeletePlaybackConfigurationCommand.d.ts +4 -0
  13. package/dist-types/commands/DeletePrefetchScheduleCommand.d.ts +4 -0
  14. package/dist-types/commands/DeleteProgramCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteSourceLocationCommand.d.ts +4 -0
  16. package/dist-types/commands/DeleteVodSourceCommand.d.ts +4 -0
  17. package/dist-types/commands/DescribeChannelCommand.d.ts +40 -0
  18. package/dist-types/commands/DescribeLiveSourceCommand.d.ts +20 -0
  19. package/dist-types/commands/DescribeProgramCommand.d.ts +47 -0
  20. package/dist-types/commands/DescribeSourceLocationCommand.d.ts +32 -0
  21. package/dist-types/commands/DescribeVodSourceCommand.d.ts +20 -0
  22. package/dist-types/commands/GetChannelPolicyCommand.d.ts +6 -0
  23. package/dist-types/commands/GetChannelScheduleCommand.d.ts +27 -0
  24. package/dist-types/commands/GetPlaybackConfigurationCommand.d.ts +54 -0
  25. package/dist-types/commands/GetPrefetchScheduleCommand.d.ts +26 -0
  26. package/dist-types/commands/ListAlertsCommand.d.ts +17 -0
  27. package/dist-types/commands/ListChannelsCommand.d.ts +45 -0
  28. package/dist-types/commands/ListLiveSourcesCommand.d.ts +25 -0
  29. package/dist-types/commands/ListPlaybackConfigurationsCommand.d.ts +59 -0
  30. package/dist-types/commands/ListPrefetchSchedulesCommand.d.ts +31 -0
  31. package/dist-types/commands/ListSourceLocationsCommand.d.ts +37 -0
  32. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
  33. package/dist-types/commands/ListVodSourcesCommand.d.ts +25 -0
  34. package/dist-types/commands/PutChannelPolicyCommand.d.ts +4 -0
  35. package/dist-types/commands/PutPlaybackConfigurationCommand.d.ts +54 -0
  36. package/dist-types/commands/StartChannelCommand.d.ts +4 -0
  37. package/dist-types/commands/StopChannelCommand.d.ts +4 -0
  38. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  39. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  40. package/dist-types/commands/UpdateChannelCommand.d.ts +35 -0
  41. package/dist-types/commands/UpdateLiveSourceCommand.d.ts +20 -0
  42. package/dist-types/commands/UpdateProgramCommand.d.ts +47 -0
  43. package/dist-types/commands/UpdateSourceLocationCommand.d.ts +32 -0
  44. package/dist-types/commands/UpdateVodSourceCommand.d.ts +20 -0
  45. package/package.json +7 -7
@@ -31,6 +31,8 @@ export interface StartChannelCommandOutput extends StartChannelResponse, __Metad
31
31
  * };
32
32
  * const command = new StartChannelCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param StartChannelCommandInput - {@link StartChannelCommandInput}
@@ -39,6 +41,8 @@ export interface StartChannelCommandOutput extends StartChannelResponse, __Metad
39
41
  * @see {@link StartChannelCommandOutput} for command's `response` shape.
40
42
  * @see {@link MediaTailorClientResolvedConfig | config} for MediaTailorClient's `config` shape.
41
43
  *
44
+ * @throws {@link MediaTailorServiceException}
45
+ * <p>Base exception class for all service exceptions from MediaTailor service.</p>
42
46
  *
43
47
  */
44
48
  export declare class StartChannelCommand extends $Command<StartChannelCommandInput, StartChannelCommandOutput, MediaTailorClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface StopChannelCommandOutput extends StopChannelResponse, __Metadat
31
31
  * };
32
32
  * const command = new StopChannelCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param StopChannelCommandInput - {@link StopChannelCommandInput}
@@ -39,6 +41,8 @@ export interface StopChannelCommandOutput extends StopChannelResponse, __Metadat
39
41
  * @see {@link StopChannelCommandOutput} for command's `response` shape.
40
42
  * @see {@link MediaTailorClientResolvedConfig | config} for MediaTailorClient's `config` shape.
41
43
  *
44
+ * @throws {@link MediaTailorServiceException}
45
+ * <p>Base exception class for all service exceptions from MediaTailor service.</p>
42
46
  *
43
47
  */
44
48
  export declare class StopChannelCommand extends $Command<StopChannelCommandInput, StopChannelCommandOutput, MediaTailorClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
34
34
  * };
35
35
  * const command = new TagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -45,6 +47,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
45
47
  * @throws {@link BadRequestException} (client fault)
46
48
  * <p>A request contains unexpected data.</p>
47
49
  *
50
+ * @throws {@link MediaTailorServiceException}
51
+ * <p>Base exception class for all service exceptions from MediaTailor service.</p>
48
52
  *
49
53
  */
50
54
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, MediaTailorClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -45,6 +47,8 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
45
47
  * @throws {@link BadRequestException} (client fault)
46
48
  * <p>A request contains unexpected data.</p>
47
49
  *
50
+ * @throws {@link MediaTailorServiceException}
51
+ * <p>Base exception class for all service exceptions from MediaTailor service.</p>
48
52
  *
49
53
  */
50
54
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, MediaTailorClientResolvedConfig> {
@@ -50,6 +50,39 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
50
50
  * };
51
51
  * const command = new UpdateChannelCommand(input);
52
52
  * const response = await client.send(command);
53
+ * // { // UpdateChannelResponse
54
+ * // Arn: "STRING_VALUE",
55
+ * // ChannelName: "STRING_VALUE",
56
+ * // ChannelState: "RUNNING" || "STOPPED",
57
+ * // CreationTime: new Date("TIMESTAMP"),
58
+ * // FillerSlate: { // SlateSource
59
+ * // SourceLocationName: "STRING_VALUE",
60
+ * // VodSourceName: "STRING_VALUE",
61
+ * // },
62
+ * // LastModifiedTime: new Date("TIMESTAMP"),
63
+ * // Outputs: [ // ResponseOutputs
64
+ * // { // ResponseOutputItem
65
+ * // DashPlaylistSettings: { // DashPlaylistSettings
66
+ * // ManifestWindowSeconds: Number("int"),
67
+ * // MinBufferTimeSeconds: Number("int"),
68
+ * // MinUpdatePeriodSeconds: Number("int"),
69
+ * // SuggestedPresentationDelaySeconds: Number("int"),
70
+ * // },
71
+ * // HlsPlaylistSettings: { // HlsPlaylistSettings
72
+ * // ManifestWindowSeconds: Number("int"),
73
+ * // },
74
+ * // ManifestName: "STRING_VALUE", // required
75
+ * // PlaybackUrl: "STRING_VALUE", // required
76
+ * // SourceGroup: "STRING_VALUE", // required
77
+ * // },
78
+ * // ],
79
+ * // PlaybackMode: "STRING_VALUE",
80
+ * // Tags: { // __mapOf__string
81
+ * // "<keys>": "STRING_VALUE",
82
+ * // },
83
+ * // Tier: "STRING_VALUE",
84
+ * // };
85
+ *
53
86
  * ```
54
87
  *
55
88
  * @param UpdateChannelCommandInput - {@link UpdateChannelCommandInput}
@@ -58,6 +91,8 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
58
91
  * @see {@link UpdateChannelCommandOutput} for command's `response` shape.
59
92
  * @see {@link MediaTailorClientResolvedConfig | config} for MediaTailorClient's `config` shape.
60
93
  *
94
+ * @throws {@link MediaTailorServiceException}
95
+ * <p>Base exception class for all service exceptions from MediaTailor service.</p>
61
96
  *
62
97
  */
63
98
  export declare class UpdateChannelCommand extends $Command<UpdateChannelCommandInput, UpdateChannelCommandOutput, MediaTailorClientResolvedConfig> {
@@ -39,6 +39,24 @@ export interface UpdateLiveSourceCommandOutput extends UpdateLiveSourceResponse,
39
39
  * };
40
40
  * const command = new UpdateLiveSourceCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // UpdateLiveSourceResponse
43
+ * // Arn: "STRING_VALUE",
44
+ * // CreationTime: new Date("TIMESTAMP"),
45
+ * // HttpPackageConfigurations: [ // HttpPackageConfigurations
46
+ * // { // HttpPackageConfiguration
47
+ * // Path: "STRING_VALUE", // required
48
+ * // SourceGroup: "STRING_VALUE", // required
49
+ * // Type: "DASH" || "HLS", // required
50
+ * // },
51
+ * // ],
52
+ * // LastModifiedTime: new Date("TIMESTAMP"),
53
+ * // LiveSourceName: "STRING_VALUE",
54
+ * // SourceLocationName: "STRING_VALUE",
55
+ * // Tags: { // __mapOf__string
56
+ * // "<keys>": "STRING_VALUE",
57
+ * // },
58
+ * // };
59
+ *
42
60
  * ```
43
61
  *
44
62
  * @param UpdateLiveSourceCommandInput - {@link UpdateLiveSourceCommandInput}
@@ -47,6 +65,8 @@ export interface UpdateLiveSourceCommandOutput extends UpdateLiveSourceResponse,
47
65
  * @see {@link UpdateLiveSourceCommandOutput} for command's `response` shape.
48
66
  * @see {@link MediaTailorClientResolvedConfig | config} for MediaTailorClient's `config` shape.
49
67
  *
68
+ * @throws {@link MediaTailorServiceException}
69
+ * <p>Base exception class for all service exceptions from MediaTailor service.</p>
50
70
  *
51
71
  */
52
72
  export declare class UpdateLiveSourceCommand extends $Command<UpdateLiveSourceCommandInput, UpdateLiveSourceCommandOutput, MediaTailorClientResolvedConfig> {
@@ -71,6 +71,51 @@ export interface UpdateProgramCommandOutput extends UpdateProgramResponse, __Met
71
71
  * };
72
72
  * const command = new UpdateProgramCommand(input);
73
73
  * const response = await client.send(command);
74
+ * // { // UpdateProgramResponse
75
+ * // AdBreaks: [ // __listOfAdBreak
76
+ * // { // AdBreak
77
+ * // MessageType: "SPLICE_INSERT" || "TIME_SIGNAL",
78
+ * // OffsetMillis: Number("long"),
79
+ * // Slate: { // SlateSource
80
+ * // SourceLocationName: "STRING_VALUE",
81
+ * // VodSourceName: "STRING_VALUE",
82
+ * // },
83
+ * // SpliceInsertMessage: { // SpliceInsertMessage
84
+ * // AvailNum: Number("int"),
85
+ * // AvailsExpected: Number("int"),
86
+ * // SpliceEventId: Number("int"),
87
+ * // UniqueProgramId: Number("int"),
88
+ * // },
89
+ * // TimeSignalMessage: { // TimeSignalMessage
90
+ * // SegmentationDescriptors: [ // SegmentationDescriptorList
91
+ * // { // SegmentationDescriptor
92
+ * // SegmentationEventId: Number("int"),
93
+ * // SegmentationUpidType: Number("int"),
94
+ * // SegmentationUpid: "STRING_VALUE",
95
+ * // SegmentationTypeId: Number("int"),
96
+ * // SegmentNum: Number("int"),
97
+ * // SegmentsExpected: Number("int"),
98
+ * // SubSegmentNum: Number("int"),
99
+ * // SubSegmentsExpected: Number("int"),
100
+ * // },
101
+ * // ],
102
+ * // },
103
+ * // },
104
+ * // ],
105
+ * // Arn: "STRING_VALUE",
106
+ * // ChannelName: "STRING_VALUE",
107
+ * // CreationTime: new Date("TIMESTAMP"),
108
+ * // ProgramName: "STRING_VALUE",
109
+ * // SourceLocationName: "STRING_VALUE",
110
+ * // VodSourceName: "STRING_VALUE",
111
+ * // LiveSourceName: "STRING_VALUE",
112
+ * // ClipRange: { // ClipRange
113
+ * // EndOffsetMillis: Number("long"), // required
114
+ * // },
115
+ * // DurationMillis: Number("long"),
116
+ * // ScheduledStartTime: new Date("TIMESTAMP"),
117
+ * // };
118
+ *
74
119
  * ```
75
120
  *
76
121
  * @param UpdateProgramCommandInput - {@link UpdateProgramCommandInput}
@@ -79,6 +124,8 @@ export interface UpdateProgramCommandOutput extends UpdateProgramResponse, __Met
79
124
  * @see {@link UpdateProgramCommandOutput} for command's `response` shape.
80
125
  * @see {@link MediaTailorClientResolvedConfig | config} for MediaTailorClient's `config` shape.
81
126
  *
127
+ * @throws {@link MediaTailorServiceException}
128
+ * <p>Base exception class for all service exceptions from MediaTailor service.</p>
82
129
  *
83
130
  */
84
131
  export declare class UpdateProgramCommand extends $Command<UpdateProgramCommandInput, UpdateProgramCommandOutput, MediaTailorClientResolvedConfig> {
@@ -51,6 +51,36 @@ export interface UpdateSourceLocationCommandOutput extends UpdateSourceLocationR
51
51
  * };
52
52
  * const command = new UpdateSourceLocationCommand(input);
53
53
  * const response = await client.send(command);
54
+ * // { // UpdateSourceLocationResponse
55
+ * // AccessConfiguration: { // AccessConfiguration
56
+ * // AccessType: "S3_SIGV4" || "SECRETS_MANAGER_ACCESS_TOKEN",
57
+ * // SecretsManagerAccessTokenConfiguration: { // SecretsManagerAccessTokenConfiguration
58
+ * // HeaderName: "STRING_VALUE",
59
+ * // SecretArn: "STRING_VALUE",
60
+ * // SecretStringKey: "STRING_VALUE",
61
+ * // },
62
+ * // },
63
+ * // Arn: "STRING_VALUE",
64
+ * // CreationTime: new Date("TIMESTAMP"),
65
+ * // DefaultSegmentDeliveryConfiguration: { // DefaultSegmentDeliveryConfiguration
66
+ * // BaseUrl: "STRING_VALUE",
67
+ * // },
68
+ * // HttpConfiguration: { // HttpConfiguration
69
+ * // BaseUrl: "STRING_VALUE", // required
70
+ * // },
71
+ * // LastModifiedTime: new Date("TIMESTAMP"),
72
+ * // SegmentDeliveryConfigurations: [ // __listOfSegmentDeliveryConfiguration
73
+ * // { // SegmentDeliveryConfiguration
74
+ * // BaseUrl: "STRING_VALUE",
75
+ * // Name: "STRING_VALUE",
76
+ * // },
77
+ * // ],
78
+ * // SourceLocationName: "STRING_VALUE",
79
+ * // Tags: { // __mapOf__string
80
+ * // "<keys>": "STRING_VALUE",
81
+ * // },
82
+ * // };
83
+ *
54
84
  * ```
55
85
  *
56
86
  * @param UpdateSourceLocationCommandInput - {@link UpdateSourceLocationCommandInput}
@@ -59,6 +89,8 @@ export interface UpdateSourceLocationCommandOutput extends UpdateSourceLocationR
59
89
  * @see {@link UpdateSourceLocationCommandOutput} for command's `response` shape.
60
90
  * @see {@link MediaTailorClientResolvedConfig | config} for MediaTailorClient's `config` shape.
61
91
  *
92
+ * @throws {@link MediaTailorServiceException}
93
+ * <p>Base exception class for all service exceptions from MediaTailor service.</p>
62
94
  *
63
95
  */
64
96
  export declare class UpdateSourceLocationCommand extends $Command<UpdateSourceLocationCommandInput, UpdateSourceLocationCommandOutput, MediaTailorClientResolvedConfig> {
@@ -39,6 +39,24 @@ export interface UpdateVodSourceCommandOutput extends UpdateVodSourceResponse, _
39
39
  * };
40
40
  * const command = new UpdateVodSourceCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // UpdateVodSourceResponse
43
+ * // Arn: "STRING_VALUE",
44
+ * // CreationTime: new Date("TIMESTAMP"),
45
+ * // HttpPackageConfigurations: [ // HttpPackageConfigurations
46
+ * // { // HttpPackageConfiguration
47
+ * // Path: "STRING_VALUE", // required
48
+ * // SourceGroup: "STRING_VALUE", // required
49
+ * // Type: "DASH" || "HLS", // required
50
+ * // },
51
+ * // ],
52
+ * // LastModifiedTime: new Date("TIMESTAMP"),
53
+ * // SourceLocationName: "STRING_VALUE",
54
+ * // Tags: { // __mapOf__string
55
+ * // "<keys>": "STRING_VALUE",
56
+ * // },
57
+ * // VodSourceName: "STRING_VALUE",
58
+ * // };
59
+ *
42
60
  * ```
43
61
  *
44
62
  * @param UpdateVodSourceCommandInput - {@link UpdateVodSourceCommandInput}
@@ -47,6 +65,8 @@ export interface UpdateVodSourceCommandOutput extends UpdateVodSourceResponse, _
47
65
  * @see {@link UpdateVodSourceCommandOutput} for command's `response` shape.
48
66
  * @see {@link MediaTailorClientResolvedConfig | config} for MediaTailorClient's `config` shape.
49
67
  *
68
+ * @throws {@link MediaTailorServiceException}
69
+ * <p>Base exception class for all service exceptions from MediaTailor service.</p>
50
70
  *
51
71
  */
52
72
  export declare class UpdateVodSourceCommand extends $Command<UpdateVodSourceCommandInput, UpdateVodSourceCommandOutput, MediaTailorClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediatailor",
3
3
  "description": "AWS SDK for JavaScript Mediatailor Client for Node.js, Browser and React Native",
4
- "version": "3.325.0",
4
+ "version": "3.327.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.325.0",
24
+ "@aws-sdk/client-sts": "3.327.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.327.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -32,11 +32,11 @@
32
32
  "@aws-sdk/middleware-host-header": "3.325.0",
33
33
  "@aws-sdk/middleware-logger": "3.325.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
- "@aws-sdk/middleware-retry": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.327.0",
36
36
  "@aws-sdk/middleware-serde": "3.325.0",
37
37
  "@aws-sdk/middleware-signing": "3.325.0",
38
38
  "@aws-sdk/middleware-stack": "3.325.0",
39
- "@aws-sdk/middleware-user-agent": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.327.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
@@ -48,8 +48,8 @@
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
50
  "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
- "@aws-sdk/util-endpoints": "3.319.0",
52
- "@aws-sdk/util-retry": "3.310.0",
51
+ "@aws-sdk/util-endpoints": "3.327.0",
52
+ "@aws-sdk/util-retry": "3.327.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",
55
55
  "@aws-sdk/util-utf8": "3.310.0",