Class: Aws::MarketplaceDeployment::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::MarketplaceDeployment::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-marketplacedeployment/client.rb
Overview
An API client for MarketplaceDeployment. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::MarketplaceDeployment::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists all tags that have been added to a deployment parameter resource.
-
#put_deployment_parameter(params = {}) ⇒ Types::PutDeploymentParameterResponse
Creates or updates a deployment parameter and is targeted by ‘catalog` and `agreementId`.
-
#tag_resource(params = {}) ⇒ Struct
Tags a resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes a tag or list of tags from a resource.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
444 445 446 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 444 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
643 644 645 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 643 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
646 647 648 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 646 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 616 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::MarketplaceDeployment') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-marketplacedeployment' context[:gem_version] = '1.14.0' Seahorse::Client::Request.new(handlers, context) end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists all tags that have been added to a deployment parameter resource.
476 477 478 479 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 476 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#put_deployment_parameter(params = {}) ⇒ Types::PutDeploymentParameterResponse
Creates or updates a deployment parameter and is targeted by ‘catalog` and `agreementId`.
550 551 552 553 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 550 def put_deployment_parameter(params = {}, = {}) req = build_request(:put_deployment_parameter, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Tags a resource.
580 581 582 583 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 580 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes a tag or list of tags from a resource.
607 608 609 610 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 607 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
636 637 638 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 636 def waiter_names [] end |