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.
473 474 475 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 473 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.
677 678 679 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 677 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.
680 681 682 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 680 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.
650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 650 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.26.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.
505 506 507 508 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 505 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`.
584 585 586 587 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 584 def put_deployment_parameter(params = {}, = {}) req = build_request(:put_deployment_parameter, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Tags a resource.
614 615 616 617 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 614 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.
641 642 643 644 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 641 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.
670 671 672 |
# File 'lib/aws-sdk-marketplacedeployment/client.rb', line 670 def waiter_names [] end |