aws-sdk 1.8.5 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +1 -0
- data/README.rdoc +8 -0
- data/lib/aws-sdk.rb +39 -35
- data/lib/aws/api_config/CloudFront-2012-07-01.yml +2398 -0
- data/lib/aws/api_config/DirectConnect-2012-10-25.yml +475 -0
- data/lib/aws/api_config/DynamoDB-2011-12-05.yml +8 -0
- data/lib/aws/api_config/DynamoDB-2012-08-10.yml +1516 -0
- data/lib/aws/api_config/OpsWorks-2013-02-18.yml +2 -2
- data/lib/aws/auto_scaling.rb +44 -44
- data/lib/aws/auto_scaling/activity.rb +1 -1
- data/lib/aws/auto_scaling/activity_collection.rb +14 -15
- data/lib/aws/auto_scaling/client.rb +277 -277
- data/lib/aws/auto_scaling/config.rb +1 -1
- data/lib/aws/auto_scaling/group.rb +35 -36
- data/lib/aws/auto_scaling/group_collection.rb +10 -10
- data/lib/aws/auto_scaling/group_options.rb +19 -19
- data/lib/aws/auto_scaling/instance.rb +27 -27
- data/lib/aws/auto_scaling/instance_collection.rb +10 -10
- data/lib/aws/auto_scaling/launch_configuration.rb +3 -3
- data/lib/aws/auto_scaling/launch_configuration_collection.rb +1 -1
- data/lib/aws/auto_scaling/notification_configuration.rb +2 -2
- data/lib/aws/auto_scaling/notification_configuration_collection.rb +37 -38
- data/lib/aws/auto_scaling/scaling_policy.rb +3 -3
- data/lib/aws/auto_scaling/scaling_policy_collection.rb +6 -6
- data/lib/aws/auto_scaling/scaling_policy_options.rb +8 -7
- data/lib/aws/auto_scaling/scheduled_action.rb +3 -3
- data/lib/aws/auto_scaling/scheduled_action_collection.rb +28 -28
- data/lib/aws/auto_scaling/tag_collection.rb +30 -28
- data/lib/aws/cloud_formation.rb +95 -94
- data/lib/aws/cloud_formation/client.rb +136 -133
- data/lib/aws/cloud_formation/config.rb +1 -1
- data/lib/aws/cloud_formation/stack.rb +37 -37
- data/lib/aws/cloud_formation/stack_collection.rb +28 -27
- data/lib/aws/cloud_formation/stack_event.rb +9 -11
- data/lib/aws/cloud_formation/stack_output.rb +1 -1
- data/lib/aws/cloud_formation/stack_resource.rb +6 -6
- data/lib/aws/cloud_formation/stack_resource_collection.rb +11 -12
- data/lib/aws/cloud_formation/stack_resource_summary_collection.rb +11 -11
- data/lib/aws/cloud_formation/stack_summary_collection.rb +39 -39
- data/lib/aws/cloud_front.rb +21 -21
- data/lib/aws/cloud_front/client.rb +853 -652
- data/lib/aws/cloud_front/request.rb +3 -0
- data/lib/aws/cloud_search.rb +22 -22
- data/lib/aws/cloud_search/client.rb +322 -315
- data/lib/aws/cloud_search/config.rb +1 -1
- data/lib/aws/cloud_watch.rb +39 -39
- data/lib/aws/cloud_watch/alarm.rb +55 -37
- data/lib/aws/cloud_watch/alarm_collection.rb +18 -18
- data/lib/aws/cloud_watch/alarm_history_item_collection.rb +2 -2
- data/lib/aws/cloud_watch/client.rb +360 -146
- data/lib/aws/cloud_watch/config.rb +1 -1
- data/lib/aws/cloud_watch/metric.rb +15 -15
- data/lib/aws/cloud_watch/metric_alarm_collection.rb +17 -17
- data/lib/aws/cloud_watch/metric_collection.rb +16 -16
- data/lib/aws/cloud_watch/metric_statistics.rb +11 -11
- data/lib/aws/core.rb +243 -225
- data/lib/aws/core/async_handle.rb +13 -13
- data/lib/aws/core/cacheable.rb +14 -15
- data/lib/aws/core/client.rb +40 -15
- data/lib/aws/core/collection.rb +42 -46
- data/lib/aws/core/collection/with_limit_and_next_token.rb +1 -1
- data/lib/aws/core/collection/with_next_token.rb +1 -1
- data/lib/aws/core/configuration.rb +97 -133
- data/lib/aws/core/credential_providers.rb +16 -16
- data/lib/aws/core/data.rb +23 -23
- data/lib/aws/core/http/connection_pool.rb +348 -0
- data/lib/aws/core/http/net_http_handler.rb +17 -26
- data/lib/aws/core/http/patch.rb +102 -0
- data/lib/aws/core/http/request.rb +13 -19
- data/lib/aws/core/http/response.rb +2 -2
- data/lib/aws/core/lazy_error_classes.rb +17 -17
- data/lib/aws/core/log_formatter.rb +70 -104
- data/lib/aws/core/options/json_serializer.rb +1 -1
- data/lib/aws/core/options/validator.rb +4 -4
- data/lib/aws/core/page_result.rb +8 -8
- data/lib/aws/core/policy.rb +49 -49
- data/lib/aws/core/region.rb +72 -0
- data/lib/aws/core/region_collection.rb +106 -0
- data/lib/aws/core/resource.rb +5 -5
- data/lib/aws/core/response.rb +20 -17
- data/lib/aws/core/rest_request_builder.rb +4 -4
- data/lib/aws/core/service_interface.rb +24 -2
- data/lib/aws/core/signature/version_3.rb +2 -2
- data/lib/aws/core/uri_escape.rb +1 -1
- data/lib/aws/core/xml/frame_stack.rb +1 -1
- data/lib/aws/core/xml/grammar.rb +3 -4
- data/lib/aws/core/xml/sax_handlers/libxml.rb +2 -2
- data/lib/aws/core/xml/sax_handlers/nokogiri.rb +3 -3
- data/lib/aws/core/xml/sax_handlers/rexml.rb +5 -5
- data/lib/aws/core/xml/stub.rb +9 -9
- data/lib/aws/data_pipeline.rb +21 -21
- data/lib/aws/data_pipeline/client.rb +189 -133
- data/lib/aws/data_pipeline/config.rb +1 -1
- data/lib/aws/direct_connect.rb +74 -0
- data/lib/aws/direct_connect/client.rb +253 -0
- data/lib/aws/direct_connect/config.rb +18 -0
- data/lib/aws/direct_connect/errors.rb +22 -0
- data/lib/aws/direct_connect/request.rb +27 -0
- data/lib/aws/dynamo_db.rb +71 -69
- data/lib/aws/dynamo_db/attribute_collection.rb +53 -58
- data/lib/aws/dynamo_db/batch_get.rb +23 -23
- data/lib/aws/dynamo_db/batch_write.rb +43 -43
- data/lib/aws/dynamo_db/binary.rb +9 -9
- data/lib/aws/dynamo_db/client.rb +494 -509
- data/lib/aws/dynamo_db/client_base.rb +91 -0
- data/lib/aws/dynamo_db/client_v2.rb +825 -0
- data/lib/aws/dynamo_db/config.rb +1 -1
- data/lib/aws/dynamo_db/item.rb +10 -10
- data/lib/aws/dynamo_db/item_collection.rb +75 -75
- data/lib/aws/dynamo_db/table.rb +85 -85
- data/lib/aws/dynamo_db/table_collection.rb +13 -13
- data/lib/aws/ec2.rb +132 -142
- data/lib/aws/ec2/attachment.rb +31 -36
- data/lib/aws/ec2/attachment_collection.rb +1 -1
- data/lib/aws/ec2/availability_zone.rb +4 -4
- data/lib/aws/ec2/client.rb +2272 -2125
- data/lib/aws/ec2/config.rb +1 -1
- data/lib/aws/ec2/customer_gateway.rb +6 -6
- data/lib/aws/ec2/customer_gateway_collection.rb +6 -6
- data/lib/aws/ec2/dhcp_options.rb +3 -3
- data/lib/aws/ec2/dhcp_options_collection.rb +10 -10
- data/lib/aws/ec2/elastic_ip.rb +15 -15
- data/lib/aws/ec2/elastic_ip_collection.rb +11 -15
- data/lib/aws/ec2/export_task.rb +4 -4
- data/lib/aws/ec2/export_task_collection.rb +11 -11
- data/lib/aws/ec2/filtered_collection.rb +6 -8
- data/lib/aws/ec2/image.rb +46 -40
- data/lib/aws/ec2/image_collection.rb +44 -52
- data/lib/aws/ec2/instance.rb +64 -62
- data/lib/aws/ec2/instance_collection.rb +47 -50
- data/lib/aws/ec2/internet_gateway.rb +6 -6
- data/lib/aws/ec2/internet_gateway/attachment.rb +13 -13
- data/lib/aws/ec2/internet_gateway_collection.rb +3 -3
- data/lib/aws/ec2/key_pair.rb +3 -3
- data/lib/aws/ec2/key_pair_collection.rb +12 -12
- data/lib/aws/ec2/network_acl.rb +39 -39
- data/lib/aws/ec2/network_acl/association.rb +2 -2
- data/lib/aws/ec2/network_acl/entry.rb +22 -22
- data/lib/aws/ec2/network_acl_collection.rb +2 -2
- data/lib/aws/ec2/network_interface.rb +13 -4
- data/lib/aws/ec2/network_interface/attachment.rb +3 -3
- data/lib/aws/ec2/network_interface_collection.rb +5 -5
- data/lib/aws/ec2/permission_collection.rb +1 -1
- data/lib/aws/ec2/region.rb +6 -6
- data/lib/aws/ec2/region_collection.rb +1 -1
- data/lib/aws/ec2/reserved_instances_collection.rb +2 -2
- data/lib/aws/ec2/reserved_instances_offering_collection.rb +2 -2
- data/lib/aws/ec2/resource_tag_collection.rb +5 -5
- data/lib/aws/ec2/route_table.rb +14 -14
- data/lib/aws/ec2/route_table/association.rb +22 -22
- data/lib/aws/ec2/route_table/route.rb +8 -8
- data/lib/aws/ec2/route_table_collection.rb +3 -3
- data/lib/aws/ec2/security_group.rb +39 -41
- data/lib/aws/ec2/security_group_collection.rb +19 -21
- data/lib/aws/ec2/snapshot.rb +3 -3
- data/lib/aws/ec2/snapshot_collection.rb +11 -12
- data/lib/aws/ec2/subnet.rb +2 -2
- data/lib/aws/ec2/subnet_collection.rb +17 -17
- data/lib/aws/ec2/tag_collection.rb +1 -1
- data/lib/aws/ec2/tagged_collection.rb +7 -7
- data/lib/aws/ec2/tagged_item.rb +10 -10
- data/lib/aws/ec2/volume.rb +16 -16
- data/lib/aws/ec2/volume_collection.rb +9 -12
- data/lib/aws/ec2/vpc.rb +6 -6
- data/lib/aws/ec2/vpc_collection.rb +10 -10
- data/lib/aws/ec2/vpn_connection.rb +4 -4
- data/lib/aws/ec2/vpn_connection/telemetry.rb +1 -1
- data/lib/aws/ec2/vpn_connection_collection.rb +6 -6
- data/lib/aws/ec2/vpn_gateway.rb +2 -2
- data/lib/aws/ec2/vpn_gateway_collection.rb +5 -5
- data/lib/aws/elastic_beanstalk.rb +12 -12
- data/lib/aws/elastic_beanstalk/client.rb +376 -368
- data/lib/aws/elastic_beanstalk/config.rb +1 -1
- data/lib/aws/elastic_transcoder.rb +5 -5
- data/lib/aws/elastic_transcoder/client.rb +283 -283
- data/lib/aws/elastic_transcoder/config.rb +1 -1
- data/lib/aws/elasticache.rb +12 -12
- data/lib/aws/elasticache/client.rb +484 -479
- data/lib/aws/elasticache/config.rb +1 -1
- data/lib/aws/elb.rb +23 -23
- data/lib/aws/elb/availability_zone_collection.rb +34 -34
- data/lib/aws/elb/backend_server_policy_collection.rb +24 -24
- data/lib/aws/elb/client.rb +153 -153
- data/lib/aws/elb/config.rb +1 -1
- data/lib/aws/elb/errors.rb +1 -1
- data/lib/aws/elb/instance_collection.rb +20 -25
- data/lib/aws/elb/listener.rb +3 -3
- data/lib/aws/elb/listener_collection.rb +8 -8
- data/lib/aws/elb/load_balancer.rb +15 -16
- data/lib/aws/elb/load_balancer_collection.rb +36 -24
- data/lib/aws/elb/load_balancer_policy.rb +1 -1
- data/lib/aws/elb/load_balancer_policy_collection.rb +5 -5
- data/lib/aws/emr.rb +28 -26
- data/lib/aws/emr/client.rb +165 -149
- data/lib/aws/emr/config.rb +1 -1
- data/lib/aws/emr/instance_group.rb +1 -1
- data/lib/aws/emr/instance_group_collection.rb +1 -1
- data/lib/aws/emr/job_flow.rb +27 -26
- data/lib/aws/emr/job_flow_collection.rb +34 -34
- data/lib/aws/errors.rb +7 -7
- data/lib/aws/glacier.rb +21 -21
- data/lib/aws/glacier/archive_collection.rb +2 -2
- data/lib/aws/glacier/client.rb +139 -140
- data/lib/aws/glacier/config.rb +1 -1
- data/lib/aws/glacier/vault.rb +2 -2
- data/lib/aws/glacier/vault_collection.rb +1 -1
- data/lib/aws/iam.rb +133 -144
- data/lib/aws/iam/access_key.rb +17 -17
- data/lib/aws/iam/access_key_collection.rb +22 -22
- data/lib/aws/iam/account_alias_collection.rb +2 -2
- data/lib/aws/iam/client.rb +429 -420
- data/lib/aws/iam/collection.rb +1 -1
- data/lib/aws/iam/config.rb +2 -2
- data/lib/aws/iam/group.rb +8 -8
- data/lib/aws/iam/group_collection.rb +16 -16
- data/lib/aws/iam/group_policy_collection.rb +6 -6
- data/lib/aws/iam/group_user_collection.rb +3 -3
- data/lib/aws/iam/mfa_device.rb +1 -1
- data/lib/aws/iam/mfa_device_collection.rb +9 -9
- data/lib/aws/iam/policy_collection.rb +4 -4
- data/lib/aws/iam/resource.rb +2 -2
- data/lib/aws/iam/server_certificate.rb +1 -1
- data/lib/aws/iam/server_certificate_collection.rb +15 -15
- data/lib/aws/iam/signing_certificate.rb +29 -29
- data/lib/aws/iam/signing_certificate_collection.rb +23 -23
- data/lib/aws/iam/user.rb +33 -38
- data/lib/aws/iam/user_collection.rb +27 -27
- data/lib/aws/iam/user_group_collection.rb +3 -3
- data/lib/aws/iam/user_policy_collection.rb +6 -6
- data/lib/aws/iam/virtual_mfa_device.rb +12 -12
- data/lib/aws/iam/virtual_mfa_device_collection.rb +4 -4
- data/lib/aws/import_export.rb +22 -21
- data/lib/aws/import_export/client.rb +47 -43
- data/lib/aws/ops_works.rb +5 -5
- data/lib/aws/ops_works/client.rb +484 -438
- data/lib/aws/ops_works/config.rb +1 -1
- data/lib/aws/rails.rb +34 -34
- data/lib/aws/rds.rb +18 -18
- data/lib/aws/rds/client.rb +1286 -1277
- data/lib/aws/rds/config.rb +1 -1
- data/lib/aws/rds/db_instance.rb +15 -4
- data/lib/aws/rds/db_snapshot.rb +1 -1
- data/lib/aws/record.rb +50 -24
- data/lib/aws/record/abstract_base.rb +52 -60
- data/lib/aws/record/attributes.rb +79 -79
- data/lib/aws/record/conversion.rb +1 -1
- data/lib/aws/record/dirty_tracking.rb +69 -67
- data/lib/aws/record/errors.rb +21 -21
- data/lib/aws/record/exceptions.rb +2 -2
- data/lib/aws/record/hash_model.rb +20 -21
- data/lib/aws/record/hash_model/attributes.rb +13 -15
- data/lib/aws/record/hash_model/finder_methods.rb +46 -46
- data/lib/aws/record/hash_model/scope.rb +31 -31
- data/lib/aws/record/model.rb +136 -136
- data/lib/aws/record/model/attributes.rb +57 -59
- data/lib/aws/record/model/finder_methods.rb +67 -67
- data/lib/aws/record/model/scope.rb +48 -49
- data/lib/aws/record/naming.rb +1 -1
- data/lib/aws/record/scope.rb +23 -19
- data/lib/aws/record/validations.rb +253 -271
- data/lib/aws/record/validator.rb +3 -3
- data/lib/aws/record/validators/acceptance.rb +1 -3
- data/lib/aws/record/validators/block.rb +1 -3
- data/lib/aws/record/validators/confirmation.rb +1 -3
- data/lib/aws/record/validators/count.rb +2 -4
- data/lib/aws/record/validators/exclusion.rb +2 -4
- data/lib/aws/record/validators/format.rb +2 -4
- data/lib/aws/record/validators/inclusion.rb +1 -3
- data/lib/aws/record/validators/length.rb +5 -7
- data/lib/aws/record/validators/method.rb +1 -3
- data/lib/aws/record/validators/numericality.rb +6 -8
- data/lib/aws/record/validators/presence.rb +1 -3
- data/lib/aws/redshift.rb +14 -14
- data/lib/aws/redshift/client.rb +596 -592
- data/lib/aws/redshift/config.rb +1 -1
- data/lib/aws/route_53.rb +30 -30
- data/lib/aws/route_53/change_batch.rb +7 -7
- data/lib/aws/route_53/client.rb +188 -152
- data/lib/aws/route_53/hosted_zone.rb +4 -4
- data/lib/aws/route_53/hosted_zone_collection.rb +7 -7
- data/lib/aws/route_53/resource_record_set.rb +10 -10
- data/lib/aws/route_53/resource_record_set_collection.rb +6 -6
- data/lib/aws/s3.rb +79 -79
- data/lib/aws/s3/access_control_list.rb +44 -36
- data/lib/aws/s3/acl_options.rb +51 -51
- data/lib/aws/s3/bucket.rb +146 -146
- data/lib/aws/s3/bucket_collection.rb +21 -21
- data/lib/aws/s3/bucket_lifecycle_configuration.rb +81 -82
- data/lib/aws/s3/bucket_tag_collection.rb +4 -2
- data/lib/aws/s3/cipher_io.rb +5 -4
- data/lib/aws/s3/client.rb +89 -84
- data/lib/aws/s3/client/xml.rb +1 -1
- data/lib/aws/s3/config.rb +7 -1
- data/lib/aws/s3/cors_rule.rb +2 -0
- data/lib/aws/s3/cors_rule_collection.rb +42 -40
- data/lib/aws/s3/data_options.rb +16 -11
- data/lib/aws/s3/encryption_utils.rb +2 -2
- data/lib/aws/s3/errors.rb +7 -7
- data/lib/aws/s3/multipart_upload.rb +30 -33
- data/lib/aws/s3/multipart_upload_collection.rb +8 -6
- data/lib/aws/s3/object_collection.rb +35 -35
- data/lib/aws/s3/object_metadata.rb +6 -6
- data/lib/aws/s3/object_version.rb +4 -4
- data/lib/aws/s3/object_version_collection.rb +15 -15
- data/lib/aws/s3/policy.rb +2 -2
- data/lib/aws/s3/prefixed_collection.rb +9 -5
- data/lib/aws/s3/presigned_post.rb +39 -37
- data/lib/aws/s3/request.rb +11 -11
- data/lib/aws/s3/s3_object.rb +210 -200
- data/lib/aws/s3/tree.rb +25 -27
- data/lib/aws/s3/tree/child_collection.rb +3 -3
- data/lib/aws/s3/tree/leaf_node.rb +2 -2
- data/lib/aws/s3/tree/parent.rb +1 -1
- data/lib/aws/s3/website_configuration.rb +13 -13
- data/lib/aws/simple_db.rb +83 -83
- data/lib/aws/simple_db/attribute.rb +9 -7
- data/lib/aws/simple_db/attribute_collection.rb +22 -13
- data/lib/aws/simple_db/client.rb +107 -107
- data/lib/aws/simple_db/config.rb +7 -1
- data/lib/aws/simple_db/consistent_read_option.rb +5 -5
- data/lib/aws/simple_db/domain.rb +4 -2
- data/lib/aws/simple_db/domain_collection.rb +4 -4
- data/lib/aws/simple_db/domain_metadata.rb +5 -5
- data/lib/aws/simple_db/errors.rb +9 -9
- data/lib/aws/simple_db/item.rb +5 -5
- data/lib/aws/simple_db/item_collection.rb +83 -81
- data/lib/aws/simple_db/item_data.rb +4 -4
- data/lib/aws/simple_db/put_attributes.rb +3 -3
- data/lib/aws/simple_email_service.rb +140 -140
- data/lib/aws/simple_email_service/client.rb +82 -76
- data/lib/aws/simple_email_service/config.rb +1 -2
- data/lib/aws/simple_email_service/email_address_collection.rb +3 -3
- data/lib/aws/simple_email_service/identity.rb +8 -8
- data/lib/aws/simple_email_service/quotas.rb +8 -6
- data/lib/aws/simple_workflow.rb +106 -106
- data/lib/aws/simple_workflow/activity_task.rb +15 -22
- data/lib/aws/simple_workflow/activity_task_collection.rb +15 -15
- data/lib/aws/simple_workflow/activity_type.rb +23 -23
- data/lib/aws/simple_workflow/activity_type_collection.rb +23 -23
- data/lib/aws/simple_workflow/client.rb +1004 -956
- data/lib/aws/simple_workflow/config.rb +1 -1
- data/lib/aws/simple_workflow/count.rb +5 -5
- data/lib/aws/simple_workflow/decision_task.rb +129 -129
- data/lib/aws/simple_workflow/decision_task_collection.rb +59 -59
- data/lib/aws/simple_workflow/domain.rb +11 -11
- data/lib/aws/simple_workflow/domain_collection.rb +26 -26
- data/lib/aws/simple_workflow/history_event.rb +32 -32
- data/lib/aws/simple_workflow/history_event_collection.rb +3 -3
- data/lib/aws/simple_workflow/option_formatters.rb +5 -5
- data/lib/aws/simple_workflow/request.rb +1 -1
- data/lib/aws/simple_workflow/resource.rb +1 -1
- data/lib/aws/simple_workflow/type.rb +8 -8
- data/lib/aws/simple_workflow/type_collection.rb +15 -15
- data/lib/aws/simple_workflow/workflow_execution.rb +70 -72
- data/lib/aws/simple_workflow/workflow_execution_collection.rb +130 -130
- data/lib/aws/simple_workflow/workflow_type.rb +27 -25
- data/lib/aws/simple_workflow/workflow_type_collection.rb +20 -20
- data/lib/aws/sns.rb +25 -25
- data/lib/aws/sns/client.rb +55 -55
- data/lib/aws/sns/config.rb +1 -1
- data/lib/aws/sns/policy.rb +1 -1
- data/lib/aws/sns/subscription.rb +7 -7
- data/lib/aws/sns/subscription_collection.rb +5 -5
- data/lib/aws/sns/topic.rb +49 -49
- data/lib/aws/sns/topic_collection.rb +2 -2
- data/lib/aws/sns/topic_subscription_collection.rb +5 -5
- data/lib/aws/sqs.rb +20 -20
- data/lib/aws/sqs/client.rb +78 -78
- data/lib/aws/sqs/config.rb +1 -1
- data/lib/aws/sqs/errors.rb +12 -12
- data/lib/aws/sqs/queue.rb +66 -67
- data/lib/aws/sqs/queue_collection.rb +16 -8
- data/lib/aws/sqs/received_message.rb +7 -6
- data/lib/aws/storage_gateway.rb +21 -21
- data/lib/aws/storage_gateway/client.rb +269 -202
- data/lib/aws/storage_gateway/config.rb +1 -1
- data/lib/aws/sts.rb +10 -8
- data/lib/aws/sts/client.rb +35 -35
- data/lib/aws/sts/session.rb +3 -3
- data/lib/aws/version.rb +1 -2
- metadata +23 -21
- data/lib/aws/core/autoloader.rb +0 -64
- data/lib/net/http/connection_pool.rb +0 -226
- data/lib/net/http/connection_pool/connection.rb +0 -189
- data/lib/net/http/connection_pool/session.rb +0 -126
@@ -18,10 +18,10 @@ module AWS
|
|
18
18
|
|
19
19
|
include Collection
|
20
20
|
|
21
|
-
# Creates a new virtual MFA device for the AWS account.
|
21
|
+
# Creates a new virtual MFA device for the AWS account.
|
22
22
|
# After creating the virtual MFA, you can enable the device to an
|
23
23
|
# IAM user.
|
24
|
-
#
|
24
|
+
#
|
25
25
|
# @param [String] name The name of the virtual MFA device. Name and path
|
26
26
|
# together uniquely identify a virtual MFA device.
|
27
27
|
# @param [Hash] options
|
@@ -35,14 +35,14 @@ module AWS
|
|
35
35
|
|
36
36
|
VirtualMfaDevice.new_from(
|
37
37
|
:create_virtual_mfa_device,
|
38
|
-
resp.virtual_mfa_device,
|
38
|
+
resp.virtual_mfa_device,
|
39
39
|
resp.virtual_mfa_device.serial_number,
|
40
40
|
:config => config)
|
41
41
|
|
42
42
|
end
|
43
43
|
|
44
44
|
# Returns a virtual MFA device with the given serial number.
|
45
|
-
# @param [String] serial_number The serial number (ARN) of a virtual
|
45
|
+
# @param [String] serial_number The serial number (ARN) of a virtual
|
46
46
|
# MFA device.
|
47
47
|
# @return [VirtualMfaDevice]
|
48
48
|
def [] serial_number
|
data/lib/aws/import_export.rb
CHANGED
@@ -19,41 +19,42 @@ module AWS
|
|
19
19
|
# This class is the starting point for working with AWS Import/Export.
|
20
20
|
#
|
21
21
|
# To use AWS Import/Export you must first
|
22
|
-
#
|
22
|
+
# [sign up here](http://aws.amazon.com/importexport/).
|
23
23
|
#
|
24
24
|
# For more information about AWS Import/Export:
|
25
25
|
#
|
26
|
-
# *
|
27
|
-
# *
|
26
|
+
# * [AWS Import/Export](http://aws.amazon.com/importexport/)
|
27
|
+
# * [AWS Import/Export Documentation](http://aws.amazon.com/documentation/importexport/)
|
28
28
|
#
|
29
|
-
#
|
29
|
+
# # Credentials
|
30
30
|
#
|
31
31
|
# You can setup default credentials for all AWS services via
|
32
32
|
# AWS.config:
|
33
33
|
#
|
34
|
-
#
|
35
|
-
#
|
36
|
-
#
|
34
|
+
# AWS.config(
|
35
|
+
# :access_key_id => 'YOUR_ACCESS_KEY_ID',
|
36
|
+
# :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
|
37
37
|
#
|
38
38
|
# Or you can set them directly on the AWS::ImportExport interface:
|
39
39
|
#
|
40
|
-
#
|
41
|
-
#
|
42
|
-
#
|
40
|
+
# ie = AWS::ImportExport.new(
|
41
|
+
# :access_key_id => 'YOUR_ACCESS_KEY_ID',
|
42
|
+
# :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
|
43
43
|
#
|
44
|
-
#
|
44
|
+
# # Using the Client
|
45
45
|
#
|
46
46
|
# AWS::ImportExport does not provide higher level abstractions for Import/Export at
|
47
47
|
# this time. You can still access all of the API methods using
|
48
48
|
# {AWS::ImportExport::Client}. Here is how you access the client and make
|
49
49
|
# a simple request:
|
50
50
|
#
|
51
|
-
# ie = AWS::ImportExport.new
|
52
51
|
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
52
|
+
# ie = AWS::ImportExport.new
|
53
|
+
#
|
54
|
+
# resp = ie.client.list_hosted_zones
|
55
|
+
# resp[:hosted_zones].each do |zone|
|
56
|
+
# # ...
|
57
|
+
# end
|
57
58
|
#
|
58
59
|
# See {Client} for documentation on all of the supported operations.
|
59
60
|
#
|
@@ -61,13 +62,13 @@ module AWS
|
|
61
62
|
# @return [Client] the low-level ImportExport client object
|
62
63
|
class ImportExport
|
63
64
|
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
autoload :Request, 'request'
|
68
|
-
end
|
65
|
+
autoload :Client, 'aws/import_export/client'
|
66
|
+
autoload :Errors, 'aws/import_export/errors'
|
67
|
+
autoload :Request, 'aws/import_export/request'
|
69
68
|
|
70
69
|
include Core::ServiceInterface
|
71
70
|
|
71
|
+
endpoint_prefix 'importexport', :global => true
|
72
|
+
|
72
73
|
end
|
73
74
|
end
|
@@ -25,80 +25,84 @@ module AWS
|
|
25
25
|
# @!method cancel_job(options = {})
|
26
26
|
# Calls the CancelJob API operation.
|
27
27
|
# @param [Hash] options
|
28
|
-
# *
|
28
|
+
# * `:job_id` - *required* - (String)
|
29
29
|
# @return [Core::Response]
|
30
30
|
# The #data method of the response object returns
|
31
31
|
# a hash with the following structure:
|
32
|
-
# *
|
32
|
+
# * `:success` - (Boolean)
|
33
33
|
|
34
34
|
# @!method create_job(options = {})
|
35
35
|
# Calls the CreateJob API operation.
|
36
36
|
# @param [Hash] options
|
37
|
-
# *
|
38
|
-
#
|
39
|
-
#
|
40
|
-
# *
|
37
|
+
# * `:job_type` - *required* - (String) Valid values include:
|
38
|
+
# * `Import`
|
39
|
+
# * `Export`
|
40
|
+
# * `:manifest` - *required* - (String)
|
41
|
+
# * `:manifest_addendum` - (String)
|
42
|
+
# * `:validate_only` - *required* - (Boolean)
|
41
43
|
# @return [Core::Response]
|
42
44
|
# The #data method of the response object returns
|
43
45
|
# a hash with the following structure:
|
44
|
-
# *
|
45
|
-
# *
|
46
|
-
# *
|
47
|
-
# *
|
48
|
-
# *
|
49
|
-
# *
|
46
|
+
# * `:job_id` - (String)
|
47
|
+
# * `:job_type` - (String)
|
48
|
+
# * `:aws_shipping_address` - (String)
|
49
|
+
# * `:signature` - (String)
|
50
|
+
# * `:signature_file_contents` - (String)
|
51
|
+
# * `:warning_message` - (String)
|
50
52
|
|
51
53
|
# @!method get_status(options = {})
|
52
54
|
# Calls the GetStatus API operation.
|
53
55
|
# @param [Hash] options
|
54
|
-
# *
|
56
|
+
# * `:job_id` - *required* - (String)
|
55
57
|
# @return [Core::Response]
|
56
58
|
# The #data method of the response object returns
|
57
59
|
# a hash with the following structure:
|
58
|
-
# *
|
59
|
-
# *
|
60
|
-
# *
|
61
|
-
# *
|
62
|
-
# *
|
63
|
-
# *
|
64
|
-
# *
|
65
|
-
# *
|
66
|
-
# *
|
67
|
-
# *
|
68
|
-
# *
|
69
|
-
# *
|
70
|
-
# *
|
71
|
-
# *
|
72
|
-
# *
|
73
|
-
# *
|
60
|
+
# * `:job_id` - (String)
|
61
|
+
# * `:job_type` - (String)
|
62
|
+
# * `:aws_shipping_address` - (String)
|
63
|
+
# * `:location_code` - (String)
|
64
|
+
# * `:location_message` - (String)
|
65
|
+
# * `:progress_code` - (String)
|
66
|
+
# * `:progress_message` - (String)
|
67
|
+
# * `:carrier` - (String)
|
68
|
+
# * `:tracking_number` - (String)
|
69
|
+
# * `:log_bucket` - (String)
|
70
|
+
# * `:log_key` - (String)
|
71
|
+
# * `:error_count` - (Integer)
|
72
|
+
# * `:signature` - (String)
|
73
|
+
# * `:signature_file_contents` - (String)
|
74
|
+
# * `:current_manifest` - (String)
|
75
|
+
# * `:creation_date` - (Time)
|
74
76
|
|
75
77
|
# @!method list_jobs(options = {})
|
76
78
|
# Calls the ListJobs API operation.
|
77
79
|
# @param [Hash] options
|
78
|
-
# *
|
79
|
-
# *
|
80
|
+
# * `:max_jobs` - (Integer)
|
81
|
+
# * `:marker` - (String)
|
80
82
|
# @return [Core::Response]
|
81
83
|
# The #data method of the response object returns
|
82
84
|
# a hash with the following structure:
|
83
|
-
# *
|
84
|
-
# *
|
85
|
-
# *
|
86
|
-
# *
|
87
|
-
# *
|
88
|
-
# *
|
85
|
+
# * `:jobs` - (Array<Hash>)
|
86
|
+
# * `:job_id` - (String)
|
87
|
+
# * `:creation_date` - (Time)
|
88
|
+
# * `:is_canceled` - (Boolean)
|
89
|
+
# * `:job_type` - (String)
|
90
|
+
# * `:is_truncated` - (Boolean)
|
89
91
|
|
90
92
|
# @!method update_job(options = {})
|
91
93
|
# Calls the UpdateJob API operation.
|
92
94
|
# @param [Hash] options
|
93
|
-
# *
|
94
|
-
# *
|
95
|
-
# *
|
96
|
-
#
|
95
|
+
# * `:job_id` - *required* - (String)
|
96
|
+
# * `:manifest` - *required* - (String)
|
97
|
+
# * `:job_type` - *required* - (String) Valid values include:
|
98
|
+
# * `Import`
|
99
|
+
# * `Export`
|
100
|
+
# * `:validate_only` - *required* - (Boolean)
|
97
101
|
# @return [Core::Response]
|
98
102
|
# The #data method of the response object returns
|
99
103
|
# a hash with the following structure:
|
100
|
-
# *
|
101
|
-
# *
|
104
|
+
# * `:success` - (Boolean)
|
105
|
+
# * `:warning_message` - (String)
|
102
106
|
|
103
107
|
# end client methods #
|
104
108
|
|
data/lib/aws/ops_works.rb
CHANGED
@@ -18,13 +18,13 @@ module AWS
|
|
18
18
|
|
19
19
|
class OpsWorks
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
autoload :Request, 'request'
|
25
|
-
end
|
21
|
+
autoload :Client, 'aws/ops_works/client'
|
22
|
+
autoload :Errors, 'aws/ops_works/errors'
|
23
|
+
autoload :Request, 'aws/ops_works/request'
|
26
24
|
|
27
25
|
include Core::ServiceInterface
|
28
26
|
|
27
|
+
endpoint_prefix 'opsworks'
|
28
|
+
|
29
29
|
end
|
30
30
|
end
|
data/lib/aws/ops_works/client.rb
CHANGED
@@ -25,683 +25,729 @@ module AWS
|
|
25
25
|
# @!method clone_stack(options = {})
|
26
26
|
# Calls the CloneStack API operation.
|
27
27
|
# @param [Hash] options
|
28
|
-
# *
|
29
|
-
# *
|
30
|
-
# *
|
31
|
-
# *
|
32
|
-
# *
|
33
|
-
# *
|
34
|
-
# *
|
35
|
-
# *
|
36
|
-
# *
|
37
|
-
# *
|
38
|
-
# *
|
39
|
-
# *
|
40
|
-
# *
|
41
|
-
#
|
42
|
-
#
|
43
|
-
#
|
44
|
-
#
|
45
|
-
# *
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
28
|
+
# * `:source_stack_id` - *required* - (String)
|
29
|
+
# * `:name` - (String)
|
30
|
+
# * `:region` - (String)
|
31
|
+
# * `:attributes` - (Hash<String,String>)
|
32
|
+
# * `:service_role_arn` - *required* - (String)
|
33
|
+
# * `:default_instance_profile_arn` - (String)
|
34
|
+
# * `:default_os` - (String)
|
35
|
+
# * `:hostname_theme` - (String)
|
36
|
+
# * `:default_availability_zone` - (String)
|
37
|
+
# * `:custom_json` - (String)
|
38
|
+
# * `:use_custom_cookbooks` - (Boolean)
|
39
|
+
# * `:custom_cookbooks_source` - (Hash)
|
40
|
+
# * `:type` - (String) Valid values include:
|
41
|
+
# * `git`
|
42
|
+
# * `svn`
|
43
|
+
# * `archive`
|
44
|
+
# * `s3`
|
45
|
+
# * `:url` - (String)
|
46
|
+
# * `:username` - (String)
|
47
|
+
# * `:password` - (String)
|
48
|
+
# * `:ssh_key` - (String)
|
49
|
+
# * `:revision` - (String)
|
50
|
+
# * `:default_ssh_key_name` - (String)
|
51
|
+
# * `:clone_permissions` - (Boolean)
|
52
|
+
# * `:clone_app_ids` - (Array<String>)
|
49
53
|
# @return [Core::Response]
|
50
54
|
# The #data method of the response object returns
|
51
55
|
# a hash with the following structure:
|
52
|
-
# *
|
56
|
+
# * `:stack_id` - (String)
|
53
57
|
|
54
58
|
# @!method create_app(options = {})
|
55
59
|
# Calls the CreateApp API operation.
|
56
60
|
# @param [Hash] options
|
57
|
-
# *
|
58
|
-
# *
|
59
|
-
# *
|
60
|
-
# *
|
61
|
-
#
|
62
|
-
# *
|
63
|
-
# *
|
64
|
-
# *
|
65
|
-
# *
|
66
|
-
#
|
67
|
-
# *
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
71
|
-
#
|
72
|
-
# *
|
73
|
-
# *
|
74
|
-
#
|
61
|
+
# * `:stack_id` - *required* - (String)
|
62
|
+
# * `:name` - *required* - (String)
|
63
|
+
# * `:description` - (String)
|
64
|
+
# * `:type` - *required* - (String) Valid values include:
|
65
|
+
# * `rails`
|
66
|
+
# * `php`
|
67
|
+
# * `nodejs`
|
68
|
+
# * `static`
|
69
|
+
# * `other`
|
70
|
+
# * `:app_source` - (Hash)
|
71
|
+
# * `:type` - (String) Valid values include:
|
72
|
+
# * `git`
|
73
|
+
# * `svn`
|
74
|
+
# * `archive`
|
75
|
+
# * `s3`
|
76
|
+
# * `:url` - (String)
|
77
|
+
# * `:username` - (String)
|
78
|
+
# * `:password` - (String)
|
79
|
+
# * `:ssh_key` - (String)
|
80
|
+
# * `:revision` - (String)
|
81
|
+
# * `:domains` - (Array<String>)
|
82
|
+
# * `:enable_ssl` - (Boolean)
|
83
|
+
# * `:ssl_configuration` - (Hash)
|
84
|
+
# * `:certificate` - *required* - (String)
|
85
|
+
# * `:private_key` - *required* - (String)
|
86
|
+
# * `:chain` - (String)
|
87
|
+
# * `:attributes` - (Hash<String,String>)
|
75
88
|
# @return [Core::Response]
|
76
89
|
# The #data method of the response object returns
|
77
90
|
# a hash with the following structure:
|
78
|
-
# *
|
91
|
+
# * `:app_id` - (String)
|
79
92
|
|
80
93
|
# @!method create_deployment(options = {})
|
81
94
|
# Calls the CreateDeployment API operation.
|
82
95
|
# @param [Hash] options
|
83
|
-
# *
|
84
|
-
# *
|
85
|
-
# *
|
86
|
-
# *
|
87
|
-
# *
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
96
|
+
# * `:stack_id` - *required* - (String)
|
97
|
+
# * `:app_id` - (String)
|
98
|
+
# * `:instance_ids` - (Array<String>)
|
99
|
+
# * `:command` - *required* - (Hash)
|
100
|
+
# * `:name` - *required* - (String) Valid values include:
|
101
|
+
# * `install_dependencies`
|
102
|
+
# * `update_dependencies`
|
103
|
+
# * `update_custom_cookbooks`
|
104
|
+
# * `execute_recipes`
|
105
|
+
# * `deploy`
|
106
|
+
# * `rollback`
|
107
|
+
# * `start`
|
108
|
+
# * `stop`
|
109
|
+
# * `restart`
|
110
|
+
# * `undeploy`
|
111
|
+
# * `:args` - (Hash<String,Array<String>>)
|
112
|
+
# * `:comment` - (String)
|
113
|
+
# * `:custom_json` - (String)
|
91
114
|
# @return [Core::Response]
|
92
115
|
# The #data method of the response object returns
|
93
116
|
# a hash with the following structure:
|
94
|
-
# *
|
117
|
+
# * `:deployment_id` - (String)
|
95
118
|
|
96
119
|
# @!method create_instance(options = {})
|
97
120
|
# Calls the CreateInstance API operation.
|
98
121
|
# @param [Hash] options
|
99
|
-
# *
|
100
|
-
# *
|
101
|
-
# *
|
102
|
-
# *
|
103
|
-
#
|
104
|
-
#
|
105
|
-
#
|
106
|
-
# *
|
122
|
+
# * `:stack_id` - *required* - (String)
|
123
|
+
# * `:layer_ids` - *required* - (Array<String>)
|
124
|
+
# * `:instance_type` - *required* - (String)
|
125
|
+
# * `:auto_scaling_type` - (String) Valid values include:
|
126
|
+
# * `AlwaysRunning`
|
127
|
+
# * `TimeBasedAutoScaling`
|
128
|
+
# * `LoadBasedAutoScaling`
|
129
|
+
# * `:hostname` - (String)
|
130
|
+
# * `:os` - (String)
|
131
|
+
# * `:ssh_key_name` - (String)
|
132
|
+
# * `:availability_zone` - (String)
|
107
133
|
# @return [Core::Response]
|
108
134
|
# The #data method of the response object returns
|
109
135
|
# a hash with the following structure:
|
110
|
-
# *
|
136
|
+
# * `:instance_id` - (String)
|
111
137
|
|
112
138
|
# @!method create_layer(options = {})
|
113
139
|
# Calls the CreateLayer API operation.
|
114
140
|
# @param [Hash] options
|
115
|
-
# *
|
116
|
-
# *
|
117
|
-
# *
|
118
|
-
# *
|
119
|
-
# *
|
120
|
-
# *
|
121
|
-
# *
|
122
|
-
# *
|
123
|
-
# *
|
124
|
-
# *
|
125
|
-
# *
|
126
|
-
# *
|
127
|
-
# *
|
128
|
-
# *
|
129
|
-
# *
|
130
|
-
# *
|
131
|
-
# *
|
132
|
-
# *
|
133
|
-
# *
|
134
|
-
# *
|
135
|
-
# *
|
141
|
+
# * `:stack_id` - *required* - (String)
|
142
|
+
# * `:type` - *required* - (String)
|
143
|
+
# * `:name` - *required* - (String)
|
144
|
+
# * `:shortname` - *required* - (String)
|
145
|
+
# * `:attributes` - (Hash<String,String>)
|
146
|
+
# * `:custom_instance_profile_arn` - (String)
|
147
|
+
# * `:custom_security_group_ids` - (Array<String>)
|
148
|
+
# * `:packages` - (Array<String>)
|
149
|
+
# * `:volume_configurations` - (Array<Hash>)
|
150
|
+
# * `:mount_point` - *required* - (String)
|
151
|
+
# * `:raid_level` - (Integer)
|
152
|
+
# * `:number_of_disks` - *required* - (Integer)
|
153
|
+
# * `:size` - *required* - (Integer)
|
154
|
+
# * `:enable_auto_healing` - (Boolean)
|
155
|
+
# * `:auto_assign_elastic_ips` - (Boolean)
|
156
|
+
# * `:custom_recipes` - (Hash)
|
157
|
+
# * `:setup` - (Array<String>)
|
158
|
+
# * `:configure` - (Array<String>)
|
159
|
+
# * `:deploy` - (Array<String>)
|
160
|
+
# * `:undeploy` - (Array<String>)
|
161
|
+
# * `:shutdown` - (Array<String>)
|
136
162
|
# @return [Core::Response]
|
137
163
|
# The #data method of the response object returns
|
138
164
|
# a hash with the following structure:
|
139
|
-
# *
|
165
|
+
# * `:layer_id` - (String)
|
140
166
|
|
141
167
|
# @!method create_stack(options = {})
|
142
168
|
# Calls the CreateStack API operation.
|
143
169
|
# @param [Hash] options
|
144
|
-
# *
|
145
|
-
# *
|
146
|
-
# *
|
147
|
-
# *
|
148
|
-
# *
|
149
|
-
# *
|
150
|
-
# *
|
151
|
-
# *
|
152
|
-
# *
|
153
|
-
# *
|
154
|
-
# *
|
155
|
-
# *
|
156
|
-
#
|
157
|
-
#
|
158
|
-
#
|
159
|
-
#
|
160
|
-
# *
|
161
|
-
#
|
170
|
+
# * `:name` - *required* - (String)
|
171
|
+
# * `:region` - *required* - (String)
|
172
|
+
# * `:attributes` - (Hash<String,String>)
|
173
|
+
# * `:service_role_arn` - *required* - (String)
|
174
|
+
# * `:default_instance_profile_arn` - *required* - (String)
|
175
|
+
# * `:default_os` - (String)
|
176
|
+
# * `:hostname_theme` - (String)
|
177
|
+
# * `:default_availability_zone` - (String)
|
178
|
+
# * `:custom_json` - (String)
|
179
|
+
# * `:use_custom_cookbooks` - (Boolean)
|
180
|
+
# * `:custom_cookbooks_source` - (Hash)
|
181
|
+
# * `:type` - (String) Valid values include:
|
182
|
+
# * `git`
|
183
|
+
# * `svn`
|
184
|
+
# * `archive`
|
185
|
+
# * `s3`
|
186
|
+
# * `:url` - (String)
|
187
|
+
# * `:username` - (String)
|
188
|
+
# * `:password` - (String)
|
189
|
+
# * `:ssh_key` - (String)
|
190
|
+
# * `:revision` - (String)
|
191
|
+
# * `:default_ssh_key_name` - (String)
|
162
192
|
# @return [Core::Response]
|
163
193
|
# The #data method of the response object returns
|
164
194
|
# a hash with the following structure:
|
165
|
-
# *
|
195
|
+
# * `:stack_id` - (String)
|
166
196
|
|
167
197
|
# @!method create_user_profile(options = {})
|
168
198
|
# Calls the CreateUserProfile API operation.
|
169
199
|
# @param [Hash] options
|
170
|
-
# *
|
171
|
-
# *
|
172
|
-
# *
|
200
|
+
# * `:iam_user_arn` - *required* - (String)
|
201
|
+
# * `:ssh_username` - (String)
|
202
|
+
# * `:ssh_public_key` - (String)
|
173
203
|
# @return [Core::Response]
|
174
204
|
# The #data method of the response object returns
|
175
205
|
# a hash with the following structure:
|
176
|
-
# *
|
206
|
+
# * `:iam_user_arn` - (String)
|
177
207
|
|
178
208
|
# @!method delete_app(options = {})
|
179
209
|
# Calls the DeleteApp API operation.
|
180
210
|
# @param [Hash] options
|
181
|
-
# *
|
211
|
+
# * `:app_id` - *required* - (String)
|
182
212
|
# @return [Core::Response]
|
183
213
|
|
184
214
|
# @!method delete_instance(options = {})
|
185
215
|
# Calls the DeleteInstance API operation.
|
186
216
|
# @param [Hash] options
|
187
|
-
# *
|
188
|
-
# *
|
189
|
-
# *
|
217
|
+
# * `:instance_id` - *required* - (String)
|
218
|
+
# * `:delete_elastic_ip` - (Boolean)
|
219
|
+
# * `:delete_volumes` - (Boolean)
|
190
220
|
# @return [Core::Response]
|
191
221
|
|
192
222
|
# @!method delete_layer(options = {})
|
193
223
|
# Calls the DeleteLayer API operation.
|
194
224
|
# @param [Hash] options
|
195
|
-
# *
|
225
|
+
# * `:layer_id` - *required* - (String)
|
196
226
|
# @return [Core::Response]
|
197
227
|
|
198
228
|
# @!method delete_stack(options = {})
|
199
229
|
# Calls the DeleteStack API operation.
|
200
230
|
# @param [Hash] options
|
201
|
-
# *
|
231
|
+
# * `:stack_id` - *required* - (String)
|
202
232
|
# @return [Core::Response]
|
203
233
|
|
204
234
|
# @!method delete_user_profile(options = {})
|
205
235
|
# Calls the DeleteUserProfile API operation.
|
206
236
|
# @param [Hash] options
|
207
|
-
# *
|
237
|
+
# * `:iam_user_arn` - *required* - (String)
|
208
238
|
# @return [Core::Response]
|
209
239
|
|
210
240
|
# @!method describe_apps(options = {})
|
211
241
|
# Calls the DescribeApps API operation.
|
212
242
|
# @param [Hash] options
|
213
|
-
# *
|
214
|
-
# *
|
243
|
+
# * `:stack_id` - (String)
|
244
|
+
# * `:app_ids` - (Array<String>)
|
215
245
|
# @return [Core::Response]
|
216
246
|
# The #data method of the response object returns
|
217
247
|
# a hash with the following structure:
|
218
|
-
# *
|
219
|
-
# *
|
220
|
-
# *
|
221
|
-
# *
|
222
|
-
# *
|
223
|
-
# *
|
224
|
-
# *
|
225
|
-
# *
|
226
|
-
# *
|
227
|
-
# *
|
228
|
-
# *
|
229
|
-
# *
|
230
|
-
# *
|
231
|
-
# *
|
232
|
-
# *
|
233
|
-
# *
|
234
|
-
# *
|
235
|
-
# *
|
236
|
-
# *
|
237
|
-
# *
|
238
|
-
# *
|
248
|
+
# * `:apps` - (Array<Hash>)
|
249
|
+
# * `:app_id` - (String)
|
250
|
+
# * `:stack_id` - (String)
|
251
|
+
# * `:name` - (String)
|
252
|
+
# * `:description` - (String)
|
253
|
+
# * `:type` - (String)
|
254
|
+
# * `:app_source` - (Hash)
|
255
|
+
# * `:type` - (String)
|
256
|
+
# * `:url` - (String)
|
257
|
+
# * `:username` - (String)
|
258
|
+
# * `:password` - (String)
|
259
|
+
# * `:ssh_key` - (String)
|
260
|
+
# * `:revision` - (String)
|
261
|
+
# * `:domains` - (Array<String>)
|
262
|
+
# * `:enable_ssl` - (Boolean)
|
263
|
+
# * `:ssl_configuration` - (Hash)
|
264
|
+
# * `:certificate` - (String)
|
265
|
+
# * `:private_key` - (String)
|
266
|
+
# * `:chain` - (String)
|
267
|
+
# * `:attributes` - (Hash<String,String>)
|
268
|
+
# * `:created_at` - (String)
|
239
269
|
|
240
270
|
# @!method describe_commands(options = {})
|
241
271
|
# Calls the DescribeCommands API operation.
|
242
272
|
# @param [Hash] options
|
243
|
-
# *
|
244
|
-
# *
|
245
|
-
# *
|
273
|
+
# * `:deployment_id` - (String)
|
274
|
+
# * `:instance_id` - (String)
|
275
|
+
# * `:command_ids` - (Array<String>)
|
246
276
|
# @return [Core::Response]
|
247
277
|
# The #data method of the response object returns
|
248
278
|
# a hash with the following structure:
|
249
|
-
# *
|
250
|
-
# *
|
251
|
-
# *
|
252
|
-
# *
|
253
|
-
# *
|
254
|
-
# *
|
255
|
-
# *
|
256
|
-
# *
|
257
|
-
# *
|
258
|
-
# *
|
259
|
-
# *
|
279
|
+
# * `:commands` - (Array<Hash>)
|
280
|
+
# * `:command_id` - (String)
|
281
|
+
# * `:instance_id` - (String)
|
282
|
+
# * `:deployment_id` - (String)
|
283
|
+
# * `:created_at` - (String)
|
284
|
+
# * `:acknowledged_at` - (String)
|
285
|
+
# * `:completed_at` - (String)
|
286
|
+
# * `:status` - (String)
|
287
|
+
# * `:exit_code` - (Integer)
|
288
|
+
# * `:log_url` - (String)
|
289
|
+
# * `:type` - (String)
|
260
290
|
|
261
291
|
# @!method describe_deployments(options = {})
|
262
292
|
# Calls the DescribeDeployments API operation.
|
263
293
|
# @param [Hash] options
|
264
|
-
# *
|
265
|
-
# *
|
266
|
-
# *
|
294
|
+
# * `:stack_id` - (String)
|
295
|
+
# * `:app_id` - (String)
|
296
|
+
# * `:deployment_ids` - (Array<String>)
|
267
297
|
# @return [Core::Response]
|
268
298
|
# The #data method of the response object returns
|
269
299
|
# a hash with the following structure:
|
270
|
-
# *
|
271
|
-
# *
|
272
|
-
# *
|
273
|
-
# *
|
274
|
-
# *
|
275
|
-
# *
|
276
|
-
# *
|
277
|
-
# *
|
278
|
-
# *
|
279
|
-
# *
|
280
|
-
# *
|
281
|
-
# *
|
282
|
-
# *
|
283
|
-
# *
|
284
|
-
# *
|
285
|
-
# *
|
300
|
+
# * `:deployments` - (Array<Hash>)
|
301
|
+
# * `:deployment_id` - (String)
|
302
|
+
# * `:stack_id` - (String)
|
303
|
+
# * `:app_id` - (String)
|
304
|
+
# * `:created_at` - (String)
|
305
|
+
# * `:completed_at` - (String)
|
306
|
+
# * `:duration` - (Integer)
|
307
|
+
# * `:iam_user_arn` - (String)
|
308
|
+
# * `:comment` - (String)
|
309
|
+
# * `:command` - (Hash)
|
310
|
+
# * `:name` - (String)
|
311
|
+
# * `:args` - (Hash<String,Hash>)
|
312
|
+
# * `:value` - (Array<String>)
|
313
|
+
# * `:status` - (String)
|
314
|
+
# * `:custom_json` - (String)
|
315
|
+
# * `:instance_ids` - (Array<String>)
|
286
316
|
|
287
317
|
# @!method describe_elastic_ips(options = {})
|
288
318
|
# Calls the DescribeElasticIps API operation.
|
289
319
|
# @param [Hash] options
|
290
|
-
# *
|
291
|
-
# *
|
320
|
+
# * `:instance_id` - (String)
|
321
|
+
# * `:ips` - (Array<String>)
|
292
322
|
# @return [Core::Response]
|
293
323
|
# The #data method of the response object returns
|
294
324
|
# a hash with the following structure:
|
295
|
-
# *
|
296
|
-
# *
|
297
|
-
# *
|
298
|
-
# *
|
325
|
+
# * `:elastic_ips` - (Array<Hash>)
|
326
|
+
# * `:ip` - (String)
|
327
|
+
# * `:name` - (String)
|
328
|
+
# * `:region` - (String)
|
299
329
|
|
300
330
|
# @!method describe_instances(options = {})
|
301
331
|
# Calls the DescribeInstances API operation.
|
302
332
|
# @param [Hash] options
|
303
|
-
# *
|
304
|
-
# *
|
305
|
-
# *
|
306
|
-
# *
|
333
|
+
# * `:stack_id` - (String)
|
334
|
+
# * `:layer_id` - (String)
|
335
|
+
# * `:app_id` - (String)
|
336
|
+
# * `:instance_ids` - (Array<String>)
|
307
337
|
# @return [Core::Response]
|
308
338
|
# The #data method of the response object returns
|
309
339
|
# a hash with the following structure:
|
310
|
-
# *
|
311
|
-
# *
|
312
|
-
# *
|
313
|
-
# *
|
314
|
-
# *
|
315
|
-
# *
|
316
|
-
# *
|
317
|
-
# *
|
318
|
-
# *
|
319
|
-
# *
|
320
|
-
# *
|
321
|
-
# *
|
322
|
-
# *
|
323
|
-
# *
|
324
|
-
# *
|
325
|
-
# *
|
326
|
-
# *
|
327
|
-
# *
|
328
|
-
# *
|
329
|
-
# *
|
330
|
-
# *
|
331
|
-
# *
|
332
|
-
# *
|
340
|
+
# * `:instances` - (Array<Hash>)
|
341
|
+
# * `:instance_id` - (String)
|
342
|
+
# * `:ec2_instance_id` - (String)
|
343
|
+
# * `:hostname` - (String)
|
344
|
+
# * `:stack_id` - (String)
|
345
|
+
# * `:layer_ids` - (Array<String>)
|
346
|
+
# * `:security_group_ids` - (Array<String>)
|
347
|
+
# * `:instance_type` - (String)
|
348
|
+
# * `:instance_profile_arn` - (String)
|
349
|
+
# * `:status` - (String)
|
350
|
+
# * `:os` - (String)
|
351
|
+
# * `:availability_zone` - (String)
|
352
|
+
# * `:public_dns` - (String)
|
353
|
+
# * `:private_dns` - (String)
|
354
|
+
# * `:public_ip` - (String)
|
355
|
+
# * `:private_ip` - (String)
|
356
|
+
# * `:elastic_ip` - (String)
|
357
|
+
# * `:auto_scaling_type` - (String)
|
358
|
+
# * `:ssh_key_name` - (String)
|
359
|
+
# * `:ssh_host_rsa_key_fingerprint` - (String)
|
360
|
+
# * `:ssh_host_dsa_key_fingerprint` - (String)
|
361
|
+
# * `:created_at` - (String)
|
362
|
+
# * `:last_service_error_id` - (String)
|
333
363
|
|
334
364
|
# @!method describe_layers(options = {})
|
335
365
|
# Calls the DescribeLayers API operation.
|
336
366
|
# @param [Hash] options
|
337
|
-
# *
|
338
|
-
# *
|
367
|
+
# * `:stack_id` - *required* - (String)
|
368
|
+
# * `:layer_ids` - (Array<String>)
|
339
369
|
# @return [Core::Response]
|
340
370
|
# The #data method of the response object returns
|
341
371
|
# a hash with the following structure:
|
342
|
-
# *
|
343
|
-
# *
|
344
|
-
# *
|
345
|
-
# *
|
346
|
-
# *
|
347
|
-
# *
|
348
|
-
# *
|
349
|
-
# *
|
350
|
-
# *
|
351
|
-
# *
|
352
|
-
# *
|
353
|
-
# *
|
354
|
-
# *
|
355
|
-
# *
|
356
|
-
# *
|
357
|
-
# *
|
358
|
-
# *
|
359
|
-
# *
|
360
|
-
# *
|
361
|
-
# *
|
362
|
-
# *
|
363
|
-
# *
|
364
|
-
# *
|
365
|
-
# *
|
366
|
-
# *
|
367
|
-
# *
|
368
|
-
# *
|
369
|
-
# *
|
370
|
-
# *
|
371
|
-
# *
|
372
|
-
# *
|
372
|
+
# * `:layers` - (Array<Hash>)
|
373
|
+
# * `:stack_id` - (String)
|
374
|
+
# * `:layer_id` - (String)
|
375
|
+
# * `:type` - (String)
|
376
|
+
# * `:name` - (String)
|
377
|
+
# * `:shortname` - (String)
|
378
|
+
# * `:attributes` - (Hash<String,String>)
|
379
|
+
# * `:custom_instance_profile_arn` - (String)
|
380
|
+
# * `:custom_security_group_ids` - (Array<String>)
|
381
|
+
# * `:default_security_group_names` - (Array<String>)
|
382
|
+
# * `:packages` - (Array<String>)
|
383
|
+
# * `:volume_configurations` - (Array<Hash>)
|
384
|
+
# * `:mount_point` - (String)
|
385
|
+
# * `:raid_level` - (Integer)
|
386
|
+
# * `:number_of_disks` - (Integer)
|
387
|
+
# * `:size` - (Integer)
|
388
|
+
# * `:enable_auto_healing` - (Boolean)
|
389
|
+
# * `:auto_assign_elastic_ips` - (Boolean)
|
390
|
+
# * `:default_recipes` - (Hash)
|
391
|
+
# * `:setup` - (Array<String>)
|
392
|
+
# * `:configure` - (Array<String>)
|
393
|
+
# * `:deploy` - (Array<String>)
|
394
|
+
# * `:undeploy` - (Array<String>)
|
395
|
+
# * `:shutdown` - (Array<String>)
|
396
|
+
# * `:custom_recipes` - (Hash)
|
397
|
+
# * `:setup` - (Array<String>)
|
398
|
+
# * `:configure` - (Array<String>)
|
399
|
+
# * `:deploy` - (Array<String>)
|
400
|
+
# * `:undeploy` - (Array<String>)
|
401
|
+
# * `:shutdown` - (Array<String>)
|
402
|
+
# * `:created_at` - (String)
|
373
403
|
|
374
404
|
# @!method describe_load_based_auto_scaling(options = {})
|
375
405
|
# Calls the DescribeLoadBasedAutoScaling API operation.
|
376
406
|
# @param [Hash] options
|
377
|
-
# *
|
407
|
+
# * `:layer_ids` - *required* - (Array<String>)
|
378
408
|
# @return [Core::Response]
|
379
409
|
# The #data method of the response object returns
|
380
410
|
# a hash with the following structure:
|
381
|
-
# *
|
382
|
-
# *
|
383
|
-
# *
|
384
|
-
# *
|
385
|
-
# *
|
386
|
-
# *
|
387
|
-
# *
|
388
|
-
# *
|
389
|
-
# *
|
390
|
-
# *
|
391
|
-
# *
|
392
|
-
# *
|
393
|
-
# *
|
394
|
-
# *
|
395
|
-
# *
|
396
|
-
# *
|
397
|
-
# *
|
411
|
+
# * `:load_based_auto_scaling_configurations` - (Array<Hash>)
|
412
|
+
# * `:layer_id` - (String)
|
413
|
+
# * `:enable` - (Boolean)
|
414
|
+
# * `:up_scaling` - (Hash)
|
415
|
+
# * `:instance_count` - (Integer)
|
416
|
+
# * `:thresholds_wait_time` - (Integer)
|
417
|
+
# * `:ignore_metrics_time` - (Integer)
|
418
|
+
# * `:cpu_threshold` - (Numeric)
|
419
|
+
# * `:memory_threshold` - (Numeric)
|
420
|
+
# * `:load_threshold` - (Numeric)
|
421
|
+
# * `:down_scaling` - (Hash)
|
422
|
+
# * `:instance_count` - (Integer)
|
423
|
+
# * `:thresholds_wait_time` - (Integer)
|
424
|
+
# * `:ignore_metrics_time` - (Integer)
|
425
|
+
# * `:cpu_threshold` - (Numeric)
|
426
|
+
# * `:memory_threshold` - (Numeric)
|
427
|
+
# * `:load_threshold` - (Numeric)
|
398
428
|
|
399
429
|
# @!method describe_permissions(options = {})
|
400
430
|
# Calls the DescribePermissions API operation.
|
401
431
|
# @param [Hash] options
|
402
|
-
# *
|
403
|
-
# *
|
432
|
+
# * `:iam_user_arn` - *required* - (String)
|
433
|
+
# * `:stack_id` - *required* - (String)
|
404
434
|
# @return [Core::Response]
|
405
435
|
# The #data method of the response object returns
|
406
436
|
# a hash with the following structure:
|
407
|
-
# *
|
408
|
-
# *
|
409
|
-
# *
|
410
|
-
# *
|
411
|
-
# *
|
437
|
+
# * `:permissions` - (Array<Hash>)
|
438
|
+
# * `:stack_id` - (String)
|
439
|
+
# * `:iam_user_arn` - (String)
|
440
|
+
# * `:allow_ssh` - (Boolean)
|
441
|
+
# * `:allow_sudo` - (Boolean)
|
412
442
|
|
413
443
|
# @!method describe_raid_arrays(options = {})
|
414
444
|
# Calls the DescribeRaidArrays API operation.
|
415
445
|
# @param [Hash] options
|
416
|
-
# *
|
417
|
-
# *
|
446
|
+
# * `:instance_id` - (String)
|
447
|
+
# * `:raid_array_ids` - (Array<String>)
|
418
448
|
# @return [Core::Response]
|
419
449
|
# The #data method of the response object returns
|
420
450
|
# a hash with the following structure:
|
421
|
-
# *
|
422
|
-
# *
|
423
|
-
# *
|
424
|
-
# *
|
425
|
-
# *
|
426
|
-
# *
|
427
|
-
# *
|
428
|
-
# *
|
429
|
-
# *
|
430
|
-
# *
|
431
|
-
# *
|
451
|
+
# * `:raid_arrays` - (Array<Hash>)
|
452
|
+
# * `:raid_array_id` - (String)
|
453
|
+
# * `:instance_id` - (String)
|
454
|
+
# * `:name` - (String)
|
455
|
+
# * `:raid_level` - (Integer)
|
456
|
+
# * `:number_of_disks` - (Integer)
|
457
|
+
# * `:size` - (Integer)
|
458
|
+
# * `:device` - (String)
|
459
|
+
# * `:mount_point` - (String)
|
460
|
+
# * `:availability_zone` - (String)
|
461
|
+
# * `:created_at` - (String)
|
432
462
|
|
433
463
|
# @!method describe_service_errors(options = {})
|
434
464
|
# Calls the DescribeServiceErrors API operation.
|
435
465
|
# @param [Hash] options
|
436
|
-
# *
|
437
|
-
# *
|
438
|
-
# *
|
466
|
+
# * `:stack_id` - (String)
|
467
|
+
# * `:instance_id` - (String)
|
468
|
+
# * `:service_error_ids` - (Array<String>)
|
439
469
|
# @return [Core::Response]
|
440
470
|
# The #data method of the response object returns
|
441
471
|
# a hash with the following structure:
|
442
|
-
# *
|
443
|
-
# *
|
444
|
-
# *
|
445
|
-
# *
|
446
|
-
# *
|
447
|
-
# *
|
448
|
-
# *
|
472
|
+
# * `:service_errors` - (Array<Hash>)
|
473
|
+
# * `:service_error_id` - (String)
|
474
|
+
# * `:stack_id` - (String)
|
475
|
+
# * `:instance_id` - (String)
|
476
|
+
# * `:type` - (String)
|
477
|
+
# * `:message` - (String)
|
478
|
+
# * `:created_at` - (String)
|
449
479
|
|
450
480
|
# @!method describe_stacks(options = {})
|
451
481
|
# Calls the DescribeStacks API operation.
|
452
482
|
# @param [Hash] options
|
453
|
-
# *
|
483
|
+
# * `:stack_ids` - (Array<String>)
|
454
484
|
# @return [Core::Response]
|
455
485
|
# The #data method of the response object returns
|
456
486
|
# a hash with the following structure:
|
457
|
-
# *
|
458
|
-
# *
|
459
|
-
# *
|
460
|
-
# *
|
461
|
-
# *
|
462
|
-
# *
|
463
|
-
# *
|
464
|
-
# *
|
465
|
-
# *
|
466
|
-
# *
|
467
|
-
# *
|
468
|
-
# *
|
469
|
-
# *
|
470
|
-
# *
|
471
|
-
# *
|
472
|
-
# *
|
473
|
-
# *
|
474
|
-
# *
|
475
|
-
# *
|
476
|
-
# *
|
477
|
-
# *
|
487
|
+
# * `:stacks` - (Array<Hash>)
|
488
|
+
# * `:stack_id` - (String)
|
489
|
+
# * `:name` - (String)
|
490
|
+
# * `:region` - (String)
|
491
|
+
# * `:attributes` - (Hash<String,String>)
|
492
|
+
# * `:service_role_arn` - (String)
|
493
|
+
# * `:default_instance_profile_arn` - (String)
|
494
|
+
# * `:default_os` - (String)
|
495
|
+
# * `:hostname_theme` - (String)
|
496
|
+
# * `:default_availability_zone` - (String)
|
497
|
+
# * `:custom_json` - (String)
|
498
|
+
# * `:use_custom_cookbooks` - (Boolean)
|
499
|
+
# * `:custom_cookbooks_source` - (Hash)
|
500
|
+
# * `:type` - (String)
|
501
|
+
# * `:url` - (String)
|
502
|
+
# * `:username` - (String)
|
503
|
+
# * `:password` - (String)
|
504
|
+
# * `:ssh_key` - (String)
|
505
|
+
# * `:revision` - (String)
|
506
|
+
# * `:default_ssh_key_name` - (String)
|
507
|
+
# * `:created_at` - (String)
|
478
508
|
|
479
509
|
# @!method describe_time_based_auto_scaling(options = {})
|
480
510
|
# Calls the DescribeTimeBasedAutoScaling API operation.
|
481
511
|
# @param [Hash] options
|
482
|
-
# *
|
512
|
+
# * `:instance_ids` - *required* - (Array<String>)
|
483
513
|
# @return [Core::Response]
|
484
514
|
# The #data method of the response object returns
|
485
515
|
# a hash with the following structure:
|
486
|
-
# *
|
487
|
-
# *
|
488
|
-
# *
|
489
|
-
# *
|
490
|
-
# *
|
491
|
-
# *
|
492
|
-
# *
|
493
|
-
# *
|
494
|
-
# *
|
495
|
-
# *
|
516
|
+
# * `:time_based_auto_scaling_configurations` - (Array<Hash>)
|
517
|
+
# * `:instance_id` - (String)
|
518
|
+
# * `:auto_scaling_schedule` - (Hash)
|
519
|
+
# * `:monday` - (Hash<String,String>)
|
520
|
+
# * `:tuesday` - (Hash<String,String>)
|
521
|
+
# * `:wednesday` - (Hash<String,String>)
|
522
|
+
# * `:thursday` - (Hash<String,String>)
|
523
|
+
# * `:friday` - (Hash<String,String>)
|
524
|
+
# * `:saturday` - (Hash<String,String>)
|
525
|
+
# * `:sunday` - (Hash<String,String>)
|
496
526
|
|
497
527
|
# @!method describe_user_profiles(options = {})
|
498
528
|
# Calls the DescribeUserProfiles API operation.
|
499
529
|
# @param [Hash] options
|
500
|
-
# *
|
530
|
+
# * `:iam_user_arns` - *required* - (Array<String>)
|
501
531
|
# @return [Core::Response]
|
502
532
|
# The #data method of the response object returns
|
503
533
|
# a hash with the following structure:
|
504
|
-
# *
|
505
|
-
# *
|
506
|
-
# *
|
507
|
-
# *
|
508
|
-
# *
|
534
|
+
# * `:user_profiles` - (Array<Hash>)
|
535
|
+
# * `:iam_user_arn` - (String)
|
536
|
+
# * `:name` - (String)
|
537
|
+
# * `:ssh_username` - (String)
|
538
|
+
# * `:ssh_public_key` - (String)
|
509
539
|
|
510
540
|
# @!method describe_volumes(options = {})
|
511
541
|
# Calls the DescribeVolumes API operation.
|
512
542
|
# @param [Hash] options
|
513
|
-
# *
|
514
|
-
# *
|
515
|
-
# *
|
543
|
+
# * `:instance_id` - (String)
|
544
|
+
# * `:raid_array_id` - (String)
|
545
|
+
# * `:volume_ids` - (Array<String>)
|
516
546
|
# @return [Core::Response]
|
517
547
|
# The #data method of the response object returns
|
518
548
|
# a hash with the following structure:
|
519
|
-
# *
|
520
|
-
# *
|
521
|
-
# *
|
522
|
-
# *
|
523
|
-
# *
|
524
|
-
# *
|
525
|
-
# *
|
526
|
-
# *
|
527
|
-
# *
|
528
|
-
# *
|
529
|
-
# *
|
530
|
-
# *
|
549
|
+
# * `:volumes` - (Array<Hash>)
|
550
|
+
# * `:volume_id` - (String)
|
551
|
+
# * `:ec2_volume_id` - (String)
|
552
|
+
# * `:name` - (String)
|
553
|
+
# * `:raid_array_id` - (String)
|
554
|
+
# * `:instance_id` - (String)
|
555
|
+
# * `:status` - (String)
|
556
|
+
# * `:size` - (Integer)
|
557
|
+
# * `:device` - (String)
|
558
|
+
# * `:mount_point` - (String)
|
559
|
+
# * `:region` - (String)
|
560
|
+
# * `:availability_zone` - (String)
|
531
561
|
|
532
562
|
# @!method get_hostname_suggestion(options = {})
|
533
563
|
# Calls the GetHostnameSuggestion API operation.
|
534
564
|
# @param [Hash] options
|
535
|
-
# *
|
565
|
+
# * `:layer_id` - *required* - (String)
|
536
566
|
# @return [Core::Response]
|
537
567
|
# The #data method of the response object returns
|
538
568
|
# a hash with the following structure:
|
539
|
-
# *
|
540
|
-
# *
|
569
|
+
# * `:layer_id` - (String)
|
570
|
+
# * `:hostname` - (String)
|
541
571
|
|
542
572
|
# @!method reboot_instance(options = {})
|
543
573
|
# Calls the RebootInstance API operation.
|
544
574
|
# @param [Hash] options
|
545
|
-
# *
|
575
|
+
# * `:instance_id` - *required* - (String)
|
546
576
|
# @return [Core::Response]
|
547
577
|
|
548
578
|
# @!method set_load_based_auto_scaling(options = {})
|
549
579
|
# Calls the SetLoadBasedAutoScaling API operation.
|
550
580
|
# @param [Hash] options
|
551
|
-
# *
|
552
|
-
# *
|
553
|
-
# *
|
554
|
-
# *
|
555
|
-
# *
|
556
|
-
# *
|
557
|
-
# *
|
558
|
-
# *
|
559
|
-
# *
|
560
|
-
# *
|
561
|
-
# *
|
562
|
-
# *
|
563
|
-
# *
|
564
|
-
# *
|
565
|
-
# *
|
566
|
-
# *
|
581
|
+
# * `:layer_id` - *required* - (String)
|
582
|
+
# * `:enable` - (Boolean)
|
583
|
+
# * `:up_scaling` - (Hash)
|
584
|
+
# * `:instance_count` - (Integer)
|
585
|
+
# * `:thresholds_wait_time` - (Integer)
|
586
|
+
# * `:ignore_metrics_time` - (Integer)
|
587
|
+
# * `:cpu_threshold` - (Float)
|
588
|
+
# * `:memory_threshold` - (Float)
|
589
|
+
# * `:load_threshold` - (Float)
|
590
|
+
# * `:down_scaling` - (Hash)
|
591
|
+
# * `:instance_count` - (Integer)
|
592
|
+
# * `:thresholds_wait_time` - (Integer)
|
593
|
+
# * `:ignore_metrics_time` - (Integer)
|
594
|
+
# * `:cpu_threshold` - (Float)
|
595
|
+
# * `:memory_threshold` - (Float)
|
596
|
+
# * `:load_threshold` - (Float)
|
567
597
|
# @return [Core::Response]
|
568
598
|
|
569
599
|
# @!method set_permission(options = {})
|
570
600
|
# Calls the SetPermission API operation.
|
571
601
|
# @param [Hash] options
|
572
|
-
# *
|
573
|
-
# *
|
574
|
-
# *
|
575
|
-
# *
|
602
|
+
# * `:stack_id` - *required* - (String)
|
603
|
+
# * `:iam_user_arn` - *required* - (String)
|
604
|
+
# * `:allow_ssh` - (Boolean)
|
605
|
+
# * `:allow_sudo` - (Boolean)
|
576
606
|
# @return [Core::Response]
|
577
607
|
|
578
608
|
# @!method set_time_based_auto_scaling(options = {})
|
579
609
|
# Calls the SetTimeBasedAutoScaling API operation.
|
580
610
|
# @param [Hash] options
|
581
|
-
# *
|
582
|
-
# *
|
583
|
-
# *
|
584
|
-
# *
|
585
|
-
# *
|
586
|
-
# *
|
587
|
-
# *
|
588
|
-
# *
|
589
|
-
# *
|
611
|
+
# * `:instance_id` - *required* - (String)
|
612
|
+
# * `:auto_scaling_schedule` - (Hash)
|
613
|
+
# * `:monday` - (Hash<String,String>)
|
614
|
+
# * `:tuesday` - (Hash<String,String>)
|
615
|
+
# * `:wednesday` - (Hash<String,String>)
|
616
|
+
# * `:thursday` - (Hash<String,String>)
|
617
|
+
# * `:friday` - (Hash<String,String>)
|
618
|
+
# * `:saturday` - (Hash<String,String>)
|
619
|
+
# * `:sunday` - (Hash<String,String>)
|
590
620
|
# @return [Core::Response]
|
591
621
|
|
592
622
|
# @!method start_instance(options = {})
|
593
623
|
# Calls the StartInstance API operation.
|
594
624
|
# @param [Hash] options
|
595
|
-
# *
|
625
|
+
# * `:instance_id` - *required* - (String)
|
596
626
|
# @return [Core::Response]
|
597
627
|
|
598
628
|
# @!method start_stack(options = {})
|
599
629
|
# Calls the StartStack API operation.
|
600
630
|
# @param [Hash] options
|
601
|
-
# *
|
631
|
+
# * `:stack_id` - *required* - (String)
|
602
632
|
# @return [Core::Response]
|
603
633
|
|
604
634
|
# @!method stop_instance(options = {})
|
605
635
|
# Calls the StopInstance API operation.
|
606
636
|
# @param [Hash] options
|
607
|
-
# *
|
637
|
+
# * `:instance_id` - *required* - (String)
|
608
638
|
# @return [Core::Response]
|
609
639
|
|
610
640
|
# @!method stop_stack(options = {})
|
611
641
|
# Calls the StopStack API operation.
|
612
642
|
# @param [Hash] options
|
613
|
-
# *
|
643
|
+
# * `:stack_id` - *required* - (String)
|
614
644
|
# @return [Core::Response]
|
615
645
|
|
616
646
|
# @!method update_app(options = {})
|
617
647
|
# Calls the UpdateApp API operation.
|
618
648
|
# @param [Hash] options
|
619
|
-
# *
|
620
|
-
# *
|
621
|
-
# *
|
622
|
-
# *
|
623
|
-
#
|
624
|
-
# *
|
625
|
-
# *
|
626
|
-
# *
|
627
|
-
# *
|
628
|
-
#
|
629
|
-
# *
|
630
|
-
#
|
631
|
-
#
|
632
|
-
#
|
633
|
-
#
|
634
|
-
# *
|
635
|
-
# *
|
636
|
-
#
|
649
|
+
# * `:app_id` - *required* - (String)
|
650
|
+
# * `:name` - (String)
|
651
|
+
# * `:description` - (String)
|
652
|
+
# * `:type` - (String) Valid values include:
|
653
|
+
# * `rails`
|
654
|
+
# * `php`
|
655
|
+
# * `nodejs`
|
656
|
+
# * `static`
|
657
|
+
# * `other`
|
658
|
+
# * `:app_source` - (Hash)
|
659
|
+
# * `:type` - (String) Valid values include:
|
660
|
+
# * `git`
|
661
|
+
# * `svn`
|
662
|
+
# * `archive`
|
663
|
+
# * `s3`
|
664
|
+
# * `:url` - (String)
|
665
|
+
# * `:username` - (String)
|
666
|
+
# * `:password` - (String)
|
667
|
+
# * `:ssh_key` - (String)
|
668
|
+
# * `:revision` - (String)
|
669
|
+
# * `:domains` - (Array<String>)
|
670
|
+
# * `:enable_ssl` - (Boolean)
|
671
|
+
# * `:ssl_configuration` - (Hash)
|
672
|
+
# * `:certificate` - *required* - (String)
|
673
|
+
# * `:private_key` - *required* - (String)
|
674
|
+
# * `:chain` - (String)
|
675
|
+
# * `:attributes` - (Hash<String,String>)
|
637
676
|
# @return [Core::Response]
|
638
677
|
|
639
678
|
# @!method update_instance(options = {})
|
640
679
|
# Calls the UpdateInstance API operation.
|
641
680
|
# @param [Hash] options
|
642
|
-
# *
|
643
|
-
# *
|
644
|
-
# *
|
645
|
-
# *
|
646
|
-
#
|
647
|
-
#
|
648
|
-
#
|
681
|
+
# * `:instance_id` - *required* - (String)
|
682
|
+
# * `:layer_ids` - (Array<String>)
|
683
|
+
# * `:instance_type` - (String)
|
684
|
+
# * `:auto_scaling_type` - (String) Valid values include:
|
685
|
+
# * `AlwaysRunning`
|
686
|
+
# * `TimeBasedAutoScaling`
|
687
|
+
# * `LoadBasedAutoScaling`
|
688
|
+
# * `:hostname` - (String)
|
689
|
+
# * `:os` - (String)
|
690
|
+
# * `:ssh_key_name` - (String)
|
649
691
|
# @return [Core::Response]
|
650
692
|
|
651
693
|
# @!method update_layer(options = {})
|
652
694
|
# Calls the UpdateLayer API operation.
|
653
695
|
# @param [Hash] options
|
654
|
-
# *
|
655
|
-
# *
|
656
|
-
# *
|
657
|
-
# *
|
658
|
-
# *
|
659
|
-
# *
|
660
|
-
# *
|
661
|
-
# *
|
662
|
-
# *
|
663
|
-
# *
|
664
|
-
# *
|
665
|
-
# *
|
666
|
-
# *
|
667
|
-
# *
|
668
|
-
# *
|
669
|
-
# *
|
670
|
-
# *
|
671
|
-
# *
|
672
|
-
# *
|
673
|
-
# *
|
696
|
+
# * `:layer_id` - *required* - (String)
|
697
|
+
# * `:name` - (String)
|
698
|
+
# * `:shortname` - (String)
|
699
|
+
# * `:attributes` - (Hash<String,String>)
|
700
|
+
# * `:custom_instance_profile_arn` - (String)
|
701
|
+
# * `:custom_security_group_ids` - (Array<String>)
|
702
|
+
# * `:packages` - (Array<String>)
|
703
|
+
# * `:volume_configurations` - (Array<Hash>)
|
704
|
+
# * `:mount_point` - *required* - (String)
|
705
|
+
# * `:raid_level` - (Integer)
|
706
|
+
# * `:number_of_disks` - *required* - (Integer)
|
707
|
+
# * `:size` - *required* - (Integer)
|
708
|
+
# * `:enable_auto_healing` - (Boolean)
|
709
|
+
# * `:auto_assign_elastic_ips` - (Boolean)
|
710
|
+
# * `:custom_recipes` - (Hash)
|
711
|
+
# * `:setup` - (Array<String>)
|
712
|
+
# * `:configure` - (Array<String>)
|
713
|
+
# * `:deploy` - (Array<String>)
|
714
|
+
# * `:undeploy` - (Array<String>)
|
715
|
+
# * `:shutdown` - (Array<String>)
|
674
716
|
# @return [Core::Response]
|
675
717
|
|
676
718
|
# @!method update_stack(options = {})
|
677
719
|
# Calls the UpdateStack API operation.
|
678
720
|
# @param [Hash] options
|
679
|
-
# *
|
680
|
-
# *
|
681
|
-
# *
|
682
|
-
# *
|
683
|
-
# *
|
684
|
-
# *
|
685
|
-
# *
|
686
|
-
# *
|
687
|
-
# *
|
688
|
-
# *
|
689
|
-
# *
|
690
|
-
# *
|
691
|
-
#
|
692
|
-
#
|
693
|
-
#
|
694
|
-
#
|
695
|
-
# *
|
696
|
-
#
|
721
|
+
# * `:stack_id` - *required* - (String)
|
722
|
+
# * `:name` - (String)
|
723
|
+
# * `:attributes` - (Hash<String,String>)
|
724
|
+
# * `:service_role_arn` - (String)
|
725
|
+
# * `:default_instance_profile_arn` - (String)
|
726
|
+
# * `:default_os` - (String)
|
727
|
+
# * `:hostname_theme` - (String)
|
728
|
+
# * `:default_availability_zone` - (String)
|
729
|
+
# * `:custom_json` - (String)
|
730
|
+
# * `:use_custom_cookbooks` - (Boolean)
|
731
|
+
# * `:custom_cookbooks_source` - (Hash)
|
732
|
+
# * `:type` - (String) Valid values include:
|
733
|
+
# * `git`
|
734
|
+
# * `svn`
|
735
|
+
# * `archive`
|
736
|
+
# * `s3`
|
737
|
+
# * `:url` - (String)
|
738
|
+
# * `:username` - (String)
|
739
|
+
# * `:password` - (String)
|
740
|
+
# * `:ssh_key` - (String)
|
741
|
+
# * `:revision` - (String)
|
742
|
+
# * `:default_ssh_key_name` - (String)
|
697
743
|
# @return [Core::Response]
|
698
744
|
|
699
745
|
# @!method update_user_profile(options = {})
|
700
746
|
# Calls the UpdateUserProfile API operation.
|
701
747
|
# @param [Hash] options
|
702
|
-
# *
|
703
|
-
# *
|
704
|
-
# *
|
748
|
+
# * `:iam_user_arn` - *required* - (String)
|
749
|
+
# * `:ssh_username` - (String)
|
750
|
+
# * `:ssh_public_key` - (String)
|
705
751
|
# @return [Core::Response]
|
706
752
|
|
707
753
|
# end client methods #
|