# WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws module EBS class Client < ::Seahorse::Client::Base include ::Aws::ClientStubs # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EBS/Client.html#initialize-instance_method def self.new: ( ?credentials: untyped, ?region: String, ?access_key_id: String, ?active_endpoint_cache: bool, ?adaptive_retry_wait_to_fill: bool, ?client_side_monitoring: bool, ?client_side_monitoring_client_id: String, ?client_side_monitoring_host: String, ?client_side_monitoring_port: Integer, ?client_side_monitoring_publisher: untyped, ?convert_params: bool, ?correct_clock_skew: bool, ?defaults_mode: String, ?disable_host_prefix_injection: bool, ?disable_request_compression: bool, ?endpoint: String, ?endpoint_cache_max_entries: Integer, ?endpoint_cache_max_threads: Integer, ?endpoint_cache_poll_interval: Integer, ?endpoint_discovery: bool, ?ignore_configured_endpoint_urls: bool, ?log_formatter: untyped, ?log_level: Symbol, ?logger: untyped, ?max_attempts: Integer, ?profile: String, ?request_min_compression_size_bytes: Integer, ?retry_backoff: Proc, ?retry_base_delay: Float, ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer), ?retry_limit: Integer, ?retry_max_delay: Integer, ?retry_mode: ("legacy" | "standard" | "adaptive"), ?sdk_ua_app_id: String, ?secret_access_key: String, ?session_token: String, ?sigv4a_signing_region_set: Array[String], ?stub_responses: untyped, ?token_provider: untyped, ?use_dualstack_endpoint: bool, ?use_fips_endpoint: bool, ?validate_params: bool, ?endpoint_provider: untyped, ?http_proxy: String, ?http_open_timeout: (Float | Integer), ?http_read_timeout: (Float | Integer), ?http_idle_timeout: (Float | Integer), ?http_continue_timeout: (Float | Integer), ?ssl_timeout: (Float | Integer | nil), ?http_wire_trace: bool, ?ssl_verify_peer: bool, ?ssl_ca_bundle: String, ?ssl_ca_directory: String, ?ssl_ca_store: String, ?on_chunk_received: Proc, ?on_chunk_sent: Proc, ?raise_response_errors: bool ) -> instance | (?Hash[Symbol, untyped]) -> instance interface _CompleteSnapshotResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::CompleteSnapshotResponse] def status: () -> ("completed" | "pending" | "error") end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EBS/Client.html#complete_snapshot-instance_method def complete_snapshot: ( snapshot_id: ::String, changed_blocks_count: ::Integer, ?checksum: ::String, ?checksum_algorithm: ("SHA256"), ?checksum_aggregation_method: ("LINEAR") ) -> _CompleteSnapshotResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CompleteSnapshotResponseSuccess interface _GetSnapshotBlockResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::GetSnapshotBlockResponse] def data_length: () -> ::Integer def block_data: () -> ::IO def checksum: () -> ::String def checksum_algorithm: () -> ("SHA256") end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EBS/Client.html#get_snapshot_block-instance_method def get_snapshot_block: ( snapshot_id: ::String, block_index: ::Integer, block_token: ::String ) ?{ (*untyped) -> void } -> _GetSnapshotBlockResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetSnapshotBlockResponseSuccess interface _ListChangedBlocksResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListChangedBlocksResponse] def changed_blocks: () -> ::Array[Types::ChangedBlock] def expiry_time: () -> ::Time def volume_size: () -> ::Integer def block_size: () -> ::Integer def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EBS/Client.html#list_changed_blocks-instance_method def list_changed_blocks: ( ?first_snapshot_id: ::String, second_snapshot_id: ::String, ?next_token: ::String, ?max_results: ::Integer, ?starting_block_index: ::Integer ) -> _ListChangedBlocksResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChangedBlocksResponseSuccess interface _ListSnapshotBlocksResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListSnapshotBlocksResponse] def blocks: () -> ::Array[Types::Block] def expiry_time: () -> ::Time def volume_size: () -> ::Integer def block_size: () -> ::Integer def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EBS/Client.html#list_snapshot_blocks-instance_method def list_snapshot_blocks: ( snapshot_id: ::String, ?next_token: ::String, ?max_results: ::Integer, ?starting_block_index: ::Integer ) -> _ListSnapshotBlocksResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSnapshotBlocksResponseSuccess interface _PutSnapshotBlockResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::PutSnapshotBlockResponse] def checksum: () -> ::String def checksum_algorithm: () -> ("SHA256") end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EBS/Client.html#put_snapshot_block-instance_method def put_snapshot_block: ( snapshot_id: ::String, block_index: ::Integer, block_data: ::String, data_length: ::Integer, ?progress: ::Integer, checksum: ::String, checksum_algorithm: ("SHA256") ) -> _PutSnapshotBlockResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSnapshotBlockResponseSuccess interface _StartSnapshotResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::StartSnapshotResponse] def description: () -> ::String def snapshot_id: () -> ::String def owner_id: () -> ::String def status: () -> ("completed" | "pending" | "error") def start_time: () -> ::Time def volume_size: () -> ::Integer def block_size: () -> ::Integer def tags: () -> ::Array[Types::Tag] def parent_snapshot_id: () -> ::String def kms_key_arn: () -> ::String def sse_type: () -> ("sse-ebs" | "sse-kms" | "none") end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EBS/Client.html#start_snapshot-instance_method def start_snapshot: ( volume_size: ::Integer, ?parent_snapshot_id: ::String, ?tags: Array[ { key: ::String?, value: ::String? }, ], ?description: ::String, ?client_token: ::String, ?encrypted: bool, ?kms_key_arn: ::String, ?timeout: ::Integer ) -> _StartSnapshotResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartSnapshotResponseSuccess end end end