1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
"github.com/aws/aws-sdk-go-v2/service/gamesparks/document"
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// Details about a WebSocket connection.
type Connection struct {
// The date and time when the connection was created.
Created *time.Time
// The identifier used to indicate a specific WebSocket connection.
Id *string
noSmithyDocumentSerde
}
// The result of the deployment.
type DeploymentResult struct {
// Details about the deployment result.
Message *string
// The type of deployment result.
ResultCode ResultCode
noSmithyDocumentSerde
}
// Details about the extension.
type ExtensionDetails struct {
// The description of the extension.
Description *string
// The name of the extension.
Name *string
// The namespace (qualifier) of the extension.
Namespace *string
noSmithyDocumentSerde
}
// Details about the extension version.
type ExtensionVersionDetails struct {
// The name of the extension.
Name *string
// The namespace (qualifier) of the extension.
Namespace *string
// The model that defines the interface for this extension version.
Schema *string
// The version of the extension.
Version *string
noSmithyDocumentSerde
}
// Details about the game configuration. The game configuration is organized into
// named sections, where the schema of each section is defined by an extension. The
// schema for these sections can be retrieved using the GetExtensionVersion
// operation.
type GameConfigurationDetails struct {
// The date when the game was created.
Created *time.Time
// The date when the game was last modified.
LastUpdated *time.Time
// Configuration data, organized by section name.
Sections map[string]Section
noSmithyDocumentSerde
}
// Details about a game.
type GameDetails struct {
// The Amazon Resource Name (ARN) of this game.
Arn *string
// The date when the game was created.
Created *time.Time
// The description of the game.
Description *string
// Determines if the game can be deleted.
EnableTerminationProtection bool
// The date when the game was last modified.
LastUpdated *time.Time
// The name of the game.
Name *string
// The state of the game.
State GameState
// The tags associated with the game.
Tags map[string]string
noSmithyDocumentSerde
}
// The summary of the properties of a game.
type GameSummary struct {
// The description of the game.
Description *string
// The name of the game.
Name *string
// The state of the game.
State GameState
// The tags associated with the game.
Tags map[string]string
noSmithyDocumentSerde
}
// Details about a generated code job.
type GeneratedCodeJobDetails struct {
// The description of the generated code job.
Description *string
// The expiration date and time for the download URL. The download URL us
// guaranteed to be available until at least this time.
ExpirationTime *time.Time
// The identifier for the generated code job.
GeneratedCodeJobId *string
// A presigned URL that can be used to download the generated code.
S3Url *string
// The status of the generated code job
Status GeneratedCodeJobState
noSmithyDocumentSerde
}
// Properties that specify the code generator for a generated code job.
type Generator struct {
// The target version of the GameSparks Game SDK.
GameSdkVersion *string
// The programming language for the generated code. Not all languages are supported
// for each platform. For cases where multiple languages are supported, this
// parameter specifies the language to be used. If this value is omitted, the
// default language for the target platform will be used.
Language *string
// The platform that will be used to run the generated code.
TargetPlatform *string
noSmithyDocumentSerde
}
// The source used to import configuration sections.
type ImportGameConfigurationSource struct {
// The JSON string containing the configuration sections.
//
// This member is required.
File []byte
noSmithyDocumentSerde
}
// The configuration section.
type Section struct {
// The content of a configuration section.
Attributes document.Interface
// The name of the section.
Name *string
// The size, in bytes, of the section contents.
Size int32
noSmithyDocumentSerde
}
// A single modification to the configuration section.
type SectionModification struct {
// The operation to be performed on a configuration section. Content can be added,
// deleted, or replaced within a section.
//
// This member is required.
Operation Operation
// The path within the section content to be modified.
//
// This member is required.
Path *string
// The name of the section to be modified.
//
// This member is required.
Section *string
// For add and replace operations, this is the value that will be used. This field
// should be omitted for delete operations.
Value document.Interface
noSmithyDocumentSerde
}
// Properties that provide details of a snapshot.
type SnapshotDetails struct {
// The timestamp of when the snapshot was created.
Created *time.Time
// The description of the snapshot.
Description *string
// The identifier of the snapshot.
Id *string
// The timestamp of when the snapshot was last updated.
LastUpdated *time.Time
// The sections in the snapshot.
Sections map[string]Section
noSmithyDocumentSerde
}
// The summary of the properties of a snapshot.
type SnapshotSummary struct {
// The timestamp of when the snapshot was created.
Created *time.Time
// The description of the snapshot.
Description *string
// The identifier of the snapshot.
Id *string
// Then timestamp of when the snapshot was last updated.
LastUpdated *time.Time
noSmithyDocumentSerde
}
// Properties that provide details of a stage deployment.
type StageDeploymentDetails struct {
// The timestamp of when the stage deployment was created.
Created *time.Time
// The type of action of the stage deployment.
DeploymentAction DeploymentAction
// The identifier of the deployment.
DeploymentId *string
// The result of the deployment.
DeploymentResult *DeploymentResult
// The state of the deployment.
DeploymentState DeploymentState
// The timestamp of when the deployment was last updated.
LastUpdated *time.Time
// The identifier of the snapshot associated with the stage deployment.
SnapshotId *string
noSmithyDocumentSerde
}
// The summary of the properties of a stage deployment.
type StageDeploymentSummary struct {
// The type of action of the deployment.
DeploymentAction DeploymentAction
// The identifier of the deployment.
DeploymentId *string
// The result of the deployment.
DeploymentResult *DeploymentResult
// The state of the deployment.
DeploymentState DeploymentState
// The timestamp of when the deployment was last updated.
LastUpdated *time.Time
// The identifier of the snapshot associated with the stage deployment.
SnapshotId *string
noSmithyDocumentSerde
}
// Properties that provide details of a stage.
type StageDetails struct {
// The Amazon Resource Name (ARN) of the stage.
Arn *string
// The timestamp of when the stage was created.
Created *time.Time
// The description of the stage.
Description *string
// The game key associated with the stage. The game key is a unique identifier that
// the game client uses to connect to the GameSparks backend.
GameKey *string
// The timestamp of when the stage was last updated.
LastUpdated *time.Time
// The Amazon CloudWatch log group for game runtimes deployed to the stage.
LogGroup *string
// The name of the stage.
Name *string
// The Amazon Resource Name (ARN) of the role used to run the game runtimes
// deployed to the stage.
Role *string
// The state of the stage.
State StageState
// The tags associated with the stage.
Tags map[string]string
noSmithyDocumentSerde
}
// The summary of the properties of a stage.
type StageSummary struct {
// The description of the stage.
Description *string
// The game key associated with the stage. The game key is a unique identifier that
// the game client uses to connect to the GameSparks backend.
GameKey *string
// The name of the stage.
Name *string
// The state of the stage.
State StageState
// The tags associated with the stage.
Tags map[string]string
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|