sig/client.rbs in aws-sdk-ec2-1.444.0 vs sig/client.rbs in aws-sdk-ec2-1.445.0
- old
+ new
@@ -8615,10 +8615,20 @@
def get_image_block_public_access_state: (
?dry_run: bool
) -> _GetImageBlockPublicAccessStateResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetImageBlockPublicAccessStateResponseSuccess
+ interface _GetInstanceMetadataDefaultsResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceMetadataDefaultsResult]
+ def account_level: () -> Types::InstanceMetadataDefaultsResponse
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#get_instance_metadata_defaults-instance_method
+ def get_instance_metadata_defaults: (
+ ?dry_run: bool
+ ) -> _GetInstanceMetadataDefaultsResponseSuccess
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInstanceMetadataDefaultsResponseSuccess
+
interface _GetInstanceTypesFromInstanceRequirementsResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceTypesFromInstanceRequirementsResult]
def instance_types: () -> ::Array[Types::InstanceTypeInfoFromInstanceRequirements]
def next_token: () -> ::String
end
@@ -10007,9 +10017,23 @@
instance_id: ::String,
?auto_recovery: ("disabled" | "default"),
?dry_run: bool
) -> _ModifyInstanceMaintenanceOptionsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyInstanceMaintenanceOptionsResponseSuccess
+
+ interface _ModifyInstanceMetadataDefaultsResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::ModifyInstanceMetadataDefaultsResult]
+ def return: () -> bool
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#modify_instance_metadata_defaults-instance_method
+ def modify_instance_metadata_defaults: (
+ ?http_tokens: ("optional" | "required" | "no-preference"),
+ ?http_put_response_hop_limit: ::Integer,
+ ?http_endpoint: ("disabled" | "enabled" | "no-preference"),
+ ?instance_metadata_tags: ("disabled" | "enabled" | "no-preference"),
+ ?dry_run: bool
+ ) -> _ModifyInstanceMetadataDefaultsResponseSuccess
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyInstanceMetadataDefaultsResponseSuccess
interface _ModifyInstanceMetadataOptionsResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyInstanceMetadataOptionsResult]
def instance_id: () -> ::String
def instance_metadata_options: () -> Types::InstanceMetadataOptionsResponse