@aws-sdk/client-gameliftstreams 3.1097.0 → 3.1099.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.
Files changed (40) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +184 -4
  3. package/dist-es/GameLiftStreams.js +12 -0
  4. package/dist-es/commands/CreateStreamUrlCommand.js +4 -0
  5. package/dist-es/commands/GetStreamUrlCommand.js +4 -0
  6. package/dist-es/commands/ListApplicationShaderCachesCommand.js +4 -0
  7. package/dist-es/commands/ListStreamUrlsCommand.js +4 -0
  8. package/dist-es/commands/RevokeStreamUrlCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +27 -3
  11. package/dist-es/pagination/ListStreamUrlsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +107 -0
  14. package/dist-types/GameLiftStreams.d.ts +43 -0
  15. package/dist-types/GameLiftStreamsClient.d.ts +7 -2
  16. package/dist-types/commands/CreateStreamUrlCommand.d.ts +144 -0
  17. package/dist-types/commands/GetStreamUrlCommand.d.ts +135 -0
  18. package/dist-types/commands/ListApplicationShaderCachesCommand.d.ts +97 -0
  19. package/dist-types/commands/ListStreamUrlsCommand.d.ts +103 -0
  20. package/dist-types/commands/RevokeStreamUrlCommand.d.ts +86 -0
  21. package/dist-types/commands/index.d.ts +5 -0
  22. package/dist-types/models/enums.d.ts +64 -8
  23. package/dist-types/models/models_0.d.ts +520 -43
  24. package/dist-types/pagination/ListStreamUrlsPaginator.d.ts +7 -0
  25. package/dist-types/pagination/index.d.ts +1 -0
  26. package/dist-types/schemas/schemas_0.d.ts +16 -0
  27. package/dist-types/ts3.4/GameLiftStreams.d.ts +93 -0
  28. package/dist-types/ts3.4/GameLiftStreamsClient.d.ts +30 -0
  29. package/dist-types/ts3.4/commands/CreateStreamUrlCommand.d.ts +38 -0
  30. package/dist-types/ts3.4/commands/GetStreamUrlCommand.d.ts +38 -0
  31. package/dist-types/ts3.4/commands/ListApplicationShaderCachesCommand.d.ts +42 -0
  32. package/dist-types/ts3.4/commands/ListStreamUrlsCommand.d.ts +38 -0
  33. package/dist-types/ts3.4/commands/RevokeStreamUrlCommand.d.ts +38 -0
  34. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  35. package/dist-types/ts3.4/models/enums.d.ts +33 -4
  36. package/dist-types/ts3.4/models/models_0.d.ts +122 -12
  37. package/dist-types/ts3.4/pagination/ListStreamUrlsPaginator.d.ts +11 -0
  38. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
  40. package/package.json +6 -6
@@ -0,0 +1,135 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetStreamUrlInput, GetStreamUrlOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetStreamUrlCommand}.
11
+ */
12
+ export interface GetStreamUrlCommandInput extends GetStreamUrlInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetStreamUrlCommand}.
18
+ */
19
+ export interface GetStreamUrlCommandOutput extends GetStreamUrlOutput, __MetadataBearer {
20
+ }
21
+ declare const GetStreamUrlCommand_base: {
22
+ new (input: GetStreamUrlCommandInput): import("@smithy/core/client").CommandImpl<GetStreamUrlCommandInput, GetStreamUrlCommandOutput, import("..").GameLiftStreamsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetStreamUrlCommandInput): import("@smithy/core/client").CommandImpl<GetStreamUrlCommandInput, GetStreamUrlCommandOutput, import("..").GameLiftStreamsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Retrieves properties for a stream URL, including its current status, usage, and the stream sessions started through it.</p> <p>If you delete the stream group or application that backs the stream URL, this operation updates the status of the stream URL to <code>REVOKED</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { GameLiftStreamsClient, GetStreamUrlCommand } from "@aws-sdk/client-gameliftstreams"; // ES Modules import
32
+ * // const { GameLiftStreamsClient, GetStreamUrlCommand } = require("@aws-sdk/client-gameliftstreams"); // CommonJS import
33
+ * // import type { GameLiftStreamsClientConfig } from "@aws-sdk/client-gameliftstreams";
34
+ * const config = {}; // type is GameLiftStreamsClientConfig
35
+ * const client = new GameLiftStreamsClient(config);
36
+ * const input = { // GetStreamUrlInput
37
+ * Identifier: "STRING_VALUE", // required
38
+ * StreamUrlIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetStreamUrlCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetStreamUrlOutput
43
+ * // Arn: "STRING_VALUE", // required
44
+ * // StreamUrlId: "STRING_VALUE",
45
+ * // StreamUrl: "STRING_VALUE",
46
+ * // Status: "ACTIVE" || "EXPIRED" || "REVOKED" || "LIMIT_REACHED",
47
+ * // StatusReason: "userRevoked" || "revokedAndTerminatingSessions" || "revokedAndSessionsTerminated" || "streamGroupDeleted" || "applicationDeleted",
48
+ * // ExpiresAt: new Date("TIMESTAMP"),
49
+ * // CreatedAt: new Date("TIMESTAMP"),
50
+ * // UsageLimit: Number("int"),
51
+ * // RemainingUses: Number("int"),
52
+ * // StreamGroupArn: "STRING_VALUE",
53
+ * // ApplicationArn: "STRING_VALUE",
54
+ * // Protocol: "WebRTC",
55
+ * // Locations: [ // LocationList
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // SessionLengthSeconds: Number("int"),
59
+ * // Description: "STRING_VALUE",
60
+ * // AdditionalLaunchArgs: [ // GameLaunchArgList
61
+ * // "STRING_VALUE",
62
+ * // ],
63
+ * // AdditionalEnvironmentVariables: { // EnvironmentVariables
64
+ * // "<keys>": "STRING_VALUE",
65
+ * // },
66
+ * // RoleArn: "STRING_VALUE",
67
+ * // DisplayConfiguration: { // DisplayConfiguration
68
+ * // Resolution: { // Resolution
69
+ * // Width: Number("int"), // required
70
+ * // Height: Number("int"), // required
71
+ * // },
72
+ * // },
73
+ * // StreamSessions: [ // StreamSessionSummaryList
74
+ * // { // StreamSessionSummary
75
+ * // Arn: "STRING_VALUE",
76
+ * // UserId: "STRING_VALUE",
77
+ * // Status: "ACTIVATING" || "ACTIVE" || "CONNECTED" || "PENDING_CLIENT_RECONNECTION" || "RECONNECTING" || "TERMINATING" || "TERMINATED" || "ERROR",
78
+ * // StatusReason: "internalError" || "invalidSignalRequest" || "placementTimeout" || "applicationLogS3DestinationError" || "assumeRoleFailed" || "applicationExit" || "connectionTimeout" || "reconnectionTimeout" || "maxSessionLengthTimeout" || "idleTimeout" || "apiTerminated",
79
+ * // Protocol: "WebRTC",
80
+ * // LastUpdatedAt: new Date("TIMESTAMP"),
81
+ * // CreatedAt: new Date("TIMESTAMP"),
82
+ * // ApplicationArn: "STRING_VALUE",
83
+ * // ExportFilesMetadata: { // ExportFilesMetadata
84
+ * // Status: "SUCCEEDED" || "FAILED" || "PENDING",
85
+ * // StatusReason: "STRING_VALUE",
86
+ * // OutputUri: "STRING_VALUE",
87
+ * // },
88
+ * // Location: "STRING_VALUE",
89
+ * // RoleArn: "STRING_VALUE",
90
+ * // },
91
+ * // ],
92
+ * // };
93
+ *
94
+ * ```
95
+ *
96
+ * @param GetStreamUrlCommandInput - {@link GetStreamUrlCommandInput}
97
+ * @returns {@link GetStreamUrlCommandOutput}
98
+ * @see {@link GetStreamUrlCommandInput} for command's `input` shape.
99
+ * @see {@link GetStreamUrlCommandOutput} for command's `response` shape.
100
+ * @see {@link GameLiftStreamsClientResolvedConfig | config} for GameLiftStreamsClient's `config` shape.
101
+ *
102
+ * @throws {@link AccessDeniedException} (client fault)
103
+ * <p>You don't have the required permissions to access this Amazon GameLift Streams resource. Correct the permissions before you try again.</p>
104
+ *
105
+ * @throws {@link InternalServerException} (server fault)
106
+ * <p>The service encountered an internal error and is unable to complete the request.</p>
107
+ *
108
+ * @throws {@link ResourceNotFoundException} (client fault)
109
+ * <p>The resource specified in the request was not found. Correct the request before you try again.</p>
110
+ *
111
+ * @throws {@link ThrottlingException} (client fault)
112
+ * <p>The request was denied due to request throttling. Retry the request after the suggested wait time.</p>
113
+ *
114
+ * @throws {@link ValidationException} (client fault)
115
+ * <p>One or more parameter values in the request fail to satisfy the specified constraints. Correct the invalid parameter values before retrying the request.</p>
116
+ *
117
+ * @throws {@link GameLiftStreamsServiceException}
118
+ * <p>Base exception class for all service exceptions from GameLiftStreams service.</p>
119
+ *
120
+ *
121
+ * @public
122
+ */
123
+ export declare class GetStreamUrlCommand extends GetStreamUrlCommand_base {
124
+ /** @internal type navigation helper, not in runtime. */
125
+ protected static __types: {
126
+ api: {
127
+ input: GetStreamUrlInput;
128
+ output: GetStreamUrlOutput;
129
+ };
130
+ sdk: {
131
+ input: GetStreamUrlCommandInput;
132
+ output: GetStreamUrlCommandOutput;
133
+ };
134
+ };
135
+ }
@@ -0,0 +1,97 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListApplicationShaderCachesInput, ListApplicationShaderCachesOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListApplicationShaderCachesCommand}.
11
+ */
12
+ export interface ListApplicationShaderCachesCommandInput extends ListApplicationShaderCachesInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListApplicationShaderCachesCommand}.
18
+ */
19
+ export interface ListApplicationShaderCachesCommandOutput extends ListApplicationShaderCachesOutput, __MetadataBearer {
20
+ }
21
+ declare const ListApplicationShaderCachesCommand_base: {
22
+ new (input: ListApplicationShaderCachesCommandInput): import("@smithy/core/client").CommandImpl<ListApplicationShaderCachesCommandInput, ListApplicationShaderCachesCommandOutput, import("..").GameLiftStreamsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListApplicationShaderCachesCommandInput): import("@smithy/core/client").CommandImpl<ListApplicationShaderCachesCommandInput, ListApplicationShaderCachesCommandOutput, import("..").GameLiftStreamsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists the shader caches associated with an Amazon GameLift Streams application. Each shader cache entry includes its status, associated stream groups, and size in bytes.</p> <p>Returns shader caches associated with the specified Amazon GameLift Streams application in all statuses.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { GameLiftStreamsClient, ListApplicationShaderCachesCommand } from "@aws-sdk/client-gameliftstreams"; // ES Modules import
32
+ * // const { GameLiftStreamsClient, ListApplicationShaderCachesCommand } = require("@aws-sdk/client-gameliftstreams"); // CommonJS import
33
+ * // import type { GameLiftStreamsClientConfig } from "@aws-sdk/client-gameliftstreams";
34
+ * const config = {}; // type is GameLiftStreamsClientConfig
35
+ * const client = new GameLiftStreamsClient(config);
36
+ * const input = { // ListApplicationShaderCachesInput
37
+ * Identifier: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new ListApplicationShaderCachesCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // ListApplicationShaderCachesOutput
42
+ * // Items: [ // ShaderCacheSummaryList
43
+ * // { // ShaderCacheSummary
44
+ * // Identifier: "STRING_VALUE", // required
45
+ * // ApplicationArn: "STRING_VALUE", // required
46
+ * // Status: "INITIALIZED" || "PROCESSING" || "READY" || "DELETING" || "ERROR",
47
+ * // LastUpdatedAt: new Date("TIMESTAMP"),
48
+ * // StorageBytes: Number("long"),
49
+ * // AssociatedStreamGroups: [ // ArnList
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // },
53
+ * // ],
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param ListApplicationShaderCachesCommandInput - {@link ListApplicationShaderCachesCommandInput}
59
+ * @returns {@link ListApplicationShaderCachesCommandOutput}
60
+ * @see {@link ListApplicationShaderCachesCommandInput} for command's `input` shape.
61
+ * @see {@link ListApplicationShaderCachesCommandOutput} for command's `response` shape.
62
+ * @see {@link GameLiftStreamsClientResolvedConfig | config} for GameLiftStreamsClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>You don't have the required permissions to access this Amazon GameLift Streams resource. Correct the permissions before you try again.</p>
66
+ *
67
+ * @throws {@link InternalServerException} (server fault)
68
+ * <p>The service encountered an internal error and is unable to complete the request.</p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>The resource specified in the request was not found. Correct the request before you try again.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The request was denied due to request throttling. Retry the request after the suggested wait time.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>One or more parameter values in the request fail to satisfy the specified constraints. Correct the invalid parameter values before retrying the request.</p>
78
+ *
79
+ * @throws {@link GameLiftStreamsServiceException}
80
+ * <p>Base exception class for all service exceptions from GameLiftStreams service.</p>
81
+ *
82
+ *
83
+ * @public
84
+ */
85
+ export declare class ListApplicationShaderCachesCommand extends ListApplicationShaderCachesCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: ListApplicationShaderCachesInput;
90
+ output: ListApplicationShaderCachesOutput;
91
+ };
92
+ sdk: {
93
+ input: ListApplicationShaderCachesCommandInput;
94
+ output: ListApplicationShaderCachesCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -0,0 +1,103 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListStreamUrlsInput, ListStreamUrlsOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListStreamUrlsCommand}.
11
+ */
12
+ export interface ListStreamUrlsCommandInput extends ListStreamUrlsInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListStreamUrlsCommand}.
18
+ */
19
+ export interface ListStreamUrlsCommandOutput extends ListStreamUrlsOutput, __MetadataBearer {
20
+ }
21
+ declare const ListStreamUrlsCommand_base: {
22
+ new (input: ListStreamUrlsCommandInput): import("@smithy/core/client").CommandImpl<ListStreamUrlsCommandInput, ListStreamUrlsCommandOutput, import("..").GameLiftStreamsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListStreamUrlsCommandInput]): import("@smithy/core/client").CommandImpl<ListStreamUrlsCommandInput, ListStreamUrlsCommandOutput, import("..").GameLiftStreamsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Retrieves a list of the stream URLs in the current Amazon Web Services Region for your Amazon Web Services account. You can filter the results by status or by stream group. Use the pagination parameters to retrieve results as a set of sequential pages. If you delete the stream group or application that backs a stream URL, this operation updates that stream URL's status to <code>REVOKED</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { GameLiftStreamsClient, ListStreamUrlsCommand } from "@aws-sdk/client-gameliftstreams"; // ES Modules import
32
+ * // const { GameLiftStreamsClient, ListStreamUrlsCommand } = require("@aws-sdk/client-gameliftstreams"); // CommonJS import
33
+ * // import type { GameLiftStreamsClientConfig } from "@aws-sdk/client-gameliftstreams";
34
+ * const config = {}; // type is GameLiftStreamsClientConfig
35
+ * const client = new GameLiftStreamsClient(config);
36
+ * const input = { // ListStreamUrlsInput
37
+ * Status: "ACTIVE" || "EXPIRED" || "REVOKED" || "LIMIT_REACHED",
38
+ * StreamGroupIdentifier: "STRING_VALUE",
39
+ * NextToken: "STRING_VALUE",
40
+ * MaxResults: Number("int"),
41
+ * };
42
+ * const command = new ListStreamUrlsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListStreamUrlsOutput
45
+ * // Items: [ // StreamUrlSummaryList
46
+ * // { // StreamUrlSummary
47
+ * // Arn: "STRING_VALUE", // required
48
+ * // StreamUrlId: "STRING_VALUE",
49
+ * // StreamUrl: "STRING_VALUE",
50
+ * // Status: "ACTIVE" || "EXPIRED" || "REVOKED" || "LIMIT_REACHED",
51
+ * // StatusReason: "userRevoked" || "revokedAndTerminatingSessions" || "revokedAndSessionsTerminated" || "streamGroupDeleted" || "applicationDeleted",
52
+ * // ExpiresAt: new Date("TIMESTAMP"),
53
+ * // CreatedAt: new Date("TIMESTAMP"),
54
+ * // UsageLimit: Number("int"),
55
+ * // RemainingUses: Number("int"),
56
+ * // StreamGroupArn: "STRING_VALUE",
57
+ * // ApplicationArn: "STRING_VALUE",
58
+ * // SessionLengthSeconds: Number("int"),
59
+ * // Description: "STRING_VALUE",
60
+ * // },
61
+ * // ],
62
+ * // NextToken: "STRING_VALUE",
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param ListStreamUrlsCommandInput - {@link ListStreamUrlsCommandInput}
68
+ * @returns {@link ListStreamUrlsCommandOutput}
69
+ * @see {@link ListStreamUrlsCommandInput} for command's `input` shape.
70
+ * @see {@link ListStreamUrlsCommandOutput} for command's `response` shape.
71
+ * @see {@link GameLiftStreamsClientResolvedConfig | config} for GameLiftStreamsClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <p>You don't have the required permissions to access this Amazon GameLift Streams resource. Correct the permissions before you try again.</p>
75
+ *
76
+ * @throws {@link InternalServerException} (server fault)
77
+ * <p>The service encountered an internal error and is unable to complete the request.</p>
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * <p>The request was denied due to request throttling. Retry the request after the suggested wait time.</p>
81
+ *
82
+ * @throws {@link ValidationException} (client fault)
83
+ * <p>One or more parameter values in the request fail to satisfy the specified constraints. Correct the invalid parameter values before retrying the request.</p>
84
+ *
85
+ * @throws {@link GameLiftStreamsServiceException}
86
+ * <p>Base exception class for all service exceptions from GameLiftStreams service.</p>
87
+ *
88
+ *
89
+ * @public
90
+ */
91
+ export declare class ListStreamUrlsCommand extends ListStreamUrlsCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: ListStreamUrlsInput;
96
+ output: ListStreamUrlsOutput;
97
+ };
98
+ sdk: {
99
+ input: ListStreamUrlsCommandInput;
100
+ output: ListStreamUrlsCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -0,0 +1,86 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { RevokeStreamUrlInput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link RevokeStreamUrlCommand}.
11
+ */
12
+ export interface RevokeStreamUrlCommandInput extends RevokeStreamUrlInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link RevokeStreamUrlCommand}.
18
+ */
19
+ export interface RevokeStreamUrlCommandOutput extends __MetadataBearer {
20
+ }
21
+ declare const RevokeStreamUrlCommand_base: {
22
+ new (input: RevokeStreamUrlCommandInput): import("@smithy/core/client").CommandImpl<RevokeStreamUrlCommandInput, RevokeStreamUrlCommandOutput, import("..").GameLiftStreamsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: RevokeStreamUrlCommandInput): import("@smithy/core/client").CommandImpl<RevokeStreamUrlCommandInput, RevokeStreamUrlCommandOutput, import("..").GameLiftStreamsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Revokes a stream URL so that it can no longer start new stream sessions. By default, stream sessions that are already running continue until they end on their own. To also end running sessions, set <code>RevocationMode</code> to <code>REVOKE_AND_TERMINATE_SESSIONS</code>.</p> <p>Revoking a stream URL is permanent. The status of the stream URL changes to <code>REVOKED</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { GameLiftStreamsClient, RevokeStreamUrlCommand } from "@aws-sdk/client-gameliftstreams"; // ES Modules import
32
+ * // const { GameLiftStreamsClient, RevokeStreamUrlCommand } = require("@aws-sdk/client-gameliftstreams"); // CommonJS import
33
+ * // import type { GameLiftStreamsClientConfig } from "@aws-sdk/client-gameliftstreams";
34
+ * const config = {}; // type is GameLiftStreamsClientConfig
35
+ * const client = new GameLiftStreamsClient(config);
36
+ * const input = { // RevokeStreamUrlInput
37
+ * Identifier: "STRING_VALUE", // required
38
+ * StreamUrlIdentifier: "STRING_VALUE", // required
39
+ * RevocationMode: "REVOKE_URL" || "REVOKE_AND_TERMINATE_SESSIONS",
40
+ * };
41
+ * const command = new RevokeStreamUrlCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param RevokeStreamUrlCommandInput - {@link RevokeStreamUrlCommandInput}
48
+ * @returns {@link RevokeStreamUrlCommandOutput}
49
+ * @see {@link RevokeStreamUrlCommandInput} for command's `input` shape.
50
+ * @see {@link RevokeStreamUrlCommandOutput} for command's `response` shape.
51
+ * @see {@link GameLiftStreamsClientResolvedConfig | config} for GameLiftStreamsClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>You don't have the required permissions to access this Amazon GameLift Streams resource. Correct the permissions before you try again.</p>
55
+ *
56
+ * @throws {@link InternalServerException} (server fault)
57
+ * <p>The service encountered an internal error and is unable to complete the request.</p>
58
+ *
59
+ * @throws {@link ResourceNotFoundException} (client fault)
60
+ * <p>The resource specified in the request was not found. Correct the request before you try again.</p>
61
+ *
62
+ * @throws {@link ThrottlingException} (client fault)
63
+ * <p>The request was denied due to request throttling. Retry the request after the suggested wait time.</p>
64
+ *
65
+ * @throws {@link ValidationException} (client fault)
66
+ * <p>One or more parameter values in the request fail to satisfy the specified constraints. Correct the invalid parameter values before retrying the request.</p>
67
+ *
68
+ * @throws {@link GameLiftStreamsServiceException}
69
+ * <p>Base exception class for all service exceptions from GameLiftStreams service.</p>
70
+ *
71
+ *
72
+ * @public
73
+ */
74
+ export declare class RevokeStreamUrlCommand extends RevokeStreamUrlCommand_base {
75
+ /** @internal type navigation helper, not in runtime. */
76
+ protected static __types: {
77
+ api: {
78
+ input: RevokeStreamUrlInput;
79
+ output: {};
80
+ };
81
+ sdk: {
82
+ input: RevokeStreamUrlCommandInput;
83
+ output: RevokeStreamUrlCommandOutput;
84
+ };
85
+ };
86
+ }
@@ -4,6 +4,7 @@ export * from "./CreateApplicationCommand";
4
4
  export * from "./CreateStreamGroupCommand";
5
5
  export * from "./CreateStreamSessionAdminShellCommand";
6
6
  export * from "./CreateStreamSessionConnectionCommand";
7
+ export * from "./CreateStreamUrlCommand";
7
8
  export * from "./DeleteApplicationCommand";
8
9
  export * from "./DeleteStreamGroupCommand";
9
10
  export * from "./DisassociateApplicationsCommand";
@@ -11,12 +12,16 @@ export * from "./ExportStreamSessionFilesCommand";
11
12
  export * from "./GetApplicationCommand";
12
13
  export * from "./GetStreamGroupCommand";
13
14
  export * from "./GetStreamSessionCommand";
15
+ export * from "./GetStreamUrlCommand";
16
+ export * from "./ListApplicationShaderCachesCommand";
14
17
  export * from "./ListApplicationsCommand";
15
18
  export * from "./ListStreamGroupsCommand";
16
19
  export * from "./ListStreamSessionsByAccountCommand";
17
20
  export * from "./ListStreamSessionsCommand";
21
+ export * from "./ListStreamUrlsCommand";
18
22
  export * from "./ListTagsForResourceCommand";
19
23
  export * from "./RemoveStreamGroupLocationsCommand";
24
+ export * from "./RevokeStreamUrlCommand";
20
25
  export * from "./StartStreamSessionCommand";
21
26
  export * from "./TagResourceCommand";
22
27
  export * from "./TerminateStreamSessionCommand";
@@ -125,26 +125,55 @@ export type StreamGroupStatusReason = (typeof StreamGroupStatusReason)[keyof typ
125
125
  * @public
126
126
  * @enum
127
127
  */
128
- export declare const ExportFilesStatus: {
129
- readonly FAILED: "FAILED";
130
- readonly PENDING: "PENDING";
131
- readonly SUCCEEDED: "SUCCEEDED";
128
+ export declare const Protocol: {
129
+ readonly WEBRTC: "WebRTC";
132
130
  };
133
131
  /**
134
132
  * @public
135
133
  */
136
- export type ExportFilesStatus = (typeof ExportFilesStatus)[keyof typeof ExportFilesStatus];
134
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
137
135
  /**
138
136
  * @public
139
137
  * @enum
140
138
  */
141
- export declare const Protocol: {
142
- readonly WEBRTC: "WebRTC";
139
+ export declare const StreamUrlStatus: {
140
+ readonly ACTIVE: "ACTIVE";
141
+ readonly EXPIRED: "EXPIRED";
142
+ readonly LIMIT_REACHED: "LIMIT_REACHED";
143
+ readonly REVOKED: "REVOKED";
143
144
  };
144
145
  /**
145
146
  * @public
146
147
  */
147
- export type Protocol = (typeof Protocol)[keyof typeof Protocol];
148
+ export type StreamUrlStatus = (typeof StreamUrlStatus)[keyof typeof StreamUrlStatus];
149
+ /**
150
+ * @public
151
+ * @enum
152
+ */
153
+ export declare const StreamUrlStatusReason: {
154
+ readonly APPLICATION_DELETED: "applicationDeleted";
155
+ readonly REVOKED_AND_SESSIONS_TERMINATED: "revokedAndSessionsTerminated";
156
+ readonly REVOKED_AND_TERMINATING_SESSIONS: "revokedAndTerminatingSessions";
157
+ readonly STREAM_GROUP_DELETED: "streamGroupDeleted";
158
+ readonly USER_REVOKED: "userRevoked";
159
+ };
160
+ /**
161
+ * @public
162
+ */
163
+ export type StreamUrlStatusReason = (typeof StreamUrlStatusReason)[keyof typeof StreamUrlStatusReason];
164
+ /**
165
+ * @public
166
+ * @enum
167
+ */
168
+ export declare const ExportFilesStatus: {
169
+ readonly FAILED: "FAILED";
170
+ readonly PENDING: "PENDING";
171
+ readonly SUCCEEDED: "SUCCEEDED";
172
+ };
173
+ /**
174
+ * @public
175
+ */
176
+ export type ExportFilesStatus = (typeof ExportFilesStatus)[keyof typeof ExportFilesStatus];
148
177
  /**
149
178
  * @public
150
179
  * @enum
@@ -184,3 +213,30 @@ export declare const StreamSessionStatusReason: {
184
213
  * @public
185
214
  */
186
215
  export type StreamSessionStatusReason = (typeof StreamSessionStatusReason)[keyof typeof StreamSessionStatusReason];
216
+ /**
217
+ * @public
218
+ * @enum
219
+ */
220
+ export declare const ShaderCacheStatus: {
221
+ readonly DELETING: "DELETING";
222
+ readonly ERROR: "ERROR";
223
+ readonly INITIALIZED: "INITIALIZED";
224
+ readonly PROCESSING: "PROCESSING";
225
+ readonly READY: "READY";
226
+ };
227
+ /**
228
+ * @public
229
+ */
230
+ export type ShaderCacheStatus = (typeof ShaderCacheStatus)[keyof typeof ShaderCacheStatus];
231
+ /**
232
+ * @public
233
+ * @enum
234
+ */
235
+ export declare const RevocationMode: {
236
+ readonly REVOKE_AND_TERMINATE_SESSIONS: "REVOKE_AND_TERMINATE_SESSIONS";
237
+ readonly REVOKE_URL: "REVOKE_URL";
238
+ };
239
+ /**
240
+ * @public
241
+ */
242
+ export type RevocationMode = (typeof RevocationMode)[keyof typeof RevocationMode];