@aws-sdk/client-gameliftstreams 3.762.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/LICENSE +201 -0
- package/README.md +404 -0
- package/dist-cjs/GameLiftStreams.js +59 -0
- package/dist-cjs/GameLiftStreamsClient.js +51 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/AddStreamGroupLocationsCommand.js +26 -0
- package/dist-cjs/commands/AssociateApplicationsCommand.js +26 -0
- package/dist-cjs/commands/CreateApplicationCommand.js +26 -0
- package/dist-cjs/commands/CreateStreamGroupCommand.js +26 -0
- package/dist-cjs/commands/CreateStreamSessionConnectionCommand.js +27 -0
- package/dist-cjs/commands/DeleteApplicationCommand.js +26 -0
- package/dist-cjs/commands/DeleteStreamGroupCommand.js +26 -0
- package/dist-cjs/commands/DisassociateApplicationsCommand.js +26 -0
- package/dist-cjs/commands/ExportStreamSessionFilesCommand.js +26 -0
- package/dist-cjs/commands/GetApplicationCommand.js +26 -0
- package/dist-cjs/commands/GetStreamGroupCommand.js +26 -0
- package/dist-cjs/commands/GetStreamSessionCommand.js +27 -0
- package/dist-cjs/commands/ListApplicationsCommand.js +26 -0
- package/dist-cjs/commands/ListStreamGroupsCommand.js +26 -0
- package/dist-cjs/commands/ListStreamSessionsByAccountCommand.js +26 -0
- package/dist-cjs/commands/ListStreamSessionsCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/RemoveStreamGroupLocationsCommand.js +26 -0
- package/dist-cjs/commands/StartStreamSessionCommand.js +27 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/TerminateStreamSessionCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateApplicationCommand.js +26 -0
- package/dist-cjs/commands/UpdateStreamGroupCommand.js +26 -0
- package/dist-cjs/commands/index.js +27 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/GameLiftStreamsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +211 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListApplicationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListStreamGroupsPaginator.js +7 -0
- package/dist-cjs/pagination/ListStreamSessionsByAccountPaginator.js +7 -0
- package/dist-cjs/pagination/ListStreamSessionsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1005 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-cjs/waiters/index.js +8 -0
- package/dist-cjs/waiters/waitForApplicationDeleted.js +30 -0
- package/dist-cjs/waiters/waitForApplicationReady.js +45 -0
- package/dist-cjs/waiters/waitForStreamGroupActive.js +63 -0
- package/dist-cjs/waiters/waitForStreamGroupDeleted.js +30 -0
- package/dist-cjs/waiters/waitForStreamSessionActive.js +45 -0
- package/dist-es/GameLiftStreams.js +55 -0
- package/dist-es/GameLiftStreamsClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AddStreamGroupLocationsCommand.js +22 -0
- package/dist-es/commands/AssociateApplicationsCommand.js +22 -0
- package/dist-es/commands/CreateApplicationCommand.js +22 -0
- package/dist-es/commands/CreateStreamGroupCommand.js +22 -0
- package/dist-es/commands/CreateStreamSessionConnectionCommand.js +23 -0
- package/dist-es/commands/DeleteApplicationCommand.js +22 -0
- package/dist-es/commands/DeleteStreamGroupCommand.js +22 -0
- package/dist-es/commands/DisassociateApplicationsCommand.js +22 -0
- package/dist-es/commands/ExportStreamSessionFilesCommand.js +22 -0
- package/dist-es/commands/GetApplicationCommand.js +22 -0
- package/dist-es/commands/GetStreamGroupCommand.js +22 -0
- package/dist-es/commands/GetStreamSessionCommand.js +23 -0
- package/dist-es/commands/ListApplicationsCommand.js +22 -0
- package/dist-es/commands/ListStreamGroupsCommand.js +22 -0
- package/dist-es/commands/ListStreamSessionsByAccountCommand.js +22 -0
- package/dist-es/commands/ListStreamSessionsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/RemoveStreamGroupLocationsCommand.js +22 -0
- package/dist-es/commands/StartStreamSessionCommand.js +23 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/TerminateStreamSessionCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateApplicationCommand.js +22 -0
- package/dist-es/commands/UpdateStreamGroupCommand.js +22 -0
- package/dist-es/commands/index.js +24 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/GameLiftStreamsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +196 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +4 -0
- package/dist-es/pagination/ListStreamGroupsPaginator.js +4 -0
- package/dist-es/pagination/ListStreamSessionsByAccountPaginator.js +4 -0
- package/dist-es/pagination/ListStreamSessionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +954 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +47 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-es/waiters/index.js +5 -0
- package/dist-es/waiters/waitForApplicationDeleted.js +25 -0
- package/dist-es/waiters/waitForApplicationReady.js +40 -0
- package/dist-es/waiters/waitForStreamGroupActive.js +58 -0
- package/dist-es/waiters/waitForStreamGroupDeleted.js +25 -0
- package/dist-es/waiters/waitForStreamSessionActive.js +40 -0
- package/dist-types/GameLiftStreams.d.ts +187 -0
- package/dist-types/GameLiftStreamsClient.d.ts +217 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/AddStreamGroupLocationsCommand.d.ts +116 -0
- package/dist-types/commands/AssociateApplicationsCommand.d.ts +99 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +146 -0
- package/dist-types/commands/CreateStreamGroupCommand.d.ts +158 -0
- package/dist-types/commands/CreateStreamSessionConnectionCommand.d.ts +114 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +116 -0
- package/dist-types/commands/DeleteStreamGroupCommand.d.ts +93 -0
- package/dist-types/commands/DisassociateApplicationsCommand.d.ts +100 -0
- package/dist-types/commands/ExportStreamSessionFilesCommand.d.ts +116 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +116 -0
- package/dist-types/commands/GetStreamGroupCommand.d.ts +116 -0
- package/dist-types/commands/GetStreamSessionCommand.d.ts +119 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +103 -0
- package/dist-types/commands/ListStreamGroupsCommand.d.ts +104 -0
- package/dist-types/commands/ListStreamSessionsByAccountCommand.d.ts +109 -0
- package/dist-types/commands/ListStreamSessionsCommand.d.ts +113 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +100 -0
- package/dist-types/commands/RemoveStreamGroupLocationsCommand.d.ts +95 -0
- package/dist-types/commands/StartStreamSessionCommand.d.ts +156 -0
- package/dist-types/commands/TagResourceCommand.d.ts +107 -0
- package/dist-types/commands/TerminateStreamSessionCommand.d.ts +91 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +122 -0
- package/dist-types/commands/UpdateStreamGroupCommand.d.ts +154 -0
- package/dist-types/commands/index.d.ts +24 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +21 -0
- package/dist-types/models/GameLiftStreamsServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +3555 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListStreamGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListStreamSessionsByAccountPaginator.d.ts +7 -0
- package/dist-types/pagination/ListStreamSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +218 -0
- package/dist-types/runtimeConfig.browser.d.ts +49 -0
- package/dist-types/runtimeConfig.d.ts +49 -0
- package/dist-types/runtimeConfig.native.d.ts +48 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/GameLiftStreams.d.ts +418 -0
- package/dist-types/ts3.4/GameLiftStreamsClient.d.ts +264 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/AddStreamGroupLocationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/AssociateApplicationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateStreamGroupCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateStreamSessionConnectionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DeleteStreamGroupCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DisassociateApplicationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ExportStreamSessionFilesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetStreamGroupCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetStreamSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListStreamGroupsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListStreamSessionsByAccountCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListStreamSessionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RemoveStreamGroupLocationsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/StartStreamSessionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/TerminateStreamSessionCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateStreamGroupCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +24 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/GameLiftStreamsServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +518 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListStreamGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListStreamSessionsByAccountPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListStreamSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +293 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +98 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +102 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/waiters/index.d.ts +5 -0
- package/dist-types/ts3.4/waiters/waitForApplicationDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForApplicationReady.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForStreamGroupActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForStreamGroupDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForStreamSessionActive.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +5 -0
- package/dist-types/waiters/waitForApplicationDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForApplicationReady.d.ts +14 -0
- package/dist-types/waiters/waitForStreamGroupActive.d.ts +14 -0
- package/dist-types/waiters/waitForStreamGroupDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForStreamSessionActive.d.ts +14 -0
- package/package.json +102 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GameLiftStreamsClient";
|
|
4
|
+
import { CreateApplicationInput, CreateApplicationOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateApplicationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateApplicationCommandInput extends CreateApplicationInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateApplicationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateApplicationCommandOutput extends CreateApplicationOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateApplicationCommand_base: {
|
|
25
|
+
new (input: CreateApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates an application resource in Amazon GameLift Streams, which specifies the application content you want to stream, such as a game build or other software, and configures the settings to run it.</p>
|
|
31
|
+
* <p>
|
|
32
|
+
* Before you create an application, upload your
|
|
33
|
+
* application content files to an Amazon Simple Storage Service (Amazon S3) bucket. For more information, see <b>Getting Started</b> in the Amazon GameLift Streams Developer Guide.
|
|
34
|
+
* </p>
|
|
35
|
+
* <important>
|
|
36
|
+
* <p>
|
|
37
|
+
* Make sure that your files in the Amazon S3 bucket are the correct version you
|
|
38
|
+
* want to use. As soon as you create a Amazon GameLift Streams application, you cannot change the files at a
|
|
39
|
+
* later time.
|
|
40
|
+
* </p>
|
|
41
|
+
* </important>
|
|
42
|
+
* <p>
|
|
43
|
+
* If the request is successful, Amazon GameLift Streams begins to create an application and sets the status to <code>INITIALIZED</code>. When an application reaches <code>READY</code> status, you can use the application to set up stream groups and start streams. To track application status, call <a>GetApplication</a>.
|
|
44
|
+
* </p>
|
|
45
|
+
* @example
|
|
46
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
47
|
+
* ```javascript
|
|
48
|
+
* import { GameLiftStreamsClient, CreateApplicationCommand } from "@aws-sdk/client-gameliftstreams"; // ES Modules import
|
|
49
|
+
* // const { GameLiftStreamsClient, CreateApplicationCommand } = require("@aws-sdk/client-gameliftstreams"); // CommonJS import
|
|
50
|
+
* const client = new GameLiftStreamsClient(config);
|
|
51
|
+
* const input = { // CreateApplicationInput
|
|
52
|
+
* Description: "STRING_VALUE", // required
|
|
53
|
+
* RuntimeEnvironment: { // RuntimeEnvironment
|
|
54
|
+
* Type: "PROTON" || "WINDOWS" || "UBUNTU", // required
|
|
55
|
+
* Version: "STRING_VALUE", // required
|
|
56
|
+
* },
|
|
57
|
+
* ExecutablePath: "STRING_VALUE", // required
|
|
58
|
+
* ApplicationSourceUri: "STRING_VALUE", // required
|
|
59
|
+
* ApplicationLogPaths: [ // FilePaths
|
|
60
|
+
* "STRING_VALUE",
|
|
61
|
+
* ],
|
|
62
|
+
* ApplicationLogOutputUri: "STRING_VALUE",
|
|
63
|
+
* Tags: { // Tags
|
|
64
|
+
* "<keys>": "STRING_VALUE",
|
|
65
|
+
* },
|
|
66
|
+
* ClientToken: "STRING_VALUE",
|
|
67
|
+
* };
|
|
68
|
+
* const command = new CreateApplicationCommand(input);
|
|
69
|
+
* const response = await client.send(command);
|
|
70
|
+
* // { // CreateApplicationOutput
|
|
71
|
+
* // Arn: "STRING_VALUE", // required
|
|
72
|
+
* // Description: "STRING_VALUE",
|
|
73
|
+
* // RuntimeEnvironment: { // RuntimeEnvironment
|
|
74
|
+
* // Type: "PROTON" || "WINDOWS" || "UBUNTU", // required
|
|
75
|
+
* // Version: "STRING_VALUE", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // ExecutablePath: "STRING_VALUE",
|
|
78
|
+
* // ApplicationLogPaths: [ // FilePaths
|
|
79
|
+
* // "STRING_VALUE",
|
|
80
|
+
* // ],
|
|
81
|
+
* // ApplicationLogOutputUri: "STRING_VALUE",
|
|
82
|
+
* // ApplicationSourceUri: "STRING_VALUE",
|
|
83
|
+
* // Id: "STRING_VALUE",
|
|
84
|
+
* // Status: "INITIALIZED" || "PROCESSING" || "READY" || "DELETING" || "ERROR",
|
|
85
|
+
* // StatusReason: "internalError" || "accessDenied",
|
|
86
|
+
* // ReplicationStatuses: [ // ReplicationStatuses
|
|
87
|
+
* // { // ReplicationStatus
|
|
88
|
+
* // Location: "STRING_VALUE",
|
|
89
|
+
* // Status: "REPLICATING" || "COMPLETED",
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
92
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
93
|
+
* // LastUpdatedAt: new Date("TIMESTAMP"),
|
|
94
|
+
* // AssociatedStreamGroups: [ // ArnList
|
|
95
|
+
* // "STRING_VALUE",
|
|
96
|
+
* // ],
|
|
97
|
+
* // };
|
|
98
|
+
*
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
101
|
+
* @param CreateApplicationCommandInput - {@link CreateApplicationCommandInput}
|
|
102
|
+
* @returns {@link CreateApplicationCommandOutput}
|
|
103
|
+
* @see {@link CreateApplicationCommandInput} for command's `input` shape.
|
|
104
|
+
* @see {@link CreateApplicationCommandOutput} for command's `response` shape.
|
|
105
|
+
* @see {@link GameLiftStreamsClientResolvedConfig | config} for GameLiftStreamsClient's `config` shape.
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
108
|
+
* <p>You don't have the required permissions to access this Amazon GameLift Streams resource. Correct the
|
|
109
|
+
* permissions before you try again.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link ConflictException} (client fault)
|
|
112
|
+
* <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link InternalServerException} (server fault)
|
|
115
|
+
* <p>The service encountered an internal error and is unable to complete the request.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
118
|
+
* <p>The request would cause the resource to exceed an allowed service quota. Resolve the
|
|
119
|
+
* issue before you try again.</p>
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
122
|
+
* <p>The request was denied due to request throttling. Retry the request after the
|
|
123
|
+
* suggested wait time.</p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link ValidationException} (client fault)
|
|
126
|
+
* <p>One or more parameter values in the request fail to satisfy the specified constraints.
|
|
127
|
+
* Correct the invalid parameter values before retrying the request.</p>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link GameLiftStreamsServiceException}
|
|
130
|
+
* <p>Base exception class for all service exceptions from GameLiftStreams service.</p>
|
|
131
|
+
*
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export declare class CreateApplicationCommand extends CreateApplicationCommand_base {
|
|
135
|
+
/** @internal type navigation helper, not in runtime. */
|
|
136
|
+
protected static __types: {
|
|
137
|
+
api: {
|
|
138
|
+
input: CreateApplicationInput;
|
|
139
|
+
output: CreateApplicationOutput;
|
|
140
|
+
};
|
|
141
|
+
sdk: {
|
|
142
|
+
input: CreateApplicationCommandInput;
|
|
143
|
+
output: CreateApplicationCommandOutput;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GameLiftStreamsClient";
|
|
4
|
+
import { CreateStreamGroupInput, CreateStreamGroupOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateStreamGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateStreamGroupCommandInput extends CreateStreamGroupInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateStreamGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateStreamGroupCommandOutput extends CreateStreamGroupOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateStreamGroupCommand_base: {
|
|
25
|
+
new (input: CreateStreamGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateStreamGroupCommandInput, CreateStreamGroupCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateStreamGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateStreamGroupCommandInput, CreateStreamGroupCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Manage how Amazon GameLift Streams streams your applications by using a stream group. A stream group is a collection of resources that Amazon GameLift Streams uses to stream your application to end-users. When you create a stream group, you specify an application to stream by default and the type of hardware to use, such as the graphical processing unit (GPU). You can also link additional applications, which allows you to stream those applications using this stream group. Depending on your expected users, you also scale the number of concurrent streams you want to support at one time, and in what locations.
|
|
32
|
+
* </p>
|
|
33
|
+
* <p>
|
|
34
|
+
* Stream capacity represents the number of concurrent streams that can be active at a time. You set stream capacity per location, per stream group. There are two types of capacity: always-on and on-demand:
|
|
35
|
+
* </p>
|
|
36
|
+
* <ul>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>
|
|
39
|
+
* <b>Always-on</b>:
|
|
40
|
+
* The streaming capacity that is allocated and ready to handle stream requests without delay. You pay for this capacity whether it's in use or not. Best for quickest time from streaming request to streaming session.
|
|
41
|
+
*
|
|
42
|
+
* </p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>
|
|
46
|
+
* <b>On-demand</b>:
|
|
47
|
+
* The streaming capacity that Amazon GameLift Streams can allocate in response to stream requests, and then de-allocate when the session has terminated. This offers a cost control measure at the expense of a greater startup time (typically under 5 minutes).
|
|
48
|
+
*
|
|
49
|
+
* </p>
|
|
50
|
+
* </li>
|
|
51
|
+
* </ul>
|
|
52
|
+
* <p>
|
|
53
|
+
* To adjust the capacity of any <code>ACTIVE</code> stream group, call <a>UpdateStreamGroup</a>.
|
|
54
|
+
* </p>
|
|
55
|
+
* <p>
|
|
56
|
+
* If the request is successful, Amazon GameLift Streams begins creating the stream group. Amazon GameLift Streams assigns a unique ID to the stream group resource and sets the status to <code>ACTIVATING</code>. When the stream group reaches <code>ACTIVE</code> status, you can start stream sessions by using <a>StartStreamSession</a>. To check the stream group's status, call <a>GetStreamGroup</a>.
|
|
57
|
+
* </p>
|
|
58
|
+
* @example
|
|
59
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
60
|
+
* ```javascript
|
|
61
|
+
* import { GameLiftStreamsClient, CreateStreamGroupCommand } from "@aws-sdk/client-gameliftstreams"; // ES Modules import
|
|
62
|
+
* // const { GameLiftStreamsClient, CreateStreamGroupCommand } = require("@aws-sdk/client-gameliftstreams"); // CommonJS import
|
|
63
|
+
* const client = new GameLiftStreamsClient(config);
|
|
64
|
+
* const input = { // CreateStreamGroupInput
|
|
65
|
+
* Description: "STRING_VALUE", // required
|
|
66
|
+
* StreamClass: "gen4n_high" || "gen4n_ultra" || "gen4n_win2022" || "gen5n_high" || "gen5n_ultra" || "gen5n_win2022", // required
|
|
67
|
+
* DefaultApplicationIdentifier: "STRING_VALUE",
|
|
68
|
+
* LocationConfigurations: [ // LocationConfigurations
|
|
69
|
+
* { // LocationConfiguration
|
|
70
|
+
* LocationName: "STRING_VALUE", // required
|
|
71
|
+
* AlwaysOnCapacity: Number("int"),
|
|
72
|
+
* OnDemandCapacity: Number("int"),
|
|
73
|
+
* },
|
|
74
|
+
* ],
|
|
75
|
+
* Tags: { // Tags
|
|
76
|
+
* "<keys>": "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* ClientToken: "STRING_VALUE",
|
|
79
|
+
* };
|
|
80
|
+
* const command = new CreateStreamGroupCommand(input);
|
|
81
|
+
* const response = await client.send(command);
|
|
82
|
+
* // { // CreateStreamGroupOutput
|
|
83
|
+
* // Arn: "STRING_VALUE", // required
|
|
84
|
+
* // Description: "STRING_VALUE",
|
|
85
|
+
* // DefaultApplication: { // DefaultApplication
|
|
86
|
+
* // Id: "STRING_VALUE",
|
|
87
|
+
* // Arn: "STRING_VALUE",
|
|
88
|
+
* // },
|
|
89
|
+
* // LocationStates: [ // LocationStates
|
|
90
|
+
* // { // LocationState
|
|
91
|
+
* // LocationName: "STRING_VALUE",
|
|
92
|
+
* // Status: "ACTIVATING" || "ACTIVE" || "ERROR" || "REMOVING",
|
|
93
|
+
* // AlwaysOnCapacity: Number("int"),
|
|
94
|
+
* // OnDemandCapacity: Number("int"),
|
|
95
|
+
* // RequestedCapacity: Number("int"),
|
|
96
|
+
* // AllocatedCapacity: Number("int"),
|
|
97
|
+
* // IdleCapacity: Number("int"),
|
|
98
|
+
* // },
|
|
99
|
+
* // ],
|
|
100
|
+
* // StreamClass: "gen4n_high" || "gen4n_ultra" || "gen4n_win2022" || "gen5n_high" || "gen5n_ultra" || "gen5n_win2022",
|
|
101
|
+
* // Id: "STRING_VALUE",
|
|
102
|
+
* // Status: "ACTIVATING" || "UPDATING_LOCATIONS" || "ACTIVE" || "ACTIVE_WITH_ERRORS" || "ERROR" || "DELETING",
|
|
103
|
+
* // StatusReason: "internalError" || "noAvailableInstances",
|
|
104
|
+
* // LastUpdatedAt: new Date("TIMESTAMP"),
|
|
105
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
106
|
+
* // AssociatedApplications: [ // ArnList
|
|
107
|
+
* // "STRING_VALUE",
|
|
108
|
+
* // ],
|
|
109
|
+
* // };
|
|
110
|
+
*
|
|
111
|
+
* ```
|
|
112
|
+
*
|
|
113
|
+
* @param CreateStreamGroupCommandInput - {@link CreateStreamGroupCommandInput}
|
|
114
|
+
* @returns {@link CreateStreamGroupCommandOutput}
|
|
115
|
+
* @see {@link CreateStreamGroupCommandInput} for command's `input` shape.
|
|
116
|
+
* @see {@link CreateStreamGroupCommandOutput} for command's `response` shape.
|
|
117
|
+
* @see {@link GameLiftStreamsClientResolvedConfig | config} for GameLiftStreamsClient's `config` shape.
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
120
|
+
* <p>You don't have the required permissions to access this Amazon GameLift Streams resource. Correct the
|
|
121
|
+
* permissions before you try again.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link ConflictException} (client fault)
|
|
124
|
+
* <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.</p>
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link InternalServerException} (server fault)
|
|
127
|
+
* <p>The service encountered an internal error and is unable to complete the request.</p>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
130
|
+
* <p>The request would cause the resource to exceed an allowed service quota. Resolve the
|
|
131
|
+
* issue before you try again.</p>
|
|
132
|
+
*
|
|
133
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
134
|
+
* <p>The request was denied due to request throttling. Retry the request after the
|
|
135
|
+
* suggested wait time.</p>
|
|
136
|
+
*
|
|
137
|
+
* @throws {@link ValidationException} (client fault)
|
|
138
|
+
* <p>One or more parameter values in the request fail to satisfy the specified constraints.
|
|
139
|
+
* Correct the invalid parameter values before retrying the request.</p>
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link GameLiftStreamsServiceException}
|
|
142
|
+
* <p>Base exception class for all service exceptions from GameLiftStreams service.</p>
|
|
143
|
+
*
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
export declare class CreateStreamGroupCommand extends CreateStreamGroupCommand_base {
|
|
147
|
+
/** @internal type navigation helper, not in runtime. */
|
|
148
|
+
protected static __types: {
|
|
149
|
+
api: {
|
|
150
|
+
input: CreateStreamGroupInput;
|
|
151
|
+
output: CreateStreamGroupOutput;
|
|
152
|
+
};
|
|
153
|
+
sdk: {
|
|
154
|
+
input: CreateStreamGroupCommandInput;
|
|
155
|
+
output: CreateStreamGroupCommandOutput;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GameLiftStreamsClient";
|
|
4
|
+
import { CreateStreamSessionConnectionInput, CreateStreamSessionConnectionOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateStreamSessionConnectionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateStreamSessionConnectionCommandInput extends CreateStreamSessionConnectionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateStreamSessionConnectionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateStreamSessionConnectionCommandOutput extends CreateStreamSessionConnectionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateStreamSessionConnectionCommand_base: {
|
|
25
|
+
new (input: CreateStreamSessionConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateStreamSessionConnectionCommandInput, CreateStreamSessionConnectionCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateStreamSessionConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateStreamSessionConnectionCommandInput, CreateStreamSessionConnectionCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Allows clients to reconnect to a recently disconnected stream session without losing
|
|
31
|
+
* any data from the last session.</p>
|
|
32
|
+
* <p>A client can reconnect to a stream session that's in
|
|
33
|
+
* <code>PENDING_CLIENT_RECONNECTION</code> or <code>ACTIVE</code> status. In the
|
|
34
|
+
* stream session life cycle, when the client disconnects from the stream session, the
|
|
35
|
+
* stream session transitions from <code>CONNECTED</code> to
|
|
36
|
+
* <code>PENDING_CLIENT_RECONNECTION</code> status. When a client requests to reconnect
|
|
37
|
+
* by calling <code>CreateStreamSessionConnection</code>, the stream session transitions to
|
|
38
|
+
* <code>RECONNECTING</code> status. When the reconnection is successful, the stream
|
|
39
|
+
* session transitions to <code>ACTIVE</code> status. After a stream session is
|
|
40
|
+
* disconnected for longer than <code>ConnectionTimeoutSeconds</code>, the stream session
|
|
41
|
+
* transitions to the <code>TERMINATED</code> status.</p>
|
|
42
|
+
* <p>To connect to an existing stream session, specify the stream group ID and stream
|
|
43
|
+
* session ID that you want to reconnect to, as well as the signal request settings to use
|
|
44
|
+
* with the stream.</p>
|
|
45
|
+
* <p>
|
|
46
|
+
* <code>ConnectionTimeoutSeconds</code> defines the amount of time after the stream
|
|
47
|
+
* session disconnects that a reconnection is allowed. If a client is disconnected from the
|
|
48
|
+
* stream for longer than <code>ConnectionTimeoutSeconds</code>, the stream session
|
|
49
|
+
* ends.</p>
|
|
50
|
+
* @example
|
|
51
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
52
|
+
* ```javascript
|
|
53
|
+
* import { GameLiftStreamsClient, CreateStreamSessionConnectionCommand } from "@aws-sdk/client-gameliftstreams"; // ES Modules import
|
|
54
|
+
* // const { GameLiftStreamsClient, CreateStreamSessionConnectionCommand } = require("@aws-sdk/client-gameliftstreams"); // CommonJS import
|
|
55
|
+
* const client = new GameLiftStreamsClient(config);
|
|
56
|
+
* const input = { // CreateStreamSessionConnectionInput
|
|
57
|
+
* ClientToken: "STRING_VALUE",
|
|
58
|
+
* Identifier: "STRING_VALUE", // required
|
|
59
|
+
* StreamSessionIdentifier: "STRING_VALUE", // required
|
|
60
|
+
* SignalRequest: "STRING_VALUE", // required
|
|
61
|
+
* };
|
|
62
|
+
* const command = new CreateStreamSessionConnectionCommand(input);
|
|
63
|
+
* const response = await client.send(command);
|
|
64
|
+
* // { // CreateStreamSessionConnectionOutput
|
|
65
|
+
* // SignalResponse: "STRING_VALUE",
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param CreateStreamSessionConnectionCommandInput - {@link CreateStreamSessionConnectionCommandInput}
|
|
71
|
+
* @returns {@link CreateStreamSessionConnectionCommandOutput}
|
|
72
|
+
* @see {@link CreateStreamSessionConnectionCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link CreateStreamSessionConnectionCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link GameLiftStreamsClientResolvedConfig | config} for GameLiftStreamsClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
77
|
+
* <p>You don't have the required permissions to access this Amazon GameLift Streams resource. Correct the
|
|
78
|
+
* permissions before you try again.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ConflictException} (client fault)
|
|
81
|
+
* <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InternalServerException} (server fault)
|
|
84
|
+
* <p>The service encountered an internal error and is unable to complete the request.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
87
|
+
* <p>The resource specified in the request was not found. Correct the request before you try again.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* <p>The request was denied due to request throttling. Retry the request after the
|
|
91
|
+
* suggested wait time.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ValidationException} (client fault)
|
|
94
|
+
* <p>One or more parameter values in the request fail to satisfy the specified constraints.
|
|
95
|
+
* Correct the invalid parameter values before retrying the request.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link GameLiftStreamsServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from GameLiftStreams service.</p>
|
|
99
|
+
*
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export declare class CreateStreamSessionConnectionCommand extends CreateStreamSessionConnectionCommand_base {
|
|
103
|
+
/** @internal type navigation helper, not in runtime. */
|
|
104
|
+
protected static __types: {
|
|
105
|
+
api: {
|
|
106
|
+
input: CreateStreamSessionConnectionInput;
|
|
107
|
+
output: CreateStreamSessionConnectionOutput;
|
|
108
|
+
};
|
|
109
|
+
sdk: {
|
|
110
|
+
input: CreateStreamSessionConnectionCommandInput;
|
|
111
|
+
output: CreateStreamSessionConnectionCommandOutput;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GameLiftStreamsClient";
|
|
4
|
+
import { DeleteApplicationInput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteApplicationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteApplicationCommandInput extends DeleteApplicationInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteApplicationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteApplicationCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteApplicationCommand_base: {
|
|
25
|
+
new (input: DeleteApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Permanently deletes an Amazon GameLift Streams application resource. This also deletes the
|
|
31
|
+
* application content files stored with Amazon GameLift Streams. However, this does not delete the
|
|
32
|
+
* original files that you uploaded to your Amazon S3 bucket; you can delete these any time
|
|
33
|
+
* after Amazon GameLift Streams creates an application, which is the only time Amazon GameLift Streams accesses your Amazon S3
|
|
34
|
+
* bucket.</p>
|
|
35
|
+
* <p>
|
|
36
|
+
* You can only delete an application that meets the following conditions:
|
|
37
|
+
* </p>
|
|
38
|
+
* <ul>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>The application is in <code>READY</code> or <code>ERROR</code> status. You cannot delete an application that's in <code>PROCESSING</code> or <code>INITIALIZED</code> status.</p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>The application is not the default application of any stream groups. You must first delete the stream group by using <a>DeleteStreamGroup</a>.</p>
|
|
44
|
+
* </li>
|
|
45
|
+
* <li>
|
|
46
|
+
* <p>The application is not linked to any stream groups. You must first unlink the stream group by using <a>DisassociateApplications</a>.</p>
|
|
47
|
+
* </li>
|
|
48
|
+
* <li>
|
|
49
|
+
* <p>
|
|
50
|
+
* An application is not streaming in any ongoing stream session. You must wait until the client ends the stream session or call <a>TerminateStreamSession</a> to end the stream.
|
|
51
|
+
* </p>
|
|
52
|
+
* </li>
|
|
53
|
+
* </ul>
|
|
54
|
+
* <p>If any active stream groups exist for this application,
|
|
55
|
+
* this request returns a <code>ValidationException</code>.
|
|
56
|
+
* </p>
|
|
57
|
+
* @example
|
|
58
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
59
|
+
* ```javascript
|
|
60
|
+
* import { GameLiftStreamsClient, DeleteApplicationCommand } from "@aws-sdk/client-gameliftstreams"; // ES Modules import
|
|
61
|
+
* // const { GameLiftStreamsClient, DeleteApplicationCommand } = require("@aws-sdk/client-gameliftstreams"); // CommonJS import
|
|
62
|
+
* const client = new GameLiftStreamsClient(config);
|
|
63
|
+
* const input = { // DeleteApplicationInput
|
|
64
|
+
* Identifier: "STRING_VALUE", // required
|
|
65
|
+
* };
|
|
66
|
+
* const command = new DeleteApplicationCommand(input);
|
|
67
|
+
* const response = await client.send(command);
|
|
68
|
+
* // {};
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param DeleteApplicationCommandInput - {@link DeleteApplicationCommandInput}
|
|
73
|
+
* @returns {@link DeleteApplicationCommandOutput}
|
|
74
|
+
* @see {@link DeleteApplicationCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link DeleteApplicationCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link GameLiftStreamsClientResolvedConfig | config} for GameLiftStreamsClient's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
79
|
+
* <p>You don't have the required permissions to access this Amazon GameLift Streams resource. Correct the
|
|
80
|
+
* permissions before you try again.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ConflictException} (client fault)
|
|
83
|
+
* <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InternalServerException} (server fault)
|
|
86
|
+
* <p>The service encountered an internal error and is unable to complete the request.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
89
|
+
* <p>The resource specified in the request was not found. Correct the request before you try again.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
92
|
+
* <p>The request was denied due to request throttling. Retry the request after the
|
|
93
|
+
* suggested wait time.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ValidationException} (client fault)
|
|
96
|
+
* <p>One or more parameter values in the request fail to satisfy the specified constraints.
|
|
97
|
+
* Correct the invalid parameter values before retrying the request.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link GameLiftStreamsServiceException}
|
|
100
|
+
* <p>Base exception class for all service exceptions from GameLiftStreams service.</p>
|
|
101
|
+
*
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
export declare class DeleteApplicationCommand extends DeleteApplicationCommand_base {
|
|
105
|
+
/** @internal type navigation helper, not in runtime. */
|
|
106
|
+
protected static __types: {
|
|
107
|
+
api: {
|
|
108
|
+
input: DeleteApplicationInput;
|
|
109
|
+
output: {};
|
|
110
|
+
};
|
|
111
|
+
sdk: {
|
|
112
|
+
input: DeleteApplicationCommandInput;
|
|
113
|
+
output: DeleteApplicationCommandOutput;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GameLiftStreamsClient";
|
|
4
|
+
import { DeleteStreamGroupInput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteStreamGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteStreamGroupCommandInput extends DeleteStreamGroupInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteStreamGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteStreamGroupCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteStreamGroupCommand_base: {
|
|
25
|
+
new (input: DeleteStreamGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteStreamGroupCommandInput, DeleteStreamGroupCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteStreamGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteStreamGroupCommandInput, DeleteStreamGroupCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Permanently deletes all compute resources and information related to a stream group. To delete a stream group, specify the unique stream
|
|
31
|
+
* group identifier. During the deletion process, the stream group's status is <code>DELETING</code>. This operation stops streams in
|
|
32
|
+
* progress and prevents new streams from starting. As a best practice, before deleting the stream group, call <a>ListStreamSessions</a> to check for streams in progress and take action to stop them. When you delete a stream group, any
|
|
33
|
+
* application associations referring to that stream group are automatically removed.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { GameLiftStreamsClient, DeleteStreamGroupCommand } from "@aws-sdk/client-gameliftstreams"; // ES Modules import
|
|
38
|
+
* // const { GameLiftStreamsClient, DeleteStreamGroupCommand } = require("@aws-sdk/client-gameliftstreams"); // CommonJS import
|
|
39
|
+
* const client = new GameLiftStreamsClient(config);
|
|
40
|
+
* const input = { // DeleteStreamGroupInput
|
|
41
|
+
* Identifier: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteStreamGroupCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param DeleteStreamGroupCommandInput - {@link DeleteStreamGroupCommandInput}
|
|
50
|
+
* @returns {@link DeleteStreamGroupCommandOutput}
|
|
51
|
+
* @see {@link DeleteStreamGroupCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link DeleteStreamGroupCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link GameLiftStreamsClientResolvedConfig | config} for GameLiftStreamsClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>You don't have the required permissions to access this Amazon GameLift Streams resource. Correct the
|
|
57
|
+
* permissions before you try again.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConflictException} (client fault)
|
|
60
|
+
* <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>The service encountered an internal error and is unable to complete the request.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The resource specified in the request was not found. Correct the request before you try again.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request was denied due to request throttling. Retry the request after the
|
|
70
|
+
* suggested wait time.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>One or more parameter values in the request fail to satisfy the specified constraints.
|
|
74
|
+
* Correct the invalid parameter values before retrying the request.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link GameLiftStreamsServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from GameLiftStreams service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class DeleteStreamGroupCommand extends DeleteStreamGroupCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: DeleteStreamGroupInput;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: DeleteStreamGroupCommandInput;
|
|
90
|
+
output: DeleteStreamGroupCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|