@aws-sdk/client-mediapackage 3.32.0 → 3.36.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/CHANGELOG.md +44 -0
- package/{dist/cjs → dist-cjs}/MediaPackage.js +1 -2
- package/{dist/cjs → dist-cjs}/MediaPackageClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/ConfigureLogsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateChannelCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateHarvestJobCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateOriginEndpointCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteChannelCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteOriginEndpointCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeChannelCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeHarvestJobCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeOriginEndpointCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListChannelsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListHarvestJobsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListOriginEndpointsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RotateChannelCredentialsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RotateIngestEndpointCredentialsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateChannelCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateOriginEndpointCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListChannelsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListHarvestJobsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListOriginEndpointsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +6 -7
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/MediaPackage.js +2 -6
- package/{dist/es → dist-es}/MediaPackageClient.js +2 -11
- package/{dist/es → dist-es}/commands/ConfigureLogsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateChannelCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateHarvestJobCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateOriginEndpointCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteChannelCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteOriginEndpointCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeChannelCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeHarvestJobCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeOriginEndpointCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListChannelsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListHarvestJobsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListOriginEndpointsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -13
- package/{dist/es → dist-es}/commands/RotateChannelCredentialsCommand.js +4 -32
- package/{dist/es → dist-es}/commands/RotateIngestEndpointCredentialsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -13
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -13
- package/{dist/es → dist-es}/commands/UpdateChannelCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateOriginEndpointCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -196
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListChannelsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListHarvestJobsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListOriginEndpointsPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +555 -561
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/MediaPackage.d.ts +2 -2
- package/{dist/types → dist-types}/MediaPackageClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/ConfigureLogsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateHarvestJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateOriginEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteOriginEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeHarvestJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeOriginEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListChannelsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListHarvestJobsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListOriginEndpointsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RotateChannelCredentialsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RotateIngestEndpointCredentialsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateOriginEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListChannelsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListHarvestJobsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListOriginEndpointsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/MediaPackage.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/MediaPackageClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/ConfigureLogsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateHarvestJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateOriginEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteOriginEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeHarvestJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeOriginEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListChannelsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListHarvestJobsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListOriginEndpointsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/RotateChannelCredentialsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/RotateIngestEndpointCredentialsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateOriginEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListChannelsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListHarvestJobsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListOriginEndpointsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/MediaPackage.ts +0 -690
- package/MediaPackageClient.ts +0 -316
- package/commands/ConfigureLogsCommand.ts +0 -94
- package/commands/CreateChannelCommand.ts +0 -94
- package/commands/CreateHarvestJobCommand.ts +0 -94
- package/commands/CreateOriginEndpointCommand.ts +0 -94
- package/commands/DeleteChannelCommand.ts +0 -94
- package/commands/DeleteOriginEndpointCommand.ts +0 -94
- package/commands/DescribeChannelCommand.ts +0 -94
- package/commands/DescribeHarvestJobCommand.ts +0 -94
- package/commands/DescribeOriginEndpointCommand.ts +0 -94
- package/commands/ListChannelsCommand.ts +0 -94
- package/commands/ListHarvestJobsCommand.ts +0 -94
- package/commands/ListOriginEndpointsCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -77
- package/commands/RotateChannelCredentialsCommand.ts +0 -96
- package/commands/RotateIngestEndpointCredentialsCommand.ts +0 -102
- package/commands/TagResourceCommand.ts +0 -77
- package/commands/UntagResourceCommand.ts +0 -77
- package/commands/UpdateChannelCommand.ts +0 -94
- package/commands/UpdateOriginEndpointCommand.ts +0 -94
- package/dist/cjs/MediaPackage.js.map +0 -1
- package/dist/cjs/MediaPackageClient.js.map +0 -1
- package/dist/cjs/commands/ConfigureLogsCommand.js.map +0 -1
- package/dist/cjs/commands/CreateChannelCommand.js.map +0 -1
- package/dist/cjs/commands/CreateHarvestJobCommand.js.map +0 -1
- package/dist/cjs/commands/CreateOriginEndpointCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteChannelCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteOriginEndpointCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeChannelCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeHarvestJobCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeOriginEndpointCommand.js.map +0 -1
- package/dist/cjs/commands/ListChannelsCommand.js.map +0 -1
- package/dist/cjs/commands/ListHarvestJobsCommand.js.map +0 -1
- package/dist/cjs/commands/ListOriginEndpointsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/RotateChannelCredentialsCommand.js.map +0 -1
- package/dist/cjs/commands/RotateIngestEndpointCredentialsCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateChannelCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateOriginEndpointCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListChannelsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListHarvestJobsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListOriginEndpointsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/MediaPackage.js.map +0 -1
- package/dist/es/MediaPackageClient.js.map +0 -1
- package/dist/es/commands/ConfigureLogsCommand.js.map +0 -1
- package/dist/es/commands/CreateChannelCommand.js.map +0 -1
- package/dist/es/commands/CreateHarvestJobCommand.js.map +0 -1
- package/dist/es/commands/CreateOriginEndpointCommand.js.map +0 -1
- package/dist/es/commands/DeleteChannelCommand.js.map +0 -1
- package/dist/es/commands/DeleteOriginEndpointCommand.js.map +0 -1
- package/dist/es/commands/DescribeChannelCommand.js.map +0 -1
- package/dist/es/commands/DescribeHarvestJobCommand.js.map +0 -1
- package/dist/es/commands/DescribeOriginEndpointCommand.js.map +0 -1
- package/dist/es/commands/ListChannelsCommand.js.map +0 -1
- package/dist/es/commands/ListHarvestJobsCommand.js.map +0 -1
- package/dist/es/commands/ListOriginEndpointsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/RotateChannelCredentialsCommand.js.map +0 -1
- package/dist/es/commands/RotateIngestEndpointCredentialsCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateChannelCommand.js.map +0 -1
- package/dist/es/commands/UpdateOriginEndpointCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -27
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListChannelsPaginator.js.map +0 -1
- package/dist/es/pagination/ListHarvestJobsPaginator.js.map +0 -1
- package/dist/es/pagination/ListOriginEndpointsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2553
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListChannelsPaginator.ts +0 -58
- package/pagination/ListHarvestJobsPaginator.ts +0 -58
- package/pagination/ListOriginEndpointsPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -3668
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
package/MediaPackage.ts
DELETED
|
@@ -1,690 +0,0 @@
|
|
|
1
|
-
import { MediaPackageClient } from "./MediaPackageClient";
|
|
2
|
-
import {
|
|
3
|
-
ConfigureLogsCommand,
|
|
4
|
-
ConfigureLogsCommandInput,
|
|
5
|
-
ConfigureLogsCommandOutput,
|
|
6
|
-
} from "./commands/ConfigureLogsCommand";
|
|
7
|
-
import {
|
|
8
|
-
CreateChannelCommand,
|
|
9
|
-
CreateChannelCommandInput,
|
|
10
|
-
CreateChannelCommandOutput,
|
|
11
|
-
} from "./commands/CreateChannelCommand";
|
|
12
|
-
import {
|
|
13
|
-
CreateHarvestJobCommand,
|
|
14
|
-
CreateHarvestJobCommandInput,
|
|
15
|
-
CreateHarvestJobCommandOutput,
|
|
16
|
-
} from "./commands/CreateHarvestJobCommand";
|
|
17
|
-
import {
|
|
18
|
-
CreateOriginEndpointCommand,
|
|
19
|
-
CreateOriginEndpointCommandInput,
|
|
20
|
-
CreateOriginEndpointCommandOutput,
|
|
21
|
-
} from "./commands/CreateOriginEndpointCommand";
|
|
22
|
-
import {
|
|
23
|
-
DeleteChannelCommand,
|
|
24
|
-
DeleteChannelCommandInput,
|
|
25
|
-
DeleteChannelCommandOutput,
|
|
26
|
-
} from "./commands/DeleteChannelCommand";
|
|
27
|
-
import {
|
|
28
|
-
DeleteOriginEndpointCommand,
|
|
29
|
-
DeleteOriginEndpointCommandInput,
|
|
30
|
-
DeleteOriginEndpointCommandOutput,
|
|
31
|
-
} from "./commands/DeleteOriginEndpointCommand";
|
|
32
|
-
import {
|
|
33
|
-
DescribeChannelCommand,
|
|
34
|
-
DescribeChannelCommandInput,
|
|
35
|
-
DescribeChannelCommandOutput,
|
|
36
|
-
} from "./commands/DescribeChannelCommand";
|
|
37
|
-
import {
|
|
38
|
-
DescribeHarvestJobCommand,
|
|
39
|
-
DescribeHarvestJobCommandInput,
|
|
40
|
-
DescribeHarvestJobCommandOutput,
|
|
41
|
-
} from "./commands/DescribeHarvestJobCommand";
|
|
42
|
-
import {
|
|
43
|
-
DescribeOriginEndpointCommand,
|
|
44
|
-
DescribeOriginEndpointCommandInput,
|
|
45
|
-
DescribeOriginEndpointCommandOutput,
|
|
46
|
-
} from "./commands/DescribeOriginEndpointCommand";
|
|
47
|
-
import {
|
|
48
|
-
ListChannelsCommand,
|
|
49
|
-
ListChannelsCommandInput,
|
|
50
|
-
ListChannelsCommandOutput,
|
|
51
|
-
} from "./commands/ListChannelsCommand";
|
|
52
|
-
import {
|
|
53
|
-
ListHarvestJobsCommand,
|
|
54
|
-
ListHarvestJobsCommandInput,
|
|
55
|
-
ListHarvestJobsCommandOutput,
|
|
56
|
-
} from "./commands/ListHarvestJobsCommand";
|
|
57
|
-
import {
|
|
58
|
-
ListOriginEndpointsCommand,
|
|
59
|
-
ListOriginEndpointsCommandInput,
|
|
60
|
-
ListOriginEndpointsCommandOutput,
|
|
61
|
-
} from "./commands/ListOriginEndpointsCommand";
|
|
62
|
-
import {
|
|
63
|
-
ListTagsForResourceCommand,
|
|
64
|
-
ListTagsForResourceCommandInput,
|
|
65
|
-
ListTagsForResourceCommandOutput,
|
|
66
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
67
|
-
import {
|
|
68
|
-
RotateChannelCredentialsCommand,
|
|
69
|
-
RotateChannelCredentialsCommandInput,
|
|
70
|
-
RotateChannelCredentialsCommandOutput,
|
|
71
|
-
} from "./commands/RotateChannelCredentialsCommand";
|
|
72
|
-
import {
|
|
73
|
-
RotateIngestEndpointCredentialsCommand,
|
|
74
|
-
RotateIngestEndpointCredentialsCommandInput,
|
|
75
|
-
RotateIngestEndpointCredentialsCommandOutput,
|
|
76
|
-
} from "./commands/RotateIngestEndpointCredentialsCommand";
|
|
77
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
78
|
-
import {
|
|
79
|
-
UntagResourceCommand,
|
|
80
|
-
UntagResourceCommandInput,
|
|
81
|
-
UntagResourceCommandOutput,
|
|
82
|
-
} from "./commands/UntagResourceCommand";
|
|
83
|
-
import {
|
|
84
|
-
UpdateChannelCommand,
|
|
85
|
-
UpdateChannelCommandInput,
|
|
86
|
-
UpdateChannelCommandOutput,
|
|
87
|
-
} from "./commands/UpdateChannelCommand";
|
|
88
|
-
import {
|
|
89
|
-
UpdateOriginEndpointCommand,
|
|
90
|
-
UpdateOriginEndpointCommandInput,
|
|
91
|
-
UpdateOriginEndpointCommandOutput,
|
|
92
|
-
} from "./commands/UpdateOriginEndpointCommand";
|
|
93
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* AWS Elemental MediaPackage
|
|
97
|
-
*/
|
|
98
|
-
export class MediaPackage extends MediaPackageClient {
|
|
99
|
-
/**
|
|
100
|
-
* Changes the Channel's properities to configure log subscription
|
|
101
|
-
*/
|
|
102
|
-
public configureLogs(
|
|
103
|
-
args: ConfigureLogsCommandInput,
|
|
104
|
-
options?: __HttpHandlerOptions
|
|
105
|
-
): Promise<ConfigureLogsCommandOutput>;
|
|
106
|
-
public configureLogs(
|
|
107
|
-
args: ConfigureLogsCommandInput,
|
|
108
|
-
cb: (err: any, data?: ConfigureLogsCommandOutput) => void
|
|
109
|
-
): void;
|
|
110
|
-
public configureLogs(
|
|
111
|
-
args: ConfigureLogsCommandInput,
|
|
112
|
-
options: __HttpHandlerOptions,
|
|
113
|
-
cb: (err: any, data?: ConfigureLogsCommandOutput) => void
|
|
114
|
-
): void;
|
|
115
|
-
public configureLogs(
|
|
116
|
-
args: ConfigureLogsCommandInput,
|
|
117
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ConfigureLogsCommandOutput) => void),
|
|
118
|
-
cb?: (err: any, data?: ConfigureLogsCommandOutput) => void
|
|
119
|
-
): Promise<ConfigureLogsCommandOutput> | void {
|
|
120
|
-
const command = new ConfigureLogsCommand(args);
|
|
121
|
-
if (typeof optionsOrCb === "function") {
|
|
122
|
-
this.send(command, optionsOrCb);
|
|
123
|
-
} else if (typeof cb === "function") {
|
|
124
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
125
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
126
|
-
} else {
|
|
127
|
-
return this.send(command, optionsOrCb);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* Creates a new Channel.
|
|
133
|
-
*/
|
|
134
|
-
public createChannel(
|
|
135
|
-
args: CreateChannelCommandInput,
|
|
136
|
-
options?: __HttpHandlerOptions
|
|
137
|
-
): Promise<CreateChannelCommandOutput>;
|
|
138
|
-
public createChannel(
|
|
139
|
-
args: CreateChannelCommandInput,
|
|
140
|
-
cb: (err: any, data?: CreateChannelCommandOutput) => void
|
|
141
|
-
): void;
|
|
142
|
-
public createChannel(
|
|
143
|
-
args: CreateChannelCommandInput,
|
|
144
|
-
options: __HttpHandlerOptions,
|
|
145
|
-
cb: (err: any, data?: CreateChannelCommandOutput) => void
|
|
146
|
-
): void;
|
|
147
|
-
public createChannel(
|
|
148
|
-
args: CreateChannelCommandInput,
|
|
149
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateChannelCommandOutput) => void),
|
|
150
|
-
cb?: (err: any, data?: CreateChannelCommandOutput) => void
|
|
151
|
-
): Promise<CreateChannelCommandOutput> | void {
|
|
152
|
-
const command = new CreateChannelCommand(args);
|
|
153
|
-
if (typeof optionsOrCb === "function") {
|
|
154
|
-
this.send(command, optionsOrCb);
|
|
155
|
-
} else if (typeof cb === "function") {
|
|
156
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
157
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
158
|
-
} else {
|
|
159
|
-
return this.send(command, optionsOrCb);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Creates a new HarvestJob record.
|
|
165
|
-
*/
|
|
166
|
-
public createHarvestJob(
|
|
167
|
-
args: CreateHarvestJobCommandInput,
|
|
168
|
-
options?: __HttpHandlerOptions
|
|
169
|
-
): Promise<CreateHarvestJobCommandOutput>;
|
|
170
|
-
public createHarvestJob(
|
|
171
|
-
args: CreateHarvestJobCommandInput,
|
|
172
|
-
cb: (err: any, data?: CreateHarvestJobCommandOutput) => void
|
|
173
|
-
): void;
|
|
174
|
-
public createHarvestJob(
|
|
175
|
-
args: CreateHarvestJobCommandInput,
|
|
176
|
-
options: __HttpHandlerOptions,
|
|
177
|
-
cb: (err: any, data?: CreateHarvestJobCommandOutput) => void
|
|
178
|
-
): void;
|
|
179
|
-
public createHarvestJob(
|
|
180
|
-
args: CreateHarvestJobCommandInput,
|
|
181
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateHarvestJobCommandOutput) => void),
|
|
182
|
-
cb?: (err: any, data?: CreateHarvestJobCommandOutput) => void
|
|
183
|
-
): Promise<CreateHarvestJobCommandOutput> | void {
|
|
184
|
-
const command = new CreateHarvestJobCommand(args);
|
|
185
|
-
if (typeof optionsOrCb === "function") {
|
|
186
|
-
this.send(command, optionsOrCb);
|
|
187
|
-
} else if (typeof cb === "function") {
|
|
188
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
189
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
190
|
-
} else {
|
|
191
|
-
return this.send(command, optionsOrCb);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* Creates a new OriginEndpoint record.
|
|
197
|
-
*/
|
|
198
|
-
public createOriginEndpoint(
|
|
199
|
-
args: CreateOriginEndpointCommandInput,
|
|
200
|
-
options?: __HttpHandlerOptions
|
|
201
|
-
): Promise<CreateOriginEndpointCommandOutput>;
|
|
202
|
-
public createOriginEndpoint(
|
|
203
|
-
args: CreateOriginEndpointCommandInput,
|
|
204
|
-
cb: (err: any, data?: CreateOriginEndpointCommandOutput) => void
|
|
205
|
-
): void;
|
|
206
|
-
public createOriginEndpoint(
|
|
207
|
-
args: CreateOriginEndpointCommandInput,
|
|
208
|
-
options: __HttpHandlerOptions,
|
|
209
|
-
cb: (err: any, data?: CreateOriginEndpointCommandOutput) => void
|
|
210
|
-
): void;
|
|
211
|
-
public createOriginEndpoint(
|
|
212
|
-
args: CreateOriginEndpointCommandInput,
|
|
213
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateOriginEndpointCommandOutput) => void),
|
|
214
|
-
cb?: (err: any, data?: CreateOriginEndpointCommandOutput) => void
|
|
215
|
-
): Promise<CreateOriginEndpointCommandOutput> | void {
|
|
216
|
-
const command = new CreateOriginEndpointCommand(args);
|
|
217
|
-
if (typeof optionsOrCb === "function") {
|
|
218
|
-
this.send(command, optionsOrCb);
|
|
219
|
-
} else if (typeof cb === "function") {
|
|
220
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
221
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
222
|
-
} else {
|
|
223
|
-
return this.send(command, optionsOrCb);
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* Deletes an existing Channel.
|
|
229
|
-
*/
|
|
230
|
-
public deleteChannel(
|
|
231
|
-
args: DeleteChannelCommandInput,
|
|
232
|
-
options?: __HttpHandlerOptions
|
|
233
|
-
): Promise<DeleteChannelCommandOutput>;
|
|
234
|
-
public deleteChannel(
|
|
235
|
-
args: DeleteChannelCommandInput,
|
|
236
|
-
cb: (err: any, data?: DeleteChannelCommandOutput) => void
|
|
237
|
-
): void;
|
|
238
|
-
public deleteChannel(
|
|
239
|
-
args: DeleteChannelCommandInput,
|
|
240
|
-
options: __HttpHandlerOptions,
|
|
241
|
-
cb: (err: any, data?: DeleteChannelCommandOutput) => void
|
|
242
|
-
): void;
|
|
243
|
-
public deleteChannel(
|
|
244
|
-
args: DeleteChannelCommandInput,
|
|
245
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteChannelCommandOutput) => void),
|
|
246
|
-
cb?: (err: any, data?: DeleteChannelCommandOutput) => void
|
|
247
|
-
): Promise<DeleteChannelCommandOutput> | void {
|
|
248
|
-
const command = new DeleteChannelCommand(args);
|
|
249
|
-
if (typeof optionsOrCb === "function") {
|
|
250
|
-
this.send(command, optionsOrCb);
|
|
251
|
-
} else if (typeof cb === "function") {
|
|
252
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
253
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
254
|
-
} else {
|
|
255
|
-
return this.send(command, optionsOrCb);
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* Deletes an existing OriginEndpoint.
|
|
261
|
-
*/
|
|
262
|
-
public deleteOriginEndpoint(
|
|
263
|
-
args: DeleteOriginEndpointCommandInput,
|
|
264
|
-
options?: __HttpHandlerOptions
|
|
265
|
-
): Promise<DeleteOriginEndpointCommandOutput>;
|
|
266
|
-
public deleteOriginEndpoint(
|
|
267
|
-
args: DeleteOriginEndpointCommandInput,
|
|
268
|
-
cb: (err: any, data?: DeleteOriginEndpointCommandOutput) => void
|
|
269
|
-
): void;
|
|
270
|
-
public deleteOriginEndpoint(
|
|
271
|
-
args: DeleteOriginEndpointCommandInput,
|
|
272
|
-
options: __HttpHandlerOptions,
|
|
273
|
-
cb: (err: any, data?: DeleteOriginEndpointCommandOutput) => void
|
|
274
|
-
): void;
|
|
275
|
-
public deleteOriginEndpoint(
|
|
276
|
-
args: DeleteOriginEndpointCommandInput,
|
|
277
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteOriginEndpointCommandOutput) => void),
|
|
278
|
-
cb?: (err: any, data?: DeleteOriginEndpointCommandOutput) => void
|
|
279
|
-
): Promise<DeleteOriginEndpointCommandOutput> | void {
|
|
280
|
-
const command = new DeleteOriginEndpointCommand(args);
|
|
281
|
-
if (typeof optionsOrCb === "function") {
|
|
282
|
-
this.send(command, optionsOrCb);
|
|
283
|
-
} else if (typeof cb === "function") {
|
|
284
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
285
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
286
|
-
} else {
|
|
287
|
-
return this.send(command, optionsOrCb);
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
/**
|
|
292
|
-
* Gets details about a Channel.
|
|
293
|
-
*/
|
|
294
|
-
public describeChannel(
|
|
295
|
-
args: DescribeChannelCommandInput,
|
|
296
|
-
options?: __HttpHandlerOptions
|
|
297
|
-
): Promise<DescribeChannelCommandOutput>;
|
|
298
|
-
public describeChannel(
|
|
299
|
-
args: DescribeChannelCommandInput,
|
|
300
|
-
cb: (err: any, data?: DescribeChannelCommandOutput) => void
|
|
301
|
-
): void;
|
|
302
|
-
public describeChannel(
|
|
303
|
-
args: DescribeChannelCommandInput,
|
|
304
|
-
options: __HttpHandlerOptions,
|
|
305
|
-
cb: (err: any, data?: DescribeChannelCommandOutput) => void
|
|
306
|
-
): void;
|
|
307
|
-
public describeChannel(
|
|
308
|
-
args: DescribeChannelCommandInput,
|
|
309
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeChannelCommandOutput) => void),
|
|
310
|
-
cb?: (err: any, data?: DescribeChannelCommandOutput) => void
|
|
311
|
-
): Promise<DescribeChannelCommandOutput> | void {
|
|
312
|
-
const command = new DescribeChannelCommand(args);
|
|
313
|
-
if (typeof optionsOrCb === "function") {
|
|
314
|
-
this.send(command, optionsOrCb);
|
|
315
|
-
} else if (typeof cb === "function") {
|
|
316
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
317
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
318
|
-
} else {
|
|
319
|
-
return this.send(command, optionsOrCb);
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* Gets details about an existing HarvestJob.
|
|
325
|
-
*/
|
|
326
|
-
public describeHarvestJob(
|
|
327
|
-
args: DescribeHarvestJobCommandInput,
|
|
328
|
-
options?: __HttpHandlerOptions
|
|
329
|
-
): Promise<DescribeHarvestJobCommandOutput>;
|
|
330
|
-
public describeHarvestJob(
|
|
331
|
-
args: DescribeHarvestJobCommandInput,
|
|
332
|
-
cb: (err: any, data?: DescribeHarvestJobCommandOutput) => void
|
|
333
|
-
): void;
|
|
334
|
-
public describeHarvestJob(
|
|
335
|
-
args: DescribeHarvestJobCommandInput,
|
|
336
|
-
options: __HttpHandlerOptions,
|
|
337
|
-
cb: (err: any, data?: DescribeHarvestJobCommandOutput) => void
|
|
338
|
-
): void;
|
|
339
|
-
public describeHarvestJob(
|
|
340
|
-
args: DescribeHarvestJobCommandInput,
|
|
341
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeHarvestJobCommandOutput) => void),
|
|
342
|
-
cb?: (err: any, data?: DescribeHarvestJobCommandOutput) => void
|
|
343
|
-
): Promise<DescribeHarvestJobCommandOutput> | void {
|
|
344
|
-
const command = new DescribeHarvestJobCommand(args);
|
|
345
|
-
if (typeof optionsOrCb === "function") {
|
|
346
|
-
this.send(command, optionsOrCb);
|
|
347
|
-
} else if (typeof cb === "function") {
|
|
348
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
349
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
350
|
-
} else {
|
|
351
|
-
return this.send(command, optionsOrCb);
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* Gets details about an existing OriginEndpoint.
|
|
357
|
-
*/
|
|
358
|
-
public describeOriginEndpoint(
|
|
359
|
-
args: DescribeOriginEndpointCommandInput,
|
|
360
|
-
options?: __HttpHandlerOptions
|
|
361
|
-
): Promise<DescribeOriginEndpointCommandOutput>;
|
|
362
|
-
public describeOriginEndpoint(
|
|
363
|
-
args: DescribeOriginEndpointCommandInput,
|
|
364
|
-
cb: (err: any, data?: DescribeOriginEndpointCommandOutput) => void
|
|
365
|
-
): void;
|
|
366
|
-
public describeOriginEndpoint(
|
|
367
|
-
args: DescribeOriginEndpointCommandInput,
|
|
368
|
-
options: __HttpHandlerOptions,
|
|
369
|
-
cb: (err: any, data?: DescribeOriginEndpointCommandOutput) => void
|
|
370
|
-
): void;
|
|
371
|
-
public describeOriginEndpoint(
|
|
372
|
-
args: DescribeOriginEndpointCommandInput,
|
|
373
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeOriginEndpointCommandOutput) => void),
|
|
374
|
-
cb?: (err: any, data?: DescribeOriginEndpointCommandOutput) => void
|
|
375
|
-
): Promise<DescribeOriginEndpointCommandOutput> | void {
|
|
376
|
-
const command = new DescribeOriginEndpointCommand(args);
|
|
377
|
-
if (typeof optionsOrCb === "function") {
|
|
378
|
-
this.send(command, optionsOrCb);
|
|
379
|
-
} else if (typeof cb === "function") {
|
|
380
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
381
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
382
|
-
} else {
|
|
383
|
-
return this.send(command, optionsOrCb);
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* Returns a collection of Channels.
|
|
389
|
-
*/
|
|
390
|
-
public listChannels(
|
|
391
|
-
args: ListChannelsCommandInput,
|
|
392
|
-
options?: __HttpHandlerOptions
|
|
393
|
-
): Promise<ListChannelsCommandOutput>;
|
|
394
|
-
public listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
395
|
-
public listChannels(
|
|
396
|
-
args: ListChannelsCommandInput,
|
|
397
|
-
options: __HttpHandlerOptions,
|
|
398
|
-
cb: (err: any, data?: ListChannelsCommandOutput) => void
|
|
399
|
-
): void;
|
|
400
|
-
public listChannels(
|
|
401
|
-
args: ListChannelsCommandInput,
|
|
402
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListChannelsCommandOutput) => void),
|
|
403
|
-
cb?: (err: any, data?: ListChannelsCommandOutput) => void
|
|
404
|
-
): Promise<ListChannelsCommandOutput> | void {
|
|
405
|
-
const command = new ListChannelsCommand(args);
|
|
406
|
-
if (typeof optionsOrCb === "function") {
|
|
407
|
-
this.send(command, optionsOrCb);
|
|
408
|
-
} else if (typeof cb === "function") {
|
|
409
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
410
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
411
|
-
} else {
|
|
412
|
-
return this.send(command, optionsOrCb);
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* Returns a collection of HarvestJob records.
|
|
418
|
-
*/
|
|
419
|
-
public listHarvestJobs(
|
|
420
|
-
args: ListHarvestJobsCommandInput,
|
|
421
|
-
options?: __HttpHandlerOptions
|
|
422
|
-
): Promise<ListHarvestJobsCommandOutput>;
|
|
423
|
-
public listHarvestJobs(
|
|
424
|
-
args: ListHarvestJobsCommandInput,
|
|
425
|
-
cb: (err: any, data?: ListHarvestJobsCommandOutput) => void
|
|
426
|
-
): void;
|
|
427
|
-
public listHarvestJobs(
|
|
428
|
-
args: ListHarvestJobsCommandInput,
|
|
429
|
-
options: __HttpHandlerOptions,
|
|
430
|
-
cb: (err: any, data?: ListHarvestJobsCommandOutput) => void
|
|
431
|
-
): void;
|
|
432
|
-
public listHarvestJobs(
|
|
433
|
-
args: ListHarvestJobsCommandInput,
|
|
434
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListHarvestJobsCommandOutput) => void),
|
|
435
|
-
cb?: (err: any, data?: ListHarvestJobsCommandOutput) => void
|
|
436
|
-
): Promise<ListHarvestJobsCommandOutput> | void {
|
|
437
|
-
const command = new ListHarvestJobsCommand(args);
|
|
438
|
-
if (typeof optionsOrCb === "function") {
|
|
439
|
-
this.send(command, optionsOrCb);
|
|
440
|
-
} else if (typeof cb === "function") {
|
|
441
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
442
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
443
|
-
} else {
|
|
444
|
-
return this.send(command, optionsOrCb);
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
/**
|
|
449
|
-
* Returns a collection of OriginEndpoint records.
|
|
450
|
-
*/
|
|
451
|
-
public listOriginEndpoints(
|
|
452
|
-
args: ListOriginEndpointsCommandInput,
|
|
453
|
-
options?: __HttpHandlerOptions
|
|
454
|
-
): Promise<ListOriginEndpointsCommandOutput>;
|
|
455
|
-
public listOriginEndpoints(
|
|
456
|
-
args: ListOriginEndpointsCommandInput,
|
|
457
|
-
cb: (err: any, data?: ListOriginEndpointsCommandOutput) => void
|
|
458
|
-
): void;
|
|
459
|
-
public listOriginEndpoints(
|
|
460
|
-
args: ListOriginEndpointsCommandInput,
|
|
461
|
-
options: __HttpHandlerOptions,
|
|
462
|
-
cb: (err: any, data?: ListOriginEndpointsCommandOutput) => void
|
|
463
|
-
): void;
|
|
464
|
-
public listOriginEndpoints(
|
|
465
|
-
args: ListOriginEndpointsCommandInput,
|
|
466
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListOriginEndpointsCommandOutput) => void),
|
|
467
|
-
cb?: (err: any, data?: ListOriginEndpointsCommandOutput) => void
|
|
468
|
-
): Promise<ListOriginEndpointsCommandOutput> | void {
|
|
469
|
-
const command = new ListOriginEndpointsCommand(args);
|
|
470
|
-
if (typeof optionsOrCb === "function") {
|
|
471
|
-
this.send(command, optionsOrCb);
|
|
472
|
-
} else if (typeof cb === "function") {
|
|
473
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
474
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
475
|
-
} else {
|
|
476
|
-
return this.send(command, optionsOrCb);
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
public listTagsForResource(
|
|
481
|
-
args: ListTagsForResourceCommandInput,
|
|
482
|
-
options?: __HttpHandlerOptions
|
|
483
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
484
|
-
public listTagsForResource(
|
|
485
|
-
args: ListTagsForResourceCommandInput,
|
|
486
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
487
|
-
): void;
|
|
488
|
-
public listTagsForResource(
|
|
489
|
-
args: ListTagsForResourceCommandInput,
|
|
490
|
-
options: __HttpHandlerOptions,
|
|
491
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
492
|
-
): void;
|
|
493
|
-
public listTagsForResource(
|
|
494
|
-
args: ListTagsForResourceCommandInput,
|
|
495
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
496
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
497
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
498
|
-
const command = new ListTagsForResourceCommand(args);
|
|
499
|
-
if (typeof optionsOrCb === "function") {
|
|
500
|
-
this.send(command, optionsOrCb);
|
|
501
|
-
} else if (typeof cb === "function") {
|
|
502
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
503
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
504
|
-
} else {
|
|
505
|
-
return this.send(command, optionsOrCb);
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
/**
|
|
510
|
-
* @deprecated
|
|
511
|
-
*
|
|
512
|
-
* Changes the Channel's first IngestEndpoint's username and password. WARNING - This API is deprecated. Please use RotateIngestEndpointCredentials instead
|
|
513
|
-
*/
|
|
514
|
-
public rotateChannelCredentials(
|
|
515
|
-
args: RotateChannelCredentialsCommandInput,
|
|
516
|
-
options?: __HttpHandlerOptions
|
|
517
|
-
): Promise<RotateChannelCredentialsCommandOutput>;
|
|
518
|
-
public rotateChannelCredentials(
|
|
519
|
-
args: RotateChannelCredentialsCommandInput,
|
|
520
|
-
cb: (err: any, data?: RotateChannelCredentialsCommandOutput) => void
|
|
521
|
-
): void;
|
|
522
|
-
public rotateChannelCredentials(
|
|
523
|
-
args: RotateChannelCredentialsCommandInput,
|
|
524
|
-
options: __HttpHandlerOptions,
|
|
525
|
-
cb: (err: any, data?: RotateChannelCredentialsCommandOutput) => void
|
|
526
|
-
): void;
|
|
527
|
-
public rotateChannelCredentials(
|
|
528
|
-
args: RotateChannelCredentialsCommandInput,
|
|
529
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RotateChannelCredentialsCommandOutput) => void),
|
|
530
|
-
cb?: (err: any, data?: RotateChannelCredentialsCommandOutput) => void
|
|
531
|
-
): Promise<RotateChannelCredentialsCommandOutput> | void {
|
|
532
|
-
const command = new RotateChannelCredentialsCommand(args);
|
|
533
|
-
if (typeof optionsOrCb === "function") {
|
|
534
|
-
this.send(command, optionsOrCb);
|
|
535
|
-
} else if (typeof cb === "function") {
|
|
536
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
537
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
538
|
-
} else {
|
|
539
|
-
return this.send(command, optionsOrCb);
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
/**
|
|
544
|
-
* Rotate the IngestEndpoint's username and password, as specified by the IngestEndpoint's id.
|
|
545
|
-
*/
|
|
546
|
-
public rotateIngestEndpointCredentials(
|
|
547
|
-
args: RotateIngestEndpointCredentialsCommandInput,
|
|
548
|
-
options?: __HttpHandlerOptions
|
|
549
|
-
): Promise<RotateIngestEndpointCredentialsCommandOutput>;
|
|
550
|
-
public rotateIngestEndpointCredentials(
|
|
551
|
-
args: RotateIngestEndpointCredentialsCommandInput,
|
|
552
|
-
cb: (err: any, data?: RotateIngestEndpointCredentialsCommandOutput) => void
|
|
553
|
-
): void;
|
|
554
|
-
public rotateIngestEndpointCredentials(
|
|
555
|
-
args: RotateIngestEndpointCredentialsCommandInput,
|
|
556
|
-
options: __HttpHandlerOptions,
|
|
557
|
-
cb: (err: any, data?: RotateIngestEndpointCredentialsCommandOutput) => void
|
|
558
|
-
): void;
|
|
559
|
-
public rotateIngestEndpointCredentials(
|
|
560
|
-
args: RotateIngestEndpointCredentialsCommandInput,
|
|
561
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RotateIngestEndpointCredentialsCommandOutput) => void),
|
|
562
|
-
cb?: (err: any, data?: RotateIngestEndpointCredentialsCommandOutput) => void
|
|
563
|
-
): Promise<RotateIngestEndpointCredentialsCommandOutput> | void {
|
|
564
|
-
const command = new RotateIngestEndpointCredentialsCommand(args);
|
|
565
|
-
if (typeof optionsOrCb === "function") {
|
|
566
|
-
this.send(command, optionsOrCb);
|
|
567
|
-
} else if (typeof cb === "function") {
|
|
568
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
569
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
570
|
-
} else {
|
|
571
|
-
return this.send(command, optionsOrCb);
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
576
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
577
|
-
public tagResource(
|
|
578
|
-
args: TagResourceCommandInput,
|
|
579
|
-
options: __HttpHandlerOptions,
|
|
580
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
581
|
-
): void;
|
|
582
|
-
public tagResource(
|
|
583
|
-
args: TagResourceCommandInput,
|
|
584
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
585
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
586
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
587
|
-
const command = new TagResourceCommand(args);
|
|
588
|
-
if (typeof optionsOrCb === "function") {
|
|
589
|
-
this.send(command, optionsOrCb);
|
|
590
|
-
} else if (typeof cb === "function") {
|
|
591
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
592
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
593
|
-
} else {
|
|
594
|
-
return this.send(command, optionsOrCb);
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
public untagResource(
|
|
599
|
-
args: UntagResourceCommandInput,
|
|
600
|
-
options?: __HttpHandlerOptions
|
|
601
|
-
): Promise<UntagResourceCommandOutput>;
|
|
602
|
-
public untagResource(
|
|
603
|
-
args: UntagResourceCommandInput,
|
|
604
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
605
|
-
): void;
|
|
606
|
-
public untagResource(
|
|
607
|
-
args: UntagResourceCommandInput,
|
|
608
|
-
options: __HttpHandlerOptions,
|
|
609
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
610
|
-
): void;
|
|
611
|
-
public untagResource(
|
|
612
|
-
args: UntagResourceCommandInput,
|
|
613
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
614
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
615
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
616
|
-
const command = new UntagResourceCommand(args);
|
|
617
|
-
if (typeof optionsOrCb === "function") {
|
|
618
|
-
this.send(command, optionsOrCb);
|
|
619
|
-
} else if (typeof cb === "function") {
|
|
620
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
621
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
622
|
-
} else {
|
|
623
|
-
return this.send(command, optionsOrCb);
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
* Updates an existing Channel.
|
|
629
|
-
*/
|
|
630
|
-
public updateChannel(
|
|
631
|
-
args: UpdateChannelCommandInput,
|
|
632
|
-
options?: __HttpHandlerOptions
|
|
633
|
-
): Promise<UpdateChannelCommandOutput>;
|
|
634
|
-
public updateChannel(
|
|
635
|
-
args: UpdateChannelCommandInput,
|
|
636
|
-
cb: (err: any, data?: UpdateChannelCommandOutput) => void
|
|
637
|
-
): void;
|
|
638
|
-
public updateChannel(
|
|
639
|
-
args: UpdateChannelCommandInput,
|
|
640
|
-
options: __HttpHandlerOptions,
|
|
641
|
-
cb: (err: any, data?: UpdateChannelCommandOutput) => void
|
|
642
|
-
): void;
|
|
643
|
-
public updateChannel(
|
|
644
|
-
args: UpdateChannelCommandInput,
|
|
645
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateChannelCommandOutput) => void),
|
|
646
|
-
cb?: (err: any, data?: UpdateChannelCommandOutput) => void
|
|
647
|
-
): Promise<UpdateChannelCommandOutput> | void {
|
|
648
|
-
const command = new UpdateChannelCommand(args);
|
|
649
|
-
if (typeof optionsOrCb === "function") {
|
|
650
|
-
this.send(command, optionsOrCb);
|
|
651
|
-
} else if (typeof cb === "function") {
|
|
652
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
653
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
654
|
-
} else {
|
|
655
|
-
return this.send(command, optionsOrCb);
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
/**
|
|
660
|
-
* Updates an existing OriginEndpoint.
|
|
661
|
-
*/
|
|
662
|
-
public updateOriginEndpoint(
|
|
663
|
-
args: UpdateOriginEndpointCommandInput,
|
|
664
|
-
options?: __HttpHandlerOptions
|
|
665
|
-
): Promise<UpdateOriginEndpointCommandOutput>;
|
|
666
|
-
public updateOriginEndpoint(
|
|
667
|
-
args: UpdateOriginEndpointCommandInput,
|
|
668
|
-
cb: (err: any, data?: UpdateOriginEndpointCommandOutput) => void
|
|
669
|
-
): void;
|
|
670
|
-
public updateOriginEndpoint(
|
|
671
|
-
args: UpdateOriginEndpointCommandInput,
|
|
672
|
-
options: __HttpHandlerOptions,
|
|
673
|
-
cb: (err: any, data?: UpdateOriginEndpointCommandOutput) => void
|
|
674
|
-
): void;
|
|
675
|
-
public updateOriginEndpoint(
|
|
676
|
-
args: UpdateOriginEndpointCommandInput,
|
|
677
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateOriginEndpointCommandOutput) => void),
|
|
678
|
-
cb?: (err: any, data?: UpdateOriginEndpointCommandOutput) => void
|
|
679
|
-
): Promise<UpdateOriginEndpointCommandOutput> | void {
|
|
680
|
-
const command = new UpdateOriginEndpointCommand(args);
|
|
681
|
-
if (typeof optionsOrCb === "function") {
|
|
682
|
-
this.send(command, optionsOrCb);
|
|
683
|
-
} else if (typeof cb === "function") {
|
|
684
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
685
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
686
|
-
} else {
|
|
687
|
-
return this.send(command, optionsOrCb);
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
}
|