@aws-sdk/client-ivs 3.1034.0 → 3.1036.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/README.md +36 -131
- package/dist-cjs/index.js +74 -0
- package/dist-cjs/models/errors.js +224 -33
- package/dist-cjs/schemas/schemas_0.js +200 -67
- package/dist-es/Ivs.js +12 -0
- package/dist-es/commands/CreateAdConfigurationCommand.js +16 -0
- package/dist-es/commands/DeleteAdConfigurationCommand.js +16 -0
- package/dist-es/commands/GetAdConfigurationCommand.js +16 -0
- package/dist-es/commands/InsertAdBreakCommand.js +16 -0
- package/dist-es/commands/ListAdConfigurationsCommand.js +16 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/errors.js +218 -28
- package/dist-es/pagination/ListAdConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +197 -65
- package/dist-types/Ivs.d.ts +44 -131
- package/dist-types/IvsClient.d.ts +8 -133
- package/dist-types/commands/BatchGetChannelCommand.d.ts +17 -0
- package/dist-types/commands/BatchGetStreamKeyCommand.d.ts +16 -0
- package/dist-types/commands/BatchStartViewerSessionRevocationCommand.d.ts +8 -2
- package/dist-types/commands/CreateAdConfigurationCommand.d.ts +114 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +2 -0
- package/dist-types/commands/CreatePlaybackRestrictionPolicyCommand.d.ts +1 -2
- package/dist-types/commands/CreateRecordingConfigurationCommand.d.ts +1 -12
- package/dist-types/commands/CreateStreamKeyCommand.d.ts +1 -4
- package/dist-types/commands/DeleteAdConfigurationCommand.d.ts +87 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +1 -6
- package/dist-types/commands/DeletePlaybackKeyPairCommand.d.ts +1 -3
- package/dist-types/commands/DeleteRecordingConfigurationCommand.d.ts +1 -6
- package/dist-types/commands/DeleteStreamKeyCommand.d.ts +1 -2
- package/dist-types/commands/GetAdConfigurationCommand.d.ts +97 -0
- package/dist-types/commands/GetChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetPlaybackKeyPairCommand.d.ts +1 -5
- package/dist-types/commands/GetStreamSessionCommand.d.ts +1 -0
- package/dist-types/commands/ImportPlaybackKeyPairCommand.d.ts +1 -5
- package/dist-types/commands/InsertAdBreakCommand.d.ts +96 -0
- package/dist-types/commands/ListAdConfigurationsCommand.d.ts +98 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +3 -4
- package/dist-types/commands/ListPlaybackKeyPairsCommand.d.ts +1 -2
- package/dist-types/commands/ListRecordingConfigurationsCommand.d.ts +1 -2
- package/dist-types/commands/ListStreamSessionsCommand.d.ts +1 -2
- package/dist-types/commands/ListStreamsCommand.d.ts +1 -2
- package/dist-types/commands/PutMetadataCommand.d.ts +1 -5
- package/dist-types/commands/StartViewerSessionRevocationCommand.d.ts +1 -5
- package/dist-types/commands/StopStreamCommand.d.ts +1 -8
- package/dist-types/commands/UpdateChannelCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +1 -131
- package/dist-types/models/errors.d.ts +482 -25
- package/dist-types/models/models_0.d.ts +421 -350
- package/dist-types/pagination/ListAdConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +18 -0
- package/dist-types/ts3.4/Ivs.d.ts +93 -0
- package/dist-types/ts3.4/IvsClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateAdConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAdConfigurationCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/GetAdConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/InsertAdBreakCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListAdConfigurationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/errors.d.ts +111 -17
- package/dist-types/ts3.4/models/models_0.d.ts +78 -0
- package/dist-types/ts3.4/pagination/ListAdConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
- package/package.json +14 -14
package/dist-es/Ivs.js
CHANGED
|
@@ -2,15 +2,18 @@ import { createAggregatedClient } from "@smithy/smithy-client";
|
|
|
2
2
|
import { BatchGetChannelCommand, } from "./commands/BatchGetChannelCommand";
|
|
3
3
|
import { BatchGetStreamKeyCommand, } from "./commands/BatchGetStreamKeyCommand";
|
|
4
4
|
import { BatchStartViewerSessionRevocationCommand, } from "./commands/BatchStartViewerSessionRevocationCommand";
|
|
5
|
+
import { CreateAdConfigurationCommand, } from "./commands/CreateAdConfigurationCommand";
|
|
5
6
|
import { CreateChannelCommand, } from "./commands/CreateChannelCommand";
|
|
6
7
|
import { CreatePlaybackRestrictionPolicyCommand, } from "./commands/CreatePlaybackRestrictionPolicyCommand";
|
|
7
8
|
import { CreateRecordingConfigurationCommand, } from "./commands/CreateRecordingConfigurationCommand";
|
|
8
9
|
import { CreateStreamKeyCommand, } from "./commands/CreateStreamKeyCommand";
|
|
10
|
+
import { DeleteAdConfigurationCommand, } from "./commands/DeleteAdConfigurationCommand";
|
|
9
11
|
import { DeleteChannelCommand, } from "./commands/DeleteChannelCommand";
|
|
10
12
|
import { DeletePlaybackKeyPairCommand, } from "./commands/DeletePlaybackKeyPairCommand";
|
|
11
13
|
import { DeletePlaybackRestrictionPolicyCommand, } from "./commands/DeletePlaybackRestrictionPolicyCommand";
|
|
12
14
|
import { DeleteRecordingConfigurationCommand, } from "./commands/DeleteRecordingConfigurationCommand";
|
|
13
15
|
import { DeleteStreamKeyCommand, } from "./commands/DeleteStreamKeyCommand";
|
|
16
|
+
import { GetAdConfigurationCommand, } from "./commands/GetAdConfigurationCommand";
|
|
14
17
|
import { GetChannelCommand, } from "./commands/GetChannelCommand";
|
|
15
18
|
import { GetPlaybackKeyPairCommand, } from "./commands/GetPlaybackKeyPairCommand";
|
|
16
19
|
import { GetPlaybackRestrictionPolicyCommand, } from "./commands/GetPlaybackRestrictionPolicyCommand";
|
|
@@ -19,6 +22,8 @@ import { GetStreamCommand } from "./commands/GetStreamCommand";
|
|
|
19
22
|
import { GetStreamKeyCommand, } from "./commands/GetStreamKeyCommand";
|
|
20
23
|
import { GetStreamSessionCommand, } from "./commands/GetStreamSessionCommand";
|
|
21
24
|
import { ImportPlaybackKeyPairCommand, } from "./commands/ImportPlaybackKeyPairCommand";
|
|
25
|
+
import { InsertAdBreakCommand, } from "./commands/InsertAdBreakCommand";
|
|
26
|
+
import { ListAdConfigurationsCommand, } from "./commands/ListAdConfigurationsCommand";
|
|
22
27
|
import { ListChannelsCommand, } from "./commands/ListChannelsCommand";
|
|
23
28
|
import { ListPlaybackKeyPairsCommand, } from "./commands/ListPlaybackKeyPairsCommand";
|
|
24
29
|
import { ListPlaybackRestrictionPoliciesCommand, } from "./commands/ListPlaybackRestrictionPoliciesCommand";
|
|
@@ -35,6 +40,7 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
35
40
|
import { UpdateChannelCommand, } from "./commands/UpdateChannelCommand";
|
|
36
41
|
import { UpdatePlaybackRestrictionPolicyCommand, } from "./commands/UpdatePlaybackRestrictionPolicyCommand";
|
|
37
42
|
import { IvsClient } from "./IvsClient";
|
|
43
|
+
import { paginateListAdConfigurations } from "./pagination/ListAdConfigurationsPaginator";
|
|
38
44
|
import { paginateListChannels } from "./pagination/ListChannelsPaginator";
|
|
39
45
|
import { paginateListPlaybackKeyPairs } from "./pagination/ListPlaybackKeyPairsPaginator";
|
|
40
46
|
import { paginateListPlaybackRestrictionPolicies } from "./pagination/ListPlaybackRestrictionPoliciesPaginator";
|
|
@@ -46,15 +52,18 @@ const commands = {
|
|
|
46
52
|
BatchGetChannelCommand,
|
|
47
53
|
BatchGetStreamKeyCommand,
|
|
48
54
|
BatchStartViewerSessionRevocationCommand,
|
|
55
|
+
CreateAdConfigurationCommand,
|
|
49
56
|
CreateChannelCommand,
|
|
50
57
|
CreatePlaybackRestrictionPolicyCommand,
|
|
51
58
|
CreateRecordingConfigurationCommand,
|
|
52
59
|
CreateStreamKeyCommand,
|
|
60
|
+
DeleteAdConfigurationCommand,
|
|
53
61
|
DeleteChannelCommand,
|
|
54
62
|
DeletePlaybackKeyPairCommand,
|
|
55
63
|
DeletePlaybackRestrictionPolicyCommand,
|
|
56
64
|
DeleteRecordingConfigurationCommand,
|
|
57
65
|
DeleteStreamKeyCommand,
|
|
66
|
+
GetAdConfigurationCommand,
|
|
58
67
|
GetChannelCommand,
|
|
59
68
|
GetPlaybackKeyPairCommand,
|
|
60
69
|
GetPlaybackRestrictionPolicyCommand,
|
|
@@ -63,6 +72,8 @@ const commands = {
|
|
|
63
72
|
GetStreamKeyCommand,
|
|
64
73
|
GetStreamSessionCommand,
|
|
65
74
|
ImportPlaybackKeyPairCommand,
|
|
75
|
+
InsertAdBreakCommand,
|
|
76
|
+
ListAdConfigurationsCommand,
|
|
66
77
|
ListChannelsCommand,
|
|
67
78
|
ListPlaybackKeyPairsCommand,
|
|
68
79
|
ListPlaybackRestrictionPoliciesCommand,
|
|
@@ -80,6 +91,7 @@ const commands = {
|
|
|
80
91
|
UpdatePlaybackRestrictionPolicyCommand,
|
|
81
92
|
};
|
|
82
93
|
const paginators = {
|
|
94
|
+
paginateListAdConfigurations,
|
|
83
95
|
paginateListChannels,
|
|
84
96
|
paginateListPlaybackKeyPairs,
|
|
85
97
|
paginateListPlaybackRestrictionPolicies,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreateAdConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateAdConfigurationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonInteractiveVideoService", "CreateAdConfiguration", {})
|
|
13
|
+
.n("IvsClient", "CreateAdConfigurationCommand")
|
|
14
|
+
.sc(CreateAdConfiguration$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteAdConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteAdConfigurationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonInteractiveVideoService", "DeleteAdConfiguration", {})
|
|
13
|
+
.n("IvsClient", "DeleteAdConfigurationCommand")
|
|
14
|
+
.sc(DeleteAdConfiguration$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetAdConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetAdConfigurationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonInteractiveVideoService", "GetAdConfiguration", {})
|
|
13
|
+
.n("IvsClient", "GetAdConfigurationCommand")
|
|
14
|
+
.sc(GetAdConfiguration$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { InsertAdBreak$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class InsertAdBreakCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonInteractiveVideoService", "InsertAdBreak", {})
|
|
13
|
+
.n("IvsClient", "InsertAdBreakCommand")
|
|
14
|
+
.sc(InsertAdBreak$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListAdConfigurations$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListAdConfigurationsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonInteractiveVideoService", "ListAdConfigurations", {})
|
|
13
|
+
.n("IvsClient", "ListAdConfigurationsCommand")
|
|
14
|
+
.sc(ListAdConfigurations$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
export * from "./BatchGetChannelCommand";
|
|
2
2
|
export * from "./BatchGetStreamKeyCommand";
|
|
3
3
|
export * from "./BatchStartViewerSessionRevocationCommand";
|
|
4
|
+
export * from "./CreateAdConfigurationCommand";
|
|
4
5
|
export * from "./CreateChannelCommand";
|
|
5
6
|
export * from "./CreatePlaybackRestrictionPolicyCommand";
|
|
6
7
|
export * from "./CreateRecordingConfigurationCommand";
|
|
7
8
|
export * from "./CreateStreamKeyCommand";
|
|
9
|
+
export * from "./DeleteAdConfigurationCommand";
|
|
8
10
|
export * from "./DeleteChannelCommand";
|
|
9
11
|
export * from "./DeletePlaybackKeyPairCommand";
|
|
10
12
|
export * from "./DeletePlaybackRestrictionPolicyCommand";
|
|
11
13
|
export * from "./DeleteRecordingConfigurationCommand";
|
|
12
14
|
export * from "./DeleteStreamKeyCommand";
|
|
15
|
+
export * from "./GetAdConfigurationCommand";
|
|
13
16
|
export * from "./GetChannelCommand";
|
|
14
17
|
export * from "./GetPlaybackKeyPairCommand";
|
|
15
18
|
export * from "./GetPlaybackRestrictionPolicyCommand";
|
|
@@ -18,6 +21,8 @@ export * from "./GetStreamCommand";
|
|
|
18
21
|
export * from "./GetStreamKeyCommand";
|
|
19
22
|
export * from "./GetStreamSessionCommand";
|
|
20
23
|
export * from "./ImportPlaybackKeyPairCommand";
|
|
24
|
+
export * from "./InsertAdBreakCommand";
|
|
25
|
+
export * from "./ListAdConfigurationsCommand";
|
|
21
26
|
export * from "./ListChannelsCommand";
|
|
22
27
|
export * from "./ListPlaybackKeyPairsCommand";
|
|
23
28
|
export * from "./ListPlaybackRestrictionPoliciesCommand";
|
package/dist-es/models/errors.js
CHANGED
|
@@ -2,6 +2,14 @@ import { IvsServiceException as __BaseException } from "./IvsServiceException";
|
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
3
|
name = "AccessDeniedException";
|
|
4
4
|
$fault = "client";
|
|
5
|
+
accessControlAllowOrigin;
|
|
6
|
+
accessControlExposeHeaders;
|
|
7
|
+
cacheControl;
|
|
8
|
+
contentSecurityPolicy;
|
|
9
|
+
strictTransportSecurity;
|
|
10
|
+
xContentTypeOptions;
|
|
11
|
+
xFrameOptions;
|
|
12
|
+
xAmznErrorType;
|
|
5
13
|
exceptionMessage;
|
|
6
14
|
constructor(opts) {
|
|
7
15
|
super({
|
|
@@ -10,40 +18,58 @@ export class AccessDeniedException extends __BaseException {
|
|
|
10
18
|
...opts,
|
|
11
19
|
});
|
|
12
20
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
21
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
22
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
23
|
+
this.cacheControl = opts.cacheControl;
|
|
24
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
25
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
26
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
27
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
28
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
13
29
|
this.exceptionMessage = opts.exceptionMessage;
|
|
14
30
|
}
|
|
15
31
|
}
|
|
16
|
-
export class
|
|
17
|
-
name = "
|
|
18
|
-
$fault = "
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class ThrottlingException extends __BaseException {
|
|
31
|
-
name = "ThrottlingException";
|
|
32
|
-
$fault = "client";
|
|
32
|
+
export class ServiceUnavailable extends __BaseException {
|
|
33
|
+
name = "ServiceUnavailable";
|
|
34
|
+
$fault = "server";
|
|
35
|
+
accessControlAllowOrigin;
|
|
36
|
+
accessControlExposeHeaders;
|
|
37
|
+
cacheControl;
|
|
38
|
+
contentSecurityPolicy;
|
|
39
|
+
strictTransportSecurity;
|
|
40
|
+
xContentTypeOptions;
|
|
41
|
+
xFrameOptions;
|
|
42
|
+
xAmznErrorType;
|
|
33
43
|
exceptionMessage;
|
|
34
44
|
constructor(opts) {
|
|
35
45
|
super({
|
|
36
|
-
name: "
|
|
37
|
-
$fault: "
|
|
46
|
+
name: "ServiceUnavailable",
|
|
47
|
+
$fault: "server",
|
|
38
48
|
...opts,
|
|
39
49
|
});
|
|
40
|
-
Object.setPrototypeOf(this,
|
|
50
|
+
Object.setPrototypeOf(this, ServiceUnavailable.prototype);
|
|
51
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
52
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
53
|
+
this.cacheControl = opts.cacheControl;
|
|
54
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
55
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
56
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
57
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
58
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
41
59
|
this.exceptionMessage = opts.exceptionMessage;
|
|
42
60
|
}
|
|
43
61
|
}
|
|
44
62
|
export class ValidationException extends __BaseException {
|
|
45
63
|
name = "ValidationException";
|
|
46
64
|
$fault = "client";
|
|
65
|
+
accessControlAllowOrigin;
|
|
66
|
+
accessControlExposeHeaders;
|
|
67
|
+
cacheControl;
|
|
68
|
+
contentSecurityPolicy;
|
|
69
|
+
strictTransportSecurity;
|
|
70
|
+
xContentTypeOptions;
|
|
71
|
+
xFrameOptions;
|
|
72
|
+
xAmznErrorType;
|
|
47
73
|
exceptionMessage;
|
|
48
74
|
constructor(opts) {
|
|
49
75
|
super({
|
|
@@ -52,40 +78,88 @@ export class ValidationException extends __BaseException {
|
|
|
52
78
|
...opts,
|
|
53
79
|
});
|
|
54
80
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
81
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
82
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
83
|
+
this.cacheControl = opts.cacheControl;
|
|
84
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
85
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
86
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
87
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
88
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
55
89
|
this.exceptionMessage = opts.exceptionMessage;
|
|
56
90
|
}
|
|
57
91
|
}
|
|
58
|
-
export class
|
|
59
|
-
name = "
|
|
92
|
+
export class PendingVerification extends __BaseException {
|
|
93
|
+
name = "PendingVerification";
|
|
60
94
|
$fault = "client";
|
|
95
|
+
accessControlAllowOrigin;
|
|
96
|
+
accessControlExposeHeaders;
|
|
97
|
+
cacheControl;
|
|
98
|
+
contentSecurityPolicy;
|
|
99
|
+
strictTransportSecurity;
|
|
100
|
+
xContentTypeOptions;
|
|
101
|
+
xFrameOptions;
|
|
102
|
+
xAmznErrorType;
|
|
61
103
|
exceptionMessage;
|
|
62
104
|
constructor(opts) {
|
|
63
105
|
super({
|
|
64
|
-
name: "
|
|
106
|
+
name: "PendingVerification",
|
|
65
107
|
$fault: "client",
|
|
66
108
|
...opts,
|
|
67
109
|
});
|
|
68
|
-
Object.setPrototypeOf(this,
|
|
110
|
+
Object.setPrototypeOf(this, PendingVerification.prototype);
|
|
111
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
112
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
113
|
+
this.cacheControl = opts.cacheControl;
|
|
114
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
115
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
116
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
117
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
118
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
69
119
|
this.exceptionMessage = opts.exceptionMessage;
|
|
70
120
|
}
|
|
71
121
|
}
|
|
72
|
-
export class
|
|
73
|
-
name = "
|
|
122
|
+
export class ThrottlingException extends __BaseException {
|
|
123
|
+
name = "ThrottlingException";
|
|
74
124
|
$fault = "client";
|
|
125
|
+
accessControlAllowOrigin;
|
|
126
|
+
accessControlExposeHeaders;
|
|
127
|
+
cacheControl;
|
|
128
|
+
contentSecurityPolicy;
|
|
129
|
+
strictTransportSecurity;
|
|
130
|
+
xContentTypeOptions;
|
|
131
|
+
xFrameOptions;
|
|
132
|
+
xAmznErrorType;
|
|
75
133
|
exceptionMessage;
|
|
76
134
|
constructor(opts) {
|
|
77
135
|
super({
|
|
78
|
-
name: "
|
|
136
|
+
name: "ThrottlingException",
|
|
79
137
|
$fault: "client",
|
|
80
138
|
...opts,
|
|
81
139
|
});
|
|
82
|
-
Object.setPrototypeOf(this,
|
|
140
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
141
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
142
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
143
|
+
this.cacheControl = opts.cacheControl;
|
|
144
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
145
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
146
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
147
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
148
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
83
149
|
this.exceptionMessage = opts.exceptionMessage;
|
|
84
150
|
}
|
|
85
151
|
}
|
|
86
152
|
export class ConflictException extends __BaseException {
|
|
87
153
|
name = "ConflictException";
|
|
88
154
|
$fault = "client";
|
|
155
|
+
accessControlAllowOrigin;
|
|
156
|
+
accessControlExposeHeaders;
|
|
157
|
+
cacheControl;
|
|
158
|
+
contentSecurityPolicy;
|
|
159
|
+
strictTransportSecurity;
|
|
160
|
+
xContentTypeOptions;
|
|
161
|
+
xFrameOptions;
|
|
162
|
+
xAmznErrorType;
|
|
89
163
|
exceptionMessage;
|
|
90
164
|
constructor(opts) {
|
|
91
165
|
super({
|
|
@@ -94,12 +168,28 @@ export class ConflictException extends __BaseException {
|
|
|
94
168
|
...opts,
|
|
95
169
|
});
|
|
96
170
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
171
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
172
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
173
|
+
this.cacheControl = opts.cacheControl;
|
|
174
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
175
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
176
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
177
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
178
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
97
179
|
this.exceptionMessage = opts.exceptionMessage;
|
|
98
180
|
}
|
|
99
181
|
}
|
|
100
182
|
export class InternalServerException extends __BaseException {
|
|
101
183
|
name = "InternalServerException";
|
|
102
184
|
$fault = "server";
|
|
185
|
+
accessControlAllowOrigin;
|
|
186
|
+
accessControlExposeHeaders;
|
|
187
|
+
cacheControl;
|
|
188
|
+
contentSecurityPolicy;
|
|
189
|
+
strictTransportSecurity;
|
|
190
|
+
xContentTypeOptions;
|
|
191
|
+
xFrameOptions;
|
|
192
|
+
xAmznErrorType;
|
|
103
193
|
exceptionMessage;
|
|
104
194
|
constructor(opts) {
|
|
105
195
|
super({
|
|
@@ -108,12 +198,88 @@ export class InternalServerException extends __BaseException {
|
|
|
108
198
|
...opts,
|
|
109
199
|
});
|
|
110
200
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
201
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
202
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
203
|
+
this.cacheControl = opts.cacheControl;
|
|
204
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
205
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
206
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
207
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
208
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
209
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
213
|
+
name = "ResourceNotFoundException";
|
|
214
|
+
$fault = "client";
|
|
215
|
+
accessControlAllowOrigin;
|
|
216
|
+
accessControlExposeHeaders;
|
|
217
|
+
cacheControl;
|
|
218
|
+
contentSecurityPolicy;
|
|
219
|
+
strictTransportSecurity;
|
|
220
|
+
xContentTypeOptions;
|
|
221
|
+
xFrameOptions;
|
|
222
|
+
xAmznErrorType;
|
|
223
|
+
exceptionMessage;
|
|
224
|
+
constructor(opts) {
|
|
225
|
+
super({
|
|
226
|
+
name: "ResourceNotFoundException",
|
|
227
|
+
$fault: "client",
|
|
228
|
+
...opts,
|
|
229
|
+
});
|
|
230
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
231
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
232
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
233
|
+
this.cacheControl = opts.cacheControl;
|
|
234
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
235
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
236
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
237
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
238
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
239
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
243
|
+
name = "ServiceQuotaExceededException";
|
|
244
|
+
$fault = "client";
|
|
245
|
+
accessControlAllowOrigin;
|
|
246
|
+
accessControlExposeHeaders;
|
|
247
|
+
cacheControl;
|
|
248
|
+
contentSecurityPolicy;
|
|
249
|
+
strictTransportSecurity;
|
|
250
|
+
xContentTypeOptions;
|
|
251
|
+
xFrameOptions;
|
|
252
|
+
xAmznErrorType;
|
|
253
|
+
exceptionMessage;
|
|
254
|
+
constructor(opts) {
|
|
255
|
+
super({
|
|
256
|
+
name: "ServiceQuotaExceededException",
|
|
257
|
+
$fault: "client",
|
|
258
|
+
...opts,
|
|
259
|
+
});
|
|
260
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
261
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
262
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
263
|
+
this.cacheControl = opts.cacheControl;
|
|
264
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
265
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
266
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
267
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
268
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
111
269
|
this.exceptionMessage = opts.exceptionMessage;
|
|
112
270
|
}
|
|
113
271
|
}
|
|
114
272
|
export class ChannelNotBroadcasting extends __BaseException {
|
|
115
273
|
name = "ChannelNotBroadcasting";
|
|
116
274
|
$fault = "client";
|
|
275
|
+
accessControlAllowOrigin;
|
|
276
|
+
accessControlExposeHeaders;
|
|
277
|
+
cacheControl;
|
|
278
|
+
contentSecurityPolicy;
|
|
279
|
+
strictTransportSecurity;
|
|
280
|
+
xContentTypeOptions;
|
|
281
|
+
xFrameOptions;
|
|
282
|
+
xAmznErrorType;
|
|
117
283
|
exceptionMessage;
|
|
118
284
|
constructor(opts) {
|
|
119
285
|
super({
|
|
@@ -122,12 +288,28 @@ export class ChannelNotBroadcasting extends __BaseException {
|
|
|
122
288
|
...opts,
|
|
123
289
|
});
|
|
124
290
|
Object.setPrototypeOf(this, ChannelNotBroadcasting.prototype);
|
|
291
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
292
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
293
|
+
this.cacheControl = opts.cacheControl;
|
|
294
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
295
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
296
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
297
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
298
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
125
299
|
this.exceptionMessage = opts.exceptionMessage;
|
|
126
300
|
}
|
|
127
301
|
}
|
|
128
302
|
export class StreamUnavailable extends __BaseException {
|
|
129
303
|
name = "StreamUnavailable";
|
|
130
304
|
$fault = "server";
|
|
305
|
+
accessControlAllowOrigin;
|
|
306
|
+
accessControlExposeHeaders;
|
|
307
|
+
cacheControl;
|
|
308
|
+
contentSecurityPolicy;
|
|
309
|
+
strictTransportSecurity;
|
|
310
|
+
xContentTypeOptions;
|
|
311
|
+
xFrameOptions;
|
|
312
|
+
xAmznErrorType;
|
|
131
313
|
exceptionMessage;
|
|
132
314
|
constructor(opts) {
|
|
133
315
|
super({
|
|
@@ -136,6 +318,14 @@ export class StreamUnavailable extends __BaseException {
|
|
|
136
318
|
...opts,
|
|
137
319
|
});
|
|
138
320
|
Object.setPrototypeOf(this, StreamUnavailable.prototype);
|
|
321
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
322
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
323
|
+
this.cacheControl = opts.cacheControl;
|
|
324
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
325
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
326
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
327
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
328
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
139
329
|
this.exceptionMessage = opts.exceptionMessage;
|
|
140
330
|
}
|
|
141
331
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListAdConfigurationsCommand, } from "../commands/ListAdConfigurationsCommand";
|
|
3
|
+
import { IvsClient } from "../IvsClient";
|
|
4
|
+
export const paginateListAdConfigurations = createPaginator(IvsClient, ListAdConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|