Class: AWS::OpsWorks::Client

Inherits:
Core::JSONClient show all
Defined in:
lib/aws/ops_works/client.rb

Overview

Client class for AWS OpsWorks.

Instance Attribute Summary

Attributes inherited from Core::Client

#config, #http_read_timeout

Instance Method Summary collapse

Methods inherited from Core::Client

#initialize, #log_warning, #operations, operations, #with_http_handler, #with_options

Constructor Details

This class inherits a constructor from AWS::Core::Client

Instance Method Details

#clone_stack(options = {}) ⇒ Core::Response

Calls the CloneStack API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :source_stack_id - required - (String)

    • :name - (String)

    • :region - (String)

    • :attributes - (Hash<String,String>)

    • :service_role_arn - required - (String)

    • :default_instance_profile_arn - (String)

    • :default_os - (String)

    • :hostname_theme - (String)

    • :default_availability_zone - (String)

    • :custom_json - (String)

    • :use_custom_cookbooks - (Boolean)

    • :custom_cookbooks_source - (Hash)

      • :type - (String)

      • :url - (String)

      • :username - (String)

      • :password - (String)

      • :ssh_key - (String)

      • :revision - (String)

    • :default_ssh_key_name - (String)

    • :clone_permissions - (Boolean)

    • :clone_app_ids - (Array<String>)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :stack_id - (String)



# File 'lib/aws/ops_works/client.rb', line 25

#create_app(options = {}) ⇒ Core::Response

Calls the CreateApp API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :stack_id - required - (String)

    • :name - required - (String)

    • :description - (String)

    • :type - required - (String)

    • :app_source - (Hash)

      • :type - (String)

      • :url - (String)

      • :username - (String)

      • :password - (String)

      • :ssh_key - (String)

      • :revision - (String)

    • :domains - (Array<String>)

    • :enable_ssl - (Boolean)

    • :ssl_configuration - (Hash)

      • :certificate - required - (String)

      • :private_key - required - (String)

      • :chain - (String)

    • :attributes - (Hash<String,String>)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :app_id - (String)



# File 'lib/aws/ops_works/client.rb', line 54

#create_deployment(options = {}) ⇒ Core::Response

Calls the CreateDeployment API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :stack_id - required - (String)

    • :app_id - (String)

    • :instance_ids - (Array<String>)

    • :command - required - (Hash)

      • :name - required - (String)

      • :args - (Hash<String,Array<String>>)

    • :comment - (String)

    • :custom_json - (String)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :deployment_id - (String)



# File 'lib/aws/ops_works/client.rb', line 80

#create_instance(options = {}) ⇒ Core::Response

Calls the CreateInstance API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :stack_id - required - (String)

    • :layer_ids - required - (Array<String>)

    • :instance_type - required - (String)

    • :auto_scaling_type - (String)

    • :hostname - (String)

    • :os - (String)

    • :ssh_key_name - (String)

    • :availability_zone - (String)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :instance_id - (String)



# File 'lib/aws/ops_works/client.rb', line 96

#create_layer(options = {}) ⇒ Core::Response

Calls the CreateLayer API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :stack_id - required - (String)

    • :type - required - (String)

    • :name - required - (String)

    • :shortname - required - (String)

    • :attributes - (Hash<String,String>)

    • :custom_instance_profile_arn - (String)

    • :custom_security_group_ids - (Array<String>)

    • :packages - (Array<String>)

    • :volume_configurations - (Array<Hash>)

      • :mount_point - required - (String)

      • :raid_level - (Integer)

      • :number_of_disks - required - (Integer)

      • :size - required - (Integer)

    • :enable_auto_healing - (Boolean)

    • :auto_assign_elastic_ips - (Boolean)

    • :custom_recipes - (Hash)

      • :setup - (Array<String>)

      • :configure - (Array<String>)

      • :deploy - (Array<String>)

      • :undeploy - (Array<String>)

      • :shutdown - (Array<String>)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :layer_id - (String)



# File 'lib/aws/ops_works/client.rb', line 112

#create_stack(options = {}) ⇒ Core::Response

Calls the CreateStack API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :name - required - (String)

    • :region - required - (String)

    • :attributes - (Hash<String,String>)

    • :service_role_arn - required - (String)

    • :default_instance_profile_arn - required - (String)

    • :default_os - (String)

    • :hostname_theme - (String)

    • :default_availability_zone - (String)

    • :custom_json - (String)

    • :use_custom_cookbooks - (Boolean)

    • :custom_cookbooks_source - (Hash)

      • :type - (String)

      • :url - (String)

      • :username - (String)

      • :password - (String)

      • :ssh_key - (String)

      • :revision - (String)

    • :default_ssh_key_name - (String)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :stack_id - (String)



# File 'lib/aws/ops_works/client.rb', line 141

#create_user_profile(options = {}) ⇒ Core::Response

Calls the CreateUserProfile API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :iam_user_arn - required - (String)

    • :ssh_username - (String)

    • :ssh_public_key - (String)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :iam_user_arn - (String)



# File 'lib/aws/ops_works/client.rb', line 167

#delete_app(options = {}) ⇒ Core::Response

Calls the DeleteApp API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :app_id - required - (String)

Returns:



# File 'lib/aws/ops_works/client.rb', line 178

#delete_instance(options = {}) ⇒ Core::Response

Calls the DeleteInstance API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :instance_id - required - (String)

    • :delete_elastic_ip - (Boolean)

    • :delete_volumes - (Boolean)

Returns:



# File 'lib/aws/ops_works/client.rb', line 184

#delete_layer(options = {}) ⇒ Core::Response

Calls the DeleteLayer API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :layer_id - required - (String)

Returns:



# File 'lib/aws/ops_works/client.rb', line 192

#delete_stack(options = {}) ⇒ Core::Response

Calls the DeleteStack API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :stack_id - required - (String)

Returns:



# File 'lib/aws/ops_works/client.rb', line 198

#delete_user_profile(options = {}) ⇒ Core::Response

Calls the DeleteUserProfile API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :iam_user_arn - required - (String)

Returns:



# File 'lib/aws/ops_works/client.rb', line 204

#describe_apps(options = {}) ⇒ Core::Response

Calls the DescribeApps API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :stack_id - (String)

    • :app_ids - (Array<String>)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :apps - (Array<Hash>)

      • :app_id - (String)

      • :stack_id - (String)

      • :name - (String)

      • :description - (String)

      • :type - (String)

      • :app_source - (Hash)

        • :type - (String)

        • :url - (String)

        • :username - (String)

        • :password - (String)

        • :ssh_key - (String)

        • :revision - (String)

      • :domains - (Array<String>)

      • :enable_ssl - (Boolean)

      • :ssl_configuration - (Hash)

        • :certificate - (String)

        • :private_key - (String)

        • :chain - (String)

      • :attributes - (Hash<String,String>)

      • :created_at - (String)



# File 'lib/aws/ops_works/client.rb', line 210

#describe_commands(options = {}) ⇒ Core::Response

Calls the DescribeCommands API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :deployment_id - (String)

    • :instance_id - (String)

    • :command_ids - (Array<String>)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :commands - (Array<Hash>)

      • :command_id - (String)

      • :instance_id - (String)

      • :deployment_id - (String)

      • :created_at - (String)

      • :acknowledged_at - (String)

      • :completed_at - (String)

      • :status - (String)

      • :exit_code - (Integer)

      • :log_url - (String)

      • :type - (String)



# File 'lib/aws/ops_works/client.rb', line 240

#describe_deployments(options = {}) ⇒ Core::Response

Calls the DescribeDeployments API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :stack_id - (String)

    • :app_id - (String)

    • :deployment_ids - (Array<String>)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :deployments - (Array<Hash>)

      • :deployment_id - (String)

      • :stack_id - (String)

      • :app_id - (String)

      • :created_at - (String)

      • :completed_at - (String)

      • :duration - (Integer)

      • :iam_user_arn - (String)

      • :comment - (String)

      • :command - (Hash)

        • :name - (String)

        • :args - (Hash<String,Hash>)

          • :value - (Array<String>)

      • :status - (String)

      • :custom_json - (String)

      • :instance_ids - (Array<String>)



# File 'lib/aws/ops_works/client.rb', line 261

#describe_elastic_ips(options = {}) ⇒ Core::Response

Calls the DescribeElasticIps API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :instance_id - (String)

    • :ips - (Array<String>)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :elastic_ips - (Array<Hash>)

      • :ip - (String)

      • :name - (String)

      • :region - (String)



# File 'lib/aws/ops_works/client.rb', line 287

#describe_instances(options = {}) ⇒ Core::Response

Calls the DescribeInstances API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :stack_id - (String)

    • :layer_id - (String)

    • :app_id - (String)

    • :instance_ids - (Array<String>)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :instances - (Array<Hash>)

      • :instance_id - (String)

      • :ec_2_instance_id - (String)

      • :hostname - (String)

      • :stack_id - (String)

      • :layer_ids - (Array<String>)

      • :security_group_ids - (Array<String>)

      • :instance_type - (String)

      • :instance_profile_arn - (String)

      • :status - (String)

      • :os - (String)

      • :availability_zone - (String)

      • :public_dns - (String)

      • :private_dns - (String)

      • :public_ip - (String)

      • :private_ip - (String)

      • :elastic_ip - (String)

      • :auto_scaling_type - (String)

      • :ssh_key_name - (String)

      • :ssh_host_rsa_key_fingerprint - (String)

      • :ssh_host_dsa_key_fingerprint - (String)

      • :created_at - (String)

      • :last_service_error_id - (String)



# File 'lib/aws/ops_works/client.rb', line 300

#describe_layers(options = {}) ⇒ Core::Response

Calls the DescribeLayers API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :stack_id - required - (String)

    • :layer_ids - (Array<String>)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :layers - (Array<Hash>)

      • :stack_id - (String)

      • :layer_id - (String)

      • :type - (String)

      • :name - (String)

      • :shortname - (String)

      • :attributes - (Hash<String,String>)

      • :custom_instance_profile_arn - (String)

      • :custom_security_group_ids - (Array<String>)

      • :default_security_group_names - (Array<String>)

      • :packages - (Array<String>)

      • :volume_configurations - (Array<Hash>)

        • :mount_point - (String)

        • :raid_level - (Integer)

        • :number_of_disks - (Integer)

        • :size - (Integer)

      • :enable_auto_healing - (Boolean)

      • :auto_assign_elastic_ips - (Boolean)

      • :default_recipes - (Hash)

        • :setup - (Array<String>)

        • :configure - (Array<String>)

        • :deploy - (Array<String>)

        • :undeploy - (Array<String>)

        • :shutdown - (Array<String>)

      • :custom_recipes - (Hash)

        • :setup - (Array<String>)

        • :configure - (Array<String>)

        • :deploy - (Array<String>)

        • :undeploy - (Array<String>)

        • :shutdown - (Array<String>)

      • :created_at - (String)



# File 'lib/aws/ops_works/client.rb', line 334

#describe_load_based_auto_scaling(options = {}) ⇒ Core::Response

Calls the DescribeLoadBasedAutoScaling API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :layer_ids - required - (Array<String>)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :load_based_auto_scaling_configurations - (Array<Hash>)

      • :layer_id - (String)

      • :enable - (Boolean)

      • :up_scaling - (Hash)

        • :instance_count - (Integer)

        • :thresholds_wait_time - (Integer)

        • :ignore_metrics_time - (Integer)

        • :cpu_threshold - (Numeric)

        • :memory_threshold - (Numeric)

        • :load_threshold - (Numeric)

      • :down_scaling - (Hash)

        • :instance_count - (Integer)

        • :thresholds_wait_time - (Integer)

        • :ignore_metrics_time - (Integer)

        • :cpu_threshold - (Numeric)

        • :memory_threshold - (Numeric)

        • :load_threshold - (Numeric)



# File 'lib/aws/ops_works/client.rb', line 374

#describe_permissions(options = {}) ⇒ Core::Response

Calls the DescribePermissions API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :iam_user_arn - required - (String)

    • :stack_id - required - (String)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :permissions - (Array<Hash>)

      • :stack_id - (String)

      • :iam_user_arn - (String)

      • :allow_ssh - (Boolean)

      • :allow_sudo - (Boolean)



# File 'lib/aws/ops_works/client.rb', line 399

#describe_raid_arrays(options = {}) ⇒ Core::Response

Calls the DescribeRaidArrays API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :instance_id - (String)

    • :raid_array_ids - (Array<String>)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :raid_arrays - (Array<Hash>)

      • :raid_array_id - (String)

      • :instance_id - (String)

      • :name - (String)

      • :raid_level - (Integer)

      • :number_of_disks - (Integer)

      • :size - (Integer)

      • :device - (String)

      • :mount_point - (String)

      • :availability_zone - (String)

      • :created_at - (String)



# File 'lib/aws/ops_works/client.rb', line 413

#describe_service_errors(options = {}) ⇒ Core::Response

Calls the DescribeServiceErrors API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :stack_id - (String)

    • :instance_id - (String)

    • :service_error_ids - (Array<String>)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :service_errors - (Array<Hash>)

      • :service_error_id - (String)

      • :stack_id - (String)

      • :instance_id - (String)

      • :type - (String)

      • :message - (String)

      • :created_at - (String)



# File 'lib/aws/ops_works/client.rb', line 433

#describe_stacks(options = {}) ⇒ Core::Response

Calls the DescribeStacks API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :stack_ids - (Array<String>)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :stacks - (Array<Hash>)

      • :stack_id - (String)

      • :name - (String)

      • :region - (String)

      • :attributes - (Hash<String,String>)

      • :service_role_arn - (String)

      • :default_instance_profile_arn - (String)

      • :default_os - (String)

      • :hostname_theme - (String)

      • :default_availability_zone - (String)

      • :custom_json - (String)

      • :use_custom_cookbooks - (Boolean)

      • :custom_cookbooks_source - (Hash)

        • :type - (String)

        • :url - (String)

        • :username - (String)

        • :password - (String)

        • :ssh_key - (String)

        • :revision - (String)

      • :default_ssh_key_name - (String)

      • :created_at - (String)



# File 'lib/aws/ops_works/client.rb', line 450

#describe_time_based_auto_scaling(options = {}) ⇒ Core::Response

Calls the DescribeTimeBasedAutoScaling API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :instance_ids - required - (Array<String>)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :time_based_auto_scaling_configurations - (Array<Hash>)

      • :instance_id - (String)

      • :auto_scaling_schedule - (Hash)

        • :monday - (Hash<String,String>)

        • :tuesday - (Hash<String,String>)

        • :wednesday - (Hash<String,String>)

        • :thursday - (Hash<String,String>)

        • :friday - (Hash<String,String>)

        • :saturday - (Hash<String,String>)

        • :sunday - (Hash<String,String>)



# File 'lib/aws/ops_works/client.rb', line 479

#describe_user_profiles(options = {}) ⇒ Core::Response

Calls the DescribeUserProfiles API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :iam_user_arns - required - (Array<String>)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :user_profiles - (Array<Hash>)

      • :iam_user_arn - (String)

      • :name - (String)

      • :ssh_username - (String)

      • :ssh_public_key - (String)



# File 'lib/aws/ops_works/client.rb', line 497

#describe_volumes(options = {}) ⇒ Core::Response

Calls the DescribeVolumes API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :instance_id - (String)

    • :raid_array_id - (String)

    • :volume_ids - (Array<String>)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :volumes - (Array<Hash>)

      • :volume_id - (String)

      • :ec_2_volume_id - (String)

      • :name - (String)

      • :raid_array_id - (String)

      • :instance_id - (String)

      • :status - (String)

      • :size - (Integer)

      • :device - (String)

      • :mount_point - (String)

      • :region - (String)

      • :availability_zone - (String)



# File 'lib/aws/ops_works/client.rb', line 510

#get_hostname_suggestion(options = {}) ⇒ Core::Response

Calls the GetHostnameSuggestion API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :layer_id - required - (String)

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :layer_id - (String)

    • :hostname - (String)



# File 'lib/aws/ops_works/client.rb', line 532

#reboot_instance(options = {}) ⇒ Core::Response

Calls the RebootInstance API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :instance_id - required - (String)

Returns:



# File 'lib/aws/ops_works/client.rb', line 542

#set_load_based_auto_scaling(options = {}) ⇒ Core::Response

Calls the SetLoadBasedAutoScaling API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :layer_id - required - (String)

    • :enable - (Boolean)

    • :up_scaling - (Hash)

      • :instance_count - (Integer)

      • :thresholds_wait_time - (Integer)

      • :ignore_metrics_time - (Integer)

      • :cpu_threshold - (Float)

      • :memory_threshold - (Float)

      • :load_threshold - (Float)

    • :down_scaling - (Hash)

      • :instance_count - (Integer)

      • :thresholds_wait_time - (Integer)

      • :ignore_metrics_time - (Integer)

      • :cpu_threshold - (Float)

      • :memory_threshold - (Float)

      • :load_threshold - (Float)

Returns:



# File 'lib/aws/ops_works/client.rb', line 548

#set_permission(options = {}) ⇒ Core::Response

Calls the SetPermission API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :stack_id - required - (String)

    • :iam_user_arn - required - (String)

    • :allow_ssh - (Boolean)

    • :allow_sudo - (Boolean)

Returns:



# File 'lib/aws/ops_works/client.rb', line 569

#set_time_based_auto_scaling(options = {}) ⇒ Core::Response

Calls the SetTimeBasedAutoScaling API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :instance_id - required - (String)

    • :auto_scaling_schedule - (Hash)

      • :monday - (Hash<String,String>)

      • :tuesday - (Hash<String,String>)

      • :wednesday - (Hash<String,String>)

      • :thursday - (Hash<String,String>)

      • :friday - (Hash<String,String>)

      • :saturday - (Hash<String,String>)

      • :sunday - (Hash<String,String>)

Returns:



# File 'lib/aws/ops_works/client.rb', line 578

#start_instance(options = {}) ⇒ Core::Response

Calls the StartInstance API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :instance_id - required - (String)

Returns:



# File 'lib/aws/ops_works/client.rb', line 592

#start_stack(options = {}) ⇒ Core::Response

Calls the StartStack API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :stack_id - required - (String)

Returns:



# File 'lib/aws/ops_works/client.rb', line 598

#stop_instance(options = {}) ⇒ Core::Response

Calls the StopInstance API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :instance_id - required - (String)

Returns:



# File 'lib/aws/ops_works/client.rb', line 604

#stop_stack(options = {}) ⇒ Core::Response

Calls the StopStack API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :stack_id - required - (String)

Returns:



# File 'lib/aws/ops_works/client.rb', line 610

#update_app(options = {}) ⇒ Core::Response

Calls the UpdateApp API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :app_id - required - (String)

    • :name - (String)

    • :description - (String)

    • :type - (String)

    • :app_source - (Hash)

      • :type - (String)

      • :url - (String)

      • :username - (String)

      • :password - (String)

      • :ssh_key - (String)

      • :revision - (String)

    • :domains - (Array<String>)

    • :enable_ssl - (Boolean)

    • :ssl_configuration - (Hash)

      • :certificate - required - (String)

      • :private_key - required - (String)

      • :chain - (String)

    • :attributes - (Hash<String,String>)

Returns:



# File 'lib/aws/ops_works/client.rb', line 616

#update_instance(options = {}) ⇒ Core::Response

Calls the UpdateInstance API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :instance_id - required - (String)

    • :layer_ids - (Array<String>)

    • :instance_type - (String)

    • :auto_scaling_type - (String)

    • :hostname - (String)

    • :os - (String)

    • :ssh_key_name - (String)

Returns:



# File 'lib/aws/ops_works/client.rb', line 639

#update_layer(options = {}) ⇒ Core::Response

Calls the UpdateLayer API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :layer_id - required - (String)

    • :name - (String)

    • :shortname - (String)

    • :attributes - (Hash<String,String>)

    • :custom_instance_profile_arn - (String)

    • :custom_security_group_ids - (Array<String>)

    • :packages - (Array<String>)

    • :volume_configurations - (Array<Hash>)

      • :mount_point - required - (String)

      • :raid_level - (Integer)

      • :number_of_disks - required - (Integer)

      • :size - required - (Integer)

    • :enable_auto_healing - (Boolean)

    • :auto_assign_elastic_ips - (Boolean)

    • :custom_recipes - (Hash)

      • :setup - (Array<String>)

      • :configure - (Array<String>)

      • :deploy - (Array<String>)

      • :undeploy - (Array<String>)

      • :shutdown - (Array<String>)

Returns:



# File 'lib/aws/ops_works/client.rb', line 651

#update_stack(options = {}) ⇒ Core::Response

Calls the UpdateStack API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :stack_id - required - (String)

    • :name - (String)

    • :attributes - (Hash<String,String>)

    • :service_role_arn - (String)

    • :default_instance_profile_arn - (String)

    • :default_os - (String)

    • :hostname_theme - (String)

    • :default_availability_zone - (String)

    • :custom_json - (String)

    • :use_custom_cookbooks - (Boolean)

    • :custom_cookbooks_source - (Hash)

      • :type - (String)

      • :url - (String)

      • :username - (String)

      • :password - (String)

      • :ssh_key - (String)

      • :revision - (String)

    • :default_ssh_key_name - (String)

Returns:



# File 'lib/aws/ops_works/client.rb', line 676

#update_user_profile(options = {}) ⇒ Core::Response

Calls the UpdateUserProfile API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :iam_user_arn - required - (String)

    • :ssh_username - (String)

    • :ssh_public_key - (String)

Returns:



# File 'lib/aws/ops_works/client.rb', line 699