@aws-sdk/client-mediapackagev2 3.336.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/LICENSE +201 -0
- package/README.md +408 -0
- package/dist-cjs/MediaPackageV2.js +59 -0
- package/dist-cjs/MediaPackageV2Client.js +40 -0
- package/dist-cjs/commands/CreateChannelCommand.js +45 -0
- package/dist-cjs/commands/CreateChannelGroupCommand.js +45 -0
- package/dist-cjs/commands/CreateOriginEndpointCommand.js +45 -0
- package/dist-cjs/commands/DeleteChannelCommand.js +45 -0
- package/dist-cjs/commands/DeleteChannelGroupCommand.js +45 -0
- package/dist-cjs/commands/DeleteChannelPolicyCommand.js +45 -0
- package/dist-cjs/commands/DeleteOriginEndpointCommand.js +45 -0
- package/dist-cjs/commands/DeleteOriginEndpointPolicyCommand.js +45 -0
- package/dist-cjs/commands/GetChannelCommand.js +45 -0
- package/dist-cjs/commands/GetChannelGroupCommand.js +45 -0
- package/dist-cjs/commands/GetChannelPolicyCommand.js +45 -0
- package/dist-cjs/commands/GetOriginEndpointCommand.js +45 -0
- package/dist-cjs/commands/GetOriginEndpointPolicyCommand.js +45 -0
- package/dist-cjs/commands/ListChannelGroupsCommand.js +45 -0
- package/dist-cjs/commands/ListChannelsCommand.js +45 -0
- package/dist-cjs/commands/ListOriginEndpointsCommand.js +45 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +45 -0
- package/dist-cjs/commands/PutChannelPolicyCommand.js +45 -0
- package/dist-cjs/commands/PutOriginEndpointPolicyCommand.js +45 -0
- package/dist-cjs/commands/TagResourceCommand.js +45 -0
- package/dist-cjs/commands/UntagResourceCommand.js +45 -0
- package/dist-cjs/commands/UpdateChannelCommand.js +45 -0
- package/dist-cjs/commands/UpdateChannelGroupCommand.js +45 -0
- package/dist-cjs/commands/UpdateOriginEndpointCommand.js +45 -0
- package/dist-cjs/commands/index.js +27 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/MediaPackageV2ServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +203 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListChannelGroupsPaginator.js +29 -0
- package/dist-cjs/pagination/ListChannelsPaginator.js +29 -0
- package/dist-cjs/pagination/ListOriginEndpointsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1885 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +48 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-es/MediaPackageV2.js +55 -0
- package/dist-es/MediaPackageV2Client.js +36 -0
- package/dist-es/commands/CreateChannelCommand.js +41 -0
- package/dist-es/commands/CreateChannelGroupCommand.js +41 -0
- package/dist-es/commands/CreateOriginEndpointCommand.js +41 -0
- package/dist-es/commands/DeleteChannelCommand.js +41 -0
- package/dist-es/commands/DeleteChannelGroupCommand.js +41 -0
- package/dist-es/commands/DeleteChannelPolicyCommand.js +41 -0
- package/dist-es/commands/DeleteOriginEndpointCommand.js +41 -0
- package/dist-es/commands/DeleteOriginEndpointPolicyCommand.js +41 -0
- package/dist-es/commands/GetChannelCommand.js +41 -0
- package/dist-es/commands/GetChannelGroupCommand.js +41 -0
- package/dist-es/commands/GetChannelPolicyCommand.js +41 -0
- package/dist-es/commands/GetOriginEndpointCommand.js +41 -0
- package/dist-es/commands/GetOriginEndpointPolicyCommand.js +41 -0
- package/dist-es/commands/ListChannelGroupsCommand.js +41 -0
- package/dist-es/commands/ListChannelsCommand.js +41 -0
- package/dist-es/commands/ListOriginEndpointsCommand.js +41 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
- package/dist-es/commands/PutChannelPolicyCommand.js +41 -0
- package/dist-es/commands/PutOriginEndpointPolicyCommand.js +41 -0
- package/dist-es/commands/TagResourceCommand.js +41 -0
- package/dist-es/commands/UntagResourceCommand.js +41 -0
- package/dist-es/commands/UpdateChannelCommand.js +41 -0
- package/dist-es/commands/UpdateChannelGroupCommand.js +41 -0
- package/dist-es/commands/UpdateOriginEndpointCommand.js +41 -0
- package/dist-es/commands/index.js +24 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/MediaPackageV2ServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +193 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListChannelGroupsPaginator.js +25 -0
- package/dist-es/pagination/ListChannelsPaginator.js +25 -0
- package/dist-es/pagination/ListOriginEndpointsPaginator.js +25 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1834 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +17 -0
- package/dist-types/MediaPackageV2.d.ts +189 -0
- package/dist-types/MediaPackageV2Client.d.ts +197 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +110 -0
- package/dist-types/commands/CreateChannelGroupCommand.d.ts +103 -0
- package/dist-types/commands/CreateOriginEndpointCommand.d.ts +220 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +83 -0
- package/dist-types/commands/DeleteChannelGroupCommand.d.ts +82 -0
- package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +83 -0
- package/dist-types/commands/DeleteOriginEndpointCommand.d.ts +81 -0
- package/dist-types/commands/DeleteOriginEndpointPolicyCommand.d.ts +84 -0
- package/dist-types/commands/GetChannelCommand.d.ts +99 -0
- package/dist-types/commands/GetChannelGroupCommand.d.ts +92 -0
- package/dist-types/commands/GetChannelPolicyCommand.d.ts +87 -0
- package/dist-types/commands/GetOriginEndpointCommand.d.ts +153 -0
- package/dist-types/commands/GetOriginEndpointPolicyCommand.d.ts +89 -0
- package/dist-types/commands/ListChannelGroupsCommand.d.ts +91 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +93 -0
- package/dist-types/commands/ListOriginEndpointsCommand.d.ts +113 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +74 -0
- package/dist-types/commands/PutChannelPolicyCommand.d.ts +87 -0
- package/dist-types/commands/PutOriginEndpointPolicyCommand.d.ts +88 -0
- package/dist-types/commands/TagResourceCommand.d.ts +78 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +73 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +104 -0
- package/dist-types/commands/UpdateChannelGroupCommand.d.ts +97 -0
- package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +217 -0
- package/dist-types/commands/index.d.ts +24 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +20 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/MediaPackageV2ServiceException.d.ts +12 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1739 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListChannelGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListChannelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListOriginEndpointsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +218 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +18 -0
- package/dist-types/ts3.4/MediaPackageV2.d.ts +415 -0
- package/dist-types/ts3.4/MediaPackageV2Client.d.ts +259 -0
- package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateChannelGroupCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateOriginEndpointCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteChannelGroupCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteChannelPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteOriginEndpointCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteOriginEndpointPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetChannelGroupCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetChannelPolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetOriginEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetOriginEndpointPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListChannelGroupsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListOriginEndpointsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutChannelPolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/PutOriginEndpointPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateChannelGroupCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateOriginEndpointCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +24 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/MediaPackageV2ServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +542 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListChannelGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListOriginEndpointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +293 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +85 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
- package/package.json +101 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
|
|
5
|
+
import { DeleteOriginEndpointPolicyRequest, DeleteOriginEndpointPolicyResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link DeleteOriginEndpointPolicyCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface DeleteOriginEndpointPolicyCommandInput extends DeleteOriginEndpointPolicyRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link DeleteOriginEndpointPolicyCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface DeleteOriginEndpointPolicyCommandOutput extends DeleteOriginEndpointPolicyResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Delete an origin endpoint policy.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { MediaPackageV2Client, DeleteOriginEndpointPolicyCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import
|
|
27
|
+
* // const { MediaPackageV2Client, DeleteOriginEndpointPolicyCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import
|
|
28
|
+
* const client = new MediaPackageV2Client(config);
|
|
29
|
+
* const input = { // DeleteOriginEndpointPolicyRequest
|
|
30
|
+
* ChannelGroupName: "STRING_VALUE", // required
|
|
31
|
+
* ChannelName: "STRING_VALUE", // required
|
|
32
|
+
* OriginEndpointName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
34
|
+
* const command = new DeleteOriginEndpointPolicyCommand(input);
|
|
35
|
+
* const response = await client.send(command);
|
|
36
|
+
* // {};
|
|
37
|
+
*
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* @param DeleteOriginEndpointPolicyCommandInput - {@link DeleteOriginEndpointPolicyCommandInput}
|
|
41
|
+
* @returns {@link DeleteOriginEndpointPolicyCommandOutput}
|
|
42
|
+
* @see {@link DeleteOriginEndpointPolicyCommandInput} for command's `input` shape.
|
|
43
|
+
* @see {@link DeleteOriginEndpointPolicyCommandOutput} for command's `response` shape.
|
|
44
|
+
* @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
47
|
+
* <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link ConflictException} (client fault)
|
|
50
|
+
* <p>Updating or deleting this resource can cause an inconsistent state.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link InternalServerException} (server fault)
|
|
53
|
+
* <p>Indicates that an error from the service occurred while trying to process a request.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
56
|
+
* <p>The request throughput limit was exceeded.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ValidationException} (client fault)
|
|
59
|
+
* <p>The input failed to meet the constraints specified by the AWS service.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link MediaPackageV2ServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
export declare class DeleteOriginEndpointPolicyCommand extends $Command<DeleteOriginEndpointPolicyCommandInput, DeleteOriginEndpointPolicyCommandOutput, MediaPackageV2ClientResolvedConfig> {
|
|
66
|
+
readonly input: DeleteOriginEndpointPolicyCommandInput;
|
|
67
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
constructor(input: DeleteOriginEndpointPolicyCommandInput);
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteOriginEndpointPolicyCommandInput, DeleteOriginEndpointPolicyCommandOutput>;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
private serialize;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
private deserialize;
|
|
84
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
|
|
5
|
+
import { GetChannelRequest, GetChannelResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link GetChannelCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetChannelCommandInput extends GetChannelRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link GetChannelCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetChannelCommandOutput extends GetChannelResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Retrieves the specified channel that's configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { MediaPackageV2Client, GetChannelCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import
|
|
27
|
+
* // const { MediaPackageV2Client, GetChannelCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import
|
|
28
|
+
* const client = new MediaPackageV2Client(config);
|
|
29
|
+
* const input = { // GetChannelRequest
|
|
30
|
+
* ChannelGroupName: "STRING_VALUE", // required
|
|
31
|
+
* ChannelName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
33
|
+
* const command = new GetChannelCommand(input);
|
|
34
|
+
* const response = await client.send(command);
|
|
35
|
+
* // { // GetChannelResponse
|
|
36
|
+
* // Arn: "STRING_VALUE", // required
|
|
37
|
+
* // ChannelName: "STRING_VALUE", // required
|
|
38
|
+
* // ChannelGroupName: "STRING_VALUE", // required
|
|
39
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
40
|
+
* // ModifiedAt: new Date("TIMESTAMP"), // required
|
|
41
|
+
* // Description: "STRING_VALUE",
|
|
42
|
+
* // IngestEndpoints: [ // IngestEndpointList
|
|
43
|
+
* // { // IngestEndpoint
|
|
44
|
+
* // Id: "STRING_VALUE",
|
|
45
|
+
* // Url: "STRING_VALUE",
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // Tags: { // TagMap
|
|
49
|
+
* // "<keys>": "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param GetChannelCommandInput - {@link GetChannelCommandInput}
|
|
56
|
+
* @returns {@link GetChannelCommandOutput}
|
|
57
|
+
* @see {@link GetChannelCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link GetChannelCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
62
|
+
* <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p>Indicates that an error from the service occurred while trying to process a request.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The specified resource doesn't exist.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The request throughput limit was exceeded.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The input failed to meet the constraints specified by the AWS service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link MediaPackageV2ServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
export declare class GetChannelCommand extends $Command<GetChannelCommandInput, GetChannelCommandOutput, MediaPackageV2ClientResolvedConfig> {
|
|
81
|
+
readonly input: GetChannelCommandInput;
|
|
82
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
constructor(input: GetChannelCommandInput);
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetChannelCommandInput, GetChannelCommandOutput>;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private serialize;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private deserialize;
|
|
99
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
|
|
5
|
+
import { GetChannelGroupRequest, GetChannelGroupResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link GetChannelGroupCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetChannelGroupCommandInput extends GetChannelGroupRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link GetChannelGroupCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetChannelGroupCommandOutput extends GetChannelGroupResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Retrieves the specified channel group that's configured in AWS Elemental MediaPackage, including the channels and origin endpoints that are associated with it.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { MediaPackageV2Client, GetChannelGroupCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import
|
|
27
|
+
* // const { MediaPackageV2Client, GetChannelGroupCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import
|
|
28
|
+
* const client = new MediaPackageV2Client(config);
|
|
29
|
+
* const input = { // GetChannelGroupRequest
|
|
30
|
+
* ChannelGroupName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
32
|
+
* const command = new GetChannelGroupCommand(input);
|
|
33
|
+
* const response = await client.send(command);
|
|
34
|
+
* // { // GetChannelGroupResponse
|
|
35
|
+
* // ChannelGroupName: "STRING_VALUE", // required
|
|
36
|
+
* // Arn: "STRING_VALUE", // required
|
|
37
|
+
* // EgressDomain: "STRING_VALUE", // required
|
|
38
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
39
|
+
* // ModifiedAt: new Date("TIMESTAMP"), // required
|
|
40
|
+
* // Description: "STRING_VALUE",
|
|
41
|
+
* // Tags: { // TagMap
|
|
42
|
+
* // "<keys>": "STRING_VALUE",
|
|
43
|
+
* // },
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param GetChannelGroupCommandInput - {@link GetChannelGroupCommandInput}
|
|
49
|
+
* @returns {@link GetChannelGroupCommandOutput}
|
|
50
|
+
* @see {@link GetChannelGroupCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link GetChannelGroupCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>Indicates that an error from the service occurred while trying to process a request.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The specified resource doesn't exist.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* <p>The request throughput limit was exceeded.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>The input failed to meet the constraints specified by the AWS service.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link MediaPackageV2ServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class GetChannelGroupCommand extends $Command<GetChannelGroupCommandInput, GetChannelGroupCommandOutput, MediaPackageV2ClientResolvedConfig> {
|
|
74
|
+
readonly input: GetChannelGroupCommandInput;
|
|
75
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
constructor(input: GetChannelGroupCommandInput);
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetChannelGroupCommandInput, GetChannelGroupCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private deserialize;
|
|
92
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
|
|
5
|
+
import { GetChannelPolicyRequest, GetChannelPolicyResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link GetChannelPolicyCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetChannelPolicyCommandInput extends GetChannelPolicyRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link GetChannelPolicyCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetChannelPolicyCommandOutput extends GetChannelPolicyResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Retrieves the specified channel policy that's configured in AWS Elemental MediaPackage. With policies, you can specify who has access to AWS resources and what actions they can perform on those resources.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { MediaPackageV2Client, GetChannelPolicyCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import
|
|
27
|
+
* // const { MediaPackageV2Client, GetChannelPolicyCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import
|
|
28
|
+
* const client = new MediaPackageV2Client(config);
|
|
29
|
+
* const input = { // GetChannelPolicyRequest
|
|
30
|
+
* ChannelGroupName: "STRING_VALUE", // required
|
|
31
|
+
* ChannelName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
33
|
+
* const command = new GetChannelPolicyCommand(input);
|
|
34
|
+
* const response = await client.send(command);
|
|
35
|
+
* // { // GetChannelPolicyResponse
|
|
36
|
+
* // ChannelGroupName: "STRING_VALUE", // required
|
|
37
|
+
* // ChannelName: "STRING_VALUE", // required
|
|
38
|
+
* // Policy: "STRING_VALUE", // required
|
|
39
|
+
* // };
|
|
40
|
+
*
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @param GetChannelPolicyCommandInput - {@link GetChannelPolicyCommandInput}
|
|
44
|
+
* @returns {@link GetChannelPolicyCommandOutput}
|
|
45
|
+
* @see {@link GetChannelPolicyCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link GetChannelPolicyCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
50
|
+
* <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link InternalServerException} (server fault)
|
|
53
|
+
* <p>Indicates that an error from the service occurred while trying to process a request.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
56
|
+
* <p>The specified resource doesn't exist.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
59
|
+
* <p>The request throughput limit was exceeded.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ValidationException} (client fault)
|
|
62
|
+
* <p>The input failed to meet the constraints specified by the AWS service.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link MediaPackageV2ServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
export declare class GetChannelPolicyCommand extends $Command<GetChannelPolicyCommandInput, GetChannelPolicyCommandOutput, MediaPackageV2ClientResolvedConfig> {
|
|
69
|
+
readonly input: GetChannelPolicyCommandInput;
|
|
70
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
constructor(input: GetChannelPolicyCommandInput);
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetChannelPolicyCommandInput, GetChannelPolicyCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
private serialize;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
private deserialize;
|
|
87
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
|
|
5
|
+
import { GetOriginEndpointRequest, GetOriginEndpointResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link GetOriginEndpointCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetOriginEndpointCommandInput extends GetOriginEndpointRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link GetOriginEndpointCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetOriginEndpointCommandOutput extends GetOriginEndpointResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Retrieves the specified origin endpoint that's configured in AWS Elemental MediaPackage to obtain its playback URL and to view the packaging settings that it's currently using.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { MediaPackageV2Client, GetOriginEndpointCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import
|
|
27
|
+
* // const { MediaPackageV2Client, GetOriginEndpointCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import
|
|
28
|
+
* const client = new MediaPackageV2Client(config);
|
|
29
|
+
* const input = { // GetOriginEndpointRequest
|
|
30
|
+
* ChannelGroupName: "STRING_VALUE", // required
|
|
31
|
+
* ChannelName: "STRING_VALUE", // required
|
|
32
|
+
* OriginEndpointName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
34
|
+
* const command = new GetOriginEndpointCommand(input);
|
|
35
|
+
* const response = await client.send(command);
|
|
36
|
+
* // { // GetOriginEndpointResponse
|
|
37
|
+
* // Arn: "STRING_VALUE", // required
|
|
38
|
+
* // ChannelGroupName: "STRING_VALUE", // required
|
|
39
|
+
* // ChannelName: "STRING_VALUE", // required
|
|
40
|
+
* // OriginEndpointName: "STRING_VALUE", // required
|
|
41
|
+
* // ContainerType: "TS" || "CMAF", // required
|
|
42
|
+
* // Segment: { // Segment
|
|
43
|
+
* // SegmentDurationSeconds: Number("int"),
|
|
44
|
+
* // SegmentName: "STRING_VALUE",
|
|
45
|
+
* // TsUseAudioRenditionGroup: true || false,
|
|
46
|
+
* // IncludeIframeOnlyStreams: true || false,
|
|
47
|
+
* // TsIncludeDvbSubtitles: true || false,
|
|
48
|
+
* // Scte: { // Scte
|
|
49
|
+
* // ScteFilter: [ // ScteFilterList
|
|
50
|
+
* // "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" || "PROGRAM",
|
|
51
|
+
* // ],
|
|
52
|
+
* // },
|
|
53
|
+
* // Encryption: { // Encryption
|
|
54
|
+
* // ConstantInitializationVector: "STRING_VALUE",
|
|
55
|
+
* // EncryptionMethod: { // EncryptionMethod
|
|
56
|
+
* // TsEncryptionMethod: "AES_128" || "SAMPLE_AES",
|
|
57
|
+
* // CmafEncryptionMethod: "CENC" || "CBCS",
|
|
58
|
+
* // },
|
|
59
|
+
* // KeyRotationIntervalSeconds: Number("int"),
|
|
60
|
+
* // SpekeKeyProvider: { // SpekeKeyProvider
|
|
61
|
+
* // EncryptionContractConfiguration: { // EncryptionContractConfiguration
|
|
62
|
+
* // PresetSpeke20Audio: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED", // required
|
|
63
|
+
* // PresetSpeke20Video: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED", // required
|
|
64
|
+
* // },
|
|
65
|
+
* // ResourceId: "STRING_VALUE", // required
|
|
66
|
+
* // DrmSystems: [ // DrmSystems // required
|
|
67
|
+
* // "CLEAR_KEY_AES_128" || "FAIRPLAY" || "PLAYREADY" || "WIDEVINE",
|
|
68
|
+
* // ],
|
|
69
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
70
|
+
* // Url: "STRING_VALUE", // required
|
|
71
|
+
* // },
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
74
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
75
|
+
* // ModifiedAt: new Date("TIMESTAMP"), // required
|
|
76
|
+
* // Description: "STRING_VALUE",
|
|
77
|
+
* // StartoverWindowSeconds: Number("int"),
|
|
78
|
+
* // HlsManifests: [ // GetHlsManifests
|
|
79
|
+
* // { // GetHlsManifestConfiguration
|
|
80
|
+
* // ManifestName: "STRING_VALUE", // required
|
|
81
|
+
* // Url: "STRING_VALUE", // required
|
|
82
|
+
* // ChildManifestName: "STRING_VALUE",
|
|
83
|
+
* // ManifestWindowSeconds: Number("int"),
|
|
84
|
+
* // ProgramDateTimeIntervalSeconds: Number("int"),
|
|
85
|
+
* // ScteHls: { // ScteHls
|
|
86
|
+
* // AdMarkerHls: "DATERANGE",
|
|
87
|
+
* // },
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // LowLatencyHlsManifests: [ // GetLowLatencyHlsManifests
|
|
91
|
+
* // { // GetLowLatencyHlsManifestConfiguration
|
|
92
|
+
* // ManifestName: "STRING_VALUE", // required
|
|
93
|
+
* // Url: "STRING_VALUE", // required
|
|
94
|
+
* // ChildManifestName: "STRING_VALUE",
|
|
95
|
+
* // ManifestWindowSeconds: Number("int"),
|
|
96
|
+
* // ProgramDateTimeIntervalSeconds: Number("int"),
|
|
97
|
+
* // ScteHls: {
|
|
98
|
+
* // AdMarkerHls: "DATERANGE",
|
|
99
|
+
* // },
|
|
100
|
+
* // },
|
|
101
|
+
* // ],
|
|
102
|
+
* // Tags: { // TagMap
|
|
103
|
+
* // "<keys>": "STRING_VALUE",
|
|
104
|
+
* // },
|
|
105
|
+
* // };
|
|
106
|
+
*
|
|
107
|
+
* ```
|
|
108
|
+
*
|
|
109
|
+
* @param GetOriginEndpointCommandInput - {@link GetOriginEndpointCommandInput}
|
|
110
|
+
* @returns {@link GetOriginEndpointCommandOutput}
|
|
111
|
+
* @see {@link GetOriginEndpointCommandInput} for command's `input` shape.
|
|
112
|
+
* @see {@link GetOriginEndpointCommandOutput} for command's `response` shape.
|
|
113
|
+
* @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
116
|
+
* <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link InternalServerException} (server fault)
|
|
119
|
+
* <p>Indicates that an error from the service occurred while trying to process a request.</p>
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
122
|
+
* <p>The specified resource doesn't exist.</p>
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
125
|
+
* <p>The request throughput limit was exceeded.</p>
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link ValidationException} (client fault)
|
|
128
|
+
* <p>The input failed to meet the constraints specified by the AWS service.</p>
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link MediaPackageV2ServiceException}
|
|
131
|
+
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
132
|
+
*
|
|
133
|
+
*/
|
|
134
|
+
export declare class GetOriginEndpointCommand extends $Command<GetOriginEndpointCommandInput, GetOriginEndpointCommandOutput, MediaPackageV2ClientResolvedConfig> {
|
|
135
|
+
readonly input: GetOriginEndpointCommandInput;
|
|
136
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
constructor(input: GetOriginEndpointCommandInput);
|
|
141
|
+
/**
|
|
142
|
+
* @internal
|
|
143
|
+
*/
|
|
144
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetOriginEndpointCommandInput, GetOriginEndpointCommandOutput>;
|
|
145
|
+
/**
|
|
146
|
+
* @internal
|
|
147
|
+
*/
|
|
148
|
+
private serialize;
|
|
149
|
+
/**
|
|
150
|
+
* @internal
|
|
151
|
+
*/
|
|
152
|
+
private deserialize;
|
|
153
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
|
|
5
|
+
import { GetOriginEndpointPolicyRequest, GetOriginEndpointPolicyResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link GetOriginEndpointPolicyCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetOriginEndpointPolicyCommandInput extends GetOriginEndpointPolicyRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link GetOriginEndpointPolicyCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetOriginEndpointPolicyCommandOutput extends GetOriginEndpointPolicyResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Retrieves the specified origin endpoint policy that's configured in AWS Elemental MediaPackage.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { MediaPackageV2Client, GetOriginEndpointPolicyCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import
|
|
27
|
+
* // const { MediaPackageV2Client, GetOriginEndpointPolicyCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import
|
|
28
|
+
* const client = new MediaPackageV2Client(config);
|
|
29
|
+
* const input = { // GetOriginEndpointPolicyRequest
|
|
30
|
+
* ChannelGroupName: "STRING_VALUE", // required
|
|
31
|
+
* ChannelName: "STRING_VALUE", // required
|
|
32
|
+
* OriginEndpointName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
34
|
+
* const command = new GetOriginEndpointPolicyCommand(input);
|
|
35
|
+
* const response = await client.send(command);
|
|
36
|
+
* // { // GetOriginEndpointPolicyResponse
|
|
37
|
+
* // ChannelGroupName: "STRING_VALUE", // required
|
|
38
|
+
* // ChannelName: "STRING_VALUE", // required
|
|
39
|
+
* // OriginEndpointName: "STRING_VALUE", // required
|
|
40
|
+
* // Policy: "STRING_VALUE", // required
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param GetOriginEndpointPolicyCommandInput - {@link GetOriginEndpointPolicyCommandInput}
|
|
46
|
+
* @returns {@link GetOriginEndpointPolicyCommandOutput}
|
|
47
|
+
* @see {@link GetOriginEndpointPolicyCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link GetOriginEndpointPolicyCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InternalServerException} (server fault)
|
|
55
|
+
* <p>Indicates that an error from the service occurred while trying to process a request.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
|
+
* <p>The specified resource doesn't exist.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
61
|
+
* <p>The request throughput limit was exceeded.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ValidationException} (client fault)
|
|
64
|
+
* <p>The input failed to meet the constraints specified by the AWS service.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link MediaPackageV2ServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
export declare class GetOriginEndpointPolicyCommand extends $Command<GetOriginEndpointPolicyCommandInput, GetOriginEndpointPolicyCommandOutput, MediaPackageV2ClientResolvedConfig> {
|
|
71
|
+
readonly input: GetOriginEndpointPolicyCommandInput;
|
|
72
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
constructor(input: GetOriginEndpointPolicyCommandInput);
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetOriginEndpointPolicyCommandInput, GetOriginEndpointPolicyCommandOutput>;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
private serialize;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
private deserialize;
|
|
89
|
+
}
|