aws-sdk-gamelift 1.71.0 → 1.72.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 66dd322059b1ec89a95388a41e33b8ee8e75aa31899e13e78e8b30b9cd4bdfe1
4
- data.tar.gz: 6e16a03cf2216f7d7fb13d3824d62a165b26db7274f0843ed63625511aa60fe5
3
+ metadata.gz: c474bc0214254c7fd73adf0837d1466cf8ef4c430260057393573d196cffac0d
4
+ data.tar.gz: 66cbaef070d5ac3fb1c30fb8926c77e162c937f5ec1849de62f4b6eba7e0af61
5
5
  SHA512:
6
- metadata.gz: d27d9328183441c3a80c2458545d26d6c60ea489f1db67af89931208b09b813a908f77481a2cd3e8f6d148f71bde76ea996846afdcb8d46c2bd0ff36c17ae5fd
7
- data.tar.gz: cd59d7c0381f58ca402b19ad3c78e39e9fe42a4f485305683c617eb2f798010598d533108f3e51afb8e346029a209af21cec5a60ceb757085fc13e77c98a8578
6
+ metadata.gz: e15d86889e14f4eb27a1a333f5cc45d2e9c7d30e47f14a6af43bf465eba92ccc861caf8d25af1cdfd0abd829088cafb44380c8ba01f0773377b757392f1da6e9
7
+ data.tar.gz: 42d2559732e063162750cb7a8fc66efeed42375d6f4ec1f48664e66d04c47b9d9dd34f2779cacfffe97b489e606d06fa46f6fdffa793f500f23289724affca33
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.72.0 (2023-11-02)
5
+ ------------------
6
+
7
+ * Feature - Amazon GameLift adds support for shared credentials, which allows applications that are deployed on managed EC2 fleets to interact with other AWS resources.
8
+
4
9
  1.71.0 (2023-09-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.71.0
1
+ 1.72.0
@@ -454,7 +454,7 @@ module Aws::GameLift
454
454
  #
455
455
  # resp = client.accept_match({
456
456
  # ticket_id: "MatchmakingIdStringModel", # required
457
- # player_ids: ["NonZeroAndMaxString"], # required
457
+ # player_ids: ["PlayerId"], # required
458
458
  # acceptance_type: "ACCEPT", # required, accepts ACCEPT, REJECT
459
459
  # })
460
460
  #
@@ -860,7 +860,16 @@ module Aws::GameLift
860
860
  #
861
861
  # If successful, this operation creates a new Fleet resource and places
862
862
  # it in `NEW` status, which prompts Amazon GameLift to initiate the
863
- # [fleet creation workflow][1].
863
+ # [fleet creation workflow][1]. You can track fleet creation by checking
864
+ # fleet status using DescribeFleetAttributes and
865
+ # DescribeFleetLocationAttributes/, or by monitoring fleet creation
866
+ # events using DescribeFleetEvents.
867
+ #
868
+ # When the fleet status changes to `ACTIVE`, you can enable automatic
869
+ # scaling with PutScalingPolicy and set capacity for the home Region
870
+ # with UpdateFleetCapacity. When the status of each remote location
871
+ # reaches `ACTIVE`, you can set capacity by location using
872
+ # UpdateFleetCapacity.
864
873
  #
865
874
  # **Learn more**
866
875
  #
@@ -887,13 +896,14 @@ module Aws::GameLift
887
896
  # The unique identifier for a custom game server build to be deployed on
888
897
  # fleet instances. You can use either the build ID or ARN. The build
889
898
  # must be uploaded to Amazon GameLift and in `READY` status. This fleet
890
- # property cannot be changed later.
899
+ # property can't be changed after the fleet is created.
891
900
  #
892
901
  # @option params [String] :script_id
893
902
  # The unique identifier for a Realtime configuration script to be
894
903
  # deployed on fleet instances. You can use either the script ID or ARN.
895
904
  # Scripts must be uploaded to Amazon GameLift prior to creating the
896
- # fleet. This fleet property cannot be changed later.
905
+ # fleet. This fleet property can't be changed after the fleet is
906
+ # created.
897
907
  #
898
908
  # @option params [String] :server_launch_path
899
909
  # **This parameter is no longer used.** Specify a server launch path
@@ -996,28 +1006,27 @@ module Aws::GameLift
996
1006
  # @option params [String] :fleet_type
997
1007
  # Indicates whether to use On-Demand or Spot instances for this fleet.
998
1008
  # By default, this property is set to `ON_DEMAND`. Learn more about when
999
- # to use [ On-Demand versus Spot Instances][1]. This property cannot be
1000
- # changed after the fleet is created.
1009
+ # to use [ On-Demand versus Spot Instances][1]. This fleet property
1010
+ # can't be changed after the fleet is created.
1001
1011
  #
1002
1012
  #
1003
1013
  #
1004
1014
  # [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-ec2-instances.html#gamelift-ec2-instances-spot
1005
1015
  #
1006
1016
  # @option params [String] :instance_role_arn
1007
- # A unique identifier for an IAM role that manages access to your Amazon
1008
- # Web Services services. With an instance role ARN set, any application
1009
- # that runs on an instance in this fleet can assume the role, including
1010
- # install scripts, server processes, and daemons (background processes).
1011
- # Create a role or look up a role's ARN by using the [IAM dashboard][1]
1012
- # in the Amazon Web Services Management Console. Learn more about using
1013
- # on-box credentials for your game servers at [ Access external
1014
- # resources from a game server][2]. This property cannot be changed
1015
- # after the fleet is created.
1017
+ # A unique identifier for an IAM role with access permissions to other
1018
+ # Amazon Web Services services. Any application that runs on an instance
1019
+ # in the fleet--including install scripts, server processes, and other
1020
+ # processes--can use these permissions to interact with Amazon Web
1021
+ # Services resources that you own or have access to. For more
1022
+ # information about using the role with your game server builds, see [
1023
+ # Communicate with other Amazon Web Services resources from your
1024
+ # fleets][1]. This fleet property can't be changed after the fleet is
1025
+ # created.
1016
1026
  #
1017
1027
  #
1018
1028
  #
1019
- # [1]: https://console.aws.amazon.com/iam/
1020
- # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html
1029
+ # [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html
1021
1030
  #
1022
1031
  # @option params [Types::CertificateConfiguration] :certificate_configuration
1023
1032
  # Prompts Amazon GameLift to generate a TLS/SSL certificate for the
@@ -1076,6 +1085,20 @@ module Aws::GameLift
1076
1085
  # @option params [Types::AnywhereConfiguration] :anywhere_configuration
1077
1086
  # Amazon GameLift Anywhere configuration options.
1078
1087
  #
1088
+ # @option params [String] :instance_role_credentials_provider
1089
+ # Prompts Amazon GameLift to generate a shared credentials file for the
1090
+ # IAM role defined in `InstanceRoleArn`. The shared credentials file is
1091
+ # stored on each fleet instance and refreshed as needed. Use shared
1092
+ # credentials for applications that are deployed along with the game
1093
+ # server executable, if the game server is integrated with server SDK
1094
+ # version 5.x. For more information about using shared credentials, see
1095
+ # [ Communicate with other Amazon Web Services resources from your
1096
+ # fleets][1].
1097
+ #
1098
+ #
1099
+ #
1100
+ # [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html
1101
+ #
1079
1102
  # @return [Types::CreateFleetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1080
1103
  #
1081
1104
  # * {Types::CreateFleetOutput#fleet_attributes #fleet_attributes} => Types::FleetAttributes
@@ -1096,7 +1119,7 @@ module Aws::GameLift
1096
1119
  # {
1097
1120
  # from_port: 1, # required
1098
1121
  # to_port: 1, # required
1099
- # ip_range: "NonBlankString", # required
1122
+ # ip_range: "IpRange", # required
1100
1123
  # protocol: "TCP", # required, accepts TCP, UDP
1101
1124
  # },
1102
1125
  # ],
@@ -1139,6 +1162,7 @@ module Aws::GameLift
1139
1162
  # anywhere_configuration: {
1140
1163
  # cost: "NonNegativeLimitedLengthDouble", # required
1141
1164
  # },
1165
+ # instance_role_credentials_provider: "SHARED_CREDENTIAL_FILE", # accepts SHARED_CREDENTIAL_FILE
1142
1166
  # })
1143
1167
  #
1144
1168
  # @example Response structure
@@ -1172,6 +1196,7 @@ module Aws::GameLift
1172
1196
  # resp.fleet_attributes.certificate_configuration.certificate_type #=> String, one of "DISABLED", "GENERATED"
1173
1197
  # resp.fleet_attributes.compute_type #=> String, one of "EC2", "ANYWHERE"
1174
1198
  # resp.fleet_attributes.anywhere_configuration.cost #=> String
1199
+ # resp.fleet_attributes.instance_role_credentials_provider #=> String, one of "SHARED_CREDENTIAL_FILE"
1175
1200
  # resp.location_states #=> Array
1176
1201
  # resp.location_states[0].location #=> String
1177
1202
  # resp.location_states[0].status #=> String, one of "NEW", "DOWNLOADING", "VALIDATING", "BUILDING", "ACTIVATING", "ACTIVE", "DELETING", "ERROR", "TERMINATED", "NOT_FOUND"
@@ -2288,7 +2313,7 @@ module Aws::GameLift
2288
2313
  #
2289
2314
  # resp = client.create_player_session({
2290
2315
  # game_session_id: "ArnStringModel", # required
2291
- # player_id: "NonZeroAndMaxString", # required
2316
+ # player_id: "PlayerId", # required
2292
2317
  # player_data: "PlayerData",
2293
2318
  # })
2294
2319
  #
@@ -2366,7 +2391,7 @@ module Aws::GameLift
2366
2391
  #
2367
2392
  # resp = client.create_player_sessions({
2368
2393
  # game_session_id: "ArnStringModel", # required
2369
- # player_ids: ["NonZeroAndMaxString"], # required
2394
+ # player_ids: ["PlayerId"], # required
2370
2395
  # player_data_map: {
2371
2396
  # "NonZeroAndMaxString" => "PlayerData",
2372
2397
  # },
@@ -3015,7 +3040,7 @@ module Aws::GameLift
3015
3040
  #
3016
3041
  # Before deleting a custom location, review any fleets currently using
3017
3042
  # the custom location and deregister the location if it is in use. For
3018
- # more information see, [DeregisterCompute][1].
3043
+ # more information, see [DeregisterCompute][1].
3019
3044
  #
3020
3045
  #
3021
3046
  #
@@ -3699,6 +3724,7 @@ module Aws::GameLift
3699
3724
  # resp.fleet_attributes[0].certificate_configuration.certificate_type #=> String, one of "DISABLED", "GENERATED"
3700
3725
  # resp.fleet_attributes[0].compute_type #=> String, one of "EC2", "ANYWHERE"
3701
3726
  # resp.fleet_attributes[0].anywhere_configuration.cost #=> String
3727
+ # resp.fleet_attributes[0].instance_role_credentials_provider #=> String, one of "SHARED_CREDENTIAL_FILE"
3702
3728
  # resp.next_token #=> String
3703
3729
  #
3704
3730
  # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetAttributes AWS API Documentation
@@ -5299,7 +5325,7 @@ module Aws::GameLift
5299
5325
  #
5300
5326
  # resp = client.describe_player_sessions({
5301
5327
  # game_session_id: "ArnStringModel",
5302
- # player_id: "NonZeroAndMaxString",
5328
+ # player_id: "PlayerId",
5303
5329
  # player_session_id: "PlayerSessionId",
5304
5330
  # player_session_status_filter: "NonZeroAndMaxString",
5305
5331
  # limit: 1,
@@ -7488,14 +7514,14 @@ module Aws::GameLift
7488
7514
  # game_session_name: "NonZeroAndMaxString",
7489
7515
  # player_latencies: [
7490
7516
  # {
7491
- # player_id: "NonZeroAndMaxString",
7517
+ # player_id: "PlayerId",
7492
7518
  # region_identifier: "NonZeroAndMaxString",
7493
7519
  # latency_in_milliseconds: 1.0,
7494
7520
  # },
7495
7521
  # ],
7496
7522
  # desired_player_sessions: [
7497
7523
  # {
7498
- # player_id: "NonZeroAndMaxString",
7524
+ # player_id: "PlayerId",
7499
7525
  # player_data: "PlayerData",
7500
7526
  # },
7501
7527
  # ],
@@ -7641,7 +7667,7 @@ module Aws::GameLift
7641
7667
  # game_session_arn: "ArnStringModel",
7642
7668
  # players: [ # required
7643
7669
  # {
7644
- # player_id: "NonZeroAndMaxString",
7670
+ # player_id: "PlayerId",
7645
7671
  # player_attributes: {
7646
7672
  # "NonZeroAndMaxString" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
7647
7673
  # },
@@ -7755,7 +7781,7 @@ module Aws::GameLift
7755
7781
  # configuration_name: "MatchmakingConfigurationName", # required
7756
7782
  # players: [ # required
7757
7783
  # {
7758
- # player_id: "NonZeroAndMaxString",
7784
+ # player_id: "PlayerId",
7759
7785
  # player_attributes: {
7760
7786
  # "NonZeroAndMaxString" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
7761
7787
  # },
@@ -8549,7 +8575,7 @@ module Aws::GameLift
8549
8575
  # {
8550
8576
  # from_port: 1, # required
8551
8577
  # to_port: 1, # required
8552
- # ip_range: "NonBlankString", # required
8578
+ # ip_range: "IpRange", # required
8553
8579
  # protocol: "TCP", # required, accepts TCP, UDP
8554
8580
  # },
8555
8581
  # ],
@@ -8557,7 +8583,7 @@ module Aws::GameLift
8557
8583
  # {
8558
8584
  # from_port: 1, # required
8559
8585
  # to_port: 1, # required
8560
- # ip_range: "NonBlankString", # required
8586
+ # ip_range: "IpRange", # required
8561
8587
  # protocol: "TCP", # required, accepts TCP, UDP
8562
8588
  # },
8563
8589
  # ],
@@ -9441,7 +9467,7 @@ module Aws::GameLift
9441
9467
  params: params,
9442
9468
  config: config)
9443
9469
  context[:gem_name] = 'aws-sdk-gamelift'
9444
- context[:gem_version] = '1.71.0'
9470
+ context[:gem_version] = '1.72.0'
9445
9471
  Seahorse::Client::Request.new(handlers, context)
9446
9472
  end
9447
9473
 
@@ -269,6 +269,7 @@ module Aws::GameLift
269
269
  InstanceDefinitions = Shapes::ListShape.new(name: 'InstanceDefinitions')
270
270
  InstanceId = Shapes::StringShape.new(name: 'InstanceId')
271
271
  InstanceList = Shapes::ListShape.new(name: 'InstanceList')
272
+ InstanceRoleCredentialsProvider = Shapes::StringShape.new(name: 'InstanceRoleCredentialsProvider')
272
273
  InstanceStatus = Shapes::StringShape.new(name: 'InstanceStatus')
273
274
  Integer = Shapes::IntegerShape.new(name: 'Integer')
274
275
  InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
@@ -279,6 +280,7 @@ module Aws::GameLift
279
280
  IpPermission = Shapes::StructureShape.new(name: 'IpPermission')
280
281
  IpPermissionsList = Shapes::ListShape.new(name: 'IpPermissionsList')
281
282
  IpProtocol = Shapes::StringShape.new(name: 'IpProtocol')
283
+ IpRange = Shapes::StringShape.new(name: 'IpRange')
282
284
  LargeGameSessionData = Shapes::StringShape.new(name: 'LargeGameSessionData')
283
285
  LatencyMap = Shapes::MapShape.new(name: 'LatencyMap')
284
286
  LaunchParametersStringModel = Shapes::StringShape.new(name: 'LaunchParametersStringModel')
@@ -346,7 +348,6 @@ module Aws::GameLift
346
348
  MetricGroupList = Shapes::ListShape.new(name: 'MetricGroupList')
347
349
  MetricName = Shapes::StringShape.new(name: 'MetricName')
348
350
  NonBlankAndLengthConstraintString = Shapes::StringShape.new(name: 'NonBlankAndLengthConstraintString')
349
- NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
350
351
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
351
352
  NonNegativeDouble = Shapes::FloatShape.new(name: 'NonNegativeDouble')
352
353
  NonNegativeLimitedLengthDouble = Shapes::StringShape.new(name: 'NonNegativeLimitedLengthDouble')
@@ -363,7 +364,9 @@ module Aws::GameLift
363
364
  PlayerAttributeStringList = Shapes::ListShape.new(name: 'PlayerAttributeStringList')
364
365
  PlayerData = Shapes::StringShape.new(name: 'PlayerData')
365
366
  PlayerDataMap = Shapes::MapShape.new(name: 'PlayerDataMap')
367
+ PlayerId = Shapes::StringShape.new(name: 'PlayerId')
366
368
  PlayerIdList = Shapes::ListShape.new(name: 'PlayerIdList')
369
+ PlayerIdsForAcceptMatch = Shapes::ListShape.new(name: 'PlayerIdsForAcceptMatch')
367
370
  PlayerLatency = Shapes::StructureShape.new(name: 'PlayerLatency')
368
371
  PlayerLatencyList = Shapes::ListShape.new(name: 'PlayerLatencyList')
369
372
  PlayerLatencyPolicy = Shapes::StructureShape.new(name: 'PlayerLatencyPolicy')
@@ -492,7 +495,7 @@ module Aws::GameLift
492
495
  ZipBlob = Shapes::BlobShape.new(name: 'ZipBlob')
493
496
 
494
497
  AcceptMatchInput.add_member(:ticket_id, Shapes::ShapeRef.new(shape: MatchmakingIdStringModel, required: true, location_name: "TicketId"))
495
- AcceptMatchInput.add_member(:player_ids, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "PlayerIds"))
498
+ AcceptMatchInput.add_member(:player_ids, Shapes::ShapeRef.new(shape: PlayerIdsForAcceptMatch, required: true, location_name: "PlayerIds"))
496
499
  AcceptMatchInput.add_member(:acceptance_type, Shapes::ShapeRef.new(shape: AcceptanceType, required: true, location_name: "AcceptanceType"))
497
500
  AcceptMatchInput.struct_class = Types::AcceptMatchInput
498
501
 
@@ -614,6 +617,7 @@ module Aws::GameLift
614
617
  CreateFleetInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
615
618
  CreateFleetInput.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "ComputeType"))
616
619
  CreateFleetInput.add_member(:anywhere_configuration, Shapes::ShapeRef.new(shape: AnywhereConfiguration, location_name: "AnywhereConfiguration"))
620
+ CreateFleetInput.add_member(:instance_role_credentials_provider, Shapes::ShapeRef.new(shape: InstanceRoleCredentialsProvider, location_name: "InstanceRoleCredentialsProvider"))
617
621
  CreateFleetInput.struct_class = Types::CreateFleetInput
618
622
 
619
623
  CreateFleetLocationsInput.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetIdOrArn, required: true, location_name: "FleetId"))
@@ -710,7 +714,7 @@ module Aws::GameLift
710
714
  CreateMatchmakingRuleSetOutput.struct_class = Types::CreateMatchmakingRuleSetOutput
711
715
 
712
716
  CreatePlayerSessionInput.add_member(:game_session_id, Shapes::ShapeRef.new(shape: ArnStringModel, required: true, location_name: "GameSessionId"))
713
- CreatePlayerSessionInput.add_member(:player_id, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, required: true, location_name: "PlayerId"))
717
+ CreatePlayerSessionInput.add_member(:player_id, Shapes::ShapeRef.new(shape: PlayerId, required: true, location_name: "PlayerId"))
714
718
  CreatePlayerSessionInput.add_member(:player_data, Shapes::ShapeRef.new(shape: PlayerData, location_name: "PlayerData"))
715
719
  CreatePlayerSessionInput.struct_class = Types::CreatePlayerSessionInput
716
720
 
@@ -1025,7 +1029,7 @@ module Aws::GameLift
1025
1029
  DescribeMatchmakingRuleSetsOutput.struct_class = Types::DescribeMatchmakingRuleSetsOutput
1026
1030
 
1027
1031
  DescribePlayerSessionsInput.add_member(:game_session_id, Shapes::ShapeRef.new(shape: ArnStringModel, location_name: "GameSessionId"))
1028
- DescribePlayerSessionsInput.add_member(:player_id, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "PlayerId"))
1032
+ DescribePlayerSessionsInput.add_member(:player_id, Shapes::ShapeRef.new(shape: PlayerId, location_name: "PlayerId"))
1029
1033
  DescribePlayerSessionsInput.add_member(:player_session_id, Shapes::ShapeRef.new(shape: PlayerSessionId, location_name: "PlayerSessionId"))
1030
1034
  DescribePlayerSessionsInput.add_member(:player_session_status_filter, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "PlayerSessionStatusFilter"))
1031
1035
  DescribePlayerSessionsInput.add_member(:limit, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "Limit"))
@@ -1070,7 +1074,7 @@ module Aws::GameLift
1070
1074
  DescribeVpcPeeringConnectionsOutput.add_member(:vpc_peering_connections, Shapes::ShapeRef.new(shape: VpcPeeringConnectionList, location_name: "VpcPeeringConnections"))
1071
1075
  DescribeVpcPeeringConnectionsOutput.struct_class = Types::DescribeVpcPeeringConnectionsOutput
1072
1076
 
1073
- DesiredPlayerSession.add_member(:player_id, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "PlayerId"))
1077
+ DesiredPlayerSession.add_member(:player_id, Shapes::ShapeRef.new(shape: PlayerId, location_name: "PlayerId"))
1074
1078
  DesiredPlayerSession.add_member(:player_data, Shapes::ShapeRef.new(shape: PlayerData, location_name: "PlayerData"))
1075
1079
  DesiredPlayerSession.struct_class = Types::DesiredPlayerSession
1076
1080
 
@@ -1135,6 +1139,7 @@ module Aws::GameLift
1135
1139
  FleetAttributes.add_member(:certificate_configuration, Shapes::ShapeRef.new(shape: CertificateConfiguration, location_name: "CertificateConfiguration"))
1136
1140
  FleetAttributes.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "ComputeType"))
1137
1141
  FleetAttributes.add_member(:anywhere_configuration, Shapes::ShapeRef.new(shape: AnywhereConfiguration, location_name: "AnywhereConfiguration"))
1142
+ FleetAttributes.add_member(:instance_role_credentials_provider, Shapes::ShapeRef.new(shape: InstanceRoleCredentialsProvider, location_name: "InstanceRoleCredentialsProvider"))
1138
1143
  FleetAttributes.struct_class = Types::FleetAttributes
1139
1144
 
1140
1145
  FleetAttributesList.member = Shapes::ShapeRef.new(shape: FleetAttributes)
@@ -1382,7 +1387,7 @@ module Aws::GameLift
1382
1387
 
1383
1388
  IpPermission.add_member(:from_port, Shapes::ShapeRef.new(shape: PortNumber, required: true, location_name: "FromPort"))
1384
1389
  IpPermission.add_member(:to_port, Shapes::ShapeRef.new(shape: PortNumber, required: true, location_name: "ToPort"))
1385
- IpPermission.add_member(:ip_range, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "IpRange"))
1390
+ IpPermission.add_member(:ip_range, Shapes::ShapeRef.new(shape: IpRange, required: true, location_name: "IpRange"))
1386
1391
  IpPermission.add_member(:protocol, Shapes::ShapeRef.new(shape: IpProtocol, required: true, location_name: "Protocol"))
1387
1392
  IpPermission.struct_class = Types::IpPermission
1388
1393
 
@@ -1507,7 +1512,7 @@ module Aws::GameLift
1507
1512
 
1508
1513
  LocationStateList.member = Shapes::ShapeRef.new(shape: LocationState)
1509
1514
 
1510
- MatchedPlayerSession.add_member(:player_id, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "PlayerId"))
1515
+ MatchedPlayerSession.add_member(:player_id, Shapes::ShapeRef.new(shape: PlayerId, location_name: "PlayerId"))
1511
1516
  MatchedPlayerSession.add_member(:player_session_id, Shapes::ShapeRef.new(shape: PlayerSessionId, location_name: "PlayerSessionId"))
1512
1517
  MatchedPlayerSession.struct_class = Types::MatchedPlayerSession
1513
1518
 
@@ -1571,13 +1576,13 @@ module Aws::GameLift
1571
1576
  OutOfCapacityException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
1572
1577
  OutOfCapacityException.struct_class = Types::OutOfCapacityException
1573
1578
 
1574
- PlacedPlayerSession.add_member(:player_id, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "PlayerId"))
1579
+ PlacedPlayerSession.add_member(:player_id, Shapes::ShapeRef.new(shape: PlayerId, location_name: "PlayerId"))
1575
1580
  PlacedPlayerSession.add_member(:player_session_id, Shapes::ShapeRef.new(shape: PlayerSessionId, location_name: "PlayerSessionId"))
1576
1581
  PlacedPlayerSession.struct_class = Types::PlacedPlayerSession
1577
1582
 
1578
1583
  PlacedPlayerSessionList.member = Shapes::ShapeRef.new(shape: PlacedPlayerSession)
1579
1584
 
1580
- Player.add_member(:player_id, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "PlayerId"))
1585
+ Player.add_member(:player_id, Shapes::ShapeRef.new(shape: PlayerId, location_name: "PlayerId"))
1581
1586
  Player.add_member(:player_attributes, Shapes::ShapeRef.new(shape: PlayerAttributeMap, location_name: "PlayerAttributes"))
1582
1587
  Player.add_member(:team, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "Team"))
1583
1588
  Player.add_member(:latency_in_ms, Shapes::ShapeRef.new(shape: LatencyMap, location_name: "LatencyInMs"))
@@ -1594,9 +1599,11 @@ module Aws::GameLift
1594
1599
  PlayerDataMap.key = Shapes::ShapeRef.new(shape: NonZeroAndMaxString)
1595
1600
  PlayerDataMap.value = Shapes::ShapeRef.new(shape: PlayerData)
1596
1601
 
1597
- PlayerIdList.member = Shapes::ShapeRef.new(shape: NonZeroAndMaxString)
1602
+ PlayerIdList.member = Shapes::ShapeRef.new(shape: PlayerId)
1598
1603
 
1599
- PlayerLatency.add_member(:player_id, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "PlayerId"))
1604
+ PlayerIdsForAcceptMatch.member = Shapes::ShapeRef.new(shape: PlayerId)
1605
+
1606
+ PlayerLatency.add_member(:player_id, Shapes::ShapeRef.new(shape: PlayerId, location_name: "PlayerId"))
1600
1607
  PlayerLatency.add_member(:region_identifier, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "RegionIdentifier"))
1601
1608
  PlayerLatency.add_member(:latency_in_milliseconds, Shapes::ShapeRef.new(shape: Float, location_name: "LatencyInMilliseconds"))
1602
1609
  PlayerLatency.struct_class = Types::PlayerLatency
@@ -1612,7 +1619,7 @@ module Aws::GameLift
1612
1619
  PlayerList.member = Shapes::ShapeRef.new(shape: Player)
1613
1620
 
1614
1621
  PlayerSession.add_member(:player_session_id, Shapes::ShapeRef.new(shape: PlayerSessionId, location_name: "PlayerSessionId"))
1615
- PlayerSession.add_member(:player_id, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "PlayerId"))
1622
+ PlayerSession.add_member(:player_id, Shapes::ShapeRef.new(shape: PlayerId, location_name: "PlayerId"))
1616
1623
  PlayerSession.add_member(:game_session_id, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "GameSessionId"))
1617
1624
  PlayerSession.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, location_name: "FleetId"))
1618
1625
  PlayerSession.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, location_name: "FleetArn"))
@@ -3133,6 +3140,7 @@ module Aws::GameLift
3133
3140
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3134
3141
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3135
3142
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3143
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3136
3144
  end)
3137
3145
 
3138
3146
  api.add_operation(:register_game_server, Seahorse::Model::Operation.new.tap do |o|
@@ -32,7 +32,7 @@ module Aws::GameLift
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://gamelift-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -30,7 +30,7 @@ module Aws::GameLift
30
30
  :ticket_id,
31
31
  :player_ids,
32
32
  :acceptance_type)
33
- SENSITIVE = []
33
+ SENSITIVE = [:player_ids]
34
34
  include Aws::Structure
35
35
  end
36
36
 
@@ -477,7 +477,7 @@ module Aws::GameLift
477
477
  :operating_system,
478
478
  :type,
479
479
  :game_lift_service_sdk_endpoint)
480
- SENSITIVE = []
480
+ SENSITIVE = [:ip_address]
481
481
  include Aws::Structure
482
482
  end
483
483
 
@@ -675,14 +675,15 @@ module Aws::GameLift
675
675
  # The unique identifier for a custom game server build to be deployed
676
676
  # on fleet instances. You can use either the build ID or ARN. The
677
677
  # build must be uploaded to Amazon GameLift and in `READY` status.
678
- # This fleet property cannot be changed later.
678
+ # This fleet property can't be changed after the fleet is created.
679
679
  # @return [String]
680
680
  #
681
681
  # @!attribute [rw] script_id
682
682
  # The unique identifier for a Realtime configuration script to be
683
683
  # deployed on fleet instances. You can use either the script ID or
684
684
  # ARN. Scripts must be uploaded to Amazon GameLift prior to creating
685
- # the fleet. This fleet property cannot be changed later.
685
+ # the fleet. This fleet property can't be changed after the fleet is
686
+ # created.
686
687
  # @return [String]
687
688
  #
688
689
  # @!attribute [rw] server_launch_path
@@ -797,8 +798,8 @@ module Aws::GameLift
797
798
  # @!attribute [rw] fleet_type
798
799
  # Indicates whether to use On-Demand or Spot instances for this fleet.
799
800
  # By default, this property is set to `ON_DEMAND`. Learn more about
800
- # when to use [ On-Demand versus Spot Instances][1]. This property
801
- # cannot be changed after the fleet is created.
801
+ # when to use [ On-Demand versus Spot Instances][1]. This fleet
802
+ # property can't be changed after the fleet is created.
802
803
  #
803
804
  #
804
805
  #
@@ -806,20 +807,19 @@ module Aws::GameLift
806
807
  # @return [String]
807
808
  #
808
809
  # @!attribute [rw] instance_role_arn
809
- # A unique identifier for an IAM role that manages access to your
810
- # Amazon Web Services services. With an instance role ARN set, any
811
- # application that runs on an instance in this fleet can assume the
812
- # role, including install scripts, server processes, and daemons
813
- # (background processes). Create a role or look up a role's ARN by
814
- # using the [IAM dashboard][1] in the Amazon Web Services Management
815
- # Console. Learn more about using on-box credentials for your game
816
- # servers at [ Access external resources from a game server][2]. This
817
- # property cannot be changed after the fleet is created.
810
+ # A unique identifier for an IAM role with access permissions to other
811
+ # Amazon Web Services services. Any application that runs on an
812
+ # instance in the fleet--including install scripts, server processes,
813
+ # and other processes--can use these permissions to interact with
814
+ # Amazon Web Services resources that you own or have access to. For
815
+ # more information about using the role with your game server builds,
816
+ # see [ Communicate with other Amazon Web Services resources from your
817
+ # fleets][1]. This fleet property can't be changed after the fleet is
818
+ # created.
818
819
  #
819
820
  #
820
821
  #
821
- # [1]: https://console.aws.amazon.com/iam/
822
- # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html
822
+ # [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html
823
823
  # @return [String]
824
824
  #
825
825
  # @!attribute [rw] certificate_configuration
@@ -885,6 +885,21 @@ module Aws::GameLift
885
885
  # Amazon GameLift Anywhere configuration options.
886
886
  # @return [Types::AnywhereConfiguration]
887
887
  #
888
+ # @!attribute [rw] instance_role_credentials_provider
889
+ # Prompts Amazon GameLift to generate a shared credentials file for
890
+ # the IAM role defined in `InstanceRoleArn`. The shared credentials
891
+ # file is stored on each fleet instance and refreshed as needed. Use
892
+ # shared credentials for applications that are deployed along with the
893
+ # game server executable, if the game server is integrated with server
894
+ # SDK version 5.x. For more information about using shared
895
+ # credentials, see [ Communicate with other Amazon Web Services
896
+ # resources from your fleets][1].
897
+ #
898
+ #
899
+ #
900
+ # [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html
901
+ # @return [String]
902
+ #
888
903
  # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateFleetInput AWS API Documentation
889
904
  #
890
905
  class CreateFleetInput < Struct.new(
@@ -909,7 +924,8 @@ module Aws::GameLift
909
924
  :locations,
910
925
  :tags,
911
926
  :compute_type,
912
- :anywhere_configuration)
927
+ :anywhere_configuration,
928
+ :instance_role_credentials_provider)
913
929
  SENSITIVE = []
914
930
  include Aws::Structure
915
931
  end
@@ -1679,7 +1695,7 @@ module Aws::GameLift
1679
1695
  :game_session_id,
1680
1696
  :player_id,
1681
1697
  :player_data)
1682
- SENSITIVE = []
1698
+ SENSITIVE = [:player_id]
1683
1699
  include Aws::Structure
1684
1700
  end
1685
1701
 
@@ -1717,7 +1733,7 @@ module Aws::GameLift
1717
1733
  :game_session_id,
1718
1734
  :player_ids,
1719
1735
  :player_data_map)
1720
- SENSITIVE = []
1736
+ SENSITIVE = [:player_ids]
1721
1737
  include Aws::Structure
1722
1738
  end
1723
1739
 
@@ -3357,7 +3373,7 @@ module Aws::GameLift
3357
3373
  :player_session_status_filter,
3358
3374
  :limit,
3359
3375
  :next_token)
3360
- SENSITIVE = []
3376
+ SENSITIVE = [:player_id]
3361
3377
  include Aws::Structure
3362
3378
  end
3363
3379
 
@@ -3572,7 +3588,7 @@ module Aws::GameLift
3572
3588
  class DesiredPlayerSession < Struct.new(
3573
3589
  :player_id,
3574
3590
  :player_data)
3575
- SENSITIVE = []
3591
+ SENSITIVE = [:player_id]
3576
3592
  include Aws::Structure
3577
3593
  end
3578
3594
 
@@ -3938,8 +3954,8 @@ module Aws::GameLift
3938
3954
  # @!attribute [rw] fleet_type
3939
3955
  # Indicates whether to use On-Demand or Spot instances for this fleet.
3940
3956
  # By default, this property is set to `ON_DEMAND`. Learn more about
3941
- # when to use [ On-Demand versus Spot Instances][1]. This property
3942
- # cannot be changed after the fleet is created.
3957
+ # when to use [ On-Demand versus Spot Instances][1]. This fleet
3958
+ # property can't be changed after the fleet is created.
3943
3959
  #
3944
3960
  #
3945
3961
  #
@@ -4102,19 +4118,18 @@ module Aws::GameLift
4102
4118
  # @return [Array<String>]
4103
4119
  #
4104
4120
  # @!attribute [rw] instance_role_arn
4105
- # A unique identifier for an IAM role that manages access to your
4106
- # Amazon Web Services services. With an instance role ARN set, any
4107
- # application that runs on an instance in this fleet can assume the
4108
- # role, including install scripts, server processes, and daemons
4109
- # (background processes). Create a role or look up a role's ARN by
4110
- # using the [IAM dashboard][1] in the Amazon Web Services Management
4111
- # Console. Learn more about using on-box credentials for your game
4112
- # servers at [ Access external resources from a game server][2].
4121
+ # A unique identifier for an IAM role with access permissions to other
4122
+ # Amazon Web Services services. Any application that runs on an
4123
+ # instance in the fleet--including install scripts, server processes,
4124
+ # and other processes--can use these permissions to interact with
4125
+ # Amazon Web Services resources that you own or have access to. For
4126
+ # more information about using the role with your game server builds,
4127
+ # see [ Communicate with other Amazon Web Services resources from your
4128
+ # fleets][1].
4113
4129
  #
4114
4130
  #
4115
4131
  #
4116
- # [1]: https://console.aws.amazon.com/iam/
4117
- # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html
4132
+ # [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html
4118
4133
  # @return [String]
4119
4134
  #
4120
4135
  # @!attribute [rw] certificate_configuration
@@ -4140,6 +4155,21 @@ module Aws::GameLift
4140
4155
  # fleets.
4141
4156
  # @return [Types::AnywhereConfiguration]
4142
4157
  #
4158
+ # @!attribute [rw] instance_role_credentials_provider
4159
+ # Indicates that fleet instances maintain a shared credentials file
4160
+ # for the IAM role defined in `InstanceRoleArn`. Shared credentials
4161
+ # allow applications that are deployed with the game server executable
4162
+ # to communicate with other Amazon Web Services resources. This
4163
+ # property is used only when the game server is integrated with the
4164
+ # server SDK version 5.x. For more information about using shared
4165
+ # credentials, see [ Communicate with other Amazon Web Services
4166
+ # resources from your fleets][1].
4167
+ #
4168
+ #
4169
+ #
4170
+ # [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html
4171
+ # @return [String]
4172
+ #
4143
4173
  # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/FleetAttributes AWS API Documentation
4144
4174
  #
4145
4175
  class FleetAttributes < Struct.new(
@@ -4167,7 +4197,8 @@ module Aws::GameLift
4167
4197
  :instance_role_arn,
4168
4198
  :certificate_configuration,
4169
4199
  :compute_type,
4170
- :anywhere_configuration)
4200
+ :anywhere_configuration,
4201
+ :instance_role_credentials_provider)
4171
4202
  SENSITIVE = []
4172
4203
  include Aws::Structure
4173
4204
  end
@@ -4850,7 +4881,7 @@ module Aws::GameLift
4850
4881
  :game_session_data,
4851
4882
  :matchmaker_data,
4852
4883
  :location)
4853
- SENSITIVE = []
4884
+ SENSITIVE = [:ip_address, :port]
4854
4885
  include Aws::Structure
4855
4886
  end
4856
4887
 
@@ -4908,7 +4939,7 @@ module Aws::GameLift
4908
4939
  :dns_name,
4909
4940
  :port,
4910
4941
  :matched_player_sessions)
4911
- SENSITIVE = []
4942
+ SENSITIVE = [:ip_address]
4912
4943
  include Aws::Structure
4913
4944
  end
4914
4945
 
@@ -5138,7 +5169,7 @@ module Aws::GameLift
5138
5169
  :placed_player_sessions,
5139
5170
  :game_session_data,
5140
5171
  :matchmaker_data)
5141
- SENSITIVE = []
5172
+ SENSITIVE = [:ip_address, :port]
5142
5173
  include Aws::Structure
5143
5174
  end
5144
5175
 
@@ -5571,7 +5602,7 @@ module Aws::GameLift
5571
5602
  :status,
5572
5603
  :creation_time,
5573
5604
  :location)
5574
- SENSITIVE = []
5605
+ SENSITIVE = [:ip_address]
5575
5606
  include Aws::Structure
5576
5607
  end
5577
5608
 
@@ -5608,7 +5639,7 @@ module Aws::GameLift
5608
5639
  :ip_address,
5609
5640
  :operating_system,
5610
5641
  :credentials)
5611
- SENSITIVE = [:credentials]
5642
+ SENSITIVE = [:ip_address, :credentials]
5612
5643
  include Aws::Structure
5613
5644
  end
5614
5645
 
@@ -5778,7 +5809,7 @@ module Aws::GameLift
5778
5809
  :to_port,
5779
5810
  :ip_range,
5780
5811
  :protocol)
5781
- SENSITIVE = []
5812
+ SENSITIVE = [:from_port, :to_port, :ip_range]
5782
5813
  include Aws::Structure
5783
5814
  end
5784
5815
 
@@ -6402,7 +6433,7 @@ module Aws::GameLift
6402
6433
  class MatchedPlayerSession < Struct.new(
6403
6434
  :player_id,
6404
6435
  :player_session_id)
6405
- SENSITIVE = []
6436
+ SENSITIVE = [:player_id]
6406
6437
  include Aws::Structure
6407
6438
  end
6408
6439
 
@@ -6846,7 +6877,7 @@ module Aws::GameLift
6846
6877
  class PlacedPlayerSession < Struct.new(
6847
6878
  :player_id,
6848
6879
  :player_session_id)
6849
- SENSITIVE = []
6880
+ SENSITIVE = [:player_id]
6850
6881
  include Aws::Structure
6851
6882
  end
6852
6883
 
@@ -6893,7 +6924,7 @@ module Aws::GameLift
6893
6924
  :player_attributes,
6894
6925
  :team,
6895
6926
  :latency_in_ms)
6896
- SENSITIVE = []
6927
+ SENSITIVE = [:player_id]
6897
6928
  include Aws::Structure
6898
6929
  end
6899
6930
 
@@ -6923,7 +6954,7 @@ module Aws::GameLift
6923
6954
  :player_id,
6924
6955
  :region_identifier,
6925
6956
  :latency_in_milliseconds)
6926
- SENSITIVE = []
6957
+ SENSITIVE = [:player_id]
6927
6958
  include Aws::Structure
6928
6959
  end
6929
6960
 
@@ -7081,7 +7112,7 @@ module Aws::GameLift
7081
7112
  :dns_name,
7082
7113
  :port,
7083
7114
  :player_data)
7084
- SENSITIVE = []
7115
+ SENSITIVE = [:player_id, :ip_address, :port]
7085
7116
  include Aws::Structure
7086
7117
  end
7087
7118
 
@@ -7317,7 +7348,7 @@ module Aws::GameLift
7317
7348
  :dns_name,
7318
7349
  :ip_address,
7319
7350
  :location)
7320
- SENSITIVE = []
7351
+ SENSITIVE = [:ip_address]
7321
7352
  include Aws::Structure
7322
7353
  end
7323
7354
 
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-gamelift/customizations'
52
52
  # @!group service
53
53
  module Aws::GameLift
54
54
 
55
- GEM_VERSION = '1.71.0'
55
+ GEM_VERSION = '1.72.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-gamelift
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.71.0
4
+ version: 1.72.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core