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

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)
    • :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) Valid values include:
      • git
      • svn
      • archive
      • s3
      • :url - (String)
      • :username - (String)
      • :password - (String)
      • :ssh_key - (String)
      • :revision - (String)
    • :default_ssh_key_name - (String)
    • :clone_permissions - (Boolean)
    • :clone_app_ids - (Array)

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) Valid values include:
      • rails
      • php
      • nodejs
      • static
      • other
    • :app_source - (Hash)
      • :type - (String) Valid values include:
      • git
      • svn
      • archive
      • s3
      • :url - (String)
      • :username - (String)
      • :password - (String)
      • :ssh_key - (String)
      • :revision - (String)
    • :domains - (Array)
    • :enable_ssl - (Boolean)
    • :ssl_configuration - (Hash)
      • :certificate - required - (String)
      • :private_key - required - (String)
      • :chain - (String)
    • :attributes - (Hash)

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 58

#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)
    • :command - required - (Hash)
      • :name - required - (String) Valid values include:
      • install_dependencies
      • update_dependencies
      • update_custom_cookbooks
      • execute_recipes
      • deploy
      • rollback
      • start
      • stop
      • restart
      • undeploy
      • :args - (Hash>)
    • :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 93

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

Calls the CreateInstance API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :stack_id - required - (String)
    • :layer_ids - required - (Array)
    • :instance_type - required - (String)
    • :auto_scaling_type - (String) Valid values include:
      • AlwaysRunning
      • TimeBasedAutoScaling
      • LoadBasedAutoScaling
    • :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 119

#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)
    • :custom_instance_profile_arn - (String)
    • :custom_security_group_ids - (Array)
    • :packages - (Array)
    • :volume_configurations - (Array)
      • :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)
      • :configure - (Array)
      • :deploy - (Array)
      • :undeploy - (Array)
      • :shutdown - (Array)

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 138

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

Calls the CreateStack API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :name - required - (String)
    • :region - required - (String)
    • :attributes - (Hash)
    • :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) Valid values include:
      • git
      • svn
      • archive
      • s3
      • :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 167

#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 197

#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 208

#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 214

#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 222

#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 228

#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 234

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

Calls the DescribeApps API operation.

Parameters:

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

Returns:

  • (Core::Response)

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

    • :apps - (Array)
      • :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)
      • :enable_ssl - (Boolean)
      • :ssl_configuration - (Hash)
      • :certificate - (String)
      • :private_key - (String)
      • :chain - (String)
      • :attributes - (Hash)
      • :created_at - (String)


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

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

Calls the DescribeCommands API operation.

Parameters:

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

Returns:

  • (Core::Response)

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

    • :commands - (Array)
      • :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 270

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

Calls the DescribeDeployments API operation.

Parameters:

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

Returns:

  • (Core::Response)

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

    • :deployments - (Array)
      • :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)
        • :value - (Array)
      • :status - (String)
      • :custom_json - (String)
      • :instance_ids - (Array)


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

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

Calls the DescribeElasticIps API operation.

Parameters:

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

Returns:

  • (Core::Response)

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

    • :elastic_ips - (Array)
      • :ip - (String)
      • :name - (String)
      • :region - (String)


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

#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)

Returns:

  • (Core::Response)

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

    • :instances - (Array)
      • :instance_id - (String)
      • :ec2_instance_id - (String)
      • :hostname - (String)
      • :stack_id - (String)
      • :layer_ids - (Array)
      • :security_group_ids - (Array)
      • :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 330

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

Calls the DescribeLayers API operation.

Parameters:

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

Returns:

  • (Core::Response)

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

    • :layers - (Array)
      • :stack_id - (String)
      • :layer_id - (String)
      • :type - (String)
      • :name - (String)
      • :shortname - (String)
      • :attributes - (Hash)
      • :custom_instance_profile_arn - (String)
      • :custom_security_group_ids - (Array)
      • :default_security_group_names - (Array)
      • :packages - (Array)
      • :volume_configurations - (Array)
      • :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)
      • :configure - (Array)
      • :deploy - (Array)
      • :undeploy - (Array)
      • :shutdown - (Array)
      • :custom_recipes - (Hash)
      • :setup - (Array)
      • :configure - (Array)
      • :deploy - (Array)
      • :undeploy - (Array)
      • :shutdown - (Array)
      • :created_at - (String)


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

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

Calls the DescribeLoadBasedAutoScaling API operation.

Parameters:

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

Returns:

  • (Core::Response)

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

    • :load_based_auto_scaling_configurations - (Array)
      • :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 404

#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)
      • :stack_id - (String)
      • :iam_user_arn - (String)
      • :allow_ssh - (Boolean)
      • :allow_sudo - (Boolean)


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

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

Calls the DescribeRaidArrays API operation.

Parameters:

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

Returns:

  • (Core::Response)

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

    • :raid_arrays - (Array)
      • :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 443

#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)

Returns:

  • (Core::Response)

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

    • :service_errors - (Array)
      • :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 463

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

Calls the DescribeStacks API operation.

Parameters:

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

Returns:

  • (Core::Response)

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

    • :stacks - (Array)
      • :stack_id - (String)
      • :name - (String)
      • :region - (String)
      • :attributes - (Hash)
      • :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 480

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

Calls the DescribeTimeBasedAutoScaling API operation.

Parameters:

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

Returns:

  • (Core::Response)

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

    • :time_based_auto_scaling_configurations - (Array)
      • :instance_id - (String)
      • :auto_scaling_schedule - (Hash)
      • :monday - (Hash)
      • :tuesday - (Hash)
      • :wednesday - (Hash)
      • :thursday - (Hash)
      • :friday - (Hash)
      • :saturday - (Hash)
      • :sunday - (Hash)


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

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

Calls the DescribeUserProfiles API operation.

Parameters:

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

Returns:

  • (Core::Response)

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

    • :user_profiles - (Array)
      • :iam_user_arn - (String)
      • :name - (String)
      • :ssh_username - (String)
      • :ssh_public_key - (String)


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

#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)

Returns:

  • (Core::Response)

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

    • :volumes - (Array)
      • :volume_id - (String)
      • :ec2_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 540

#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 562

#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 572

#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 578

#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 599

#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)
      • :tuesday - (Hash)
      • :wednesday - (Hash)
      • :thursday - (Hash)
      • :friday - (Hash)
      • :saturday - (Hash)
      • :sunday - (Hash)

Returns:



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

#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 622

#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 628

#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 634

#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 640

#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) Valid values include:
      • rails
      • php
      • nodejs
      • static
      • other
    • :app_source - (Hash)
      • :type - (String) Valid values include:
      • git
      • svn
      • archive
      • s3
      • :url - (String)
      • :username - (String)
      • :password - (String)
      • :ssh_key - (String)
      • :revision - (String)
    • :domains - (Array)
    • :enable_ssl - (Boolean)
    • :ssl_configuration - (Hash)
      • :certificate - required - (String)
      • :private_key - required - (String)
      • :chain - (String)
    • :attributes - (Hash)

Returns:



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

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

Calls the UpdateInstance API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :instance_id - required - (String)
    • :layer_ids - (Array)
    • :instance_type - (String)
    • :auto_scaling_type - (String) Valid values include:
      • AlwaysRunning
      • TimeBasedAutoScaling
      • LoadBasedAutoScaling
    • :hostname - (String)
    • :os - (String)
    • :ssh_key_name - (String)

Returns:



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

#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)
    • :custom_instance_profile_arn - (String)
    • :custom_security_group_ids - (Array)
    • :packages - (Array)
    • :volume_configurations - (Array)
      • :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)
      • :configure - (Array)
      • :deploy - (Array)
      • :undeploy - (Array)
      • :shutdown - (Array)

Returns:



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

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

Calls the UpdateStack API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :stack_id - required - (String)
    • :name - (String)
    • :attributes - (Hash)
    • :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) Valid values include:
      • git
      • svn
      • archive
      • s3
      • :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 718

#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 745