Class: Aws::LaunchWizard::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::LaunchWizard::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb
Overview
An API client for LaunchWizard. To construct a client, you need to configure a :region and :credentials.
client = Aws::LaunchWizard::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
-
#create_deployment(params = {}) ⇒ Types::CreateDeploymentOutput
Creates a deployment for the given workload.
-
#delete_deployment(params = {}) ⇒ Types::DeleteDeploymentOutput
Deletes a deployment.
-
#get_deployment(params = {}) ⇒ Types::GetDeploymentOutput
Returns information about the deployment.
-
#get_deployment_pattern_version(params = {}) ⇒ Types::GetDeploymentPatternVersionOutput
Returns information about a deployment pattern version.
-
#get_workload(params = {}) ⇒ Types::GetWorkloadOutput
Returns information about a workload.
-
#get_workload_deployment_pattern(params = {}) ⇒ Types::GetWorkloadDeploymentPatternOutput
Returns details for a given workload and deployment pattern, including the available specifications.
-
#list_deployment_events(params = {}) ⇒ Types::ListDeploymentEventsOutput
Lists the events of a deployment.
-
#list_deployment_pattern_versions(params = {}) ⇒ Types::ListDeploymentPatternVersionsOutput
Lists the deployment pattern versions.
-
#list_deployments(params = {}) ⇒ Types::ListDeploymentsOutput
Lists the deployments that have been created.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Lists the tags associated with a specified resource.
-
#list_workload_deployment_patterns(params = {}) ⇒ Types::ListWorkloadDeploymentPatternsOutput
Lists the workload deployment patterns for a given workload name.
-
#list_workloads(params = {}) ⇒ Types::ListWorkloadsOutput
Lists the available workload names.
-
#tag_resource(params = {}) ⇒ Struct
Adds the specified tags to the given resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the given resource.
-
#update_deployment(params = {}) ⇒ Types::UpdateDeploymentOutput
Updates a deployment.
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.
478 479 480 |
# File 'gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb', line 478 def initialize(*args) super end |
Instance Method Details
#create_deployment(params = {}) ⇒ Types::CreateDeploymentOutput
Creates a deployment for the given workload. Deployments created by
this operation are not available in the Launch Wizard console to use
the Clone deployment action on.
617 618 619 620 |
# File 'gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb', line 617 def create_deployment(params = {}, = {}) req = build_request(:create_deployment, params) req.send_request() end |
#delete_deployment(params = {}) ⇒ Types::DeleteDeploymentOutput
Deletes a deployment.
660 661 662 663 |
# File 'gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb', line 660 def delete_deployment(params = {}, = {}) req = build_request(:delete_deployment, params) req.send_request() end |
#get_deployment(params = {}) ⇒ Types::GetDeploymentOutput
Returns information about the deployment.
736 737 738 739 |
# File 'gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb', line 736 def get_deployment(params = {}, = {}) req = build_request(:get_deployment, params) req.send_request() end |
#get_deployment_pattern_version(params = {}) ⇒ Types::GetDeploymentPatternVersionOutput
Returns information about a deployment pattern version.
787 788 789 790 |
# File 'gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb', line 787 def get_deployment_pattern_version(params = {}, = {}) req = build_request(:get_deployment_pattern_version, params) req.send_request() end |
#get_workload(params = {}) ⇒ Types::GetWorkloadOutput
Returns information about a workload.
842 843 844 845 |
# File 'gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb', line 842 def get_workload(params = {}, = {}) req = build_request(:get_workload, params) req.send_request() end |
#get_workload_deployment_pattern(params = {}) ⇒ Types::GetWorkloadDeploymentPatternOutput
Returns details for a given workload and deployment pattern, including the available specifications. You can use the ListWorkloads operation to discover the available workload names and the ListWorkloadDeploymentPatterns operation to discover the available deployment pattern names of a given workload.
939 940 941 942 |
# File 'gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb', line 939 def get_workload_deployment_pattern(params = {}, = {}) req = build_request(:get_workload_deployment_pattern, params) req.send_request() end |
#list_deployment_events(params = {}) ⇒ Types::ListDeploymentEventsOutput
Lists the events of a deployment.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1016 1017 1018 1019 |
# File 'gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb', line 1016 def list_deployment_events(params = {}, = {}) req = build_request(:list_deployment_events, params) req.send_request() end |
#list_deployment_pattern_versions(params = {}) ⇒ Types::ListDeploymentPatternVersionsOutput
Lists the deployment pattern versions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1140 1141 1142 1143 |
# File 'gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb', line 1140 def list_deployment_pattern_versions(params = {}, = {}) req = build_request(:list_deployment_pattern_versions, params) req.send_request() end |
#list_deployments(params = {}) ⇒ Types::ListDeploymentsOutput
Lists the deployments that have been created.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1229 1230 1231 1232 |
# File 'gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb', line 1229 def list_deployments(params = {}, = {}) req = build_request(:list_deployments, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Lists the tags associated with a specified resource.
1273 1274 1275 1276 |
# File 'gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb', line 1273 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_workload_deployment_patterns(params = {}) ⇒ Types::ListWorkloadDeploymentPatternsOutput
Lists the workload deployment patterns for a given workload name. You can use the ListWorkloads operation to discover the available workload names.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1361 1362 1363 1364 |
# File 'gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb', line 1361 def list_workload_deployment_patterns(params = {}, = {}) req = build_request(:list_workload_deployment_patterns, params) req.send_request() end |
#list_workloads(params = {}) ⇒ Types::ListWorkloadsOutput
Lists the available workload names. You can use the ListWorkloadDeploymentPatterns operation to discover the available deployment patterns for a given workload.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1433 1434 1435 1436 |
# File 'gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb', line 1433 def list_workloads(params = {}, = {}) req = build_request(:list_workloads, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds the specified tags to the given resource.
1476 1477 1478 1479 |
# File 'gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb', line 1476 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the given resource.
1517 1518 1519 1520 |
# File 'gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb', line 1517 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_deployment(params = {}) ⇒ Types::UpdateDeploymentOutput
Updates a deployment.
1656 1657 1658 1659 |
# File 'gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb', line 1656 def update_deployment(params = {}, = {}) req = build_request(:update_deployment, params) req.send_request() end |