@aws-sdk/client-mediaconvert 3.36.1 → 3.40.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 (68) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist-cjs/MediaConvert.js +45 -0
  3. package/dist-cjs/commands/DeletePolicyCommand.js +36 -0
  4. package/dist-cjs/commands/GetPolicyCommand.js +36 -0
  5. package/dist-cjs/commands/PutPolicyCommand.js +36 -0
  6. package/dist-cjs/commands/UpdateQueueCommand.js +3 -3
  7. package/dist-cjs/commands/index.js +31 -0
  8. package/dist-cjs/endpoints.js +142 -26
  9. package/dist-cjs/index.js +4 -33
  10. package/dist-cjs/models/index.js +1 -0
  11. package/dist-cjs/models/models_0.js +9 -9
  12. package/dist-cjs/models/models_1.js +58 -18
  13. package/dist-cjs/models/models_2.js +15 -0
  14. package/dist-cjs/pagination/index.js +9 -0
  15. package/dist-cjs/protocols/Aws_restJson1.js +339 -1
  16. package/dist-cjs/runtimeConfig.browser.js +6 -3
  17. package/dist-cjs/runtimeConfig.js +5 -3
  18. package/dist-es/MediaConvert.js +45 -0
  19. package/dist-es/commands/DeletePolicyCommand.js +39 -0
  20. package/dist-es/commands/GetPolicyCommand.js +39 -0
  21. package/dist-es/commands/PutPolicyCommand.js +39 -0
  22. package/dist-es/commands/UpdateQueueCommand.js +1 -1
  23. package/dist-es/commands/index.js +28 -0
  24. package/dist-es/endpoints.js +142 -26
  25. package/dist-es/index.js +4 -33
  26. package/dist-es/models/index.js +1 -0
  27. package/dist-es/models/models_0.js +5 -5
  28. package/dist-es/models/models_1.js +38 -8
  29. package/dist-es/models/models_2.js +9 -0
  30. package/dist-es/pagination/index.js +6 -0
  31. package/dist-es/protocols/Aws_restJson1.js +387 -2
  32. package/dist-es/runtimeConfig.browser.js +3 -2
  33. package/dist-es/runtimeConfig.js +3 -3
  34. package/dist-types/MediaConvert.d.ts +21 -0
  35. package/dist-types/MediaConvertClient.d.ts +13 -2
  36. package/dist-types/commands/DeletePolicyCommand.d.ts +35 -0
  37. package/dist-types/commands/GetPolicyCommand.d.ts +35 -0
  38. package/dist-types/commands/PutPolicyCommand.d.ts +35 -0
  39. package/dist-types/commands/UpdateQueueCommand.d.ts +1 -1
  40. package/dist-types/commands/index.d.ts +28 -0
  41. package/dist-types/index.d.ts +4 -33
  42. package/dist-types/models/index.d.ts +1 -0
  43. package/dist-types/models/models_0.d.ts +64 -66
  44. package/dist-types/models/models_1.d.ts +92 -37
  45. package/dist-types/models/models_2.d.ts +37 -0
  46. package/dist-types/pagination/index.d.ts +6 -0
  47. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  48. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  49. package/dist-types/runtimeConfig.d.ts +2 -0
  50. package/dist-types/runtimeConfig.native.d.ts +2 -0
  51. package/dist-types/ts3.4/MediaConvert.d.ts +15 -0
  52. package/dist-types/ts3.4/MediaConvertClient.d.ts +9 -2
  53. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/PutPolicyCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/UpdateQueueCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/index.d.ts +28 -0
  58. package/dist-types/ts3.4/index.d.ts +4 -33
  59. package/dist-types/ts3.4/models/index.d.ts +1 -0
  60. package/dist-types/ts3.4/models/models_0.d.ts +6 -4
  61. package/dist-types/ts3.4/models/models_1.d.ts +64 -23
  62. package/dist-types/ts3.4/models/models_2.d.ts +23 -0
  63. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  64. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +9 -0
  65. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  66. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  67. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  68. package/package.json +32 -32
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient";
4
+ import { DeletePolicyRequest, DeletePolicyResponse } from "../models/models_1";
5
+ export interface DeletePolicyCommandInput extends DeletePolicyRequest {
6
+ }
7
+ export interface DeletePolicyCommandOutput extends DeletePolicyResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * Permanently delete a policy that you created.
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MediaConvertClient, DeletePolicyCommand } from "@aws-sdk/client-mediaconvert"; // ES Modules import
15
+ * // const { MediaConvertClient, DeletePolicyCommand } = require("@aws-sdk/client-mediaconvert"); // CommonJS import
16
+ * const client = new MediaConvertClient(config);
17
+ * const command = new DeletePolicyCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DeletePolicyCommandInput} for command's `input` shape.
22
+ * @see {@link DeletePolicyCommandOutput} for command's `response` shape.
23
+ * @see {@link MediaConvertClientResolvedConfig | config} for command's `input` shape.
24
+ *
25
+ */
26
+ export declare class DeletePolicyCommand extends $Command<DeletePolicyCommandInput, DeletePolicyCommandOutput, MediaConvertClientResolvedConfig> {
27
+ readonly input: DeletePolicyCommandInput;
28
+ constructor(input: DeletePolicyCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeletePolicyCommandInput, DeletePolicyCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient";
4
+ import { GetPolicyRequest, GetPolicyResponse } from "../models/models_1";
5
+ export interface GetPolicyCommandInput extends GetPolicyRequest {
6
+ }
7
+ export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * Retrieve the JSON for your policy.
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MediaConvertClient, GetPolicyCommand } from "@aws-sdk/client-mediaconvert"; // ES Modules import
15
+ * // const { MediaConvertClient, GetPolicyCommand } = require("@aws-sdk/client-mediaconvert"); // CommonJS import
16
+ * const client = new MediaConvertClient(config);
17
+ * const command = new GetPolicyCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetPolicyCommandInput} for command's `input` shape.
22
+ * @see {@link GetPolicyCommandOutput} for command's `response` shape.
23
+ * @see {@link MediaConvertClientResolvedConfig | config} for command's `input` shape.
24
+ *
25
+ */
26
+ export declare class GetPolicyCommand extends $Command<GetPolicyCommandInput, GetPolicyCommandOutput, MediaConvertClientResolvedConfig> {
27
+ readonly input: GetPolicyCommandInput;
28
+ constructor(input: GetPolicyCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPolicyCommandInput, GetPolicyCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient";
4
+ import { PutPolicyRequest, PutPolicyResponse } from "../models/models_1";
5
+ export interface PutPolicyCommandInput extends PutPolicyRequest {
6
+ }
7
+ export interface PutPolicyCommandOutput extends PutPolicyResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * Create or change your policy. For more information about policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MediaConvertClient, PutPolicyCommand } from "@aws-sdk/client-mediaconvert"; // ES Modules import
15
+ * // const { MediaConvertClient, PutPolicyCommand } = require("@aws-sdk/client-mediaconvert"); // CommonJS import
16
+ * const client = new MediaConvertClient(config);
17
+ * const command = new PutPolicyCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link PutPolicyCommandInput} for command's `input` shape.
22
+ * @see {@link PutPolicyCommandOutput} for command's `response` shape.
23
+ * @see {@link MediaConvertClientResolvedConfig | config} for command's `input` shape.
24
+ *
25
+ */
26
+ export declare class PutPolicyCommand extends $Command<PutPolicyCommandInput, PutPolicyCommandOutput, MediaConvertClientResolvedConfig> {
27
+ readonly input: PutPolicyCommandInput;
28
+ constructor(input: PutPolicyCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutPolicyCommandInput, PutPolicyCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient";
4
- import { UpdateQueueRequest, UpdateQueueResponse } from "../models/models_1";
4
+ import { UpdateQueueRequest, UpdateQueueResponse } from "../models/models_2";
5
5
  export interface UpdateQueueCommandInput extends UpdateQueueRequest {
6
6
  }
7
7
  export interface UpdateQueueCommandOutput extends UpdateQueueResponse, __MetadataBearer {
@@ -0,0 +1,28 @@
1
+ export * from "./AssociateCertificateCommand";
2
+ export * from "./CancelJobCommand";
3
+ export * from "./CreateJobCommand";
4
+ export * from "./CreateJobTemplateCommand";
5
+ export * from "./CreatePresetCommand";
6
+ export * from "./CreateQueueCommand";
7
+ export * from "./DeleteJobTemplateCommand";
8
+ export * from "./DeletePolicyCommand";
9
+ export * from "./DeletePresetCommand";
10
+ export * from "./DeleteQueueCommand";
11
+ export * from "./DescribeEndpointsCommand";
12
+ export * from "./DisassociateCertificateCommand";
13
+ export * from "./GetJobCommand";
14
+ export * from "./GetJobTemplateCommand";
15
+ export * from "./GetPolicyCommand";
16
+ export * from "./GetPresetCommand";
17
+ export * from "./GetQueueCommand";
18
+ export * from "./ListJobTemplatesCommand";
19
+ export * from "./ListJobsCommand";
20
+ export * from "./ListPresetsCommand";
21
+ export * from "./ListQueuesCommand";
22
+ export * from "./ListTagsForResourceCommand";
23
+ export * from "./PutPolicyCommand";
24
+ export * from "./TagResourceCommand";
25
+ export * from "./UntagResourceCommand";
26
+ export * from "./UpdateJobTemplateCommand";
27
+ export * from "./UpdatePresetCommand";
28
+ export * from "./UpdateQueueCommand";
@@ -1,34 +1,5 @@
1
- export * from "./MediaConvertClient";
2
1
  export * from "./MediaConvert";
3
- export * from "./commands/AssociateCertificateCommand";
4
- export * from "./commands/CancelJobCommand";
5
- export * from "./commands/CreateJobCommand";
6
- export * from "./commands/CreateJobTemplateCommand";
7
- export * from "./commands/CreatePresetCommand";
8
- export * from "./commands/CreateQueueCommand";
9
- export * from "./commands/DeleteJobTemplateCommand";
10
- export * from "./commands/DeletePresetCommand";
11
- export * from "./commands/DeleteQueueCommand";
12
- export * from "./commands/DescribeEndpointsCommand";
13
- export * from "./pagination/DescribeEndpointsPaginator";
14
- export * from "./commands/DisassociateCertificateCommand";
15
- export * from "./commands/GetJobCommand";
16
- export * from "./commands/GetJobTemplateCommand";
17
- export * from "./commands/GetPresetCommand";
18
- export * from "./commands/GetQueueCommand";
19
- export * from "./commands/ListJobsCommand";
20
- export * from "./pagination/ListJobsPaginator";
21
- export * from "./commands/ListJobTemplatesCommand";
22
- export * from "./pagination/ListJobTemplatesPaginator";
23
- export * from "./commands/ListPresetsCommand";
24
- export * from "./pagination/ListPresetsPaginator";
25
- export * from "./commands/ListQueuesCommand";
26
- export * from "./pagination/ListQueuesPaginator";
27
- export * from "./commands/ListTagsForResourceCommand";
28
- export * from "./commands/TagResourceCommand";
29
- export * from "./commands/UntagResourceCommand";
30
- export * from "./commands/UpdateJobTemplateCommand";
31
- export * from "./commands/UpdatePresetCommand";
32
- export * from "./commands/UpdateQueueCommand";
33
- export * from "./pagination/Interfaces";
34
- export * from "./models/index";
2
+ export * from "./MediaConvertClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -1,2 +1,3 @@
1
1
  export * from "./models_0";
2
2
  export * from "./models_1";
3
+ export * from "./models_2";