@aws-sdk/client-gamelift 3.441.0 → 3.445.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/dist-cjs/commands/AcceptMatchCommand.js +2 -1
- package/dist-cjs/commands/CreateFleetCommand.js +2 -1
- package/dist-cjs/commands/CreateGameSessionCommand.js +2 -1
- package/dist-cjs/commands/CreatePlayerSessionCommand.js +3 -2
- package/dist-cjs/commands/CreatePlayerSessionsCommand.js +3 -2
- package/dist-cjs/commands/DescribeComputeCommand.js +2 -1
- package/dist-cjs/commands/DescribeFleetPortSettingsCommand.js +2 -1
- package/dist-cjs/commands/DescribeGameSessionDetailsCommand.js +2 -1
- package/dist-cjs/commands/DescribeGameSessionPlacementCommand.js +2 -1
- package/dist-cjs/commands/DescribeGameSessionsCommand.js +2 -1
- package/dist-cjs/commands/DescribeInstancesCommand.js +2 -1
- package/dist-cjs/commands/DescribeMatchmakingCommand.js +2 -1
- package/dist-cjs/commands/DescribePlayerSessionsCommand.js +3 -2
- package/dist-cjs/commands/ListComputeCommand.js +2 -1
- package/dist-cjs/commands/RegisterComputeCommand.js +3 -2
- package/dist-cjs/commands/SearchGameSessionsCommand.js +2 -1
- package/dist-cjs/commands/StartGameSessionPlacementCommand.js +3 -2
- package/dist-cjs/commands/StartMatchBackfillCommand.js +3 -2
- package/dist-cjs/commands/StartMatchmakingCommand.js +3 -2
- package/dist-cjs/commands/StopGameSessionPlacementCommand.js +2 -1
- package/dist-cjs/commands/UpdateFleetPortSettingsCommand.js +2 -1
- package/dist-cjs/commands/UpdateGameSessionCommand.js +2 -1
- package/dist-cjs/models/models_0.js +251 -2
- package/dist-cjs/models/models_1.js +17 -1
- package/dist-cjs/protocols/Aws_json1_1.js +4 -0
- package/dist-es/commands/AcceptMatchCommand.js +2 -1
- package/dist-es/commands/CreateFleetCommand.js +2 -1
- package/dist-es/commands/CreateGameSessionCommand.js +2 -1
- package/dist-es/commands/CreatePlayerSessionCommand.js +3 -2
- package/dist-es/commands/CreatePlayerSessionsCommand.js +3 -2
- package/dist-es/commands/DescribeComputeCommand.js +2 -1
- package/dist-es/commands/DescribeFleetPortSettingsCommand.js +2 -1
- package/dist-es/commands/DescribeGameSessionDetailsCommand.js +2 -1
- package/dist-es/commands/DescribeGameSessionPlacementCommand.js +2 -1
- package/dist-es/commands/DescribeGameSessionsCommand.js +2 -1
- package/dist-es/commands/DescribeInstancesCommand.js +2 -1
- package/dist-es/commands/DescribeMatchmakingCommand.js +2 -1
- package/dist-es/commands/DescribePlayerSessionsCommand.js +3 -2
- package/dist-es/commands/ListComputeCommand.js +2 -1
- package/dist-es/commands/RegisterComputeCommand.js +3 -2
- package/dist-es/commands/SearchGameSessionsCommand.js +2 -1
- package/dist-es/commands/StartGameSessionPlacementCommand.js +3 -2
- package/dist-es/commands/StartMatchBackfillCommand.js +3 -2
- package/dist-es/commands/StartMatchmakingCommand.js +3 -2
- package/dist-es/commands/StopGameSessionPlacementCommand.js +2 -1
- package/dist-es/commands/UpdateFleetPortSettingsCommand.js +2 -1
- package/dist-es/commands/UpdateGameSessionCommand.js +2 -1
- package/dist-es/models/models_0.js +207 -0
- package/dist-es/models/models_1.js +14 -0
- package/dist-es/protocols/Aws_json1_1.js +4 -0
- package/dist-types/commands/AcceptMatchCommand.d.ts +1 -1
- package/dist-types/commands/CreateFleetCommand.d.ts +7 -1
- package/dist-types/commands/DeleteLocationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetAttributesCommand.d.ts +1 -0
- package/dist-types/commands/RegisterComputeCommand.d.ts +4 -0
- package/dist-types/commands/UpdateFleetCapacityCommand.d.ts +1 -2
- package/dist-types/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +208 -53
- package/dist-types/models/models_1.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateFleetCapacityCommand.d.ts +4 -2
- package/dist-types/ts3.4/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +120 -7
- package/dist-types/ts3.4/models/models_1.d.ts +13 -0
- package/package.json +4 -4
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { StartGameSessionPlacementInputFilterSensitiveLog, StartGameSessionPlacementOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_StartGameSessionPlacementCommand, se_StartGameSessionPlacementCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class StartGameSessionPlacementCommand extends $Command {
|
|
@@ -28,8 +29,8 @@ export class StartGameSessionPlacementCommand extends $Command {
|
|
|
28
29
|
logger,
|
|
29
30
|
clientName,
|
|
30
31
|
commandName,
|
|
31
|
-
inputFilterSensitiveLog:
|
|
32
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: StartGameSessionPlacementInputFilterSensitiveLog,
|
|
33
|
+
outputFilterSensitiveLog: StartGameSessionPlacementOutputFilterSensitiveLog,
|
|
33
34
|
[SMITHY_CONTEXT_KEY]: {
|
|
34
35
|
service: "GameLift",
|
|
35
36
|
operation: "StartGameSessionPlacement",
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { StartMatchBackfillInputFilterSensitiveLog, StartMatchBackfillOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_StartMatchBackfillCommand, se_StartMatchBackfillCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class StartMatchBackfillCommand extends $Command {
|
|
@@ -28,8 +29,8 @@ export class StartMatchBackfillCommand extends $Command {
|
|
|
28
29
|
logger,
|
|
29
30
|
clientName,
|
|
30
31
|
commandName,
|
|
31
|
-
inputFilterSensitiveLog:
|
|
32
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: StartMatchBackfillInputFilterSensitiveLog,
|
|
33
|
+
outputFilterSensitiveLog: StartMatchBackfillOutputFilterSensitiveLog,
|
|
33
34
|
[SMITHY_CONTEXT_KEY]: {
|
|
34
35
|
service: "GameLift",
|
|
35
36
|
operation: "StartMatchBackfill",
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { StartMatchmakingInputFilterSensitiveLog, StartMatchmakingOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_StartMatchmakingCommand, se_StartMatchmakingCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class StartMatchmakingCommand extends $Command {
|
|
@@ -28,8 +29,8 @@ export class StartMatchmakingCommand extends $Command {
|
|
|
28
29
|
logger,
|
|
29
30
|
clientName,
|
|
30
31
|
commandName,
|
|
31
|
-
inputFilterSensitiveLog:
|
|
32
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: StartMatchmakingInputFilterSensitiveLog,
|
|
33
|
+
outputFilterSensitiveLog: StartMatchmakingOutputFilterSensitiveLog,
|
|
33
34
|
[SMITHY_CONTEXT_KEY]: {
|
|
34
35
|
service: "GameLift",
|
|
35
36
|
operation: "StartMatchmaking",
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { StopGameSessionPlacementOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_StopGameSessionPlacementCommand, se_StopGameSessionPlacementCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class StopGameSessionPlacementCommand extends $Command {
|
|
@@ -29,7 +30,7 @@ export class StopGameSessionPlacementCommand extends $Command {
|
|
|
29
30
|
clientName,
|
|
30
31
|
commandName,
|
|
31
32
|
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog:
|
|
33
|
+
outputFilterSensitiveLog: StopGameSessionPlacementOutputFilterSensitiveLog,
|
|
33
34
|
[SMITHY_CONTEXT_KEY]: {
|
|
34
35
|
service: "GameLift",
|
|
35
36
|
operation: "StopGameSessionPlacement",
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { UpdateFleetPortSettingsInputFilterSensitiveLog, } from "../models/models_1";
|
|
5
6
|
import { de_UpdateFleetPortSettingsCommand, se_UpdateFleetPortSettingsCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class UpdateFleetPortSettingsCommand extends $Command {
|
|
@@ -28,7 +29,7 @@ export class UpdateFleetPortSettingsCommand extends $Command {
|
|
|
28
29
|
logger,
|
|
29
30
|
clientName,
|
|
30
31
|
commandName,
|
|
31
|
-
inputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: UpdateFleetPortSettingsInputFilterSensitiveLog,
|
|
32
33
|
outputFilterSensitiveLog: (_) => _,
|
|
33
34
|
[SMITHY_CONTEXT_KEY]: {
|
|
34
35
|
service: "GameLift",
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { UpdateGameSessionOutputFilterSensitiveLog, } from "../models/models_1";
|
|
5
6
|
import { de_UpdateGameSessionCommand, se_UpdateGameSessionCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class UpdateGameSessionCommand extends $Command {
|
|
@@ -29,7 +30,7 @@ export class UpdateGameSessionCommand extends $Command {
|
|
|
29
30
|
clientName,
|
|
30
31
|
commandName,
|
|
31
32
|
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog:
|
|
33
|
+
outputFilterSensitiveLog: UpdateGameSessionOutputFilterSensitiveLog,
|
|
33
34
|
[SMITHY_CONTEXT_KEY]: {
|
|
34
35
|
service: "GameLift",
|
|
35
36
|
operation: "UpdateGameSession",
|
|
@@ -361,6 +361,9 @@ export const FleetType = {
|
|
|
361
361
|
OnDemand: "ON_DEMAND",
|
|
362
362
|
Spot: "SPOT",
|
|
363
363
|
};
|
|
364
|
+
export const InstanceRoleCredentialsProvider = {
|
|
365
|
+
SHARED_CREDENTIAL_FILE: "SHARED_CREDENTIAL_FILE",
|
|
366
|
+
};
|
|
364
367
|
export const ProtectionPolicy = {
|
|
365
368
|
FullProtection: "FullProtection",
|
|
366
369
|
NoProtection: "NoProtection",
|
|
@@ -705,13 +708,163 @@ export const LocationFilter = {
|
|
|
705
708
|
AWS: "AWS",
|
|
706
709
|
CUSTOM: "CUSTOM",
|
|
707
710
|
};
|
|
711
|
+
export const AcceptMatchInputFilterSensitiveLog = (obj) => ({
|
|
712
|
+
...obj,
|
|
713
|
+
...(obj.PlayerIds && { PlayerIds: SENSITIVE_STRING }),
|
|
714
|
+
});
|
|
708
715
|
export const AwsCredentialsFilterSensitiveLog = (obj) => ({
|
|
709
716
|
...obj,
|
|
710
717
|
});
|
|
718
|
+
export const ComputeFilterSensitiveLog = (obj) => ({
|
|
719
|
+
...obj,
|
|
720
|
+
...(obj.IpAddress && { IpAddress: SENSITIVE_STRING }),
|
|
721
|
+
});
|
|
711
722
|
export const CreateBuildOutputFilterSensitiveLog = (obj) => ({
|
|
712
723
|
...obj,
|
|
713
724
|
...(obj.UploadCredentials && { UploadCredentials: SENSITIVE_STRING }),
|
|
714
725
|
});
|
|
726
|
+
export const IpPermissionFilterSensitiveLog = (obj) => ({
|
|
727
|
+
...obj,
|
|
728
|
+
...(obj.FromPort && { FromPort: SENSITIVE_STRING }),
|
|
729
|
+
...(obj.ToPort && { ToPort: SENSITIVE_STRING }),
|
|
730
|
+
...(obj.IpRange && { IpRange: SENSITIVE_STRING }),
|
|
731
|
+
});
|
|
732
|
+
export const CreateFleetInputFilterSensitiveLog = (obj) => ({
|
|
733
|
+
...obj,
|
|
734
|
+
...(obj.EC2InboundPermissions && {
|
|
735
|
+
EC2InboundPermissions: obj.EC2InboundPermissions.map((item) => IpPermissionFilterSensitiveLog(item)),
|
|
736
|
+
}),
|
|
737
|
+
});
|
|
738
|
+
export const GameSessionFilterSensitiveLog = (obj) => ({
|
|
739
|
+
...obj,
|
|
740
|
+
...(obj.IpAddress && { IpAddress: SENSITIVE_STRING }),
|
|
741
|
+
...(obj.Port && { Port: SENSITIVE_STRING }),
|
|
742
|
+
});
|
|
743
|
+
export const CreateGameSessionOutputFilterSensitiveLog = (obj) => ({
|
|
744
|
+
...obj,
|
|
745
|
+
...(obj.GameSession && { GameSession: GameSessionFilterSensitiveLog(obj.GameSession) }),
|
|
746
|
+
});
|
|
747
|
+
export const CreatePlayerSessionInputFilterSensitiveLog = (obj) => ({
|
|
748
|
+
...obj,
|
|
749
|
+
...(obj.PlayerId && { PlayerId: SENSITIVE_STRING }),
|
|
750
|
+
});
|
|
751
|
+
export const PlayerSessionFilterSensitiveLog = (obj) => ({
|
|
752
|
+
...obj,
|
|
753
|
+
...(obj.PlayerId && { PlayerId: SENSITIVE_STRING }),
|
|
754
|
+
...(obj.IpAddress && { IpAddress: SENSITIVE_STRING }),
|
|
755
|
+
...(obj.Port && { Port: SENSITIVE_STRING }),
|
|
756
|
+
});
|
|
757
|
+
export const CreatePlayerSessionOutputFilterSensitiveLog = (obj) => ({
|
|
758
|
+
...obj,
|
|
759
|
+
...(obj.PlayerSession && { PlayerSession: PlayerSessionFilterSensitiveLog(obj.PlayerSession) }),
|
|
760
|
+
});
|
|
761
|
+
export const CreatePlayerSessionsInputFilterSensitiveLog = (obj) => ({
|
|
762
|
+
...obj,
|
|
763
|
+
...(obj.PlayerIds && { PlayerIds: SENSITIVE_STRING }),
|
|
764
|
+
});
|
|
765
|
+
export const CreatePlayerSessionsOutputFilterSensitiveLog = (obj) => ({
|
|
766
|
+
...obj,
|
|
767
|
+
...(obj.PlayerSessions && {
|
|
768
|
+
PlayerSessions: obj.PlayerSessions.map((item) => PlayerSessionFilterSensitiveLog(item)),
|
|
769
|
+
}),
|
|
770
|
+
});
|
|
771
|
+
export const DescribeComputeOutputFilterSensitiveLog = (obj) => ({
|
|
772
|
+
...obj,
|
|
773
|
+
...(obj.Compute && { Compute: ComputeFilterSensitiveLog(obj.Compute) }),
|
|
774
|
+
});
|
|
775
|
+
export const DescribeFleetPortSettingsOutputFilterSensitiveLog = (obj) => ({
|
|
776
|
+
...obj,
|
|
777
|
+
...(obj.InboundPermissions && {
|
|
778
|
+
InboundPermissions: obj.InboundPermissions.map((item) => IpPermissionFilterSensitiveLog(item)),
|
|
779
|
+
}),
|
|
780
|
+
});
|
|
781
|
+
export const GameSessionDetailFilterSensitiveLog = (obj) => ({
|
|
782
|
+
...obj,
|
|
783
|
+
...(obj.GameSession && { GameSession: GameSessionFilterSensitiveLog(obj.GameSession) }),
|
|
784
|
+
});
|
|
785
|
+
export const DescribeGameSessionDetailsOutputFilterSensitiveLog = (obj) => ({
|
|
786
|
+
...obj,
|
|
787
|
+
...(obj.GameSessionDetails && {
|
|
788
|
+
GameSessionDetails: obj.GameSessionDetails.map((item) => GameSessionDetailFilterSensitiveLog(item)),
|
|
789
|
+
}),
|
|
790
|
+
});
|
|
791
|
+
export const PlacedPlayerSessionFilterSensitiveLog = (obj) => ({
|
|
792
|
+
...obj,
|
|
793
|
+
...(obj.PlayerId && { PlayerId: SENSITIVE_STRING }),
|
|
794
|
+
});
|
|
795
|
+
export const PlayerLatencyFilterSensitiveLog = (obj) => ({
|
|
796
|
+
...obj,
|
|
797
|
+
...(obj.PlayerId && { PlayerId: SENSITIVE_STRING }),
|
|
798
|
+
});
|
|
799
|
+
export const GameSessionPlacementFilterSensitiveLog = (obj) => ({
|
|
800
|
+
...obj,
|
|
801
|
+
...(obj.PlayerLatencies && {
|
|
802
|
+
PlayerLatencies: obj.PlayerLatencies.map((item) => PlayerLatencyFilterSensitiveLog(item)),
|
|
803
|
+
}),
|
|
804
|
+
...(obj.IpAddress && { IpAddress: SENSITIVE_STRING }),
|
|
805
|
+
...(obj.Port && { Port: SENSITIVE_STRING }),
|
|
806
|
+
...(obj.PlacedPlayerSessions && {
|
|
807
|
+
PlacedPlayerSessions: obj.PlacedPlayerSessions.map((item) => PlacedPlayerSessionFilterSensitiveLog(item)),
|
|
808
|
+
}),
|
|
809
|
+
});
|
|
810
|
+
export const DescribeGameSessionPlacementOutputFilterSensitiveLog = (obj) => ({
|
|
811
|
+
...obj,
|
|
812
|
+
...(obj.GameSessionPlacement && {
|
|
813
|
+
GameSessionPlacement: GameSessionPlacementFilterSensitiveLog(obj.GameSessionPlacement),
|
|
814
|
+
}),
|
|
815
|
+
});
|
|
816
|
+
export const DescribeGameSessionsOutputFilterSensitiveLog = (obj) => ({
|
|
817
|
+
...obj,
|
|
818
|
+
...(obj.GameSessions && { GameSessions: obj.GameSessions.map((item) => GameSessionFilterSensitiveLog(item)) }),
|
|
819
|
+
});
|
|
820
|
+
export const InstanceFilterSensitiveLog = (obj) => ({
|
|
821
|
+
...obj,
|
|
822
|
+
...(obj.IpAddress && { IpAddress: SENSITIVE_STRING }),
|
|
823
|
+
});
|
|
824
|
+
export const DescribeInstancesOutputFilterSensitiveLog = (obj) => ({
|
|
825
|
+
...obj,
|
|
826
|
+
...(obj.Instances && { Instances: obj.Instances.map((item) => InstanceFilterSensitiveLog(item)) }),
|
|
827
|
+
});
|
|
828
|
+
export const MatchedPlayerSessionFilterSensitiveLog = (obj) => ({
|
|
829
|
+
...obj,
|
|
830
|
+
...(obj.PlayerId && { PlayerId: SENSITIVE_STRING }),
|
|
831
|
+
});
|
|
832
|
+
export const GameSessionConnectionInfoFilterSensitiveLog = (obj) => ({
|
|
833
|
+
...obj,
|
|
834
|
+
...(obj.IpAddress && { IpAddress: SENSITIVE_STRING }),
|
|
835
|
+
...(obj.MatchedPlayerSessions && {
|
|
836
|
+
MatchedPlayerSessions: obj.MatchedPlayerSessions.map((item) => MatchedPlayerSessionFilterSensitiveLog(item)),
|
|
837
|
+
}),
|
|
838
|
+
});
|
|
839
|
+
export const PlayerFilterSensitiveLog = (obj) => ({
|
|
840
|
+
...obj,
|
|
841
|
+
...(obj.PlayerId && { PlayerId: SENSITIVE_STRING }),
|
|
842
|
+
});
|
|
843
|
+
export const MatchmakingTicketFilterSensitiveLog = (obj) => ({
|
|
844
|
+
...obj,
|
|
845
|
+
...(obj.Players && { Players: obj.Players.map((item) => PlayerFilterSensitiveLog(item)) }),
|
|
846
|
+
...(obj.GameSessionConnectionInfo && {
|
|
847
|
+
GameSessionConnectionInfo: GameSessionConnectionInfoFilterSensitiveLog(obj.GameSessionConnectionInfo),
|
|
848
|
+
}),
|
|
849
|
+
});
|
|
850
|
+
export const DescribeMatchmakingOutputFilterSensitiveLog = (obj) => ({
|
|
851
|
+
...obj,
|
|
852
|
+
...(obj.TicketList && { TicketList: obj.TicketList.map((item) => MatchmakingTicketFilterSensitiveLog(item)) }),
|
|
853
|
+
});
|
|
854
|
+
export const DescribePlayerSessionsInputFilterSensitiveLog = (obj) => ({
|
|
855
|
+
...obj,
|
|
856
|
+
...(obj.PlayerId && { PlayerId: SENSITIVE_STRING }),
|
|
857
|
+
});
|
|
858
|
+
export const DescribePlayerSessionsOutputFilterSensitiveLog = (obj) => ({
|
|
859
|
+
...obj,
|
|
860
|
+
...(obj.PlayerSessions && {
|
|
861
|
+
PlayerSessions: obj.PlayerSessions.map((item) => PlayerSessionFilterSensitiveLog(item)),
|
|
862
|
+
}),
|
|
863
|
+
});
|
|
864
|
+
export const DesiredPlayerSessionFilterSensitiveLog = (obj) => ({
|
|
865
|
+
...obj,
|
|
866
|
+
...(obj.PlayerId && { PlayerId: SENSITIVE_STRING }),
|
|
867
|
+
});
|
|
715
868
|
export const GetComputeAccessOutputFilterSensitiveLog = (obj) => ({
|
|
716
869
|
...obj,
|
|
717
870
|
...(obj.Credentials && { Credentials: SENSITIVE_STRING }),
|
|
@@ -721,13 +874,67 @@ export const InstanceCredentialsFilterSensitiveLog = (obj) => ({
|
|
|
721
874
|
});
|
|
722
875
|
export const InstanceAccessFilterSensitiveLog = (obj) => ({
|
|
723
876
|
...obj,
|
|
877
|
+
...(obj.IpAddress && { IpAddress: SENSITIVE_STRING }),
|
|
724
878
|
...(obj.Credentials && { Credentials: SENSITIVE_STRING }),
|
|
725
879
|
});
|
|
726
880
|
export const GetInstanceAccessOutputFilterSensitiveLog = (obj) => ({
|
|
727
881
|
...obj,
|
|
728
882
|
...(obj.InstanceAccess && { InstanceAccess: InstanceAccessFilterSensitiveLog(obj.InstanceAccess) }),
|
|
729
883
|
});
|
|
884
|
+
export const ListComputeOutputFilterSensitiveLog = (obj) => ({
|
|
885
|
+
...obj,
|
|
886
|
+
...(obj.ComputeList && { ComputeList: obj.ComputeList.map((item) => ComputeFilterSensitiveLog(item)) }),
|
|
887
|
+
});
|
|
888
|
+
export const RegisterComputeInputFilterSensitiveLog = (obj) => ({
|
|
889
|
+
...obj,
|
|
890
|
+
...(obj.IpAddress && { IpAddress: SENSITIVE_STRING }),
|
|
891
|
+
});
|
|
892
|
+
export const RegisterComputeOutputFilterSensitiveLog = (obj) => ({
|
|
893
|
+
...obj,
|
|
894
|
+
...(obj.Compute && { Compute: ComputeFilterSensitiveLog(obj.Compute) }),
|
|
895
|
+
});
|
|
730
896
|
export const RequestUploadCredentialsOutputFilterSensitiveLog = (obj) => ({
|
|
731
897
|
...obj,
|
|
732
898
|
...(obj.UploadCredentials && { UploadCredentials: SENSITIVE_STRING }),
|
|
733
899
|
});
|
|
900
|
+
export const SearchGameSessionsOutputFilterSensitiveLog = (obj) => ({
|
|
901
|
+
...obj,
|
|
902
|
+
...(obj.GameSessions && { GameSessions: obj.GameSessions.map((item) => GameSessionFilterSensitiveLog(item)) }),
|
|
903
|
+
});
|
|
904
|
+
export const StartGameSessionPlacementInputFilterSensitiveLog = (obj) => ({
|
|
905
|
+
...obj,
|
|
906
|
+
...(obj.PlayerLatencies && {
|
|
907
|
+
PlayerLatencies: obj.PlayerLatencies.map((item) => PlayerLatencyFilterSensitiveLog(item)),
|
|
908
|
+
}),
|
|
909
|
+
...(obj.DesiredPlayerSessions && {
|
|
910
|
+
DesiredPlayerSessions: obj.DesiredPlayerSessions.map((item) => DesiredPlayerSessionFilterSensitiveLog(item)),
|
|
911
|
+
}),
|
|
912
|
+
});
|
|
913
|
+
export const StartGameSessionPlacementOutputFilterSensitiveLog = (obj) => ({
|
|
914
|
+
...obj,
|
|
915
|
+
...(obj.GameSessionPlacement && {
|
|
916
|
+
GameSessionPlacement: GameSessionPlacementFilterSensitiveLog(obj.GameSessionPlacement),
|
|
917
|
+
}),
|
|
918
|
+
});
|
|
919
|
+
export const StartMatchBackfillInputFilterSensitiveLog = (obj) => ({
|
|
920
|
+
...obj,
|
|
921
|
+
...(obj.Players && { Players: obj.Players.map((item) => PlayerFilterSensitiveLog(item)) }),
|
|
922
|
+
});
|
|
923
|
+
export const StartMatchBackfillOutputFilterSensitiveLog = (obj) => ({
|
|
924
|
+
...obj,
|
|
925
|
+
...(obj.MatchmakingTicket && { MatchmakingTicket: MatchmakingTicketFilterSensitiveLog(obj.MatchmakingTicket) }),
|
|
926
|
+
});
|
|
927
|
+
export const StartMatchmakingInputFilterSensitiveLog = (obj) => ({
|
|
928
|
+
...obj,
|
|
929
|
+
...(obj.Players && { Players: obj.Players.map((item) => PlayerFilterSensitiveLog(item)) }),
|
|
930
|
+
});
|
|
931
|
+
export const StartMatchmakingOutputFilterSensitiveLog = (obj) => ({
|
|
932
|
+
...obj,
|
|
933
|
+
...(obj.MatchmakingTicket && { MatchmakingTicket: MatchmakingTicketFilterSensitiveLog(obj.MatchmakingTicket) }),
|
|
934
|
+
});
|
|
935
|
+
export const StopGameSessionPlacementOutputFilterSensitiveLog = (obj) => ({
|
|
936
|
+
...obj,
|
|
937
|
+
...(obj.GameSessionPlacement && {
|
|
938
|
+
GameSessionPlacement: GameSessionPlacementFilterSensitiveLog(obj.GameSessionPlacement),
|
|
939
|
+
}),
|
|
940
|
+
});
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
import { GameSessionFilterSensitiveLog, IpPermissionFilterSensitiveLog, } from "./models_0";
|
|
1
2
|
export const GameServerHealthCheck = {
|
|
2
3
|
HEALTHY: "HEALTHY",
|
|
3
4
|
};
|
|
5
|
+
export const UpdateFleetPortSettingsInputFilterSensitiveLog = (obj) => ({
|
|
6
|
+
...obj,
|
|
7
|
+
...(obj.InboundPermissionAuthorizations && {
|
|
8
|
+
InboundPermissionAuthorizations: obj.InboundPermissionAuthorizations.map((item) => IpPermissionFilterSensitiveLog(item)),
|
|
9
|
+
}),
|
|
10
|
+
...(obj.InboundPermissionRevocations && {
|
|
11
|
+
InboundPermissionRevocations: obj.InboundPermissionRevocations.map((item) => IpPermissionFilterSensitiveLog(item)),
|
|
12
|
+
}),
|
|
13
|
+
});
|
|
14
|
+
export const UpdateGameSessionOutputFilterSensitiveLog = (obj) => ({
|
|
15
|
+
...obj,
|
|
16
|
+
...(obj.GameSession && { GameSession: GameSessionFilterSensitiveLog(obj.GameSession) }),
|
|
17
|
+
});
|
|
@@ -3844,6 +3844,9 @@ const de_RegisterComputeCommandError = async (output, context) => {
|
|
|
3844
3844
|
case "InvalidRequestException":
|
|
3845
3845
|
case "com.amazonaws.gamelift#InvalidRequestException":
|
|
3846
3846
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3847
|
+
case "LimitExceededException":
|
|
3848
|
+
case "com.amazonaws.gamelift#LimitExceededException":
|
|
3849
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3847
3850
|
case "UnauthorizedException":
|
|
3848
3851
|
case "com.amazonaws.gamelift#UnauthorizedException":
|
|
3849
3852
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
@@ -5617,6 +5620,7 @@ const de_FleetAttributes = (output, context) => {
|
|
|
5617
5620
|
FleetId: __expectString,
|
|
5618
5621
|
FleetType: __expectString,
|
|
5619
5622
|
InstanceRoleArn: __expectString,
|
|
5623
|
+
InstanceRoleCredentialsProvider: __expectString,
|
|
5620
5624
|
InstanceType: __expectString,
|
|
5621
5625
|
LogPaths: _json,
|
|
5622
5626
|
MetricGroups: _json,
|
|
@@ -66,7 +66,7 @@ export interface AcceptMatchCommandOutput extends AcceptMatchOutput, __MetadataB
|
|
|
66
66
|
* const client = new GameLiftClient(config);
|
|
67
67
|
* const input = { // AcceptMatchInput
|
|
68
68
|
* TicketId: "STRING_VALUE", // required
|
|
69
|
-
* PlayerIds: [ //
|
|
69
|
+
* PlayerIds: [ // PlayerIdsForAcceptMatch // required
|
|
70
70
|
* "STRING_VALUE",
|
|
71
71
|
* ],
|
|
72
72
|
* AcceptanceType: "ACCEPT" || "REJECT", // required
|
|
@@ -45,7 +45,11 @@ export interface CreateFleetCommandOutput extends CreateFleetOutput, __MetadataB
|
|
|
45
45
|
* when you're finished. </p>
|
|
46
46
|
* <p>If successful, this operation creates a new Fleet resource and places it in
|
|
47
47
|
* <code>NEW</code> status, which prompts Amazon GameLift to initiate the <a href="https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-all.html#fleets-creation-workflow">fleet creation
|
|
48
|
-
* workflow</a
|
|
48
|
+
* workflow</a>. You can track fleet creation by checking fleet status using <a>DescribeFleetAttributes</a> and <a>DescribeFleetLocationAttributes</a>/, or by monitoring fleet creation events
|
|
49
|
+
* using <a>DescribeFleetEvents</a>. </p>
|
|
50
|
+
* <p>When the fleet status changes to <code>ACTIVE</code>, you can enable automatic scaling
|
|
51
|
+
* with <a>PutScalingPolicy</a> and set capacity for the home Region with <a>UpdateFleetCapacity</a>. When the status of each remote location reaches
|
|
52
|
+
* <code>ACTIVE</code>, you can set capacity by location using <a>UpdateFleetCapacity</a>.</p>
|
|
49
53
|
* <p>
|
|
50
54
|
* <b>Learn more</b>
|
|
51
55
|
* </p>
|
|
@@ -125,6 +129,7 @@ export interface CreateFleetCommandOutput extends CreateFleetOutput, __MetadataB
|
|
|
125
129
|
* AnywhereConfiguration: { // AnywhereConfiguration
|
|
126
130
|
* Cost: "STRING_VALUE", // required
|
|
127
131
|
* },
|
|
132
|
+
* InstanceRoleCredentialsProvider: "SHARED_CREDENTIAL_FILE",
|
|
128
133
|
* };
|
|
129
134
|
* const command = new CreateFleetCommand(input);
|
|
130
135
|
* const response = await client.send(command);
|
|
@@ -168,6 +173,7 @@ export interface CreateFleetCommandOutput extends CreateFleetOutput, __MetadataB
|
|
|
168
173
|
* // AnywhereConfiguration: { // AnywhereConfiguration
|
|
169
174
|
* // Cost: "STRING_VALUE", // required
|
|
170
175
|
* // },
|
|
176
|
+
* // InstanceRoleCredentialsProvider: "SHARED_CREDENTIAL_FILE",
|
|
171
177
|
* // },
|
|
172
178
|
* // LocationStates: [ // LocationStateList
|
|
173
179
|
* // { // LocationState
|
|
@@ -25,7 +25,7 @@ export interface DeleteLocationCommandOutput extends DeleteLocationOutput, __Met
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Deletes a custom location.</p>
|
|
27
27
|
* <p>Before deleting a custom location, review any fleets currently using the custom
|
|
28
|
-
* location and deregister the location if it is in use. For more information see
|
|
28
|
+
* location and deregister the location if it is in use. For more information, see <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_DeregisterCompute.html">DeregisterCompute</a>.</p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
31
|
* ```javascript
|
|
@@ -107,6 +107,7 @@ export interface DescribeFleetAttributesCommandOutput extends DescribeFleetAttri
|
|
|
107
107
|
* // AnywhereConfiguration: { // AnywhereConfiguration
|
|
108
108
|
* // Cost: "STRING_VALUE", // required
|
|
109
109
|
* // },
|
|
110
|
+
* // InstanceRoleCredentialsProvider: "SHARED_CREDENTIAL_FILE",
|
|
110
111
|
* // },
|
|
111
112
|
* // ],
|
|
112
113
|
* // NextToken: "STRING_VALUE",
|
|
@@ -110,6 +110,10 @@ export interface RegisterComputeCommandOutput extends RegisterComputeOutput, __M
|
|
|
110
110
|
* <p>One or more parameter values in the request are invalid. Correct the invalid parameter
|
|
111
111
|
* values before retrying.</p>
|
|
112
112
|
*
|
|
113
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
114
|
+
* <p>The requested operation would cause the resource to exceed the allowed service limit.
|
|
115
|
+
* Resolve the issue before retrying.</p>
|
|
116
|
+
*
|
|
113
117
|
* @throws {@link UnauthorizedException} (client fault)
|
|
114
118
|
* <p>The client failed authentication. Clients should not retry such requests.</p>
|
|
115
119
|
*
|
|
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { GameLiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GameLiftClient";
|
|
5
|
-
import { UpdateFleetCapacityInput } from "../models/
|
|
6
|
-
import { UpdateFleetCapacityOutput } from "../models/models_1";
|
|
5
|
+
import { UpdateFleetCapacityInput, UpdateFleetCapacityOutput } from "../models/models_1";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -63,6 +63,8 @@
|
|
|
63
63
|
export * from "./GameLiftClient";
|
|
64
64
|
export * from "./GameLift";
|
|
65
65
|
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
66
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
67
|
+
export { GameLiftExtensionConfiguration } from "./extensionConfiguration";
|
|
66
68
|
export * from "./commands";
|
|
67
69
|
export * from "./pagination";
|
|
68
70
|
export * from "./models";
|