@aws-sdk/client-ivs 3.504.0 → 3.507.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 +148 -72
- package/dist-cjs/commands/CreatePlaybackRestrictionPolicyCommand.js +1 -0
- package/dist-cjs/commands/DeletePlaybackRestrictionPolicyCommand.js +1 -0
- package/dist-cjs/commands/GetPlaybackRestrictionPolicyCommand.js +1 -0
- package/dist-cjs/commands/ListPlaybackRestrictionPoliciesCommand.js +1 -0
- package/dist-cjs/commands/UpdatePlaybackRestrictionPolicyCommand.js +1 -0
- package/dist-cjs/index.js +332 -827
- package/dist-cjs/pagination/ListPlaybackRestrictionPoliciesPaginator.js +1 -0
- package/dist-es/Ivs.js +10 -0
- package/dist-es/commands/CreatePlaybackRestrictionPolicyCommand.js +24 -0
- package/dist-es/commands/DeletePlaybackRestrictionPolicyCommand.js +24 -0
- package/dist-es/commands/GetPlaybackRestrictionPolicyCommand.js +24 -0
- package/dist-es/commands/ListPlaybackRestrictionPoliciesCommand.js +24 -0
- package/dist-es/commands/UpdatePlaybackRestrictionPolicyCommand.js +24 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/pagination/ListPlaybackRestrictionPoliciesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +189 -800
- package/dist-types/Ivs.d.ts +143 -72
- package/dist-types/IvsClient.d.ts +115 -74
- package/dist-types/commands/BatchGetChannelCommand.d.ts +1 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +2 -0
- package/dist-types/commands/CreatePlaybackRestrictionPolicyCommand.d.ts +97 -0
- package/dist-types/commands/DeletePlaybackRestrictionPolicyCommand.d.ts +71 -0
- package/dist-types/commands/GetChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetPlaybackRestrictionPolicyCommand.d.ts +83 -0
- package/dist-types/commands/GetStreamSessionCommand.d.ts +1 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +2 -0
- package/dist-types/commands/ListPlaybackRestrictionPoliciesCommand.d.ts +87 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +2 -0
- package/dist-types/commands/UpdatePlaybackRestrictionPolicyCommand.d.ts +94 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +108 -72
- package/dist-types/models/models_0.d.ts +290 -16
- package/dist-types/pagination/ListPlaybackRestrictionPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Ivs.d.ts +85 -0
- package/dist-types/ts3.4/IvsClient.d.ts +32 -2
- package/dist-types/ts3.4/commands/CreatePlaybackRestrictionPolicyCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeletePlaybackRestrictionPolicyCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/GetPlaybackRestrictionPolicyCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListPlaybackRestrictionPoliciesCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/UpdatePlaybackRestrictionPolicyCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +58 -0
- package/dist-types/ts3.4/pagination/ListPlaybackRestrictionPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +3 -3
|
@@ -56,6 +56,7 @@ declare const BatchGetChannelCommand_base: {
|
|
|
56
56
|
* // },
|
|
57
57
|
* // insecureIngest: true || false,
|
|
58
58
|
* // preset: "HIGHER_BANDWIDTH_DELIVERY" || "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
59
|
+
* // playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
59
60
|
* // },
|
|
60
61
|
* // ],
|
|
61
62
|
* // errors: [ // BatchErrors
|
|
@@ -44,6 +44,7 @@ declare const CreateChannelCommand_base: {
|
|
|
44
44
|
* },
|
|
45
45
|
* insecureIngest: true || false,
|
|
46
46
|
* preset: "HIGHER_BANDWIDTH_DELIVERY" || "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
47
|
+
* playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
47
48
|
* };
|
|
48
49
|
* const command = new CreateChannelCommand(input);
|
|
49
50
|
* const response = await client.send(command);
|
|
@@ -62,6 +63,7 @@ declare const CreateChannelCommand_base: {
|
|
|
62
63
|
* // },
|
|
63
64
|
* // insecureIngest: true || false,
|
|
64
65
|
* // preset: "HIGHER_BANDWIDTH_DELIVERY" || "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
66
|
+
* // playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
65
67
|
* // },
|
|
66
68
|
* // streamKey: { // StreamKey
|
|
67
69
|
* // arn: "STRING_VALUE",
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
|
|
4
|
+
import { CreatePlaybackRestrictionPolicyRequest, CreatePlaybackRestrictionPolicyResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link CreatePlaybackRestrictionPolicyCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface CreatePlaybackRestrictionPolicyCommandInput extends CreatePlaybackRestrictionPolicyRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link CreatePlaybackRestrictionPolicyCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface CreatePlaybackRestrictionPolicyCommandOutput extends CreatePlaybackRestrictionPolicyResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const CreatePlaybackRestrictionPolicyCommand_base: {
|
|
24
|
+
new (input: CreatePlaybackRestrictionPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePlaybackRestrictionPolicyCommandInput, CreatePlaybackRestrictionPolicyCommandOutput, IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Creates a new playback restriction policy, for constraining playback by countries and/or
|
|
30
|
+
* origins.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { IvsClient, CreatePlaybackRestrictionPolicyCommand } from "@aws-sdk/client-ivs"; // ES Modules import
|
|
35
|
+
* // const { IvsClient, CreatePlaybackRestrictionPolicyCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
|
|
36
|
+
* const client = new IvsClient(config);
|
|
37
|
+
* const input = { // CreatePlaybackRestrictionPolicyRequest
|
|
38
|
+
* allowedCountries: [ // PlaybackRestrictionPolicyAllowedCountryList
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* allowedOrigins: [ // PlaybackRestrictionPolicyAllowedOriginList
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* enableStrictOriginEnforcement: true || false,
|
|
45
|
+
* name: "STRING_VALUE",
|
|
46
|
+
* tags: { // Tags
|
|
47
|
+
* "<keys>": "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* };
|
|
50
|
+
* const command = new CreatePlaybackRestrictionPolicyCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // CreatePlaybackRestrictionPolicyResponse
|
|
53
|
+
* // playbackRestrictionPolicy: { // PlaybackRestrictionPolicy
|
|
54
|
+
* // arn: "STRING_VALUE", // required
|
|
55
|
+
* // allowedCountries: [ // PlaybackRestrictionPolicyAllowedCountryList // required
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // allowedOrigins: [ // PlaybackRestrictionPolicyAllowedOriginList // required
|
|
59
|
+
* // "STRING_VALUE",
|
|
60
|
+
* // ],
|
|
61
|
+
* // enableStrictOriginEnforcement: true || false,
|
|
62
|
+
* // name: "STRING_VALUE",
|
|
63
|
+
* // tags: { // Tags
|
|
64
|
+
* // "<keys>": "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param CreatePlaybackRestrictionPolicyCommandInput - {@link CreatePlaybackRestrictionPolicyCommandInput}
|
|
72
|
+
* @returns {@link CreatePlaybackRestrictionPolicyCommandOutput}
|
|
73
|
+
* @see {@link CreatePlaybackRestrictionPolicyCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link CreatePlaybackRestrictionPolicyCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
78
|
+
* <p/>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link PendingVerification} (client fault)
|
|
81
|
+
* <p/>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
84
|
+
* <p/>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
87
|
+
* <p/>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ValidationException} (client fault)
|
|
90
|
+
* <p/>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link IvsServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from Ivs service.</p>
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
export declare class CreatePlaybackRestrictionPolicyCommand extends CreatePlaybackRestrictionPolicyCommand_base {
|
|
97
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
|
|
4
|
+
import { DeletePlaybackRestrictionPolicyRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DeletePlaybackRestrictionPolicyCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DeletePlaybackRestrictionPolicyCommandInput extends DeletePlaybackRestrictionPolicyRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DeletePlaybackRestrictionPolicyCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DeletePlaybackRestrictionPolicyCommandOutput extends __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DeletePlaybackRestrictionPolicyCommand_base: {
|
|
24
|
+
new (input: DeletePlaybackRestrictionPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePlaybackRestrictionPolicyCommandInput, DeletePlaybackRestrictionPolicyCommandOutput, IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Deletes the specified playback restriction policy.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { IvsClient, DeletePlaybackRestrictionPolicyCommand } from "@aws-sdk/client-ivs"; // ES Modules import
|
|
34
|
+
* // const { IvsClient, DeletePlaybackRestrictionPolicyCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
|
|
35
|
+
* const client = new IvsClient(config);
|
|
36
|
+
* const input = { // DeletePlaybackRestrictionPolicyRequest
|
|
37
|
+
* arn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeletePlaybackRestrictionPolicyCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeletePlaybackRestrictionPolicyCommandInput - {@link DeletePlaybackRestrictionPolicyCommandInput}
|
|
46
|
+
* @returns {@link DeletePlaybackRestrictionPolicyCommandOutput}
|
|
47
|
+
* @see {@link DeletePlaybackRestrictionPolicyCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeletePlaybackRestrictionPolicyCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p/>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ConflictException} (client fault)
|
|
55
|
+
* <p/>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link PendingVerification} (client fault)
|
|
58
|
+
* <p/>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p/>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ValidationException} (client fault)
|
|
64
|
+
* <p/>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link IvsServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from Ivs service.</p>
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
export declare class DeletePlaybackRestrictionPolicyCommand extends DeletePlaybackRestrictionPolicyCommand_base {
|
|
71
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
|
|
4
|
+
import { GetPlaybackRestrictionPolicyRequest, GetPlaybackRestrictionPolicyResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetPlaybackRestrictionPolicyCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetPlaybackRestrictionPolicyCommandInput extends GetPlaybackRestrictionPolicyRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetPlaybackRestrictionPolicyCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetPlaybackRestrictionPolicyCommandOutput extends GetPlaybackRestrictionPolicyResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetPlaybackRestrictionPolicyCommand_base: {
|
|
24
|
+
new (input: GetPlaybackRestrictionPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetPlaybackRestrictionPolicyCommandInput, GetPlaybackRestrictionPolicyCommandOutput, IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Gets the specified playback restriction policy.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { IvsClient, GetPlaybackRestrictionPolicyCommand } from "@aws-sdk/client-ivs"; // ES Modules import
|
|
34
|
+
* // const { IvsClient, GetPlaybackRestrictionPolicyCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
|
|
35
|
+
* const client = new IvsClient(config);
|
|
36
|
+
* const input = { // GetPlaybackRestrictionPolicyRequest
|
|
37
|
+
* arn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetPlaybackRestrictionPolicyCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetPlaybackRestrictionPolicyResponse
|
|
42
|
+
* // playbackRestrictionPolicy: { // PlaybackRestrictionPolicy
|
|
43
|
+
* // arn: "STRING_VALUE", // required
|
|
44
|
+
* // allowedCountries: [ // PlaybackRestrictionPolicyAllowedCountryList // required
|
|
45
|
+
* // "STRING_VALUE",
|
|
46
|
+
* // ],
|
|
47
|
+
* // allowedOrigins: [ // PlaybackRestrictionPolicyAllowedOriginList // required
|
|
48
|
+
* // "STRING_VALUE",
|
|
49
|
+
* // ],
|
|
50
|
+
* // enableStrictOriginEnforcement: true || false,
|
|
51
|
+
* // name: "STRING_VALUE",
|
|
52
|
+
* // tags: { // Tags
|
|
53
|
+
* // "<keys>": "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // },
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param GetPlaybackRestrictionPolicyCommandInput - {@link GetPlaybackRestrictionPolicyCommandInput}
|
|
61
|
+
* @returns {@link GetPlaybackRestrictionPolicyCommandOutput}
|
|
62
|
+
* @see {@link GetPlaybackRestrictionPolicyCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link GetPlaybackRestrictionPolicyCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p/>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link PendingVerification} (client fault)
|
|
70
|
+
* <p/>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p/>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p/>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link IvsServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from Ivs service.</p>
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
export declare class GetPlaybackRestrictionPolicyCommand extends GetPlaybackRestrictionPolicyCommand_base {
|
|
83
|
+
}
|
|
@@ -58,6 +58,7 @@ declare const GetStreamSessionCommand_base: {
|
|
|
58
58
|
* // },
|
|
59
59
|
* // insecureIngest: true || false,
|
|
60
60
|
* // preset: "HIGHER_BANDWIDTH_DELIVERY" || "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
61
|
+
* // playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
61
62
|
* // },
|
|
62
63
|
* // ingestConfiguration: { // IngestConfiguration
|
|
63
64
|
* // video: { // VideoConfiguration
|
|
@@ -39,6 +39,7 @@ declare const ListChannelsCommand_base: {
|
|
|
39
39
|
* const input = { // ListChannelsRequest
|
|
40
40
|
* filterByName: "STRING_VALUE",
|
|
41
41
|
* filterByRecordingConfigurationArn: "STRING_VALUE",
|
|
42
|
+
* filterByPlaybackRestrictionPolicyArn: "STRING_VALUE",
|
|
42
43
|
* nextToken: "STRING_VALUE",
|
|
43
44
|
* maxResults: Number("int"),
|
|
44
45
|
* };
|
|
@@ -58,6 +59,7 @@ declare const ListChannelsCommand_base: {
|
|
|
58
59
|
* // insecureIngest: true || false,
|
|
59
60
|
* // type: "BASIC" || "STANDARD" || "ADVANCED_SD" || "ADVANCED_HD",
|
|
60
61
|
* // preset: "HIGHER_BANDWIDTH_DELIVERY" || "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
62
|
+
* // playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
61
63
|
* // },
|
|
62
64
|
* // ],
|
|
63
65
|
* // nextToken: "STRING_VALUE",
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
|
|
4
|
+
import { ListPlaybackRestrictionPoliciesRequest, ListPlaybackRestrictionPoliciesResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link ListPlaybackRestrictionPoliciesCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ListPlaybackRestrictionPoliciesCommandInput extends ListPlaybackRestrictionPoliciesRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link ListPlaybackRestrictionPoliciesCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface ListPlaybackRestrictionPoliciesCommandOutput extends ListPlaybackRestrictionPoliciesResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const ListPlaybackRestrictionPoliciesCommand_base: {
|
|
24
|
+
new (input: ListPlaybackRestrictionPoliciesCommandInput): import("@smithy/smithy-client").CommandImpl<ListPlaybackRestrictionPoliciesCommandInput, ListPlaybackRestrictionPoliciesCommandOutput, IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Gets summary information about playback restriction policies.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { IvsClient, ListPlaybackRestrictionPoliciesCommand } from "@aws-sdk/client-ivs"; // ES Modules import
|
|
34
|
+
* // const { IvsClient, ListPlaybackRestrictionPoliciesCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
|
|
35
|
+
* const client = new IvsClient(config);
|
|
36
|
+
* const input = { // ListPlaybackRestrictionPoliciesRequest
|
|
37
|
+
* nextToken: "STRING_VALUE",
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListPlaybackRestrictionPoliciesCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListPlaybackRestrictionPoliciesResponse
|
|
43
|
+
* // playbackRestrictionPolicies: [ // PlaybackRestrictionPolicyList // required
|
|
44
|
+
* // { // PlaybackRestrictionPolicySummary
|
|
45
|
+
* // arn: "STRING_VALUE", // required
|
|
46
|
+
* // allowedCountries: [ // PlaybackRestrictionPolicyAllowedCountryList // required
|
|
47
|
+
* // "STRING_VALUE",
|
|
48
|
+
* // ],
|
|
49
|
+
* // allowedOrigins: [ // PlaybackRestrictionPolicyAllowedOriginList // required
|
|
50
|
+
* // "STRING_VALUE",
|
|
51
|
+
* // ],
|
|
52
|
+
* // enableStrictOriginEnforcement: true || false,
|
|
53
|
+
* // name: "STRING_VALUE",
|
|
54
|
+
* // tags: { // Tags
|
|
55
|
+
* // "<keys>": "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // nextToken: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param ListPlaybackRestrictionPoliciesCommandInput - {@link ListPlaybackRestrictionPoliciesCommandInput}
|
|
65
|
+
* @returns {@link ListPlaybackRestrictionPoliciesCommandOutput}
|
|
66
|
+
* @see {@link ListPlaybackRestrictionPoliciesCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link ListPlaybackRestrictionPoliciesCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p/>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ConflictException} (client fault)
|
|
74
|
+
* <p/>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link PendingVerification} (client fault)
|
|
77
|
+
* <p/>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p/>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link IvsServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from Ivs service.</p>
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
export declare class ListPlaybackRestrictionPoliciesCommand extends ListPlaybackRestrictionPoliciesCommand_base {
|
|
87
|
+
}
|
|
@@ -44,6 +44,7 @@ declare const UpdateChannelCommand_base: {
|
|
|
44
44
|
* recordingConfigurationArn: "STRING_VALUE",
|
|
45
45
|
* insecureIngest: true || false,
|
|
46
46
|
* preset: "HIGHER_BANDWIDTH_DELIVERY" || "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
47
|
+
* playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
47
48
|
* };
|
|
48
49
|
* const command = new UpdateChannelCommand(input);
|
|
49
50
|
* const response = await client.send(command);
|
|
@@ -62,6 +63,7 @@ declare const UpdateChannelCommand_base: {
|
|
|
62
63
|
* // },
|
|
63
64
|
* // insecureIngest: true || false,
|
|
64
65
|
* // preset: "HIGHER_BANDWIDTH_DELIVERY" || "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
66
|
+
* // playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
65
67
|
* // },
|
|
66
68
|
* // };
|
|
67
69
|
*
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
|
|
4
|
+
import { UpdatePlaybackRestrictionPolicyRequest, UpdatePlaybackRestrictionPolicyResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link UpdatePlaybackRestrictionPolicyCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface UpdatePlaybackRestrictionPolicyCommandInput extends UpdatePlaybackRestrictionPolicyRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link UpdatePlaybackRestrictionPolicyCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdatePlaybackRestrictionPolicyCommandOutput extends UpdatePlaybackRestrictionPolicyResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const UpdatePlaybackRestrictionPolicyCommand_base: {
|
|
24
|
+
new (input: UpdatePlaybackRestrictionPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePlaybackRestrictionPolicyCommandInput, UpdatePlaybackRestrictionPolicyCommandOutput, IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Updates a specified playback restriction policy.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { IvsClient, UpdatePlaybackRestrictionPolicyCommand } from "@aws-sdk/client-ivs"; // ES Modules import
|
|
34
|
+
* // const { IvsClient, UpdatePlaybackRestrictionPolicyCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
|
|
35
|
+
* const client = new IvsClient(config);
|
|
36
|
+
* const input = { // UpdatePlaybackRestrictionPolicyRequest
|
|
37
|
+
* arn: "STRING_VALUE", // required
|
|
38
|
+
* allowedCountries: [ // PlaybackRestrictionPolicyAllowedCountryList
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* allowedOrigins: [ // PlaybackRestrictionPolicyAllowedOriginList
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* enableStrictOriginEnforcement: true || false,
|
|
45
|
+
* name: "STRING_VALUE",
|
|
46
|
+
* };
|
|
47
|
+
* const command = new UpdatePlaybackRestrictionPolicyCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // UpdatePlaybackRestrictionPolicyResponse
|
|
50
|
+
* // playbackRestrictionPolicy: { // PlaybackRestrictionPolicy
|
|
51
|
+
* // arn: "STRING_VALUE", // required
|
|
52
|
+
* // allowedCountries: [ // PlaybackRestrictionPolicyAllowedCountryList // required
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // allowedOrigins: [ // PlaybackRestrictionPolicyAllowedOriginList // required
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // enableStrictOriginEnforcement: true || false,
|
|
59
|
+
* // name: "STRING_VALUE",
|
|
60
|
+
* // tags: { // Tags
|
|
61
|
+
* // "<keys>": "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // },
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param UpdatePlaybackRestrictionPolicyCommandInput - {@link UpdatePlaybackRestrictionPolicyCommandInput}
|
|
69
|
+
* @returns {@link UpdatePlaybackRestrictionPolicyCommandOutput}
|
|
70
|
+
* @see {@link UpdatePlaybackRestrictionPolicyCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link UpdatePlaybackRestrictionPolicyCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p/>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ConflictException} (client fault)
|
|
78
|
+
* <p/>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link PendingVerification} (client fault)
|
|
81
|
+
* <p/>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <p/>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
* <p/>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link IvsServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from Ivs service.</p>
|
|
91
|
+
*
|
|
92
|
+
*/
|
|
93
|
+
export declare class UpdatePlaybackRestrictionPolicyCommand extends UpdatePlaybackRestrictionPolicyCommand_base {
|
|
94
|
+
}
|
|
@@ -2,14 +2,17 @@ export * from "./BatchGetChannelCommand";
|
|
|
2
2
|
export * from "./BatchGetStreamKeyCommand";
|
|
3
3
|
export * from "./BatchStartViewerSessionRevocationCommand";
|
|
4
4
|
export * from "./CreateChannelCommand";
|
|
5
|
+
export * from "./CreatePlaybackRestrictionPolicyCommand";
|
|
5
6
|
export * from "./CreateRecordingConfigurationCommand";
|
|
6
7
|
export * from "./CreateStreamKeyCommand";
|
|
7
8
|
export * from "./DeleteChannelCommand";
|
|
8
9
|
export * from "./DeletePlaybackKeyPairCommand";
|
|
10
|
+
export * from "./DeletePlaybackRestrictionPolicyCommand";
|
|
9
11
|
export * from "./DeleteRecordingConfigurationCommand";
|
|
10
12
|
export * from "./DeleteStreamKeyCommand";
|
|
11
13
|
export * from "./GetChannelCommand";
|
|
12
14
|
export * from "./GetPlaybackKeyPairCommand";
|
|
15
|
+
export * from "./GetPlaybackRestrictionPolicyCommand";
|
|
13
16
|
export * from "./GetRecordingConfigurationCommand";
|
|
14
17
|
export * from "./GetStreamCommand";
|
|
15
18
|
export * from "./GetStreamKeyCommand";
|
|
@@ -17,6 +20,7 @@ export * from "./GetStreamSessionCommand";
|
|
|
17
20
|
export * from "./ImportPlaybackKeyPairCommand";
|
|
18
21
|
export * from "./ListChannelsCommand";
|
|
19
22
|
export * from "./ListPlaybackKeyPairsCommand";
|
|
23
|
+
export * from "./ListPlaybackRestrictionPoliciesCommand";
|
|
20
24
|
export * from "./ListRecordingConfigurationsCommand";
|
|
21
25
|
export * from "./ListStreamKeysCommand";
|
|
22
26
|
export * from "./ListStreamSessionsCommand";
|
|
@@ -28,3 +32,4 @@ export * from "./StopStreamCommand";
|
|
|
28
32
|
export * from "./TagResourceCommand";
|
|
29
33
|
export * from "./UntagResourceCommand";
|
|
30
34
|
export * from "./UpdateChannelCommand";
|
|
35
|
+
export * from "./UpdatePlaybackRestrictionPolicyCommand";
|