@aws-sdk/client-medialive 3.363.0 → 3.368.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 (52) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/MediaLive.js +6 -0
  3. package/dist-cjs/commands/DescribeAccountConfigurationCommand.js +46 -0
  4. package/dist-cjs/commands/DescribeThumbnailsCommand.js +46 -0
  5. package/dist-cjs/commands/UpdateAccountConfigurationCommand.js +46 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/models/models_1.js +11 -7
  8. package/dist-cjs/models/models_2.js +5 -0
  9. package/dist-cjs/protocols/Aws_restJson1.js +273 -3
  10. package/dist-es/MediaLive.js +6 -0
  11. package/dist-es/commands/DescribeAccountConfigurationCommand.js +42 -0
  12. package/dist-es/commands/DescribeThumbnailsCommand.js +42 -0
  13. package/dist-es/commands/UpdateAccountConfigurationCommand.js +42 -0
  14. package/dist-es/commands/index.js +3 -0
  15. package/dist-es/models/models_1.js +8 -4
  16. package/dist-es/models/models_2.js +4 -1
  17. package/dist-es/protocols/Aws_restJson1.js +265 -1
  18. package/dist-types/MediaLive.d.ts +21 -0
  19. package/dist-types/MediaLiveClient.d.ts +5 -2
  20. package/dist-types/commands/CreateChannelCommand.d.ts +6 -0
  21. package/dist-types/commands/DeleteChannelCommand.d.ts +3 -0
  22. package/dist-types/commands/DescribeAccountConfigurationCommand.d.ts +91 -0
  23. package/dist-types/commands/DescribeChannelCommand.d.ts +3 -0
  24. package/dist-types/commands/DescribeThumbnailsCommand.d.ts +111 -0
  25. package/dist-types/commands/PurchaseOfferingCommand.d.ts +1 -1
  26. package/dist-types/commands/RebootInputDeviceCommand.d.ts +1 -1
  27. package/dist-types/commands/RejectInputDeviceTransferCommand.d.ts +1 -1
  28. package/dist-types/commands/StartChannelCommand.d.ts +4 -1
  29. package/dist-types/commands/StartInputDeviceMaintenanceWindowCommand.d.ts +1 -2
  30. package/dist-types/commands/StopChannelCommand.d.ts +3 -0
  31. package/dist-types/commands/UpdateAccountConfigurationCommand.d.ts +98 -0
  32. package/dist-types/commands/UpdateChannelClassCommand.d.ts +3 -0
  33. package/dist-types/commands/UpdateChannelCommand.d.ts +6 -0
  34. package/dist-types/commands/index.d.ts +3 -0
  35. package/dist-types/models/models_1.d.ts +128 -192
  36. package/dist-types/models/models_2.d.ts +213 -1
  37. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  38. package/dist-types/ts3.4/MediaLive.d.ts +51 -0
  39. package/dist-types/ts3.4/MediaLiveClient.d.ts +18 -0
  40. package/dist-types/ts3.4/commands/DescribeAccountConfigurationCommand.d.ts +42 -0
  41. package/dist-types/ts3.4/commands/DescribeThumbnailsCommand.d.ts +39 -0
  42. package/dist-types/ts3.4/commands/PurchaseOfferingCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/RebootInputDeviceCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/RejectInputDeviceTransferCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/StartChannelCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/StartInputDeviceMaintenanceWindowCommand.d.ts +4 -2
  47. package/dist-types/ts3.4/commands/UpdateAccountConfigurationCommand.d.ts +42 -0
  48. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  49. package/dist-types/ts3.4/models/models_1.d.ts +40 -53
  50. package/dist-types/ts3.4/models/models_2.d.ts +60 -0
  51. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  52. package/package.json +1 -1
@@ -0,0 +1,111 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
5
+ import { DescribeThumbnailsRequest, DescribeThumbnailsResponse } from "../models/models_1";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeThumbnailsCommand}.
14
+ */
15
+ export interface DescribeThumbnailsCommandInput extends DescribeThumbnailsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeThumbnailsCommand}.
21
+ */
22
+ export interface DescribeThumbnailsCommandOutput extends DescribeThumbnailsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * Describe the latest thumbnails data.
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { MediaLiveClient, DescribeThumbnailsCommand } from "@aws-sdk/client-medialive"; // ES Modules import
31
+ * // const { MediaLiveClient, DescribeThumbnailsCommand } = require("@aws-sdk/client-medialive"); // CommonJS import
32
+ * const client = new MediaLiveClient(config);
33
+ * const input = { // DescribeThumbnailsRequest
34
+ * ChannelId: "STRING_VALUE", // required
35
+ * PipelineId: "STRING_VALUE", // required
36
+ * ThumbnailType: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new DescribeThumbnailsCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // DescribeThumbnailsResponse
41
+ * // ThumbnailDetails: [ // __listOfThumbnailDetail
42
+ * // { // ThumbnailDetail
43
+ * // PipelineId: "STRING_VALUE",
44
+ * // Thumbnails: [ // __listOfThumbnail
45
+ * // { // Thumbnail
46
+ * // Body: "STRING_VALUE",
47
+ * // ContentType: "STRING_VALUE",
48
+ * // ThumbnailType: "UNSPECIFIED" || "CURRENT_ACTIVE",
49
+ * // TimeStamp: new Date("TIMESTAMP"),
50
+ * // },
51
+ * // ],
52
+ * // },
53
+ * // ],
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param DescribeThumbnailsCommandInput - {@link DescribeThumbnailsCommandInput}
59
+ * @returns {@link DescribeThumbnailsCommandOutput}
60
+ * @see {@link DescribeThumbnailsCommandInput} for command's `input` shape.
61
+ * @see {@link DescribeThumbnailsCommandOutput} for command's `response` shape.
62
+ * @see {@link MediaLiveClientResolvedConfig | config} for MediaLiveClient's `config` shape.
63
+ *
64
+ * @throws {@link BadGatewayException} (server fault)
65
+ * Placeholder documentation for BadGatewayException
66
+ *
67
+ * @throws {@link BadRequestException} (client fault)
68
+ * Placeholder documentation for BadRequestException
69
+ *
70
+ * @throws {@link ConflictException} (client fault)
71
+ * Placeholder documentation for ConflictException
72
+ *
73
+ * @throws {@link ForbiddenException} (client fault)
74
+ * Placeholder documentation for ForbiddenException
75
+ *
76
+ * @throws {@link GatewayTimeoutException} (server fault)
77
+ * Placeholder documentation for GatewayTimeoutException
78
+ *
79
+ * @throws {@link InternalServerErrorException} (server fault)
80
+ * Placeholder documentation for InternalServerErrorException
81
+ *
82
+ * @throws {@link NotFoundException} (client fault)
83
+ * Placeholder documentation for NotFoundException
84
+ *
85
+ * @throws {@link TooManyRequestsException} (client fault)
86
+ * Placeholder documentation for TooManyRequestsException
87
+ *
88
+ * @throws {@link MediaLiveServiceException}
89
+ * <p>Base exception class for all service exceptions from MediaLive service.</p>
90
+ *
91
+ */
92
+ export declare class DescribeThumbnailsCommand extends $Command<DescribeThumbnailsCommandInput, DescribeThumbnailsCommandOutput, MediaLiveClientResolvedConfig> {
93
+ readonly input: DescribeThumbnailsCommandInput;
94
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
+ /**
96
+ * @public
97
+ */
98
+ constructor(input: DescribeThumbnailsCommandInput);
99
+ /**
100
+ * @internal
101
+ */
102
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeThumbnailsCommandInput, DescribeThumbnailsCommandOutput>;
103
+ /**
104
+ * @internal
105
+ */
106
+ private serialize;
107
+ /**
108
+ * @internal
109
+ */
110
+ private deserialize;
111
+ }
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
5
- import { PurchaseOfferingRequest, PurchaseOfferingResponse } from "../models/models_1";
5
+ import { PurchaseOfferingRequest, PurchaseOfferingResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
5
- import { RebootInputDeviceRequest, RebootInputDeviceResponse } from "../models/models_1";
5
+ import { RebootInputDeviceRequest, RebootInputDeviceResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
5
- import { RejectInputDeviceTransferRequest, RejectInputDeviceTransferResponse } from "../models/models_1";
5
+ import { RejectInputDeviceTransferRequest, RejectInputDeviceTransferResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
5
- import { StartChannelRequest, StartChannelResponse } from "../models/models_1";
5
+ import { StartChannelRequest, StartChannelResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -866,6 +866,9 @@ export interface StartChannelCommandOutput extends StartChannelResponse, __Metad
866
866
  * // Width: Number("int"),
867
867
  * // },
868
868
  * // ],
869
+ * // ThumbnailConfiguration: { // ThumbnailConfiguration
870
+ * // State: "AUTO" || "DISABLED", // required
871
+ * // },
869
872
  * // },
870
873
  * // Id: "STRING_VALUE",
871
874
  * // InputAttachments: [ // __listOfInputAttachment
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
5
- import { StartInputDeviceMaintenanceWindowRequest } from "../models/models_1";
6
- import { StartInputDeviceMaintenanceWindowResponse } from "../models/models_2";
5
+ import { StartInputDeviceMaintenanceWindowRequest, StartInputDeviceMaintenanceWindowResponse } from "../models/models_2";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -866,6 +866,9 @@ export interface StopChannelCommandOutput extends StopChannelResponse, __Metadat
866
866
  * // Width: Number("int"),
867
867
  * // },
868
868
  * // ],
869
+ * // ThumbnailConfiguration: { // ThumbnailConfiguration
870
+ * // State: "AUTO" || "DISABLED", // required
871
+ * // },
869
872
  * // },
870
873
  * // Id: "STRING_VALUE",
871
874
  * // InputAttachments: [ // __listOfInputAttachment
@@ -0,0 +1,98 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
5
+ import { UpdateAccountConfigurationRequest, UpdateAccountConfigurationResponse } from "../models/models_2";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateAccountConfigurationCommand}.
14
+ */
15
+ export interface UpdateAccountConfigurationCommandInput extends UpdateAccountConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateAccountConfigurationCommand}.
21
+ */
22
+ export interface UpdateAccountConfigurationCommandOutput extends UpdateAccountConfigurationResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * Update account configuration
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { MediaLiveClient, UpdateAccountConfigurationCommand } from "@aws-sdk/client-medialive"; // ES Modules import
31
+ * // const { MediaLiveClient, UpdateAccountConfigurationCommand } = require("@aws-sdk/client-medialive"); // CommonJS import
32
+ * const client = new MediaLiveClient(config);
33
+ * const input = { // UpdateAccountConfigurationRequest
34
+ * AccountConfiguration: { // AccountConfiguration
35
+ * KmsKeyId: "STRING_VALUE",
36
+ * },
37
+ * };
38
+ * const command = new UpdateAccountConfigurationCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // UpdateAccountConfigurationResponse
41
+ * // AccountConfiguration: { // AccountConfiguration
42
+ * // KmsKeyId: "STRING_VALUE",
43
+ * // },
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param UpdateAccountConfigurationCommandInput - {@link UpdateAccountConfigurationCommandInput}
49
+ * @returns {@link UpdateAccountConfigurationCommandOutput}
50
+ * @see {@link UpdateAccountConfigurationCommandInput} for command's `input` shape.
51
+ * @see {@link UpdateAccountConfigurationCommandOutput} for command's `response` shape.
52
+ * @see {@link MediaLiveClientResolvedConfig | config} for MediaLiveClient's `config` shape.
53
+ *
54
+ * @throws {@link BadGatewayException} (server fault)
55
+ * Placeholder documentation for BadGatewayException
56
+ *
57
+ * @throws {@link BadRequestException} (client fault)
58
+ * Placeholder documentation for BadRequestException
59
+ *
60
+ * @throws {@link ForbiddenException} (client fault)
61
+ * Placeholder documentation for ForbiddenException
62
+ *
63
+ * @throws {@link GatewayTimeoutException} (server fault)
64
+ * Placeholder documentation for GatewayTimeoutException
65
+ *
66
+ * @throws {@link InternalServerErrorException} (server fault)
67
+ * Placeholder documentation for InternalServerErrorException
68
+ *
69
+ * @throws {@link TooManyRequestsException} (client fault)
70
+ * Placeholder documentation for TooManyRequestsException
71
+ *
72
+ * @throws {@link UnprocessableEntityException} (client fault)
73
+ * Placeholder documentation for UnprocessableEntityException
74
+ *
75
+ * @throws {@link MediaLiveServiceException}
76
+ * <p>Base exception class for all service exceptions from MediaLive service.</p>
77
+ *
78
+ */
79
+ export declare class UpdateAccountConfigurationCommand extends $Command<UpdateAccountConfigurationCommandInput, UpdateAccountConfigurationCommandOutput, MediaLiveClientResolvedConfig> {
80
+ readonly input: UpdateAccountConfigurationCommandInput;
81
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
+ /**
83
+ * @public
84
+ */
85
+ constructor(input: UpdateAccountConfigurationCommandInput);
86
+ /**
87
+ * @internal
88
+ */
89
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAccountConfigurationCommandInput, UpdateAccountConfigurationCommandOutput>;
90
+ /**
91
+ * @internal
92
+ */
93
+ private serialize;
94
+ /**
95
+ * @internal
96
+ */
97
+ private deserialize;
98
+ }
@@ -890,6 +890,9 @@ export interface UpdateChannelClassCommandOutput extends UpdateChannelClassRespo
890
890
  * // Width: Number("int"),
891
891
  * // },
892
892
  * // ],
893
+ * // ThumbnailConfiguration: { // ThumbnailConfiguration
894
+ * // State: "AUTO" || "DISABLED", // required
895
+ * // },
893
896
  * // },
894
897
  * // Id: "STRING_VALUE",
895
898
  * // InputAttachments: [ // __listOfInputAttachment
@@ -855,6 +855,9 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
855
855
  * Width: Number("int"),
856
856
  * },
857
857
  * ],
858
+ * ThumbnailConfiguration: { // ThumbnailConfiguration
859
+ * State: "AUTO" || "DISABLED", // required
860
+ * },
858
861
  * },
859
862
  * InputAttachments: [ // __listOfInputAttachment
860
863
  * { // InputAttachment
@@ -1836,6 +1839,9 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
1836
1839
  * // Width: Number("int"),
1837
1840
  * // },
1838
1841
  * // ],
1842
+ * // ThumbnailConfiguration: { // ThumbnailConfiguration
1843
+ * // State: "AUTO" || "DISABLED", // required
1844
+ * // },
1839
1845
  * // },
1840
1846
  * // Id: "STRING_VALUE",
1841
1847
  * // InputAttachments: [ // __listOfInputAttachment
@@ -20,6 +20,7 @@ export * from "./DeleteMultiplexProgramCommand";
20
20
  export * from "./DeleteReservationCommand";
21
21
  export * from "./DeleteScheduleCommand";
22
22
  export * from "./DeleteTagsCommand";
23
+ export * from "./DescribeAccountConfigurationCommand";
23
24
  export * from "./DescribeChannelCommand";
24
25
  export * from "./DescribeInputCommand";
25
26
  export * from "./DescribeInputDeviceCommand";
@@ -30,6 +31,7 @@ export * from "./DescribeMultiplexProgramCommand";
30
31
  export * from "./DescribeOfferingCommand";
31
32
  export * from "./DescribeReservationCommand";
32
33
  export * from "./DescribeScheduleCommand";
34
+ export * from "./DescribeThumbnailsCommand";
33
35
  export * from "./ListChannelsCommand";
34
36
  export * from "./ListInputDeviceTransfersCommand";
35
37
  export * from "./ListInputDevicesCommand";
@@ -49,6 +51,7 @@ export * from "./StartMultiplexCommand";
49
51
  export * from "./StopChannelCommand";
50
52
  export * from "./StopMultiplexCommand";
51
53
  export * from "./TransferInputDeviceCommand";
54
+ export * from "./UpdateAccountConfigurationCommand";
52
55
  export * from "./UpdateChannelClassCommand";
53
56
  export * from "./UpdateChannelCommand";
54
57
  export * from "./UpdateInputCommand";