@aws-sdk/client-gamelift 3.315.0 → 3.317.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/README.md +13 -13
  2. package/dist-cjs/GameLift.js +108 -1456
  3. package/dist-cjs/endpoint/ruleset.js +3 -3
  4. package/dist-cjs/models/models_0.js +1 -0
  5. package/dist-cjs/protocols/Aws_json1_1.js +3 -0
  6. package/dist-es/GameLift.js +108 -1456
  7. package/dist-es/endpoint/ruleset.js +3 -3
  8. package/dist-es/models/models_0.js +1 -0
  9. package/dist-es/protocols/Aws_json1_1.js +3 -0
  10. package/dist-types/GameLift.d.ts +169 -2437
  11. package/dist-types/GameLiftClient.d.ts +20 -20
  12. package/dist-types/commands/AcceptMatchCommand.d.ts +6 -6
  13. package/dist-types/commands/ClaimGameServerCommand.d.ts +16 -16
  14. package/dist-types/commands/CreateAliasCommand.d.ts +5 -5
  15. package/dist-types/commands/CreateBuildCommand.d.ts +16 -16
  16. package/dist-types/commands/CreateFleetCommand.d.ts +13 -13
  17. package/dist-types/commands/CreateFleetLocationsCommand.d.ts +11 -7
  18. package/dist-types/commands/CreateGameServerGroupCommand.d.ts +17 -17
  19. package/dist-types/commands/CreateGameSessionCommand.d.ts +11 -11
  20. package/dist-types/commands/CreateGameSessionQueueCommand.d.ts +10 -10
  21. package/dist-types/commands/CreateLocationCommand.d.ts +1 -1
  22. package/dist-types/commands/CreateMatchmakingConfigurationCommand.d.ts +9 -9
  23. package/dist-types/commands/CreateMatchmakingRuleSetCommand.d.ts +7 -7
  24. package/dist-types/commands/CreatePlayerSessionCommand.d.ts +7 -7
  25. package/dist-types/commands/CreatePlayerSessionsCommand.d.ts +8 -8
  26. package/dist-types/commands/CreateScriptCommand.d.ts +11 -12
  27. package/dist-types/commands/CreateVpcPeeringAuthorizationCommand.d.ts +5 -5
  28. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +3 -3
  29. package/dist-types/commands/DeleteAliasCommand.d.ts +2 -2
  30. package/dist-types/commands/DeleteBuildCommand.d.ts +4 -4
  31. package/dist-types/commands/DeleteFleetCommand.d.ts +4 -4
  32. package/dist-types/commands/DeleteFleetLocationsCommand.d.ts +4 -4
  33. package/dist-types/commands/DeleteGameServerGroupCommand.d.ts +13 -13
  34. package/dist-types/commands/DeleteLocationCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteMatchmakingRuleSetCommand.d.ts +3 -3
  36. package/dist-types/commands/DeleteScalingPolicyCommand.d.ts +2 -2
  37. package/dist-types/commands/DeleteScriptCommand.d.ts +6 -6
  38. package/dist-types/commands/DeleteVpcPeeringAuthorizationCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteVpcPeeringConnectionCommand.d.ts +2 -2
  40. package/dist-types/commands/DeregisterGameServerCommand.d.ts +6 -6
  41. package/dist-types/commands/DescribeAliasCommand.d.ts +3 -3
  42. package/dist-types/commands/DescribeBuildCommand.d.ts +3 -3
  43. package/dist-types/commands/DescribeComputeCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeEC2InstanceLimitsCommand.d.ts +15 -15
  45. package/dist-types/commands/DescribeFleetAttributesCommand.d.ts +9 -9
  46. package/dist-types/commands/DescribeFleetCapacityCommand.d.ts +10 -10
  47. package/dist-types/commands/DescribeFleetEventsCommand.d.ts +3 -3
  48. package/dist-types/commands/DescribeFleetLocationAttributesCommand.d.ts +7 -7
  49. package/dist-types/commands/DescribeFleetLocationCapacityCommand.d.ts +4 -4
  50. package/dist-types/commands/DescribeFleetLocationUtilizationCommand.d.ts +4 -4
  51. package/dist-types/commands/DescribeFleetPortSettingsCommand.d.ts +7 -7
  52. package/dist-types/commands/DescribeFleetUtilizationCommand.d.ts +10 -10
  53. package/dist-types/commands/DescribeGameServerCommand.d.ts +6 -6
  54. package/dist-types/commands/DescribeGameServerGroupCommand.d.ts +7 -7
  55. package/dist-types/commands/DescribeGameServerInstancesCommand.d.ts +8 -8
  56. package/dist-types/commands/DescribeGameSessionDetailsCommand.d.ts +8 -8
  57. package/dist-types/commands/DescribeGameSessionPlacementCommand.d.ts +2 -2
  58. package/dist-types/commands/DescribeGameSessionQueuesCommand.d.ts +3 -3
  59. package/dist-types/commands/DescribeGameSessionsCommand.d.ts +10 -10
  60. package/dist-types/commands/DescribeInstancesCommand.d.ts +12 -12
  61. package/dist-types/commands/DescribeMatchmakingCommand.d.ts +6 -6
  62. package/dist-types/commands/DescribeMatchmakingConfigurationsCommand.d.ts +4 -4
  63. package/dist-types/commands/DescribeMatchmakingRuleSetsCommand.d.ts +3 -3
  64. package/dist-types/commands/DescribePlayerSessionsCommand.d.ts +9 -9
  65. package/dist-types/commands/DescribeRuntimeConfigurationCommand.d.ts +5 -5
  66. package/dist-types/commands/DescribeScalingPoliciesCommand.d.ts +2 -2
  67. package/dist-types/commands/DescribeScriptCommand.d.ts +6 -6
  68. package/dist-types/commands/DescribeVpcPeeringAuthorizationsCommand.d.ts +1 -1
  69. package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +2 -2
  70. package/dist-types/commands/GetComputeAccessCommand.d.ts +7 -7
  71. package/dist-types/commands/GetComputeAuthTokenCommand.d.ts +4 -4
  72. package/dist-types/commands/GetGameSessionLogUrlCommand.d.ts +4 -4
  73. package/dist-types/commands/GetInstanceAccessCommand.d.ts +9 -9
  74. package/dist-types/commands/ListAliasesCommand.d.ts +4 -4
  75. package/dist-types/commands/ListBuildsCommand.d.ts +5 -5
  76. package/dist-types/commands/ListFleetsCommand.d.ts +10 -10
  77. package/dist-types/commands/ListGameServersCommand.d.ts +5 -5
  78. package/dist-types/commands/ListScriptsCommand.d.ts +5 -5
  79. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -31
  80. package/dist-types/commands/PutScalingPolicyCommand.d.ts +14 -14
  81. package/dist-types/commands/RegisterComputeCommand.d.ts +5 -5
  82. package/dist-types/commands/RegisterGameServerCommand.d.ts +10 -10
  83. package/dist-types/commands/RequestUploadCredentialsCommand.d.ts +5 -5
  84. package/dist-types/commands/ResolveAliasCommand.d.ts +2 -2
  85. package/dist-types/commands/ResumeGameServerGroupCommand.d.ts +6 -6
  86. package/dist-types/commands/SearchGameSessionsCommand.d.ts +20 -20
  87. package/dist-types/commands/StartFleetActionsCommand.d.ts +6 -6
  88. package/dist-types/commands/StartGameSessionPlacementCommand.d.ts +11 -11
  89. package/dist-types/commands/StartMatchBackfillCommand.d.ts +9 -9
  90. package/dist-types/commands/StartMatchmakingCommand.d.ts +8 -8
  91. package/dist-types/commands/StopFleetActionsCommand.d.ts +7 -7
  92. package/dist-types/commands/StopMatchmakingCommand.d.ts +5 -5
  93. package/dist-types/commands/SuspendGameServerGroupCommand.d.ts +8 -8
  94. package/dist-types/commands/TagResourceCommand.d.ts +10 -34
  95. package/dist-types/commands/UntagResourceCommand.d.ts +10 -34
  96. package/dist-types/commands/UpdateAliasCommand.d.ts +2 -2
  97. package/dist-types/commands/UpdateBuildCommand.d.ts +3 -3
  98. package/dist-types/commands/UpdateFleetAttributesCommand.d.ts +5 -5
  99. package/dist-types/commands/UpdateFleetCapacityCommand.d.ts +10 -10
  100. package/dist-types/commands/UpdateFleetPortSettingsCommand.d.ts +5 -5
  101. package/dist-types/commands/UpdateGameServerCommand.d.ts +12 -12
  102. package/dist-types/commands/UpdateGameServerGroupCommand.d.ts +8 -8
  103. package/dist-types/commands/UpdateGameSessionCommand.d.ts +5 -5
  104. package/dist-types/commands/UpdateGameSessionQueueCommand.d.ts +3 -3
  105. package/dist-types/commands/UpdateMatchmakingConfigurationCommand.d.ts +2 -2
  106. package/dist-types/commands/UpdateRuntimeConfigurationCommand.d.ts +5 -5
  107. package/dist-types/commands/UpdateScriptCommand.d.ts +8 -8
  108. package/dist-types/commands/ValidateMatchmakingRuleSetCommand.d.ts +3 -3
  109. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  110. package/dist-types/models/models_0.d.ts +591 -591
  111. package/dist-types/models/models_1.d.ts +22 -22
  112. package/dist-types/ts3.4/GameLift.d.ts +2 -1
  113. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  114. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  115. package/package.json +6 -6
@@ -1,4 +1,4 @@
1
- const r = "fn", s = "argv", t = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://gamelift-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://gamelift-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://gamelift.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://gamelift.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://gamelift-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://gamelift-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://gamelift.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://gamelift.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -73,6 +73,7 @@ export const OperatingSystem = {
73
73
  AMAZON_LINUX: "AMAZON_LINUX",
74
74
  AMAZON_LINUX_2: "AMAZON_LINUX_2",
75
75
  WINDOWS_2012: "WINDOWS_2012",
76
+ WINDOWS_2016: "WINDOWS_2016",
76
77
  };
77
78
  export const BuildStatus = {
78
79
  FAILED: "FAILED",
@@ -890,6 +890,9 @@ const de_CreateFleetLocationsCommandError = async (output, context) => {
890
890
  case "InvalidRequestException":
891
891
  case "com.amazonaws.gamelift#InvalidRequestException":
892
892
  throw await de_InvalidRequestExceptionRes(parsedOutput, context);
893
+ case "LimitExceededException":
894
+ case "com.amazonaws.gamelift#LimitExceededException":
895
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
893
896
  case "NotFoundException":
894
897
  case "com.amazonaws.gamelift#NotFoundException":
895
898
  throw await de_NotFoundExceptionRes(parsedOutput, context);