@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,103 @@
|
|
|
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 { CreateChannelGroupRequest, CreateChannelGroupResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link CreateChannelGroupCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface CreateChannelGroupCommandInput extends CreateChannelGroupRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link CreateChannelGroupCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateChannelGroupCommandOutput extends CreateChannelGroupResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Create a channel group to group your channels and origin endpoints. A channel group is the top-level resource that consists of channels and origin endpoints that are associated with it and that provides predictable URLs for stream delivery. All channels and origin endpoints within the channel group are guaranteed to share the DNS. You can create only one channel group with each request. </p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { MediaPackageV2Client, CreateChannelGroupCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import
|
|
27
|
+
* // const { MediaPackageV2Client, CreateChannelGroupCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import
|
|
28
|
+
* const client = new MediaPackageV2Client(config);
|
|
29
|
+
* const input = { // CreateChannelGroupRequest
|
|
30
|
+
* ChannelGroupName: "STRING_VALUE", // required
|
|
31
|
+
* ClientToken: "STRING_VALUE",
|
|
32
|
+
* Description: "STRING_VALUE",
|
|
33
|
+
* Tags: { // TagMap
|
|
34
|
+
* "<keys>": "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* };
|
|
37
|
+
* const command = new CreateChannelGroupCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // CreateChannelGroupResponse
|
|
40
|
+
* // ChannelGroupName: "STRING_VALUE", // required
|
|
41
|
+
* // Arn: "STRING_VALUE", // required
|
|
42
|
+
* // EgressDomain: "STRING_VALUE", // required
|
|
43
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
44
|
+
* // ModifiedAt: new Date("TIMESTAMP"), // required
|
|
45
|
+
* // Description: "STRING_VALUE",
|
|
46
|
+
* // Tags: { // TagMap
|
|
47
|
+
* // "<keys>": "STRING_VALUE",
|
|
48
|
+
* // },
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param CreateChannelGroupCommandInput - {@link CreateChannelGroupCommandInput}
|
|
54
|
+
* @returns {@link CreateChannelGroupCommandOutput}
|
|
55
|
+
* @see {@link CreateChannelGroupCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link CreateChannelGroupCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <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>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* <p>Updating or deleting this resource can cause an inconsistent state.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* <p>Indicates that an error from the service occurred while trying to process a request.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* <p>The specified resource doesn't exist.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
72
|
+
* <p>The request would cause a service quota to be exceeded.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* <p>The request throughput limit was exceeded.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <p>The input failed to meet the constraints specified by the AWS service.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link MediaPackageV2ServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
export declare class CreateChannelGroupCommand extends $Command<CreateChannelGroupCommandInput, CreateChannelGroupCommandOutput, MediaPackageV2ClientResolvedConfig> {
|
|
85
|
+
readonly input: CreateChannelGroupCommandInput;
|
|
86
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
constructor(input: CreateChannelGroupCommandInput);
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateChannelGroupCommandInput, CreateChannelGroupCommandOutput>;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private serialize;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
private deserialize;
|
|
103
|
+
}
|
|
@@ -0,0 +1,220 @@
|
|
|
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 { CreateOriginEndpointRequest, CreateOriginEndpointResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link CreateOriginEndpointCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface CreateOriginEndpointCommandInput extends CreateOriginEndpointRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link CreateOriginEndpointCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>The endpoint is attached to a channel, and represents the output of the live content. You can associate multiple endpoints to a single channel. Each endpoint gives players and downstream CDNs (such as Amazon CloudFront) access to the content for playback. Content can't be served from a channel until it has an endpoint. You can create only one endpoint with each request. </p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { MediaPackageV2Client, CreateOriginEndpointCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import
|
|
27
|
+
* // const { MediaPackageV2Client, CreateOriginEndpointCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import
|
|
28
|
+
* const client = new MediaPackageV2Client(config);
|
|
29
|
+
* const input = { // CreateOriginEndpointRequest
|
|
30
|
+
* ChannelGroupName: "STRING_VALUE", // required
|
|
31
|
+
* ChannelName: "STRING_VALUE", // required
|
|
32
|
+
* OriginEndpointName: "STRING_VALUE", // required
|
|
33
|
+
* ContainerType: "TS" || "CMAF", // required
|
|
34
|
+
* Segment: { // Segment
|
|
35
|
+
* SegmentDurationSeconds: Number("int"),
|
|
36
|
+
* SegmentName: "STRING_VALUE",
|
|
37
|
+
* TsUseAudioRenditionGroup: true || false,
|
|
38
|
+
* IncludeIframeOnlyStreams: true || false,
|
|
39
|
+
* TsIncludeDvbSubtitles: true || false,
|
|
40
|
+
* Scte: { // Scte
|
|
41
|
+
* ScteFilter: [ // ScteFilterList
|
|
42
|
+
* "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" || "PROGRAM",
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* Encryption: { // Encryption
|
|
46
|
+
* ConstantInitializationVector: "STRING_VALUE",
|
|
47
|
+
* EncryptionMethod: { // EncryptionMethod
|
|
48
|
+
* TsEncryptionMethod: "AES_128" || "SAMPLE_AES",
|
|
49
|
+
* CmafEncryptionMethod: "CENC" || "CBCS",
|
|
50
|
+
* },
|
|
51
|
+
* KeyRotationIntervalSeconds: Number("int"),
|
|
52
|
+
* SpekeKeyProvider: { // SpekeKeyProvider
|
|
53
|
+
* EncryptionContractConfiguration: { // EncryptionContractConfiguration
|
|
54
|
+
* PresetSpeke20Audio: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED", // required
|
|
55
|
+
* 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
|
|
56
|
+
* },
|
|
57
|
+
* ResourceId: "STRING_VALUE", // required
|
|
58
|
+
* DrmSystems: [ // DrmSystems // required
|
|
59
|
+
* "CLEAR_KEY_AES_128" || "FAIRPLAY" || "PLAYREADY" || "WIDEVINE",
|
|
60
|
+
* ],
|
|
61
|
+
* RoleArn: "STRING_VALUE", // required
|
|
62
|
+
* Url: "STRING_VALUE", // required
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* ClientToken: "STRING_VALUE",
|
|
67
|
+
* Description: "STRING_VALUE",
|
|
68
|
+
* StartoverWindowSeconds: Number("int"),
|
|
69
|
+
* HlsManifests: [ // CreateHlsManifests
|
|
70
|
+
* { // CreateHlsManifestConfiguration
|
|
71
|
+
* ManifestName: "STRING_VALUE", // required
|
|
72
|
+
* ChildManifestName: "STRING_VALUE",
|
|
73
|
+
* ScteHls: { // ScteHls
|
|
74
|
+
* AdMarkerHls: "DATERANGE",
|
|
75
|
+
* },
|
|
76
|
+
* ManifestWindowSeconds: Number("int"),
|
|
77
|
+
* ProgramDateTimeIntervalSeconds: Number("int"),
|
|
78
|
+
* },
|
|
79
|
+
* ],
|
|
80
|
+
* LowLatencyHlsManifests: [ // CreateLowLatencyHlsManifests
|
|
81
|
+
* { // CreateLowLatencyHlsManifestConfiguration
|
|
82
|
+
* ManifestName: "STRING_VALUE", // required
|
|
83
|
+
* ChildManifestName: "STRING_VALUE",
|
|
84
|
+
* ScteHls: {
|
|
85
|
+
* AdMarkerHls: "DATERANGE",
|
|
86
|
+
* },
|
|
87
|
+
* ManifestWindowSeconds: Number("int"),
|
|
88
|
+
* ProgramDateTimeIntervalSeconds: Number("int"),
|
|
89
|
+
* },
|
|
90
|
+
* ],
|
|
91
|
+
* Tags: { // TagMap
|
|
92
|
+
* "<keys>": "STRING_VALUE",
|
|
93
|
+
* },
|
|
94
|
+
* };
|
|
95
|
+
* const command = new CreateOriginEndpointCommand(input);
|
|
96
|
+
* const response = await client.send(command);
|
|
97
|
+
* // { // CreateOriginEndpointResponse
|
|
98
|
+
* // Arn: "STRING_VALUE", // required
|
|
99
|
+
* // ChannelGroupName: "STRING_VALUE", // required
|
|
100
|
+
* // ChannelName: "STRING_VALUE", // required
|
|
101
|
+
* // OriginEndpointName: "STRING_VALUE", // required
|
|
102
|
+
* // ContainerType: "TS" || "CMAF", // required
|
|
103
|
+
* // Segment: { // Segment
|
|
104
|
+
* // SegmentDurationSeconds: Number("int"),
|
|
105
|
+
* // SegmentName: "STRING_VALUE",
|
|
106
|
+
* // TsUseAudioRenditionGroup: true || false,
|
|
107
|
+
* // IncludeIframeOnlyStreams: true || false,
|
|
108
|
+
* // TsIncludeDvbSubtitles: true || false,
|
|
109
|
+
* // Scte: { // Scte
|
|
110
|
+
* // ScteFilter: [ // ScteFilterList
|
|
111
|
+
* // "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" || "PROGRAM",
|
|
112
|
+
* // ],
|
|
113
|
+
* // },
|
|
114
|
+
* // Encryption: { // Encryption
|
|
115
|
+
* // ConstantInitializationVector: "STRING_VALUE",
|
|
116
|
+
* // EncryptionMethod: { // EncryptionMethod
|
|
117
|
+
* // TsEncryptionMethod: "AES_128" || "SAMPLE_AES",
|
|
118
|
+
* // CmafEncryptionMethod: "CENC" || "CBCS",
|
|
119
|
+
* // },
|
|
120
|
+
* // KeyRotationIntervalSeconds: Number("int"),
|
|
121
|
+
* // SpekeKeyProvider: { // SpekeKeyProvider
|
|
122
|
+
* // EncryptionContractConfiguration: { // EncryptionContractConfiguration
|
|
123
|
+
* // PresetSpeke20Audio: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED", // required
|
|
124
|
+
* // 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
|
|
125
|
+
* // },
|
|
126
|
+
* // ResourceId: "STRING_VALUE", // required
|
|
127
|
+
* // DrmSystems: [ // DrmSystems // required
|
|
128
|
+
* // "CLEAR_KEY_AES_128" || "FAIRPLAY" || "PLAYREADY" || "WIDEVINE",
|
|
129
|
+
* // ],
|
|
130
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
131
|
+
* // Url: "STRING_VALUE", // required
|
|
132
|
+
* // },
|
|
133
|
+
* // },
|
|
134
|
+
* // },
|
|
135
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
136
|
+
* // ModifiedAt: new Date("TIMESTAMP"), // required
|
|
137
|
+
* // Description: "STRING_VALUE",
|
|
138
|
+
* // StartoverWindowSeconds: Number("int"),
|
|
139
|
+
* // HlsManifests: [ // GetHlsManifests
|
|
140
|
+
* // { // GetHlsManifestConfiguration
|
|
141
|
+
* // ManifestName: "STRING_VALUE", // required
|
|
142
|
+
* // Url: "STRING_VALUE", // required
|
|
143
|
+
* // ChildManifestName: "STRING_VALUE",
|
|
144
|
+
* // ManifestWindowSeconds: Number("int"),
|
|
145
|
+
* // ProgramDateTimeIntervalSeconds: Number("int"),
|
|
146
|
+
* // ScteHls: { // ScteHls
|
|
147
|
+
* // AdMarkerHls: "DATERANGE",
|
|
148
|
+
* // },
|
|
149
|
+
* // },
|
|
150
|
+
* // ],
|
|
151
|
+
* // LowLatencyHlsManifests: [ // GetLowLatencyHlsManifests
|
|
152
|
+
* // { // GetLowLatencyHlsManifestConfiguration
|
|
153
|
+
* // ManifestName: "STRING_VALUE", // required
|
|
154
|
+
* // Url: "STRING_VALUE", // required
|
|
155
|
+
* // ChildManifestName: "STRING_VALUE",
|
|
156
|
+
* // ManifestWindowSeconds: Number("int"),
|
|
157
|
+
* // ProgramDateTimeIntervalSeconds: Number("int"),
|
|
158
|
+
* // ScteHls: {
|
|
159
|
+
* // AdMarkerHls: "DATERANGE",
|
|
160
|
+
* // },
|
|
161
|
+
* // },
|
|
162
|
+
* // ],
|
|
163
|
+
* // Tags: { // TagMap
|
|
164
|
+
* // "<keys>": "STRING_VALUE",
|
|
165
|
+
* // },
|
|
166
|
+
* // };
|
|
167
|
+
*
|
|
168
|
+
* ```
|
|
169
|
+
*
|
|
170
|
+
* @param CreateOriginEndpointCommandInput - {@link CreateOriginEndpointCommandInput}
|
|
171
|
+
* @returns {@link CreateOriginEndpointCommandOutput}
|
|
172
|
+
* @see {@link CreateOriginEndpointCommandInput} for command's `input` shape.
|
|
173
|
+
* @see {@link CreateOriginEndpointCommandOutput} for command's `response` shape.
|
|
174
|
+
* @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
|
|
175
|
+
*
|
|
176
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
177
|
+
* <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>
|
|
178
|
+
*
|
|
179
|
+
* @throws {@link ConflictException} (client fault)
|
|
180
|
+
* <p>Updating or deleting this resource can cause an inconsistent state.</p>
|
|
181
|
+
*
|
|
182
|
+
* @throws {@link InternalServerException} (server fault)
|
|
183
|
+
* <p>Indicates that an error from the service occurred while trying to process a request.</p>
|
|
184
|
+
*
|
|
185
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
186
|
+
* <p>The specified resource doesn't exist.</p>
|
|
187
|
+
*
|
|
188
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
189
|
+
* <p>The request would cause a service quota to be exceeded.</p>
|
|
190
|
+
*
|
|
191
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
192
|
+
* <p>The request throughput limit was exceeded.</p>
|
|
193
|
+
*
|
|
194
|
+
* @throws {@link ValidationException} (client fault)
|
|
195
|
+
* <p>The input failed to meet the constraints specified by the AWS service.</p>
|
|
196
|
+
*
|
|
197
|
+
* @throws {@link MediaPackageV2ServiceException}
|
|
198
|
+
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
199
|
+
*
|
|
200
|
+
*/
|
|
201
|
+
export declare class CreateOriginEndpointCommand extends $Command<CreateOriginEndpointCommandInput, CreateOriginEndpointCommandOutput, MediaPackageV2ClientResolvedConfig> {
|
|
202
|
+
readonly input: CreateOriginEndpointCommandInput;
|
|
203
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
204
|
+
/**
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
constructor(input: CreateOriginEndpointCommandInput);
|
|
208
|
+
/**
|
|
209
|
+
* @internal
|
|
210
|
+
*/
|
|
211
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateOriginEndpointCommandInput, CreateOriginEndpointCommandOutput>;
|
|
212
|
+
/**
|
|
213
|
+
* @internal
|
|
214
|
+
*/
|
|
215
|
+
private serialize;
|
|
216
|
+
/**
|
|
217
|
+
* @internal
|
|
218
|
+
*/
|
|
219
|
+
private deserialize;
|
|
220
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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 { DeleteChannelRequest, DeleteChannelResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link DeleteChannelCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface DeleteChannelCommandInput extends DeleteChannelRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link DeleteChannelCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Delete a channel to stop AWS Elemental MediaPackage from receiving further content. You must delete the channel's origin endpoints before you can delete the channel.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { MediaPackageV2Client, DeleteChannelCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import
|
|
27
|
+
* // const { MediaPackageV2Client, DeleteChannelCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import
|
|
28
|
+
* const client = new MediaPackageV2Client(config);
|
|
29
|
+
* const input = { // DeleteChannelRequest
|
|
30
|
+
* ChannelGroupName: "STRING_VALUE", // required
|
|
31
|
+
* ChannelName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
33
|
+
* const command = new DeleteChannelCommand(input);
|
|
34
|
+
* const response = await client.send(command);
|
|
35
|
+
* // {};
|
|
36
|
+
*
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* @param DeleteChannelCommandInput - {@link DeleteChannelCommandInput}
|
|
40
|
+
* @returns {@link DeleteChannelCommandOutput}
|
|
41
|
+
* @see {@link DeleteChannelCommandInput} for command's `input` shape.
|
|
42
|
+
* @see {@link DeleteChannelCommandOutput} for command's `response` shape.
|
|
43
|
+
* @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
46
|
+
* <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>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ConflictException} (client fault)
|
|
49
|
+
* <p>Updating or deleting this resource can cause an inconsistent state.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link InternalServerException} (server fault)
|
|
52
|
+
* <p>Indicates that an error from the service occurred while trying to process a request.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
55
|
+
* <p>The request throughput limit was exceeded.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ValidationException} (client fault)
|
|
58
|
+
* <p>The input failed to meet the constraints specified by the AWS service.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link MediaPackageV2ServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
export declare class DeleteChannelCommand extends $Command<DeleteChannelCommandInput, DeleteChannelCommandOutput, MediaPackageV2ClientResolvedConfig> {
|
|
65
|
+
readonly input: DeleteChannelCommandInput;
|
|
66
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
constructor(input: DeleteChannelCommandInput);
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteChannelCommandInput, DeleteChannelCommandOutput>;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
private serialize;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
private deserialize;
|
|
83
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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 { DeleteChannelGroupRequest, DeleteChannelGroupResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link DeleteChannelGroupCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface DeleteChannelGroupCommandInput extends DeleteChannelGroupRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link DeleteChannelGroupCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface DeleteChannelGroupCommandOutput extends DeleteChannelGroupResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Delete a channel group. You must delete the channel group's channels and origin endpoints before you can delete the channel group. If you delete a channel group, you'll lose access to the egress domain and will have to create a new channel group to replace 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, DeleteChannelGroupCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import
|
|
27
|
+
* // const { MediaPackageV2Client, DeleteChannelGroupCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import
|
|
28
|
+
* const client = new MediaPackageV2Client(config);
|
|
29
|
+
* const input = { // DeleteChannelGroupRequest
|
|
30
|
+
* ChannelGroupName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
32
|
+
* const command = new DeleteChannelGroupCommand(input);
|
|
33
|
+
* const response = await client.send(command);
|
|
34
|
+
* // {};
|
|
35
|
+
*
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* @param DeleteChannelGroupCommandInput - {@link DeleteChannelGroupCommandInput}
|
|
39
|
+
* @returns {@link DeleteChannelGroupCommandOutput}
|
|
40
|
+
* @see {@link DeleteChannelGroupCommandInput} for command's `input` shape.
|
|
41
|
+
* @see {@link DeleteChannelGroupCommandOutput} for command's `response` shape.
|
|
42
|
+
* @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
45
|
+
* <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>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ConflictException} (client fault)
|
|
48
|
+
* <p>Updating or deleting this resource can cause an inconsistent state.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link InternalServerException} (server fault)
|
|
51
|
+
* <p>Indicates that an error from the service occurred while trying to process a request.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
54
|
+
* <p>The request throughput limit was exceeded.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ValidationException} (client fault)
|
|
57
|
+
* <p>The input failed to meet the constraints specified by the AWS service.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link MediaPackageV2ServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
export declare class DeleteChannelGroupCommand extends $Command<DeleteChannelGroupCommandInput, DeleteChannelGroupCommandOutput, MediaPackageV2ClientResolvedConfig> {
|
|
64
|
+
readonly input: DeleteChannelGroupCommandInput;
|
|
65
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
constructor(input: DeleteChannelGroupCommandInput);
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteChannelGroupCommandInput, DeleteChannelGroupCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
private deserialize;
|
|
82
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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 { DeleteChannelPolicyRequest, DeleteChannelPolicyResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link DeleteChannelPolicyCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface DeleteChannelPolicyCommandInput extends DeleteChannelPolicyRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link DeleteChannelPolicyCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface DeleteChannelPolicyCommandOutput extends DeleteChannelPolicyResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Delete a channel 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, DeleteChannelPolicyCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import
|
|
27
|
+
* // const { MediaPackageV2Client, DeleteChannelPolicyCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import
|
|
28
|
+
* const client = new MediaPackageV2Client(config);
|
|
29
|
+
* const input = { // DeleteChannelPolicyRequest
|
|
30
|
+
* ChannelGroupName: "STRING_VALUE", // required
|
|
31
|
+
* ChannelName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
33
|
+
* const command = new DeleteChannelPolicyCommand(input);
|
|
34
|
+
* const response = await client.send(command);
|
|
35
|
+
* // {};
|
|
36
|
+
*
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* @param DeleteChannelPolicyCommandInput - {@link DeleteChannelPolicyCommandInput}
|
|
40
|
+
* @returns {@link DeleteChannelPolicyCommandOutput}
|
|
41
|
+
* @see {@link DeleteChannelPolicyCommandInput} for command's `input` shape.
|
|
42
|
+
* @see {@link DeleteChannelPolicyCommandOutput} for command's `response` shape.
|
|
43
|
+
* @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
46
|
+
* <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>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ConflictException} (client fault)
|
|
49
|
+
* <p>Updating or deleting this resource can cause an inconsistent state.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link InternalServerException} (server fault)
|
|
52
|
+
* <p>Indicates that an error from the service occurred while trying to process a request.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
55
|
+
* <p>The request throughput limit was exceeded.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ValidationException} (client fault)
|
|
58
|
+
* <p>The input failed to meet the constraints specified by the AWS service.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link MediaPackageV2ServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
export declare class DeleteChannelPolicyCommand extends $Command<DeleteChannelPolicyCommandInput, DeleteChannelPolicyCommandOutput, MediaPackageV2ClientResolvedConfig> {
|
|
65
|
+
readonly input: DeleteChannelPolicyCommandInput;
|
|
66
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
constructor(input: DeleteChannelPolicyCommandInput);
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteChannelPolicyCommandInput, DeleteChannelPolicyCommandOutput>;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
private serialize;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
private deserialize;
|
|
83
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 { DeleteOriginEndpointRequest, DeleteOriginEndpointResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link DeleteOriginEndpointCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface DeleteOriginEndpointCommandInput extends DeleteOriginEndpointRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link DeleteOriginEndpointCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface DeleteOriginEndpointCommandOutput extends DeleteOriginEndpointResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Origin endpoints can serve content until they're deleted. Delete the endpoint if it should no longer respond to playback requests. You must delete all endpoints from a channel before you can delete the channel.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { MediaPackageV2Client, DeleteOriginEndpointCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import
|
|
27
|
+
* // const { MediaPackageV2Client, DeleteOriginEndpointCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import
|
|
28
|
+
* const client = new MediaPackageV2Client(config);
|
|
29
|
+
* const input = { // DeleteOriginEndpointRequest
|
|
30
|
+
* ChannelGroupName: "STRING_VALUE", // required
|
|
31
|
+
* ChannelName: "STRING_VALUE", // required
|
|
32
|
+
* OriginEndpointName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
34
|
+
* const command = new DeleteOriginEndpointCommand(input);
|
|
35
|
+
* const response = await client.send(command);
|
|
36
|
+
* // {};
|
|
37
|
+
*
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* @param DeleteOriginEndpointCommandInput - {@link DeleteOriginEndpointCommandInput}
|
|
41
|
+
* @returns {@link DeleteOriginEndpointCommandOutput}
|
|
42
|
+
* @see {@link DeleteOriginEndpointCommandInput} for command's `input` shape.
|
|
43
|
+
* @see {@link DeleteOriginEndpointCommandOutput} 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 InternalServerException} (server fault)
|
|
50
|
+
* <p>Indicates that an error from the service occurred while trying to process a request.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
53
|
+
* <p>The request throughput limit was exceeded.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ValidationException} (client fault)
|
|
56
|
+
* <p>The input failed to meet the constraints specified by the AWS service.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link MediaPackageV2ServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
export declare class DeleteOriginEndpointCommand extends $Command<DeleteOriginEndpointCommandInput, DeleteOriginEndpointCommandOutput, MediaPackageV2ClientResolvedConfig> {
|
|
63
|
+
readonly input: DeleteOriginEndpointCommandInput;
|
|
64
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
constructor(input: DeleteOriginEndpointCommandInput);
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteOriginEndpointCommandInput, DeleteOriginEndpointCommandOutput>;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
private serialize;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
private deserialize;
|
|
81
|
+
}
|