Class: Aws::MarketplaceDeployment::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::MarketplaceDeployment::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-marketplacedeployment/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.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
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
andagreementId
. -
#tag_resource(params = {}) ⇒ Struct
Tags a resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes a tag or list of tags from a resource.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
409 410 411 |
# File 'gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment/client.rb', line 409 def initialize(*args) super end |
Instance Method Details
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists all tags that have been added to a deployment parameter resource.
441 442 443 444 |
# File 'gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment/client.rb', line 441 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
.
515 516 517 518 |
# File 'gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment/client.rb', line 515 def put_deployment_parameter(params = {}, = {}) req = build_request(:put_deployment_parameter, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Tags a resource.
545 546 547 548 |
# File 'gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment/client.rb', line 545 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.
572 573 574 575 |
# File 'gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment/client.rb', line 572 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |