@aws-sdk/client-gamelift 3.121.0 → 3.130.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/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +540 -805
- package/dist-es/protocols/Aws_json1_1.js +301 -566
- package/package.json +26 -26
|
@@ -7401,307 +7401,230 @@ var deserializeAws_json1_1UnsupportedRegionExceptionResponse = function (parsedO
|
|
|
7401
7401
|
});
|
|
7402
7402
|
}); };
|
|
7403
7403
|
var serializeAws_json1_1AcceptMatchInput = function (input, context) {
|
|
7404
|
-
return __assign(__assign(__assign({}, (input.AcceptanceType
|
|
7405
|
-
input.AcceptanceType !== null && { AcceptanceType: input.AcceptanceType })), (input.PlayerIds !== undefined &&
|
|
7406
|
-
input.PlayerIds !== null && { PlayerIds: serializeAws_json1_1StringList(input.PlayerIds, context) })), (input.TicketId !== undefined && input.TicketId !== null && { TicketId: input.TicketId }));
|
|
7404
|
+
return __assign(__assign(__assign({}, (input.AcceptanceType != null && { AcceptanceType: input.AcceptanceType })), (input.PlayerIds != null && { PlayerIds: serializeAws_json1_1StringList(input.PlayerIds, context) })), (input.TicketId != null && { TicketId: input.TicketId }));
|
|
7407
7405
|
};
|
|
7408
7406
|
var serializeAws_json1_1AttributeValue = function (input, context) {
|
|
7409
|
-
return __assign(__assign(__assign(__assign({}, (input.N
|
|
7410
|
-
input.SDM !== null && { SDM: serializeAws_json1_1StringDoubleMap(input.SDM, context) })), (input.SL !== undefined && input.SL !== null && { SL: serializeAws_json1_1StringList(input.SL, context) }));
|
|
7407
|
+
return __assign(__assign(__assign(__assign({}, (input.N != null && { N: __serializeFloat(input.N) })), (input.S != null && { S: input.S })), (input.SDM != null && { SDM: serializeAws_json1_1StringDoubleMap(input.SDM, context) })), (input.SL != null && { SL: serializeAws_json1_1StringList(input.SL, context) }));
|
|
7411
7408
|
};
|
|
7412
7409
|
var serializeAws_json1_1CertificateConfiguration = function (input, context) {
|
|
7413
|
-
return __assign({}, (input.CertificateType
|
|
7414
|
-
input.CertificateType !== null && { CertificateType: input.CertificateType }));
|
|
7410
|
+
return __assign({}, (input.CertificateType != null && { CertificateType: input.CertificateType }));
|
|
7415
7411
|
};
|
|
7416
7412
|
var serializeAws_json1_1ClaimGameServerInput = function (input, context) {
|
|
7417
|
-
return __assign(__assign(__assign({}, (input.GameServerData
|
|
7418
|
-
input.GameServerData !== null && { GameServerData: input.GameServerData })), (input.GameServerGroupName !== undefined &&
|
|
7419
|
-
input.GameServerGroupName !== null && { GameServerGroupName: input.GameServerGroupName })), (input.GameServerId !== undefined && input.GameServerId !== null && { GameServerId: input.GameServerId }));
|
|
7413
|
+
return __assign(__assign(__assign({}, (input.GameServerData != null && { GameServerData: input.GameServerData })), (input.GameServerGroupName != null && { GameServerGroupName: input.GameServerGroupName })), (input.GameServerId != null && { GameServerId: input.GameServerId }));
|
|
7420
7414
|
};
|
|
7421
7415
|
var serializeAws_json1_1CreateAliasInput = function (input, context) {
|
|
7422
|
-
return __assign(__assign(__assign(__assign({}, (input.Description
|
|
7423
|
-
input.RoutingStrategy !== null && {
|
|
7416
|
+
return __assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.RoutingStrategy != null && {
|
|
7424
7417
|
RoutingStrategy: serializeAws_json1_1RoutingStrategy(input.RoutingStrategy, context),
|
|
7425
|
-
})), (input.Tags
|
|
7418
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
7426
7419
|
};
|
|
7427
7420
|
var serializeAws_json1_1CreateBuildInput = function (input, context) {
|
|
7428
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Name
|
|
7429
|
-
input.OperatingSystem !== null && { OperatingSystem: input.OperatingSystem })), (input.StorageLocation !== undefined &&
|
|
7430
|
-
input.StorageLocation !== null && {
|
|
7421
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.OperatingSystem != null && { OperatingSystem: input.OperatingSystem })), (input.StorageLocation != null && {
|
|
7431
7422
|
StorageLocation: serializeAws_json1_1S3Location(input.StorageLocation, context),
|
|
7432
|
-
})), (input.Tags
|
|
7423
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.Version != null && { Version: input.Version }));
|
|
7433
7424
|
};
|
|
7434
7425
|
var serializeAws_json1_1CreateFleetInput = function (input, context) {
|
|
7435
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BuildId
|
|
7436
|
-
input.CertificateConfiguration !== null && {
|
|
7426
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BuildId != null && { BuildId: input.BuildId })), (input.CertificateConfiguration != null && {
|
|
7437
7427
|
CertificateConfiguration: serializeAws_json1_1CertificateConfiguration(input.CertificateConfiguration, context),
|
|
7438
|
-
})), (input.Description
|
|
7439
|
-
input.EC2InboundPermissions !== null && {
|
|
7428
|
+
})), (input.Description != null && { Description: input.Description })), (input.EC2InboundPermissions != null && {
|
|
7440
7429
|
EC2InboundPermissions: serializeAws_json1_1IpPermissionsList(input.EC2InboundPermissions, context),
|
|
7441
|
-
})), (input.EC2InstanceType
|
|
7442
|
-
input.EC2InstanceType !== null && { EC2InstanceType: input.EC2InstanceType })), (input.FleetType !== undefined && input.FleetType !== null && { FleetType: input.FleetType })), (input.InstanceRoleArn !== undefined &&
|
|
7443
|
-
input.InstanceRoleArn !== null && { InstanceRoleArn: input.InstanceRoleArn })), (input.Locations !== undefined &&
|
|
7444
|
-
input.Locations !== null && {
|
|
7430
|
+
})), (input.EC2InstanceType != null && { EC2InstanceType: input.EC2InstanceType })), (input.FleetType != null && { FleetType: input.FleetType })), (input.InstanceRoleArn != null && { InstanceRoleArn: input.InstanceRoleArn })), (input.Locations != null && {
|
|
7445
7431
|
Locations: serializeAws_json1_1LocationConfigurationList(input.Locations, context),
|
|
7446
|
-
})), (input.LogPaths
|
|
7447
|
-
input.LogPaths !== null && { LogPaths: serializeAws_json1_1StringList(input.LogPaths, context) })), (input.MetricGroups !== undefined &&
|
|
7448
|
-
input.MetricGroups !== null && {
|
|
7432
|
+
})), (input.LogPaths != null && { LogPaths: serializeAws_json1_1StringList(input.LogPaths, context) })), (input.MetricGroups != null && {
|
|
7449
7433
|
MetricGroups: serializeAws_json1_1MetricGroupList(input.MetricGroups, context),
|
|
7450
|
-
})), (input.Name
|
|
7451
|
-
input.NewGameSessionProtectionPolicy !== null && {
|
|
7434
|
+
})), (input.Name != null && { Name: input.Name })), (input.NewGameSessionProtectionPolicy != null && {
|
|
7452
7435
|
NewGameSessionProtectionPolicy: input.NewGameSessionProtectionPolicy,
|
|
7453
|
-
})), (input.PeerVpcAwsAccountId
|
|
7454
|
-
input.PeerVpcAwsAccountId !== null && { PeerVpcAwsAccountId: input.PeerVpcAwsAccountId })), (input.PeerVpcId !== undefined && input.PeerVpcId !== null && { PeerVpcId: input.PeerVpcId })), (input.ResourceCreationLimitPolicy !== undefined &&
|
|
7455
|
-
input.ResourceCreationLimitPolicy !== null && {
|
|
7436
|
+
})), (input.PeerVpcAwsAccountId != null && { PeerVpcAwsAccountId: input.PeerVpcAwsAccountId })), (input.PeerVpcId != null && { PeerVpcId: input.PeerVpcId })), (input.ResourceCreationLimitPolicy != null && {
|
|
7456
7437
|
ResourceCreationLimitPolicy: serializeAws_json1_1ResourceCreationLimitPolicy(input.ResourceCreationLimitPolicy, context),
|
|
7457
|
-
})), (input.RuntimeConfiguration
|
|
7458
|
-
input.RuntimeConfiguration !== null && {
|
|
7438
|
+
})), (input.RuntimeConfiguration != null && {
|
|
7459
7439
|
RuntimeConfiguration: serializeAws_json1_1RuntimeConfiguration(input.RuntimeConfiguration, context),
|
|
7460
|
-
})), (input.ScriptId
|
|
7461
|
-
input.ServerLaunchParameters !== null && { ServerLaunchParameters: input.ServerLaunchParameters })), (input.ServerLaunchPath !== undefined &&
|
|
7462
|
-
input.ServerLaunchPath !== null && { ServerLaunchPath: input.ServerLaunchPath })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
7440
|
+
})), (input.ScriptId != null && { ScriptId: input.ScriptId })), (input.ServerLaunchParameters != null && { ServerLaunchParameters: input.ServerLaunchParameters })), (input.ServerLaunchPath != null && { ServerLaunchPath: input.ServerLaunchPath })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
7463
7441
|
};
|
|
7464
7442
|
var serializeAws_json1_1CreateFleetLocationsInput = function (input, context) {
|
|
7465
|
-
return __assign(__assign({}, (input.FleetId
|
|
7466
|
-
input.Locations !== null && {
|
|
7443
|
+
return __assign(__assign({}, (input.FleetId != null && { FleetId: input.FleetId })), (input.Locations != null && {
|
|
7467
7444
|
Locations: serializeAws_json1_1LocationConfigurationList(input.Locations, context),
|
|
7468
7445
|
}));
|
|
7469
7446
|
};
|
|
7470
7447
|
var serializeAws_json1_1CreateGameServerGroupInput = function (input, context) {
|
|
7471
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoScalingPolicy
|
|
7472
|
-
input.AutoScalingPolicy !== null && {
|
|
7448
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoScalingPolicy != null && {
|
|
7473
7449
|
AutoScalingPolicy: serializeAws_json1_1GameServerGroupAutoScalingPolicy(input.AutoScalingPolicy, context),
|
|
7474
|
-
})), (input.BalancingStrategy
|
|
7475
|
-
input.BalancingStrategy !== null && { BalancingStrategy: input.BalancingStrategy })), (input.GameServerGroupName !== undefined &&
|
|
7476
|
-
input.GameServerGroupName !== null && { GameServerGroupName: input.GameServerGroupName })), (input.GameServerProtectionPolicy !== undefined &&
|
|
7477
|
-
input.GameServerProtectionPolicy !== null && { GameServerProtectionPolicy: input.GameServerProtectionPolicy })), (input.InstanceDefinitions !== undefined &&
|
|
7478
|
-
input.InstanceDefinitions !== null && {
|
|
7450
|
+
})), (input.BalancingStrategy != null && { BalancingStrategy: input.BalancingStrategy })), (input.GameServerGroupName != null && { GameServerGroupName: input.GameServerGroupName })), (input.GameServerProtectionPolicy != null && { GameServerProtectionPolicy: input.GameServerProtectionPolicy })), (input.InstanceDefinitions != null && {
|
|
7479
7451
|
InstanceDefinitions: serializeAws_json1_1InstanceDefinitions(input.InstanceDefinitions, context),
|
|
7480
|
-
})), (input.LaunchTemplate
|
|
7481
|
-
input.LaunchTemplate !== null && {
|
|
7452
|
+
})), (input.LaunchTemplate != null && {
|
|
7482
7453
|
LaunchTemplate: serializeAws_json1_1LaunchTemplateSpecification(input.LaunchTemplate, context),
|
|
7483
|
-
})), (input.MaxSize
|
|
7484
|
-
input.VpcSubnets !== null && { VpcSubnets: serializeAws_json1_1VpcSubnets(input.VpcSubnets, context) }));
|
|
7454
|
+
})), (input.MaxSize != null && { MaxSize: input.MaxSize })), (input.MinSize != null && { MinSize: input.MinSize })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.VpcSubnets != null && { VpcSubnets: serializeAws_json1_1VpcSubnets(input.VpcSubnets, context) }));
|
|
7485
7455
|
};
|
|
7486
7456
|
var serializeAws_json1_1CreateGameSessionInput = function (input, context) {
|
|
7487
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AliasId
|
|
7488
|
-
input.GameProperties !== null && {
|
|
7457
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AliasId != null && { AliasId: input.AliasId })), (input.CreatorId != null && { CreatorId: input.CreatorId })), (input.FleetId != null && { FleetId: input.FleetId })), (input.GameProperties != null && {
|
|
7489
7458
|
GameProperties: serializeAws_json1_1GamePropertyList(input.GameProperties, context),
|
|
7490
|
-
})), (input.GameSessionData
|
|
7491
|
-
input.GameSessionData !== null && { GameSessionData: input.GameSessionData })), (input.GameSessionId !== undefined && input.GameSessionId !== null && { GameSessionId: input.GameSessionId })), (input.IdempotencyToken !== undefined &&
|
|
7492
|
-
input.IdempotencyToken !== null && { IdempotencyToken: input.IdempotencyToken })), (input.Location !== undefined && input.Location !== null && { Location: input.Location })), (input.MaximumPlayerSessionCount !== undefined &&
|
|
7493
|
-
input.MaximumPlayerSessionCount !== null && { MaximumPlayerSessionCount: input.MaximumPlayerSessionCount })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
7459
|
+
})), (input.GameSessionData != null && { GameSessionData: input.GameSessionData })), (input.GameSessionId != null && { GameSessionId: input.GameSessionId })), (input.IdempotencyToken != null && { IdempotencyToken: input.IdempotencyToken })), (input.Location != null && { Location: input.Location })), (input.MaximumPlayerSessionCount != null && { MaximumPlayerSessionCount: input.MaximumPlayerSessionCount })), (input.Name != null && { Name: input.Name }));
|
|
7494
7460
|
};
|
|
7495
7461
|
var serializeAws_json1_1CreateGameSessionQueueInput = function (input, context) {
|
|
7496
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomEventData
|
|
7497
|
-
input.CustomEventData !== null && { CustomEventData: input.CustomEventData })), (input.Destinations !== undefined &&
|
|
7498
|
-
input.Destinations !== null && {
|
|
7462
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomEventData != null && { CustomEventData: input.CustomEventData })), (input.Destinations != null && {
|
|
7499
7463
|
Destinations: serializeAws_json1_1GameSessionQueueDestinationList(input.Destinations, context),
|
|
7500
|
-
})), (input.FilterConfiguration
|
|
7501
|
-
input.FilterConfiguration !== null && {
|
|
7464
|
+
})), (input.FilterConfiguration != null && {
|
|
7502
7465
|
FilterConfiguration: serializeAws_json1_1FilterConfiguration(input.FilterConfiguration, context),
|
|
7503
|
-
})), (input.Name
|
|
7504
|
-
input.NotificationTarget !== null && { NotificationTarget: input.NotificationTarget })), (input.PlayerLatencyPolicies !== undefined &&
|
|
7505
|
-
input.PlayerLatencyPolicies !== null && {
|
|
7466
|
+
})), (input.Name != null && { Name: input.Name })), (input.NotificationTarget != null && { NotificationTarget: input.NotificationTarget })), (input.PlayerLatencyPolicies != null && {
|
|
7506
7467
|
PlayerLatencyPolicies: serializeAws_json1_1PlayerLatencyPolicyList(input.PlayerLatencyPolicies, context),
|
|
7507
|
-
})), (input.PriorityConfiguration
|
|
7508
|
-
input.PriorityConfiguration !== null && {
|
|
7468
|
+
})), (input.PriorityConfiguration != null && {
|
|
7509
7469
|
PriorityConfiguration: serializeAws_json1_1PriorityConfiguration(input.PriorityConfiguration, context),
|
|
7510
|
-
})), (input.Tags
|
|
7511
|
-
input.TimeoutInSeconds !== null && { TimeoutInSeconds: input.TimeoutInSeconds }));
|
|
7470
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.TimeoutInSeconds != null && { TimeoutInSeconds: input.TimeoutInSeconds }));
|
|
7512
7471
|
};
|
|
7513
7472
|
var serializeAws_json1_1CreateMatchmakingConfigurationInput = function (input, context) {
|
|
7514
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcceptanceRequired
|
|
7515
|
-
input.AcceptanceRequired !== null && { AcceptanceRequired: input.AcceptanceRequired })), (input.AcceptanceTimeoutSeconds !== undefined &&
|
|
7516
|
-
input.AcceptanceTimeoutSeconds !== null && { AcceptanceTimeoutSeconds: input.AcceptanceTimeoutSeconds })), (input.AdditionalPlayerCount !== undefined &&
|
|
7517
|
-
input.AdditionalPlayerCount !== null && { AdditionalPlayerCount: input.AdditionalPlayerCount })), (input.BackfillMode !== undefined && input.BackfillMode !== null && { BackfillMode: input.BackfillMode })), (input.CustomEventData !== undefined &&
|
|
7518
|
-
input.CustomEventData !== null && { CustomEventData: input.CustomEventData })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.FlexMatchMode !== undefined && input.FlexMatchMode !== null && { FlexMatchMode: input.FlexMatchMode })), (input.GameProperties !== undefined &&
|
|
7519
|
-
input.GameProperties !== null && {
|
|
7473
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcceptanceRequired != null && { AcceptanceRequired: input.AcceptanceRequired })), (input.AcceptanceTimeoutSeconds != null && { AcceptanceTimeoutSeconds: input.AcceptanceTimeoutSeconds })), (input.AdditionalPlayerCount != null && { AdditionalPlayerCount: input.AdditionalPlayerCount })), (input.BackfillMode != null && { BackfillMode: input.BackfillMode })), (input.CustomEventData != null && { CustomEventData: input.CustomEventData })), (input.Description != null && { Description: input.Description })), (input.FlexMatchMode != null && { FlexMatchMode: input.FlexMatchMode })), (input.GameProperties != null && {
|
|
7520
7474
|
GameProperties: serializeAws_json1_1GamePropertyList(input.GameProperties, context),
|
|
7521
|
-
})), (input.GameSessionData
|
|
7522
|
-
input.GameSessionData !== null && { GameSessionData: input.GameSessionData })), (input.GameSessionQueueArns !== undefined &&
|
|
7523
|
-
input.GameSessionQueueArns !== null && {
|
|
7475
|
+
})), (input.GameSessionData != null && { GameSessionData: input.GameSessionData })), (input.GameSessionQueueArns != null && {
|
|
7524
7476
|
GameSessionQueueArns: serializeAws_json1_1QueueArnsList(input.GameSessionQueueArns, context),
|
|
7525
|
-
})), (input.Name
|
|
7526
|
-
input.NotificationTarget !== null && { NotificationTarget: input.NotificationTarget })), (input.RequestTimeoutSeconds !== undefined &&
|
|
7527
|
-
input.RequestTimeoutSeconds !== null && { RequestTimeoutSeconds: input.RequestTimeoutSeconds })), (input.RuleSetName !== undefined && input.RuleSetName !== null && { RuleSetName: input.RuleSetName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
7477
|
+
})), (input.Name != null && { Name: input.Name })), (input.NotificationTarget != null && { NotificationTarget: input.NotificationTarget })), (input.RequestTimeoutSeconds != null && { RequestTimeoutSeconds: input.RequestTimeoutSeconds })), (input.RuleSetName != null && { RuleSetName: input.RuleSetName })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
7528
7478
|
};
|
|
7529
7479
|
var serializeAws_json1_1CreateMatchmakingRuleSetInput = function (input, context) {
|
|
7530
|
-
return __assign(__assign(__assign({}, (input.Name
|
|
7480
|
+
return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.RuleSetBody != null && { RuleSetBody: input.RuleSetBody })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
7531
7481
|
};
|
|
7532
7482
|
var serializeAws_json1_1CreatePlayerSessionInput = function (input, context) {
|
|
7533
|
-
return __assign(__assign(__assign({}, (input.GameSessionId
|
|
7483
|
+
return __assign(__assign(__assign({}, (input.GameSessionId != null && { GameSessionId: input.GameSessionId })), (input.PlayerData != null && { PlayerData: input.PlayerData })), (input.PlayerId != null && { PlayerId: input.PlayerId }));
|
|
7534
7484
|
};
|
|
7535
7485
|
var serializeAws_json1_1CreatePlayerSessionsInput = function (input, context) {
|
|
7536
|
-
return __assign(__assign(__assign({}, (input.GameSessionId
|
|
7537
|
-
input.PlayerDataMap !== null && {
|
|
7486
|
+
return __assign(__assign(__assign({}, (input.GameSessionId != null && { GameSessionId: input.GameSessionId })), (input.PlayerDataMap != null && {
|
|
7538
7487
|
PlayerDataMap: serializeAws_json1_1PlayerDataMap(input.PlayerDataMap, context),
|
|
7539
|
-
})), (input.PlayerIds
|
|
7540
|
-
input.PlayerIds !== null && { PlayerIds: serializeAws_json1_1PlayerIdList(input.PlayerIds, context) }));
|
|
7488
|
+
})), (input.PlayerIds != null && { PlayerIds: serializeAws_json1_1PlayerIdList(input.PlayerIds, context) }));
|
|
7541
7489
|
};
|
|
7542
7490
|
var serializeAws_json1_1CreateScriptInput = function (input, context) {
|
|
7543
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Name
|
|
7544
|
-
input.StorageLocation !== null && {
|
|
7491
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.StorageLocation != null && {
|
|
7545
7492
|
StorageLocation: serializeAws_json1_1S3Location(input.StorageLocation, context),
|
|
7546
|
-
})), (input.Tags
|
|
7493
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.Version != null && { Version: input.Version })), (input.ZipFile != null && { ZipFile: context.base64Encoder(input.ZipFile) }));
|
|
7547
7494
|
};
|
|
7548
7495
|
var serializeAws_json1_1CreateVpcPeeringAuthorizationInput = function (input, context) {
|
|
7549
|
-
return __assign(__assign({}, (input.GameLiftAwsAccountId
|
|
7550
|
-
input.GameLiftAwsAccountId !== null && { GameLiftAwsAccountId: input.GameLiftAwsAccountId })), (input.PeerVpcId !== undefined && input.PeerVpcId !== null && { PeerVpcId: input.PeerVpcId }));
|
|
7496
|
+
return __assign(__assign({}, (input.GameLiftAwsAccountId != null && { GameLiftAwsAccountId: input.GameLiftAwsAccountId })), (input.PeerVpcId != null && { PeerVpcId: input.PeerVpcId }));
|
|
7551
7497
|
};
|
|
7552
7498
|
var serializeAws_json1_1CreateVpcPeeringConnectionInput = function (input, context) {
|
|
7553
|
-
return __assign(__assign(__assign({}, (input.FleetId
|
|
7554
|
-
input.PeerVpcAwsAccountId !== null && { PeerVpcAwsAccountId: input.PeerVpcAwsAccountId })), (input.PeerVpcId !== undefined && input.PeerVpcId !== null && { PeerVpcId: input.PeerVpcId }));
|
|
7499
|
+
return __assign(__assign(__assign({}, (input.FleetId != null && { FleetId: input.FleetId })), (input.PeerVpcAwsAccountId != null && { PeerVpcAwsAccountId: input.PeerVpcAwsAccountId })), (input.PeerVpcId != null && { PeerVpcId: input.PeerVpcId }));
|
|
7555
7500
|
};
|
|
7556
7501
|
var serializeAws_json1_1DeleteAliasInput = function (input, context) {
|
|
7557
|
-
return __assign({}, (input.AliasId
|
|
7502
|
+
return __assign({}, (input.AliasId != null && { AliasId: input.AliasId }));
|
|
7558
7503
|
};
|
|
7559
7504
|
var serializeAws_json1_1DeleteBuildInput = function (input, context) {
|
|
7560
|
-
return __assign({}, (input.BuildId
|
|
7505
|
+
return __assign({}, (input.BuildId != null && { BuildId: input.BuildId }));
|
|
7561
7506
|
};
|
|
7562
7507
|
var serializeAws_json1_1DeleteFleetInput = function (input, context) {
|
|
7563
|
-
return __assign({}, (input.FleetId
|
|
7508
|
+
return __assign({}, (input.FleetId != null && { FleetId: input.FleetId }));
|
|
7564
7509
|
};
|
|
7565
7510
|
var serializeAws_json1_1DeleteFleetLocationsInput = function (input, context) {
|
|
7566
|
-
return __assign(__assign({}, (input.FleetId
|
|
7567
|
-
input.Locations !== null && { Locations: serializeAws_json1_1LocationList(input.Locations, context) }));
|
|
7511
|
+
return __assign(__assign({}, (input.FleetId != null && { FleetId: input.FleetId })), (input.Locations != null && { Locations: serializeAws_json1_1LocationList(input.Locations, context) }));
|
|
7568
7512
|
};
|
|
7569
7513
|
var serializeAws_json1_1DeleteGameServerGroupInput = function (input, context) {
|
|
7570
|
-
return __assign(__assign({}, (input.DeleteOption
|
|
7571
|
-
input.GameServerGroupName !== null && { GameServerGroupName: input.GameServerGroupName }));
|
|
7514
|
+
return __assign(__assign({}, (input.DeleteOption != null && { DeleteOption: input.DeleteOption })), (input.GameServerGroupName != null && { GameServerGroupName: input.GameServerGroupName }));
|
|
7572
7515
|
};
|
|
7573
7516
|
var serializeAws_json1_1DeleteGameSessionQueueInput = function (input, context) {
|
|
7574
|
-
return __assign({}, (input.Name
|
|
7517
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
7575
7518
|
};
|
|
7576
7519
|
var serializeAws_json1_1DeleteMatchmakingConfigurationInput = function (input, context) {
|
|
7577
|
-
return __assign({}, (input.Name
|
|
7520
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
7578
7521
|
};
|
|
7579
7522
|
var serializeAws_json1_1DeleteMatchmakingRuleSetInput = function (input, context) {
|
|
7580
|
-
return __assign({}, (input.Name
|
|
7523
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
7581
7524
|
};
|
|
7582
7525
|
var serializeAws_json1_1DeleteScalingPolicyInput = function (input, context) {
|
|
7583
|
-
return __assign(__assign({}, (input.FleetId
|
|
7526
|
+
return __assign(__assign({}, (input.FleetId != null && { FleetId: input.FleetId })), (input.Name != null && { Name: input.Name }));
|
|
7584
7527
|
};
|
|
7585
7528
|
var serializeAws_json1_1DeleteScriptInput = function (input, context) {
|
|
7586
|
-
return __assign({}, (input.ScriptId
|
|
7529
|
+
return __assign({}, (input.ScriptId != null && { ScriptId: input.ScriptId }));
|
|
7587
7530
|
};
|
|
7588
7531
|
var serializeAws_json1_1DeleteVpcPeeringAuthorizationInput = function (input, context) {
|
|
7589
|
-
return __assign(__assign({}, (input.GameLiftAwsAccountId
|
|
7590
|
-
input.GameLiftAwsAccountId !== null && { GameLiftAwsAccountId: input.GameLiftAwsAccountId })), (input.PeerVpcId !== undefined && input.PeerVpcId !== null && { PeerVpcId: input.PeerVpcId }));
|
|
7532
|
+
return __assign(__assign({}, (input.GameLiftAwsAccountId != null && { GameLiftAwsAccountId: input.GameLiftAwsAccountId })), (input.PeerVpcId != null && { PeerVpcId: input.PeerVpcId }));
|
|
7591
7533
|
};
|
|
7592
7534
|
var serializeAws_json1_1DeleteVpcPeeringConnectionInput = function (input, context) {
|
|
7593
|
-
return __assign(__assign({}, (input.FleetId
|
|
7594
|
-
input.VpcPeeringConnectionId !== null && { VpcPeeringConnectionId: input.VpcPeeringConnectionId }));
|
|
7535
|
+
return __assign(__assign({}, (input.FleetId != null && { FleetId: input.FleetId })), (input.VpcPeeringConnectionId != null && { VpcPeeringConnectionId: input.VpcPeeringConnectionId }));
|
|
7595
7536
|
};
|
|
7596
7537
|
var serializeAws_json1_1DeregisterGameServerInput = function (input, context) {
|
|
7597
|
-
return __assign(__assign({}, (input.GameServerGroupName
|
|
7598
|
-
input.GameServerGroupName !== null && { GameServerGroupName: input.GameServerGroupName })), (input.GameServerId !== undefined && input.GameServerId !== null && { GameServerId: input.GameServerId }));
|
|
7538
|
+
return __assign(__assign({}, (input.GameServerGroupName != null && { GameServerGroupName: input.GameServerGroupName })), (input.GameServerId != null && { GameServerId: input.GameServerId }));
|
|
7599
7539
|
};
|
|
7600
7540
|
var serializeAws_json1_1DescribeAliasInput = function (input, context) {
|
|
7601
|
-
return __assign({}, (input.AliasId
|
|
7541
|
+
return __assign({}, (input.AliasId != null && { AliasId: input.AliasId }));
|
|
7602
7542
|
};
|
|
7603
7543
|
var serializeAws_json1_1DescribeBuildInput = function (input, context) {
|
|
7604
|
-
return __assign({}, (input.BuildId
|
|
7544
|
+
return __assign({}, (input.BuildId != null && { BuildId: input.BuildId }));
|
|
7605
7545
|
};
|
|
7606
7546
|
var serializeAws_json1_1DescribeEC2InstanceLimitsInput = function (input, context) {
|
|
7607
|
-
return __assign(__assign({}, (input.EC2InstanceType
|
|
7608
|
-
input.EC2InstanceType !== null && { EC2InstanceType: input.EC2InstanceType })), (input.Location !== undefined && input.Location !== null && { Location: input.Location }));
|
|
7547
|
+
return __assign(__assign({}, (input.EC2InstanceType != null && { EC2InstanceType: input.EC2InstanceType })), (input.Location != null && { Location: input.Location }));
|
|
7609
7548
|
};
|
|
7610
7549
|
var serializeAws_json1_1DescribeFleetAttributesInput = function (input, context) {
|
|
7611
|
-
return __assign(__assign(__assign({}, (input.FleetIds
|
|
7612
|
-
input.FleetIds !== null && { FleetIds: serializeAws_json1_1FleetIdOrArnList(input.FleetIds, context) })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
7550
|
+
return __assign(__assign(__assign({}, (input.FleetIds != null && { FleetIds: serializeAws_json1_1FleetIdOrArnList(input.FleetIds, context) })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7613
7551
|
};
|
|
7614
7552
|
var serializeAws_json1_1DescribeFleetCapacityInput = function (input, context) {
|
|
7615
|
-
return __assign(__assign(__assign({}, (input.FleetIds
|
|
7616
|
-
input.FleetIds !== null && { FleetIds: serializeAws_json1_1FleetIdOrArnList(input.FleetIds, context) })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
7553
|
+
return __assign(__assign(__assign({}, (input.FleetIds != null && { FleetIds: serializeAws_json1_1FleetIdOrArnList(input.FleetIds, context) })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7617
7554
|
};
|
|
7618
7555
|
var serializeAws_json1_1DescribeFleetEventsInput = function (input, context) {
|
|
7619
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.EndTime
|
|
7620
|
-
input.EndTime !== null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.FleetId !== undefined && input.FleetId !== null && { FleetId: input.FleetId })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StartTime !== undefined &&
|
|
7621
|
-
input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
7556
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.FleetId != null && { FleetId: input.FleetId })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
7622
7557
|
};
|
|
7623
7558
|
var serializeAws_json1_1DescribeFleetLocationAttributesInput = function (input, context) {
|
|
7624
|
-
return __assign(__assign(__assign(__assign({}, (input.FleetId
|
|
7625
|
-
input.Locations !== null && { Locations: serializeAws_json1_1LocationList(input.Locations, context) })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
7559
|
+
return __assign(__assign(__assign(__assign({}, (input.FleetId != null && { FleetId: input.FleetId })), (input.Limit != null && { Limit: input.Limit })), (input.Locations != null && { Locations: serializeAws_json1_1LocationList(input.Locations, context) })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7626
7560
|
};
|
|
7627
7561
|
var serializeAws_json1_1DescribeFleetLocationCapacityInput = function (input, context) {
|
|
7628
|
-
return __assign(__assign({}, (input.FleetId
|
|
7562
|
+
return __assign(__assign({}, (input.FleetId != null && { FleetId: input.FleetId })), (input.Location != null && { Location: input.Location }));
|
|
7629
7563
|
};
|
|
7630
7564
|
var serializeAws_json1_1DescribeFleetLocationUtilizationInput = function (input, context) {
|
|
7631
|
-
return __assign(__assign({}, (input.FleetId
|
|
7565
|
+
return __assign(__assign({}, (input.FleetId != null && { FleetId: input.FleetId })), (input.Location != null && { Location: input.Location }));
|
|
7632
7566
|
};
|
|
7633
7567
|
var serializeAws_json1_1DescribeFleetPortSettingsInput = function (input, context) {
|
|
7634
|
-
return __assign(__assign({}, (input.FleetId
|
|
7568
|
+
return __assign(__assign({}, (input.FleetId != null && { FleetId: input.FleetId })), (input.Location != null && { Location: input.Location }));
|
|
7635
7569
|
};
|
|
7636
7570
|
var serializeAws_json1_1DescribeFleetUtilizationInput = function (input, context) {
|
|
7637
|
-
return __assign(__assign(__assign({}, (input.FleetIds
|
|
7638
|
-
input.FleetIds !== null && { FleetIds: serializeAws_json1_1FleetIdOrArnList(input.FleetIds, context) })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
7571
|
+
return __assign(__assign(__assign({}, (input.FleetIds != null && { FleetIds: serializeAws_json1_1FleetIdOrArnList(input.FleetIds, context) })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7639
7572
|
};
|
|
7640
7573
|
var serializeAws_json1_1DescribeGameServerGroupInput = function (input, context) {
|
|
7641
|
-
return __assign({}, (input.GameServerGroupName
|
|
7642
|
-
input.GameServerGroupName !== null && { GameServerGroupName: input.GameServerGroupName }));
|
|
7574
|
+
return __assign({}, (input.GameServerGroupName != null && { GameServerGroupName: input.GameServerGroupName }));
|
|
7643
7575
|
};
|
|
7644
7576
|
var serializeAws_json1_1DescribeGameServerInput = function (input, context) {
|
|
7645
|
-
return __assign(__assign({}, (input.GameServerGroupName
|
|
7646
|
-
input.GameServerGroupName !== null && { GameServerGroupName: input.GameServerGroupName })), (input.GameServerId !== undefined && input.GameServerId !== null && { GameServerId: input.GameServerId }));
|
|
7577
|
+
return __assign(__assign({}, (input.GameServerGroupName != null && { GameServerGroupName: input.GameServerGroupName })), (input.GameServerId != null && { GameServerId: input.GameServerId }));
|
|
7647
7578
|
};
|
|
7648
7579
|
var serializeAws_json1_1DescribeGameServerInstancesInput = function (input, context) {
|
|
7649
|
-
return __assign(__assign(__assign(__assign({}, (input.GameServerGroupName
|
|
7650
|
-
input.GameServerGroupName !== null && { GameServerGroupName: input.GameServerGroupName })), (input.InstanceIds !== undefined &&
|
|
7651
|
-
input.InstanceIds !== null && {
|
|
7580
|
+
return __assign(__assign(__assign(__assign({}, (input.GameServerGroupName != null && { GameServerGroupName: input.GameServerGroupName })), (input.InstanceIds != null && {
|
|
7652
7581
|
InstanceIds: serializeAws_json1_1GameServerInstanceIds(input.InstanceIds, context),
|
|
7653
|
-
})), (input.Limit
|
|
7582
|
+
})), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7654
7583
|
};
|
|
7655
7584
|
var serializeAws_json1_1DescribeGameSessionDetailsInput = function (input, context) {
|
|
7656
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AliasId
|
|
7585
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AliasId != null && { AliasId: input.AliasId })), (input.FleetId != null && { FleetId: input.FleetId })), (input.GameSessionId != null && { GameSessionId: input.GameSessionId })), (input.Limit != null && { Limit: input.Limit })), (input.Location != null && { Location: input.Location })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StatusFilter != null && { StatusFilter: input.StatusFilter }));
|
|
7657
7586
|
};
|
|
7658
7587
|
var serializeAws_json1_1DescribeGameSessionPlacementInput = function (input, context) {
|
|
7659
|
-
return __assign({}, (input.PlacementId
|
|
7588
|
+
return __assign({}, (input.PlacementId != null && { PlacementId: input.PlacementId }));
|
|
7660
7589
|
};
|
|
7661
7590
|
var serializeAws_json1_1DescribeGameSessionQueuesInput = function (input, context) {
|
|
7662
|
-
return __assign(__assign(__assign({}, (input.Limit
|
|
7663
|
-
input.Names !== null && { Names: serializeAws_json1_1GameSessionQueueNameOrArnList(input.Names, context) })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
7591
|
+
return __assign(__assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.Names != null && { Names: serializeAws_json1_1GameSessionQueueNameOrArnList(input.Names, context) })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7664
7592
|
};
|
|
7665
7593
|
var serializeAws_json1_1DescribeGameSessionsInput = function (input, context) {
|
|
7666
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AliasId
|
|
7594
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AliasId != null && { AliasId: input.AliasId })), (input.FleetId != null && { FleetId: input.FleetId })), (input.GameSessionId != null && { GameSessionId: input.GameSessionId })), (input.Limit != null && { Limit: input.Limit })), (input.Location != null && { Location: input.Location })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StatusFilter != null && { StatusFilter: input.StatusFilter }));
|
|
7667
7595
|
};
|
|
7668
7596
|
var serializeAws_json1_1DescribeInstancesInput = function (input, context) {
|
|
7669
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.FleetId
|
|
7597
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.FleetId != null && { FleetId: input.FleetId })), (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.Limit != null && { Limit: input.Limit })), (input.Location != null && { Location: input.Location })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7670
7598
|
};
|
|
7671
7599
|
var serializeAws_json1_1DescribeMatchmakingConfigurationsInput = function (input, context) {
|
|
7672
|
-
return __assign(__assign(__assign(__assign({}, (input.Limit
|
|
7673
|
-
input.Names !== null && { Names: serializeAws_json1_1MatchmakingConfigurationNameList(input.Names, context) })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.RuleSetName !== undefined && input.RuleSetName !== null && { RuleSetName: input.RuleSetName }));
|
|
7600
|
+
return __assign(__assign(__assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.Names != null && { Names: serializeAws_json1_1MatchmakingConfigurationNameList(input.Names, context) })), (input.NextToken != null && { NextToken: input.NextToken })), (input.RuleSetName != null && { RuleSetName: input.RuleSetName }));
|
|
7674
7601
|
};
|
|
7675
7602
|
var serializeAws_json1_1DescribeMatchmakingInput = function (input, context) {
|
|
7676
|
-
return __assign({}, (input.TicketIds
|
|
7677
|
-
input.TicketIds !== null && { TicketIds: serializeAws_json1_1MatchmakingIdList(input.TicketIds, context) }));
|
|
7603
|
+
return __assign({}, (input.TicketIds != null && { TicketIds: serializeAws_json1_1MatchmakingIdList(input.TicketIds, context) }));
|
|
7678
7604
|
};
|
|
7679
7605
|
var serializeAws_json1_1DescribeMatchmakingRuleSetsInput = function (input, context) {
|
|
7680
|
-
return __assign(__assign(__assign({}, (input.Limit
|
|
7681
|
-
input.Names !== null && { Names: serializeAws_json1_1MatchmakingRuleSetNameList(input.Names, context) })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
7606
|
+
return __assign(__assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.Names != null && { Names: serializeAws_json1_1MatchmakingRuleSetNameList(input.Names, context) })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7682
7607
|
};
|
|
7683
7608
|
var serializeAws_json1_1DescribePlayerSessionsInput = function (input, context) {
|
|
7684
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.GameSessionId
|
|
7685
|
-
input.PlayerSessionId !== null && { PlayerSessionId: input.PlayerSessionId })), (input.PlayerSessionStatusFilter !== undefined &&
|
|
7686
|
-
input.PlayerSessionStatusFilter !== null && { PlayerSessionStatusFilter: input.PlayerSessionStatusFilter }));
|
|
7609
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.GameSessionId != null && { GameSessionId: input.GameSessionId })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.PlayerId != null && { PlayerId: input.PlayerId })), (input.PlayerSessionId != null && { PlayerSessionId: input.PlayerSessionId })), (input.PlayerSessionStatusFilter != null && { PlayerSessionStatusFilter: input.PlayerSessionStatusFilter }));
|
|
7687
7610
|
};
|
|
7688
7611
|
var serializeAws_json1_1DescribeRuntimeConfigurationInput = function (input, context) {
|
|
7689
|
-
return __assign({}, (input.FleetId
|
|
7612
|
+
return __assign({}, (input.FleetId != null && { FleetId: input.FleetId }));
|
|
7690
7613
|
};
|
|
7691
7614
|
var serializeAws_json1_1DescribeScalingPoliciesInput = function (input, context) {
|
|
7692
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.FleetId
|
|
7615
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.FleetId != null && { FleetId: input.FleetId })), (input.Limit != null && { Limit: input.Limit })), (input.Location != null && { Location: input.Location })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StatusFilter != null && { StatusFilter: input.StatusFilter }));
|
|
7693
7616
|
};
|
|
7694
7617
|
var serializeAws_json1_1DescribeScriptInput = function (input, context) {
|
|
7695
|
-
return __assign({}, (input.ScriptId
|
|
7618
|
+
return __assign({}, (input.ScriptId != null && { ScriptId: input.ScriptId }));
|
|
7696
7619
|
};
|
|
7697
7620
|
var serializeAws_json1_1DescribeVpcPeeringAuthorizationsInput = function (input, context) {
|
|
7698
7621
|
return {};
|
|
7699
7622
|
};
|
|
7700
7623
|
var serializeAws_json1_1DescribeVpcPeeringConnectionsInput = function (input, context) {
|
|
7701
|
-
return __assign({}, (input.FleetId
|
|
7624
|
+
return __assign({}, (input.FleetId != null && { FleetId: input.FleetId }));
|
|
7702
7625
|
};
|
|
7703
7626
|
var serializeAws_json1_1DesiredPlayerSession = function (input, context) {
|
|
7704
|
-
return __assign(__assign({}, (input.PlayerData
|
|
7627
|
+
return __assign(__assign({}, (input.PlayerData != null && { PlayerData: input.PlayerData })), (input.PlayerId != null && { PlayerId: input.PlayerId }));
|
|
7705
7628
|
};
|
|
7706
7629
|
var serializeAws_json1_1DesiredPlayerSessionList = function (input, context) {
|
|
7707
7630
|
return input
|
|
@@ -7714,8 +7637,7 @@ var serializeAws_json1_1DesiredPlayerSessionList = function (input, context) {
|
|
|
7714
7637
|
});
|
|
7715
7638
|
};
|
|
7716
7639
|
var serializeAws_json1_1FilterConfiguration = function (input, context) {
|
|
7717
|
-
return __assign({}, (input.AllowedLocations
|
|
7718
|
-
input.AllowedLocations !== null && {
|
|
7640
|
+
return __assign({}, (input.AllowedLocations != null && {
|
|
7719
7641
|
AllowedLocations: serializeAws_json1_1LocationList(input.AllowedLocations, context),
|
|
7720
7642
|
}));
|
|
7721
7643
|
};
|
|
@@ -7740,7 +7662,7 @@ var serializeAws_json1_1FleetIdOrArnList = function (input, context) {
|
|
|
7740
7662
|
});
|
|
7741
7663
|
};
|
|
7742
7664
|
var serializeAws_json1_1GameProperty = function (input, context) {
|
|
7743
|
-
return __assign(__assign({}, (input.Key
|
|
7665
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
7744
7666
|
};
|
|
7745
7667
|
var serializeAws_json1_1GamePropertyList = function (input, context) {
|
|
7746
7668
|
return input
|
|
@@ -7763,9 +7685,7 @@ var serializeAws_json1_1GameServerGroupActions = function (input, context) {
|
|
|
7763
7685
|
});
|
|
7764
7686
|
};
|
|
7765
7687
|
var serializeAws_json1_1GameServerGroupAutoScalingPolicy = function (input, context) {
|
|
7766
|
-
return __assign(__assign({}, (input.EstimatedInstanceWarmup
|
|
7767
|
-
input.EstimatedInstanceWarmup !== null && { EstimatedInstanceWarmup: input.EstimatedInstanceWarmup })), (input.TargetTrackingConfiguration !== undefined &&
|
|
7768
|
-
input.TargetTrackingConfiguration !== null && {
|
|
7688
|
+
return __assign(__assign({}, (input.EstimatedInstanceWarmup != null && { EstimatedInstanceWarmup: input.EstimatedInstanceWarmup })), (input.TargetTrackingConfiguration != null && {
|
|
7769
7689
|
TargetTrackingConfiguration: serializeAws_json1_1TargetTrackingConfiguration(input.TargetTrackingConfiguration, context),
|
|
7770
7690
|
}));
|
|
7771
7691
|
};
|
|
@@ -7780,8 +7700,7 @@ var serializeAws_json1_1GameServerInstanceIds = function (input, context) {
|
|
|
7780
7700
|
});
|
|
7781
7701
|
};
|
|
7782
7702
|
var serializeAws_json1_1GameSessionQueueDestination = function (input, context) {
|
|
7783
|
-
return __assign({}, (input.DestinationArn
|
|
7784
|
-
input.DestinationArn !== null && { DestinationArn: input.DestinationArn }));
|
|
7703
|
+
return __assign({}, (input.DestinationArn != null && { DestinationArn: input.DestinationArn }));
|
|
7785
7704
|
};
|
|
7786
7705
|
var serializeAws_json1_1GameSessionQueueDestinationList = function (input, context) {
|
|
7787
7706
|
return input
|
|
@@ -7804,14 +7723,13 @@ var serializeAws_json1_1GameSessionQueueNameOrArnList = function (input, context
|
|
|
7804
7723
|
});
|
|
7805
7724
|
};
|
|
7806
7725
|
var serializeAws_json1_1GetGameSessionLogUrlInput = function (input, context) {
|
|
7807
|
-
return __assign({}, (input.GameSessionId
|
|
7726
|
+
return __assign({}, (input.GameSessionId != null && { GameSessionId: input.GameSessionId }));
|
|
7808
7727
|
};
|
|
7809
7728
|
var serializeAws_json1_1GetInstanceAccessInput = function (input, context) {
|
|
7810
|
-
return __assign(__assign({}, (input.FleetId
|
|
7729
|
+
return __assign(__assign({}, (input.FleetId != null && { FleetId: input.FleetId })), (input.InstanceId != null && { InstanceId: input.InstanceId }));
|
|
7811
7730
|
};
|
|
7812
7731
|
var serializeAws_json1_1InstanceDefinition = function (input, context) {
|
|
7813
|
-
return __assign(__assign({}, (input.InstanceType
|
|
7814
|
-
input.WeightedCapacity !== null && { WeightedCapacity: input.WeightedCapacity }));
|
|
7732
|
+
return __assign(__assign({}, (input.InstanceType != null && { InstanceType: input.InstanceType })), (input.WeightedCapacity != null && { WeightedCapacity: input.WeightedCapacity }));
|
|
7815
7733
|
};
|
|
7816
7734
|
var serializeAws_json1_1InstanceDefinitions = function (input, context) {
|
|
7817
7735
|
return input
|
|
@@ -7824,7 +7742,7 @@ var serializeAws_json1_1InstanceDefinitions = function (input, context) {
|
|
|
7824
7742
|
});
|
|
7825
7743
|
};
|
|
7826
7744
|
var serializeAws_json1_1IpPermission = function (input, context) {
|
|
7827
|
-
return __assign(__assign(__assign(__assign({}, (input.FromPort
|
|
7745
|
+
return __assign(__assign(__assign(__assign({}, (input.FromPort != null && { FromPort: input.FromPort })), (input.IpRange != null && { IpRange: input.IpRange })), (input.Protocol != null && { Protocol: input.Protocol })), (input.ToPort != null && { ToPort: input.ToPort }));
|
|
7828
7746
|
};
|
|
7829
7747
|
var serializeAws_json1_1IpPermissionsList = function (input, context) {
|
|
7830
7748
|
return input
|
|
@@ -7847,35 +7765,31 @@ var serializeAws_json1_1LatencyMap = function (input, context) {
|
|
|
7847
7765
|
}, {});
|
|
7848
7766
|
};
|
|
7849
7767
|
var serializeAws_json1_1LaunchTemplateSpecification = function (input, context) {
|
|
7850
|
-
return __assign(__assign(__assign({}, (input.LaunchTemplateId
|
|
7851
|
-
input.LaunchTemplateId !== null && { LaunchTemplateId: input.LaunchTemplateId })), (input.LaunchTemplateName !== undefined &&
|
|
7852
|
-
input.LaunchTemplateName !== null && { LaunchTemplateName: input.LaunchTemplateName })), (input.Version !== undefined && input.Version !== null && { Version: input.Version }));
|
|
7768
|
+
return __assign(__assign(__assign({}, (input.LaunchTemplateId != null && { LaunchTemplateId: input.LaunchTemplateId })), (input.LaunchTemplateName != null && { LaunchTemplateName: input.LaunchTemplateName })), (input.Version != null && { Version: input.Version }));
|
|
7853
7769
|
};
|
|
7854
7770
|
var serializeAws_json1_1ListAliasesInput = function (input, context) {
|
|
7855
|
-
return __assign(__assign(__assign(__assign({}, (input.Limit
|
|
7856
|
-
input.RoutingStrategyType !== null && { RoutingStrategyType: input.RoutingStrategyType }));
|
|
7771
|
+
return __assign(__assign(__assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.Name != null && { Name: input.Name })), (input.NextToken != null && { NextToken: input.NextToken })), (input.RoutingStrategyType != null && { RoutingStrategyType: input.RoutingStrategyType }));
|
|
7857
7772
|
};
|
|
7858
7773
|
var serializeAws_json1_1ListBuildsInput = function (input, context) {
|
|
7859
|
-
return __assign(__assign(__assign({}, (input.Limit
|
|
7774
|
+
return __assign(__assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.Status != null && { Status: input.Status }));
|
|
7860
7775
|
};
|
|
7861
7776
|
var serializeAws_json1_1ListFleetsInput = function (input, context) {
|
|
7862
|
-
return __assign(__assign(__assign(__assign({}, (input.BuildId
|
|
7777
|
+
return __assign(__assign(__assign(__assign({}, (input.BuildId != null && { BuildId: input.BuildId })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ScriptId != null && { ScriptId: input.ScriptId }));
|
|
7863
7778
|
};
|
|
7864
7779
|
var serializeAws_json1_1ListGameServerGroupsInput = function (input, context) {
|
|
7865
|
-
return __assign(__assign({}, (input.Limit
|
|
7780
|
+
return __assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7866
7781
|
};
|
|
7867
7782
|
var serializeAws_json1_1ListGameServersInput = function (input, context) {
|
|
7868
|
-
return __assign(__assign(__assign(__assign({}, (input.GameServerGroupName
|
|
7869
|
-
input.GameServerGroupName !== null && { GameServerGroupName: input.GameServerGroupName })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
|
|
7783
|
+
return __assign(__assign(__assign(__assign({}, (input.GameServerGroupName != null && { GameServerGroupName: input.GameServerGroupName })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SortOrder != null && { SortOrder: input.SortOrder }));
|
|
7870
7784
|
};
|
|
7871
7785
|
var serializeAws_json1_1ListScriptsInput = function (input, context) {
|
|
7872
|
-
return __assign(__assign({}, (input.Limit
|
|
7786
|
+
return __assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
7873
7787
|
};
|
|
7874
7788
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
7875
|
-
return __assign({}, (input.ResourceARN
|
|
7789
|
+
return __assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN }));
|
|
7876
7790
|
};
|
|
7877
7791
|
var serializeAws_json1_1LocationConfiguration = function (input, context) {
|
|
7878
|
-
return __assign({}, (input.Location
|
|
7792
|
+
return __assign({}, (input.Location != null && { Location: input.Location }));
|
|
7879
7793
|
};
|
|
7880
7794
|
var serializeAws_json1_1LocationConfigurationList = function (input, context) {
|
|
7881
7795
|
return input
|
|
@@ -7938,11 +7852,9 @@ var serializeAws_json1_1MetricGroupList = function (input, context) {
|
|
|
7938
7852
|
});
|
|
7939
7853
|
};
|
|
7940
7854
|
var serializeAws_json1_1Player = function (input, context) {
|
|
7941
|
-
return __assign(__assign(__assign(__assign({}, (input.LatencyInMs
|
|
7942
|
-
input.LatencyInMs !== null && { LatencyInMs: serializeAws_json1_1LatencyMap(input.LatencyInMs, context) })), (input.PlayerAttributes !== undefined &&
|
|
7943
|
-
input.PlayerAttributes !== null && {
|
|
7855
|
+
return __assign(__assign(__assign(__assign({}, (input.LatencyInMs != null && { LatencyInMs: serializeAws_json1_1LatencyMap(input.LatencyInMs, context) })), (input.PlayerAttributes != null && {
|
|
7944
7856
|
PlayerAttributes: serializeAws_json1_1PlayerAttributeMap(input.PlayerAttributes, context),
|
|
7945
|
-
})), (input.PlayerId
|
|
7857
|
+
})), (input.PlayerId != null && { PlayerId: input.PlayerId })), (input.Team != null && { Team: input.Team }));
|
|
7946
7858
|
};
|
|
7947
7859
|
var serializeAws_json1_1PlayerAttributeMap = function (input, context) {
|
|
7948
7860
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -7975,9 +7887,9 @@ var serializeAws_json1_1PlayerIdList = function (input, context) {
|
|
|
7975
7887
|
});
|
|
7976
7888
|
};
|
|
7977
7889
|
var serializeAws_json1_1PlayerLatency = function (input, context) {
|
|
7978
|
-
return __assign(__assign(__assign({}, (input.LatencyInMilliseconds
|
|
7979
|
-
|
|
7980
|
-
|
|
7890
|
+
return __assign(__assign(__assign({}, (input.LatencyInMilliseconds != null && {
|
|
7891
|
+
LatencyInMilliseconds: __serializeFloat(input.LatencyInMilliseconds),
|
|
7892
|
+
})), (input.PlayerId != null && { PlayerId: input.PlayerId })), (input.RegionIdentifier != null && { RegionIdentifier: input.RegionIdentifier }));
|
|
7981
7893
|
};
|
|
7982
7894
|
var serializeAws_json1_1PlayerLatencyList = function (input, context) {
|
|
7983
7895
|
return input
|
|
@@ -7990,11 +7902,9 @@ var serializeAws_json1_1PlayerLatencyList = function (input, context) {
|
|
|
7990
7902
|
});
|
|
7991
7903
|
};
|
|
7992
7904
|
var serializeAws_json1_1PlayerLatencyPolicy = function (input, context) {
|
|
7993
|
-
return __assign(__assign({}, (input.MaximumIndividualPlayerLatencyMilliseconds
|
|
7994
|
-
input.MaximumIndividualPlayerLatencyMilliseconds !== null && {
|
|
7905
|
+
return __assign(__assign({}, (input.MaximumIndividualPlayerLatencyMilliseconds != null && {
|
|
7995
7906
|
MaximumIndividualPlayerLatencyMilliseconds: input.MaximumIndividualPlayerLatencyMilliseconds,
|
|
7996
|
-
})), (input.PolicyDurationSeconds
|
|
7997
|
-
input.PolicyDurationSeconds !== null && { PolicyDurationSeconds: input.PolicyDurationSeconds }));
|
|
7907
|
+
})), (input.PolicyDurationSeconds != null && { PolicyDurationSeconds: input.PolicyDurationSeconds }));
|
|
7998
7908
|
};
|
|
7999
7909
|
var serializeAws_json1_1PlayerLatencyPolicyList = function (input, context) {
|
|
8000
7910
|
return input
|
|
@@ -8017,11 +7927,9 @@ var serializeAws_json1_1PlayerList = function (input, context) {
|
|
|
8017
7927
|
});
|
|
8018
7928
|
};
|
|
8019
7929
|
var serializeAws_json1_1PriorityConfiguration = function (input, context) {
|
|
8020
|
-
return __assign(__assign({}, (input.LocationOrder
|
|
8021
|
-
input.LocationOrder !== null && {
|
|
7930
|
+
return __assign(__assign({}, (input.LocationOrder != null && {
|
|
8022
7931
|
LocationOrder: serializeAws_json1_1LocationList(input.LocationOrder, context),
|
|
8023
|
-
})), (input.PriorityOrder
|
|
8024
|
-
input.PriorityOrder !== null && {
|
|
7932
|
+
})), (input.PriorityOrder != null && {
|
|
8025
7933
|
PriorityOrder: serializeAws_json1_1PriorityTypeList(input.PriorityOrder, context),
|
|
8026
7934
|
}));
|
|
8027
7935
|
};
|
|
@@ -8036,14 +7944,9 @@ var serializeAws_json1_1PriorityTypeList = function (input, context) {
|
|
|
8036
7944
|
});
|
|
8037
7945
|
};
|
|
8038
7946
|
var serializeAws_json1_1PutScalingPolicyInput = function (input, context) {
|
|
8039
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ComparisonOperator
|
|
8040
|
-
input.ComparisonOperator !== null && { ComparisonOperator: input.ComparisonOperator })), (input.EvaluationPeriods !== undefined &&
|
|
8041
|
-
input.EvaluationPeriods !== null && { EvaluationPeriods: input.EvaluationPeriods })), (input.FleetId !== undefined && input.FleetId !== null && { FleetId: input.FleetId })), (input.MetricName !== undefined && input.MetricName !== null && { MetricName: input.MetricName })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.PolicyType !== undefined && input.PolicyType !== null && { PolicyType: input.PolicyType })), (input.ScalingAdjustment !== undefined &&
|
|
8042
|
-
input.ScalingAdjustment !== null && { ScalingAdjustment: input.ScalingAdjustment })), (input.ScalingAdjustmentType !== undefined &&
|
|
8043
|
-
input.ScalingAdjustmentType !== null && { ScalingAdjustmentType: input.ScalingAdjustmentType })), (input.TargetConfiguration !== undefined &&
|
|
8044
|
-
input.TargetConfiguration !== null && {
|
|
7947
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ComparisonOperator != null && { ComparisonOperator: input.ComparisonOperator })), (input.EvaluationPeriods != null && { EvaluationPeriods: input.EvaluationPeriods })), (input.FleetId != null && { FleetId: input.FleetId })), (input.MetricName != null && { MetricName: input.MetricName })), (input.Name != null && { Name: input.Name })), (input.PolicyType != null && { PolicyType: input.PolicyType })), (input.ScalingAdjustment != null && { ScalingAdjustment: input.ScalingAdjustment })), (input.ScalingAdjustmentType != null && { ScalingAdjustmentType: input.ScalingAdjustmentType })), (input.TargetConfiguration != null && {
|
|
8045
7948
|
TargetConfiguration: serializeAws_json1_1TargetConfiguration(input.TargetConfiguration, context),
|
|
8046
|
-
})), (input.Threshold
|
|
7949
|
+
})), (input.Threshold != null && { Threshold: __serializeFloat(input.Threshold) }));
|
|
8047
7950
|
};
|
|
8048
7951
|
var serializeAws_json1_1QueueArnsList = function (input, context) {
|
|
8049
7952
|
return input
|
|
@@ -8056,55 +7959,42 @@ var serializeAws_json1_1QueueArnsList = function (input, context) {
|
|
|
8056
7959
|
});
|
|
8057
7960
|
};
|
|
8058
7961
|
var serializeAws_json1_1RegisterGameServerInput = function (input, context) {
|
|
8059
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ConnectionInfo
|
|
8060
|
-
input.ConnectionInfo !== null && { ConnectionInfo: input.ConnectionInfo })), (input.GameServerData !== undefined &&
|
|
8061
|
-
input.GameServerData !== null && { GameServerData: input.GameServerData })), (input.GameServerGroupName !== undefined &&
|
|
8062
|
-
input.GameServerGroupName !== null && { GameServerGroupName: input.GameServerGroupName })), (input.GameServerId !== undefined && input.GameServerId !== null && { GameServerId: input.GameServerId })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId }));
|
|
7962
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ConnectionInfo != null && { ConnectionInfo: input.ConnectionInfo })), (input.GameServerData != null && { GameServerData: input.GameServerData })), (input.GameServerGroupName != null && { GameServerGroupName: input.GameServerGroupName })), (input.GameServerId != null && { GameServerId: input.GameServerId })), (input.InstanceId != null && { InstanceId: input.InstanceId }));
|
|
8063
7963
|
};
|
|
8064
7964
|
var serializeAws_json1_1RequestUploadCredentialsInput = function (input, context) {
|
|
8065
|
-
return __assign({}, (input.BuildId
|
|
7965
|
+
return __assign({}, (input.BuildId != null && { BuildId: input.BuildId }));
|
|
8066
7966
|
};
|
|
8067
7967
|
var serializeAws_json1_1ResolveAliasInput = function (input, context) {
|
|
8068
|
-
return __assign({}, (input.AliasId
|
|
7968
|
+
return __assign({}, (input.AliasId != null && { AliasId: input.AliasId }));
|
|
8069
7969
|
};
|
|
8070
7970
|
var serializeAws_json1_1ResourceCreationLimitPolicy = function (input, context) {
|
|
8071
|
-
return __assign(__assign({}, (input.NewGameSessionsPerCreator
|
|
8072
|
-
input.NewGameSessionsPerCreator !== null && { NewGameSessionsPerCreator: input.NewGameSessionsPerCreator })), (input.PolicyPeriodInMinutes !== undefined &&
|
|
8073
|
-
input.PolicyPeriodInMinutes !== null && { PolicyPeriodInMinutes: input.PolicyPeriodInMinutes }));
|
|
7971
|
+
return __assign(__assign({}, (input.NewGameSessionsPerCreator != null && { NewGameSessionsPerCreator: input.NewGameSessionsPerCreator })), (input.PolicyPeriodInMinutes != null && { PolicyPeriodInMinutes: input.PolicyPeriodInMinutes }));
|
|
8074
7972
|
};
|
|
8075
7973
|
var serializeAws_json1_1ResumeGameServerGroupInput = function (input, context) {
|
|
8076
|
-
return __assign(__assign({}, (input.GameServerGroupName
|
|
8077
|
-
input.GameServerGroupName !== null && { GameServerGroupName: input.GameServerGroupName })), (input.ResumeActions !== undefined &&
|
|
8078
|
-
input.ResumeActions !== null && {
|
|
7974
|
+
return __assign(__assign({}, (input.GameServerGroupName != null && { GameServerGroupName: input.GameServerGroupName })), (input.ResumeActions != null && {
|
|
8079
7975
|
ResumeActions: serializeAws_json1_1GameServerGroupActions(input.ResumeActions, context),
|
|
8080
7976
|
}));
|
|
8081
7977
|
};
|
|
8082
7978
|
var serializeAws_json1_1RoutingStrategy = function (input, context) {
|
|
8083
|
-
return __assign(__assign(__assign({}, (input.FleetId
|
|
7979
|
+
return __assign(__assign(__assign({}, (input.FleetId != null && { FleetId: input.FleetId })), (input.Message != null && { Message: input.Message })), (input.Type != null && { Type: input.Type }));
|
|
8084
7980
|
};
|
|
8085
7981
|
var serializeAws_json1_1RuntimeConfiguration = function (input, context) {
|
|
8086
|
-
return __assign(__assign(__assign({}, (input.GameSessionActivationTimeoutSeconds
|
|
8087
|
-
input.GameSessionActivationTimeoutSeconds !== null && {
|
|
7982
|
+
return __assign(__assign(__assign({}, (input.GameSessionActivationTimeoutSeconds != null && {
|
|
8088
7983
|
GameSessionActivationTimeoutSeconds: input.GameSessionActivationTimeoutSeconds,
|
|
8089
|
-
})), (input.MaxConcurrentGameSessionActivations
|
|
8090
|
-
input.MaxConcurrentGameSessionActivations !== null && {
|
|
7984
|
+
})), (input.MaxConcurrentGameSessionActivations != null && {
|
|
8091
7985
|
MaxConcurrentGameSessionActivations: input.MaxConcurrentGameSessionActivations,
|
|
8092
|
-
})), (input.ServerProcesses
|
|
8093
|
-
input.ServerProcesses !== null && {
|
|
7986
|
+
})), (input.ServerProcesses != null && {
|
|
8094
7987
|
ServerProcesses: serializeAws_json1_1ServerProcessList(input.ServerProcesses, context),
|
|
8095
7988
|
}));
|
|
8096
7989
|
};
|
|
8097
7990
|
var serializeAws_json1_1S3Location = function (input, context) {
|
|
8098
|
-
return __assign(__assign(__assign(__assign({}, (input.Bucket
|
|
7991
|
+
return __assign(__assign(__assign(__assign({}, (input.Bucket != null && { Bucket: input.Bucket })), (input.Key != null && { Key: input.Key })), (input.ObjectVersion != null && { ObjectVersion: input.ObjectVersion })), (input.RoleArn != null && { RoleArn: input.RoleArn }));
|
|
8099
7992
|
};
|
|
8100
7993
|
var serializeAws_json1_1SearchGameSessionsInput = function (input, context) {
|
|
8101
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AliasId
|
|
8102
|
-
input.FilterExpression !== null && { FilterExpression: input.FilterExpression })), (input.FleetId !== undefined && input.FleetId !== null && { FleetId: input.FleetId })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.Location !== undefined && input.Location !== null && { Location: input.Location })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortExpression !== undefined &&
|
|
8103
|
-
input.SortExpression !== null && { SortExpression: input.SortExpression }));
|
|
7994
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AliasId != null && { AliasId: input.AliasId })), (input.FilterExpression != null && { FilterExpression: input.FilterExpression })), (input.FleetId != null && { FleetId: input.FleetId })), (input.Limit != null && { Limit: input.Limit })), (input.Location != null && { Location: input.Location })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SortExpression != null && { SortExpression: input.SortExpression }));
|
|
8104
7995
|
};
|
|
8105
7996
|
var serializeAws_json1_1ServerProcess = function (input, context) {
|
|
8106
|
-
return __assign(__assign(__assign({}, (input.ConcurrentExecutions
|
|
8107
|
-
input.ConcurrentExecutions !== null && { ConcurrentExecutions: input.ConcurrentExecutions })), (input.LaunchPath !== undefined && input.LaunchPath !== null && { LaunchPath: input.LaunchPath })), (input.Parameters !== undefined && input.Parameters !== null && { Parameters: input.Parameters }));
|
|
7997
|
+
return __assign(__assign(__assign({}, (input.ConcurrentExecutions != null && { ConcurrentExecutions: input.ConcurrentExecutions })), (input.LaunchPath != null && { LaunchPath: input.LaunchPath })), (input.Parameters != null && { Parameters: input.Parameters }));
|
|
8108
7998
|
};
|
|
8109
7999
|
var serializeAws_json1_1ServerProcessList = function (input, context) {
|
|
8110
8000
|
return input
|
|
@@ -8117,45 +8007,31 @@ var serializeAws_json1_1ServerProcessList = function (input, context) {
|
|
|
8117
8007
|
});
|
|
8118
8008
|
};
|
|
8119
8009
|
var serializeAws_json1_1StartFleetActionsInput = function (input, context) {
|
|
8120
|
-
return __assign(__assign(__assign({}, (input.Actions
|
|
8121
|
-
input.Actions !== null && { Actions: serializeAws_json1_1FleetActionList(input.Actions, context) })), (input.FleetId !== undefined && input.FleetId !== null && { FleetId: input.FleetId })), (input.Location !== undefined && input.Location !== null && { Location: input.Location }));
|
|
8010
|
+
return __assign(__assign(__assign({}, (input.Actions != null && { Actions: serializeAws_json1_1FleetActionList(input.Actions, context) })), (input.FleetId != null && { FleetId: input.FleetId })), (input.Location != null && { Location: input.Location }));
|
|
8122
8011
|
};
|
|
8123
8012
|
var serializeAws_json1_1StartGameSessionPlacementInput = function (input, context) {
|
|
8124
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DesiredPlayerSessions
|
|
8125
|
-
input.DesiredPlayerSessions !== null && {
|
|
8013
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DesiredPlayerSessions != null && {
|
|
8126
8014
|
DesiredPlayerSessions: serializeAws_json1_1DesiredPlayerSessionList(input.DesiredPlayerSessions, context),
|
|
8127
|
-
})), (input.GameProperties
|
|
8128
|
-
input.GameProperties !== null && {
|
|
8015
|
+
})), (input.GameProperties != null && {
|
|
8129
8016
|
GameProperties: serializeAws_json1_1GamePropertyList(input.GameProperties, context),
|
|
8130
|
-
})), (input.GameSessionData
|
|
8131
|
-
input.GameSessionData !== null && { GameSessionData: input.GameSessionData })), (input.GameSessionName !== undefined &&
|
|
8132
|
-
input.GameSessionName !== null && { GameSessionName: input.GameSessionName })), (input.GameSessionQueueName !== undefined &&
|
|
8133
|
-
input.GameSessionQueueName !== null && { GameSessionQueueName: input.GameSessionQueueName })), (input.MaximumPlayerSessionCount !== undefined &&
|
|
8134
|
-
input.MaximumPlayerSessionCount !== null && { MaximumPlayerSessionCount: input.MaximumPlayerSessionCount })), (input.PlacementId !== undefined && input.PlacementId !== null && { PlacementId: input.PlacementId })), (input.PlayerLatencies !== undefined &&
|
|
8135
|
-
input.PlayerLatencies !== null && {
|
|
8017
|
+
})), (input.GameSessionData != null && { GameSessionData: input.GameSessionData })), (input.GameSessionName != null && { GameSessionName: input.GameSessionName })), (input.GameSessionQueueName != null && { GameSessionQueueName: input.GameSessionQueueName })), (input.MaximumPlayerSessionCount != null && { MaximumPlayerSessionCount: input.MaximumPlayerSessionCount })), (input.PlacementId != null && { PlacementId: input.PlacementId })), (input.PlayerLatencies != null && {
|
|
8136
8018
|
PlayerLatencies: serializeAws_json1_1PlayerLatencyList(input.PlayerLatencies, context),
|
|
8137
8019
|
}));
|
|
8138
8020
|
};
|
|
8139
8021
|
var serializeAws_json1_1StartMatchBackfillInput = function (input, context) {
|
|
8140
|
-
return __assign(__assign(__assign(__assign({}, (input.ConfigurationName
|
|
8141
|
-
input.ConfigurationName !== null && { ConfigurationName: input.ConfigurationName })), (input.GameSessionArn !== undefined &&
|
|
8142
|
-
input.GameSessionArn !== null && { GameSessionArn: input.GameSessionArn })), (input.Players !== undefined &&
|
|
8143
|
-
input.Players !== null && { Players: serializeAws_json1_1PlayerList(input.Players, context) })), (input.TicketId !== undefined && input.TicketId !== null && { TicketId: input.TicketId }));
|
|
8022
|
+
return __assign(__assign(__assign(__assign({}, (input.ConfigurationName != null && { ConfigurationName: input.ConfigurationName })), (input.GameSessionArn != null && { GameSessionArn: input.GameSessionArn })), (input.Players != null && { Players: serializeAws_json1_1PlayerList(input.Players, context) })), (input.TicketId != null && { TicketId: input.TicketId }));
|
|
8144
8023
|
};
|
|
8145
8024
|
var serializeAws_json1_1StartMatchmakingInput = function (input, context) {
|
|
8146
|
-
return __assign(__assign(__assign({}, (input.ConfigurationName
|
|
8147
|
-
input.ConfigurationName !== null && { ConfigurationName: input.ConfigurationName })), (input.Players !== undefined &&
|
|
8148
|
-
input.Players !== null && { Players: serializeAws_json1_1PlayerList(input.Players, context) })), (input.TicketId !== undefined && input.TicketId !== null && { TicketId: input.TicketId }));
|
|
8025
|
+
return __assign(__assign(__assign({}, (input.ConfigurationName != null && { ConfigurationName: input.ConfigurationName })), (input.Players != null && { Players: serializeAws_json1_1PlayerList(input.Players, context) })), (input.TicketId != null && { TicketId: input.TicketId }));
|
|
8149
8026
|
};
|
|
8150
8027
|
var serializeAws_json1_1StopFleetActionsInput = function (input, context) {
|
|
8151
|
-
return __assign(__assign(__assign({}, (input.Actions
|
|
8152
|
-
input.Actions !== null && { Actions: serializeAws_json1_1FleetActionList(input.Actions, context) })), (input.FleetId !== undefined && input.FleetId !== null && { FleetId: input.FleetId })), (input.Location !== undefined && input.Location !== null && { Location: input.Location }));
|
|
8028
|
+
return __assign(__assign(__assign({}, (input.Actions != null && { Actions: serializeAws_json1_1FleetActionList(input.Actions, context) })), (input.FleetId != null && { FleetId: input.FleetId })), (input.Location != null && { Location: input.Location }));
|
|
8153
8029
|
};
|
|
8154
8030
|
var serializeAws_json1_1StopGameSessionPlacementInput = function (input, context) {
|
|
8155
|
-
return __assign({}, (input.PlacementId
|
|
8031
|
+
return __assign({}, (input.PlacementId != null && { PlacementId: input.PlacementId }));
|
|
8156
8032
|
};
|
|
8157
8033
|
var serializeAws_json1_1StopMatchmakingInput = function (input, context) {
|
|
8158
|
-
return __assign({}, (input.TicketId
|
|
8034
|
+
return __assign({}, (input.TicketId != null && { TicketId: input.TicketId }));
|
|
8159
8035
|
};
|
|
8160
8036
|
var serializeAws_json1_1StringDoubleMap = function (input, context) {
|
|
8161
8037
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -8178,14 +8054,12 @@ var serializeAws_json1_1StringList = function (input, context) {
|
|
|
8178
8054
|
});
|
|
8179
8055
|
};
|
|
8180
8056
|
var serializeAws_json1_1SuspendGameServerGroupInput = function (input, context) {
|
|
8181
|
-
return __assign(__assign({}, (input.GameServerGroupName
|
|
8182
|
-
input.GameServerGroupName !== null && { GameServerGroupName: input.GameServerGroupName })), (input.SuspendActions !== undefined &&
|
|
8183
|
-
input.SuspendActions !== null && {
|
|
8057
|
+
return __assign(__assign({}, (input.GameServerGroupName != null && { GameServerGroupName: input.GameServerGroupName })), (input.SuspendActions != null && {
|
|
8184
8058
|
SuspendActions: serializeAws_json1_1GameServerGroupActions(input.SuspendActions, context),
|
|
8185
8059
|
}));
|
|
8186
8060
|
};
|
|
8187
8061
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
8188
|
-
return __assign(__assign({}, (input.Key
|
|
8062
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
8189
8063
|
};
|
|
8190
8064
|
var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
8191
8065
|
return input
|
|
@@ -8208,123 +8082,87 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
8208
8082
|
});
|
|
8209
8083
|
};
|
|
8210
8084
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
8211
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
8085
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
8212
8086
|
};
|
|
8213
8087
|
var serializeAws_json1_1TargetConfiguration = function (input, context) {
|
|
8214
|
-
return __assign({}, (input.TargetValue
|
|
8215
|
-
input.TargetValue !== null && { TargetValue: __serializeFloat(input.TargetValue) }));
|
|
8088
|
+
return __assign({}, (input.TargetValue != null && { TargetValue: __serializeFloat(input.TargetValue) }));
|
|
8216
8089
|
};
|
|
8217
8090
|
var serializeAws_json1_1TargetTrackingConfiguration = function (input, context) {
|
|
8218
|
-
return __assign({}, (input.TargetValue
|
|
8219
|
-
input.TargetValue !== null && { TargetValue: __serializeFloat(input.TargetValue) }));
|
|
8091
|
+
return __assign({}, (input.TargetValue != null && { TargetValue: __serializeFloat(input.TargetValue) }));
|
|
8220
8092
|
};
|
|
8221
8093
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
8222
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
8223
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
8094
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
8224
8095
|
};
|
|
8225
8096
|
var serializeAws_json1_1UpdateAliasInput = function (input, context) {
|
|
8226
|
-
return __assign(__assign(__assign(__assign({}, (input.AliasId
|
|
8227
|
-
input.RoutingStrategy !== null && {
|
|
8097
|
+
return __assign(__assign(__assign(__assign({}, (input.AliasId != null && { AliasId: input.AliasId })), (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.RoutingStrategy != null && {
|
|
8228
8098
|
RoutingStrategy: serializeAws_json1_1RoutingStrategy(input.RoutingStrategy, context),
|
|
8229
8099
|
}));
|
|
8230
8100
|
};
|
|
8231
8101
|
var serializeAws_json1_1UpdateBuildInput = function (input, context) {
|
|
8232
|
-
return __assign(__assign(__assign({}, (input.BuildId
|
|
8102
|
+
return __assign(__assign(__assign({}, (input.BuildId != null && { BuildId: input.BuildId })), (input.Name != null && { Name: input.Name })), (input.Version != null && { Version: input.Version }));
|
|
8233
8103
|
};
|
|
8234
8104
|
var serializeAws_json1_1UpdateFleetAttributesInput = function (input, context) {
|
|
8235
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
8236
|
-
input.MetricGroups !== null && {
|
|
8105
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.FleetId != null && { FleetId: input.FleetId })), (input.MetricGroups != null && {
|
|
8237
8106
|
MetricGroups: serializeAws_json1_1MetricGroupList(input.MetricGroups, context),
|
|
8238
|
-
})), (input.Name
|
|
8239
|
-
input.NewGameSessionProtectionPolicy !== null && {
|
|
8107
|
+
})), (input.Name != null && { Name: input.Name })), (input.NewGameSessionProtectionPolicy != null && {
|
|
8240
8108
|
NewGameSessionProtectionPolicy: input.NewGameSessionProtectionPolicy,
|
|
8241
|
-
})), (input.ResourceCreationLimitPolicy
|
|
8242
|
-
input.ResourceCreationLimitPolicy !== null && {
|
|
8109
|
+
})), (input.ResourceCreationLimitPolicy != null && {
|
|
8243
8110
|
ResourceCreationLimitPolicy: serializeAws_json1_1ResourceCreationLimitPolicy(input.ResourceCreationLimitPolicy, context),
|
|
8244
8111
|
}));
|
|
8245
8112
|
};
|
|
8246
8113
|
var serializeAws_json1_1UpdateFleetCapacityInput = function (input, context) {
|
|
8247
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.DesiredInstances
|
|
8248
|
-
input.DesiredInstances !== null && { DesiredInstances: input.DesiredInstances })), (input.FleetId !== undefined && input.FleetId !== null && { FleetId: input.FleetId })), (input.Location !== undefined && input.Location !== null && { Location: input.Location })), (input.MaxSize !== undefined && input.MaxSize !== null && { MaxSize: input.MaxSize })), (input.MinSize !== undefined && input.MinSize !== null && { MinSize: input.MinSize }));
|
|
8114
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.DesiredInstances != null && { DesiredInstances: input.DesiredInstances })), (input.FleetId != null && { FleetId: input.FleetId })), (input.Location != null && { Location: input.Location })), (input.MaxSize != null && { MaxSize: input.MaxSize })), (input.MinSize != null && { MinSize: input.MinSize }));
|
|
8249
8115
|
};
|
|
8250
8116
|
var serializeAws_json1_1UpdateFleetPortSettingsInput = function (input, context) {
|
|
8251
|
-
return __assign(__assign(__assign({}, (input.FleetId
|
|
8252
|
-
input.InboundPermissionAuthorizations !== null && {
|
|
8117
|
+
return __assign(__assign(__assign({}, (input.FleetId != null && { FleetId: input.FleetId })), (input.InboundPermissionAuthorizations != null && {
|
|
8253
8118
|
InboundPermissionAuthorizations: serializeAws_json1_1IpPermissionsList(input.InboundPermissionAuthorizations, context),
|
|
8254
|
-
})), (input.InboundPermissionRevocations
|
|
8255
|
-
input.InboundPermissionRevocations !== null && {
|
|
8119
|
+
})), (input.InboundPermissionRevocations != null && {
|
|
8256
8120
|
InboundPermissionRevocations: serializeAws_json1_1IpPermissionsList(input.InboundPermissionRevocations, context),
|
|
8257
8121
|
}));
|
|
8258
8122
|
};
|
|
8259
8123
|
var serializeAws_json1_1UpdateGameServerGroupInput = function (input, context) {
|
|
8260
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.BalancingStrategy
|
|
8261
|
-
input.BalancingStrategy !== null && { BalancingStrategy: input.BalancingStrategy })), (input.GameServerGroupName !== undefined &&
|
|
8262
|
-
input.GameServerGroupName !== null && { GameServerGroupName: input.GameServerGroupName })), (input.GameServerProtectionPolicy !== undefined &&
|
|
8263
|
-
input.GameServerProtectionPolicy !== null && { GameServerProtectionPolicy: input.GameServerProtectionPolicy })), (input.InstanceDefinitions !== undefined &&
|
|
8264
|
-
input.InstanceDefinitions !== null && {
|
|
8124
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.BalancingStrategy != null && { BalancingStrategy: input.BalancingStrategy })), (input.GameServerGroupName != null && { GameServerGroupName: input.GameServerGroupName })), (input.GameServerProtectionPolicy != null && { GameServerProtectionPolicy: input.GameServerProtectionPolicy })), (input.InstanceDefinitions != null && {
|
|
8265
8125
|
InstanceDefinitions: serializeAws_json1_1InstanceDefinitions(input.InstanceDefinitions, context),
|
|
8266
|
-
})), (input.RoleArn
|
|
8126
|
+
})), (input.RoleArn != null && { RoleArn: input.RoleArn }));
|
|
8267
8127
|
};
|
|
8268
8128
|
var serializeAws_json1_1UpdateGameServerInput = function (input, context) {
|
|
8269
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.GameServerData
|
|
8270
|
-
input.GameServerData !== null && { GameServerData: input.GameServerData })), (input.GameServerGroupName !== undefined &&
|
|
8271
|
-
input.GameServerGroupName !== null && { GameServerGroupName: input.GameServerGroupName })), (input.GameServerId !== undefined && input.GameServerId !== null && { GameServerId: input.GameServerId })), (input.HealthCheck !== undefined && input.HealthCheck !== null && { HealthCheck: input.HealthCheck })), (input.UtilizationStatus !== undefined &&
|
|
8272
|
-
input.UtilizationStatus !== null && { UtilizationStatus: input.UtilizationStatus }));
|
|
8129
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.GameServerData != null && { GameServerData: input.GameServerData })), (input.GameServerGroupName != null && { GameServerGroupName: input.GameServerGroupName })), (input.GameServerId != null && { GameServerId: input.GameServerId })), (input.HealthCheck != null && { HealthCheck: input.HealthCheck })), (input.UtilizationStatus != null && { UtilizationStatus: input.UtilizationStatus }));
|
|
8273
8130
|
};
|
|
8274
8131
|
var serializeAws_json1_1UpdateGameSessionInput = function (input, context) {
|
|
8275
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.GameSessionId
|
|
8276
|
-
|
|
8277
|
-
|
|
8278
|
-
input.ProtectionPolicy !== null && { ProtectionPolicy: input.ProtectionPolicy }));
|
|
8132
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.GameSessionId != null && { GameSessionId: input.GameSessionId })), (input.MaximumPlayerSessionCount != null && { MaximumPlayerSessionCount: input.MaximumPlayerSessionCount })), (input.Name != null && { Name: input.Name })), (input.PlayerSessionCreationPolicy != null && {
|
|
8133
|
+
PlayerSessionCreationPolicy: input.PlayerSessionCreationPolicy,
|
|
8134
|
+
})), (input.ProtectionPolicy != null && { ProtectionPolicy: input.ProtectionPolicy }));
|
|
8279
8135
|
};
|
|
8280
8136
|
var serializeAws_json1_1UpdateGameSessionQueueInput = function (input, context) {
|
|
8281
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomEventData
|
|
8282
|
-
input.CustomEventData !== null && { CustomEventData: input.CustomEventData })), (input.Destinations !== undefined &&
|
|
8283
|
-
input.Destinations !== null && {
|
|
8137
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomEventData != null && { CustomEventData: input.CustomEventData })), (input.Destinations != null && {
|
|
8284
8138
|
Destinations: serializeAws_json1_1GameSessionQueueDestinationList(input.Destinations, context),
|
|
8285
|
-
})), (input.FilterConfiguration
|
|
8286
|
-
input.FilterConfiguration !== null && {
|
|
8139
|
+
})), (input.FilterConfiguration != null && {
|
|
8287
8140
|
FilterConfiguration: serializeAws_json1_1FilterConfiguration(input.FilterConfiguration, context),
|
|
8288
|
-
})), (input.Name
|
|
8289
|
-
input.NotificationTarget !== null && { NotificationTarget: input.NotificationTarget })), (input.PlayerLatencyPolicies !== undefined &&
|
|
8290
|
-
input.PlayerLatencyPolicies !== null && {
|
|
8141
|
+
})), (input.Name != null && { Name: input.Name })), (input.NotificationTarget != null && { NotificationTarget: input.NotificationTarget })), (input.PlayerLatencyPolicies != null && {
|
|
8291
8142
|
PlayerLatencyPolicies: serializeAws_json1_1PlayerLatencyPolicyList(input.PlayerLatencyPolicies, context),
|
|
8292
|
-
})), (input.PriorityConfiguration
|
|
8293
|
-
input.PriorityConfiguration !== null && {
|
|
8143
|
+
})), (input.PriorityConfiguration != null && {
|
|
8294
8144
|
PriorityConfiguration: serializeAws_json1_1PriorityConfiguration(input.PriorityConfiguration, context),
|
|
8295
|
-
})), (input.TimeoutInSeconds
|
|
8296
|
-
input.TimeoutInSeconds !== null && { TimeoutInSeconds: input.TimeoutInSeconds }));
|
|
8145
|
+
})), (input.TimeoutInSeconds != null && { TimeoutInSeconds: input.TimeoutInSeconds }));
|
|
8297
8146
|
};
|
|
8298
8147
|
var serializeAws_json1_1UpdateMatchmakingConfigurationInput = function (input, context) {
|
|
8299
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcceptanceRequired
|
|
8300
|
-
input.AcceptanceRequired !== null && { AcceptanceRequired: input.AcceptanceRequired })), (input.AcceptanceTimeoutSeconds !== undefined &&
|
|
8301
|
-
input.AcceptanceTimeoutSeconds !== null && { AcceptanceTimeoutSeconds: input.AcceptanceTimeoutSeconds })), (input.AdditionalPlayerCount !== undefined &&
|
|
8302
|
-
input.AdditionalPlayerCount !== null && { AdditionalPlayerCount: input.AdditionalPlayerCount })), (input.BackfillMode !== undefined && input.BackfillMode !== null && { BackfillMode: input.BackfillMode })), (input.CustomEventData !== undefined &&
|
|
8303
|
-
input.CustomEventData !== null && { CustomEventData: input.CustomEventData })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.FlexMatchMode !== undefined && input.FlexMatchMode !== null && { FlexMatchMode: input.FlexMatchMode })), (input.GameProperties !== undefined &&
|
|
8304
|
-
input.GameProperties !== null && {
|
|
8148
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcceptanceRequired != null && { AcceptanceRequired: input.AcceptanceRequired })), (input.AcceptanceTimeoutSeconds != null && { AcceptanceTimeoutSeconds: input.AcceptanceTimeoutSeconds })), (input.AdditionalPlayerCount != null && { AdditionalPlayerCount: input.AdditionalPlayerCount })), (input.BackfillMode != null && { BackfillMode: input.BackfillMode })), (input.CustomEventData != null && { CustomEventData: input.CustomEventData })), (input.Description != null && { Description: input.Description })), (input.FlexMatchMode != null && { FlexMatchMode: input.FlexMatchMode })), (input.GameProperties != null && {
|
|
8305
8149
|
GameProperties: serializeAws_json1_1GamePropertyList(input.GameProperties, context),
|
|
8306
|
-
})), (input.GameSessionData
|
|
8307
|
-
input.GameSessionData !== null && { GameSessionData: input.GameSessionData })), (input.GameSessionQueueArns !== undefined &&
|
|
8308
|
-
input.GameSessionQueueArns !== null && {
|
|
8150
|
+
})), (input.GameSessionData != null && { GameSessionData: input.GameSessionData })), (input.GameSessionQueueArns != null && {
|
|
8309
8151
|
GameSessionQueueArns: serializeAws_json1_1QueueArnsList(input.GameSessionQueueArns, context),
|
|
8310
|
-
})), (input.Name
|
|
8311
|
-
input.NotificationTarget !== null && { NotificationTarget: input.NotificationTarget })), (input.RequestTimeoutSeconds !== undefined &&
|
|
8312
|
-
input.RequestTimeoutSeconds !== null && { RequestTimeoutSeconds: input.RequestTimeoutSeconds })), (input.RuleSetName !== undefined && input.RuleSetName !== null && { RuleSetName: input.RuleSetName }));
|
|
8152
|
+
})), (input.Name != null && { Name: input.Name })), (input.NotificationTarget != null && { NotificationTarget: input.NotificationTarget })), (input.RequestTimeoutSeconds != null && { RequestTimeoutSeconds: input.RequestTimeoutSeconds })), (input.RuleSetName != null && { RuleSetName: input.RuleSetName }));
|
|
8313
8153
|
};
|
|
8314
8154
|
var serializeAws_json1_1UpdateRuntimeConfigurationInput = function (input, context) {
|
|
8315
|
-
return __assign(__assign({}, (input.FleetId
|
|
8316
|
-
input.RuntimeConfiguration !== null && {
|
|
8155
|
+
return __assign(__assign({}, (input.FleetId != null && { FleetId: input.FleetId })), (input.RuntimeConfiguration != null && {
|
|
8317
8156
|
RuntimeConfiguration: serializeAws_json1_1RuntimeConfiguration(input.RuntimeConfiguration, context),
|
|
8318
8157
|
}));
|
|
8319
8158
|
};
|
|
8320
8159
|
var serializeAws_json1_1UpdateScriptInput = function (input, context) {
|
|
8321
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Name
|
|
8322
|
-
input.StorageLocation !== null && {
|
|
8160
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.ScriptId != null && { ScriptId: input.ScriptId })), (input.StorageLocation != null && {
|
|
8323
8161
|
StorageLocation: serializeAws_json1_1S3Location(input.StorageLocation, context),
|
|
8324
|
-
})), (input.Version
|
|
8162
|
+
})), (input.Version != null && { Version: input.Version })), (input.ZipFile != null && { ZipFile: context.base64Encoder(input.ZipFile) }));
|
|
8325
8163
|
};
|
|
8326
8164
|
var serializeAws_json1_1ValidateMatchmakingRuleSetInput = function (input, context) {
|
|
8327
|
-
return __assign({}, (input.RuleSetBody
|
|
8165
|
+
return __assign({}, (input.RuleSetBody != null && { RuleSetBody: input.RuleSetBody }));
|
|
8328
8166
|
};
|
|
8329
8167
|
var serializeAws_json1_1VpcSubnets = function (input, context) {
|
|
8330
8168
|
return input
|
|
@@ -8343,15 +8181,15 @@ var deserializeAws_json1_1Alias = function (output, context) {
|
|
|
8343
8181
|
return {
|
|
8344
8182
|
AliasArn: __expectString(output.AliasArn),
|
|
8345
8183
|
AliasId: __expectString(output.AliasId),
|
|
8346
|
-
CreationTime: output.CreationTime
|
|
8184
|
+
CreationTime: output.CreationTime != null
|
|
8347
8185
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
8348
8186
|
: undefined,
|
|
8349
8187
|
Description: __expectString(output.Description),
|
|
8350
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
8188
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
8351
8189
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
8352
8190
|
: undefined,
|
|
8353
8191
|
Name: __expectString(output.Name),
|
|
8354
|
-
RoutingStrategy: output.RoutingStrategy
|
|
8192
|
+
RoutingStrategy: output.RoutingStrategy != null
|
|
8355
8193
|
? deserializeAws_json1_1RoutingStrategy(output.RoutingStrategy, context)
|
|
8356
8194
|
: undefined,
|
|
8357
8195
|
};
|
|
@@ -8371,10 +8209,8 @@ var deserializeAws_json1_1AttributeValue = function (output, context) {
|
|
|
8371
8209
|
return {
|
|
8372
8210
|
N: __limitedParseDouble(output.N),
|
|
8373
8211
|
S: __expectString(output.S),
|
|
8374
|
-
SDM: output.SDM
|
|
8375
|
-
|
|
8376
|
-
: undefined,
|
|
8377
|
-
SL: output.SL !== undefined && output.SL !== null ? deserializeAws_json1_1StringList(output.SL, context) : undefined,
|
|
8212
|
+
SDM: output.SDM != null ? deserializeAws_json1_1StringDoubleMap(output.SDM, context) : undefined,
|
|
8213
|
+
SL: output.SL != null ? deserializeAws_json1_1StringList(output.SL, context) : undefined,
|
|
8378
8214
|
};
|
|
8379
8215
|
};
|
|
8380
8216
|
var deserializeAws_json1_1AwsCredentials = function (output, context) {
|
|
@@ -8388,7 +8224,7 @@ var deserializeAws_json1_1Build = function (output, context) {
|
|
|
8388
8224
|
return {
|
|
8389
8225
|
BuildArn: __expectString(output.BuildArn),
|
|
8390
8226
|
BuildId: __expectString(output.BuildId),
|
|
8391
|
-
CreationTime: output.CreationTime
|
|
8227
|
+
CreationTime: output.CreationTime != null
|
|
8392
8228
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
8393
8229
|
: undefined,
|
|
8394
8230
|
Name: __expectString(output.Name),
|
|
@@ -8416,9 +8252,7 @@ var deserializeAws_json1_1CertificateConfiguration = function (output, context)
|
|
|
8416
8252
|
};
|
|
8417
8253
|
var deserializeAws_json1_1ClaimGameServerOutput = function (output, context) {
|
|
8418
8254
|
return {
|
|
8419
|
-
GameServer: output.GameServer
|
|
8420
|
-
? deserializeAws_json1_1GameServer(output.GameServer, context)
|
|
8421
|
-
: undefined,
|
|
8255
|
+
GameServer: output.GameServer != null ? deserializeAws_json1_1GameServer(output.GameServer, context) : undefined,
|
|
8422
8256
|
};
|
|
8423
8257
|
};
|
|
8424
8258
|
var deserializeAws_json1_1ConflictException = function (output, context) {
|
|
@@ -8428,20 +8262,14 @@ var deserializeAws_json1_1ConflictException = function (output, context) {
|
|
|
8428
8262
|
};
|
|
8429
8263
|
var deserializeAws_json1_1CreateAliasOutput = function (output, context) {
|
|
8430
8264
|
return {
|
|
8431
|
-
Alias: output.Alias
|
|
8432
|
-
? deserializeAws_json1_1Alias(output.Alias, context)
|
|
8433
|
-
: undefined,
|
|
8265
|
+
Alias: output.Alias != null ? deserializeAws_json1_1Alias(output.Alias, context) : undefined,
|
|
8434
8266
|
};
|
|
8435
8267
|
};
|
|
8436
8268
|
var deserializeAws_json1_1CreateBuildOutput = function (output, context) {
|
|
8437
8269
|
return {
|
|
8438
|
-
Build: output.Build
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
StorageLocation: output.StorageLocation !== undefined && output.StorageLocation !== null
|
|
8442
|
-
? deserializeAws_json1_1S3Location(output.StorageLocation, context)
|
|
8443
|
-
: undefined,
|
|
8444
|
-
UploadCredentials: output.UploadCredentials !== undefined && output.UploadCredentials !== null
|
|
8270
|
+
Build: output.Build != null ? deserializeAws_json1_1Build(output.Build, context) : undefined,
|
|
8271
|
+
StorageLocation: output.StorageLocation != null ? deserializeAws_json1_1S3Location(output.StorageLocation, context) : undefined,
|
|
8272
|
+
UploadCredentials: output.UploadCredentials != null
|
|
8445
8273
|
? deserializeAws_json1_1AwsCredentials(output.UploadCredentials, context)
|
|
8446
8274
|
: undefined,
|
|
8447
8275
|
};
|
|
@@ -8450,80 +8278,72 @@ var deserializeAws_json1_1CreateFleetLocationsOutput = function (output, context
|
|
|
8450
8278
|
return {
|
|
8451
8279
|
FleetArn: __expectString(output.FleetArn),
|
|
8452
8280
|
FleetId: __expectString(output.FleetId),
|
|
8453
|
-
LocationStates: output.LocationStates
|
|
8281
|
+
LocationStates: output.LocationStates != null
|
|
8454
8282
|
? deserializeAws_json1_1LocationStateList(output.LocationStates, context)
|
|
8455
8283
|
: undefined,
|
|
8456
8284
|
};
|
|
8457
8285
|
};
|
|
8458
8286
|
var deserializeAws_json1_1CreateFleetOutput = function (output, context) {
|
|
8459
8287
|
return {
|
|
8460
|
-
FleetAttributes: output.FleetAttributes
|
|
8288
|
+
FleetAttributes: output.FleetAttributes != null
|
|
8461
8289
|
? deserializeAws_json1_1FleetAttributes(output.FleetAttributes, context)
|
|
8462
8290
|
: undefined,
|
|
8463
|
-
LocationStates: output.LocationStates
|
|
8291
|
+
LocationStates: output.LocationStates != null
|
|
8464
8292
|
? deserializeAws_json1_1LocationStateList(output.LocationStates, context)
|
|
8465
8293
|
: undefined,
|
|
8466
8294
|
};
|
|
8467
8295
|
};
|
|
8468
8296
|
var deserializeAws_json1_1CreateGameServerGroupOutput = function (output, context) {
|
|
8469
8297
|
return {
|
|
8470
|
-
GameServerGroup: output.GameServerGroup
|
|
8298
|
+
GameServerGroup: output.GameServerGroup != null
|
|
8471
8299
|
? deserializeAws_json1_1GameServerGroup(output.GameServerGroup, context)
|
|
8472
8300
|
: undefined,
|
|
8473
8301
|
};
|
|
8474
8302
|
};
|
|
8475
8303
|
var deserializeAws_json1_1CreateGameSessionOutput = function (output, context) {
|
|
8476
8304
|
return {
|
|
8477
|
-
GameSession: output.GameSession
|
|
8478
|
-
? deserializeAws_json1_1GameSession(output.GameSession, context)
|
|
8479
|
-
: undefined,
|
|
8305
|
+
GameSession: output.GameSession != null ? deserializeAws_json1_1GameSession(output.GameSession, context) : undefined,
|
|
8480
8306
|
};
|
|
8481
8307
|
};
|
|
8482
8308
|
var deserializeAws_json1_1CreateGameSessionQueueOutput = function (output, context) {
|
|
8483
8309
|
return {
|
|
8484
|
-
GameSessionQueue: output.GameSessionQueue
|
|
8310
|
+
GameSessionQueue: output.GameSessionQueue != null
|
|
8485
8311
|
? deserializeAws_json1_1GameSessionQueue(output.GameSessionQueue, context)
|
|
8486
8312
|
: undefined,
|
|
8487
8313
|
};
|
|
8488
8314
|
};
|
|
8489
8315
|
var deserializeAws_json1_1CreateMatchmakingConfigurationOutput = function (output, context) {
|
|
8490
8316
|
return {
|
|
8491
|
-
Configuration: output.Configuration
|
|
8317
|
+
Configuration: output.Configuration != null
|
|
8492
8318
|
? deserializeAws_json1_1MatchmakingConfiguration(output.Configuration, context)
|
|
8493
8319
|
: undefined,
|
|
8494
8320
|
};
|
|
8495
8321
|
};
|
|
8496
8322
|
var deserializeAws_json1_1CreateMatchmakingRuleSetOutput = function (output, context) {
|
|
8497
8323
|
return {
|
|
8498
|
-
RuleSet: output.RuleSet
|
|
8499
|
-
? deserializeAws_json1_1MatchmakingRuleSet(output.RuleSet, context)
|
|
8500
|
-
: undefined,
|
|
8324
|
+
RuleSet: output.RuleSet != null ? deserializeAws_json1_1MatchmakingRuleSet(output.RuleSet, context) : undefined,
|
|
8501
8325
|
};
|
|
8502
8326
|
};
|
|
8503
8327
|
var deserializeAws_json1_1CreatePlayerSessionOutput = function (output, context) {
|
|
8504
8328
|
return {
|
|
8505
|
-
PlayerSession: output.PlayerSession
|
|
8506
|
-
? deserializeAws_json1_1PlayerSession(output.PlayerSession, context)
|
|
8507
|
-
: undefined,
|
|
8329
|
+
PlayerSession: output.PlayerSession != null ? deserializeAws_json1_1PlayerSession(output.PlayerSession, context) : undefined,
|
|
8508
8330
|
};
|
|
8509
8331
|
};
|
|
8510
8332
|
var deserializeAws_json1_1CreatePlayerSessionsOutput = function (output, context) {
|
|
8511
8333
|
return {
|
|
8512
|
-
PlayerSessions: output.PlayerSessions
|
|
8334
|
+
PlayerSessions: output.PlayerSessions != null
|
|
8513
8335
|
? deserializeAws_json1_1PlayerSessionList(output.PlayerSessions, context)
|
|
8514
8336
|
: undefined,
|
|
8515
8337
|
};
|
|
8516
8338
|
};
|
|
8517
8339
|
var deserializeAws_json1_1CreateScriptOutput = function (output, context) {
|
|
8518
8340
|
return {
|
|
8519
|
-
Script: output.Script
|
|
8520
|
-
? deserializeAws_json1_1Script(output.Script, context)
|
|
8521
|
-
: undefined,
|
|
8341
|
+
Script: output.Script != null ? deserializeAws_json1_1Script(output.Script, context) : undefined,
|
|
8522
8342
|
};
|
|
8523
8343
|
};
|
|
8524
8344
|
var deserializeAws_json1_1CreateVpcPeeringAuthorizationOutput = function (output, context) {
|
|
8525
8345
|
return {
|
|
8526
|
-
VpcPeeringAuthorization: output.VpcPeeringAuthorization
|
|
8346
|
+
VpcPeeringAuthorization: output.VpcPeeringAuthorization != null
|
|
8527
8347
|
? deserializeAws_json1_1VpcPeeringAuthorization(output.VpcPeeringAuthorization, context)
|
|
8528
8348
|
: undefined,
|
|
8529
8349
|
};
|
|
@@ -8535,14 +8355,14 @@ var deserializeAws_json1_1DeleteFleetLocationsOutput = function (output, context
|
|
|
8535
8355
|
return {
|
|
8536
8356
|
FleetArn: __expectString(output.FleetArn),
|
|
8537
8357
|
FleetId: __expectString(output.FleetId),
|
|
8538
|
-
LocationStates: output.LocationStates
|
|
8358
|
+
LocationStates: output.LocationStates != null
|
|
8539
8359
|
? deserializeAws_json1_1LocationStateList(output.LocationStates, context)
|
|
8540
8360
|
: undefined,
|
|
8541
8361
|
};
|
|
8542
8362
|
};
|
|
8543
8363
|
var deserializeAws_json1_1DeleteGameServerGroupOutput = function (output, context) {
|
|
8544
8364
|
return {
|
|
8545
|
-
GameServerGroup: output.GameServerGroup
|
|
8365
|
+
GameServerGroup: output.GameServerGroup != null
|
|
8546
8366
|
? deserializeAws_json1_1GameServerGroup(output.GameServerGroup, context)
|
|
8547
8367
|
: undefined,
|
|
8548
8368
|
};
|
|
@@ -8564,28 +8384,24 @@ var deserializeAws_json1_1DeleteVpcPeeringConnectionOutput = function (output, c
|
|
|
8564
8384
|
};
|
|
8565
8385
|
var deserializeAws_json1_1DescribeAliasOutput = function (output, context) {
|
|
8566
8386
|
return {
|
|
8567
|
-
Alias: output.Alias
|
|
8568
|
-
? deserializeAws_json1_1Alias(output.Alias, context)
|
|
8569
|
-
: undefined,
|
|
8387
|
+
Alias: output.Alias != null ? deserializeAws_json1_1Alias(output.Alias, context) : undefined,
|
|
8570
8388
|
};
|
|
8571
8389
|
};
|
|
8572
8390
|
var deserializeAws_json1_1DescribeBuildOutput = function (output, context) {
|
|
8573
8391
|
return {
|
|
8574
|
-
Build: output.Build
|
|
8575
|
-
? deserializeAws_json1_1Build(output.Build, context)
|
|
8576
|
-
: undefined,
|
|
8392
|
+
Build: output.Build != null ? deserializeAws_json1_1Build(output.Build, context) : undefined,
|
|
8577
8393
|
};
|
|
8578
8394
|
};
|
|
8579
8395
|
var deserializeAws_json1_1DescribeEC2InstanceLimitsOutput = function (output, context) {
|
|
8580
8396
|
return {
|
|
8581
|
-
EC2InstanceLimits: output.EC2InstanceLimits
|
|
8397
|
+
EC2InstanceLimits: output.EC2InstanceLimits != null
|
|
8582
8398
|
? deserializeAws_json1_1EC2InstanceLimitList(output.EC2InstanceLimits, context)
|
|
8583
8399
|
: undefined,
|
|
8584
8400
|
};
|
|
8585
8401
|
};
|
|
8586
8402
|
var deserializeAws_json1_1DescribeFleetAttributesOutput = function (output, context) {
|
|
8587
8403
|
return {
|
|
8588
|
-
FleetAttributes: output.FleetAttributes
|
|
8404
|
+
FleetAttributes: output.FleetAttributes != null
|
|
8589
8405
|
? deserializeAws_json1_1FleetAttributesList(output.FleetAttributes, context)
|
|
8590
8406
|
: undefined,
|
|
8591
8407
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8593,17 +8409,13 @@ var deserializeAws_json1_1DescribeFleetAttributesOutput = function (output, cont
|
|
|
8593
8409
|
};
|
|
8594
8410
|
var deserializeAws_json1_1DescribeFleetCapacityOutput = function (output, context) {
|
|
8595
8411
|
return {
|
|
8596
|
-
FleetCapacity: output.FleetCapacity
|
|
8597
|
-
? deserializeAws_json1_1FleetCapacityList(output.FleetCapacity, context)
|
|
8598
|
-
: undefined,
|
|
8412
|
+
FleetCapacity: output.FleetCapacity != null ? deserializeAws_json1_1FleetCapacityList(output.FleetCapacity, context) : undefined,
|
|
8599
8413
|
NextToken: __expectString(output.NextToken),
|
|
8600
8414
|
};
|
|
8601
8415
|
};
|
|
8602
8416
|
var deserializeAws_json1_1DescribeFleetEventsOutput = function (output, context) {
|
|
8603
8417
|
return {
|
|
8604
|
-
Events: output.Events
|
|
8605
|
-
? deserializeAws_json1_1EventList(output.Events, context)
|
|
8606
|
-
: undefined,
|
|
8418
|
+
Events: output.Events != null ? deserializeAws_json1_1EventList(output.Events, context) : undefined,
|
|
8607
8419
|
NextToken: __expectString(output.NextToken),
|
|
8608
8420
|
};
|
|
8609
8421
|
};
|
|
@@ -8611,7 +8423,7 @@ var deserializeAws_json1_1DescribeFleetLocationAttributesOutput = function (outp
|
|
|
8611
8423
|
return {
|
|
8612
8424
|
FleetArn: __expectString(output.FleetArn),
|
|
8613
8425
|
FleetId: __expectString(output.FleetId),
|
|
8614
|
-
LocationAttributes: output.LocationAttributes
|
|
8426
|
+
LocationAttributes: output.LocationAttributes != null
|
|
8615
8427
|
? deserializeAws_json1_1LocationAttributesList(output.LocationAttributes, context)
|
|
8616
8428
|
: undefined,
|
|
8617
8429
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8619,14 +8431,12 @@ var deserializeAws_json1_1DescribeFleetLocationAttributesOutput = function (outp
|
|
|
8619
8431
|
};
|
|
8620
8432
|
var deserializeAws_json1_1DescribeFleetLocationCapacityOutput = function (output, context) {
|
|
8621
8433
|
return {
|
|
8622
|
-
FleetCapacity: output.FleetCapacity
|
|
8623
|
-
? deserializeAws_json1_1FleetCapacity(output.FleetCapacity, context)
|
|
8624
|
-
: undefined,
|
|
8434
|
+
FleetCapacity: output.FleetCapacity != null ? deserializeAws_json1_1FleetCapacity(output.FleetCapacity, context) : undefined,
|
|
8625
8435
|
};
|
|
8626
8436
|
};
|
|
8627
8437
|
var deserializeAws_json1_1DescribeFleetLocationUtilizationOutput = function (output, context) {
|
|
8628
8438
|
return {
|
|
8629
|
-
FleetUtilization: output.FleetUtilization
|
|
8439
|
+
FleetUtilization: output.FleetUtilization != null
|
|
8630
8440
|
? deserializeAws_json1_1FleetUtilization(output.FleetUtilization, context)
|
|
8631
8441
|
: undefined,
|
|
8632
8442
|
};
|
|
@@ -8635,7 +8445,7 @@ var deserializeAws_json1_1DescribeFleetPortSettingsOutput = function (output, co
|
|
|
8635
8445
|
return {
|
|
8636
8446
|
FleetArn: __expectString(output.FleetArn),
|
|
8637
8447
|
FleetId: __expectString(output.FleetId),
|
|
8638
|
-
InboundPermissions: output.InboundPermissions
|
|
8448
|
+
InboundPermissions: output.InboundPermissions != null
|
|
8639
8449
|
? deserializeAws_json1_1IpPermissionsList(output.InboundPermissions, context)
|
|
8640
8450
|
: undefined,
|
|
8641
8451
|
Location: __expectString(output.Location),
|
|
@@ -8644,7 +8454,7 @@ var deserializeAws_json1_1DescribeFleetPortSettingsOutput = function (output, co
|
|
|
8644
8454
|
};
|
|
8645
8455
|
var deserializeAws_json1_1DescribeFleetUtilizationOutput = function (output, context) {
|
|
8646
8456
|
return {
|
|
8647
|
-
FleetUtilization: output.FleetUtilization
|
|
8457
|
+
FleetUtilization: output.FleetUtilization != null
|
|
8648
8458
|
? deserializeAws_json1_1FleetUtilizationList(output.FleetUtilization, context)
|
|
8649
8459
|
: undefined,
|
|
8650
8460
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8652,14 +8462,14 @@ var deserializeAws_json1_1DescribeFleetUtilizationOutput = function (output, con
|
|
|
8652
8462
|
};
|
|
8653
8463
|
var deserializeAws_json1_1DescribeGameServerGroupOutput = function (output, context) {
|
|
8654
8464
|
return {
|
|
8655
|
-
GameServerGroup: output.GameServerGroup
|
|
8465
|
+
GameServerGroup: output.GameServerGroup != null
|
|
8656
8466
|
? deserializeAws_json1_1GameServerGroup(output.GameServerGroup, context)
|
|
8657
8467
|
: undefined,
|
|
8658
8468
|
};
|
|
8659
8469
|
};
|
|
8660
8470
|
var deserializeAws_json1_1DescribeGameServerInstancesOutput = function (output, context) {
|
|
8661
8471
|
return {
|
|
8662
|
-
GameServerInstances: output.GameServerInstances
|
|
8472
|
+
GameServerInstances: output.GameServerInstances != null
|
|
8663
8473
|
? deserializeAws_json1_1GameServerInstances(output.GameServerInstances, context)
|
|
8664
8474
|
: undefined,
|
|
8665
8475
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8667,14 +8477,12 @@ var deserializeAws_json1_1DescribeGameServerInstancesOutput = function (output,
|
|
|
8667
8477
|
};
|
|
8668
8478
|
var deserializeAws_json1_1DescribeGameServerOutput = function (output, context) {
|
|
8669
8479
|
return {
|
|
8670
|
-
GameServer: output.GameServer
|
|
8671
|
-
? deserializeAws_json1_1GameServer(output.GameServer, context)
|
|
8672
|
-
: undefined,
|
|
8480
|
+
GameServer: output.GameServer != null ? deserializeAws_json1_1GameServer(output.GameServer, context) : undefined,
|
|
8673
8481
|
};
|
|
8674
8482
|
};
|
|
8675
8483
|
var deserializeAws_json1_1DescribeGameSessionDetailsOutput = function (output, context) {
|
|
8676
8484
|
return {
|
|
8677
|
-
GameSessionDetails: output.GameSessionDetails
|
|
8485
|
+
GameSessionDetails: output.GameSessionDetails != null
|
|
8678
8486
|
? deserializeAws_json1_1GameSessionDetailList(output.GameSessionDetails, context)
|
|
8679
8487
|
: undefined,
|
|
8680
8488
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8682,14 +8490,14 @@ var deserializeAws_json1_1DescribeGameSessionDetailsOutput = function (output, c
|
|
|
8682
8490
|
};
|
|
8683
8491
|
var deserializeAws_json1_1DescribeGameSessionPlacementOutput = function (output, context) {
|
|
8684
8492
|
return {
|
|
8685
|
-
GameSessionPlacement: output.GameSessionPlacement
|
|
8493
|
+
GameSessionPlacement: output.GameSessionPlacement != null
|
|
8686
8494
|
? deserializeAws_json1_1GameSessionPlacement(output.GameSessionPlacement, context)
|
|
8687
8495
|
: undefined,
|
|
8688
8496
|
};
|
|
8689
8497
|
};
|
|
8690
8498
|
var deserializeAws_json1_1DescribeGameSessionQueuesOutput = function (output, context) {
|
|
8691
8499
|
return {
|
|
8692
|
-
GameSessionQueues: output.GameSessionQueues
|
|
8500
|
+
GameSessionQueues: output.GameSessionQueues != null
|
|
8693
8501
|
? deserializeAws_json1_1GameSessionQueueList(output.GameSessionQueues, context)
|
|
8694
8502
|
: undefined,
|
|
8695
8503
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8697,23 +8505,19 @@ var deserializeAws_json1_1DescribeGameSessionQueuesOutput = function (output, co
|
|
|
8697
8505
|
};
|
|
8698
8506
|
var deserializeAws_json1_1DescribeGameSessionsOutput = function (output, context) {
|
|
8699
8507
|
return {
|
|
8700
|
-
GameSessions: output.GameSessions
|
|
8701
|
-
? deserializeAws_json1_1GameSessionList(output.GameSessions, context)
|
|
8702
|
-
: undefined,
|
|
8508
|
+
GameSessions: output.GameSessions != null ? deserializeAws_json1_1GameSessionList(output.GameSessions, context) : undefined,
|
|
8703
8509
|
NextToken: __expectString(output.NextToken),
|
|
8704
8510
|
};
|
|
8705
8511
|
};
|
|
8706
8512
|
var deserializeAws_json1_1DescribeInstancesOutput = function (output, context) {
|
|
8707
8513
|
return {
|
|
8708
|
-
Instances: output.Instances
|
|
8709
|
-
? deserializeAws_json1_1InstanceList(output.Instances, context)
|
|
8710
|
-
: undefined,
|
|
8514
|
+
Instances: output.Instances != null ? deserializeAws_json1_1InstanceList(output.Instances, context) : undefined,
|
|
8711
8515
|
NextToken: __expectString(output.NextToken),
|
|
8712
8516
|
};
|
|
8713
8517
|
};
|
|
8714
8518
|
var deserializeAws_json1_1DescribeMatchmakingConfigurationsOutput = function (output, context) {
|
|
8715
8519
|
return {
|
|
8716
|
-
Configurations: output.Configurations
|
|
8520
|
+
Configurations: output.Configurations != null
|
|
8717
8521
|
? deserializeAws_json1_1MatchmakingConfigurationList(output.Configurations, context)
|
|
8718
8522
|
: undefined,
|
|
8719
8523
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8721,30 +8525,26 @@ var deserializeAws_json1_1DescribeMatchmakingConfigurationsOutput = function (ou
|
|
|
8721
8525
|
};
|
|
8722
8526
|
var deserializeAws_json1_1DescribeMatchmakingOutput = function (output, context) {
|
|
8723
8527
|
return {
|
|
8724
|
-
TicketList: output.TicketList
|
|
8725
|
-
? deserializeAws_json1_1MatchmakingTicketList(output.TicketList, context)
|
|
8726
|
-
: undefined,
|
|
8528
|
+
TicketList: output.TicketList != null ? deserializeAws_json1_1MatchmakingTicketList(output.TicketList, context) : undefined,
|
|
8727
8529
|
};
|
|
8728
8530
|
};
|
|
8729
8531
|
var deserializeAws_json1_1DescribeMatchmakingRuleSetsOutput = function (output, context) {
|
|
8730
8532
|
return {
|
|
8731
8533
|
NextToken: __expectString(output.NextToken),
|
|
8732
|
-
RuleSets: output.RuleSets
|
|
8733
|
-
? deserializeAws_json1_1MatchmakingRuleSetList(output.RuleSets, context)
|
|
8734
|
-
: undefined,
|
|
8534
|
+
RuleSets: output.RuleSets != null ? deserializeAws_json1_1MatchmakingRuleSetList(output.RuleSets, context) : undefined,
|
|
8735
8535
|
};
|
|
8736
8536
|
};
|
|
8737
8537
|
var deserializeAws_json1_1DescribePlayerSessionsOutput = function (output, context) {
|
|
8738
8538
|
return {
|
|
8739
8539
|
NextToken: __expectString(output.NextToken),
|
|
8740
|
-
PlayerSessions: output.PlayerSessions
|
|
8540
|
+
PlayerSessions: output.PlayerSessions != null
|
|
8741
8541
|
? deserializeAws_json1_1PlayerSessionList(output.PlayerSessions, context)
|
|
8742
8542
|
: undefined,
|
|
8743
8543
|
};
|
|
8744
8544
|
};
|
|
8745
8545
|
var deserializeAws_json1_1DescribeRuntimeConfigurationOutput = function (output, context) {
|
|
8746
8546
|
return {
|
|
8747
|
-
RuntimeConfiguration: output.RuntimeConfiguration
|
|
8547
|
+
RuntimeConfiguration: output.RuntimeConfiguration != null
|
|
8748
8548
|
? deserializeAws_json1_1RuntimeConfiguration(output.RuntimeConfiguration, context)
|
|
8749
8549
|
: undefined,
|
|
8750
8550
|
};
|
|
@@ -8752,28 +8552,26 @@ var deserializeAws_json1_1DescribeRuntimeConfigurationOutput = function (output,
|
|
|
8752
8552
|
var deserializeAws_json1_1DescribeScalingPoliciesOutput = function (output, context) {
|
|
8753
8553
|
return {
|
|
8754
8554
|
NextToken: __expectString(output.NextToken),
|
|
8755
|
-
ScalingPolicies: output.ScalingPolicies
|
|
8555
|
+
ScalingPolicies: output.ScalingPolicies != null
|
|
8756
8556
|
? deserializeAws_json1_1ScalingPolicyList(output.ScalingPolicies, context)
|
|
8757
8557
|
: undefined,
|
|
8758
8558
|
};
|
|
8759
8559
|
};
|
|
8760
8560
|
var deserializeAws_json1_1DescribeScriptOutput = function (output, context) {
|
|
8761
8561
|
return {
|
|
8762
|
-
Script: output.Script
|
|
8763
|
-
? deserializeAws_json1_1Script(output.Script, context)
|
|
8764
|
-
: undefined,
|
|
8562
|
+
Script: output.Script != null ? deserializeAws_json1_1Script(output.Script, context) : undefined,
|
|
8765
8563
|
};
|
|
8766
8564
|
};
|
|
8767
8565
|
var deserializeAws_json1_1DescribeVpcPeeringAuthorizationsOutput = function (output, context) {
|
|
8768
8566
|
return {
|
|
8769
|
-
VpcPeeringAuthorizations: output.VpcPeeringAuthorizations
|
|
8567
|
+
VpcPeeringAuthorizations: output.VpcPeeringAuthorizations != null
|
|
8770
8568
|
? deserializeAws_json1_1VpcPeeringAuthorizationList(output.VpcPeeringAuthorizations, context)
|
|
8771
8569
|
: undefined,
|
|
8772
8570
|
};
|
|
8773
8571
|
};
|
|
8774
8572
|
var deserializeAws_json1_1DescribeVpcPeeringConnectionsOutput = function (output, context) {
|
|
8775
8573
|
return {
|
|
8776
|
-
VpcPeeringConnections: output.VpcPeeringConnections
|
|
8574
|
+
VpcPeeringConnections: output.VpcPeeringConnections != null
|
|
8777
8575
|
? deserializeAws_json1_1VpcPeeringConnectionList(output.VpcPeeringConnections, context)
|
|
8778
8576
|
: undefined,
|
|
8779
8577
|
};
|
|
@@ -8812,9 +8610,7 @@ var deserializeAws_json1_1Event = function (output, context) {
|
|
|
8812
8610
|
return {
|
|
8813
8611
|
EventCode: __expectString(output.EventCode),
|
|
8814
8612
|
EventId: __expectString(output.EventId),
|
|
8815
|
-
EventTime: output.EventTime
|
|
8816
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventTime)))
|
|
8817
|
-
: undefined,
|
|
8613
|
+
EventTime: output.EventTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventTime))) : undefined,
|
|
8818
8614
|
Message: __expectString(output.Message),
|
|
8819
8615
|
PreSignedLogUrl: __expectString(output.PreSignedLogUrl),
|
|
8820
8616
|
ResourceId: __expectString(output.ResourceId),
|
|
@@ -8833,7 +8629,7 @@ var deserializeAws_json1_1EventList = function (output, context) {
|
|
|
8833
8629
|
};
|
|
8834
8630
|
var deserializeAws_json1_1FilterConfiguration = function (output, context) {
|
|
8835
8631
|
return {
|
|
8836
|
-
AllowedLocations: output.AllowedLocations
|
|
8632
|
+
AllowedLocations: output.AllowedLocations != null
|
|
8837
8633
|
? deserializeAws_json1_1LocationList(output.AllowedLocations, context)
|
|
8838
8634
|
: undefined,
|
|
8839
8635
|
};
|
|
@@ -8853,10 +8649,10 @@ var deserializeAws_json1_1FleetAttributes = function (output, context) {
|
|
|
8853
8649
|
return {
|
|
8854
8650
|
BuildArn: __expectString(output.BuildArn),
|
|
8855
8651
|
BuildId: __expectString(output.BuildId),
|
|
8856
|
-
CertificateConfiguration: output.CertificateConfiguration
|
|
8652
|
+
CertificateConfiguration: output.CertificateConfiguration != null
|
|
8857
8653
|
? deserializeAws_json1_1CertificateConfiguration(output.CertificateConfiguration, context)
|
|
8858
8654
|
: undefined,
|
|
8859
|
-
CreationTime: output.CreationTime
|
|
8655
|
+
CreationTime: output.CreationTime != null
|
|
8860
8656
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
8861
8657
|
: undefined,
|
|
8862
8658
|
Description: __expectString(output.Description),
|
|
@@ -8865,16 +8661,12 @@ var deserializeAws_json1_1FleetAttributes = function (output, context) {
|
|
|
8865
8661
|
FleetType: __expectString(output.FleetType),
|
|
8866
8662
|
InstanceRoleArn: __expectString(output.InstanceRoleArn),
|
|
8867
8663
|
InstanceType: __expectString(output.InstanceType),
|
|
8868
|
-
LogPaths: output.LogPaths
|
|
8869
|
-
|
|
8870
|
-
: undefined,
|
|
8871
|
-
MetricGroups: output.MetricGroups !== undefined && output.MetricGroups !== null
|
|
8872
|
-
? deserializeAws_json1_1MetricGroupList(output.MetricGroups, context)
|
|
8873
|
-
: undefined,
|
|
8664
|
+
LogPaths: output.LogPaths != null ? deserializeAws_json1_1StringList(output.LogPaths, context) : undefined,
|
|
8665
|
+
MetricGroups: output.MetricGroups != null ? deserializeAws_json1_1MetricGroupList(output.MetricGroups, context) : undefined,
|
|
8874
8666
|
Name: __expectString(output.Name),
|
|
8875
8667
|
NewGameSessionProtectionPolicy: __expectString(output.NewGameSessionProtectionPolicy),
|
|
8876
8668
|
OperatingSystem: __expectString(output.OperatingSystem),
|
|
8877
|
-
ResourceCreationLimitPolicy: output.ResourceCreationLimitPolicy
|
|
8669
|
+
ResourceCreationLimitPolicy: output.ResourceCreationLimitPolicy != null
|
|
8878
8670
|
? deserializeAws_json1_1ResourceCreationLimitPolicy(output.ResourceCreationLimitPolicy, context)
|
|
8879
8671
|
: undefined,
|
|
8880
8672
|
ScriptArn: __expectString(output.ScriptArn),
|
|
@@ -8882,10 +8674,8 @@ var deserializeAws_json1_1FleetAttributes = function (output, context) {
|
|
|
8882
8674
|
ServerLaunchParameters: __expectString(output.ServerLaunchParameters),
|
|
8883
8675
|
ServerLaunchPath: __expectString(output.ServerLaunchPath),
|
|
8884
8676
|
Status: __expectString(output.Status),
|
|
8885
|
-
StoppedActions: output.StoppedActions
|
|
8886
|
-
|
|
8887
|
-
: undefined,
|
|
8888
|
-
TerminationTime: output.TerminationTime !== undefined && output.TerminationTime !== null
|
|
8677
|
+
StoppedActions: output.StoppedActions != null ? deserializeAws_json1_1FleetActionList(output.StoppedActions, context) : undefined,
|
|
8678
|
+
TerminationTime: output.TerminationTime != null
|
|
8889
8679
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TerminationTime)))
|
|
8890
8680
|
: undefined,
|
|
8891
8681
|
};
|
|
@@ -8905,7 +8695,7 @@ var deserializeAws_json1_1FleetCapacity = function (output, context) {
|
|
|
8905
8695
|
return {
|
|
8906
8696
|
FleetArn: __expectString(output.FleetArn),
|
|
8907
8697
|
FleetId: __expectString(output.FleetId),
|
|
8908
|
-
InstanceCounts: output.InstanceCounts
|
|
8698
|
+
InstanceCounts: output.InstanceCounts != null
|
|
8909
8699
|
? deserializeAws_json1_1EC2InstanceCounts(output.InstanceCounts, context)
|
|
8910
8700
|
: undefined,
|
|
8911
8701
|
InstanceType: __expectString(output.InstanceType),
|
|
@@ -8987,13 +8777,13 @@ var deserializeAws_json1_1GameServer = function (output, context) {
|
|
|
8987
8777
|
GameServerGroupName: __expectString(output.GameServerGroupName),
|
|
8988
8778
|
GameServerId: __expectString(output.GameServerId),
|
|
8989
8779
|
InstanceId: __expectString(output.InstanceId),
|
|
8990
|
-
LastClaimTime: output.LastClaimTime
|
|
8780
|
+
LastClaimTime: output.LastClaimTime != null
|
|
8991
8781
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastClaimTime)))
|
|
8992
8782
|
: undefined,
|
|
8993
|
-
LastHealthCheckTime: output.LastHealthCheckTime
|
|
8783
|
+
LastHealthCheckTime: output.LastHealthCheckTime != null
|
|
8994
8784
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastHealthCheckTime)))
|
|
8995
8785
|
: undefined,
|
|
8996
|
-
RegistrationTime: output.RegistrationTime
|
|
8786
|
+
RegistrationTime: output.RegistrationTime != null
|
|
8997
8787
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RegistrationTime)))
|
|
8998
8788
|
: undefined,
|
|
8999
8789
|
UtilizationStatus: __expectString(output.UtilizationStatus),
|
|
@@ -9003,22 +8793,22 @@ var deserializeAws_json1_1GameServerGroup = function (output, context) {
|
|
|
9003
8793
|
return {
|
|
9004
8794
|
AutoScalingGroupArn: __expectString(output.AutoScalingGroupArn),
|
|
9005
8795
|
BalancingStrategy: __expectString(output.BalancingStrategy),
|
|
9006
|
-
CreationTime: output.CreationTime
|
|
8796
|
+
CreationTime: output.CreationTime != null
|
|
9007
8797
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
9008
8798
|
: undefined,
|
|
9009
8799
|
GameServerGroupArn: __expectString(output.GameServerGroupArn),
|
|
9010
8800
|
GameServerGroupName: __expectString(output.GameServerGroupName),
|
|
9011
8801
|
GameServerProtectionPolicy: __expectString(output.GameServerProtectionPolicy),
|
|
9012
|
-
InstanceDefinitions: output.InstanceDefinitions
|
|
8802
|
+
InstanceDefinitions: output.InstanceDefinitions != null
|
|
9013
8803
|
? deserializeAws_json1_1InstanceDefinitions(output.InstanceDefinitions, context)
|
|
9014
8804
|
: undefined,
|
|
9015
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
8805
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
9016
8806
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
9017
8807
|
: undefined,
|
|
9018
8808
|
RoleArn: __expectString(output.RoleArn),
|
|
9019
8809
|
Status: __expectString(output.Status),
|
|
9020
8810
|
StatusReason: __expectString(output.StatusReason),
|
|
9021
|
-
SuspendedActions: output.SuspendedActions
|
|
8811
|
+
SuspendedActions: output.SuspendedActions != null
|
|
9022
8812
|
? deserializeAws_json1_1GameServerGroupActions(output.SuspendedActions, context)
|
|
9023
8813
|
: undefined,
|
|
9024
8814
|
};
|
|
@@ -9077,7 +8867,7 @@ var deserializeAws_json1_1GameServers = function (output, context) {
|
|
|
9077
8867
|
};
|
|
9078
8868
|
var deserializeAws_json1_1GameSession = function (output, context) {
|
|
9079
8869
|
return {
|
|
9080
|
-
CreationTime: output.CreationTime
|
|
8870
|
+
CreationTime: output.CreationTime != null
|
|
9081
8871
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
9082
8872
|
: undefined,
|
|
9083
8873
|
CreatorId: __expectString(output.CreatorId),
|
|
@@ -9085,7 +8875,7 @@ var deserializeAws_json1_1GameSession = function (output, context) {
|
|
|
9085
8875
|
DnsName: __expectString(output.DnsName),
|
|
9086
8876
|
FleetArn: __expectString(output.FleetArn),
|
|
9087
8877
|
FleetId: __expectString(output.FleetId),
|
|
9088
|
-
GameProperties: output.GameProperties
|
|
8878
|
+
GameProperties: output.GameProperties != null
|
|
9089
8879
|
? deserializeAws_json1_1GamePropertyList(output.GameProperties, context)
|
|
9090
8880
|
: undefined,
|
|
9091
8881
|
GameSessionData: __expectString(output.GameSessionData),
|
|
@@ -9099,7 +8889,7 @@ var deserializeAws_json1_1GameSession = function (output, context) {
|
|
|
9099
8889
|
Port: __expectInt32(output.Port),
|
|
9100
8890
|
Status: __expectString(output.Status),
|
|
9101
8891
|
StatusReason: __expectString(output.StatusReason),
|
|
9102
|
-
TerminationTime: output.TerminationTime
|
|
8892
|
+
TerminationTime: output.TerminationTime != null
|
|
9103
8893
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TerminationTime)))
|
|
9104
8894
|
: undefined,
|
|
9105
8895
|
};
|
|
@@ -9109,7 +8899,7 @@ var deserializeAws_json1_1GameSessionConnectionInfo = function (output, context)
|
|
|
9109
8899
|
DnsName: __expectString(output.DnsName),
|
|
9110
8900
|
GameSessionArn: __expectString(output.GameSessionArn),
|
|
9111
8901
|
IpAddress: __expectString(output.IpAddress),
|
|
9112
|
-
MatchedPlayerSessions: output.MatchedPlayerSessions
|
|
8902
|
+
MatchedPlayerSessions: output.MatchedPlayerSessions != null
|
|
9113
8903
|
? deserializeAws_json1_1MatchedPlayerSessionList(output.MatchedPlayerSessions, context)
|
|
9114
8904
|
: undefined,
|
|
9115
8905
|
Port: __expectInt32(output.Port),
|
|
@@ -9117,9 +8907,7 @@ var deserializeAws_json1_1GameSessionConnectionInfo = function (output, context)
|
|
|
9117
8907
|
};
|
|
9118
8908
|
var deserializeAws_json1_1GameSessionDetail = function (output, context) {
|
|
9119
8909
|
return {
|
|
9120
|
-
GameSession: output.GameSession
|
|
9121
|
-
? deserializeAws_json1_1GameSession(output.GameSession, context)
|
|
9122
|
-
: undefined,
|
|
8910
|
+
GameSession: output.GameSession != null ? deserializeAws_json1_1GameSession(output.GameSession, context) : undefined,
|
|
9123
8911
|
ProtectionPolicy: __expectString(output.ProtectionPolicy),
|
|
9124
8912
|
};
|
|
9125
8913
|
};
|
|
@@ -9153,10 +8941,8 @@ var deserializeAws_json1_1GameSessionList = function (output, context) {
|
|
|
9153
8941
|
var deserializeAws_json1_1GameSessionPlacement = function (output, context) {
|
|
9154
8942
|
return {
|
|
9155
8943
|
DnsName: __expectString(output.DnsName),
|
|
9156
|
-
EndTime: output.EndTime
|
|
9157
|
-
|
|
9158
|
-
: undefined,
|
|
9159
|
-
GameProperties: output.GameProperties !== undefined && output.GameProperties !== null
|
|
8944
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
8945
|
+
GameProperties: output.GameProperties != null
|
|
9160
8946
|
? deserializeAws_json1_1GamePropertyList(output.GameProperties, context)
|
|
9161
8947
|
: undefined,
|
|
9162
8948
|
GameSessionArn: __expectString(output.GameSessionArn),
|
|
@@ -9168,36 +8954,34 @@ var deserializeAws_json1_1GameSessionPlacement = function (output, context) {
|
|
|
9168
8954
|
IpAddress: __expectString(output.IpAddress),
|
|
9169
8955
|
MatchmakerData: __expectString(output.MatchmakerData),
|
|
9170
8956
|
MaximumPlayerSessionCount: __expectInt32(output.MaximumPlayerSessionCount),
|
|
9171
|
-
PlacedPlayerSessions: output.PlacedPlayerSessions
|
|
8957
|
+
PlacedPlayerSessions: output.PlacedPlayerSessions != null
|
|
9172
8958
|
? deserializeAws_json1_1PlacedPlayerSessionList(output.PlacedPlayerSessions, context)
|
|
9173
8959
|
: undefined,
|
|
9174
8960
|
PlacementId: __expectString(output.PlacementId),
|
|
9175
|
-
PlayerLatencies: output.PlayerLatencies
|
|
8961
|
+
PlayerLatencies: output.PlayerLatencies != null
|
|
9176
8962
|
? deserializeAws_json1_1PlayerLatencyList(output.PlayerLatencies, context)
|
|
9177
8963
|
: undefined,
|
|
9178
8964
|
Port: __expectInt32(output.Port),
|
|
9179
|
-
StartTime: output.StartTime
|
|
9180
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
9181
|
-
: undefined,
|
|
8965
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
9182
8966
|
Status: __expectString(output.Status),
|
|
9183
8967
|
};
|
|
9184
8968
|
};
|
|
9185
8969
|
var deserializeAws_json1_1GameSessionQueue = function (output, context) {
|
|
9186
8970
|
return {
|
|
9187
8971
|
CustomEventData: __expectString(output.CustomEventData),
|
|
9188
|
-
Destinations: output.Destinations
|
|
8972
|
+
Destinations: output.Destinations != null
|
|
9189
8973
|
? deserializeAws_json1_1GameSessionQueueDestinationList(output.Destinations, context)
|
|
9190
8974
|
: undefined,
|
|
9191
|
-
FilterConfiguration: output.FilterConfiguration
|
|
8975
|
+
FilterConfiguration: output.FilterConfiguration != null
|
|
9192
8976
|
? deserializeAws_json1_1FilterConfiguration(output.FilterConfiguration, context)
|
|
9193
8977
|
: undefined,
|
|
9194
8978
|
GameSessionQueueArn: __expectString(output.GameSessionQueueArn),
|
|
9195
8979
|
Name: __expectString(output.Name),
|
|
9196
8980
|
NotificationTarget: __expectString(output.NotificationTarget),
|
|
9197
|
-
PlayerLatencyPolicies: output.PlayerLatencyPolicies
|
|
8981
|
+
PlayerLatencyPolicies: output.PlayerLatencyPolicies != null
|
|
9198
8982
|
? deserializeAws_json1_1PlayerLatencyPolicyList(output.PlayerLatencyPolicies, context)
|
|
9199
8983
|
: undefined,
|
|
9200
|
-
PriorityConfiguration: output.PriorityConfiguration
|
|
8984
|
+
PriorityConfiguration: output.PriorityConfiguration != null
|
|
9201
8985
|
? deserializeAws_json1_1PriorityConfiguration(output.PriorityConfiguration, context)
|
|
9202
8986
|
: undefined,
|
|
9203
8987
|
TimeoutInSeconds: __expectInt32(output.TimeoutInSeconds),
|
|
@@ -9237,9 +9021,7 @@ var deserializeAws_json1_1GetGameSessionLogUrlOutput = function (output, context
|
|
|
9237
9021
|
};
|
|
9238
9022
|
var deserializeAws_json1_1GetInstanceAccessOutput = function (output, context) {
|
|
9239
9023
|
return {
|
|
9240
|
-
InstanceAccess: output.InstanceAccess
|
|
9241
|
-
? deserializeAws_json1_1InstanceAccess(output.InstanceAccess, context)
|
|
9242
|
-
: undefined,
|
|
9024
|
+
InstanceAccess: output.InstanceAccess != null ? deserializeAws_json1_1InstanceAccess(output.InstanceAccess, context) : undefined,
|
|
9243
9025
|
};
|
|
9244
9026
|
};
|
|
9245
9027
|
var deserializeAws_json1_1IdempotentParameterMismatchException = function (output, context) {
|
|
@@ -9249,7 +9031,7 @@ var deserializeAws_json1_1IdempotentParameterMismatchException = function (outpu
|
|
|
9249
9031
|
};
|
|
9250
9032
|
var deserializeAws_json1_1Instance = function (output, context) {
|
|
9251
9033
|
return {
|
|
9252
|
-
CreationTime: output.CreationTime
|
|
9034
|
+
CreationTime: output.CreationTime != null
|
|
9253
9035
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
9254
9036
|
: undefined,
|
|
9255
9037
|
DnsName: __expectString(output.DnsName),
|
|
@@ -9265,9 +9047,7 @@ var deserializeAws_json1_1Instance = function (output, context) {
|
|
|
9265
9047
|
};
|
|
9266
9048
|
var deserializeAws_json1_1InstanceAccess = function (output, context) {
|
|
9267
9049
|
return {
|
|
9268
|
-
Credentials: output.Credentials
|
|
9269
|
-
? deserializeAws_json1_1InstanceCredentials(output.Credentials, context)
|
|
9270
|
-
: undefined,
|
|
9050
|
+
Credentials: output.Credentials != null ? deserializeAws_json1_1InstanceCredentials(output.Credentials, context) : undefined,
|
|
9271
9051
|
FleetId: __expectString(output.FleetId),
|
|
9272
9052
|
InstanceId: __expectString(output.InstanceId),
|
|
9273
9053
|
IpAddress: __expectString(output.IpAddress),
|
|
@@ -9364,31 +9144,25 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
9364
9144
|
};
|
|
9365
9145
|
var deserializeAws_json1_1ListAliasesOutput = function (output, context) {
|
|
9366
9146
|
return {
|
|
9367
|
-
Aliases: output.Aliases
|
|
9368
|
-
? deserializeAws_json1_1AliasList(output.Aliases, context)
|
|
9369
|
-
: undefined,
|
|
9147
|
+
Aliases: output.Aliases != null ? deserializeAws_json1_1AliasList(output.Aliases, context) : undefined,
|
|
9370
9148
|
NextToken: __expectString(output.NextToken),
|
|
9371
9149
|
};
|
|
9372
9150
|
};
|
|
9373
9151
|
var deserializeAws_json1_1ListBuildsOutput = function (output, context) {
|
|
9374
9152
|
return {
|
|
9375
|
-
Builds: output.Builds
|
|
9376
|
-
? deserializeAws_json1_1BuildList(output.Builds, context)
|
|
9377
|
-
: undefined,
|
|
9153
|
+
Builds: output.Builds != null ? deserializeAws_json1_1BuildList(output.Builds, context) : undefined,
|
|
9378
9154
|
NextToken: __expectString(output.NextToken),
|
|
9379
9155
|
};
|
|
9380
9156
|
};
|
|
9381
9157
|
var deserializeAws_json1_1ListFleetsOutput = function (output, context) {
|
|
9382
9158
|
return {
|
|
9383
|
-
FleetIds: output.FleetIds
|
|
9384
|
-
? deserializeAws_json1_1FleetIdList(output.FleetIds, context)
|
|
9385
|
-
: undefined,
|
|
9159
|
+
FleetIds: output.FleetIds != null ? deserializeAws_json1_1FleetIdList(output.FleetIds, context) : undefined,
|
|
9386
9160
|
NextToken: __expectString(output.NextToken),
|
|
9387
9161
|
};
|
|
9388
9162
|
};
|
|
9389
9163
|
var deserializeAws_json1_1ListGameServerGroupsOutput = function (output, context) {
|
|
9390
9164
|
return {
|
|
9391
|
-
GameServerGroups: output.GameServerGroups
|
|
9165
|
+
GameServerGroups: output.GameServerGroups != null
|
|
9392
9166
|
? deserializeAws_json1_1GameServerGroups(output.GameServerGroups, context)
|
|
9393
9167
|
: undefined,
|
|
9394
9168
|
NextToken: __expectString(output.NextToken),
|
|
@@ -9396,35 +9170,25 @@ var deserializeAws_json1_1ListGameServerGroupsOutput = function (output, context
|
|
|
9396
9170
|
};
|
|
9397
9171
|
var deserializeAws_json1_1ListGameServersOutput = function (output, context) {
|
|
9398
9172
|
return {
|
|
9399
|
-
GameServers: output.GameServers
|
|
9400
|
-
? deserializeAws_json1_1GameServers(output.GameServers, context)
|
|
9401
|
-
: undefined,
|
|
9173
|
+
GameServers: output.GameServers != null ? deserializeAws_json1_1GameServers(output.GameServers, context) : undefined,
|
|
9402
9174
|
NextToken: __expectString(output.NextToken),
|
|
9403
9175
|
};
|
|
9404
9176
|
};
|
|
9405
9177
|
var deserializeAws_json1_1ListScriptsOutput = function (output, context) {
|
|
9406
9178
|
return {
|
|
9407
9179
|
NextToken: __expectString(output.NextToken),
|
|
9408
|
-
Scripts: output.Scripts
|
|
9409
|
-
? deserializeAws_json1_1ScriptList(output.Scripts, context)
|
|
9410
|
-
: undefined,
|
|
9180
|
+
Scripts: output.Scripts != null ? deserializeAws_json1_1ScriptList(output.Scripts, context) : undefined,
|
|
9411
9181
|
};
|
|
9412
9182
|
};
|
|
9413
9183
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
9414
9184
|
return {
|
|
9415
|
-
Tags: output.Tags
|
|
9416
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
9417
|
-
: undefined,
|
|
9185
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
9418
9186
|
};
|
|
9419
9187
|
};
|
|
9420
9188
|
var deserializeAws_json1_1LocationAttributes = function (output, context) {
|
|
9421
9189
|
return {
|
|
9422
|
-
LocationState: output.LocationState
|
|
9423
|
-
|
|
9424
|
-
: undefined,
|
|
9425
|
-
StoppedActions: output.StoppedActions !== undefined && output.StoppedActions !== null
|
|
9426
|
-
? deserializeAws_json1_1FleetActionList(output.StoppedActions, context)
|
|
9427
|
-
: undefined,
|
|
9190
|
+
LocationState: output.LocationState != null ? deserializeAws_json1_1LocationState(output.LocationState, context) : undefined,
|
|
9191
|
+
StoppedActions: output.StoppedActions != null ? deserializeAws_json1_1FleetActionList(output.StoppedActions, context) : undefined,
|
|
9428
9192
|
UpdateStatus: __expectString(output.UpdateStatus),
|
|
9429
9193
|
};
|
|
9430
9194
|
};
|
|
@@ -9491,17 +9255,17 @@ var deserializeAws_json1_1MatchmakingConfiguration = function (output, context)
|
|
|
9491
9255
|
AdditionalPlayerCount: __expectInt32(output.AdditionalPlayerCount),
|
|
9492
9256
|
BackfillMode: __expectString(output.BackfillMode),
|
|
9493
9257
|
ConfigurationArn: __expectString(output.ConfigurationArn),
|
|
9494
|
-
CreationTime: output.CreationTime
|
|
9258
|
+
CreationTime: output.CreationTime != null
|
|
9495
9259
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
9496
9260
|
: undefined,
|
|
9497
9261
|
CustomEventData: __expectString(output.CustomEventData),
|
|
9498
9262
|
Description: __expectString(output.Description),
|
|
9499
9263
|
FlexMatchMode: __expectString(output.FlexMatchMode),
|
|
9500
|
-
GameProperties: output.GameProperties
|
|
9264
|
+
GameProperties: output.GameProperties != null
|
|
9501
9265
|
? deserializeAws_json1_1GamePropertyList(output.GameProperties, context)
|
|
9502
9266
|
: undefined,
|
|
9503
9267
|
GameSessionData: __expectString(output.GameSessionData),
|
|
9504
|
-
GameSessionQueueArns: output.GameSessionQueueArns
|
|
9268
|
+
GameSessionQueueArns: output.GameSessionQueueArns != null
|
|
9505
9269
|
? deserializeAws_json1_1QueueArnsList(output.GameSessionQueueArns, context)
|
|
9506
9270
|
: undefined,
|
|
9507
9271
|
Name: __expectString(output.Name),
|
|
@@ -9524,7 +9288,7 @@ var deserializeAws_json1_1MatchmakingConfigurationList = function (output, conte
|
|
|
9524
9288
|
};
|
|
9525
9289
|
var deserializeAws_json1_1MatchmakingRuleSet = function (output, context) {
|
|
9526
9290
|
return {
|
|
9527
|
-
CreationTime: output.CreationTime
|
|
9291
|
+
CreationTime: output.CreationTime != null
|
|
9528
9292
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
9529
9293
|
: undefined,
|
|
9530
9294
|
RuleSetArn: __expectString(output.RuleSetArn),
|
|
@@ -9547,19 +9311,13 @@ var deserializeAws_json1_1MatchmakingTicket = function (output, context) {
|
|
|
9547
9311
|
return {
|
|
9548
9312
|
ConfigurationArn: __expectString(output.ConfigurationArn),
|
|
9549
9313
|
ConfigurationName: __expectString(output.ConfigurationName),
|
|
9550
|
-
EndTime: output.EndTime
|
|
9551
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
|
|
9552
|
-
: undefined,
|
|
9314
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
9553
9315
|
EstimatedWaitTime: __expectInt32(output.EstimatedWaitTime),
|
|
9554
|
-
GameSessionConnectionInfo: output.GameSessionConnectionInfo
|
|
9316
|
+
GameSessionConnectionInfo: output.GameSessionConnectionInfo != null
|
|
9555
9317
|
? deserializeAws_json1_1GameSessionConnectionInfo(output.GameSessionConnectionInfo, context)
|
|
9556
9318
|
: undefined,
|
|
9557
|
-
Players: output.Players
|
|
9558
|
-
|
|
9559
|
-
: undefined,
|
|
9560
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
9561
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
9562
|
-
: undefined,
|
|
9319
|
+
Players: output.Players != null ? deserializeAws_json1_1PlayerList(output.Players, context) : undefined,
|
|
9320
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
9563
9321
|
Status: __expectString(output.Status),
|
|
9564
9322
|
StatusMessage: __expectString(output.StatusMessage),
|
|
9565
9323
|
StatusReason: __expectString(output.StatusReason),
|
|
@@ -9617,10 +9375,8 @@ var deserializeAws_json1_1PlacedPlayerSessionList = function (output, context) {
|
|
|
9617
9375
|
};
|
|
9618
9376
|
var deserializeAws_json1_1Player = function (output, context) {
|
|
9619
9377
|
return {
|
|
9620
|
-
LatencyInMs: output.LatencyInMs
|
|
9621
|
-
|
|
9622
|
-
: undefined,
|
|
9623
|
-
PlayerAttributes: output.PlayerAttributes !== undefined && output.PlayerAttributes !== null
|
|
9378
|
+
LatencyInMs: output.LatencyInMs != null ? deserializeAws_json1_1LatencyMap(output.LatencyInMs, context) : undefined,
|
|
9379
|
+
PlayerAttributes: output.PlayerAttributes != null
|
|
9624
9380
|
? deserializeAws_json1_1PlayerAttributeMap(output.PlayerAttributes, context)
|
|
9625
9381
|
: undefined,
|
|
9626
9382
|
PlayerId: __expectString(output.PlayerId),
|
|
@@ -9685,7 +9441,7 @@ var deserializeAws_json1_1PlayerList = function (output, context) {
|
|
|
9685
9441
|
};
|
|
9686
9442
|
var deserializeAws_json1_1PlayerSession = function (output, context) {
|
|
9687
9443
|
return {
|
|
9688
|
-
CreationTime: output.CreationTime
|
|
9444
|
+
CreationTime: output.CreationTime != null
|
|
9689
9445
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
9690
9446
|
: undefined,
|
|
9691
9447
|
DnsName: __expectString(output.DnsName),
|
|
@@ -9698,7 +9454,7 @@ var deserializeAws_json1_1PlayerSession = function (output, context) {
|
|
|
9698
9454
|
PlayerSessionId: __expectString(output.PlayerSessionId),
|
|
9699
9455
|
Port: __expectInt32(output.Port),
|
|
9700
9456
|
Status: __expectString(output.Status),
|
|
9701
|
-
TerminationTime: output.TerminationTime
|
|
9457
|
+
TerminationTime: output.TerminationTime != null
|
|
9702
9458
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TerminationTime)))
|
|
9703
9459
|
: undefined,
|
|
9704
9460
|
};
|
|
@@ -9716,12 +9472,8 @@ var deserializeAws_json1_1PlayerSessionList = function (output, context) {
|
|
|
9716
9472
|
};
|
|
9717
9473
|
var deserializeAws_json1_1PriorityConfiguration = function (output, context) {
|
|
9718
9474
|
return {
|
|
9719
|
-
LocationOrder: output.LocationOrder
|
|
9720
|
-
|
|
9721
|
-
: undefined,
|
|
9722
|
-
PriorityOrder: output.PriorityOrder !== undefined && output.PriorityOrder !== null
|
|
9723
|
-
? deserializeAws_json1_1PriorityTypeList(output.PriorityOrder, context)
|
|
9724
|
-
: undefined,
|
|
9475
|
+
LocationOrder: output.LocationOrder != null ? deserializeAws_json1_1LocationList(output.LocationOrder, context) : undefined,
|
|
9476
|
+
PriorityOrder: output.PriorityOrder != null ? deserializeAws_json1_1PriorityTypeList(output.PriorityOrder, context) : undefined,
|
|
9725
9477
|
};
|
|
9726
9478
|
};
|
|
9727
9479
|
var deserializeAws_json1_1PriorityTypeList = function (output, context) {
|
|
@@ -9753,17 +9505,13 @@ var deserializeAws_json1_1QueueArnsList = function (output, context) {
|
|
|
9753
9505
|
};
|
|
9754
9506
|
var deserializeAws_json1_1RegisterGameServerOutput = function (output, context) {
|
|
9755
9507
|
return {
|
|
9756
|
-
GameServer: output.GameServer
|
|
9757
|
-
? deserializeAws_json1_1GameServer(output.GameServer, context)
|
|
9758
|
-
: undefined,
|
|
9508
|
+
GameServer: output.GameServer != null ? deserializeAws_json1_1GameServer(output.GameServer, context) : undefined,
|
|
9759
9509
|
};
|
|
9760
9510
|
};
|
|
9761
9511
|
var deserializeAws_json1_1RequestUploadCredentialsOutput = function (output, context) {
|
|
9762
9512
|
return {
|
|
9763
|
-
StorageLocation: output.StorageLocation
|
|
9764
|
-
|
|
9765
|
-
: undefined,
|
|
9766
|
-
UploadCredentials: output.UploadCredentials !== undefined && output.UploadCredentials !== null
|
|
9513
|
+
StorageLocation: output.StorageLocation != null ? deserializeAws_json1_1S3Location(output.StorageLocation, context) : undefined,
|
|
9514
|
+
UploadCredentials: output.UploadCredentials != null
|
|
9767
9515
|
? deserializeAws_json1_1AwsCredentials(output.UploadCredentials, context)
|
|
9768
9516
|
: undefined,
|
|
9769
9517
|
};
|
|
@@ -9782,7 +9530,7 @@ var deserializeAws_json1_1ResourceCreationLimitPolicy = function (output, contex
|
|
|
9782
9530
|
};
|
|
9783
9531
|
var deserializeAws_json1_1ResumeGameServerGroupOutput = function (output, context) {
|
|
9784
9532
|
return {
|
|
9785
|
-
GameServerGroup: output.GameServerGroup
|
|
9533
|
+
GameServerGroup: output.GameServerGroup != null
|
|
9786
9534
|
? deserializeAws_json1_1GameServerGroup(output.GameServerGroup, context)
|
|
9787
9535
|
: undefined,
|
|
9788
9536
|
};
|
|
@@ -9798,7 +9546,7 @@ var deserializeAws_json1_1RuntimeConfiguration = function (output, context) {
|
|
|
9798
9546
|
return {
|
|
9799
9547
|
GameSessionActivationTimeoutSeconds: __expectInt32(output.GameSessionActivationTimeoutSeconds),
|
|
9800
9548
|
MaxConcurrentGameSessionActivations: __expectInt32(output.MaxConcurrentGameSessionActivations),
|
|
9801
|
-
ServerProcesses: output.ServerProcesses
|
|
9549
|
+
ServerProcesses: output.ServerProcesses != null
|
|
9802
9550
|
? deserializeAws_json1_1ServerProcessList(output.ServerProcesses, context)
|
|
9803
9551
|
: undefined,
|
|
9804
9552
|
};
|
|
@@ -9824,7 +9572,7 @@ var deserializeAws_json1_1ScalingPolicy = function (output, context) {
|
|
|
9824
9572
|
ScalingAdjustment: __expectInt32(output.ScalingAdjustment),
|
|
9825
9573
|
ScalingAdjustmentType: __expectString(output.ScalingAdjustmentType),
|
|
9826
9574
|
Status: __expectString(output.Status),
|
|
9827
|
-
TargetConfiguration: output.TargetConfiguration
|
|
9575
|
+
TargetConfiguration: output.TargetConfiguration != null
|
|
9828
9576
|
? deserializeAws_json1_1TargetConfiguration(output.TargetConfiguration, context)
|
|
9829
9577
|
: undefined,
|
|
9830
9578
|
Threshold: __limitedParseDouble(output.Threshold),
|
|
@@ -9844,16 +9592,14 @@ var deserializeAws_json1_1ScalingPolicyList = function (output, context) {
|
|
|
9844
9592
|
};
|
|
9845
9593
|
var deserializeAws_json1_1Script = function (output, context) {
|
|
9846
9594
|
return {
|
|
9847
|
-
CreationTime: output.CreationTime
|
|
9595
|
+
CreationTime: output.CreationTime != null
|
|
9848
9596
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
9849
9597
|
: undefined,
|
|
9850
9598
|
Name: __expectString(output.Name),
|
|
9851
9599
|
ScriptArn: __expectString(output.ScriptArn),
|
|
9852
9600
|
ScriptId: __expectString(output.ScriptId),
|
|
9853
9601
|
SizeOnDisk: __expectLong(output.SizeOnDisk),
|
|
9854
|
-
StorageLocation: output.StorageLocation
|
|
9855
|
-
? deserializeAws_json1_1S3Location(output.StorageLocation, context)
|
|
9856
|
-
: undefined,
|
|
9602
|
+
StorageLocation: output.StorageLocation != null ? deserializeAws_json1_1S3Location(output.StorageLocation, context) : undefined,
|
|
9857
9603
|
Version: __expectString(output.Version),
|
|
9858
9604
|
};
|
|
9859
9605
|
};
|
|
@@ -9870,9 +9616,7 @@ var deserializeAws_json1_1ScriptList = function (output, context) {
|
|
|
9870
9616
|
};
|
|
9871
9617
|
var deserializeAws_json1_1SearchGameSessionsOutput = function (output, context) {
|
|
9872
9618
|
return {
|
|
9873
|
-
GameSessions: output.GameSessions
|
|
9874
|
-
? deserializeAws_json1_1GameSessionList(output.GameSessions, context)
|
|
9875
|
-
: undefined,
|
|
9619
|
+
GameSessions: output.GameSessions != null ? deserializeAws_json1_1GameSessionList(output.GameSessions, context) : undefined,
|
|
9876
9620
|
NextToken: __expectString(output.NextToken),
|
|
9877
9621
|
};
|
|
9878
9622
|
};
|
|
@@ -9902,21 +9646,21 @@ var deserializeAws_json1_1StartFleetActionsOutput = function (output, context) {
|
|
|
9902
9646
|
};
|
|
9903
9647
|
var deserializeAws_json1_1StartGameSessionPlacementOutput = function (output, context) {
|
|
9904
9648
|
return {
|
|
9905
|
-
GameSessionPlacement: output.GameSessionPlacement
|
|
9649
|
+
GameSessionPlacement: output.GameSessionPlacement != null
|
|
9906
9650
|
? deserializeAws_json1_1GameSessionPlacement(output.GameSessionPlacement, context)
|
|
9907
9651
|
: undefined,
|
|
9908
9652
|
};
|
|
9909
9653
|
};
|
|
9910
9654
|
var deserializeAws_json1_1StartMatchBackfillOutput = function (output, context) {
|
|
9911
9655
|
return {
|
|
9912
|
-
MatchmakingTicket: output.MatchmakingTicket
|
|
9656
|
+
MatchmakingTicket: output.MatchmakingTicket != null
|
|
9913
9657
|
? deserializeAws_json1_1MatchmakingTicket(output.MatchmakingTicket, context)
|
|
9914
9658
|
: undefined,
|
|
9915
9659
|
};
|
|
9916
9660
|
};
|
|
9917
9661
|
var deserializeAws_json1_1StartMatchmakingOutput = function (output, context) {
|
|
9918
9662
|
return {
|
|
9919
|
-
MatchmakingTicket: output.MatchmakingTicket
|
|
9663
|
+
MatchmakingTicket: output.MatchmakingTicket != null
|
|
9920
9664
|
? deserializeAws_json1_1MatchmakingTicket(output.MatchmakingTicket, context)
|
|
9921
9665
|
: undefined,
|
|
9922
9666
|
};
|
|
@@ -9929,7 +9673,7 @@ var deserializeAws_json1_1StopFleetActionsOutput = function (output, context) {
|
|
|
9929
9673
|
};
|
|
9930
9674
|
var deserializeAws_json1_1StopGameSessionPlacementOutput = function (output, context) {
|
|
9931
9675
|
return {
|
|
9932
|
-
GameSessionPlacement: output.GameSessionPlacement
|
|
9676
|
+
GameSessionPlacement: output.GameSessionPlacement != null
|
|
9933
9677
|
? deserializeAws_json1_1GameSessionPlacement(output.GameSessionPlacement, context)
|
|
9934
9678
|
: undefined,
|
|
9935
9679
|
};
|
|
@@ -9960,7 +9704,7 @@ var deserializeAws_json1_1StringList = function (output, context) {
|
|
|
9960
9704
|
};
|
|
9961
9705
|
var deserializeAws_json1_1SuspendGameServerGroupOutput = function (output, context) {
|
|
9962
9706
|
return {
|
|
9963
|
-
GameServerGroup: output.GameServerGroup
|
|
9707
|
+
GameServerGroup: output.GameServerGroup != null
|
|
9964
9708
|
? deserializeAws_json1_1GameServerGroup(output.GameServerGroup, context)
|
|
9965
9709
|
: undefined,
|
|
9966
9710
|
};
|
|
@@ -10015,16 +9759,12 @@ var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
|
10015
9759
|
};
|
|
10016
9760
|
var deserializeAws_json1_1UpdateAliasOutput = function (output, context) {
|
|
10017
9761
|
return {
|
|
10018
|
-
Alias: output.Alias
|
|
10019
|
-
? deserializeAws_json1_1Alias(output.Alias, context)
|
|
10020
|
-
: undefined,
|
|
9762
|
+
Alias: output.Alias != null ? deserializeAws_json1_1Alias(output.Alias, context) : undefined,
|
|
10021
9763
|
};
|
|
10022
9764
|
};
|
|
10023
9765
|
var deserializeAws_json1_1UpdateBuildOutput = function (output, context) {
|
|
10024
9766
|
return {
|
|
10025
|
-
Build: output.Build
|
|
10026
|
-
? deserializeAws_json1_1Build(output.Build, context)
|
|
10027
|
-
: undefined,
|
|
9767
|
+
Build: output.Build != null ? deserializeAws_json1_1Build(output.Build, context) : undefined,
|
|
10028
9768
|
};
|
|
10029
9769
|
};
|
|
10030
9770
|
var deserializeAws_json1_1UpdateFleetAttributesOutput = function (output, context) {
|
|
@@ -10046,51 +9786,45 @@ var deserializeAws_json1_1UpdateFleetPortSettingsOutput = function (output, cont
|
|
|
10046
9786
|
};
|
|
10047
9787
|
var deserializeAws_json1_1UpdateGameServerGroupOutput = function (output, context) {
|
|
10048
9788
|
return {
|
|
10049
|
-
GameServerGroup: output.GameServerGroup
|
|
9789
|
+
GameServerGroup: output.GameServerGroup != null
|
|
10050
9790
|
? deserializeAws_json1_1GameServerGroup(output.GameServerGroup, context)
|
|
10051
9791
|
: undefined,
|
|
10052
9792
|
};
|
|
10053
9793
|
};
|
|
10054
9794
|
var deserializeAws_json1_1UpdateGameServerOutput = function (output, context) {
|
|
10055
9795
|
return {
|
|
10056
|
-
GameServer: output.GameServer
|
|
10057
|
-
? deserializeAws_json1_1GameServer(output.GameServer, context)
|
|
10058
|
-
: undefined,
|
|
9796
|
+
GameServer: output.GameServer != null ? deserializeAws_json1_1GameServer(output.GameServer, context) : undefined,
|
|
10059
9797
|
};
|
|
10060
9798
|
};
|
|
10061
9799
|
var deserializeAws_json1_1UpdateGameSessionOutput = function (output, context) {
|
|
10062
9800
|
return {
|
|
10063
|
-
GameSession: output.GameSession
|
|
10064
|
-
? deserializeAws_json1_1GameSession(output.GameSession, context)
|
|
10065
|
-
: undefined,
|
|
9801
|
+
GameSession: output.GameSession != null ? deserializeAws_json1_1GameSession(output.GameSession, context) : undefined,
|
|
10066
9802
|
};
|
|
10067
9803
|
};
|
|
10068
9804
|
var deserializeAws_json1_1UpdateGameSessionQueueOutput = function (output, context) {
|
|
10069
9805
|
return {
|
|
10070
|
-
GameSessionQueue: output.GameSessionQueue
|
|
9806
|
+
GameSessionQueue: output.GameSessionQueue != null
|
|
10071
9807
|
? deserializeAws_json1_1GameSessionQueue(output.GameSessionQueue, context)
|
|
10072
9808
|
: undefined,
|
|
10073
9809
|
};
|
|
10074
9810
|
};
|
|
10075
9811
|
var deserializeAws_json1_1UpdateMatchmakingConfigurationOutput = function (output, context) {
|
|
10076
9812
|
return {
|
|
10077
|
-
Configuration: output.Configuration
|
|
9813
|
+
Configuration: output.Configuration != null
|
|
10078
9814
|
? deserializeAws_json1_1MatchmakingConfiguration(output.Configuration, context)
|
|
10079
9815
|
: undefined,
|
|
10080
9816
|
};
|
|
10081
9817
|
};
|
|
10082
9818
|
var deserializeAws_json1_1UpdateRuntimeConfigurationOutput = function (output, context) {
|
|
10083
9819
|
return {
|
|
10084
|
-
RuntimeConfiguration: output.RuntimeConfiguration
|
|
9820
|
+
RuntimeConfiguration: output.RuntimeConfiguration != null
|
|
10085
9821
|
? deserializeAws_json1_1RuntimeConfiguration(output.RuntimeConfiguration, context)
|
|
10086
9822
|
: undefined,
|
|
10087
9823
|
};
|
|
10088
9824
|
};
|
|
10089
9825
|
var deserializeAws_json1_1UpdateScriptOutput = function (output, context) {
|
|
10090
9826
|
return {
|
|
10091
|
-
Script: output.Script
|
|
10092
|
-
? deserializeAws_json1_1Script(output.Script, context)
|
|
10093
|
-
: undefined,
|
|
9827
|
+
Script: output.Script != null ? deserializeAws_json1_1Script(output.Script, context) : undefined,
|
|
10094
9828
|
};
|
|
10095
9829
|
};
|
|
10096
9830
|
var deserializeAws_json1_1ValidateMatchmakingRuleSetOutput = function (output, context) {
|
|
@@ -10100,10 +9834,10 @@ var deserializeAws_json1_1ValidateMatchmakingRuleSetOutput = function (output, c
|
|
|
10100
9834
|
};
|
|
10101
9835
|
var deserializeAws_json1_1VpcPeeringAuthorization = function (output, context) {
|
|
10102
9836
|
return {
|
|
10103
|
-
CreationTime: output.CreationTime
|
|
9837
|
+
CreationTime: output.CreationTime != null
|
|
10104
9838
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
10105
9839
|
: undefined,
|
|
10106
|
-
ExpirationTime: output.ExpirationTime
|
|
9840
|
+
ExpirationTime: output.ExpirationTime != null
|
|
10107
9841
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpirationTime)))
|
|
10108
9842
|
: undefined,
|
|
10109
9843
|
GameLiftAwsAccountId: __expectString(output.GameLiftAwsAccountId),
|
|
@@ -10129,9 +9863,7 @@ var deserializeAws_json1_1VpcPeeringConnection = function (output, context) {
|
|
|
10129
9863
|
GameLiftVpcId: __expectString(output.GameLiftVpcId),
|
|
10130
9864
|
IpV4CidrBlock: __expectString(output.IpV4CidrBlock),
|
|
10131
9865
|
PeerVpcId: __expectString(output.PeerVpcId),
|
|
10132
|
-
Status: output.Status
|
|
10133
|
-
? deserializeAws_json1_1VpcPeeringConnectionStatus(output.Status, context)
|
|
10134
|
-
: undefined,
|
|
9866
|
+
Status: output.Status != null ? deserializeAws_json1_1VpcPeeringConnectionStatus(output.Status, context) : undefined,
|
|
10135
9867
|
VpcPeeringConnectionId: __expectString(output.VpcPeeringConnectionId),
|
|
10136
9868
|
};
|
|
10137
9869
|
};
|
|
@@ -10208,6 +9940,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
10208
9940
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
10209
9941
|
var sanitizeErrorCode = function (rawValue) {
|
|
10210
9942
|
var cleanValue = rawValue;
|
|
9943
|
+
if (typeof cleanValue === "number") {
|
|
9944
|
+
cleanValue = cleanValue.toString();
|
|
9945
|
+
}
|
|
10211
9946
|
if (cleanValue.indexOf(":") >= 0) {
|
|
10212
9947
|
cleanValue = cleanValue.split(":")[0];
|
|
10213
9948
|
}
|