Class: Aws::LaunchWizard::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::LaunchWizard::Client
- Includes:
- ClientStubs
- Defined in:
- 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](/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
-
#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_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_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.
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-launchwizard/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.
1044 1045 1046 |
# File 'lib/aws-sdk-launchwizard/client.rb', line 1044 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.
1047 1048 1049 |
# File 'lib/aws-sdk-launchwizard/client.rb', line 1047 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.
1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 |
# File 'lib/aws-sdk-launchwizard/client.rb', line 1017 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::LaunchWizard') ) 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-launchwizard' context[:gem_version] = '1.31.0' Seahorse::Client::Request.new(handlers, context) end |
#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.
553 554 555 556 |
# File 'lib/aws-sdk-launchwizard/client.rb', line 553 def create_deployment(params = {}, = {}) req = build_request(:create_deployment, params) req.send_request() end |
#delete_deployment(params = {}) ⇒ Types::DeleteDeploymentOutput
Deletes a deployment.
583 584 585 586 |
# File 'lib/aws-sdk-launchwizard/client.rb', line 583 def delete_deployment(params = {}, = {}) req = build_request(:delete_deployment, params) req.send_request() end |
#get_deployment(params = {}) ⇒ Types::GetDeploymentOutput
Returns information about the deployment.
623 624 625 626 |
# File 'lib/aws-sdk-launchwizard/client.rb', line 623 def get_deployment(params = {}, = {}) req = build_request(:get_deployment, params) req.send_request() end |
#get_workload(params = {}) ⇒ Types::GetWorkloadOutput
Returns information about a workload.
657 658 659 660 |
# File 'lib/aws-sdk-launchwizard/client.rb', line 657 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][2
-
operation to discover the
available deployment pattern names of a given workload.
[1]: docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html [2]: docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloadDeploymentPatterns.html
714 715 716 717 |
# File 'lib/aws-sdk-launchwizard/client.rb', line 714 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.
762 763 764 765 |
# File 'lib/aws-sdk-launchwizard/client.rb', line 762 def list_deployment_events(params = {}, = {}) req = build_request(:list_deployment_events, 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.
822 823 824 825 |
# File 'lib/aws-sdk-launchwizard/client.rb', line 822 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.
851 852 853 854 |
# File 'lib/aws-sdk-launchwizard/client.rb', line 851 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.
[1]: docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
907 908 909 910 |
# File 'lib/aws-sdk-launchwizard/client.rb', line 907 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][1
-
operation to discover the
available deployment patterns for a given workload.
[1]: docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloadDeploymentPatterns.html
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
954 955 956 957 |
# File 'lib/aws-sdk-launchwizard/client.rb', line 954 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.
982 983 984 985 |
# File 'lib/aws-sdk-launchwizard/client.rb', line 982 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.
1008 1009 1010 1011 |
# File 'lib/aws-sdk-launchwizard/client.rb', line 1008 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.
1037 1038 1039 |
# File 'lib/aws-sdk-launchwizard/client.rb', line 1037 def waiter_names [] end |