From 0742a92e9b623ddaf650eaaea4abc3889b8a17f2 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Thu, 17 Aug 2023 18:24:23 +0000 Subject: [PATCH] Regenerated Clients --- .../83aa720304df40d0bb995f09deb94c2d.json | 8 + .../c2e728e0510d4180bae4e8e77c27ec2b.json | 8 + service/ec2/api_op_CreateVpcEndpoint.go | 9 +- service/ec2/api_op_ModifyVpcEndpoint.go | 7 +- service/ec2/serializers.go | 48 +++ service/ec2/types/types.go | 23 ++ service/eks/internal/endpoints/endpoints.go | 3 + service/gamelift/api_op_AcceptMatch.go | 27 +- service/gamelift/api_op_CreateGameSession.go | 25 +- service/gamelift/api_op_DeregisterCompute.go | 9 +- service/gamelift/api_op_DescribeCompute.go | 20 +- .../gamelift/api_op_DescribeFleetCapacity.go | 1 + .../api_op_DescribeFleetLocationCapacity.go | 3 +- service/gamelift/api_op_DescribeInstances.go | 27 +- .../gamelift/api_op_DescribePlayerSessions.go | 9 +- service/gamelift/api_op_GetComputeAccess.go | 45 ++- .../gamelift/api_op_GetComputeAuthToken.go | 31 +- service/gamelift/api_op_GetInstanceAccess.go | 45 ++- service/gamelift/api_op_ListCompute.go | 15 +- service/gamelift/api_op_RegisterCompute.go | 39 +- .../gamelift/api_op_UpdateFleetAttributes.go | 6 +- .../gamelift/api_op_UpdateFleetCapacity.go | 2 + service/gamelift/api_op_UpdateGameServer.go | 17 +- service/gamelift/types/enums.go | 350 ++++++++++++------ service/gamelift/types/types.go | 184 +++++---- .../internal/endpoints/endpoints.go | 8 + 26 files changed, 634 insertions(+), 335 deletions(-) create mode 100644 .changelog/83aa720304df40d0bb995f09deb94c2d.json create mode 100644 .changelog/c2e728e0510d4180bae4e8e77c27ec2b.json diff --git a/.changelog/83aa720304df40d0bb995f09deb94c2d.json b/.changelog/83aa720304df40d0bb995f09deb94c2d.json new file mode 100644 index 00000000000..69752815a00 --- /dev/null +++ b/.changelog/83aa720304df40d0bb995f09deb94c2d.json @@ -0,0 +1,8 @@ +{ + "id": "83aa7203-04df-40d0-bb99-5f09deb94c2d", + "type": "feature", + "description": "Adds support for SubnetConfigurations to allow users to select their own IPv4 and IPv6 addresses for Interface VPC endpoints", + "modules": [ + "service/ec2" + ] +} \ No newline at end of file diff --git a/.changelog/c2e728e0510d4180bae4e8e77c27ec2b.json b/.changelog/c2e728e0510d4180bae4e8e77c27ec2b.json new file mode 100644 index 00000000000..3ceb53ab21d --- /dev/null +++ b/.changelog/c2e728e0510d4180bae4e8e77c27ec2b.json @@ -0,0 +1,8 @@ +{ + "id": "c2e728e0-510d-4180-bae4-e8e77c27ec2b", + "type": "feature", + "description": "Amazon GameLift updates its instance types support.", + "modules": [ + "service/gamelift" + ] +} \ No newline at end of file diff --git a/service/ec2/api_op_CreateVpcEndpoint.go b/service/ec2/api_op_CreateVpcEndpoint.go index a10f124c78e..f236f79fab3 100644 --- a/service/ec2/api_op_CreateVpcEndpoint.go +++ b/service/ec2/api_op_CreateVpcEndpoint.go @@ -88,13 +88,16 @@ type CreateVpcEndpointInput struct { RouteTableIds []string // (Interface endpoint) The IDs of the security groups to associate with the - // endpoint network interface. If this parameter is not specified, we use the + // endpoint network interfaces. If this parameter is not specified, we use the // default security group for the VPC. SecurityGroupIds []string + // The subnet configurations for the endpoint. + SubnetConfigurations []types.SubnetConfiguration + // (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which - // to create an endpoint network interface. For a Gateway Load Balancer endpoint, - // you can specify only one subnet. + // to create endpoint network interfaces. For a Gateway Load Balancer endpoint, you + // can specify only one subnet. SubnetIds []string // The tags to associate with the endpoint. diff --git a/service/ec2/api_op_ModifyVpcEndpoint.go b/service/ec2/api_op_ModifyVpcEndpoint.go index d6db6b905f1..c9627fb0779 100644 --- a/service/ec2/api_op_ModifyVpcEndpoint.go +++ b/service/ec2/api_op_ModifyVpcEndpoint.go @@ -46,7 +46,7 @@ type ModifyVpcEndpointInput struct { AddRouteTableIds []string // (Interface endpoint) The IDs of the security groups to associate with the - // network interface. + // endpoint network interfaces. AddSecurityGroupIds []string // (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which @@ -79,7 +79,7 @@ type ModifyVpcEndpointInput struct { RemoveRouteTableIds []string // (Interface endpoint) The IDs of the security groups to disassociate from the - // network interface. + // endpoint network interfaces. RemoveSecurityGroupIds []string // (Interface endpoint) The IDs of the subnets from which to remove the endpoint. @@ -89,6 +89,9 @@ type ModifyVpcEndpointInput struct { // policy. The default policy allows full access to the service. ResetPolicy *bool + // The subnet configurations for the endpoint. + SubnetConfigurations []types.SubnetConfiguration + noSmithyDocumentSerde } diff --git a/service/ec2/serializers.go b/service/ec2/serializers.go index ad3f9ca71cb..fa25e3e7bb3 100644 --- a/service/ec2/serializers.go +++ b/service/ec2/serializers.go @@ -45733,6 +45733,40 @@ func awsEc2query_serializeDocumentStorageLocation(v *types.StorageLocation, valu return nil } +func awsEc2query_serializeDocumentSubnetConfiguration(v *types.SubnetConfiguration, value query.Value) error { + object := value.Object() + _ = object + + if v.Ipv4 != nil { + objectKey := object.Key("Ipv4") + objectKey.String(*v.Ipv4) + } + + if v.Ipv6 != nil { + objectKey := object.Key("Ipv6") + objectKey.String(*v.Ipv6) + } + + if v.SubnetId != nil { + objectKey := object.Key("SubnetId") + objectKey.String(*v.SubnetId) + } + + return nil +} + +func awsEc2query_serializeDocumentSubnetConfigurationsList(v []types.SubnetConfiguration, value query.Value) error { + array := value.Array("Item") + + for i := range v { + av := array.Value() + if err := awsEc2query_serializeDocumentSubnetConfiguration(&v[i], av); err != nil { + return err + } + } + return nil +} + func awsEc2query_serializeDocumentSubnetIdStringList(v []string, value query.Value) error { array := value.Array("SubnetId") @@ -51826,6 +51860,13 @@ func awsEc2query_serializeOpDocumentCreateVpcEndpointInput(v *CreateVpcEndpointI objectKey.String(*v.ServiceName) } + if v.SubnetConfigurations != nil { + objectKey := object.FlatKey("SubnetConfiguration") + if err := awsEc2query_serializeDocumentSubnetConfigurationsList(v.SubnetConfigurations, objectKey); err != nil { + return err + } + } + if v.SubnetIds != nil { objectKey := object.FlatKey("SubnetId") if err := awsEc2query_serializeDocumentVpcEndpointSubnetIdList(v.SubnetIds, objectKey); err != nil { @@ -63446,6 +63487,13 @@ func awsEc2query_serializeOpDocumentModifyVpcEndpointInput(v *ModifyVpcEndpointI objectKey.Boolean(*v.ResetPolicy) } + if v.SubnetConfigurations != nil { + objectKey := object.FlatKey("SubnetConfiguration") + if err := awsEc2query_serializeDocumentSubnetConfigurationsList(v.SubnetConfigurations, objectKey); err != nil { + return err + } + } + if v.VpcEndpointId != nil { objectKey := object.Key("VpcEndpointId") objectKey.String(*v.VpcEndpointId) diff --git a/service/ec2/types/types.go b/service/ec2/types/types.go index 4f2ae894510..96ef657e585 100644 --- a/service/ec2/types/types.go +++ b/service/ec2/types/types.go @@ -14640,6 +14640,29 @@ type SubnetCidrReservation struct { noSmithyDocumentSerde } +// Describes the configuration of a subnet for a VPC endpoint. +type SubnetConfiguration struct { + + // The IPv4 address to assign to the endpoint network interface in the subnet. You + // must provide an IPv4 address if the VPC endpoint supports IPv4. If you specify + // an IPv4 address when modifying a VPC endpoint, we replace the existing endpoint + // network interface with a new endpoint network interface with this IP address. + // This process temporarily disconnects the subnet and the VPC endpoint. + Ipv4 *string + + // The IPv6 address to assign to the endpoint network interface in the subnet. You + // must provide an IPv6 address if the VPC endpoint supports IPv6. If you specify + // an IPv6 address when modifying a VPC endpoint, we replace the existing endpoint + // network interface with a new endpoint network interface with this IP address. + // This process temporarily disconnects the subnet and the VPC endpoint. + Ipv6 *string + + // The ID of the subnet. + SubnetId *string + + noSmithyDocumentSerde +} + // Describes an association between a subnet and an IPv6 CIDR block. type SubnetIpv6CidrBlockAssociation struct { diff --git a/service/eks/internal/endpoints/endpoints.go b/service/eks/internal/endpoints/endpoints.go index 16764b7b86e..bc2fa51c165 100644 --- a/service/eks/internal/endpoints/endpoints.go +++ b/service/eks/internal/endpoints/endpoints.go @@ -352,6 +352,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "us-iso-east-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-iso-west-1", + }: endpoints.Endpoint{}, }, }, { diff --git a/service/gamelift/api_op_AcceptMatch.go b/service/gamelift/api_op_AcceptMatch.go index 275b1929dca..3cc42295cbd 100644 --- a/service/gamelift/api_op_AcceptMatch.go +++ b/service/gamelift/api_op_AcceptMatch.go @@ -22,19 +22,20 @@ import ( // proposed match within a specified time limit. When FlexMatch builds a match, all // the matchmaking tickets involved in the proposed match are placed into status // REQUIRES_ACCEPTANCE . This is a trigger for your game to get acceptance from all -// players in the ticket. Acceptances are only valid for tickets when they are in -// this status; all other acceptances result in an error. To register acceptance, -// specify the ticket ID, a response, and one or more players. Once all players -// have registered acceptance, the matchmaking tickets advance to status PLACING , -// where a new game session is created for the match. If any player rejects the -// match, or if acceptances are not received before a specified timeout, the -// proposed match is dropped. The matchmaking tickets are then handled in one of -// two ways: For tickets where one or more players rejected the match or failed to -// respond, the ticket status is set to CANCELLED , and processing is terminated. -// For tickets where players have accepted or not yet responded, the ticket status -// is returned to SEARCHING to find a new match. A new matchmaking request for -// these players can be submitted as needed. Learn more Add FlexMatch to a game -// client (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-client.html) +// players in each ticket. Calls to this action are only valid for tickets that are +// in this status; calls for tickets not in this status result in an error. To +// register acceptance, specify the ticket ID, one or more players, and an +// acceptance response. When all players have accepted, Amazon GameLift advances +// the matchmaking tickets to status PLACING , and attempts to create a new game +// session for the match. If any player rejects the match, or if acceptances are +// not received before a specified timeout, the proposed match is dropped. Each +// matchmaking ticket in the failed match is handled as follows: +// - If the ticket has one or more players who rejected the match or failed to +// respond, the ticket status is set CANCELLED and processing is terminated. +// - If all players in the ticket accepted the match, the ticket status is +// returned to SEARCHING to find a new match. +// +// Learn more Add FlexMatch to a game client (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-client.html) // FlexMatch events (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-events.html) // (reference) func (c *Client) AcceptMatch(ctx context.Context, params *AcceptMatchInput, optFns ...func(*Options)) (*AcceptMatchOutput, error) { diff --git a/service/gamelift/api_op_CreateGameSession.go b/service/gamelift/api_op_CreateGameSession.go index f7909e520de..c9fbb366d0a 100644 --- a/service/gamelift/api_op_CreateGameSession.go +++ b/service/gamelift/api_op_CreateGameSession.go @@ -21,25 +21,26 @@ import ( // retrieves connection information for the new game session. As an alternative, // consider using the Amazon GameLift game session placement feature with // StartGameSessionPlacement (https://docs.aws.amazon.com/gamelift/latest/apireference/API_StartGameSessionPlacement.html) -// , which uses FleetIQ algorithms and queues to optimize the placement process. +// , which uses the FleetIQ algorithm and queues to optimize the placement process. // When creating a game session, you specify exactly where you want to place it and -// provide a set of game session configuration settings. The fleet must be in -// ACTIVE status before a game session can be created in it. This operation can be -// used in the following ways: +// provide a set of game session configuration settings. The target fleet must be +// in ACTIVE status. You can use this operation in the following ways: // - To create a game session on an instance in a fleet's home Region, provide a // fleet or alias ID along with your game session configuration. // - To create a game session on an instance in a fleet's remote location, // provide a fleet or alias ID and a location name, along with your game session // configuration. +// - To create a game session on an instance in an Anywhere fleet, specify the +// fleet's custom location. // -// If successful, a workflow is initiated to start a new game session. A -// GameSession object is returned containing the game session configuration and -// status. When the status is ACTIVE , game session connection information is -// provided and player sessions can be created for the game session. By default, +// If successful, Amazon GameLift initiates a workflow to start a new game session +// and returns a GameSession object containing the game session configuration and +// status. When the game session status is ACTIVE , it is updated with connection +// information and you can create player sessions for the game session. By default, // newly created game sessions are open to new players. You can restrict new player // access by using UpdateGameSession (https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateGameSession.html) -// to change the game session's player session creation policy. Game session logs -// are retained for all active game sessions for 14 days. To access the logs, call +// to change the game session's player session creation policy. Amazon GameLift +// retains logs for active for 14 days. To access the logs, call // GetGameSessionLogUrl (https://docs.aws.amazon.com/gamelift/latest/apireference/API_GetGameSessionLogUrl.html) // to download the log files. Available in Amazon GameLift Local. Learn more Start // a game session (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession) @@ -117,7 +118,9 @@ type CreateGameSessionInput struct { // A fleet's remote location to place the new game session in. If this parameter // is not set, the new game session is placed in the fleet's home Region. Specify a - // remote location with an Amazon Web Services Region code such as us-west-2 . + // remote location with an Amazon Web Services Region code such as us-west-2 . When + // using an Anywhere fleet, this parameter is required and must be set to the + // Anywhere fleet's custom location. Location *string // A descriptive label that is associated with a game session. Session names do diff --git a/service/gamelift/api_op_DeregisterCompute.go b/service/gamelift/api_op_DeregisterCompute.go index 83fbdaf7005..840c6038b32 100644 --- a/service/gamelift/api_op_DeregisterCompute.go +++ b/service/gamelift/api_op_DeregisterCompute.go @@ -15,8 +15,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Removes a compute resource from the specified fleet. Deregister your compute -// resources before you delete the compute. +// Removes a compute resource from an Amazon GameLift Anywhere fleet. Deregistered +// computes can no longer host game sessions through Amazon GameLift. func (c *Client) DeregisterCompute(ctx context.Context, params *DeregisterComputeInput, optFns ...func(*Options)) (*DeregisterComputeOutput, error) { if params == nil { params = &DeregisterComputeInput{} @@ -34,12 +34,13 @@ func (c *Client) DeregisterCompute(ctx context.Context, params *DeregisterComput type DeregisterComputeInput struct { - // The name of the compute resource you want to delete. + // The name of the compute resource to remove from the specified Anywhere fleet. // // This member is required. ComputeName *string - // >A unique identifier for the fleet the compute resource is registered to. + // A unique identifier for the fleet the compute resource is currently registered + // to. // // This member is required. FleetId *string diff --git a/service/gamelift/api_op_DescribeCompute.go b/service/gamelift/api_op_DescribeCompute.go index a38f85e6053..880d17e37d6 100644 --- a/service/gamelift/api_op_DescribeCompute.go +++ b/service/gamelift/api_op_DescribeCompute.go @@ -16,9 +16,13 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Retrieves properties for a compute resource. To request a compute resource -// specify the fleet ID and compute name. If successful, Amazon GameLift returns an -// object containing the build properties. +// Retrieves properties for a compute resource in an Amazon GameLift fleet. Call +// ListCompute to get a list of compute resources in a fleet. You can request +// information for computes in either managed EC2 fleets or Anywhere fleets. To +// request compute properties, specify the compute name and fleet ID. If +// successful, this operation returns details for the requested compute resource. +// For managed EC2 fleets, this operation returns the fleet's EC2 instances. For +// Anywhere fleets, this operation returns the fleet's registered computes. func (c *Client) DescribeCompute(ctx context.Context, params *DescribeComputeInput, optFns ...func(*Options)) (*DescribeComputeOutput, error) { if params == nil { params = &DescribeComputeInput{} @@ -36,13 +40,15 @@ func (c *Client) DescribeCompute(ctx context.Context, params *DescribeComputeInp type DescribeComputeInput struct { - // A descriptive label that is associated with the compute resource registered to - // your fleet. + // The unique identifier of the compute resource to retrieve properties for. For + // an Anywhere fleet compute, use the registered compute name. For a managed EC2 + // fleet instance, use the instance ID. // // This member is required. ComputeName *string - // A unique identifier for the fleet the compute is registered to. + // A unique identifier for the fleet that the compute is registered to. You can + // use either the fleet ID or ARN value. // // This member is required. FleetId *string @@ -52,7 +58,7 @@ type DescribeComputeInput struct { type DescribeComputeOutput struct { - // The details of the compute resource you registered to the specified fleet. + // The set of properties for the requested compute resource. Compute *types.Compute // Metadata pertaining to the operation's result. diff --git a/service/gamelift/api_op_DescribeFleetCapacity.go b/service/gamelift/api_op_DescribeFleetCapacity.go index 5eb83e93683..06fb12d5b6d 100644 --- a/service/gamelift/api_op_DescribeFleetCapacity.go +++ b/service/gamelift/api_op_DescribeFleetCapacity.go @@ -75,6 +75,7 @@ type DescribeFleetCapacityOutput struct { // A collection of objects that contains capacity information for each requested // fleet ID. Capacity objects are returned only for fleets that currently exist. + // Changes in desired instance value can take up to 1 minute to be reflected. FleetCapacity []types.FleetCapacity // A token that indicates where to resume retrieving results on the next call to diff --git a/service/gamelift/api_op_DescribeFleetLocationCapacity.go b/service/gamelift/api_op_DescribeFleetLocationCapacity.go index dfd89b5ce2a..67a33e042ac 100644 --- a/service/gamelift/api_op_DescribeFleetLocationCapacity.go +++ b/service/gamelift/api_op_DescribeFleetLocationCapacity.go @@ -60,7 +60,8 @@ type DescribeFleetLocationCapacityInput struct { type DescribeFleetLocationCapacityOutput struct { // Resource capacity information for the requested fleet location. Capacity - // objects are returned only for fleets and locations that currently exist. + // objects are returned only for fleets and locations that currently exist. Changes + // in desired instance value can take up to 1 minute to be reflected. FleetCapacity *types.FleetCapacity // Metadata pertaining to the operation's result. diff --git a/service/gamelift/api_op_DescribeInstances.go b/service/gamelift/api_op_DescribeInstances.go index bf7dd575903..525db354ec3 100644 --- a/service/gamelift/api_op_DescribeInstances.go +++ b/service/gamelift/api_op_DescribeInstances.go @@ -16,20 +16,25 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Retrieves information about a fleet's instances, including instance IDs, -// connection data, and status. This operation can be used in the following ways: -// - To get information on all instances that are deployed to a fleet's home -// Region, provide the fleet ID. -// - To get information on all instances that are deployed to a fleet's remote -// location, provide the fleet ID and location name. -// - To get information on a specific instance in a fleet, provide the fleet ID +// Retrieves information about the EC2 instances in an Amazon GameLift managed +// fleet, including instance ID, connection data, and status. You can use this +// operation with a multi-location fleet to get location-specific instance +// information. As an alternative, use the operations ListCompute and +// DescribeCompute to retrieve information for compute resources, including EC2 and +// Anywhere fleets. You can call this operation in the following ways: +// - To get information on all instances in a fleet's home Region, specify the +// fleet ID. +// - To get information on all instances in a fleet's remote location, specify +// the fleet ID and location name. +// - To get information on a specific instance in a fleet, specify the fleet ID // and instance ID. // // Use the pagination parameters to retrieve results as a set of sequential pages. -// If successful, an Instance object is returned for each requested instance. -// Instances are not returned in any particular order. Learn more Remotely Access -// Fleet Instances (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-remote-access.html) -// Debug Fleet Issues (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-debug.html) +// If successful, this operation returns Instance objects for each requested +// instance, listed in no particular order. If you call this operation for an +// Anywhere fleet, you receive an InvalidRequestException. Learn more Remotely +// connect to fleet instances (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-remote-access.html) +// Debug fleet issues (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-debug.html) // Related actions All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) func (c *Client) DescribeInstances(ctx context.Context, params *DescribeInstancesInput, optFns ...func(*Options)) (*DescribeInstancesOutput, error) { if params == nil { diff --git a/service/gamelift/api_op_DescribePlayerSessions.go b/service/gamelift/api_op_DescribePlayerSessions.go index 65677c30095..334860d08b6 100644 --- a/service/gamelift/api_op_DescribePlayerSessions.go +++ b/service/gamelift/api_op_DescribePlayerSessions.go @@ -25,10 +25,11 @@ import ( // only. // // To request player sessions, specify either a player session ID, game session -// ID, or player ID. You can filter this request by player session status. Use the -// pagination parameters to retrieve results as a set of sequential pages. If -// successful, a PlayerSession object is returned for each session that matches -// the request. Related actions All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) +// ID, or player ID. You can filter this request by player session status. If you +// provide a specific PlayerSessionId or PlayerId , Amazon GameLift ignores the +// filter criteria. Use the pagination parameters to retrieve results as a set of +// sequential pages. If successful, a PlayerSession object is returned for each +// session that matches the request. Related actions All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) func (c *Client) DescribePlayerSessions(ctx context.Context, params *DescribePlayerSessionsInput, optFns ...func(*Options)) (*DescribePlayerSessionsOutput, error) { if params == nil { params = &DescribePlayerSessionsInput{} diff --git a/service/gamelift/api_op_GetComputeAccess.go b/service/gamelift/api_op_GetComputeAccess.go index ed6dbe96487..f05750b2aa1 100644 --- a/service/gamelift/api_op_GetComputeAccess.go +++ b/service/gamelift/api_op_GetComputeAccess.go @@ -16,19 +16,20 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Requests remote access to a fleet instance. Remote access is useful for -// debugging, gathering benchmarking data, or observing activity in real time. To -// remotely access an instance, you need credentials that match the operating -// system of the instance. For a Windows instance, Amazon GameLift returns a user -// name and password as strings for use with a Windows Remote Desktop client. For a -// Linux instance, Amazon GameLift returns a user name and RSA private key, also as -// strings, for use with an SSH client. The private key must be saved in the proper -// format to a .pem file before using. If you're making this request using the -// CLI, saving the secret can be handled as part of the GetInstanceAccess request, -// as shown in one of the examples for this operation. To request access to a -// specific instance, specify the IDs of both the instance and the fleet it belongs -// to. Learn more Remotely Access Fleet Instances (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-remote-access.html) -// Debug Fleet Issues (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-debug.html) +// Requests authorization to remotely connect to a compute resource in an Amazon +// GameLift fleet. Call this action to connect to an instance in a managed EC2 +// fleet if the fleet's game build uses Amazon GameLift server SDK 5.x or later. To +// connect to instances with game builds that use server SDK 4.x or earlier, call +// GetInstanceAccess . To request access to a compute, identify the specific EC2 +// instance and the fleet it belongs to. You can retrieve instances for a managed +// EC2 fleet by calling ListCompute . If successful, this operation returns a set +// of temporary Amazon Web Services credentials, including a two-part access key +// and a session token. Use these credentials with Amazon EC2 Systems Manager (SSM) +// to start a session with the compute. For more details, see Starting a session +// (CLI) (https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-sessions-start.html#sessions-start-cli) +// in the Amazon EC2 Systems Manager User Guide. Learn more Remotely connect to +// fleet instances (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-remote-access.html) +// Debug fleet issues (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-debug.html) func (c *Client) GetComputeAccess(ctx context.Context, params *GetComputeAccessInput, optFns ...func(*Options)) (*GetComputeAccessOutput, error) { if params == nil { params = &GetComputeAccessInput{} @@ -46,12 +47,14 @@ func (c *Client) GetComputeAccess(ctx context.Context, params *GetComputeAccessI type GetComputeAccessInput struct { - // The name of the compute resource you are requesting credentials for. + // A unique identifier for the compute resource that you want to connect to. You + // can use either a registered compute name or an instance ID. // // This member is required. ComputeName *string - // A unique identifier for the fleet that the compute resource is registered to. + // A unique identifier for the fleet that contains the compute resource you want + // to connect to. You can use either the fleet ID or ARN value. // // This member is required. FleetId *string @@ -62,15 +65,17 @@ type GetComputeAccessInput struct { type GetComputeAccessOutput struct { // The Amazon Resource Name ( ARN (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html) - // ) that is assigned to a Amazon GameLift compute resource and uniquely identifies - // it. ARNs are unique across all Regions. Format is + // ) that is assigned to an Amazon GameLift compute resource and uniquely + // identifies it. ARNs are unique across all Regions. Format is // arn:aws:gamelift:::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912 . ComputeArn *string - // The name of the compute resource you requested credentials for. + // The identifier of the compute resource to be accessed. This value might be + // either a compute name or an instance ID. ComputeName *string - // The access credentials for the compute resource. + // A set of temporary Amazon Web Services credentials for use when connecting to + // the compute resource with Amazon EC2 Systems Manager (SSM). Credentials *types.AwsCredentials // The Amazon Resource Name ( ARN (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html) @@ -79,7 +84,7 @@ type GetComputeAccessOutput struct { // arn:aws:gamelift:::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912 . FleetArn *string - // The fleet ID of compute resource. + // The ID of the fleet that contains the compute resource to be accessed. FleetId *string // Metadata pertaining to the operation's result. diff --git a/service/gamelift/api_op_GetComputeAuthToken.go b/service/gamelift/api_op_GetComputeAuthToken.go index f10acc832df..ea9242e6a21 100644 --- a/service/gamelift/api_op_GetComputeAuthToken.go +++ b/service/gamelift/api_op_GetComputeAuthToken.go @@ -16,10 +16,17 @@ import ( "time" ) -// Requests an authentication token from Amazon GameLift. The authentication token -// is used by your game server to authenticate with Amazon GameLift. Each -// authentication token has an expiration time. To continue using the compute -// resource to host your game server, regularly retrieve a new authorization token. +// Requests an authentication token from Amazon GameLift for a registered compute +// in an Anywhere fleet. The game servers that are running on the compute use this +// token to authenticate with the Amazon GameLift service. Each server process must +// provide a valid authentication token in its call to the Amazon GameLift server +// SDK action InitSDK() . Authentication tokens are valid for a limited time span. +// Use a mechanism to regularly request a fresh authentication token before the +// current token expires. Learn more +// - Create an Anywhere fleet (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-anywhere.html) +// - Test your integration (https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-testing.html) +// - Server SDK reference guides (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk.html) +// (for version 5.x) func (c *Client) GetComputeAuthToken(ctx context.Context, params *GetComputeAuthTokenInput, optFns ...func(*Options)) (*GetComputeAuthTokenOutput, error) { if params == nil { params = &GetComputeAuthTokenInput{} @@ -53,23 +60,19 @@ type GetComputeAuthTokenInput struct { type GetComputeAuthTokenOutput struct { - // The authentication token that your game server uses to authenticate with Amazon - // GameLift. + // A valid temporary authentication token. AuthToken *string // The Amazon Resource Name ( ARN (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html) - // ) that is assigned to a Amazon GameLift compute resource and uniquely identifies - // it. ARNs are unique across all Regions. Format is - // arn:aws:gamelift:::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912 + // ) that is assigned to an Amazon GameLift compute resource and uniquely + // identifies it. ARNs are unique across all Regions. Format is + // arn:aws:gamelift:::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912 . ComputeArn *string - // The name of the compute resource you are requesting the authentication token - // for. + // The name of the compute resource that the authentication token is issued to. ComputeName *string - // The amount of time until the authentication token is no longer valid. To - // continue using the compute resource for game server hosting, renew the - // authentication token by using this operation again. + // The amount of time until the authentication token is no longer valid. ExpirationTimestamp *time.Time // The Amazon Resource Name ( ARN (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html) diff --git a/service/gamelift/api_op_GetInstanceAccess.go b/service/gamelift/api_op_GetInstanceAccess.go index 867c199f4aa..caac2555f5e 100644 --- a/service/gamelift/api_op_GetInstanceAccess.go +++ b/service/gamelift/api_op_GetInstanceAccess.go @@ -16,20 +16,24 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Requests remote access to a fleet instance. Remote access is useful for -// debugging, gathering benchmarking data, or observing activity in real time. To -// remotely access an instance, you need credentials that match the operating -// system of the instance. For a Windows instance, Amazon GameLift returns a user -// name and password as strings for use with a Windows Remote Desktop client. For a -// Linux instance, Amazon GameLift returns a user name and RSA private key, also as -// strings, for use with an SSH client. The private key must be saved in the proper -// format to a .pem file before using. If you're making this request using the -// CLI, saving the secret can be handled as part of the GetInstanceAccess request, -// as shown in one of the examples for this operation. To request access to a -// specific instance, specify the IDs of both the instance and the fleet it belongs -// to. You can retrieve a fleet's instance IDs by calling DescribeInstances (https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeInstances.html) -// . Learn more Remotely Access Fleet Instances (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-remote-access.html) -// Debug Fleet Issues (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-debug.html) +// Requests authorization to remotely connect to an instance in an Amazon GameLift +// managed fleet. Use this operation to connect to instances with game servers that +// use Amazon GameLift server SDK 4.x or earlier. To connect to instances with game +// servers that use server SDK 5.x or later, call GetComputeAccess . To request +// access to an instance, specify IDs for the instance and the fleet it belongs to. +// You can retrieve instance IDs for a fleet by calling DescribeInstances (https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeInstances.html) +// with the fleet ID. If successful, this operation returns an IP address and +// credentials. The returned credentials match the operating system of the +// instance, as follows: +// - For a Windows instance: returns a user name and secret (password) for use +// with a Windows Remote Desktop client. +// - For a Linux instance: returns a user name and secret (RSA private key) for +// use with an SSH client. You must save the secret to a .pem file. If you're +// using the CLI, see the example Get credentials for a Linux instance (https://docs.aws.amazon.com/gamelift/latest/apireference/API_GetInstanceAccess.html#API_GetInstanceAccess_Examples) +// for tips on automatically saving the secret to a .pem file. +// +// Learn more Remotely connect to fleet instances (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-remote-access.html) +// Debug fleet issues (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-debug.html) // Related actions All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) func (c *Client) GetInstanceAccess(ctx context.Context, params *GetInstanceAccessInput, optFns ...func(*Options)) (*GetInstanceAccessOutput, error) { if params == nil { @@ -48,16 +52,17 @@ func (c *Client) GetInstanceAccess(ctx context.Context, params *GetInstanceAcces type GetInstanceAccessInput struct { - // A unique identifier for the fleet that contains the instance you want access - // to. You can use either the fleet ID or ARN value. The fleet can be in any of the - // following statuses: ACTIVATING , ACTIVE , or ERROR . Fleets with an ERROR - // status may be accessible for a short time before they are deleted. + // A unique identifier for the fleet that contains the instance you want to + // access. You can request access to instances in EC2 fleets with the following + // statuses: ACTIVATING , ACTIVE , or ERROR . Use either a fleet ID or an ARN + // value. You can access fleets in ERROR status for a short period of time before + // Amazon GameLift deletes them. // // This member is required. FleetId *string - // A unique identifier for the instance you want to get access to. You can access - // an instance in any status. + // A unique identifier for the instance you want to access. You can access an + // instance in any status. // // This member is required. InstanceId *string diff --git a/service/gamelift/api_op_ListCompute.go b/service/gamelift/api_op_ListCompute.go index cba03c1e326..9ecf5378445 100644 --- a/service/gamelift/api_op_ListCompute.go +++ b/service/gamelift/api_op_ListCompute.go @@ -16,8 +16,13 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Retrieves all compute resources registered to a fleet in your Amazon Web -// Services account. You can filter the result set by location. +// Retrieves the compute resources in an Amazon GameLift fleet. You can request +// information for either managed EC2 fleets or Anywhere fleets. To request a list +// of computes, specify the fleet ID. You can filter the result set by location. +// Use the pagination parameters to retrieve results in a set of sequential pages. +// If successful, this operation returns the compute resource for the requested +// fleet. For managed EC2 fleets, it returns a list of EC2 instances. For Anywhere +// fleets, it returns a list of registered compute names. func (c *Client) ListCompute(ctx context.Context, params *ListComputeInput, optFns ...func(*Options)) (*ListComputeOutput, error) { if params == nil { params = &ListComputeInput{} @@ -35,7 +40,7 @@ func (c *Client) ListCompute(ctx context.Context, params *ListComputeInput, optF type ListComputeInput struct { - // A unique identifier for the fleet the compute resources are registered to. + // A unique identifier for the fleet to retrieve compute resources for. // // This member is required. FleetId *string @@ -44,7 +49,7 @@ type ListComputeInput struct { // get results as a set of sequential pages. Limit *int32 - // The name of the custom location that the compute resources are assigned to. + // The name of a location to retrieve compute resources for. Location *string // A token that indicates the start of the next sequential page of results. Use @@ -57,7 +62,7 @@ type ListComputeInput struct { type ListComputeOutput struct { - // A list of compute resources registered to the fleet you specified. + // A list of compute resources in the specified fleet. ComputeList []types.Compute // A token that indicates where to resume retrieving results on the next call to diff --git a/service/gamelift/api_op_RegisterCompute.go b/service/gamelift/api_op_RegisterCompute.go index 1a881a969cb..5024838924b 100644 --- a/service/gamelift/api_op_RegisterCompute.go +++ b/service/gamelift/api_op_RegisterCompute.go @@ -16,12 +16,22 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Registers your compute resources in a fleet you previously created. After you -// register a compute to your fleet, you can monitor and manage your compute using -// Amazon GameLift. The operation returns the compute resource containing SDK -// endpoint you can use to connect your game server to Amazon GameLift. Learn more +// Registers a compute resource to an Amazon GameLift Anywhere fleet. With +// Anywhere fleets you can incorporate your own computing hardware into an Amazon +// GameLift game hosting solution. To register a compute to a fleet, give the +// compute a name (must be unique within the fleet) and specify the compute +// resource's DNS name or IP address. Provide the Anywhere fleet ID and a fleet +// location to associate with the compute being registered. You can optionally +// include the path to a TLS certificate on the compute resource. If successful, +// this operation returns the compute details, including an Amazon GameLift SDK +// endpoint. Game server processes that run on the compute use this endpoint to +// communicate with the Amazon GameLift service. Each server process includes the +// SDK endpoint in its call to the Amazon GameLift server SDK action InitSDK() . +// Learn more // - Create an Anywhere fleet (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-anywhere.html) // - Test your integration (https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-testing.html) +// - Server SDK reference guides (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk.html) +// (for version 5.x) func (c *Client) RegisterCompute(ctx context.Context, params *RegisterComputeInput, optFns ...func(*Options)) (*RegisterComputeOutput, error) { if params == nil { params = &RegisterComputeInput{} @@ -39,8 +49,7 @@ func (c *Client) RegisterCompute(ctx context.Context, params *RegisterComputeInp type RegisterComputeInput struct { - // A descriptive label that is associated with the compute resource registered to - // your fleet. + // A descriptive label for the compute resource. // // This member is required. ComputeName *string @@ -51,20 +60,20 @@ type RegisterComputeInput struct { // This member is required. FleetId *string - // The path to the TLS certificate on your compute resource. The path and - // certificate are not validated by Amazon GameLift. + // The path to a TLS certificate on your compute resource. Amazon GameLift doesn't + // validate the path and certificate. CertificatePath *string - // The DNS name of the compute resource. Amazon GameLift requires the DNS name or - // IP address to manage your compute resource. + // The DNS name of the compute resource. Amazon GameLift requires either a DNS + // name or IP address. DnsName *string - // The IP address of the compute resource. Amazon GameLift requires the DNS name - // or IP address to manage your compute resource. + // The IP address of the compute resource. Amazon GameLift requires either a DNS + // name or IP address. IpAddress *string - // The name of the custom location you added to the fleet you are registering this - // compute resource to. + // The name of a custom location to associate with the compute resource being + // registered. Location *string noSmithyDocumentSerde @@ -72,7 +81,7 @@ type RegisterComputeInput struct { type RegisterComputeOutput struct { - // The details of the compute resource you registered to the specified fleet. + // The details of the compute resource you registered. Compute *types.Compute // Metadata pertaining to the operation's result. diff --git a/service/gamelift/api_op_UpdateFleetAttributes.go b/service/gamelift/api_op_UpdateFleetAttributes.go index 96a580f692a..b191820499a 100644 --- a/service/gamelift/api_op_UpdateFleetAttributes.go +++ b/service/gamelift/api_op_UpdateFleetAttributes.go @@ -59,9 +59,9 @@ type UpdateFleetAttributesInput struct { // be unique. Name *string - // The game session protection policy to apply to all new instances created in - // this fleet. Instances that already exist are not affected. You can set - // protection for individual instances using UpdateGameSession (https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateGameSession.html) + // The game session protection policy to apply to all new game sessions created in + // this fleet. Game sessions that already exist are not affected. You can set + // protection for individual game sessions using UpdateGameSession (https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateGameSession.html) // . // - NoProtection -- The game session can be terminated during a scale-down // event. diff --git a/service/gamelift/api_op_UpdateFleetCapacity.go b/service/gamelift/api_op_UpdateFleetCapacity.go index 31aeccface3..c6a5e96ef0e 100644 --- a/service/gamelift/api_op_UpdateFleetCapacity.go +++ b/service/gamelift/api_op_UpdateFleetCapacity.go @@ -70,6 +70,8 @@ type UpdateFleetCapacityInput struct { // The number of Amazon EC2 instances you want to maintain in the specified fleet // location. This value must fall between the minimum and maximum size limits. + // Changes in desired instance value can take up to 1 minute to be reflected when + // viewing the fleet's capacity settings. DesiredInstances *int32 // The name of a remote location to update fleet capacity settings for, in the diff --git a/service/gamelift/api_op_UpdateGameServer.go b/service/gamelift/api_op_UpdateGameServer.go index 1a379507887..6890c4c2dc4 100644 --- a/service/gamelift/api_op_UpdateGameServer.go +++ b/service/gamelift/api_op_UpdateGameServer.go @@ -18,14 +18,15 @@ import ( // This operation is used with the Amazon GameLift FleetIQ solution and game // server groups. Updates information about a registered game server to help Amazon -// GameLift FleetIQ to track game server availability. This operation is called by -// a game server process that is running on an instance in a game server group. Use +// GameLift FleetIQ track game server availability. This operation is called by a +// game server process that is running on an instance in a game server group. Use // this operation to update the following types of game server information. You can // make all three types of updates in the same request: -// - To update the game server's utilization status, identify the game server -// and game server group and specify the current utilization status. Use this -// status to identify when game servers are currently hosting games and when they -// are available to be claimed. +// - To update the game server's utilization status from AVAILABLE (when the game +// server is available to be claimed) to UTILIZED (when the game server is +// currently hosting games). Identify the game server and game server group and +// specify the new utilization status. You can't change the status from to +// UTILIZED to AVAILABLE . // - To report health status, identify the game server and game server group and // set health check to HEALTHY . If a game server does not report health status // for a certain length of time, the game server is no longer considered healthy. @@ -72,7 +73,9 @@ type UpdateGameServerInput struct { // parameter updates the game server's LastHealthCheckTime timestamp. HealthCheck types.GameServerHealthCheck - // Indicates whether the game server is available or is currently hosting gameplay. + // Indicates if the game server is available or is currently hosting gameplay. You + // can update a game server status from AVAILABLE to UTILIZED , but you can't + // change a the status from UTILIZED to AVAILABLE . UtilizationStatus types.GameServerUtilizationStatus noSmithyDocumentSerde diff --git a/service/gamelift/types/enums.go b/service/gamelift/types/enums.go index 11d02988891..4ffa3b6572e 100644 --- a/service/gamelift/types/enums.go +++ b/service/gamelift/types/enums.go @@ -160,120 +160,181 @@ type EC2InstanceType string // Enum values for EC2InstanceType const ( - EC2InstanceTypeT2Micro EC2InstanceType = "t2.micro" - EC2InstanceTypeT2Small EC2InstanceType = "t2.small" - EC2InstanceTypeT2Medium EC2InstanceType = "t2.medium" - EC2InstanceTypeT2Large EC2InstanceType = "t2.large" - EC2InstanceTypeC3Large EC2InstanceType = "c3.large" - EC2InstanceTypeC3Xlarge EC2InstanceType = "c3.xlarge" - EC2InstanceTypeC32xlarge EC2InstanceType = "c3.2xlarge" - EC2InstanceTypeC34xlarge EC2InstanceType = "c3.4xlarge" - EC2InstanceTypeC38xlarge EC2InstanceType = "c3.8xlarge" - EC2InstanceTypeC4Large EC2InstanceType = "c4.large" - EC2InstanceTypeC4Xlarge EC2InstanceType = "c4.xlarge" - EC2InstanceTypeC42xlarge EC2InstanceType = "c4.2xlarge" - EC2InstanceTypeC44xlarge EC2InstanceType = "c4.4xlarge" - EC2InstanceTypeC48xlarge EC2InstanceType = "c4.8xlarge" - EC2InstanceTypeC5Large EC2InstanceType = "c5.large" - EC2InstanceTypeC5Xlarge EC2InstanceType = "c5.xlarge" - EC2InstanceTypeC52xlarge EC2InstanceType = "c5.2xlarge" - EC2InstanceTypeC54xlarge EC2InstanceType = "c5.4xlarge" - EC2InstanceTypeC59xlarge EC2InstanceType = "c5.9xlarge" - EC2InstanceTypeC512xlarge EC2InstanceType = "c5.12xlarge" - EC2InstanceTypeC518xlarge EC2InstanceType = "c5.18xlarge" - EC2InstanceTypeC524xlarge EC2InstanceType = "c5.24xlarge" - EC2InstanceTypeC5aLarge EC2InstanceType = "c5a.large" - EC2InstanceTypeC5aXlarge EC2InstanceType = "c5a.xlarge" - EC2InstanceTypeC5a2xlarge EC2InstanceType = "c5a.2xlarge" - EC2InstanceTypeC5a4xlarge EC2InstanceType = "c5a.4xlarge" - EC2InstanceTypeC5a8xlarge EC2InstanceType = "c5a.8xlarge" - EC2InstanceTypeC5a12xlarge EC2InstanceType = "c5a.12xlarge" - EC2InstanceTypeC5a16xlarge EC2InstanceType = "c5a.16xlarge" - EC2InstanceTypeC5a24xlarge EC2InstanceType = "c5a.24xlarge" - EC2InstanceTypeR3Large EC2InstanceType = "r3.large" - EC2InstanceTypeR3Xlarge EC2InstanceType = "r3.xlarge" - EC2InstanceTypeR32xlarge EC2InstanceType = "r3.2xlarge" - EC2InstanceTypeR34xlarge EC2InstanceType = "r3.4xlarge" - EC2InstanceTypeR38xlarge EC2InstanceType = "r3.8xlarge" - EC2InstanceTypeR4Large EC2InstanceType = "r4.large" - EC2InstanceTypeR4Xlarge EC2InstanceType = "r4.xlarge" - EC2InstanceTypeR42xlarge EC2InstanceType = "r4.2xlarge" - EC2InstanceTypeR44xlarge EC2InstanceType = "r4.4xlarge" - EC2InstanceTypeR48xlarge EC2InstanceType = "r4.8xlarge" - EC2InstanceTypeR416xlarge EC2InstanceType = "r4.16xlarge" - EC2InstanceTypeR5Large EC2InstanceType = "r5.large" - EC2InstanceTypeR5Xlarge EC2InstanceType = "r5.xlarge" - EC2InstanceTypeR52xlarge EC2InstanceType = "r5.2xlarge" - EC2InstanceTypeR54xlarge EC2InstanceType = "r5.4xlarge" - EC2InstanceTypeR58xlarge EC2InstanceType = "r5.8xlarge" - EC2InstanceTypeR512xlarge EC2InstanceType = "r5.12xlarge" - EC2InstanceTypeR516xlarge EC2InstanceType = "r5.16xlarge" - EC2InstanceTypeR524xlarge EC2InstanceType = "r5.24xlarge" - EC2InstanceTypeR5aLarge EC2InstanceType = "r5a.large" - EC2InstanceTypeR5aXlarge EC2InstanceType = "r5a.xlarge" - EC2InstanceTypeR5a2xlarge EC2InstanceType = "r5a.2xlarge" - EC2InstanceTypeR5a4xlarge EC2InstanceType = "r5a.4xlarge" - EC2InstanceTypeR5a8xlarge EC2InstanceType = "r5a.8xlarge" - EC2InstanceTypeR5a12xlarge EC2InstanceType = "r5a.12xlarge" - EC2InstanceTypeR5a16xlarge EC2InstanceType = "r5a.16xlarge" - EC2InstanceTypeR5a24xlarge EC2InstanceType = "r5a.24xlarge" - EC2InstanceTypeM3Medium EC2InstanceType = "m3.medium" - EC2InstanceTypeM3Large EC2InstanceType = "m3.large" - EC2InstanceTypeM3Xlarge EC2InstanceType = "m3.xlarge" - EC2InstanceTypeM32xlarge EC2InstanceType = "m3.2xlarge" - EC2InstanceTypeM4Large EC2InstanceType = "m4.large" - EC2InstanceTypeM4Xlarge EC2InstanceType = "m4.xlarge" - EC2InstanceTypeM42xlarge EC2InstanceType = "m4.2xlarge" - EC2InstanceTypeM44xlarge EC2InstanceType = "m4.4xlarge" - EC2InstanceTypeM410xlarge EC2InstanceType = "m4.10xlarge" - EC2InstanceTypeM5Large EC2InstanceType = "m5.large" - EC2InstanceTypeM5Xlarge EC2InstanceType = "m5.xlarge" - EC2InstanceTypeM52xlarge EC2InstanceType = "m5.2xlarge" - EC2InstanceTypeM54xlarge EC2InstanceType = "m5.4xlarge" - EC2InstanceTypeM58xlarge EC2InstanceType = "m5.8xlarge" - EC2InstanceTypeM512xlarge EC2InstanceType = "m5.12xlarge" - EC2InstanceTypeM516xlarge EC2InstanceType = "m5.16xlarge" - EC2InstanceTypeM524xlarge EC2InstanceType = "m5.24xlarge" - EC2InstanceTypeM5aLarge EC2InstanceType = "m5a.large" - EC2InstanceTypeM5aXlarge EC2InstanceType = "m5a.xlarge" - EC2InstanceTypeM5a2xlarge EC2InstanceType = "m5a.2xlarge" - EC2InstanceTypeM5a4xlarge EC2InstanceType = "m5a.4xlarge" - EC2InstanceTypeM5a8xlarge EC2InstanceType = "m5a.8xlarge" - EC2InstanceTypeM5a12xlarge EC2InstanceType = "m5a.12xlarge" - EC2InstanceTypeM5a16xlarge EC2InstanceType = "m5a.16xlarge" - EC2InstanceTypeM5a24xlarge EC2InstanceType = "m5a.24xlarge" - EC2InstanceTypeC5dLarge EC2InstanceType = "c5d.large" - EC2InstanceTypeC5dXlarge EC2InstanceType = "c5d.xlarge" - EC2InstanceTypeC5d2xlarge EC2InstanceType = "c5d.2xlarge" - EC2InstanceTypeC5d4xlarge EC2InstanceType = "c5d.4xlarge" - EC2InstanceTypeC5d9xlarge EC2InstanceType = "c5d.9xlarge" - EC2InstanceTypeC5d12xlarge EC2InstanceType = "c5d.12xlarge" - EC2InstanceTypeC5d18xlarge EC2InstanceType = "c5d.18xlarge" - EC2InstanceTypeC5d24xlarge EC2InstanceType = "c5d.24xlarge" - EC2InstanceTypeC6aLarge EC2InstanceType = "c6a.large" - EC2InstanceTypeC6aXlarge EC2InstanceType = "c6a.xlarge" - EC2InstanceTypeC6a2xlarge EC2InstanceType = "c6a.2xlarge" - EC2InstanceTypeC6a4xlarge EC2InstanceType = "c6a.4xlarge" - EC2InstanceTypeC6a8xlarge EC2InstanceType = "c6a.8xlarge" - EC2InstanceTypeC6a12xlarge EC2InstanceType = "c6a.12xlarge" - EC2InstanceTypeC6a16xlarge EC2InstanceType = "c6a.16xlarge" - EC2InstanceTypeC6a24xlarge EC2InstanceType = "c6a.24xlarge" - EC2InstanceTypeC6iLarge EC2InstanceType = "c6i.large" - EC2InstanceTypeC6iXlarge EC2InstanceType = "c6i.xlarge" - EC2InstanceTypeC6i2xlarge EC2InstanceType = "c6i.2xlarge" - EC2InstanceTypeC6i4xlarge EC2InstanceType = "c6i.4xlarge" - EC2InstanceTypeC6i8xlarge EC2InstanceType = "c6i.8xlarge" - EC2InstanceTypeC6i12xlarge EC2InstanceType = "c6i.12xlarge" - EC2InstanceTypeC6i16xlarge EC2InstanceType = "c6i.16xlarge" - EC2InstanceTypeC6i24xlarge EC2InstanceType = "c6i.24xlarge" - EC2InstanceTypeR5dLarge EC2InstanceType = "r5d.large" - EC2InstanceTypeR5dXlarge EC2InstanceType = "r5d.xlarge" - EC2InstanceTypeR5d2xlarge EC2InstanceType = "r5d.2xlarge" - EC2InstanceTypeR5d4xlarge EC2InstanceType = "r5d.4xlarge" - EC2InstanceTypeR5d8xlarge EC2InstanceType = "r5d.8xlarge" - EC2InstanceTypeR5d12xlarge EC2InstanceType = "r5d.12xlarge" - EC2InstanceTypeR5d16xlarge EC2InstanceType = "r5d.16xlarge" - EC2InstanceTypeR5d24xlarge EC2InstanceType = "r5d.24xlarge" + EC2InstanceTypeT2Micro EC2InstanceType = "t2.micro" + EC2InstanceTypeT2Small EC2InstanceType = "t2.small" + EC2InstanceTypeT2Medium EC2InstanceType = "t2.medium" + EC2InstanceTypeT2Large EC2InstanceType = "t2.large" + EC2InstanceTypeC3Large EC2InstanceType = "c3.large" + EC2InstanceTypeC3Xlarge EC2InstanceType = "c3.xlarge" + EC2InstanceTypeC32xlarge EC2InstanceType = "c3.2xlarge" + EC2InstanceTypeC34xlarge EC2InstanceType = "c3.4xlarge" + EC2InstanceTypeC38xlarge EC2InstanceType = "c3.8xlarge" + EC2InstanceTypeC4Large EC2InstanceType = "c4.large" + EC2InstanceTypeC4Xlarge EC2InstanceType = "c4.xlarge" + EC2InstanceTypeC42xlarge EC2InstanceType = "c4.2xlarge" + EC2InstanceTypeC44xlarge EC2InstanceType = "c4.4xlarge" + EC2InstanceTypeC48xlarge EC2InstanceType = "c4.8xlarge" + EC2InstanceTypeC5Large EC2InstanceType = "c5.large" + EC2InstanceTypeC5Xlarge EC2InstanceType = "c5.xlarge" + EC2InstanceTypeC52xlarge EC2InstanceType = "c5.2xlarge" + EC2InstanceTypeC54xlarge EC2InstanceType = "c5.4xlarge" + EC2InstanceTypeC59xlarge EC2InstanceType = "c5.9xlarge" + EC2InstanceTypeC512xlarge EC2InstanceType = "c5.12xlarge" + EC2InstanceTypeC518xlarge EC2InstanceType = "c5.18xlarge" + EC2InstanceTypeC524xlarge EC2InstanceType = "c5.24xlarge" + EC2InstanceTypeC5aLarge EC2InstanceType = "c5a.large" + EC2InstanceTypeC5aXlarge EC2InstanceType = "c5a.xlarge" + EC2InstanceTypeC5a2xlarge EC2InstanceType = "c5a.2xlarge" + EC2InstanceTypeC5a4xlarge EC2InstanceType = "c5a.4xlarge" + EC2InstanceTypeC5a8xlarge EC2InstanceType = "c5a.8xlarge" + EC2InstanceTypeC5a12xlarge EC2InstanceType = "c5a.12xlarge" + EC2InstanceTypeC5a16xlarge EC2InstanceType = "c5a.16xlarge" + EC2InstanceTypeC5a24xlarge EC2InstanceType = "c5a.24xlarge" + EC2InstanceTypeR3Large EC2InstanceType = "r3.large" + EC2InstanceTypeR3Xlarge EC2InstanceType = "r3.xlarge" + EC2InstanceTypeR32xlarge EC2InstanceType = "r3.2xlarge" + EC2InstanceTypeR34xlarge EC2InstanceType = "r3.4xlarge" + EC2InstanceTypeR38xlarge EC2InstanceType = "r3.8xlarge" + EC2InstanceTypeR4Large EC2InstanceType = "r4.large" + EC2InstanceTypeR4Xlarge EC2InstanceType = "r4.xlarge" + EC2InstanceTypeR42xlarge EC2InstanceType = "r4.2xlarge" + EC2InstanceTypeR44xlarge EC2InstanceType = "r4.4xlarge" + EC2InstanceTypeR48xlarge EC2InstanceType = "r4.8xlarge" + EC2InstanceTypeR416xlarge EC2InstanceType = "r4.16xlarge" + EC2InstanceTypeR5Large EC2InstanceType = "r5.large" + EC2InstanceTypeR5Xlarge EC2InstanceType = "r5.xlarge" + EC2InstanceTypeR52xlarge EC2InstanceType = "r5.2xlarge" + EC2InstanceTypeR54xlarge EC2InstanceType = "r5.4xlarge" + EC2InstanceTypeR58xlarge EC2InstanceType = "r5.8xlarge" + EC2InstanceTypeR512xlarge EC2InstanceType = "r5.12xlarge" + EC2InstanceTypeR516xlarge EC2InstanceType = "r5.16xlarge" + EC2InstanceTypeR524xlarge EC2InstanceType = "r5.24xlarge" + EC2InstanceTypeR5aLarge EC2InstanceType = "r5a.large" + EC2InstanceTypeR5aXlarge EC2InstanceType = "r5a.xlarge" + EC2InstanceTypeR5a2xlarge EC2InstanceType = "r5a.2xlarge" + EC2InstanceTypeR5a4xlarge EC2InstanceType = "r5a.4xlarge" + EC2InstanceTypeR5a8xlarge EC2InstanceType = "r5a.8xlarge" + EC2InstanceTypeR5a12xlarge EC2InstanceType = "r5a.12xlarge" + EC2InstanceTypeR5a16xlarge EC2InstanceType = "r5a.16xlarge" + EC2InstanceTypeR5a24xlarge EC2InstanceType = "r5a.24xlarge" + EC2InstanceTypeM3Medium EC2InstanceType = "m3.medium" + EC2InstanceTypeM3Large EC2InstanceType = "m3.large" + EC2InstanceTypeM3Xlarge EC2InstanceType = "m3.xlarge" + EC2InstanceTypeM32xlarge EC2InstanceType = "m3.2xlarge" + EC2InstanceTypeM4Large EC2InstanceType = "m4.large" + EC2InstanceTypeM4Xlarge EC2InstanceType = "m4.xlarge" + EC2InstanceTypeM42xlarge EC2InstanceType = "m4.2xlarge" + EC2InstanceTypeM44xlarge EC2InstanceType = "m4.4xlarge" + EC2InstanceTypeM410xlarge EC2InstanceType = "m4.10xlarge" + EC2InstanceTypeM5Large EC2InstanceType = "m5.large" + EC2InstanceTypeM5Xlarge EC2InstanceType = "m5.xlarge" + EC2InstanceTypeM52xlarge EC2InstanceType = "m5.2xlarge" + EC2InstanceTypeM54xlarge EC2InstanceType = "m5.4xlarge" + EC2InstanceTypeM58xlarge EC2InstanceType = "m5.8xlarge" + EC2InstanceTypeM512xlarge EC2InstanceType = "m5.12xlarge" + EC2InstanceTypeM516xlarge EC2InstanceType = "m5.16xlarge" + EC2InstanceTypeM524xlarge EC2InstanceType = "m5.24xlarge" + EC2InstanceTypeM5aLarge EC2InstanceType = "m5a.large" + EC2InstanceTypeM5aXlarge EC2InstanceType = "m5a.xlarge" + EC2InstanceTypeM5a2xlarge EC2InstanceType = "m5a.2xlarge" + EC2InstanceTypeM5a4xlarge EC2InstanceType = "m5a.4xlarge" + EC2InstanceTypeM5a8xlarge EC2InstanceType = "m5a.8xlarge" + EC2InstanceTypeM5a12xlarge EC2InstanceType = "m5a.12xlarge" + EC2InstanceTypeM5a16xlarge EC2InstanceType = "m5a.16xlarge" + EC2InstanceTypeM5a24xlarge EC2InstanceType = "m5a.24xlarge" + EC2InstanceTypeC5dLarge EC2InstanceType = "c5d.large" + EC2InstanceTypeC5dXlarge EC2InstanceType = "c5d.xlarge" + EC2InstanceTypeC5d2xlarge EC2InstanceType = "c5d.2xlarge" + EC2InstanceTypeC5d4xlarge EC2InstanceType = "c5d.4xlarge" + EC2InstanceTypeC5d9xlarge EC2InstanceType = "c5d.9xlarge" + EC2InstanceTypeC5d12xlarge EC2InstanceType = "c5d.12xlarge" + EC2InstanceTypeC5d18xlarge EC2InstanceType = "c5d.18xlarge" + EC2InstanceTypeC5d24xlarge EC2InstanceType = "c5d.24xlarge" + EC2InstanceTypeC6aLarge EC2InstanceType = "c6a.large" + EC2InstanceTypeC6aXlarge EC2InstanceType = "c6a.xlarge" + EC2InstanceTypeC6a2xlarge EC2InstanceType = "c6a.2xlarge" + EC2InstanceTypeC6a4xlarge EC2InstanceType = "c6a.4xlarge" + EC2InstanceTypeC6a8xlarge EC2InstanceType = "c6a.8xlarge" + EC2InstanceTypeC6a12xlarge EC2InstanceType = "c6a.12xlarge" + EC2InstanceTypeC6a16xlarge EC2InstanceType = "c6a.16xlarge" + EC2InstanceTypeC6a24xlarge EC2InstanceType = "c6a.24xlarge" + EC2InstanceTypeC6iLarge EC2InstanceType = "c6i.large" + EC2InstanceTypeC6iXlarge EC2InstanceType = "c6i.xlarge" + EC2InstanceTypeC6i2xlarge EC2InstanceType = "c6i.2xlarge" + EC2InstanceTypeC6i4xlarge EC2InstanceType = "c6i.4xlarge" + EC2InstanceTypeC6i8xlarge EC2InstanceType = "c6i.8xlarge" + EC2InstanceTypeC6i12xlarge EC2InstanceType = "c6i.12xlarge" + EC2InstanceTypeC6i16xlarge EC2InstanceType = "c6i.16xlarge" + EC2InstanceTypeC6i24xlarge EC2InstanceType = "c6i.24xlarge" + EC2InstanceTypeR5dLarge EC2InstanceType = "r5d.large" + EC2InstanceTypeR5dXlarge EC2InstanceType = "r5d.xlarge" + EC2InstanceTypeR5d2xlarge EC2InstanceType = "r5d.2xlarge" + EC2InstanceTypeR5d4xlarge EC2InstanceType = "r5d.4xlarge" + EC2InstanceTypeR5d8xlarge EC2InstanceType = "r5d.8xlarge" + EC2InstanceTypeR5d12xlarge EC2InstanceType = "r5d.12xlarge" + EC2InstanceTypeR5d16xlarge EC2InstanceType = "r5d.16xlarge" + EC2InstanceTypeR5d24xlarge EC2InstanceType = "r5d.24xlarge" + EC2InstanceTypeM6gMedium EC2InstanceType = "m6g.medium" + EC2InstanceTypeM6gLarge EC2InstanceType = "m6g.large" + EC2InstanceTypeM6gXlarge EC2InstanceType = "m6g.xlarge" + EC2InstanceTypeM6g2xlarge EC2InstanceType = "m6g.2xlarge" + EC2InstanceTypeM6g4xlarge EC2InstanceType = "m6g.4xlarge" + EC2InstanceTypeM6g8xlarge EC2InstanceType = "m6g.8xlarge" + EC2InstanceTypeM6g12xlarge EC2InstanceType = "m6g.12xlarge" + EC2InstanceTypeM6g16xlarge EC2InstanceType = "m6g.16xlarge" + EC2InstanceTypeC6gMedium EC2InstanceType = "c6g.medium" + EC2InstanceTypeC6gLarge EC2InstanceType = "c6g.large" + EC2InstanceTypeC6gXlarge EC2InstanceType = "c6g.xlarge" + EC2InstanceTypeC6g2xlarge EC2InstanceType = "c6g.2xlarge" + EC2InstanceTypeC6g4xlarge EC2InstanceType = "c6g.4xlarge" + EC2InstanceTypeC6g8xlarge EC2InstanceType = "c6g.8xlarge" + EC2InstanceTypeC6g12xlarge EC2InstanceType = "c6g.12xlarge" + EC2InstanceTypeC6g16xlarge EC2InstanceType = "c6g.16xlarge" + EC2InstanceTypeR6gMedium EC2InstanceType = "r6g.medium" + EC2InstanceTypeR6gLarge EC2InstanceType = "r6g.large" + EC2InstanceTypeR6gXlarge EC2InstanceType = "r6g.xlarge" + EC2InstanceTypeR6g2xlarge EC2InstanceType = "r6g.2xlarge" + EC2InstanceTypeR6g4xlarge EC2InstanceType = "r6g.4xlarge" + EC2InstanceTypeR6g8xlarge EC2InstanceType = "r6g.8xlarge" + EC2InstanceTypeR6g12xlarge EC2InstanceType = "r6g.12xlarge" + EC2InstanceTypeR6g16xlarge EC2InstanceType = "r6g.16xlarge" + EC2InstanceTypeC6gnMedium EC2InstanceType = "c6gn.medium" + EC2InstanceTypeC6gnLarge EC2InstanceType = "c6gn.large" + EC2InstanceTypeC6gnXlarge EC2InstanceType = "c6gn.xlarge" + EC2InstanceTypeC6gn2xlarge EC2InstanceType = "c6gn.2xlarge" + EC2InstanceTypeC6gn4xlarge EC2InstanceType = "c6gn.4xlarge" + EC2InstanceTypeC6gn8xlarge EC2InstanceType = "c6gn.8xlarge" + EC2InstanceTypeC6gn12xlarge EC2InstanceType = "c6gn.12xlarge" + EC2InstanceTypeC6gn16xlarge EC2InstanceType = "c6gn.16xlarge" + EC2InstanceTypeC7gMedium EC2InstanceType = "c7g.medium" + EC2InstanceTypeC7gLarge EC2InstanceType = "c7g.large" + EC2InstanceTypeC7gXlarge EC2InstanceType = "c7g.xlarge" + EC2InstanceTypeC7g2xlarge EC2InstanceType = "c7g.2xlarge" + EC2InstanceTypeC7g4xlarge EC2InstanceType = "c7g.4xlarge" + EC2InstanceTypeC7g8xlarge EC2InstanceType = "c7g.8xlarge" + EC2InstanceTypeC7g12xlarge EC2InstanceType = "c7g.12xlarge" + EC2InstanceTypeC7g16xlarge EC2InstanceType = "c7g.16xlarge" + EC2InstanceTypeR7gMedium EC2InstanceType = "r7g.medium" + EC2InstanceTypeR7gLarge EC2InstanceType = "r7g.large" + EC2InstanceTypeR7gXlarge EC2InstanceType = "r7g.xlarge" + EC2InstanceTypeR7g2xlarge EC2InstanceType = "r7g.2xlarge" + EC2InstanceTypeR7g4xlarge EC2InstanceType = "r7g.4xlarge" + EC2InstanceTypeR7g8xlarge EC2InstanceType = "r7g.8xlarge" + EC2InstanceTypeR7g12xlarge EC2InstanceType = "r7g.12xlarge" + EC2InstanceTypeR7g16xlarge EC2InstanceType = "r7g.16xlarge" + EC2InstanceTypeM7gMedium EC2InstanceType = "m7g.medium" + EC2InstanceTypeM7gLarge EC2InstanceType = "m7g.large" + EC2InstanceTypeM7gXlarge EC2InstanceType = "m7g.xlarge" + EC2InstanceTypeM7g2xlarge EC2InstanceType = "m7g.2xlarge" + EC2InstanceTypeM7g4xlarge EC2InstanceType = "m7g.4xlarge" + EC2InstanceTypeM7g8xlarge EC2InstanceType = "m7g.8xlarge" + EC2InstanceTypeM7g12xlarge EC2InstanceType = "m7g.12xlarge" + EC2InstanceTypeM7g16xlarge EC2InstanceType = "m7g.16xlarge" + EC2InstanceTypeG5gXlarge EC2InstanceType = "g5g.xlarge" + EC2InstanceTypeG5g2xlarge EC2InstanceType = "g5g.2xlarge" + EC2InstanceTypeG5g4xlarge EC2InstanceType = "g5g.4xlarge" + EC2InstanceTypeG5g8xlarge EC2InstanceType = "g5g.8xlarge" + EC2InstanceTypeG5g16xlarge EC2InstanceType = "g5g.16xlarge" ) // Values returns all known values for EC2InstanceType. Note that this can be @@ -395,6 +456,67 @@ func (EC2InstanceType) Values() []EC2InstanceType { "r5d.12xlarge", "r5d.16xlarge", "r5d.24xlarge", + "m6g.medium", + "m6g.large", + "m6g.xlarge", + "m6g.2xlarge", + "m6g.4xlarge", + "m6g.8xlarge", + "m6g.12xlarge", + "m6g.16xlarge", + "c6g.medium", + "c6g.large", + "c6g.xlarge", + "c6g.2xlarge", + "c6g.4xlarge", + "c6g.8xlarge", + "c6g.12xlarge", + "c6g.16xlarge", + "r6g.medium", + "r6g.large", + "r6g.xlarge", + "r6g.2xlarge", + "r6g.4xlarge", + "r6g.8xlarge", + "r6g.12xlarge", + "r6g.16xlarge", + "c6gn.medium", + "c6gn.large", + "c6gn.xlarge", + "c6gn.2xlarge", + "c6gn.4xlarge", + "c6gn.8xlarge", + "c6gn.12xlarge", + "c6gn.16xlarge", + "c7g.medium", + "c7g.large", + "c7g.xlarge", + "c7g.2xlarge", + "c7g.4xlarge", + "c7g.8xlarge", + "c7g.12xlarge", + "c7g.16xlarge", + "r7g.medium", + "r7g.large", + "r7g.xlarge", + "r7g.2xlarge", + "r7g.4xlarge", + "r7g.8xlarge", + "r7g.12xlarge", + "r7g.16xlarge", + "m7g.medium", + "m7g.large", + "m7g.xlarge", + "m7g.2xlarge", + "m7g.4xlarge", + "m7g.8xlarge", + "m7g.12xlarge", + "m7g.16xlarge", + "g5g.xlarge", + "g5g.2xlarge", + "g5g.4xlarge", + "g5g.8xlarge", + "g5g.16xlarge", } } diff --git a/service/gamelift/types/types.go b/service/gamelift/types/types.go index d011394fecb..c85f29a4580 100644 --- a/service/gamelift/types/types.go +++ b/service/gamelift/types/types.go @@ -80,19 +80,26 @@ type AttributeValue struct { noSmithyDocumentSerde } -// Temporary access credentials used for uploading game build files to Amazon -// GameLift. They are valid for a limited time. If they expire before you upload -// your game build, get a new set by calling RequestUploadCredentials (https://docs.aws.amazon.com/gamelift/latest/apireference/API_RequestUploadCredentials.html) -// . +// Amazon Web Services account security credentials that allow interactions with +// Amazon GameLift resources. The credentials are temporary and valid for a limited +// time span. You can request fresh credentials at any time. Amazon Web Services +// security credentials consist of three parts: an access key ID, a secret access +// key, and a session token. You must use all three parts together to authenticate +// your access requests. You need Amazon Web Services credentials for the following +// tasks: +// - To upload a game server build directly to Amazon GameLift S3 storage using +// CreateBuild . To get access for this task, call RequestUploadCredentials . +// - To remotely connect to an active Amazon GameLift fleet instances. To get +// remote access, call GetComputeAccess . type AwsCredentials struct { - // Temporary key allowing access to the Amazon GameLift S3 account. + // The access key ID that identifies the temporary security credentials. AccessKeyId *string - // Temporary secret key allowing access to the Amazon GameLift S3 account. + // The secret access key that can be used to sign requests. SecretAccessKey *string - // Token used to associate a specific build ID with the files uploaded using these + // The token that users must pass to the service API to use the temporary // credentials. SessionToken *string @@ -180,16 +187,18 @@ type ClaimFilterOption struct { noSmithyDocumentSerde } -// Resources used to host your game servers. A compute resource can be managed -// Amazon GameLift Amazon EC2 instances or your own resources. +// An Amazon GameLift compute resource for hosting your game servers. A compute +// can be an EC2instance in a managed EC2 fleet or a registered compute in an +// Anywhere fleet. type Compute struct { - // The ARN that is assigned to the compute resource and uniquely identifies it. - // ARNs are unique across locations. + // The ARN that is assigned to a compute resource and uniquely identifies it. ARNs + // are unique across locations. Instances in managed EC2 fleets are not assigned a + // ComputeARN. ComputeArn *string - // A descriptive label that is associated with the compute resource registered to - // your fleet. + // A descriptive label for the compute resource. For instances in a managed EC2 + // fleet, the compute name is an instance ID. ComputeName *string // Current status of the compute. A compute must have an ACTIVE status to host @@ -200,33 +209,34 @@ type Compute struct { // expressed in Unix time as milliseconds (for example "1469498468.057" ). CreationTime *time.Time - // The DNS name of the compute resource. Amazon GameLift requires the DNS name or - // IP address to manage your compute resource. + // The DNS name of a compute resource. Amazon GameLift requires a DNS name or IP + // address for a compute. DnsName *string - // The Amazon Resource Name (ARN) of the fleet that the compute is registered to. + // The Amazon Resource Name (ARN) of the fleet that the compute belongs to. FleetArn *string - // A unique identifier for the fleet that the compute is registered to. + // A unique identifier for the fleet that the compute belongs to. FleetId *string - // The endpoint connection details of the Amazon GameLift SDK endpoint that your - // game server connects to. + // The Amazon GameLift SDK endpoint connection for a registered compute resource + // in an Anywhere fleet. The game servers on the compute use this endpoint to + // connect to the Amazon GameLift service. GameLiftServiceSdkEndpoint *string - // The IP address of the compute resource. Amazon GameLift requires the DNS name - // or IP address to manage your compute resource. + // The IP address of a compute resource. Amazon GameLift requires a DNS name or IP + // address for a compute. IpAddress *string // The name of the custom location you added to the fleet that this compute // resource resides in. Location *string - // The type of operating system on your compute resource. + // The type of operating system on the compute resource. OperatingSystem OperatingSystem - // The compute type that the fleet uses. A fleet can use Anywhere compute - // resources that you own, or use managed Amazon EC2 instances. + // The Amazon EC2 instance type that the fleet uses. For registered computes in an + // Amazon GameLift Anywhere fleet, this property is empty. Type EC2InstanceType noSmithyDocumentSerde @@ -254,9 +264,10 @@ type EC2InstanceCounts struct { // Actual number of instances that are ready to host game sessions. ACTIVE *int32 - // Ideal number of active instances. GameLift will always try to maintain the - // desired number of instances. Capacity is scaled up or down by changing the - // desired instances. + // Requested number of active instances. Amazon GameLift takes action as needed to + // maintain the desired number of instances. Capacity is scaled up or down by + // changing the desired instances. A change in the desired instances value can take + // up to 1 minute to be reflected when viewing a fleet's capacity settings. DESIRED *int32 // Number of active instances that are not currently hosting a game session. @@ -385,6 +396,9 @@ type Event struct { // Spot instance events: // - INSTANCE_INTERRUPTED -- A spot instance was interrupted by EC2 with a // two-minute notification. + // - INSTANCE_RECYCLED -- A spot instance was determined to have a high risk of + // interruption and is scheduled to be recycled once it has no active game + // sessions. // Server process events: // - SERVER_PROCESS_INVALID_PATH -- The game server executable or script could // not be found based on the Fleet runtime configuration. Check that the launch @@ -911,10 +925,10 @@ type GameServerInstance struct { } // Properties describing a game session. A game session in ACTIVE status can host -// players. When a game session ends, its status is set to TERMINATED . Once the -// session ends, the game session object is retained for 30 days. This means you -// can reuse idempotency token values after this time. Game session logs are -// retained for 14 days. All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) +// players. When a game session ends, its status is set to TERMINATED . Amazon +// GameLift retains a game session resource for 30 days after the game session +// ends. You can reuse idempotency token values after this time. Game session logs +// are retained for 14 days. All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) type GameSession struct { // A time stamp indicating when this data object was created. Format is a number @@ -971,14 +985,12 @@ type GameSession struct { // Web Services Region code such as us-west-2 . Location *string - // Information about the matchmaking process that was used to create the game - // session. It is in JSON syntax, formatted as a string. In addition the - // matchmaking configuration used, it contains data on all players assigned to the - // match, including player attributes and team assignments. For more details on - // matchmaker data, see Match Data (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-server.html#match-server-data) - // . Matchmaker data is useful when requesting match backfills, and is updated - // whenever new players are added during a successful backfill (see - // StartMatchBackfill (https://docs.aws.amazon.com/gamelift/latest/apireference/API_StartMatchBackfill.html) + // Information about the matchmaking process that resulted in the game session, if + // matchmaking was used. Data is in JSON syntax, formatted as a string. Information + // includes the matchmaker ID as well as player attributes and team assignments. + // For more details on matchmaker data, see Match Data (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-server.html#match-server-data) + // . Matchmaker data is updated whenever new players are added during a successful + // backfill (see StartMatchBackfill (https://docs.aws.amazon.com/gamelift/latest/apireference/API_StartMatchBackfill.html) // ). MatchmakerData *string @@ -1064,8 +1076,14 @@ type GameSessionDetail struct { noSmithyDocumentSerde } -// This object includes the full details of the original request plus the current -// status and start/end time stamps. +// Represents a potential game session placement, including the full details of +// the original placement request and the current status. If the game session +// placement status is PENDING , the properties for game session ID/ARN, region, IP +// address/DNS, and port aren't final. A game session is not active and ready to +// accept players until placement status reaches FULFILLED . When the placement is +// in PENDING status, Amazon GameLift may attempt to place a game session multiple +// times before succeeding. With each attempt it creates a GameSession object and +// updates this placement object with the new game session properties.. type GameSessionPlacement struct { // The DNS identifier assigned to the instance that is running the game session. @@ -1087,10 +1105,9 @@ type GameSessionPlacement struct { // ). GameProperties []GameProperty - // Identifier for the game session created by this placement request. This value - // is set once the new game session is placed (placement status is FULFILLED ). - // This identifier is unique across all Regions. You can use this value as a - // GameSessionId value as needed. + // Identifier for the game session created by this placement request. This + // identifier is unique across all Regions. This value isn't final until placement + // status is FULFILLED . GameSessionArn *string // A set of custom game session properties, formatted as a single string value. @@ -1099,8 +1116,8 @@ type GameSessionPlacement struct { // ). GameSessionData *string - // A unique identifier for the game session. This value is set once the new game - // session is placed (placement status is FULFILLED ). + // A unique identifier for the game session. This value isn't final until + // placement status is FULFILLED . GameSessionId *string // A descriptive label that is associated with a game session. Session names do @@ -1112,13 +1129,12 @@ type GameSessionPlacement struct { GameSessionQueueName *string // Name of the Region where the game session created by this placement request is - // running. This value is set once the new game session is placed (placement status - // is FULFILLED ). + // running. This value isn't final until placement status is FULFILLED . GameSessionRegion *string // The IP address of the game session. To connect to a Amazon GameLift game - // server, an app needs both the IP address and port number. This value is set once - // the new game session is placed (placement status is FULFILLED ). + // server, an app needs both the IP address and port number. This value isn't final + // until placement status is FULFILLED . IpAddress *string // Information on the matchmaking process for this game. Data is in JSON syntax, @@ -1134,10 +1150,10 @@ type GameSessionPlacement struct { MaximumPlayerSessionCount *int32 // A collection of information on player sessions created in response to the game - // session placement request. These player sessions are created only once a new + // session placement request. These player sessions are created only after a new // game session is successfully placed (placement status is FULFILLED ). This - // information includes the player ID (as provided in the placement request) and - // the corresponding player session ID. + // information includes the player ID, provided in the placement request, and a + // corresponding player session ID. PlacedPlayerSessions []PlacedPlayerSession // A unique identifier for a game session placement. @@ -1148,8 +1164,8 @@ type GameSessionPlacement struct { PlayerLatencies []PlayerLatency // The port number for the game session. To connect to a Amazon GameLift game - // server, an app needs both the IP address and port number. This value is set once - // the new game session is placed (placement status is FULFILLED ). + // server, an app needs both the IP address and port number. This value isn't final + // until placement status is FULFILLED . Port *int32 // Time stamp indicating when this request was placed in the queue. Format is a @@ -1157,11 +1173,10 @@ type GameSessionPlacement struct { StartTime *time.Time // Current status of the game session placement request. - // - PENDING -- The placement request is currently in the queue waiting to be - // processed. - // - FULFILLED -- A new game session and player sessions (if requested) have - // been successfully created. Values for GameSessionArn and GameSessionRegion are - // available. + // - PENDING -- The placement request is in the queue waiting to be processed. + // Game session properties are not yet final. + // - FULFILLED -- A new game session has been successfully placed. Game session + // properties are now final. // - CANCELLED -- The placement request was canceled. // - TIMED_OUT -- A new game session was not successfully created before the // time limit expired. You can resubmit the placement request as needed. @@ -1244,9 +1259,9 @@ type GameSessionQueueDestination struct { noSmithyDocumentSerde } -// Represents an EC2 instance of virtual computing resources that hosts one or -// more game servers. In Amazon GameLift, a fleet can contain zero or more -// instances. Related actions +// Represents a virtual computing instance that runs game server processes and +// hosts game sessions. In Amazon GameLift, one or more instances make up a managed +// EC2 fleet. type Instance struct { // A time stamp indicating when this data object was created. Format is a number @@ -1256,8 +1271,8 @@ type Instance struct { // The DNS identifier assigned to the instance that is running the game session. // Values have the following format: // - TLS-enabled fleets: ..amazongamelift.com . - // - Non-TLS-enabled fleets: ec2-.compute.amazonaws.com . (See Amazon EC2 - // Instance IP Addressing (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html#concepts-public-addresses) + // - Non-TLS-enabled fleets: ec2-.compute.amazonaws.com . (See Amazon Elastic + // Compute Cloud Instance IP Addressing (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html#concepts-public-addresses) // .) // When connecting to a game session that is running on a TLS-enabled fleet, you // must use the DNS name, not the IP address. @@ -1269,7 +1284,7 @@ type Instance struct { // arn:aws:gamelift:::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912 . FleetArn *string - // A unique identifier for the fleet that the instance is in. + // A unique identifier for the fleet that the instance belongs to. FleetId *string // A unique identifier for the instance. @@ -1282,7 +1297,7 @@ type Instance struct { // code, such as us-west-2 . Location *string - // Operating system that is running on this instance. + // Operating system that is running on this EC2 instance. OperatingSystem OperatingSystem // Current status of the instance. Possible statuses include the following: @@ -1297,25 +1312,27 @@ type Instance struct { // the event of a problem. Status InstanceStatus - // Amazon EC2 instance type that defines the computing resources of this instance. + // EC2 instance type that defines the computing resources of this instance. Type EC2InstanceType noSmithyDocumentSerde } -// Information required to remotely connect to a fleet instance. +// Information and credentials that you can use to remotely connect to an instance +// in an EC2 managed fleet. This data type is returned in response to a call to +// GetInstanceAccess . type InstanceAccess struct { - // Credentials required to access the instance. + // Security credentials that are required to access the instance. Credentials *InstanceCredentials - // A unique identifier for the fleet containing the instance being accessed. + // A unique identifier for the fleet containing the instance to be accessed. FleetId *string - // A unique identifier for the instance being accessed. + // A unique identifier for the instance to be accessed. InstanceId *string - // IP address that is assigned to the instance. + // IP address assigned to the instance. IpAddress *string // Operating system that is running on the instance. @@ -1324,15 +1341,18 @@ type InstanceAccess struct { noSmithyDocumentSerde } -// Set of credentials required to remotely access a fleet instance. +// A set of credentials that allow remote access to an instance in an EC2 managed +// fleet. These credentials are returned in response to a call to GetInstanceAccess +// , which requests access for instances that are running game servers with the +// Amazon GameLift server SDK version 4.x or earlier. type InstanceCredentials struct { // Secret string. For Windows instances, the secret is a password for use with - // Windows Remote Desktop. For Linux instances, it is a private key (which must be - // saved as a .pem file) for use with SSH. + // Windows Remote Desktop. For Linux instances, it's a private key for use with + // SSH. Secret *string - // User login string. + // A user name for logging in. UserName *string noSmithyDocumentSerde @@ -2198,13 +2218,15 @@ type ServerProcess struct { // This member is required. ConcurrentExecutions *int32 - // The location of a game build executable or the Realtime script file that - // contains the Init() function. Game builds and Realtime scripts are installed on - // instances at the root: + // The location of a game build executable or Realtime script. Game builds and + // Realtime scripts are installed on instances at the root: // - Windows (custom game builds only): C:\game . Example: " // C:\game\MyGame\server.exe " // - Linux: /local/game . Examples: " /local/game/MyGame/server.exe " or " // /local/game/MyRealtimeScript.js " + // Amazon GameLift doesn't support the use of setup scripts that launch the game + // executable. For custom game builds, this parameter must indicate the executable + // that calls the server SDK operations initSDK() and ProcessReady() . // // This member is required. LaunchPath *string diff --git a/service/resourcegroups/internal/endpoints/endpoints.go b/service/resourcegroups/internal/endpoints/endpoints.go index d85c6daa93a..81df0493c16 100644 --- a/service/resourcegroups/internal/endpoints/endpoints.go +++ b/service/resourcegroups/internal/endpoints/endpoints.go @@ -348,6 +348,14 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.AwsIso, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "us-iso-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-iso-west-1", + }: endpoints.Endpoint{}, + }, }, { ID: "aws-iso-b",