sig/client.rbs in aws-sdk-gamelift-1.76.0 vs sig/client.rbs in aws-sdk-gamelift-1.77.0

- old
+ new

@@ -146,10 +146,73 @@ ], ?server_sdk_version: ::String ) -> _CreateBuildResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBuildResponseSuccess + interface _CreateContainerGroupDefinitionResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::CreateContainerGroupDefinitionOutput] + def container_group_definition: () -> Types::ContainerGroupDefinition + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GameLift/Client.html#create_container_group_definition-instance_method + def create_container_group_definition: ( + name: ::String, + ?scheduling_strategy: ("REPLICA" | "DAEMON"), + total_memory_limit: ::Integer, + total_cpu_limit: ::Integer, + container_definitions: Array[ + { + container_name: ::String, + image_uri: ::String, + memory_limits: { + soft_limit: ::Integer?, + hard_limit: ::Integer? + }?, + port_configuration: { + container_port_ranges: Array[ + { + from_port: ::Integer, + to_port: ::Integer, + protocol: ("TCP" | "UDP") + }, + ] + }?, + cpu: ::Integer?, + health_check: { + command: Array[::String], + interval: ::Integer?, + timeout: ::Integer?, + retries: ::Integer?, + start_period: ::Integer? + }?, + command: Array[::String]?, + essential: bool?, + entry_point: Array[::String]?, + working_directory: ::String?, + environment: Array[ + { + name: ::String, + value: ::String + }, + ]?, + depends_on: Array[ + { + container_name: ::String, + condition: ("START" | "COMPLETE" | "SUCCESS" | "HEALTHY") + }, + ]? + }, + ], + operating_system: ("AMAZON_LINUX_2023"), + ?tags: Array[ + { + key: ::String, + value: ::String + }, + ] + ) -> _CreateContainerGroupDefinitionResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateContainerGroupDefinitionResponseSuccess + interface _CreateFleetResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::CreateFleetOutput] def fleet_attributes: () -> Types::FleetAttributes def location_states: () -> ::Array[Types::LocationState] end @@ -204,15 +267,23 @@ { key: ::String, value: ::String }, ], - ?compute_type: ("EC2" | "ANYWHERE"), + ?compute_type: ("EC2" | "ANYWHERE" | "CONTAINER"), ?anywhere_configuration: { cost: ::String }, - ?instance_role_credentials_provider: ("SHARED_CREDENTIAL_FILE") + ?instance_role_credentials_provider: ("SHARED_CREDENTIAL_FILE"), + ?container_groups_configuration: { + container_group_definition_names: Array[::String], + connection_port_range: { + from_port: ::Integer, + to_port: ::Integer + }, + desired_replica_container_groups_per_instance: ::Integer? + } ) -> _CreateFleetResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFleetResponseSuccess interface _CreateFleetLocationsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::CreateFleetLocationsOutput] @@ -478,10 +549,16 @@ def delete_build: ( build_id: ::String ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GameLift/Client.html#delete_container_group_definition-instance_method + def delete_container_group_definition: ( + name: ::String + ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GameLift/Client.html#delete_fleet-instance_method def delete_fleet: ( fleet_id: ::String ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] @@ -625,10 +702,20 @@ fleet_id: ::String, compute_name: ::String ) -> _DescribeComputeResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeComputeResponseSuccess + interface _DescribeContainerGroupDefinitionResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::DescribeContainerGroupDefinitionOutput] + def container_group_definition: () -> Types::ContainerGroupDefinition + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GameLift/Client.html#describe_container_group_definition-instance_method + def describe_container_group_definition: ( + name: ::String + ) -> _DescribeContainerGroupDefinitionResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeContainerGroupDefinitionResponseSuccess + interface _DescribeEC2InstanceLimitsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEC2InstanceLimitsOutput] def ec2_instance_limits: () -> ::Array[Types::EC2InstanceLimit] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GameLift/Client.html#describe_ec2_instance_limits-instance_method @@ -964,10 +1051,11 @@ def fleet_id: () -> ::String def fleet_arn: () -> ::String def compute_name: () -> ::String def compute_arn: () -> ::String def credentials: () -> Types::AwsCredentials + def target: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GameLift/Client.html#get_compute_access-instance_method def get_compute_access: ( fleet_id: ::String, compute_name: ::String @@ -1050,18 +1138,32 @@ ?limit: ::Integer, ?next_token: ::String ) -> _ListComputeResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListComputeResponseSuccess + interface _ListContainerGroupDefinitionsResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::ListContainerGroupDefinitionsOutput] + def container_group_definitions: () -> ::Array[Types::ContainerGroupDefinition] + def next_token: () -> ::String + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GameLift/Client.html#list_container_group_definitions-instance_method + def list_container_group_definitions: ( + ?scheduling_strategy: ("REPLICA" | "DAEMON"), + ?limit: ::Integer, + ?next_token: ::String + ) -> _ListContainerGroupDefinitionsResponseSuccess + | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListContainerGroupDefinitionsResponseSuccess + interface _ListFleetsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListFleetsOutput] def fleet_ids: () -> ::Array[::String] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GameLift/Client.html#list_fleets-instance_method def list_fleets: ( ?build_id: ::String, ?script_id: ::String, + ?container_group_definition_name: ::String, ?limit: ::Integer, ?next_token: ::String ) -> _ListFleetsResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFleetsResponseSuccess