@aws-sdk/client-mediapackage-vod 3.35.0 → 3.38.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 +48 -0
- package/dist-cjs/MediaPackageVod.js +0 -4
- package/dist-cjs/MediaPackageVodClient.js +0 -9
- package/dist-cjs/commands/ConfigureLogsCommand.js +0 -25
- package/dist-cjs/commands/CreateAssetCommand.js +0 -25
- package/dist-cjs/commands/CreatePackagingConfigurationCommand.js +0 -25
- package/dist-cjs/commands/CreatePackagingGroupCommand.js +0 -25
- package/dist-cjs/commands/DeleteAssetCommand.js +0 -25
- package/dist-cjs/commands/DeletePackagingConfigurationCommand.js +0 -25
- package/dist-cjs/commands/DeletePackagingGroupCommand.js +0 -25
- package/dist-cjs/commands/DescribeAssetCommand.js +0 -25
- package/dist-cjs/commands/DescribePackagingConfigurationCommand.js +0 -25
- package/dist-cjs/commands/DescribePackagingGroupCommand.js +0 -25
- package/dist-cjs/commands/ListAssetsCommand.js +0 -25
- package/dist-cjs/commands/ListPackagingConfigurationsCommand.js +0 -25
- package/dist-cjs/commands/ListPackagingGroupsCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdatePackagingGroupCommand.js +0 -25
- package/dist-cjs/commands/index.js +20 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -24
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -172
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAssetsPaginator.js +0 -11
- package/dist-cjs/pagination/ListPackagingConfigurationsPaginator.js +0 -11
- package/dist-cjs/pagination/ListPackagingGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +3 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/MediaPackageVod.js +0 -1
- package/dist-es/MediaPackageVodClient.js +0 -1
- package/dist-es/commands/ConfigureLogsCommand.js +0 -1
- package/dist-es/commands/CreateAssetCommand.js +0 -1
- package/dist-es/commands/CreatePackagingConfigurationCommand.js +0 -1
- package/dist-es/commands/CreatePackagingGroupCommand.js +0 -1
- package/dist-es/commands/DeleteAssetCommand.js +0 -1
- package/dist-es/commands/DeletePackagingConfigurationCommand.js +0 -1
- package/dist-es/commands/DeletePackagingGroupCommand.js +0 -1
- package/dist-es/commands/DescribeAssetCommand.js +0 -1
- package/dist-es/commands/DescribePackagingConfigurationCommand.js +0 -1
- package/dist-es/commands/DescribePackagingGroupCommand.js +0 -1
- package/dist-es/commands/ListAssetsCommand.js +0 -1
- package/dist-es/commands/ListPackagingConfigurationsCommand.js +0 -1
- package/dist-es/commands/ListPackagingGroupsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdatePackagingGroupCommand.js +0 -1
- package/dist-es/commands/index.js +17 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -24
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListAssetsPaginator.js +0 -1
- package/dist-es/pagination/ListPackagingConfigurationsPaginator.js +0 -1
- package/dist-es/pagination/ListPackagingGroupsPaginator.js +0 -1
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +4 -3
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +17 -0
- package/dist-types/index.d.ts +4 -23
- package/dist-types/models/models_0.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/MediaPackageVod.d.ts +18 -54
- package/dist-types/ts3.4/MediaPackageVodClient.d.ts +24 -89
- package/dist-types/ts3.4/commands/ConfigureLogsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateAssetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreatePackagingConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreatePackagingGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteAssetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeletePackagingConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeletePackagingGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeAssetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribePackagingConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribePackagingGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListPackagingConfigurationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListPackagingGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdatePackagingGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +17 -0
- package/dist-types/ts3.4/index.d.ts +4 -23
- package/dist-types/ts3.4/models/models_0.d.ts +265 -810
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/MediaPackageVod.js.map +0 -1
- package/dist-cjs/MediaPackageVodClient.js.map +0 -1
- package/dist-cjs/commands/ConfigureLogsCommand.js.map +0 -1
- package/dist-cjs/commands/CreateAssetCommand.js.map +0 -1
- package/dist-cjs/commands/CreatePackagingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/CreatePackagingGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAssetCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePackagingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePackagingGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAssetCommand.js.map +0 -1
- package/dist-cjs/commands/DescribePackagingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DescribePackagingGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ListAssetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListPackagingConfigurationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListPackagingGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.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/UpdatePackagingGroupCommand.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/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListAssetsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPackagingConfigurationsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPackagingGroupsPaginator.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/MediaPackageVod.js.map +0 -1
- package/dist-es/MediaPackageVodClient.js.map +0 -1
- package/dist-es/commands/ConfigureLogsCommand.js.map +0 -1
- package/dist-es/commands/CreateAssetCommand.js.map +0 -1
- package/dist-es/commands/CreatePackagingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/CreatePackagingGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteAssetCommand.js.map +0 -1
- package/dist-es/commands/DeletePackagingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DeletePackagingGroupCommand.js.map +0 -1
- package/dist-es/commands/DescribeAssetCommand.js.map +0 -1
- package/dist-es/commands/DescribePackagingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DescribePackagingGroupCommand.js.map +0 -1
- package/dist-es/commands/ListAssetsCommand.js.map +0 -1
- package/dist-es/commands/ListPackagingConfigurationsCommand.js.map +0 -1
- package/dist-es/commands/ListPackagingGroupsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.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/UpdatePackagingGroupCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListAssetsPaginator.js.map +0 -1
- package/dist-es/pagination/ListPackagingConfigurationsPaginator.js.map +0 -1
- package/dist-es/pagination/ListPackagingGroupsPaginator.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/jest.config.js +0 -4
- package/src/MediaPackageVod.ts +0 -597
- package/src/MediaPackageVodClient.ts +0 -317
- package/src/commands/ConfigureLogsCommand.ts +0 -95
- package/src/commands/CreateAssetCommand.ts +0 -95
- package/src/commands/CreatePackagingConfigurationCommand.ts +0 -100
- package/src/commands/CreatePackagingGroupCommand.ts +0 -95
- package/src/commands/DeleteAssetCommand.ts +0 -95
- package/src/commands/DeletePackagingConfigurationCommand.ts +0 -100
- package/src/commands/DeletePackagingGroupCommand.ts +0 -95
- package/src/commands/DescribeAssetCommand.ts +0 -95
- package/src/commands/DescribePackagingConfigurationCommand.ts +0 -103
- package/src/commands/DescribePackagingGroupCommand.ts +0 -95
- package/src/commands/ListAssetsCommand.ts +0 -95
- package/src/commands/ListPackagingConfigurationsCommand.ts +0 -100
- package/src/commands/ListPackagingGroupsCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdatePackagingGroupCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -24
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1680
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListAssetsPaginator.ts +0 -55
- package/src/pagination/ListPackagingConfigurationsPaginator.ts +0 -59
- package/src/pagination/ListPackagingGroupsPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -3087
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/src/MediaPackageVod.ts
DELETED
|
@@ -1,597 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ConfigureLogsCommand,
|
|
5
|
-
ConfigureLogsCommandInput,
|
|
6
|
-
ConfigureLogsCommandOutput,
|
|
7
|
-
} from "./commands/ConfigureLogsCommand";
|
|
8
|
-
import { CreateAssetCommand, CreateAssetCommandInput, CreateAssetCommandOutput } from "./commands/CreateAssetCommand";
|
|
9
|
-
import {
|
|
10
|
-
CreatePackagingConfigurationCommand,
|
|
11
|
-
CreatePackagingConfigurationCommandInput,
|
|
12
|
-
CreatePackagingConfigurationCommandOutput,
|
|
13
|
-
} from "./commands/CreatePackagingConfigurationCommand";
|
|
14
|
-
import {
|
|
15
|
-
CreatePackagingGroupCommand,
|
|
16
|
-
CreatePackagingGroupCommandInput,
|
|
17
|
-
CreatePackagingGroupCommandOutput,
|
|
18
|
-
} from "./commands/CreatePackagingGroupCommand";
|
|
19
|
-
import { DeleteAssetCommand, DeleteAssetCommandInput, DeleteAssetCommandOutput } from "./commands/DeleteAssetCommand";
|
|
20
|
-
import {
|
|
21
|
-
DeletePackagingConfigurationCommand,
|
|
22
|
-
DeletePackagingConfigurationCommandInput,
|
|
23
|
-
DeletePackagingConfigurationCommandOutput,
|
|
24
|
-
} from "./commands/DeletePackagingConfigurationCommand";
|
|
25
|
-
import {
|
|
26
|
-
DeletePackagingGroupCommand,
|
|
27
|
-
DeletePackagingGroupCommandInput,
|
|
28
|
-
DeletePackagingGroupCommandOutput,
|
|
29
|
-
} from "./commands/DeletePackagingGroupCommand";
|
|
30
|
-
import {
|
|
31
|
-
DescribeAssetCommand,
|
|
32
|
-
DescribeAssetCommandInput,
|
|
33
|
-
DescribeAssetCommandOutput,
|
|
34
|
-
} from "./commands/DescribeAssetCommand";
|
|
35
|
-
import {
|
|
36
|
-
DescribePackagingConfigurationCommand,
|
|
37
|
-
DescribePackagingConfigurationCommandInput,
|
|
38
|
-
DescribePackagingConfigurationCommandOutput,
|
|
39
|
-
} from "./commands/DescribePackagingConfigurationCommand";
|
|
40
|
-
import {
|
|
41
|
-
DescribePackagingGroupCommand,
|
|
42
|
-
DescribePackagingGroupCommandInput,
|
|
43
|
-
DescribePackagingGroupCommandOutput,
|
|
44
|
-
} from "./commands/DescribePackagingGroupCommand";
|
|
45
|
-
import { ListAssetsCommand, ListAssetsCommandInput, ListAssetsCommandOutput } from "./commands/ListAssetsCommand";
|
|
46
|
-
import {
|
|
47
|
-
ListPackagingConfigurationsCommand,
|
|
48
|
-
ListPackagingConfigurationsCommandInput,
|
|
49
|
-
ListPackagingConfigurationsCommandOutput,
|
|
50
|
-
} from "./commands/ListPackagingConfigurationsCommand";
|
|
51
|
-
import {
|
|
52
|
-
ListPackagingGroupsCommand,
|
|
53
|
-
ListPackagingGroupsCommandInput,
|
|
54
|
-
ListPackagingGroupsCommandOutput,
|
|
55
|
-
} from "./commands/ListPackagingGroupsCommand";
|
|
56
|
-
import {
|
|
57
|
-
ListTagsForResourceCommand,
|
|
58
|
-
ListTagsForResourceCommandInput,
|
|
59
|
-
ListTagsForResourceCommandOutput,
|
|
60
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
61
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
62
|
-
import {
|
|
63
|
-
UntagResourceCommand,
|
|
64
|
-
UntagResourceCommandInput,
|
|
65
|
-
UntagResourceCommandOutput,
|
|
66
|
-
} from "./commands/UntagResourceCommand";
|
|
67
|
-
import {
|
|
68
|
-
UpdatePackagingGroupCommand,
|
|
69
|
-
UpdatePackagingGroupCommandInput,
|
|
70
|
-
UpdatePackagingGroupCommandOutput,
|
|
71
|
-
} from "./commands/UpdatePackagingGroupCommand";
|
|
72
|
-
import { MediaPackageVodClient } from "./MediaPackageVodClient";
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* AWS Elemental MediaPackage VOD
|
|
76
|
-
*/
|
|
77
|
-
export class MediaPackageVod extends MediaPackageVodClient {
|
|
78
|
-
/**
|
|
79
|
-
* Changes the packaging group's properities to configure log subscription
|
|
80
|
-
*/
|
|
81
|
-
public configureLogs(
|
|
82
|
-
args: ConfigureLogsCommandInput,
|
|
83
|
-
options?: __HttpHandlerOptions
|
|
84
|
-
): Promise<ConfigureLogsCommandOutput>;
|
|
85
|
-
public configureLogs(
|
|
86
|
-
args: ConfigureLogsCommandInput,
|
|
87
|
-
cb: (err: any, data?: ConfigureLogsCommandOutput) => void
|
|
88
|
-
): void;
|
|
89
|
-
public configureLogs(
|
|
90
|
-
args: ConfigureLogsCommandInput,
|
|
91
|
-
options: __HttpHandlerOptions,
|
|
92
|
-
cb: (err: any, data?: ConfigureLogsCommandOutput) => void
|
|
93
|
-
): void;
|
|
94
|
-
public configureLogs(
|
|
95
|
-
args: ConfigureLogsCommandInput,
|
|
96
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ConfigureLogsCommandOutput) => void),
|
|
97
|
-
cb?: (err: any, data?: ConfigureLogsCommandOutput) => void
|
|
98
|
-
): Promise<ConfigureLogsCommandOutput> | void {
|
|
99
|
-
const command = new ConfigureLogsCommand(args);
|
|
100
|
-
if (typeof optionsOrCb === "function") {
|
|
101
|
-
this.send(command, optionsOrCb);
|
|
102
|
-
} else if (typeof cb === "function") {
|
|
103
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
104
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
105
|
-
} else {
|
|
106
|
-
return this.send(command, optionsOrCb);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* Creates a new MediaPackage VOD Asset resource.
|
|
112
|
-
*/
|
|
113
|
-
public createAsset(args: CreateAssetCommandInput, options?: __HttpHandlerOptions): Promise<CreateAssetCommandOutput>;
|
|
114
|
-
public createAsset(args: CreateAssetCommandInput, cb: (err: any, data?: CreateAssetCommandOutput) => void): void;
|
|
115
|
-
public createAsset(
|
|
116
|
-
args: CreateAssetCommandInput,
|
|
117
|
-
options: __HttpHandlerOptions,
|
|
118
|
-
cb: (err: any, data?: CreateAssetCommandOutput) => void
|
|
119
|
-
): void;
|
|
120
|
-
public createAsset(
|
|
121
|
-
args: CreateAssetCommandInput,
|
|
122
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAssetCommandOutput) => void),
|
|
123
|
-
cb?: (err: any, data?: CreateAssetCommandOutput) => void
|
|
124
|
-
): Promise<CreateAssetCommandOutput> | void {
|
|
125
|
-
const command = new CreateAssetCommand(args);
|
|
126
|
-
if (typeof optionsOrCb === "function") {
|
|
127
|
-
this.send(command, optionsOrCb);
|
|
128
|
-
} else if (typeof cb === "function") {
|
|
129
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
130
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
131
|
-
} else {
|
|
132
|
-
return this.send(command, optionsOrCb);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Creates a new MediaPackage VOD PackagingConfiguration resource.
|
|
138
|
-
*/
|
|
139
|
-
public createPackagingConfiguration(
|
|
140
|
-
args: CreatePackagingConfigurationCommandInput,
|
|
141
|
-
options?: __HttpHandlerOptions
|
|
142
|
-
): Promise<CreatePackagingConfigurationCommandOutput>;
|
|
143
|
-
public createPackagingConfiguration(
|
|
144
|
-
args: CreatePackagingConfigurationCommandInput,
|
|
145
|
-
cb: (err: any, data?: CreatePackagingConfigurationCommandOutput) => void
|
|
146
|
-
): void;
|
|
147
|
-
public createPackagingConfiguration(
|
|
148
|
-
args: CreatePackagingConfigurationCommandInput,
|
|
149
|
-
options: __HttpHandlerOptions,
|
|
150
|
-
cb: (err: any, data?: CreatePackagingConfigurationCommandOutput) => void
|
|
151
|
-
): void;
|
|
152
|
-
public createPackagingConfiguration(
|
|
153
|
-
args: CreatePackagingConfigurationCommandInput,
|
|
154
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreatePackagingConfigurationCommandOutput) => void),
|
|
155
|
-
cb?: (err: any, data?: CreatePackagingConfigurationCommandOutput) => void
|
|
156
|
-
): Promise<CreatePackagingConfigurationCommandOutput> | void {
|
|
157
|
-
const command = new CreatePackagingConfigurationCommand(args);
|
|
158
|
-
if (typeof optionsOrCb === "function") {
|
|
159
|
-
this.send(command, optionsOrCb);
|
|
160
|
-
} else if (typeof cb === "function") {
|
|
161
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
162
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
163
|
-
} else {
|
|
164
|
-
return this.send(command, optionsOrCb);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* Creates a new MediaPackage VOD PackagingGroup resource.
|
|
170
|
-
*/
|
|
171
|
-
public createPackagingGroup(
|
|
172
|
-
args: CreatePackagingGroupCommandInput,
|
|
173
|
-
options?: __HttpHandlerOptions
|
|
174
|
-
): Promise<CreatePackagingGroupCommandOutput>;
|
|
175
|
-
public createPackagingGroup(
|
|
176
|
-
args: CreatePackagingGroupCommandInput,
|
|
177
|
-
cb: (err: any, data?: CreatePackagingGroupCommandOutput) => void
|
|
178
|
-
): void;
|
|
179
|
-
public createPackagingGroup(
|
|
180
|
-
args: CreatePackagingGroupCommandInput,
|
|
181
|
-
options: __HttpHandlerOptions,
|
|
182
|
-
cb: (err: any, data?: CreatePackagingGroupCommandOutput) => void
|
|
183
|
-
): void;
|
|
184
|
-
public createPackagingGroup(
|
|
185
|
-
args: CreatePackagingGroupCommandInput,
|
|
186
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreatePackagingGroupCommandOutput) => void),
|
|
187
|
-
cb?: (err: any, data?: CreatePackagingGroupCommandOutput) => void
|
|
188
|
-
): Promise<CreatePackagingGroupCommandOutput> | void {
|
|
189
|
-
const command = new CreatePackagingGroupCommand(args);
|
|
190
|
-
if (typeof optionsOrCb === "function") {
|
|
191
|
-
this.send(command, optionsOrCb);
|
|
192
|
-
} else if (typeof cb === "function") {
|
|
193
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
194
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
195
|
-
} else {
|
|
196
|
-
return this.send(command, optionsOrCb);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* Deletes an existing MediaPackage VOD Asset resource.
|
|
202
|
-
*/
|
|
203
|
-
public deleteAsset(args: DeleteAssetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssetCommandOutput>;
|
|
204
|
-
public deleteAsset(args: DeleteAssetCommandInput, cb: (err: any, data?: DeleteAssetCommandOutput) => void): void;
|
|
205
|
-
public deleteAsset(
|
|
206
|
-
args: DeleteAssetCommandInput,
|
|
207
|
-
options: __HttpHandlerOptions,
|
|
208
|
-
cb: (err: any, data?: DeleteAssetCommandOutput) => void
|
|
209
|
-
): void;
|
|
210
|
-
public deleteAsset(
|
|
211
|
-
args: DeleteAssetCommandInput,
|
|
212
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAssetCommandOutput) => void),
|
|
213
|
-
cb?: (err: any, data?: DeleteAssetCommandOutput) => void
|
|
214
|
-
): Promise<DeleteAssetCommandOutput> | void {
|
|
215
|
-
const command = new DeleteAssetCommand(args);
|
|
216
|
-
if (typeof optionsOrCb === "function") {
|
|
217
|
-
this.send(command, optionsOrCb);
|
|
218
|
-
} else if (typeof cb === "function") {
|
|
219
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
220
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
221
|
-
} else {
|
|
222
|
-
return this.send(command, optionsOrCb);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* Deletes a MediaPackage VOD PackagingConfiguration resource.
|
|
228
|
-
*/
|
|
229
|
-
public deletePackagingConfiguration(
|
|
230
|
-
args: DeletePackagingConfigurationCommandInput,
|
|
231
|
-
options?: __HttpHandlerOptions
|
|
232
|
-
): Promise<DeletePackagingConfigurationCommandOutput>;
|
|
233
|
-
public deletePackagingConfiguration(
|
|
234
|
-
args: DeletePackagingConfigurationCommandInput,
|
|
235
|
-
cb: (err: any, data?: DeletePackagingConfigurationCommandOutput) => void
|
|
236
|
-
): void;
|
|
237
|
-
public deletePackagingConfiguration(
|
|
238
|
-
args: DeletePackagingConfigurationCommandInput,
|
|
239
|
-
options: __HttpHandlerOptions,
|
|
240
|
-
cb: (err: any, data?: DeletePackagingConfigurationCommandOutput) => void
|
|
241
|
-
): void;
|
|
242
|
-
public deletePackagingConfiguration(
|
|
243
|
-
args: DeletePackagingConfigurationCommandInput,
|
|
244
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePackagingConfigurationCommandOutput) => void),
|
|
245
|
-
cb?: (err: any, data?: DeletePackagingConfigurationCommandOutput) => void
|
|
246
|
-
): Promise<DeletePackagingConfigurationCommandOutput> | void {
|
|
247
|
-
const command = new DeletePackagingConfigurationCommand(args);
|
|
248
|
-
if (typeof optionsOrCb === "function") {
|
|
249
|
-
this.send(command, optionsOrCb);
|
|
250
|
-
} else if (typeof cb === "function") {
|
|
251
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
252
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
253
|
-
} else {
|
|
254
|
-
return this.send(command, optionsOrCb);
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* Deletes a MediaPackage VOD PackagingGroup resource.
|
|
260
|
-
*/
|
|
261
|
-
public deletePackagingGroup(
|
|
262
|
-
args: DeletePackagingGroupCommandInput,
|
|
263
|
-
options?: __HttpHandlerOptions
|
|
264
|
-
): Promise<DeletePackagingGroupCommandOutput>;
|
|
265
|
-
public deletePackagingGroup(
|
|
266
|
-
args: DeletePackagingGroupCommandInput,
|
|
267
|
-
cb: (err: any, data?: DeletePackagingGroupCommandOutput) => void
|
|
268
|
-
): void;
|
|
269
|
-
public deletePackagingGroup(
|
|
270
|
-
args: DeletePackagingGroupCommandInput,
|
|
271
|
-
options: __HttpHandlerOptions,
|
|
272
|
-
cb: (err: any, data?: DeletePackagingGroupCommandOutput) => void
|
|
273
|
-
): void;
|
|
274
|
-
public deletePackagingGroup(
|
|
275
|
-
args: DeletePackagingGroupCommandInput,
|
|
276
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePackagingGroupCommandOutput) => void),
|
|
277
|
-
cb?: (err: any, data?: DeletePackagingGroupCommandOutput) => void
|
|
278
|
-
): Promise<DeletePackagingGroupCommandOutput> | void {
|
|
279
|
-
const command = new DeletePackagingGroupCommand(args);
|
|
280
|
-
if (typeof optionsOrCb === "function") {
|
|
281
|
-
this.send(command, optionsOrCb);
|
|
282
|
-
} else if (typeof cb === "function") {
|
|
283
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
284
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
285
|
-
} else {
|
|
286
|
-
return this.send(command, optionsOrCb);
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
/**
|
|
291
|
-
* Returns a description of a MediaPackage VOD Asset resource.
|
|
292
|
-
*/
|
|
293
|
-
public describeAsset(
|
|
294
|
-
args: DescribeAssetCommandInput,
|
|
295
|
-
options?: __HttpHandlerOptions
|
|
296
|
-
): Promise<DescribeAssetCommandOutput>;
|
|
297
|
-
public describeAsset(
|
|
298
|
-
args: DescribeAssetCommandInput,
|
|
299
|
-
cb: (err: any, data?: DescribeAssetCommandOutput) => void
|
|
300
|
-
): void;
|
|
301
|
-
public describeAsset(
|
|
302
|
-
args: DescribeAssetCommandInput,
|
|
303
|
-
options: __HttpHandlerOptions,
|
|
304
|
-
cb: (err: any, data?: DescribeAssetCommandOutput) => void
|
|
305
|
-
): void;
|
|
306
|
-
public describeAsset(
|
|
307
|
-
args: DescribeAssetCommandInput,
|
|
308
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAssetCommandOutput) => void),
|
|
309
|
-
cb?: (err: any, data?: DescribeAssetCommandOutput) => void
|
|
310
|
-
): Promise<DescribeAssetCommandOutput> | void {
|
|
311
|
-
const command = new DescribeAssetCommand(args);
|
|
312
|
-
if (typeof optionsOrCb === "function") {
|
|
313
|
-
this.send(command, optionsOrCb);
|
|
314
|
-
} else if (typeof cb === "function") {
|
|
315
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
316
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
317
|
-
} else {
|
|
318
|
-
return this.send(command, optionsOrCb);
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
/**
|
|
323
|
-
* Returns a description of a MediaPackage VOD PackagingConfiguration resource.
|
|
324
|
-
*/
|
|
325
|
-
public describePackagingConfiguration(
|
|
326
|
-
args: DescribePackagingConfigurationCommandInput,
|
|
327
|
-
options?: __HttpHandlerOptions
|
|
328
|
-
): Promise<DescribePackagingConfigurationCommandOutput>;
|
|
329
|
-
public describePackagingConfiguration(
|
|
330
|
-
args: DescribePackagingConfigurationCommandInput,
|
|
331
|
-
cb: (err: any, data?: DescribePackagingConfigurationCommandOutput) => void
|
|
332
|
-
): void;
|
|
333
|
-
public describePackagingConfiguration(
|
|
334
|
-
args: DescribePackagingConfigurationCommandInput,
|
|
335
|
-
options: __HttpHandlerOptions,
|
|
336
|
-
cb: (err: any, data?: DescribePackagingConfigurationCommandOutput) => void
|
|
337
|
-
): void;
|
|
338
|
-
public describePackagingConfiguration(
|
|
339
|
-
args: DescribePackagingConfigurationCommandInput,
|
|
340
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribePackagingConfigurationCommandOutput) => void),
|
|
341
|
-
cb?: (err: any, data?: DescribePackagingConfigurationCommandOutput) => void
|
|
342
|
-
): Promise<DescribePackagingConfigurationCommandOutput> | void {
|
|
343
|
-
const command = new DescribePackagingConfigurationCommand(args);
|
|
344
|
-
if (typeof optionsOrCb === "function") {
|
|
345
|
-
this.send(command, optionsOrCb);
|
|
346
|
-
} else if (typeof cb === "function") {
|
|
347
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
348
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
349
|
-
} else {
|
|
350
|
-
return this.send(command, optionsOrCb);
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* Returns a description of a MediaPackage VOD PackagingGroup resource.
|
|
356
|
-
*/
|
|
357
|
-
public describePackagingGroup(
|
|
358
|
-
args: DescribePackagingGroupCommandInput,
|
|
359
|
-
options?: __HttpHandlerOptions
|
|
360
|
-
): Promise<DescribePackagingGroupCommandOutput>;
|
|
361
|
-
public describePackagingGroup(
|
|
362
|
-
args: DescribePackagingGroupCommandInput,
|
|
363
|
-
cb: (err: any, data?: DescribePackagingGroupCommandOutput) => void
|
|
364
|
-
): void;
|
|
365
|
-
public describePackagingGroup(
|
|
366
|
-
args: DescribePackagingGroupCommandInput,
|
|
367
|
-
options: __HttpHandlerOptions,
|
|
368
|
-
cb: (err: any, data?: DescribePackagingGroupCommandOutput) => void
|
|
369
|
-
): void;
|
|
370
|
-
public describePackagingGroup(
|
|
371
|
-
args: DescribePackagingGroupCommandInput,
|
|
372
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribePackagingGroupCommandOutput) => void),
|
|
373
|
-
cb?: (err: any, data?: DescribePackagingGroupCommandOutput) => void
|
|
374
|
-
): Promise<DescribePackagingGroupCommandOutput> | void {
|
|
375
|
-
const command = new DescribePackagingGroupCommand(args);
|
|
376
|
-
if (typeof optionsOrCb === "function") {
|
|
377
|
-
this.send(command, optionsOrCb);
|
|
378
|
-
} else if (typeof cb === "function") {
|
|
379
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
380
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
381
|
-
} else {
|
|
382
|
-
return this.send(command, optionsOrCb);
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
/**
|
|
387
|
-
* Returns a collection of MediaPackage VOD Asset resources.
|
|
388
|
-
*/
|
|
389
|
-
public listAssets(args: ListAssetsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssetsCommandOutput>;
|
|
390
|
-
public listAssets(args: ListAssetsCommandInput, cb: (err: any, data?: ListAssetsCommandOutput) => void): void;
|
|
391
|
-
public listAssets(
|
|
392
|
-
args: ListAssetsCommandInput,
|
|
393
|
-
options: __HttpHandlerOptions,
|
|
394
|
-
cb: (err: any, data?: ListAssetsCommandOutput) => void
|
|
395
|
-
): void;
|
|
396
|
-
public listAssets(
|
|
397
|
-
args: ListAssetsCommandInput,
|
|
398
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAssetsCommandOutput) => void),
|
|
399
|
-
cb?: (err: any, data?: ListAssetsCommandOutput) => void
|
|
400
|
-
): Promise<ListAssetsCommandOutput> | void {
|
|
401
|
-
const command = new ListAssetsCommand(args);
|
|
402
|
-
if (typeof optionsOrCb === "function") {
|
|
403
|
-
this.send(command, optionsOrCb);
|
|
404
|
-
} else if (typeof cb === "function") {
|
|
405
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
406
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
407
|
-
} else {
|
|
408
|
-
return this.send(command, optionsOrCb);
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
/**
|
|
413
|
-
* Returns a collection of MediaPackage VOD PackagingConfiguration resources.
|
|
414
|
-
*/
|
|
415
|
-
public listPackagingConfigurations(
|
|
416
|
-
args: ListPackagingConfigurationsCommandInput,
|
|
417
|
-
options?: __HttpHandlerOptions
|
|
418
|
-
): Promise<ListPackagingConfigurationsCommandOutput>;
|
|
419
|
-
public listPackagingConfigurations(
|
|
420
|
-
args: ListPackagingConfigurationsCommandInput,
|
|
421
|
-
cb: (err: any, data?: ListPackagingConfigurationsCommandOutput) => void
|
|
422
|
-
): void;
|
|
423
|
-
public listPackagingConfigurations(
|
|
424
|
-
args: ListPackagingConfigurationsCommandInput,
|
|
425
|
-
options: __HttpHandlerOptions,
|
|
426
|
-
cb: (err: any, data?: ListPackagingConfigurationsCommandOutput) => void
|
|
427
|
-
): void;
|
|
428
|
-
public listPackagingConfigurations(
|
|
429
|
-
args: ListPackagingConfigurationsCommandInput,
|
|
430
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPackagingConfigurationsCommandOutput) => void),
|
|
431
|
-
cb?: (err: any, data?: ListPackagingConfigurationsCommandOutput) => void
|
|
432
|
-
): Promise<ListPackagingConfigurationsCommandOutput> | void {
|
|
433
|
-
const command = new ListPackagingConfigurationsCommand(args);
|
|
434
|
-
if (typeof optionsOrCb === "function") {
|
|
435
|
-
this.send(command, optionsOrCb);
|
|
436
|
-
} else if (typeof cb === "function") {
|
|
437
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
438
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
439
|
-
} else {
|
|
440
|
-
return this.send(command, optionsOrCb);
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
/**
|
|
445
|
-
* Returns a collection of MediaPackage VOD PackagingGroup resources.
|
|
446
|
-
*/
|
|
447
|
-
public listPackagingGroups(
|
|
448
|
-
args: ListPackagingGroupsCommandInput,
|
|
449
|
-
options?: __HttpHandlerOptions
|
|
450
|
-
): Promise<ListPackagingGroupsCommandOutput>;
|
|
451
|
-
public listPackagingGroups(
|
|
452
|
-
args: ListPackagingGroupsCommandInput,
|
|
453
|
-
cb: (err: any, data?: ListPackagingGroupsCommandOutput) => void
|
|
454
|
-
): void;
|
|
455
|
-
public listPackagingGroups(
|
|
456
|
-
args: ListPackagingGroupsCommandInput,
|
|
457
|
-
options: __HttpHandlerOptions,
|
|
458
|
-
cb: (err: any, data?: ListPackagingGroupsCommandOutput) => void
|
|
459
|
-
): void;
|
|
460
|
-
public listPackagingGroups(
|
|
461
|
-
args: ListPackagingGroupsCommandInput,
|
|
462
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPackagingGroupsCommandOutput) => void),
|
|
463
|
-
cb?: (err: any, data?: ListPackagingGroupsCommandOutput) => void
|
|
464
|
-
): Promise<ListPackagingGroupsCommandOutput> | void {
|
|
465
|
-
const command = new ListPackagingGroupsCommand(args);
|
|
466
|
-
if (typeof optionsOrCb === "function") {
|
|
467
|
-
this.send(command, optionsOrCb);
|
|
468
|
-
} else if (typeof cb === "function") {
|
|
469
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
470
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
471
|
-
} else {
|
|
472
|
-
return this.send(command, optionsOrCb);
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
/**
|
|
477
|
-
* Returns a list of the tags assigned to the specified resource.
|
|
478
|
-
*/
|
|
479
|
-
public listTagsForResource(
|
|
480
|
-
args: ListTagsForResourceCommandInput,
|
|
481
|
-
options?: __HttpHandlerOptions
|
|
482
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
483
|
-
public listTagsForResource(
|
|
484
|
-
args: ListTagsForResourceCommandInput,
|
|
485
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
486
|
-
): void;
|
|
487
|
-
public listTagsForResource(
|
|
488
|
-
args: ListTagsForResourceCommandInput,
|
|
489
|
-
options: __HttpHandlerOptions,
|
|
490
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
491
|
-
): void;
|
|
492
|
-
public listTagsForResource(
|
|
493
|
-
args: ListTagsForResourceCommandInput,
|
|
494
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
495
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
496
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
497
|
-
const command = new ListTagsForResourceCommand(args);
|
|
498
|
-
if (typeof optionsOrCb === "function") {
|
|
499
|
-
this.send(command, optionsOrCb);
|
|
500
|
-
} else if (typeof cb === "function") {
|
|
501
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
502
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
503
|
-
} else {
|
|
504
|
-
return this.send(command, optionsOrCb);
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
/**
|
|
509
|
-
* Adds tags to the specified resource. You can specify one or more tags to add.
|
|
510
|
-
*/
|
|
511
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
512
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
513
|
-
public tagResource(
|
|
514
|
-
args: TagResourceCommandInput,
|
|
515
|
-
options: __HttpHandlerOptions,
|
|
516
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
517
|
-
): void;
|
|
518
|
-
public tagResource(
|
|
519
|
-
args: TagResourceCommandInput,
|
|
520
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
521
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
522
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
523
|
-
const command = new TagResourceCommand(args);
|
|
524
|
-
if (typeof optionsOrCb === "function") {
|
|
525
|
-
this.send(command, optionsOrCb);
|
|
526
|
-
} else if (typeof cb === "function") {
|
|
527
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
528
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
529
|
-
} else {
|
|
530
|
-
return this.send(command, optionsOrCb);
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
/**
|
|
535
|
-
* Removes tags from the specified resource. You can specify one or more tags to remove.
|
|
536
|
-
*/
|
|
537
|
-
public untagResource(
|
|
538
|
-
args: UntagResourceCommandInput,
|
|
539
|
-
options?: __HttpHandlerOptions
|
|
540
|
-
): Promise<UntagResourceCommandOutput>;
|
|
541
|
-
public untagResource(
|
|
542
|
-
args: UntagResourceCommandInput,
|
|
543
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
544
|
-
): void;
|
|
545
|
-
public untagResource(
|
|
546
|
-
args: UntagResourceCommandInput,
|
|
547
|
-
options: __HttpHandlerOptions,
|
|
548
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
549
|
-
): void;
|
|
550
|
-
public untagResource(
|
|
551
|
-
args: UntagResourceCommandInput,
|
|
552
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
553
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
554
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
555
|
-
const command = new UntagResourceCommand(args);
|
|
556
|
-
if (typeof optionsOrCb === "function") {
|
|
557
|
-
this.send(command, optionsOrCb);
|
|
558
|
-
} else if (typeof cb === "function") {
|
|
559
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
560
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
561
|
-
} else {
|
|
562
|
-
return this.send(command, optionsOrCb);
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
/**
|
|
567
|
-
* Updates a specific packaging group. You can't change the id attribute or any other system-generated attributes.
|
|
568
|
-
*/
|
|
569
|
-
public updatePackagingGroup(
|
|
570
|
-
args: UpdatePackagingGroupCommandInput,
|
|
571
|
-
options?: __HttpHandlerOptions
|
|
572
|
-
): Promise<UpdatePackagingGroupCommandOutput>;
|
|
573
|
-
public updatePackagingGroup(
|
|
574
|
-
args: UpdatePackagingGroupCommandInput,
|
|
575
|
-
cb: (err: any, data?: UpdatePackagingGroupCommandOutput) => void
|
|
576
|
-
): void;
|
|
577
|
-
public updatePackagingGroup(
|
|
578
|
-
args: UpdatePackagingGroupCommandInput,
|
|
579
|
-
options: __HttpHandlerOptions,
|
|
580
|
-
cb: (err: any, data?: UpdatePackagingGroupCommandOutput) => void
|
|
581
|
-
): void;
|
|
582
|
-
public updatePackagingGroup(
|
|
583
|
-
args: UpdatePackagingGroupCommandInput,
|
|
584
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdatePackagingGroupCommandOutput) => void),
|
|
585
|
-
cb?: (err: any, data?: UpdatePackagingGroupCommandOutput) => void
|
|
586
|
-
): Promise<UpdatePackagingGroupCommandOutput> | void {
|
|
587
|
-
const command = new UpdatePackagingGroupCommand(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
|
-
}
|