# 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 OAM class Client < ::Seahorse::Client::Base include ::Aws::ClientStubs # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/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, ?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 _CreateLinkResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::CreateLinkOutput] def arn: () -> ::String def id: () -> ::String def label: () -> ::String def label_template: () -> ::String def resource_types: () -> ::Array[::String] def sink_arn: () -> ::String def tags: () -> ::Hash[::String, ::String] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#create_link-instance_method def create_link: ( label_template: ::String, resource_types: Array[("AWS::CloudWatch::Metric" | "AWS::Logs::LogGroup" | "AWS::XRay::Trace" | "AWS::ApplicationInsights::Application" | "AWS::InternetMonitor::Monitor")], sink_identifier: ::String, ?tags: Hash[::String, ::String] ) -> _CreateLinkResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLinkResponseSuccess interface _CreateSinkResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::CreateSinkOutput] def arn: () -> ::String def id: () -> ::String def name: () -> ::String def tags: () -> ::Hash[::String, ::String] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#create_sink-instance_method def create_sink: ( name: ::String, ?tags: Hash[::String, ::String] ) -> _CreateSinkResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSinkResponseSuccess interface _DeleteLinkResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DeleteLinkOutput] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#delete_link-instance_method def delete_link: ( identifier: ::String ) -> _DeleteLinkResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLinkResponseSuccess interface _DeleteSinkResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSinkOutput] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#delete_sink-instance_method def delete_sink: ( identifier: ::String ) -> _DeleteSinkResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSinkResponseSuccess interface _GetLinkResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::GetLinkOutput] def arn: () -> ::String def id: () -> ::String def label: () -> ::String def label_template: () -> ::String def resource_types: () -> ::Array[::String] def sink_arn: () -> ::String def tags: () -> ::Hash[::String, ::String] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#get_link-instance_method def get_link: ( identifier: ::String ) -> _GetLinkResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLinkResponseSuccess interface _GetSinkResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::GetSinkOutput] def arn: () -> ::String def id: () -> ::String def name: () -> ::String def tags: () -> ::Hash[::String, ::String] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#get_sink-instance_method def get_sink: ( identifier: ::String ) -> _GetSinkResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSinkResponseSuccess interface _GetSinkPolicyResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::GetSinkPolicyOutput] def sink_arn: () -> ::String def sink_id: () -> ::String def policy: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#get_sink_policy-instance_method def get_sink_policy: ( sink_identifier: ::String ) -> _GetSinkPolicyResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSinkPolicyResponseSuccess interface _ListAttachedLinksResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListAttachedLinksOutput] def items: () -> ::Array[Types::ListAttachedLinksItem] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#list_attached_links-instance_method def list_attached_links: ( ?max_results: ::Integer, ?next_token: ::String, sink_identifier: ::String ) -> _ListAttachedLinksResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAttachedLinksResponseSuccess interface _ListLinksResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListLinksOutput] def items: () -> ::Array[Types::ListLinksItem] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#list_links-instance_method def list_links: ( ?max_results: ::Integer, ?next_token: ::String ) -> _ListLinksResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLinksResponseSuccess interface _ListSinksResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListSinksOutput] def items: () -> ::Array[Types::ListSinksItem] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#list_sinks-instance_method def list_sinks: ( ?max_results: ::Integer, ?next_token: ::String ) -> _ListSinksResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSinksResponseSuccess interface _ListTagsForResourceResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput] def tags: () -> ::Hash[::String, ::String] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#list_tags_for_resource-instance_method def list_tags_for_resource: ( resource_arn: ::String ) -> _ListTagsForResourceResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess interface _PutSinkPolicyResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::PutSinkPolicyOutput] def sink_arn: () -> ::String def sink_id: () -> ::String def policy: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#put_sink_policy-instance_method def put_sink_policy: ( sink_identifier: ::String, policy: ::String ) -> _PutSinkPolicyResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSinkPolicyResponseSuccess interface _TagResourceResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#tag_resource-instance_method def tag_resource: ( resource_arn: ::String, tags: Hash[::String, ::String] ) -> _TagResourceResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess interface _UntagResourceResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#untag_resource-instance_method def untag_resource: ( resource_arn: ::String, tag_keys: Array[::String] ) -> _UntagResourceResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess interface _UpdateLinkResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLinkOutput] def arn: () -> ::String def id: () -> ::String def label: () -> ::String def label_template: () -> ::String def resource_types: () -> ::Array[::String] def sink_arn: () -> ::String def tags: () -> ::Hash[::String, ::String] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#update_link-instance_method def update_link: ( identifier: ::String, resource_types: Array[("AWS::CloudWatch::Metric" | "AWS::Logs::LogGroup" | "AWS::XRay::Trace" | "AWS::ApplicationInsights::Application" | "AWS::InternetMonitor::Monitor")] ) -> _UpdateLinkResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLinkResponseSuccess end end end