aws_sdk 3.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/aws-sdk.rb +14 -0
- data/lib/aws.rb +49 -0
- data/lib/aws/api_config/AutoScaling-2011-01-01.yml +791 -0
- data/lib/aws/api_config/CloudFormation-2010-05-15.yml +303 -0
- data/lib/aws/api_config/DynamoDB-2011-12-05.yml +540 -0
- data/lib/aws/api_config/EC2-2011-12-15.yml +3638 -0
- data/lib/aws/api_config/EC2-2012-04-01.yml +3739 -0
- data/lib/aws/api_config/ELB-2011-08-15.yml +512 -0
- data/lib/aws/api_config/IAM-2010-05-08.yml +1221 -0
- data/lib/aws/api_config/SNS-2010-03-31.yml +248 -0
- data/lib/aws/api_config/SQS-2011-10-01.yml +314 -0
- data/lib/aws/api_config/STS-2011-06-15.yml +54 -0
- data/lib/aws/api_config/SimpleDB-2009-04-15.yml +305 -0
- data/lib/aws/api_config/SimpleEmailService-2010-12-01.yml +231 -0
- data/lib/aws/api_config/SimpleWorkflow-2012-01-25.yml +721 -0
- data/lib/aws/auto_scaling.rb +162 -0
- data/lib/aws/auto_scaling/activity.rb +102 -0
- data/lib/aws/auto_scaling/activity_collection.rb +82 -0
- data/lib/aws/auto_scaling/client.rb +765 -0
- data/lib/aws/auto_scaling/config.rb +18 -0
- data/lib/aws/auto_scaling/errors.rb +22 -0
- data/lib/aws/auto_scaling/group.rb +420 -0
- data/lib/aws/auto_scaling/group_collection.rb +96 -0
- data/lib/aws/auto_scaling/group_options.rb +146 -0
- data/lib/aws/auto_scaling/instance.rb +192 -0
- data/lib/aws/auto_scaling/instance_collection.rb +63 -0
- data/lib/aws/auto_scaling/launch_configuration.rb +150 -0
- data/lib/aws/auto_scaling/launch_configuration_collection.rb +144 -0
- data/lib/aws/auto_scaling/notification_configuration.rb +89 -0
- data/lib/aws/auto_scaling/notification_configuration_collection.rb +184 -0
- data/lib/aws/auto_scaling/request.rb +23 -0
- data/lib/aws/auto_scaling/scaling_policy.rb +125 -0
- data/lib/aws/auto_scaling/scaling_policy_collection.rb +72 -0
- data/lib/aws/auto_scaling/scaling_policy_options.rb +61 -0
- data/lib/aws/auto_scaling/scheduled_action.rb +145 -0
- data/lib/aws/auto_scaling/scheduled_action_collection.rb +195 -0
- data/lib/aws/auto_scaling/tag.rb +59 -0
- data/lib/aws/auto_scaling/tag_collection.rb +112 -0
- data/lib/aws/cloud_formation.rb +270 -0
- data/lib/aws/cloud_formation/client.rb +339 -0
- data/lib/aws/cloud_formation/config.rb +18 -0
- data/lib/aws/cloud_formation/errors.rb +22 -0
- data/lib/aws/cloud_formation/request.rb +29 -0
- data/lib/aws/cloud_formation/stack.rb +256 -0
- data/lib/aws/cloud_formation/stack_collection.rb +206 -0
- data/lib/aws/cloud_formation/stack_event.rb +75 -0
- data/lib/aws/cloud_formation/stack_event_collection.rb +47 -0
- data/lib/aws/cloud_formation/stack_options.rb +72 -0
- data/lib/aws/cloud_formation/stack_output.rb +53 -0
- data/lib/aws/cloud_formation/stack_resource.rb +117 -0
- data/lib/aws/cloud_formation/stack_resource_collection.rb +84 -0
- data/lib/aws/cloud_formation/stack_resource_summary_collection.rb +72 -0
- data/lib/aws/cloud_formation/stack_summary.rb +71 -0
- data/lib/aws/cloud_formation/stack_summary_collection.rb +127 -0
- data/lib/aws/core.rb +474 -0
- data/lib/aws/core/async_handle.rb +90 -0
- data/lib/aws/core/autoloader.rb +64 -0
- data/lib/aws/core/cacheable.rb +78 -0
- data/lib/aws/core/client.rb +541 -0
- data/lib/aws/core/client/query_json.rb +110 -0
- data/lib/aws/core/client/query_xml.rb +122 -0
- data/lib/aws/core/collection.rb +234 -0
- data/lib/aws/core/collection/limitable.rb +99 -0
- data/lib/aws/core/collection/simple.rb +90 -0
- data/lib/aws/core/configuration.rb +445 -0
- data/lib/aws/core/data.rb +242 -0
- data/lib/aws/core/default_signer.rb +67 -0
- data/lib/aws/core/http/curb_handler.rb +136 -0
- data/lib/aws/core/http/handler.rb +77 -0
- data/lib/aws/core/http/httparty_handler.rb +114 -0
- data/lib/aws/core/http/net_http_handler.rb +85 -0
- data/lib/aws/core/http/request.rb +250 -0
- data/lib/aws/core/http/response.rb +74 -0
- data/lib/aws/core/indifferent_hash.rb +88 -0
- data/lib/aws/core/inflection.rb +47 -0
- data/lib/aws/core/lazy_error_classes.rb +90 -0
- data/lib/aws/core/log_formatter.rb +454 -0
- data/lib/aws/core/meta_utils.rb +45 -0
- data/lib/aws/core/model.rb +57 -0
- data/lib/aws/core/naming.rb +30 -0
- data/lib/aws/core/option_grammar.rb +700 -0
- data/lib/aws/core/page_result.rb +73 -0
- data/lib/aws/core/policy.rb +916 -0
- data/lib/aws/core/resource.rb +408 -0
- data/lib/aws/core/resource_cache.rb +40 -0
- data/lib/aws/core/response.rb +202 -0
- data/lib/aws/core/response_cache.rb +50 -0
- data/lib/aws/core/service_interface.rb +61 -0
- data/lib/aws/core/session_signer.rb +90 -0
- data/lib/aws/core/signature/version_2.rb +42 -0
- data/lib/aws/core/signature/version_3.rb +73 -0
- data/lib/aws/core/signature/version_3_http.rb +72 -0
- data/lib/aws/core/signature/version_4.rb +138 -0
- data/lib/aws/core/uri_escape.rb +42 -0
- data/lib/aws/core/xml/frame.rb +242 -0
- data/lib/aws/core/xml/frame_stack.rb +85 -0
- data/lib/aws/core/xml/grammar.rb +299 -0
- data/lib/aws/core/xml/parser.rb +70 -0
- data/lib/aws/core/xml/root_frame.rb +65 -0
- data/lib/aws/core/xml/sax_handlers/libxml.rb +47 -0
- data/lib/aws/core/xml/sax_handlers/nokogiri.rb +55 -0
- data/lib/aws/core/xml/sax_handlers/ox.rb +41 -0
- data/lib/aws/core/xml/sax_handlers/rexml.rb +43 -0
- data/lib/aws/core/xml/stub.rb +123 -0
- data/lib/aws/dynamo_db.rb +213 -0
- data/lib/aws/dynamo_db/attribute_collection.rb +460 -0
- data/lib/aws/dynamo_db/batch_get.rb +206 -0
- data/lib/aws/dynamo_db/batch_write.rb +251 -0
- data/lib/aws/dynamo_db/client.rb +888 -0
- data/lib/aws/dynamo_db/config.rb +20 -0
- data/lib/aws/dynamo_db/errors.rb +20 -0
- data/lib/aws/dynamo_db/expectations.rb +40 -0
- data/lib/aws/dynamo_db/item.rb +130 -0
- data/lib/aws/dynamo_db/item_collection.rb +852 -0
- data/lib/aws/dynamo_db/item_data.rb +31 -0
- data/lib/aws/dynamo_db/keys.rb +41 -0
- data/lib/aws/dynamo_db/primary_key_element.rb +47 -0
- data/lib/aws/dynamo_db/request.rb +28 -0
- data/lib/aws/dynamo_db/resource.rb +33 -0
- data/lib/aws/dynamo_db/table.rb +489 -0
- data/lib/aws/dynamo_db/table_collection.rb +165 -0
- data/lib/aws/dynamo_db/types.rb +86 -0
- data/lib/aws/ec2.rb +431 -0
- data/lib/aws/ec2/attachment.rb +140 -0
- data/lib/aws/ec2/attachment_collection.rb +54 -0
- data/lib/aws/ec2/availability_zone.rb +87 -0
- data/lib/aws/ec2/availability_zone_collection.rb +43 -0
- data/lib/aws/ec2/block_device_mappings.rb +53 -0
- data/lib/aws/ec2/client.rb +4121 -0
- data/lib/aws/ec2/collection.rb +36 -0
- data/lib/aws/ec2/config.rb +18 -0
- data/lib/aws/ec2/config_transform.rb +63 -0
- data/lib/aws/ec2/customer_gateway.rb +90 -0
- data/lib/aws/ec2/customer_gateway_collection.rb +73 -0
- data/lib/aws/ec2/dhcp_options.rb +106 -0
- data/lib/aws/ec2/dhcp_options_collection.rb +87 -0
- data/lib/aws/ec2/elastic_ip.rb +157 -0
- data/lib/aws/ec2/elastic_ip_collection.rb +97 -0
- data/lib/aws/ec2/errors.rb +32 -0
- data/lib/aws/ec2/filtered_collection.rb +90 -0
- data/lib/aws/ec2/has_permissions.rb +44 -0
- data/lib/aws/ec2/image.rb +254 -0
- data/lib/aws/ec2/image_collection.rb +228 -0
- data/lib/aws/ec2/instance.rb +669 -0
- data/lib/aws/ec2/instance_collection.rb +346 -0
- data/lib/aws/ec2/internet_gateway.rb +122 -0
- data/lib/aws/ec2/internet_gateway/attachment.rb +78 -0
- data/lib/aws/ec2/internet_gateway_collection.rb +54 -0
- data/lib/aws/ec2/key_pair.rb +82 -0
- data/lib/aws/ec2/key_pair_collection.rb +99 -0
- data/lib/aws/ec2/network_acl.rb +256 -0
- data/lib/aws/ec2/network_acl/association.rb +56 -0
- data/lib/aws/ec2/network_acl/entry.rb +147 -0
- data/lib/aws/ec2/network_acl_collection.rb +64 -0
- data/lib/aws/ec2/network_interface.rb +228 -0
- data/lib/aws/ec2/network_interface/attachment.rb +100 -0
- data/lib/aws/ec2/network_interface_collection.rb +103 -0
- data/lib/aws/ec2/permission_collection.rb +174 -0
- data/lib/aws/ec2/region.rb +97 -0
- data/lib/aws/ec2/region_collection.rb +51 -0
- data/lib/aws/ec2/request.rb +22 -0
- data/lib/aws/ec2/reserved_instances.rb +53 -0
- data/lib/aws/ec2/reserved_instances_collection.rb +40 -0
- data/lib/aws/ec2/reserved_instances_offering.rb +58 -0
- data/lib/aws/ec2/reserved_instances_offering_collection.rb +39 -0
- data/lib/aws/ec2/resource.rb +161 -0
- data/lib/aws/ec2/resource_tag_collection.rb +211 -0
- data/lib/aws/ec2/route_table.rb +205 -0
- data/lib/aws/ec2/route_table/association.rb +119 -0
- data/lib/aws/ec2/route_table/route.rb +113 -0
- data/lib/aws/ec2/route_table_collection.rb +72 -0
- data/lib/aws/ec2/security_group.rb +458 -0
- data/lib/aws/ec2/security_group/egress_ip_permission_collection.rb +63 -0
- data/lib/aws/ec2/security_group/ingress_ip_permission_collection.rb +61 -0
- data/lib/aws/ec2/security_group/ip_permission.rb +128 -0
- data/lib/aws/ec2/security_group_collection.rb +135 -0
- data/lib/aws/ec2/snapshot.rb +143 -0
- data/lib/aws/ec2/snapshot_collection.rb +131 -0
- data/lib/aws/ec2/subnet.rb +161 -0
- data/lib/aws/ec2/subnet_collection.rb +115 -0
- data/lib/aws/ec2/tag.rb +81 -0
- data/lib/aws/ec2/tag_collection.rb +107 -0
- data/lib/aws/ec2/tagged_collection.rb +53 -0
- data/lib/aws/ec2/tagged_item.rb +85 -0
- data/lib/aws/ec2/volume.rb +170 -0
- data/lib/aws/ec2/volume_collection.rb +97 -0
- data/lib/aws/ec2/vpc.rb +166 -0
- data/lib/aws/ec2/vpc_collection.rb +70 -0
- data/lib/aws/ec2/vpn_connection.rb +99 -0
- data/lib/aws/ec2/vpn_connection/telemetry.rb +49 -0
- data/lib/aws/ec2/vpn_connection_collection.rb +96 -0
- data/lib/aws/ec2/vpn_gateway.rb +123 -0
- data/lib/aws/ec2/vpn_gateway/attachment.rb +45 -0
- data/lib/aws/ec2/vpn_gateway_collection.rb +77 -0
- data/lib/aws/elb.rb +65 -0
- data/lib/aws/elb/availability_zone_collection.rb +138 -0
- data/lib/aws/elb/backend_server_policy_collection.rb +140 -0
- data/lib/aws/elb/client.rb +539 -0
- data/lib/aws/elb/config.rb +18 -0
- data/lib/aws/elb/errors.rb +26 -0
- data/lib/aws/elb/instance_collection.rb +174 -0
- data/lib/aws/elb/listener.rb +189 -0
- data/lib/aws/elb/listener_collection.rb +119 -0
- data/lib/aws/elb/listener_opts.rb +45 -0
- data/lib/aws/elb/load_balancer.rb +253 -0
- data/lib/aws/elb/load_balancer_collection.rb +113 -0
- data/lib/aws/elb/load_balancer_policy.rb +93 -0
- data/lib/aws/elb/load_balancer_policy_collection.rb +208 -0
- data/lib/aws/elb/request.rb +23 -0
- data/lib/aws/errors.rb +122 -0
- data/lib/aws/iam.rb +418 -0
- data/lib/aws/iam/access_key.rb +180 -0
- data/lib/aws/iam/access_key_collection.rb +128 -0
- data/lib/aws/iam/account_alias_collection.rb +79 -0
- data/lib/aws/iam/client.rb +1609 -0
- data/lib/aws/iam/collection.rb +83 -0
- data/lib/aws/iam/config.rb +18 -0
- data/lib/aws/iam/errors.rb +22 -0
- data/lib/aws/iam/group.rb +111 -0
- data/lib/aws/iam/group_collection.rb +132 -0
- data/lib/aws/iam/group_policy_collection.rb +47 -0
- data/lib/aws/iam/group_user_collection.rb +84 -0
- data/lib/aws/iam/login_profile.rb +99 -0
- data/lib/aws/iam/mfa_device.rb +52 -0
- data/lib/aws/iam/mfa_device_collection.rb +127 -0
- data/lib/aws/iam/policy.rb +46 -0
- data/lib/aws/iam/policy_collection.rb +188 -0
- data/lib/aws/iam/request.rb +29 -0
- data/lib/aws/iam/resource.rb +71 -0
- data/lib/aws/iam/server_certificate.rb +141 -0
- data/lib/aws/iam/server_certificate_collection.rb +138 -0
- data/lib/aws/iam/signing_certificate.rb +169 -0
- data/lib/aws/iam/signing_certificate_collection.rb +131 -0
- data/lib/aws/iam/user.rb +205 -0
- data/lib/aws/iam/user_collection.rb +133 -0
- data/lib/aws/iam/user_group_collection.rb +98 -0
- data/lib/aws/iam/user_policy.rb +90 -0
- data/lib/aws/iam/user_policy_collection.rb +45 -0
- data/lib/aws/iam/virtual_mfa_device.rb +139 -0
- data/lib/aws/iam/virtual_mfa_device_collection.rb +73 -0
- data/lib/aws/rails.rb +195 -0
- data/lib/aws/record.rb +116 -0
- data/lib/aws/record/abstract_base.rb +645 -0
- data/lib/aws/record/attributes.rb +384 -0
- data/lib/aws/record/conversion.rb +38 -0
- data/lib/aws/record/dirty_tracking.rb +285 -0
- data/lib/aws/record/errors.rb +143 -0
- data/lib/aws/record/exceptions.rb +48 -0
- data/lib/aws/record/hash_model.rb +161 -0
- data/lib/aws/record/hash_model/attributes.rb +182 -0
- data/lib/aws/record/hash_model/finder_methods.rb +172 -0
- data/lib/aws/record/hash_model/scope.rb +108 -0
- data/lib/aws/record/model.rb +427 -0
- data/lib/aws/record/model/attributes.rb +379 -0
- data/lib/aws/record/model/finder_methods.rb +232 -0
- data/lib/aws/record/model/scope.rb +213 -0
- data/lib/aws/record/naming.rb +31 -0
- data/lib/aws/record/scope.rb +199 -0
- data/lib/aws/record/validations.rb +694 -0
- data/lib/aws/record/validator.rb +237 -0
- data/lib/aws/record/validators/acceptance.rb +51 -0
- data/lib/aws/record/validators/block.rb +38 -0
- data/lib/aws/record/validators/confirmation.rb +43 -0
- data/lib/aws/record/validators/count.rb +108 -0
- data/lib/aws/record/validators/exclusion.rb +43 -0
- data/lib/aws/record/validators/format.rb +57 -0
- data/lib/aws/record/validators/inclusion.rb +56 -0
- data/lib/aws/record/validators/length.rb +107 -0
- data/lib/aws/record/validators/method.rb +33 -0
- data/lib/aws/record/validators/numericality.rb +138 -0
- data/lib/aws/record/validators/presence.rb +45 -0
- data/lib/aws/s3.rb +135 -0
- data/lib/aws/s3/access_control_list.rb +250 -0
- data/lib/aws/s3/acl_object.rb +264 -0
- data/lib/aws/s3/bucket.rb +393 -0
- data/lib/aws/s3/bucket_collection.rb +143 -0
- data/lib/aws/s3/bucket_lifecycle_configuration.rb +360 -0
- data/lib/aws/s3/bucket_version_collection.rb +77 -0
- data/lib/aws/s3/client.rb +1184 -0
- data/lib/aws/s3/client/xml.rb +177 -0
- data/lib/aws/s3/config.rb +26 -0
- data/lib/aws/s3/data_options.rb +100 -0
- data/lib/aws/s3/errors.rb +81 -0
- data/lib/aws/s3/multipart_upload.rb +317 -0
- data/lib/aws/s3/multipart_upload_collection.rb +68 -0
- data/lib/aws/s3/object_collection.rb +337 -0
- data/lib/aws/s3/object_metadata.rb +96 -0
- data/lib/aws/s3/object_upload_collection.rb +77 -0
- data/lib/aws/s3/object_version.rb +143 -0
- data/lib/aws/s3/object_version_collection.rb +89 -0
- data/lib/aws/s3/paginated_collection.rb +75 -0
- data/lib/aws/s3/policy.rb +74 -0
- data/lib/aws/s3/prefix_and_delimiter_collection.rb +47 -0
- data/lib/aws/s3/prefixed_collection.rb +81 -0
- data/lib/aws/s3/presigned_post.rb +553 -0
- data/lib/aws/s3/request.rb +201 -0
- data/lib/aws/s3/s3_object.rb +1037 -0
- data/lib/aws/s3/tree.rb +118 -0
- data/lib/aws/s3/tree/branch_node.rb +68 -0
- data/lib/aws/s3/tree/child_collection.rb +104 -0
- data/lib/aws/s3/tree/leaf_node.rb +94 -0
- data/lib/aws/s3/tree/node.rb +22 -0
- data/lib/aws/s3/tree/parent.rb +87 -0
- data/lib/aws/s3/uploaded_part.rb +80 -0
- data/lib/aws/s3/uploaded_part_collection.rb +84 -0
- data/lib/aws/simple_db.rb +217 -0
- data/lib/aws/simple_db/attribute.rb +154 -0
- data/lib/aws/simple_db/attribute_collection.rb +231 -0
- data/lib/aws/simple_db/client.rb +349 -0
- data/lib/aws/simple_db/config.rb +20 -0
- data/lib/aws/simple_db/consistent_read_option.rb +42 -0
- data/lib/aws/simple_db/delete_attributes.rb +62 -0
- data/lib/aws/simple_db/domain.rb +121 -0
- data/lib/aws/simple_db/domain_collection.rb +113 -0
- data/lib/aws/simple_db/domain_metadata.rb +110 -0
- data/lib/aws/simple_db/errors.rb +55 -0
- data/lib/aws/simple_db/expect_condition_option.rb +45 -0
- data/lib/aws/simple_db/item.rb +93 -0
- data/lib/aws/simple_db/item_collection.rb +649 -0
- data/lib/aws/simple_db/item_data.rb +73 -0
- data/lib/aws/simple_db/put_attributes.rb +60 -0
- data/lib/aws/simple_db/request.rb +23 -0
- data/lib/aws/simple_email_service.rb +426 -0
- data/lib/aws/simple_email_service/client.rb +286 -0
- data/lib/aws/simple_email_service/config.rb +19 -0
- data/lib/aws/simple_email_service/email_address_collection.rb +69 -0
- data/lib/aws/simple_email_service/errors.rb +22 -0
- data/lib/aws/simple_email_service/identity.rb +91 -0
- data/lib/aws/simple_email_service/identity_collection.rb +81 -0
- data/lib/aws/simple_email_service/quotas.rb +64 -0
- data/lib/aws/simple_email_service/request.rb +29 -0
- data/lib/aws/simple_workflow.rb +226 -0
- data/lib/aws/simple_workflow/activity_task.rb +173 -0
- data/lib/aws/simple_workflow/activity_task_collection.rb +123 -0
- data/lib/aws/simple_workflow/activity_type.rb +131 -0
- data/lib/aws/simple_workflow/activity_type_collection.rb +93 -0
- data/lib/aws/simple_workflow/client.rb +1434 -0
- data/lib/aws/simple_workflow/config.rb +18 -0
- data/lib/aws/simple_workflow/count.rb +49 -0
- data/lib/aws/simple_workflow/decision_task.rb +601 -0
- data/lib/aws/simple_workflow/decision_task_collection.rb +225 -0
- data/lib/aws/simple_workflow/domain.rb +122 -0
- data/lib/aws/simple_workflow/domain_collection.rb +169 -0
- data/lib/aws/simple_workflow/errors.rb +20 -0
- data/lib/aws/simple_workflow/history_event.rb +276 -0
- data/lib/aws/simple_workflow/history_event_collection.rb +76 -0
- data/lib/aws/simple_workflow/option_formatters.rb +82 -0
- data/lib/aws/simple_workflow/request.rb +36 -0
- data/lib/aws/simple_workflow/resource.rb +94 -0
- data/lib/aws/simple_workflow/type.rb +89 -0
- data/lib/aws/simple_workflow/type_collection.rb +140 -0
- data/lib/aws/simple_workflow/workflow_execution.rb +386 -0
- data/lib/aws/simple_workflow/workflow_execution_collection.rb +617 -0
- data/lib/aws/simple_workflow/workflow_type.rb +177 -0
- data/lib/aws/simple_workflow/workflow_type_collection.rb +91 -0
- data/lib/aws/sns.rb +74 -0
- data/lib/aws/sns/client.rb +371 -0
- data/lib/aws/sns/config.rb +18 -0
- data/lib/aws/sns/errors.rb +22 -0
- data/lib/aws/sns/has_delivery_policy.rb +68 -0
- data/lib/aws/sns/policy.rb +47 -0
- data/lib/aws/sns/request.rb +23 -0
- data/lib/aws/sns/subscription.rb +144 -0
- data/lib/aws/sns/subscription_collection.rb +80 -0
- data/lib/aws/sns/topic.rb +403 -0
- data/lib/aws/sns/topic_collection.rb +67 -0
- data/lib/aws/sns/topic_subscription_collection.rb +55 -0
- data/lib/aws/sqs.rb +79 -0
- data/lib/aws/sqs/client.rb +360 -0
- data/lib/aws/sqs/config.rb +18 -0
- data/lib/aws/sqs/errors.rb +101 -0
- data/lib/aws/sqs/policy.rb +48 -0
- data/lib/aws/sqs/queue.rb +725 -0
- data/lib/aws/sqs/queue_collection.rb +170 -0
- data/lib/aws/sqs/received_message.rb +181 -0
- data/lib/aws/sqs/received_sns_message.rb +112 -0
- data/lib/aws/sqs/request.rb +43 -0
- data/lib/aws/sts.rb +152 -0
- data/lib/aws/sts/client.rb +105 -0
- data/lib/aws/sts/config.rb +18 -0
- data/lib/aws/sts/errors.rb +22 -0
- data/lib/aws/sts/federated_session.rb +56 -0
- data/lib/aws/sts/policy.rb +30 -0
- data/lib/aws/sts/request.rb +29 -0
- data/lib/aws/sts/session.rb +48 -0
- data/lib/net/http/connection_pool.rb +210 -0
- data/lib/net/http/connection_pool/connection.rb +132 -0
- data/lib/net/http/connection_pool/session.rb +93 -0
- data/lib/user.rb +49 -0
- metadata +433 -0
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
# Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
|
4
|
+
# may not use this file except in compliance with the License. A copy of
|
|
5
|
+
# the License is located at
|
|
6
|
+
#
|
|
7
|
+
# http://aws.amazon.com/apache2.0/
|
|
8
|
+
#
|
|
9
|
+
# or in the "license" file accompanying this file. This file is
|
|
10
|
+
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
+
# ANY KIND, either express or implied. See the License for the specific
|
|
12
|
+
# language governing permissions and limitations under the License.
|
|
13
|
+
|
|
14
|
+
module AWS
|
|
15
|
+
class EC2
|
|
16
|
+
|
|
17
|
+
# Represents an attachment of an Amazon EBS volume to an instance.
|
|
18
|
+
#
|
|
19
|
+
# @example Create an empty 15GiB volume and attach it to an instance
|
|
20
|
+
# volume = ec2.volumes.create(:size => 15,
|
|
21
|
+
# :availability_zone => "us-east-1a")
|
|
22
|
+
# attachment = volume.attach_to(ec2.instances["i-123"], "/dev/sdf")
|
|
23
|
+
# sleep 1 until attachment.status != :attaching
|
|
24
|
+
#
|
|
25
|
+
# @example Remove all attachments from a volume and then delete it
|
|
26
|
+
# volume.attachments.each do |attachment|
|
|
27
|
+
# attachment.delete(:force => true)
|
|
28
|
+
# end
|
|
29
|
+
# sleep 1 until volume.status == :available
|
|
30
|
+
# volume.delete
|
|
31
|
+
class Attachment < Resource
|
|
32
|
+
|
|
33
|
+
# @private
|
|
34
|
+
def initialize volume, instance, device, options = {}
|
|
35
|
+
@volume = volume
|
|
36
|
+
@instance = instance
|
|
37
|
+
@device = device
|
|
38
|
+
super
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# @return [Volume] Returns the volume that is attached.
|
|
42
|
+
attr_reader :volume
|
|
43
|
+
|
|
44
|
+
# @return [Instance] Returns the EC2 instance the volume is attached to.
|
|
45
|
+
attr_reader :instance
|
|
46
|
+
|
|
47
|
+
# @return [String] Returns how the device is exposed to the instance
|
|
48
|
+
# (e.g. '/dev/sdh')
|
|
49
|
+
attr_reader :device
|
|
50
|
+
|
|
51
|
+
# @overload status
|
|
52
|
+
# Returns the attachment status. Possible values are:
|
|
53
|
+
# * +:attaching+
|
|
54
|
+
# * +:attached+
|
|
55
|
+
# * +:detaching+
|
|
56
|
+
# * +:detached+
|
|
57
|
+
# @return [Symbol] Returns the attachment status.
|
|
58
|
+
attribute :status, :to_sym => true
|
|
59
|
+
|
|
60
|
+
# @overload attach_time
|
|
61
|
+
# @return [Time] Returns the time at which this attachment was created.
|
|
62
|
+
attribute :attach_time
|
|
63
|
+
|
|
64
|
+
# @overload delete_on_termination?
|
|
65
|
+
# @return [Boolean] Returns +true+ if the volume will be deleted
|
|
66
|
+
# on instance termination.
|
|
67
|
+
attribute :delete_on_termination, :boolean => true
|
|
68
|
+
|
|
69
|
+
populates_from(:describe_volumes) do |resp|
|
|
70
|
+
if volume = resp.volume_index[self.volume.id] and
|
|
71
|
+
attachments = volume.attachment_set and
|
|
72
|
+
attachment = attachments.find do |att|
|
|
73
|
+
att.instance_id == self.instance.id &&
|
|
74
|
+
att.volume_id == self.volume.id &&
|
|
75
|
+
att.device == self.device
|
|
76
|
+
end
|
|
77
|
+
then
|
|
78
|
+
attachment
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
populates_from(:attach_volume, :detach_volume) do |resp|
|
|
83
|
+
if
|
|
84
|
+
resp.volume_id == volume.id and
|
|
85
|
+
resp.instance_id == instance.id and
|
|
86
|
+
resp.device == device
|
|
87
|
+
then
|
|
88
|
+
resp
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# @return [Boolean] Returns true if the attachment exists.
|
|
93
|
+
def exists?
|
|
94
|
+
!describe_attachment.nil?
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Detaches the volume from its instance.
|
|
98
|
+
# @option options [Boolean] :force Forces detachment if the
|
|
99
|
+
# previous detachment attempt did not occur cleanly (logging
|
|
100
|
+
# into an instance, unmounting the volume, and detaching
|
|
101
|
+
# normally). This option can lead to data loss or a
|
|
102
|
+
# corrupted file system. Use this option only as a last
|
|
103
|
+
# resort to detach a volume from a failed instance. The
|
|
104
|
+
# instance will not have an opportunity to flush file system
|
|
105
|
+
# caches or file system metadata. If you use this option,
|
|
106
|
+
# you must perform file system check and repair procedures.
|
|
107
|
+
def delete options = {}
|
|
108
|
+
client.detach_volume(options.merge(resource_options))
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
protected
|
|
112
|
+
def resource_identifiers
|
|
113
|
+
[
|
|
114
|
+
[:volume_id, volume.id],
|
|
115
|
+
[:instance_id, instance.id],
|
|
116
|
+
[:device, device],
|
|
117
|
+
]
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
protected
|
|
121
|
+
def describe_call
|
|
122
|
+
client.describe_volumes(:volume_ids => [self.volume.id])
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
private
|
|
126
|
+
def describe_attachment
|
|
127
|
+
(resp = describe_call and
|
|
128
|
+
volume = resp.volume_index[self.volume.id] and
|
|
129
|
+
attachments = volume.attachment_set and
|
|
130
|
+
attachment = attachments.find do |att|
|
|
131
|
+
att.instance_id == self.instance.id &&
|
|
132
|
+
att.volume_id == self.volume.id &&
|
|
133
|
+
att.device == self.device
|
|
134
|
+
end) or nil
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
end
|
|
140
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
|
4
|
+
# may not use this file except in compliance with the License. A copy of
|
|
5
|
+
# the License is located at
|
|
6
|
+
#
|
|
7
|
+
# http://aws.amazon.com/apache2.0/
|
|
8
|
+
#
|
|
9
|
+
# or in the "license" file accompanying this file. This file is
|
|
10
|
+
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
+
# ANY KIND, either express or implied. See the License for the specific
|
|
12
|
+
# language governing permissions and limitations under the License.
|
|
13
|
+
|
|
14
|
+
module AWS
|
|
15
|
+
class EC2
|
|
16
|
+
|
|
17
|
+
# Represents the collection of attachments for an Amazon EBS
|
|
18
|
+
# volume.
|
|
19
|
+
#
|
|
20
|
+
# @see Volume
|
|
21
|
+
class AttachmentCollection
|
|
22
|
+
|
|
23
|
+
include Core::Model
|
|
24
|
+
include Enumerable
|
|
25
|
+
|
|
26
|
+
attr_reader :volume
|
|
27
|
+
|
|
28
|
+
# @private
|
|
29
|
+
def initialize volume, options = {}
|
|
30
|
+
@volume = volume
|
|
31
|
+
super
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# @yield [attachment] Each attachment of the volume as an
|
|
35
|
+
# {Attachment} object.
|
|
36
|
+
# @return [nil]
|
|
37
|
+
def each &block
|
|
38
|
+
volume.attachment_set.each do |item|
|
|
39
|
+
|
|
40
|
+
instance = Instance.new(item.instance_id, :config => config)
|
|
41
|
+
|
|
42
|
+
attachment = Attachment.new(self.volume, instance, item.device,
|
|
43
|
+
:config => config)
|
|
44
|
+
|
|
45
|
+
yield(attachment)
|
|
46
|
+
|
|
47
|
+
end
|
|
48
|
+
nil
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
end
|
|
54
|
+
end
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
|
4
|
+
# may not use this file except in compliance with the License. A copy of
|
|
5
|
+
# the License is located at
|
|
6
|
+
#
|
|
7
|
+
# http://aws.amazon.com/apache2.0/
|
|
8
|
+
#
|
|
9
|
+
# or in the "license" file accompanying this file. This file is
|
|
10
|
+
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
+
# ANY KIND, either express or implied. See the License for the specific
|
|
12
|
+
# language governing permissions and limitations under the License.
|
|
13
|
+
|
|
14
|
+
module AWS
|
|
15
|
+
class EC2
|
|
16
|
+
|
|
17
|
+
# Represents an EC2 availability zone. You can use this class
|
|
18
|
+
# to get information about the state of an availability zone
|
|
19
|
+
# that is available to your account.
|
|
20
|
+
#
|
|
21
|
+
# @attr_reader [String,nil] region_name Returns the region name
|
|
22
|
+
# of the availability zone.
|
|
23
|
+
#
|
|
24
|
+
# @attr_reader [Symbol] state Returns the state of the availability
|
|
25
|
+
# zone, e.g. +:available+.
|
|
26
|
+
#
|
|
27
|
+
# @attr_reader [Array<String>] messages Returns a list of messages about the
|
|
28
|
+
# Availability Zone.
|
|
29
|
+
#
|
|
30
|
+
class AvailabilityZone < Resource
|
|
31
|
+
|
|
32
|
+
# @param [String] name The name of the availability zone.
|
|
33
|
+
def initialize name, options = {}
|
|
34
|
+
@name = name
|
|
35
|
+
if options[:region]
|
|
36
|
+
options[:region_name] = options[:region].name
|
|
37
|
+
|
|
38
|
+
end
|
|
39
|
+
super
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# @return [String] Returns the name of the availability zone,
|
|
43
|
+
# e.g. "us-east-1a".
|
|
44
|
+
attr_reader :name
|
|
45
|
+
|
|
46
|
+
alias_method :to_s, :name
|
|
47
|
+
|
|
48
|
+
alias_method :to_str, :name
|
|
49
|
+
|
|
50
|
+
attribute :region_name, :static => true
|
|
51
|
+
|
|
52
|
+
attribute :state, :as => :zone_state, :to_sym => true
|
|
53
|
+
|
|
54
|
+
attribute :messages, :as => :message_set do
|
|
55
|
+
translates_output do |messages|
|
|
56
|
+
messages ? messages.collect{|m| m.message } : []
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
populates_from(:describe_availability_zones) do |resp|
|
|
61
|
+
resp.availability_zone_info.find {|az| az.zone_name == name }
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# @return [Region] Returns the region of this availability zone.
|
|
65
|
+
def region
|
|
66
|
+
Region.new(self.region_name, :config => config)
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
protected
|
|
70
|
+
def describe_call_name
|
|
71
|
+
:describe_availability_zones
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
protected
|
|
75
|
+
def inflected_name
|
|
76
|
+
self.class.inflected_name
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
protected
|
|
80
|
+
def self.inflected_name
|
|
81
|
+
"zone"
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
end
|
|
87
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
|
4
|
+
# may not use this file except in compliance with the License. A copy of
|
|
5
|
+
# the License is located at
|
|
6
|
+
#
|
|
7
|
+
# http://aws.amazon.com/apache2.0/
|
|
8
|
+
#
|
|
9
|
+
# or in the "license" file accompanying this file. This file is
|
|
10
|
+
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
+
# ANY KIND, either express or implied. See the License for the specific
|
|
12
|
+
# language governing permissions and limitations under the License.
|
|
13
|
+
|
|
14
|
+
module AWS
|
|
15
|
+
class EC2
|
|
16
|
+
|
|
17
|
+
# Represents all EC2 availability zones that are currently
|
|
18
|
+
# available to your account.
|
|
19
|
+
class AvailabilityZoneCollection < Collection
|
|
20
|
+
|
|
21
|
+
# Yields each of the EC2 availability zones.
|
|
22
|
+
# @return [nil]
|
|
23
|
+
def each &block
|
|
24
|
+
resp = filtered_request(:describe_availability_zones)
|
|
25
|
+
resp.availability_zone_info.each do |az|
|
|
26
|
+
zone = AvailabilityZone.new(az.zone_name,
|
|
27
|
+
:region_name => az.region_name,
|
|
28
|
+
:config => config)
|
|
29
|
+
yield(zone)
|
|
30
|
+
end
|
|
31
|
+
nil
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# @private
|
|
35
|
+
protected
|
|
36
|
+
def member_class
|
|
37
|
+
AvailabilityZone
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
|
4
|
+
# may not use this file except in compliance with the License. A copy of
|
|
5
|
+
# the License is located at
|
|
6
|
+
#
|
|
7
|
+
# http://aws.amazon.com/apache2.0/
|
|
8
|
+
#
|
|
9
|
+
# or in the "license" file accompanying this file. This file is
|
|
10
|
+
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
+
# ANY KIND, either express or implied. See the License for the specific
|
|
12
|
+
# language governing permissions and limitations under the License.
|
|
13
|
+
|
|
14
|
+
module AWS
|
|
15
|
+
class EC2
|
|
16
|
+
|
|
17
|
+
# @private
|
|
18
|
+
module BlockDeviceMappings
|
|
19
|
+
|
|
20
|
+
# @private
|
|
21
|
+
private
|
|
22
|
+
def translate_block_device_mappings(mapping)
|
|
23
|
+
raise ArgumentError.new("block_device_mappings must be a hash") unless
|
|
24
|
+
mapping.kind_of?(Hash)
|
|
25
|
+
mapping.map do |device, dest|
|
|
26
|
+
raise ArgumentError.new("keys of block_device_mappings must be strings") unless
|
|
27
|
+
device.kind_of?(String)
|
|
28
|
+
entry = { :device_name => device }
|
|
29
|
+
case dest
|
|
30
|
+
when :no_device
|
|
31
|
+
# for some reason EC2 rejects boolean values for this seemingly boolean option
|
|
32
|
+
entry[:no_device] = ""
|
|
33
|
+
when Symbol
|
|
34
|
+
raise ArgumentError.new("unrecognized block device mapping: #{dest}")
|
|
35
|
+
when String
|
|
36
|
+
entry[:virtual_name] = dest
|
|
37
|
+
when Hash
|
|
38
|
+
if snapshot = dest.delete(:snapshot)
|
|
39
|
+
dest[:snapshot_id] = snapshot.id
|
|
40
|
+
end
|
|
41
|
+
entry[:ebs] = dest
|
|
42
|
+
else
|
|
43
|
+
raise ArgumentError.new("values of block_device_mappings must "+
|
|
44
|
+
"be strings, symbols, or hashes")
|
|
45
|
+
end
|
|
46
|
+
entry
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|
|
53
|
+
end
|
|
@@ -0,0 +1,4121 @@
|
|
|
1
|
+
# Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
|
4
|
+
# may not use this file except in compliance with the License. A copy of
|
|
5
|
+
# the License is located at
|
|
6
|
+
#
|
|
7
|
+
# http://aws.amazon.com/apache2.0/
|
|
8
|
+
#
|
|
9
|
+
# or in the "license" file accompanying this file. This file is
|
|
10
|
+
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
+
# ANY KIND, either express or implied. See the License for the specific
|
|
12
|
+
# language governing permissions and limitations under the License.
|
|
13
|
+
|
|
14
|
+
module AWS
|
|
15
|
+
class EC2
|
|
16
|
+
|
|
17
|
+
# Client class for Amazon Elastic Compute Cloud (EC2).
|
|
18
|
+
class Client < Core::Client
|
|
19
|
+
|
|
20
|
+
API_VERSION = '2012-04-01'
|
|
21
|
+
|
|
22
|
+
extend Core::Client::QueryXML
|
|
23
|
+
|
|
24
|
+
# @private
|
|
25
|
+
CACHEABLE_REQUESTS = Set[
|
|
26
|
+
:describe_addresses,
|
|
27
|
+
:describe_availability_zones,
|
|
28
|
+
:describe_bundle_tasks,
|
|
29
|
+
:describe_customer_gateways,
|
|
30
|
+
:describe_dhcp_options,
|
|
31
|
+
:describe_image_attribute,
|
|
32
|
+
:describe_images,
|
|
33
|
+
:describe_instances,
|
|
34
|
+
:describe_key_pairs,
|
|
35
|
+
:describe_regions,
|
|
36
|
+
:describe_reserved_instances,
|
|
37
|
+
:describe_reserved_instances_offerings,
|
|
38
|
+
:describe_security_groups,
|
|
39
|
+
:describe_snapshot_attribute,
|
|
40
|
+
:describe_snapshots,
|
|
41
|
+
:describe_subnets,
|
|
42
|
+
:describe_volume_status,
|
|
43
|
+
:describe_volumes,
|
|
44
|
+
:describe_vpcs,
|
|
45
|
+
:describe_vpn_connections,
|
|
46
|
+
:describe_vpn_gateways,
|
|
47
|
+
:describe_instance_attribute,
|
|
48
|
+
:describe_spot_instance_requests,
|
|
49
|
+
:describe_spot_price_history,
|
|
50
|
+
:describe_spot_datafeed_subscription,
|
|
51
|
+
:describe_licenses,
|
|
52
|
+
:describe_placement_groups,
|
|
53
|
+
:describe_tags,
|
|
54
|
+
:describe_internet_gateways,
|
|
55
|
+
:describe_route_tables,
|
|
56
|
+
:describe_network_acls,
|
|
57
|
+
:describe_instance_status,
|
|
58
|
+
:describe_conversion_tasks,
|
|
59
|
+
:describe_network_interfaces,
|
|
60
|
+
:describe_network_interface_attribute,
|
|
61
|
+
]
|
|
62
|
+
|
|
63
|
+
## client methods ##
|
|
64
|
+
|
|
65
|
+
# Calls the ActivateLicense API operation.
|
|
66
|
+
# @method activate_license(options = {})
|
|
67
|
+
#
|
|
68
|
+
# === Options:
|
|
69
|
+
#
|
|
70
|
+
# * +:license_id+ - *required* - (String) Specifies the ID for the
|
|
71
|
+
# specific license to activate against.
|
|
72
|
+
# * +:capacity+ - *required* - (Integer) Specifies the additional number
|
|
73
|
+
# of licenses to activate.
|
|
74
|
+
#
|
|
75
|
+
# === Response Structure:
|
|
76
|
+
#
|
|
77
|
+
# This method returns no response data.
|
|
78
|
+
#
|
|
79
|
+
# @return [Core::Response]
|
|
80
|
+
#
|
|
81
|
+
define_client_method :activate_license, 'ActivateLicense'
|
|
82
|
+
|
|
83
|
+
# Calls the AllocateAddress API operation.
|
|
84
|
+
# @method allocate_address(options = {})
|
|
85
|
+
#
|
|
86
|
+
# === Options:
|
|
87
|
+
#
|
|
88
|
+
# * +:domain+ - (String) Set to vpc to allocate the address to your VPC.
|
|
89
|
+
# By default, will allocate to EC2.
|
|
90
|
+
#
|
|
91
|
+
# === Response Structure:
|
|
92
|
+
#
|
|
93
|
+
# * +:public_ip+ - (String)
|
|
94
|
+
# * +:domain+ - (String)
|
|
95
|
+
# * +:allocation_id+ - (String)
|
|
96
|
+
#
|
|
97
|
+
# @return [Core::Response]
|
|
98
|
+
#
|
|
99
|
+
define_client_method :allocate_address, 'AllocateAddress'
|
|
100
|
+
|
|
101
|
+
# Calls the AssociateAddress API operation.
|
|
102
|
+
# @method associate_address(options = {})
|
|
103
|
+
#
|
|
104
|
+
# === Options:
|
|
105
|
+
#
|
|
106
|
+
# * +:instance_id+ - *required* - (String) The instance to associate with
|
|
107
|
+
# the IP address.
|
|
108
|
+
# * +:public_ip+ - (String) IP address that you are assigning to the
|
|
109
|
+
# instance.
|
|
110
|
+
# * +:allocation_id+ - (String) The allocation ID that AWS returned when
|
|
111
|
+
# you allocated the elastic IP address for use with Amazon VPC.
|
|
112
|
+
# * +:network_interface_id+ - (String)
|
|
113
|
+
#
|
|
114
|
+
# === Response Structure:
|
|
115
|
+
#
|
|
116
|
+
# * +:association_id+ - (String)
|
|
117
|
+
#
|
|
118
|
+
# @return [Core::Response]
|
|
119
|
+
#
|
|
120
|
+
define_client_method :associate_address, 'AssociateAddress'
|
|
121
|
+
|
|
122
|
+
# Calls the AssociateDhcpOptions API operation.
|
|
123
|
+
# @method associate_dhcp_options(options = {})
|
|
124
|
+
#
|
|
125
|
+
# === Options:
|
|
126
|
+
#
|
|
127
|
+
# * +:dhcp_options_id+ - *required* - (String) The ID of the DHCP options
|
|
128
|
+
# to associate with the VPC. Specify "default" to associate the default
|
|
129
|
+
# DHCP options with the VPC.
|
|
130
|
+
# * +:vpc_id+ - *required* - (String) The ID of the VPC to associate the
|
|
131
|
+
# DHCP options with.
|
|
132
|
+
#
|
|
133
|
+
# === Response Structure:
|
|
134
|
+
#
|
|
135
|
+
# This method returns no response data.
|
|
136
|
+
#
|
|
137
|
+
# @return [Core::Response]
|
|
138
|
+
#
|
|
139
|
+
define_client_method :associate_dhcp_options, 'AssociateDhcpOptions'
|
|
140
|
+
|
|
141
|
+
# Calls the AssociateRouteTable API operation.
|
|
142
|
+
# @method associate_route_table(options = {})
|
|
143
|
+
#
|
|
144
|
+
# === Options:
|
|
145
|
+
#
|
|
146
|
+
# * +:subnet_id+ - *required* - (String) The ID of the subnet.
|
|
147
|
+
# * +:route_table_id+ - *required* - (String) The ID of the route table.
|
|
148
|
+
#
|
|
149
|
+
# === Response Structure:
|
|
150
|
+
#
|
|
151
|
+
# * +:association_id+ - (String)
|
|
152
|
+
#
|
|
153
|
+
# @return [Core::Response]
|
|
154
|
+
#
|
|
155
|
+
define_client_method :associate_route_table, 'AssociateRouteTable'
|
|
156
|
+
|
|
157
|
+
# Calls the AttachInternetGateway API operation.
|
|
158
|
+
# @method attach_internet_gateway(options = {})
|
|
159
|
+
#
|
|
160
|
+
# === Options:
|
|
161
|
+
#
|
|
162
|
+
# * +:internet_gateway_id+ - *required* - (String) The ID of the Internet
|
|
163
|
+
# gateway to attach.
|
|
164
|
+
# * +:vpc_id+ - *required* - (String) The ID of the VPC.
|
|
165
|
+
#
|
|
166
|
+
# === Response Structure:
|
|
167
|
+
#
|
|
168
|
+
# This method returns no response data.
|
|
169
|
+
#
|
|
170
|
+
# @return [Core::Response]
|
|
171
|
+
#
|
|
172
|
+
define_client_method :attach_internet_gateway, 'AttachInternetGateway'
|
|
173
|
+
|
|
174
|
+
# Calls the AttachNetworkInterface API operation.
|
|
175
|
+
# @method attach_network_interface(options = {})
|
|
176
|
+
#
|
|
177
|
+
# === Options:
|
|
178
|
+
#
|
|
179
|
+
# * +:network_interface_id+ - *required* - (String)
|
|
180
|
+
# * +:instance_id+ - *required* - (String)
|
|
181
|
+
# * +:device_index+ - *required* - (Integer)
|
|
182
|
+
#
|
|
183
|
+
# === Response Structure:
|
|
184
|
+
#
|
|
185
|
+
# * +:attachment_id+ - (String)
|
|
186
|
+
#
|
|
187
|
+
# @return [Core::Response]
|
|
188
|
+
#
|
|
189
|
+
define_client_method :attach_network_interface, 'AttachNetworkInterface'
|
|
190
|
+
|
|
191
|
+
# Calls the AttachVolume API operation.
|
|
192
|
+
# @method attach_volume(options = {})
|
|
193
|
+
#
|
|
194
|
+
# === Options:
|
|
195
|
+
#
|
|
196
|
+
# * +:volume_id+ - *required* - (String) The ID of the Amazon EBS volume.
|
|
197
|
+
# The volume and instance must be within the same Availability Zone and
|
|
198
|
+
# the instance must be running.
|
|
199
|
+
# * +:instance_id+ - *required* - (String) The ID of the instance to
|
|
200
|
+
# which the volume attaches. The volume and instance must be within the
|
|
201
|
+
# same Availability Zone and the instance must be running.
|
|
202
|
+
# * +:device+ - *required* - (String) Specifies how the device is exposed
|
|
203
|
+
# to the instance (e.g., /dev/sdh).
|
|
204
|
+
#
|
|
205
|
+
# === Response Structure:
|
|
206
|
+
#
|
|
207
|
+
# * +:volume_id+ - (String)
|
|
208
|
+
# * +:instance_id+ - (String)
|
|
209
|
+
# * +:device+ - (String)
|
|
210
|
+
# * +:status+ - (String)
|
|
211
|
+
# * +:attach_time+ - (Time)
|
|
212
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
213
|
+
#
|
|
214
|
+
# @return [Core::Response]
|
|
215
|
+
#
|
|
216
|
+
define_client_method :attach_volume, 'AttachVolume'
|
|
217
|
+
|
|
218
|
+
# Calls the AttachVpnGateway API operation.
|
|
219
|
+
# @method attach_vpn_gateway(options = {})
|
|
220
|
+
#
|
|
221
|
+
# === Options:
|
|
222
|
+
#
|
|
223
|
+
# * +:vpn_gateway_id+ - *required* - (String) The ID of the VPN gateway
|
|
224
|
+
# to attach to the VPC.
|
|
225
|
+
# * +:vpc_id+ - *required* - (String) The ID of the VPC to attach to the
|
|
226
|
+
# VPN gateway.
|
|
227
|
+
#
|
|
228
|
+
# === Response Structure:
|
|
229
|
+
#
|
|
230
|
+
# * +:attachment+ - (Hash)
|
|
231
|
+
# * +:vpc_id+ - (String)
|
|
232
|
+
# * +:state+ - (String)
|
|
233
|
+
#
|
|
234
|
+
# @return [Core::Response]
|
|
235
|
+
#
|
|
236
|
+
define_client_method :attach_vpn_gateway, 'AttachVpnGateway'
|
|
237
|
+
|
|
238
|
+
# Calls the AuthorizeSecurityGroupEgress API operation.
|
|
239
|
+
# @method authorize_security_group_egress(options = {})
|
|
240
|
+
#
|
|
241
|
+
# === Options:
|
|
242
|
+
#
|
|
243
|
+
# * +:group_id+ - *required* - (String) ID of the VPC security group to
|
|
244
|
+
# modify.
|
|
245
|
+
# * +:source_security_group_name+ - (String) Deprecated.
|
|
246
|
+
# * +:source_security_group_owner_id+ - (String) Deprecated.
|
|
247
|
+
# * +:ip_protocol+ - (String) Deprecated.
|
|
248
|
+
# * +:from_port+ - (Integer) Deprecated.
|
|
249
|
+
# * +:to_port+ - (Integer) Deprecated.
|
|
250
|
+
# * +:cidr_ip+ - (String) Deprecated.
|
|
251
|
+
# * +:ip_permissions+ - (Array<Hash>) List of IP permissions to authorize
|
|
252
|
+
# on the specified security group. Specifying permissions through IP
|
|
253
|
+
# permissions is the preferred way of authorizing permissions since it
|
|
254
|
+
# offers more flexibility and control.
|
|
255
|
+
# * +:ip_protocol+ - (String) The IP protocol of this permission. Valid
|
|
256
|
+
# protocol values: tcp, udp, icmp
|
|
257
|
+
# * +:from_port+ - (Integer) Start of port range for the TCP and UDP
|
|
258
|
+
# protocols, or an ICMP type number. An ICMP type number of -1
|
|
259
|
+
# indicates a wildcard (i.e., any ICMP type number).
|
|
260
|
+
# * +:to_port+ - (Integer) End of port range for the TCP and UDP
|
|
261
|
+
# protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard
|
|
262
|
+
# (i.e., any ICMP code).
|
|
263
|
+
# * +:user_id_group_pairs+ - (Array<Hash>) The list of AWS user IDs and
|
|
264
|
+
# groups included in this permission.
|
|
265
|
+
# * +:user_id+ - (String) The AWS user ID of an account.
|
|
266
|
+
# * +:group_name+ - (String) Name of the security group in the
|
|
267
|
+
# specified AWS account. Cannot be used when specifying a CIDR IP
|
|
268
|
+
# address range.
|
|
269
|
+
# * +:group_id+ - (String) ID of the security group in the specified
|
|
270
|
+
# AWS account. Cannot be used when specifying a CIDR IP address
|
|
271
|
+
# range.
|
|
272
|
+
# * +:ip_ranges+ - (Array<Hash>) The list of CIDR IP ranges included in
|
|
273
|
+
# this permission.
|
|
274
|
+
# * +:cidr_ip+ - (String) The list of CIDR IP ranges.
|
|
275
|
+
#
|
|
276
|
+
# === Response Structure:
|
|
277
|
+
#
|
|
278
|
+
# This method returns no response data.
|
|
279
|
+
#
|
|
280
|
+
# @return [Core::Response]
|
|
281
|
+
#
|
|
282
|
+
define_client_method :authorize_security_group_egress, 'AuthorizeSecurityGroupEgress'
|
|
283
|
+
|
|
284
|
+
# Calls the AuthorizeSecurityGroupIngress API operation.
|
|
285
|
+
# @method authorize_security_group_ingress(options = {})
|
|
286
|
+
#
|
|
287
|
+
# === Options:
|
|
288
|
+
#
|
|
289
|
+
# * +:group_name+ - (String) Name of the standard (EC2) security group to
|
|
290
|
+
# modify. The group must belong to your account. Can be used instead of
|
|
291
|
+
# GroupID for standard (EC2) security groups.
|
|
292
|
+
# * +:group_id+ - (String) ID of the standard (EC2) or VPC security group
|
|
293
|
+
# to modify. The group must belong to your account. Required for VPC
|
|
294
|
+
# security groups; can be used instead of GroupName for standard (EC2)
|
|
295
|
+
# security groups.
|
|
296
|
+
# * +:source_security_group_name+ - (String) Deprecated
|
|
297
|
+
# * +:source_security_group_owner_id+ - (String) Deprecated
|
|
298
|
+
# * +:ip_protocol+ - (String) Deprecated
|
|
299
|
+
# * +:from_port+ - (Integer) Deprecated
|
|
300
|
+
# * +:to_port+ - (Integer) Deprecated
|
|
301
|
+
# * +:cidr_ip+ - (String) Deprecated
|
|
302
|
+
# * +:ip_permissions+ - (Array<Hash>) List of IP permissions to authorize
|
|
303
|
+
# on the specified security group. Specifying permissions through IP
|
|
304
|
+
# permissions is the preferred way of authorizing permissions since it
|
|
305
|
+
# offers more flexibility and control.
|
|
306
|
+
# * +:ip_protocol+ - (String) The IP protocol of this permission. Valid
|
|
307
|
+
# protocol values: tcp, udp, icmp
|
|
308
|
+
# * +:from_port+ - (Integer) Start of port range for the TCP and UDP
|
|
309
|
+
# protocols, or an ICMP type number. An ICMP type number of -1
|
|
310
|
+
# indicates a wildcard (i.e., any ICMP type number).
|
|
311
|
+
# * +:to_port+ - (Integer) End of port range for the TCP and UDP
|
|
312
|
+
# protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard
|
|
313
|
+
# (i.e., any ICMP code).
|
|
314
|
+
# * +:user_id_group_pairs+ - (Array<Hash>) The list of AWS user IDs and
|
|
315
|
+
# groups included in this permission.
|
|
316
|
+
# * +:user_id+ - (String) The AWS user ID of an account.
|
|
317
|
+
# * +:group_name+ - (String) Name of the security group in the
|
|
318
|
+
# specified AWS account. Cannot be used when specifying a CIDR IP
|
|
319
|
+
# address range.
|
|
320
|
+
# * +:group_id+ - (String) ID of the security group in the specified
|
|
321
|
+
# AWS account. Cannot be used when specifying a CIDR IP address
|
|
322
|
+
# range.
|
|
323
|
+
# * +:ip_ranges+ - (Array<Hash>) The list of CIDR IP ranges included in
|
|
324
|
+
# this permission.
|
|
325
|
+
# * +:cidr_ip+ - (String) The list of CIDR IP ranges.
|
|
326
|
+
#
|
|
327
|
+
# === Response Structure:
|
|
328
|
+
#
|
|
329
|
+
# This method returns no response data.
|
|
330
|
+
#
|
|
331
|
+
# @return [Core::Response]
|
|
332
|
+
#
|
|
333
|
+
define_client_method :authorize_security_group_ingress, 'AuthorizeSecurityGroupIngress'
|
|
334
|
+
|
|
335
|
+
# Calls the BundleInstance API operation.
|
|
336
|
+
# @method bundle_instance(options = {})
|
|
337
|
+
#
|
|
338
|
+
# === Options:
|
|
339
|
+
#
|
|
340
|
+
# * +:instance_id+ - *required* - (String) The ID of the instance to
|
|
341
|
+
# bundle.
|
|
342
|
+
# * +:storage+ - *required* - (Hash)
|
|
343
|
+
# * +:s3+ - (Hash) The details of S3 storage for bundling a Windows
|
|
344
|
+
# instance.
|
|
345
|
+
# * +:bucket+ - (String) The bucket in which to store the AMI. You
|
|
346
|
+
# can specify a bucket that you already own or a new bucket that
|
|
347
|
+
# Amazon EC2 creates on your behalf. If you specify a bucket that
|
|
348
|
+
# belongs to someone else, Amazon EC2 returns an error.
|
|
349
|
+
# * +:prefix+ - (String) The prefix to use when storing the AMI in
|
|
350
|
+
# S3.
|
|
351
|
+
# * +:aws_access_key_id+ - (String) The Access Key ID of the owner of
|
|
352
|
+
# the Amazon S3 bucket.
|
|
353
|
+
# * +:upload_policy+ - (String) A Base64-encoded Amazon S3 upload
|
|
354
|
+
# policy that gives Amazon EC2 permission to upload items into
|
|
355
|
+
# Amazon S3 on the user's behalf.
|
|
356
|
+
# * +:upload_policy_signature+ - (String) The signature of the Base64
|
|
357
|
+
# encoded JSON document.
|
|
358
|
+
#
|
|
359
|
+
# === Response Structure:
|
|
360
|
+
#
|
|
361
|
+
# * +:bundle_instance_task+ - (Hash)
|
|
362
|
+
# * +:instance_id+ - (String)
|
|
363
|
+
# * +:bundle_id+ - (String)
|
|
364
|
+
# * +:state+ - (String)
|
|
365
|
+
# * +:start_time+ - (Time)
|
|
366
|
+
# * +:update_time+ - (Time)
|
|
367
|
+
# * +:storage+ - (Hash)
|
|
368
|
+
# * +:s3+ - (Hash)
|
|
369
|
+
# * +:bucket+ - (String)
|
|
370
|
+
# * +:prefix+ - (String)
|
|
371
|
+
# * +:aws_access_key_id+ - (String)
|
|
372
|
+
# * +:upload_policy+ - (String)
|
|
373
|
+
# * +:upload_policy_signature+ - (String)
|
|
374
|
+
# * +:progress+ - (String)
|
|
375
|
+
# * +:error+ - (Hash)
|
|
376
|
+
# * +:code+ - (String)
|
|
377
|
+
# * +:message+ - (String)
|
|
378
|
+
#
|
|
379
|
+
# @return [Core::Response]
|
|
380
|
+
#
|
|
381
|
+
define_client_method :bundle_instance, 'BundleInstance'
|
|
382
|
+
|
|
383
|
+
# Calls the CancelBundleTask API operation.
|
|
384
|
+
# @method cancel_bundle_task(options = {})
|
|
385
|
+
#
|
|
386
|
+
# === Options:
|
|
387
|
+
#
|
|
388
|
+
# * +:bundle_id+ - *required* - (String) The ID of the bundle task to
|
|
389
|
+
# cancel.
|
|
390
|
+
#
|
|
391
|
+
# === Response Structure:
|
|
392
|
+
#
|
|
393
|
+
# * +:bundle_instance_task+ - (Hash)
|
|
394
|
+
# * +:instance_id+ - (String)
|
|
395
|
+
# * +:bundle_id+ - (String)
|
|
396
|
+
# * +:state+ - (String)
|
|
397
|
+
# * +:start_time+ - (Time)
|
|
398
|
+
# * +:update_time+ - (Time)
|
|
399
|
+
# * +:storage+ - (Hash)
|
|
400
|
+
# * +:s3+ - (Hash)
|
|
401
|
+
# * +:bucket+ - (String)
|
|
402
|
+
# * +:prefix+ - (String)
|
|
403
|
+
# * +:aws_access_key_id+ - (String)
|
|
404
|
+
# * +:upload_policy+ - (String)
|
|
405
|
+
# * +:upload_policy_signature+ - (String)
|
|
406
|
+
# * +:progress+ - (String)
|
|
407
|
+
# * +:error+ - (Hash)
|
|
408
|
+
# * +:code+ - (String)
|
|
409
|
+
# * +:message+ - (String)
|
|
410
|
+
#
|
|
411
|
+
# @return [Core::Response]
|
|
412
|
+
#
|
|
413
|
+
define_client_method :cancel_bundle_task, 'CancelBundleTask'
|
|
414
|
+
|
|
415
|
+
# Calls the CancelConversionTask API operation.
|
|
416
|
+
# @method cancel_conversion_task(options = {})
|
|
417
|
+
#
|
|
418
|
+
# === Options:
|
|
419
|
+
#
|
|
420
|
+
# * +:conversion_task_id+ - *required* - (String)
|
|
421
|
+
# * +:reason_message+ - (String)
|
|
422
|
+
#
|
|
423
|
+
# === Response Structure:
|
|
424
|
+
#
|
|
425
|
+
# This method returns no response data.
|
|
426
|
+
#
|
|
427
|
+
# @return [Core::Response]
|
|
428
|
+
#
|
|
429
|
+
define_client_method :cancel_conversion_task, 'CancelConversionTask'
|
|
430
|
+
|
|
431
|
+
# Calls the CancelSpotInstanceRequests API operation.
|
|
432
|
+
# @method cancel_spot_instance_requests(options = {})
|
|
433
|
+
#
|
|
434
|
+
# === Options:
|
|
435
|
+
#
|
|
436
|
+
# * +:spot_instance_request_ids+ - *required* - (Array<String>) Specifies
|
|
437
|
+
# the ID of the Spot Instance request.
|
|
438
|
+
#
|
|
439
|
+
# === Response Structure:
|
|
440
|
+
#
|
|
441
|
+
# * +:spot_instance_request_set+ - (Array<Hash>)
|
|
442
|
+
# * +:spot_instance_request_id+ - (String)
|
|
443
|
+
# * +:state+ - (String)
|
|
444
|
+
#
|
|
445
|
+
# @return [Core::Response]
|
|
446
|
+
#
|
|
447
|
+
define_client_method :cancel_spot_instance_requests, 'CancelSpotInstanceRequests'
|
|
448
|
+
|
|
449
|
+
# Calls the ConfirmProductInstance API operation.
|
|
450
|
+
# @method confirm_product_instance(options = {})
|
|
451
|
+
#
|
|
452
|
+
# === Options:
|
|
453
|
+
#
|
|
454
|
+
# * +:product_code+ - *required* - (String) The product code to confirm.
|
|
455
|
+
# * +:instance_id+ - *required* - (String) The ID of the instance to
|
|
456
|
+
# confirm.
|
|
457
|
+
#
|
|
458
|
+
# === Response Structure:
|
|
459
|
+
#
|
|
460
|
+
# * +:owner_id+ - (String)
|
|
461
|
+
#
|
|
462
|
+
# @return [Core::Response]
|
|
463
|
+
#
|
|
464
|
+
define_client_method :confirm_product_instance, 'ConfirmProductInstance'
|
|
465
|
+
|
|
466
|
+
# Calls the CreateCustomerGateway API operation.
|
|
467
|
+
# @method create_customer_gateway(options = {})
|
|
468
|
+
#
|
|
469
|
+
# === Options:
|
|
470
|
+
#
|
|
471
|
+
# * +:type+ - *required* - (String) The type of VPN connection this
|
|
472
|
+
# customer gateway supports.
|
|
473
|
+
# * +:public_ip+ - *required* - (String) The Internet-routable IP address
|
|
474
|
+
# for the customer gateway's outside interface. The address must be
|
|
475
|
+
# static
|
|
476
|
+
# * +:bgp_asn+ - *required* - (Integer) The customer gateway's Border
|
|
477
|
+
# Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
478
|
+
#
|
|
479
|
+
# === Response Structure:
|
|
480
|
+
#
|
|
481
|
+
# * +:customer_gateway+ - (Hash)
|
|
482
|
+
# * +:customer_gateway_id+ - (String)
|
|
483
|
+
# * +:state+ - (String)
|
|
484
|
+
# * +:type+ - (String)
|
|
485
|
+
# * +:ip_address+ - (String)
|
|
486
|
+
# * +:bgp_asn+ - (String)
|
|
487
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
488
|
+
# * +:key+ - (String)
|
|
489
|
+
# * +:value+ - (String)
|
|
490
|
+
#
|
|
491
|
+
# @return [Core::Response]
|
|
492
|
+
#
|
|
493
|
+
define_client_method :create_customer_gateway, 'CreateCustomerGateway'
|
|
494
|
+
|
|
495
|
+
# Calls the CreateDhcpOptions API operation.
|
|
496
|
+
# @method create_dhcp_options(options = {})
|
|
497
|
+
#
|
|
498
|
+
# === Options:
|
|
499
|
+
#
|
|
500
|
+
# * +:dhcp_configurations+ - *required* - (Array<Hash>) A set of one or
|
|
501
|
+
# more DHCP configurations.
|
|
502
|
+
# * +:key+ - (String) Contains the name of a DHCP option.
|
|
503
|
+
# * +:values+ - (Array<String>) Contains a set of values for a DHCP
|
|
504
|
+
# option.
|
|
505
|
+
#
|
|
506
|
+
# === Response Structure:
|
|
507
|
+
#
|
|
508
|
+
# * +:dhcp_options+ - (Hash)
|
|
509
|
+
# * +:dhcp_options_id+ - (String)
|
|
510
|
+
# * +:dhcp_configuration_set+ - (Array<Hash>)
|
|
511
|
+
# * +:key+ - (String)
|
|
512
|
+
# * +:value_set+ - (Array<String>)
|
|
513
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
514
|
+
# * +:key+ - (String)
|
|
515
|
+
# * +:value+ - (String)
|
|
516
|
+
#
|
|
517
|
+
# @return [Core::Response]
|
|
518
|
+
#
|
|
519
|
+
define_client_method :create_dhcp_options, 'CreateDhcpOptions'
|
|
520
|
+
|
|
521
|
+
# Calls the CreateImage API operation.
|
|
522
|
+
# @method create_image(options = {})
|
|
523
|
+
#
|
|
524
|
+
# === Options:
|
|
525
|
+
#
|
|
526
|
+
# * +:instance_id+ - *required* - (String) The ID of the instance from
|
|
527
|
+
# which to create the new image.
|
|
528
|
+
# * +:name+ - *required* - (String) The name for the new AMI being
|
|
529
|
+
# created.
|
|
530
|
+
# * +:description+ - (String) The description for the new AMI being
|
|
531
|
+
# created.
|
|
532
|
+
# * +:no_reboot+ - (Boolean) By default this property is set to +false+ ,
|
|
533
|
+
# which means Amazon EC2 attempts to cleanly shut down the instance
|
|
534
|
+
# before image creation and reboots the instance afterwards. When set
|
|
535
|
+
# to +true+ , Amazon EC2 will not shut down the instance before
|
|
536
|
+
# creating the image. When this option is used, file system integrity
|
|
537
|
+
# on the created image cannot be guaranteed.
|
|
538
|
+
#
|
|
539
|
+
# === Response Structure:
|
|
540
|
+
#
|
|
541
|
+
# * +:image_id+ - (String)
|
|
542
|
+
#
|
|
543
|
+
# @return [Core::Response]
|
|
544
|
+
#
|
|
545
|
+
define_client_method :create_image, 'CreateImage'
|
|
546
|
+
|
|
547
|
+
# Calls the CreateInternetGateway API operation.
|
|
548
|
+
# @method create_internet_gateway(options = {})
|
|
549
|
+
#
|
|
550
|
+
# === Options:
|
|
551
|
+
#
|
|
552
|
+
# This method accepts no options.
|
|
553
|
+
#
|
|
554
|
+
# === Response Structure:
|
|
555
|
+
#
|
|
556
|
+
# * +:internet_gateway+ - (Hash)
|
|
557
|
+
# * +:internet_gateway_id+ - (String)
|
|
558
|
+
# * +:attachment_set+ - (Array<Hash>)
|
|
559
|
+
# * +:vpc_id+ - (String)
|
|
560
|
+
# * +:state+ - (String)
|
|
561
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
562
|
+
# * +:key+ - (String)
|
|
563
|
+
# * +:value+ - (String)
|
|
564
|
+
#
|
|
565
|
+
# @return [Core::Response]
|
|
566
|
+
#
|
|
567
|
+
define_client_method :create_internet_gateway, 'CreateInternetGateway'
|
|
568
|
+
|
|
569
|
+
# Calls the CreateKeyPair API operation.
|
|
570
|
+
# @method create_key_pair(options = {})
|
|
571
|
+
#
|
|
572
|
+
# === Options:
|
|
573
|
+
#
|
|
574
|
+
# * +:key_name+ - *required* - (String) The unique name for the new key
|
|
575
|
+
# pair.
|
|
576
|
+
#
|
|
577
|
+
# === Response Structure:
|
|
578
|
+
#
|
|
579
|
+
# * +:key_pair+ - (Hash)
|
|
580
|
+
# * +:key_name+ - (String)
|
|
581
|
+
# * +:key_fingerprint+ - (String)
|
|
582
|
+
# * +:key_material+ - (String)
|
|
583
|
+
#
|
|
584
|
+
# @return [Core::Response]
|
|
585
|
+
#
|
|
586
|
+
define_client_method :create_key_pair, 'CreateKeyPair'
|
|
587
|
+
|
|
588
|
+
# Calls the CreateNetworkAcl API operation.
|
|
589
|
+
# @method create_network_acl(options = {})
|
|
590
|
+
#
|
|
591
|
+
# === Options:
|
|
592
|
+
#
|
|
593
|
+
# * +:vpc_id+ - *required* - (String) The ID of the VPC where the network
|
|
594
|
+
# ACL will be created.
|
|
595
|
+
#
|
|
596
|
+
# === Response Structure:
|
|
597
|
+
#
|
|
598
|
+
# * +:network_acl+ - (Hash)
|
|
599
|
+
# * +:network_acl_id+ - (String)
|
|
600
|
+
# * +:vpc_id+ - (String)
|
|
601
|
+
# * +:default+ - (Boolean)
|
|
602
|
+
# * +:entry_set+ - (Array<Hash>)
|
|
603
|
+
# * +:rule_number+ - (Integer)
|
|
604
|
+
# * +:protocol+ - (String)
|
|
605
|
+
# * +:rule_action+ - (String)
|
|
606
|
+
# * +:egress+ - (Boolean)
|
|
607
|
+
# * +:cidr_block+ - (String)
|
|
608
|
+
# * +:icmp_type_code+ - (Hash)
|
|
609
|
+
# * +:type+ - (Integer)
|
|
610
|
+
# * +:code+ - (Integer)
|
|
611
|
+
# * +:port_range+ - (Hash)
|
|
612
|
+
# * +:from+ - (Integer)
|
|
613
|
+
# * +:to+ - (Integer)
|
|
614
|
+
# * +:association_set+ - (Array<Hash>)
|
|
615
|
+
# * +:network_acl_association_id+ - (String)
|
|
616
|
+
# * +:network_acl_id+ - (String)
|
|
617
|
+
# * +:subnet_id+ - (String)
|
|
618
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
619
|
+
# * +:key+ - (String)
|
|
620
|
+
# * +:value+ - (String)
|
|
621
|
+
#
|
|
622
|
+
# @return [Core::Response]
|
|
623
|
+
#
|
|
624
|
+
define_client_method :create_network_acl, 'CreateNetworkAcl'
|
|
625
|
+
|
|
626
|
+
# Calls the CreateNetworkAclEntry API operation.
|
|
627
|
+
# @method create_network_acl_entry(options = {})
|
|
628
|
+
#
|
|
629
|
+
# === Options:
|
|
630
|
+
#
|
|
631
|
+
# * +:network_acl_id+ - *required* - (String) ID of the ACL where the
|
|
632
|
+
# entry will be created.
|
|
633
|
+
# * +:rule_number+ - *required* - (Integer) Rule number to assign to the
|
|
634
|
+
# entry (e.g., 100). ACL entries are processed in ascending order by
|
|
635
|
+
# rule number.
|
|
636
|
+
# * +:protocol+ - *required* - (String) IP protocol the rule applies to.
|
|
637
|
+
# Valid Values: tcp, udp, icmp or an IP protocol number.
|
|
638
|
+
# * +:rule_action+ - *required* - (String) Whether to allow or deny
|
|
639
|
+
# traffic that matches the rule.
|
|
640
|
+
# * +:egress+ - *required* - (Boolean) Whether this rule applies to
|
|
641
|
+
# egress traffic from the subnet ( +true+ ) or ingress traffic to the
|
|
642
|
+
# subnet ( +false+ ).
|
|
643
|
+
# * +:cidr_block+ - *required* - (String) The CIDR range to allow or
|
|
644
|
+
# deny, in CIDR notation (e.g., 172.16.0.0/24).
|
|
645
|
+
# * +:icmp_type_code+ - (Hash) ICMP values.
|
|
646
|
+
# * +:type+ - (Integer) For the ICMP protocol, the ICMP type. A value
|
|
647
|
+
# of -1 is a wildcard meaning all types. Required if specifying icmp
|
|
648
|
+
# for the protocol.
|
|
649
|
+
# * +:code+ - (Integer) For the ICMP protocol, the ICMP code. A value
|
|
650
|
+
# of -1 is a wildcard meaning all codes. Required if specifying icmp
|
|
651
|
+
# for the protocol.
|
|
652
|
+
# * +:port_range+ - (Hash) Port ranges.
|
|
653
|
+
# * +:from+ - (Integer) The first port in the range. Required if
|
|
654
|
+
# specifying tcp or udp for the protocol.
|
|
655
|
+
# * +:to+ - (Integer) The last port in the range. Required if
|
|
656
|
+
# specifying tcp or udp for the protocol.
|
|
657
|
+
#
|
|
658
|
+
# === Response Structure:
|
|
659
|
+
#
|
|
660
|
+
# This method returns no response data.
|
|
661
|
+
#
|
|
662
|
+
# @return [Core::Response]
|
|
663
|
+
#
|
|
664
|
+
define_client_method :create_network_acl_entry, 'CreateNetworkAclEntry'
|
|
665
|
+
|
|
666
|
+
# Calls the CreateNetworkInterface API operation.
|
|
667
|
+
# @method create_network_interface(options = {})
|
|
668
|
+
#
|
|
669
|
+
# === Options:
|
|
670
|
+
#
|
|
671
|
+
# * +:subnet_id+ - *required* - (String)
|
|
672
|
+
# * +:description+ - (String)
|
|
673
|
+
# * +:private_ip_address+ - (String)
|
|
674
|
+
# * +:groups+ - (Array<String>)
|
|
675
|
+
#
|
|
676
|
+
# === Response Structure:
|
|
677
|
+
#
|
|
678
|
+
# * +:network_interface+ - (Hash)
|
|
679
|
+
# * +:network_interface_id+ - (String)
|
|
680
|
+
# * +:subnet_id+ - (String)
|
|
681
|
+
# * +:vpc_id+ - (String)
|
|
682
|
+
# * +:availability_zone+ - (String)
|
|
683
|
+
# * +:description+ - (String)
|
|
684
|
+
# * +:owner_id+ - (String)
|
|
685
|
+
# * +:requester_id+ - (String)
|
|
686
|
+
# * +:requester_managed+ - (Boolean)
|
|
687
|
+
# * +:status+ - (String)
|
|
688
|
+
# * +:mac_address+ - (String)
|
|
689
|
+
# * +:private_ip_address+ - (String)
|
|
690
|
+
# * +:private_dns_name+ - (String)
|
|
691
|
+
# * +:source_dest_check+ - (Boolean)
|
|
692
|
+
# * +:group_set+ - (Array<Hash>)
|
|
693
|
+
# * +:group_name+ - (String)
|
|
694
|
+
# * +:group_id+ - (String)
|
|
695
|
+
# * +:attachment+ - (Hash)
|
|
696
|
+
# * +:attachment_id+ - (String)
|
|
697
|
+
# * +:instance_id+ - (String)
|
|
698
|
+
# * +:instance_owner_id+ - (String)
|
|
699
|
+
# * +:device_index+ - (Integer)
|
|
700
|
+
# * +:status+ - (String)
|
|
701
|
+
# * +:attach_time+ - (Time)
|
|
702
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
703
|
+
# * +:association+ - (Hash)
|
|
704
|
+
# * +:public_ip+ - (String)
|
|
705
|
+
# * +:ip_owner_id+ - (String)
|
|
706
|
+
# * +:allocation_id+ - (String)
|
|
707
|
+
# * +:association_id+ - (String)
|
|
708
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
709
|
+
# * +:key+ - (String)
|
|
710
|
+
# * +:value+ - (String)
|
|
711
|
+
#
|
|
712
|
+
# @return [Core::Response]
|
|
713
|
+
#
|
|
714
|
+
define_client_method :create_network_interface, 'CreateNetworkInterface'
|
|
715
|
+
|
|
716
|
+
# Calls the CreatePlacementGroup API operation.
|
|
717
|
+
# @method create_placement_group(options = {})
|
|
718
|
+
#
|
|
719
|
+
# === Options:
|
|
720
|
+
#
|
|
721
|
+
# * +:group_name+ - *required* - (String) The name of the PlacementGroup.
|
|
722
|
+
# * +:strategy+ - *required* - (String) The PlacementGroup strategy.
|
|
723
|
+
#
|
|
724
|
+
# === Response Structure:
|
|
725
|
+
#
|
|
726
|
+
# This method returns no response data.
|
|
727
|
+
#
|
|
728
|
+
# @return [Core::Response]
|
|
729
|
+
#
|
|
730
|
+
define_client_method :create_placement_group, 'CreatePlacementGroup'
|
|
731
|
+
|
|
732
|
+
# Calls the CreateRoute API operation.
|
|
733
|
+
# @method create_route(options = {})
|
|
734
|
+
#
|
|
735
|
+
# === Options:
|
|
736
|
+
#
|
|
737
|
+
# * +:route_table_id+ - *required* - (String) The ID of the route table
|
|
738
|
+
# where the route will be added.
|
|
739
|
+
# * +:destination_cidr_block+ - *required* - (String) The CIDR address
|
|
740
|
+
# block used for the destination match. For example: 0.0.0.0/0. Routing
|
|
741
|
+
# decisions are based on the most specific match.
|
|
742
|
+
# * +:gateway_id+ - (String) The ID of a VPN or Internet gateway attached
|
|
743
|
+
# to your VPC. You must provide either GatewayId or InstanceId, but not
|
|
744
|
+
# both.
|
|
745
|
+
# * +:instance_id+ - (String) The ID of a NAT instance in your VPC. You
|
|
746
|
+
# must provide either GatewayId or InstanceId, but not both.
|
|
747
|
+
# * +:network_interface_id+ - (String)
|
|
748
|
+
#
|
|
749
|
+
# === Response Structure:
|
|
750
|
+
#
|
|
751
|
+
# This method returns no response data.
|
|
752
|
+
#
|
|
753
|
+
# @return [Core::Response]
|
|
754
|
+
#
|
|
755
|
+
define_client_method :create_route, 'CreateRoute'
|
|
756
|
+
|
|
757
|
+
# Calls the CreateRouteTable API operation.
|
|
758
|
+
# @method create_route_table(options = {})
|
|
759
|
+
#
|
|
760
|
+
# === Options:
|
|
761
|
+
#
|
|
762
|
+
# * +:vpc_id+ - *required* - (String) The ID of the VPC where the route
|
|
763
|
+
# table will be created.
|
|
764
|
+
#
|
|
765
|
+
# === Response Structure:
|
|
766
|
+
#
|
|
767
|
+
# * +:route_table+ - (Hash)
|
|
768
|
+
# * +:route_table_id+ - (String)
|
|
769
|
+
# * +:vpc_id+ - (String)
|
|
770
|
+
# * +:route_set+ - (Array<Hash>)
|
|
771
|
+
# * +:destination_cidr_block+ - (String)
|
|
772
|
+
# * +:gateway_id+ - (String)
|
|
773
|
+
# * +:instance_id+ - (String)
|
|
774
|
+
# * +:instance_owner_id+ - (String)
|
|
775
|
+
# * +:network_interface_id+ - (String)
|
|
776
|
+
# * +:state+ - (String)
|
|
777
|
+
# * +:association_set+ - (Array<Hash>)
|
|
778
|
+
# * +:route_table_association_id+ - (String)
|
|
779
|
+
# * +:route_table_id+ - (String)
|
|
780
|
+
# * +:subnet_id+ - (String)
|
|
781
|
+
# * +:main+ - (Boolean)
|
|
782
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
783
|
+
# * +:key+ - (String)
|
|
784
|
+
# * +:value+ - (String)
|
|
785
|
+
#
|
|
786
|
+
# @return [Core::Response]
|
|
787
|
+
#
|
|
788
|
+
define_client_method :create_route_table, 'CreateRouteTable'
|
|
789
|
+
|
|
790
|
+
# Calls the CreateSecurityGroup API operation.
|
|
791
|
+
# @method create_security_group(options = {})
|
|
792
|
+
#
|
|
793
|
+
# === Options:
|
|
794
|
+
#
|
|
795
|
+
# * +:group_name+ - *required* - (String) Name of the security group.
|
|
796
|
+
# * +:description+ - *required* - (String) Description of the group. This
|
|
797
|
+
# is informational only.
|
|
798
|
+
# * +:vpc_id+ - (String) ID of the VPC.
|
|
799
|
+
#
|
|
800
|
+
# === Response Structure:
|
|
801
|
+
#
|
|
802
|
+
# * +:group_id+ - (String)
|
|
803
|
+
#
|
|
804
|
+
# @return [Core::Response]
|
|
805
|
+
#
|
|
806
|
+
define_client_method :create_security_group, 'CreateSecurityGroup'
|
|
807
|
+
|
|
808
|
+
# Calls the CreateSnapshot API operation.
|
|
809
|
+
# @method create_snapshot(options = {})
|
|
810
|
+
#
|
|
811
|
+
# === Options:
|
|
812
|
+
#
|
|
813
|
+
# * +:volume_id+ - *required* - (String) The ID of the volume from which
|
|
814
|
+
# to create the snapshot.
|
|
815
|
+
# * +:description+ - (String) The description for the new snapshot.
|
|
816
|
+
#
|
|
817
|
+
# === Response Structure:
|
|
818
|
+
#
|
|
819
|
+
# * +:snapshot_id+ - (String)
|
|
820
|
+
# * +:volume_id+ - (String)
|
|
821
|
+
# * +:status+ - (String)
|
|
822
|
+
# * +:start_time+ - (Time)
|
|
823
|
+
# * +:progress+ - (String)
|
|
824
|
+
# * +:owner_id+ - (String)
|
|
825
|
+
# * +:description+ - (String)
|
|
826
|
+
# * +:volume_size+ - (Integer)
|
|
827
|
+
# * +:owner_alias+ - (String)
|
|
828
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
829
|
+
# * +:key+ - (String)
|
|
830
|
+
# * +:value+ - (String)
|
|
831
|
+
#
|
|
832
|
+
# @return [Core::Response]
|
|
833
|
+
#
|
|
834
|
+
define_client_method :create_snapshot, 'CreateSnapshot'
|
|
835
|
+
|
|
836
|
+
# Calls the CreateSpotDatafeedSubscription API operation.
|
|
837
|
+
# @method create_spot_datafeed_subscription(options = {})
|
|
838
|
+
#
|
|
839
|
+
# === Options:
|
|
840
|
+
#
|
|
841
|
+
# * +:bucket+ - *required* - (String) The Amazon S3 bucket in which to
|
|
842
|
+
# store the Spot Instance datafeed.
|
|
843
|
+
# * +:prefix+ - (String) The prefix that is prepended to datafeed files.
|
|
844
|
+
#
|
|
845
|
+
# === Response Structure:
|
|
846
|
+
#
|
|
847
|
+
# * +:spot_datafeed_subscription+ - (Hash)
|
|
848
|
+
# * +:owner_id+ - (String)
|
|
849
|
+
# * +:bucket+ - (String)
|
|
850
|
+
# * +:prefix+ - (String)
|
|
851
|
+
# * +:state+ - (String)
|
|
852
|
+
# * +:fault+ - (Hash)
|
|
853
|
+
# * +:code+ - (String)
|
|
854
|
+
# * +:message+ - (String)
|
|
855
|
+
#
|
|
856
|
+
# @return [Core::Response]
|
|
857
|
+
#
|
|
858
|
+
define_client_method :create_spot_datafeed_subscription, 'CreateSpotDatafeedSubscription'
|
|
859
|
+
|
|
860
|
+
# Calls the CreateSubnet API operation.
|
|
861
|
+
# @method create_subnet(options = {})
|
|
862
|
+
#
|
|
863
|
+
# === Options:
|
|
864
|
+
#
|
|
865
|
+
# * +:vpc_id+ - *required* - (String) The ID of the VPC to create the
|
|
866
|
+
# subnet in.
|
|
867
|
+
# * +:cidr_block+ - *required* - (String) The CIDR block the subnet is to
|
|
868
|
+
# cover.
|
|
869
|
+
# * +:availability_zone+ - (String) The Availability Zone to create the
|
|
870
|
+
# subnet in.
|
|
871
|
+
#
|
|
872
|
+
# === Response Structure:
|
|
873
|
+
#
|
|
874
|
+
# * +:subnet+ - (Hash)
|
|
875
|
+
# * +:subnet_id+ - (String)
|
|
876
|
+
# * +:state+ - (String)
|
|
877
|
+
# * +:vpc_id+ - (String)
|
|
878
|
+
# * +:cidr_block+ - (String)
|
|
879
|
+
# * +:available_ip_address_count+ - (Integer)
|
|
880
|
+
# * +:availability_zone+ - (String)
|
|
881
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
882
|
+
# * +:key+ - (String)
|
|
883
|
+
# * +:value+ - (String)
|
|
884
|
+
#
|
|
885
|
+
# @return [Core::Response]
|
|
886
|
+
#
|
|
887
|
+
define_client_method :create_subnet, 'CreateSubnet'
|
|
888
|
+
|
|
889
|
+
# Calls the CreateTags API operation.
|
|
890
|
+
# @method create_tags(options = {})
|
|
891
|
+
#
|
|
892
|
+
# === Options:
|
|
893
|
+
#
|
|
894
|
+
# * +:resources+ - *required* - (Array<String>) One or more IDs of
|
|
895
|
+
# resources to tag. This could be the ID of an AMI, an instance, an EBS
|
|
896
|
+
# volume, or snapshot, etc.
|
|
897
|
+
# * +:tags+ - *required* - (Array<Hash>) The tags to add or overwrite for
|
|
898
|
+
# the specified resources. Each tag item consists of a key-value pair.
|
|
899
|
+
# * +:key+ - (String) The tag's key.
|
|
900
|
+
# * +:value+ - (String) The tag's value.
|
|
901
|
+
#
|
|
902
|
+
# === Response Structure:
|
|
903
|
+
#
|
|
904
|
+
# This method returns no response data.
|
|
905
|
+
#
|
|
906
|
+
# @return [Core::Response]
|
|
907
|
+
#
|
|
908
|
+
define_client_method :create_tags, 'CreateTags'
|
|
909
|
+
|
|
910
|
+
# Calls the CreateVolume API operation.
|
|
911
|
+
# @method create_volume(options = {})
|
|
912
|
+
#
|
|
913
|
+
# === Options:
|
|
914
|
+
#
|
|
915
|
+
# * +:size+ - (Integer) The size of the volume, in gigabytes. Required if
|
|
916
|
+
# you are not creating a volume from a snapshot.
|
|
917
|
+
# * +:snapshot_id+ - (String) The ID of the snapshot from which to create
|
|
918
|
+
# the new volume.
|
|
919
|
+
# * +:availability_zone+ - *required* - (String) The Availability Zone in
|
|
920
|
+
# which to create the new volume.
|
|
921
|
+
#
|
|
922
|
+
# === Response Structure:
|
|
923
|
+
#
|
|
924
|
+
# * +:volume_id+ - (String)
|
|
925
|
+
# * +:size+ - (Integer)
|
|
926
|
+
# * +:snapshot_id+ - (String)
|
|
927
|
+
# * +:availability_zone+ - (String)
|
|
928
|
+
# * +:status+ - (String)
|
|
929
|
+
# * +:create_time+ - (Time)
|
|
930
|
+
# * +:attachment_set+ - (Array<Hash>)
|
|
931
|
+
# * +:volume_id+ - (String)
|
|
932
|
+
# * +:instance_id+ - (String)
|
|
933
|
+
# * +:device+ - (String)
|
|
934
|
+
# * +:status+ - (String)
|
|
935
|
+
# * +:attach_time+ - (Time)
|
|
936
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
937
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
938
|
+
# * +:key+ - (String)
|
|
939
|
+
# * +:value+ - (String)
|
|
940
|
+
#
|
|
941
|
+
# @return [Core::Response]
|
|
942
|
+
#
|
|
943
|
+
define_client_method :create_volume, 'CreateVolume'
|
|
944
|
+
|
|
945
|
+
# Calls the CreateVpc API operation.
|
|
946
|
+
# @method create_vpc(options = {})
|
|
947
|
+
#
|
|
948
|
+
# === Options:
|
|
949
|
+
#
|
|
950
|
+
# * +:cidr_block+ - *required* - (String) A valid CIDR block.
|
|
951
|
+
# * +:instance_tenancy+ - (String) The allowed tenancy of instances
|
|
952
|
+
# launched into the VPC. A value of default means instances can be
|
|
953
|
+
# launched with any tenancy; a value of dedicated means instances must
|
|
954
|
+
# be launched with tenancy as dedicated.
|
|
955
|
+
#
|
|
956
|
+
# === Response Structure:
|
|
957
|
+
#
|
|
958
|
+
# * +:vpc+ - (Hash)
|
|
959
|
+
# * +:vpc_id+ - (String)
|
|
960
|
+
# * +:state+ - (String)
|
|
961
|
+
# * +:cidr_block+ - (String)
|
|
962
|
+
# * +:dhcp_options_id+ - (String)
|
|
963
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
964
|
+
# * +:key+ - (String)
|
|
965
|
+
# * +:value+ - (String)
|
|
966
|
+
# * +:instance_tenancy+ - (String)
|
|
967
|
+
#
|
|
968
|
+
# @return [Core::Response]
|
|
969
|
+
#
|
|
970
|
+
define_client_method :create_vpc, 'CreateVpc'
|
|
971
|
+
|
|
972
|
+
# Calls the CreateVpnConnection API operation.
|
|
973
|
+
# @method create_vpn_connection(options = {})
|
|
974
|
+
#
|
|
975
|
+
# === Options:
|
|
976
|
+
#
|
|
977
|
+
# * +:type+ - *required* - (String) The type of VPN connection.
|
|
978
|
+
# * +:customer_gateway_id+ - *required* - (String) The ID of the customer
|
|
979
|
+
# gateway.
|
|
980
|
+
# * +:vpn_gateway_id+ - *required* - (String) The ID of the VPN gateway.
|
|
981
|
+
#
|
|
982
|
+
# === Response Structure:
|
|
983
|
+
#
|
|
984
|
+
# * +:vpn_connection+ - (Hash)
|
|
985
|
+
# * +:vpn_connection_id+ - (String)
|
|
986
|
+
# * +:state+ - (String)
|
|
987
|
+
# * +:customer_gateway_configuration+ - (String)
|
|
988
|
+
# * +:type+ - (String)
|
|
989
|
+
# * +:customer_gateway_id+ - (String)
|
|
990
|
+
# * +:vpn_gateway_id+ - (String)
|
|
991
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
992
|
+
# * +:key+ - (String)
|
|
993
|
+
# * +:value+ - (String)
|
|
994
|
+
# * +:vgw_telemetry+ - (Array<Hash>)
|
|
995
|
+
# * +:outside_ip_address+ - (String)
|
|
996
|
+
# * +:status+ - (String)
|
|
997
|
+
# * +:last_status_change+ - (Time)
|
|
998
|
+
# * +:status_message+ - (String)
|
|
999
|
+
# * +:accepted_route_count+ - (Integer)
|
|
1000
|
+
#
|
|
1001
|
+
# @return [Core::Response]
|
|
1002
|
+
#
|
|
1003
|
+
define_client_method :create_vpn_connection, 'CreateVpnConnection'
|
|
1004
|
+
|
|
1005
|
+
# Calls the CreateVpnGateway API operation.
|
|
1006
|
+
# @method create_vpn_gateway(options = {})
|
|
1007
|
+
#
|
|
1008
|
+
# === Options:
|
|
1009
|
+
#
|
|
1010
|
+
# * +:type+ - *required* - (String) The type of VPN connection this VPN
|
|
1011
|
+
# gateway supports.
|
|
1012
|
+
# * +:availability_zone+ - (String) The Availability Zone in which to
|
|
1013
|
+
# create the VPN gateway.
|
|
1014
|
+
#
|
|
1015
|
+
# === Response Structure:
|
|
1016
|
+
#
|
|
1017
|
+
# * +:vpn_gateway+ - (Hash)
|
|
1018
|
+
# * +:vpn_gateway_id+ - (String)
|
|
1019
|
+
# * +:state+ - (String)
|
|
1020
|
+
# * +:vpn_type+ - (String)
|
|
1021
|
+
# * +:availability_zone+ - (String)
|
|
1022
|
+
# * +:attachments+ - (Array<Hash>)
|
|
1023
|
+
# * +:vpc_id+ - (String)
|
|
1024
|
+
# * +:state+ - (String)
|
|
1025
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
1026
|
+
# * +:key+ - (String)
|
|
1027
|
+
# * +:value+ - (String)
|
|
1028
|
+
#
|
|
1029
|
+
# @return [Core::Response]
|
|
1030
|
+
#
|
|
1031
|
+
define_client_method :create_vpn_gateway, 'CreateVpnGateway'
|
|
1032
|
+
|
|
1033
|
+
# Calls the DeactivateLicense API operation.
|
|
1034
|
+
# @method deactivate_license(options = {})
|
|
1035
|
+
#
|
|
1036
|
+
# === Options:
|
|
1037
|
+
#
|
|
1038
|
+
# * +:license_id+ - *required* - (String) Specifies the ID for the
|
|
1039
|
+
# specific license to deactivate against.
|
|
1040
|
+
# * +:capacity+ - *required* - (Integer) Specifies the amount of capacity
|
|
1041
|
+
# to deactivate against the license.
|
|
1042
|
+
#
|
|
1043
|
+
# === Response Structure:
|
|
1044
|
+
#
|
|
1045
|
+
# This method returns no response data.
|
|
1046
|
+
#
|
|
1047
|
+
# @return [Core::Response]
|
|
1048
|
+
#
|
|
1049
|
+
define_client_method :deactivate_license, 'DeactivateLicense'
|
|
1050
|
+
|
|
1051
|
+
# Calls the DeleteCustomerGateway API operation.
|
|
1052
|
+
# @method delete_customer_gateway(options = {})
|
|
1053
|
+
#
|
|
1054
|
+
# === Options:
|
|
1055
|
+
#
|
|
1056
|
+
# * +:customer_gateway_id+ - *required* - (String) The ID of the customer
|
|
1057
|
+
# gateway to delete.
|
|
1058
|
+
#
|
|
1059
|
+
# === Response Structure:
|
|
1060
|
+
#
|
|
1061
|
+
# This method returns no response data.
|
|
1062
|
+
#
|
|
1063
|
+
# @return [Core::Response]
|
|
1064
|
+
#
|
|
1065
|
+
define_client_method :delete_customer_gateway, 'DeleteCustomerGateway'
|
|
1066
|
+
|
|
1067
|
+
# Calls the DeleteDhcpOptions API operation.
|
|
1068
|
+
# @method delete_dhcp_options(options = {})
|
|
1069
|
+
#
|
|
1070
|
+
# === Options:
|
|
1071
|
+
#
|
|
1072
|
+
# * +:dhcp_options_id+ - *required* - (String) The ID of the DHCP options
|
|
1073
|
+
# set to delete.
|
|
1074
|
+
#
|
|
1075
|
+
# === Response Structure:
|
|
1076
|
+
#
|
|
1077
|
+
# This method returns no response data.
|
|
1078
|
+
#
|
|
1079
|
+
# @return [Core::Response]
|
|
1080
|
+
#
|
|
1081
|
+
define_client_method :delete_dhcp_options, 'DeleteDhcpOptions'
|
|
1082
|
+
|
|
1083
|
+
# Calls the DeleteInternetGateway API operation.
|
|
1084
|
+
# @method delete_internet_gateway(options = {})
|
|
1085
|
+
#
|
|
1086
|
+
# === Options:
|
|
1087
|
+
#
|
|
1088
|
+
# * +:internet_gateway_id+ - *required* - (String) The ID of the Internet
|
|
1089
|
+
# gateway to be deleted.
|
|
1090
|
+
#
|
|
1091
|
+
# === Response Structure:
|
|
1092
|
+
#
|
|
1093
|
+
# This method returns no response data.
|
|
1094
|
+
#
|
|
1095
|
+
# @return [Core::Response]
|
|
1096
|
+
#
|
|
1097
|
+
define_client_method :delete_internet_gateway, 'DeleteInternetGateway'
|
|
1098
|
+
|
|
1099
|
+
# Calls the DeleteKeyPair API operation.
|
|
1100
|
+
# @method delete_key_pair(options = {})
|
|
1101
|
+
#
|
|
1102
|
+
# === Options:
|
|
1103
|
+
#
|
|
1104
|
+
# * +:key_name+ - *required* - (String) The name of the Amazon EC2 key
|
|
1105
|
+
# pair to delete.
|
|
1106
|
+
#
|
|
1107
|
+
# === Response Structure:
|
|
1108
|
+
#
|
|
1109
|
+
# This method returns no response data.
|
|
1110
|
+
#
|
|
1111
|
+
# @return [Core::Response]
|
|
1112
|
+
#
|
|
1113
|
+
define_client_method :delete_key_pair, 'DeleteKeyPair'
|
|
1114
|
+
|
|
1115
|
+
# Calls the DeleteNetworkAcl API operation.
|
|
1116
|
+
# @method delete_network_acl(options = {})
|
|
1117
|
+
#
|
|
1118
|
+
# === Options:
|
|
1119
|
+
#
|
|
1120
|
+
# * +:network_acl_id+ - *required* - (String) The ID of the network ACL
|
|
1121
|
+
# to be deleted.
|
|
1122
|
+
#
|
|
1123
|
+
# === Response Structure:
|
|
1124
|
+
#
|
|
1125
|
+
# This method returns no response data.
|
|
1126
|
+
#
|
|
1127
|
+
# @return [Core::Response]
|
|
1128
|
+
#
|
|
1129
|
+
define_client_method :delete_network_acl, 'DeleteNetworkAcl'
|
|
1130
|
+
|
|
1131
|
+
# Calls the DeleteNetworkAclEntry API operation.
|
|
1132
|
+
# @method delete_network_acl_entry(options = {})
|
|
1133
|
+
#
|
|
1134
|
+
# === Options:
|
|
1135
|
+
#
|
|
1136
|
+
# * +:network_acl_id+ - *required* - (String) ID of the network ACL.
|
|
1137
|
+
# * +:rule_number+ - *required* - (Integer) Rule number for the entry to
|
|
1138
|
+
# delete.
|
|
1139
|
+
# * +:egress+ - *required* - (Boolean) Whether the rule to delete is an
|
|
1140
|
+
# egress rule ( +true+ ) or ingress rule ( +false+ ).
|
|
1141
|
+
#
|
|
1142
|
+
# === Response Structure:
|
|
1143
|
+
#
|
|
1144
|
+
# This method returns no response data.
|
|
1145
|
+
#
|
|
1146
|
+
# @return [Core::Response]
|
|
1147
|
+
#
|
|
1148
|
+
define_client_method :delete_network_acl_entry, 'DeleteNetworkAclEntry'
|
|
1149
|
+
|
|
1150
|
+
# Calls the DeleteNetworkInterface API operation.
|
|
1151
|
+
# @method delete_network_interface(options = {})
|
|
1152
|
+
#
|
|
1153
|
+
# === Options:
|
|
1154
|
+
#
|
|
1155
|
+
# * +:network_interface_id+ - *required* - (String)
|
|
1156
|
+
#
|
|
1157
|
+
# === Response Structure:
|
|
1158
|
+
#
|
|
1159
|
+
# This method returns no response data.
|
|
1160
|
+
#
|
|
1161
|
+
# @return [Core::Response]
|
|
1162
|
+
#
|
|
1163
|
+
define_client_method :delete_network_interface, 'DeleteNetworkInterface'
|
|
1164
|
+
|
|
1165
|
+
# Calls the DeletePlacementGroup API operation.
|
|
1166
|
+
# @method delete_placement_group(options = {})
|
|
1167
|
+
#
|
|
1168
|
+
# === Options:
|
|
1169
|
+
#
|
|
1170
|
+
# * +:group_name+ - *required* - (String) The name of the PlacementGroup
|
|
1171
|
+
# to delete.
|
|
1172
|
+
#
|
|
1173
|
+
# === Response Structure:
|
|
1174
|
+
#
|
|
1175
|
+
# This method returns no response data.
|
|
1176
|
+
#
|
|
1177
|
+
# @return [Core::Response]
|
|
1178
|
+
#
|
|
1179
|
+
define_client_method :delete_placement_group, 'DeletePlacementGroup'
|
|
1180
|
+
|
|
1181
|
+
# Calls the DeleteRoute API operation.
|
|
1182
|
+
# @method delete_route(options = {})
|
|
1183
|
+
#
|
|
1184
|
+
# === Options:
|
|
1185
|
+
#
|
|
1186
|
+
# * +:route_table_id+ - *required* - (String) The ID of the route table
|
|
1187
|
+
# where the route will be deleted.
|
|
1188
|
+
# * +:destination_cidr_block+ - *required* - (String) The CIDR range for
|
|
1189
|
+
# the route you want to delete. The value you specify must exactly
|
|
1190
|
+
# match the CIDR for the route you want to delete.
|
|
1191
|
+
#
|
|
1192
|
+
# === Response Structure:
|
|
1193
|
+
#
|
|
1194
|
+
# This method returns no response data.
|
|
1195
|
+
#
|
|
1196
|
+
# @return [Core::Response]
|
|
1197
|
+
#
|
|
1198
|
+
define_client_method :delete_route, 'DeleteRoute'
|
|
1199
|
+
|
|
1200
|
+
# Calls the DeleteRouteTable API operation.
|
|
1201
|
+
# @method delete_route_table(options = {})
|
|
1202
|
+
#
|
|
1203
|
+
# === Options:
|
|
1204
|
+
#
|
|
1205
|
+
# * +:route_table_id+ - *required* - (String) The ID of the route table
|
|
1206
|
+
# to be deleted.
|
|
1207
|
+
#
|
|
1208
|
+
# === Response Structure:
|
|
1209
|
+
#
|
|
1210
|
+
# This method returns no response data.
|
|
1211
|
+
#
|
|
1212
|
+
# @return [Core::Response]
|
|
1213
|
+
#
|
|
1214
|
+
define_client_method :delete_route_table, 'DeleteRouteTable'
|
|
1215
|
+
|
|
1216
|
+
# Calls the DeleteSecurityGroup API operation.
|
|
1217
|
+
# @method delete_security_group(options = {})
|
|
1218
|
+
#
|
|
1219
|
+
# === Options:
|
|
1220
|
+
#
|
|
1221
|
+
# * +:group_name+ - (String) The name of the Amazon EC2 security group to
|
|
1222
|
+
# delete.
|
|
1223
|
+
# * +:group_id+ - (String) The ID of the Amazon EC2 security group to
|
|
1224
|
+
# delete.
|
|
1225
|
+
#
|
|
1226
|
+
# === Response Structure:
|
|
1227
|
+
#
|
|
1228
|
+
# This method returns no response data.
|
|
1229
|
+
#
|
|
1230
|
+
# @return [Core::Response]
|
|
1231
|
+
#
|
|
1232
|
+
define_client_method :delete_security_group, 'DeleteSecurityGroup'
|
|
1233
|
+
|
|
1234
|
+
# Calls the DeleteSnapshot API operation.
|
|
1235
|
+
# @method delete_snapshot(options = {})
|
|
1236
|
+
#
|
|
1237
|
+
# === Options:
|
|
1238
|
+
#
|
|
1239
|
+
# * +:snapshot_id+ - *required* - (String) The ID of the snapshot to
|
|
1240
|
+
# delete.
|
|
1241
|
+
#
|
|
1242
|
+
# === Response Structure:
|
|
1243
|
+
#
|
|
1244
|
+
# This method returns no response data.
|
|
1245
|
+
#
|
|
1246
|
+
# @return [Core::Response]
|
|
1247
|
+
#
|
|
1248
|
+
define_client_method :delete_snapshot, 'DeleteSnapshot'
|
|
1249
|
+
|
|
1250
|
+
# Calls the DeleteSpotDatafeedSubscription API operation.
|
|
1251
|
+
# @method delete_spot_datafeed_subscription(options = {})
|
|
1252
|
+
#
|
|
1253
|
+
# === Options:
|
|
1254
|
+
#
|
|
1255
|
+
# This method accepts no options.
|
|
1256
|
+
#
|
|
1257
|
+
# === Response Structure:
|
|
1258
|
+
#
|
|
1259
|
+
# This method returns no response data.
|
|
1260
|
+
#
|
|
1261
|
+
# @return [Core::Response]
|
|
1262
|
+
#
|
|
1263
|
+
define_client_method :delete_spot_datafeed_subscription, 'DeleteSpotDatafeedSubscription'
|
|
1264
|
+
|
|
1265
|
+
# Calls the DeleteSubnet API operation.
|
|
1266
|
+
# @method delete_subnet(options = {})
|
|
1267
|
+
#
|
|
1268
|
+
# === Options:
|
|
1269
|
+
#
|
|
1270
|
+
# * +:subnet_id+ - *required* - (String) The ID of the subnet you want to
|
|
1271
|
+
# delete.
|
|
1272
|
+
#
|
|
1273
|
+
# === Response Structure:
|
|
1274
|
+
#
|
|
1275
|
+
# This method returns no response data.
|
|
1276
|
+
#
|
|
1277
|
+
# @return [Core::Response]
|
|
1278
|
+
#
|
|
1279
|
+
define_client_method :delete_subnet, 'DeleteSubnet'
|
|
1280
|
+
|
|
1281
|
+
# Calls the DeleteTags API operation.
|
|
1282
|
+
# @method delete_tags(options = {})
|
|
1283
|
+
#
|
|
1284
|
+
# === Options:
|
|
1285
|
+
#
|
|
1286
|
+
# * +:resources+ - *required* - (Array<String>) A list of one or more
|
|
1287
|
+
# resource IDs. This could be the ID of an AMI, an instance, an EBS
|
|
1288
|
+
# volume, or snapshot, etc.
|
|
1289
|
+
# * +:tags+ - (Array<Hash>) The tags to delete from the specified
|
|
1290
|
+
# resources. Each tag item consists of a key-value pair. If a tag is
|
|
1291
|
+
# specified without a value, the tag and all of its values are deleted.
|
|
1292
|
+
# * +:key+ - (String) The tag's key.
|
|
1293
|
+
# * +:value+ - (String) The tag's value.
|
|
1294
|
+
#
|
|
1295
|
+
# === Response Structure:
|
|
1296
|
+
#
|
|
1297
|
+
# This method returns no response data.
|
|
1298
|
+
#
|
|
1299
|
+
# @return [Core::Response]
|
|
1300
|
+
#
|
|
1301
|
+
define_client_method :delete_tags, 'DeleteTags'
|
|
1302
|
+
|
|
1303
|
+
# Calls the DeleteVolume API operation.
|
|
1304
|
+
# @method delete_volume(options = {})
|
|
1305
|
+
#
|
|
1306
|
+
# === Options:
|
|
1307
|
+
#
|
|
1308
|
+
# * +:volume_id+ - *required* - (String) The ID of the EBS volume to
|
|
1309
|
+
# delete.
|
|
1310
|
+
#
|
|
1311
|
+
# === Response Structure:
|
|
1312
|
+
#
|
|
1313
|
+
# This method returns no response data.
|
|
1314
|
+
#
|
|
1315
|
+
# @return [Core::Response]
|
|
1316
|
+
#
|
|
1317
|
+
define_client_method :delete_volume, 'DeleteVolume'
|
|
1318
|
+
|
|
1319
|
+
# Calls the DeleteVpc API operation.
|
|
1320
|
+
# @method delete_vpc(options = {})
|
|
1321
|
+
#
|
|
1322
|
+
# === Options:
|
|
1323
|
+
#
|
|
1324
|
+
# * +:vpc_id+ - *required* - (String) The ID of the VPC you want to
|
|
1325
|
+
# delete.
|
|
1326
|
+
#
|
|
1327
|
+
# === Response Structure:
|
|
1328
|
+
#
|
|
1329
|
+
# This method returns no response data.
|
|
1330
|
+
#
|
|
1331
|
+
# @return [Core::Response]
|
|
1332
|
+
#
|
|
1333
|
+
define_client_method :delete_vpc, 'DeleteVpc'
|
|
1334
|
+
|
|
1335
|
+
# Calls the DeleteVpnConnection API operation.
|
|
1336
|
+
# @method delete_vpn_connection(options = {})
|
|
1337
|
+
#
|
|
1338
|
+
# === Options:
|
|
1339
|
+
#
|
|
1340
|
+
# * +:vpn_connection_id+ - *required* - (String) The ID of the VPN
|
|
1341
|
+
# connection to delete
|
|
1342
|
+
#
|
|
1343
|
+
# === Response Structure:
|
|
1344
|
+
#
|
|
1345
|
+
# This method returns no response data.
|
|
1346
|
+
#
|
|
1347
|
+
# @return [Core::Response]
|
|
1348
|
+
#
|
|
1349
|
+
define_client_method :delete_vpn_connection, 'DeleteVpnConnection'
|
|
1350
|
+
|
|
1351
|
+
# Calls the DeleteVpnGateway API operation.
|
|
1352
|
+
# @method delete_vpn_gateway(options = {})
|
|
1353
|
+
#
|
|
1354
|
+
# === Options:
|
|
1355
|
+
#
|
|
1356
|
+
# * +:vpn_gateway_id+ - *required* - (String) The ID of the VPN gateway
|
|
1357
|
+
# to delete.
|
|
1358
|
+
#
|
|
1359
|
+
# === Response Structure:
|
|
1360
|
+
#
|
|
1361
|
+
# This method returns no response data.
|
|
1362
|
+
#
|
|
1363
|
+
# @return [Core::Response]
|
|
1364
|
+
#
|
|
1365
|
+
define_client_method :delete_vpn_gateway, 'DeleteVpnGateway'
|
|
1366
|
+
|
|
1367
|
+
# Calls the DeregisterImage API operation.
|
|
1368
|
+
# @method deregister_image(options = {})
|
|
1369
|
+
#
|
|
1370
|
+
# === Options:
|
|
1371
|
+
#
|
|
1372
|
+
# * +:image_id+ - *required* - (String) The ID of the AMI to deregister.
|
|
1373
|
+
#
|
|
1374
|
+
# === Response Structure:
|
|
1375
|
+
#
|
|
1376
|
+
# This method returns no response data.
|
|
1377
|
+
#
|
|
1378
|
+
# @return [Core::Response]
|
|
1379
|
+
#
|
|
1380
|
+
define_client_method :deregister_image, 'DeregisterImage'
|
|
1381
|
+
|
|
1382
|
+
# Calls the DescribeAddresses API operation.
|
|
1383
|
+
# @method describe_addresses(options = {})
|
|
1384
|
+
#
|
|
1385
|
+
# === Options:
|
|
1386
|
+
#
|
|
1387
|
+
# * +:public_ips+ - (Array<String>) The optional list of Elastic IP
|
|
1388
|
+
# addresses to describe.
|
|
1389
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
1390
|
+
# for Addresses. For a complete reference to the available filter keys
|
|
1391
|
+
# for this operation, see the Amazon EC2 API reference.
|
|
1392
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
1393
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
1394
|
+
# filter.
|
|
1395
|
+
# * +:allocation_ids+ - (Array<String>)
|
|
1396
|
+
#
|
|
1397
|
+
# === Response Structure:
|
|
1398
|
+
#
|
|
1399
|
+
# * +:addresses_set+ - (Array<Hash>)
|
|
1400
|
+
# * +:instance_id+ - (String)
|
|
1401
|
+
# * +:public_ip+ - (String)
|
|
1402
|
+
# * +:allocation_id+ - (String)
|
|
1403
|
+
# * +:association_id+ - (String)
|
|
1404
|
+
# * +:domain+ - (String)
|
|
1405
|
+
# * +:network_interface_id+ - (String)
|
|
1406
|
+
# * +:network_interface_owner_id+ - (String)
|
|
1407
|
+
#
|
|
1408
|
+
# @return [Core::Response]
|
|
1409
|
+
#
|
|
1410
|
+
define_client_method :describe_addresses, 'DescribeAddresses'
|
|
1411
|
+
|
|
1412
|
+
# Calls the DescribeAvailabilityZones API operation.
|
|
1413
|
+
# @method describe_availability_zones(options = {})
|
|
1414
|
+
#
|
|
1415
|
+
# === Options:
|
|
1416
|
+
#
|
|
1417
|
+
# * +:zone_names+ - (Array<String>) A list of the availability zone names
|
|
1418
|
+
# to describe.
|
|
1419
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
1420
|
+
# for AvailabilityZones. For a complete reference to the available
|
|
1421
|
+
# filter keys for this operation, see the Amazon EC2 API reference.
|
|
1422
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
1423
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
1424
|
+
# filter.
|
|
1425
|
+
#
|
|
1426
|
+
# === Response Structure:
|
|
1427
|
+
#
|
|
1428
|
+
# * +:availability_zone_info+ - (Array<Hash>)
|
|
1429
|
+
# * +:zone_name+ - (String)
|
|
1430
|
+
# * +:zone_state+ - (String)
|
|
1431
|
+
# * +:region_name+ - (String)
|
|
1432
|
+
# * +:message_set+ - (Array<Hash>)
|
|
1433
|
+
# * +:message+ - (String)
|
|
1434
|
+
#
|
|
1435
|
+
# @return [Core::Response]
|
|
1436
|
+
#
|
|
1437
|
+
define_client_method :describe_availability_zones, 'DescribeAvailabilityZones'
|
|
1438
|
+
|
|
1439
|
+
# Calls the DescribeBundleTasks API operation.
|
|
1440
|
+
# @method describe_bundle_tasks(options = {})
|
|
1441
|
+
#
|
|
1442
|
+
# === Options:
|
|
1443
|
+
#
|
|
1444
|
+
# * +:bundle_ids+ - (Array<String>) The list of bundle task IDs to
|
|
1445
|
+
# describe.
|
|
1446
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
1447
|
+
# for BundleTasks. For a complete reference to the available filter
|
|
1448
|
+
# keys for this operation, see the Amazon EC2 API reference.
|
|
1449
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
1450
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
1451
|
+
# filter.
|
|
1452
|
+
#
|
|
1453
|
+
# === Response Structure:
|
|
1454
|
+
#
|
|
1455
|
+
# * +:bundle_instance_tasks_set+ - (Array<Hash>)
|
|
1456
|
+
# * +:instance_id+ - (String)
|
|
1457
|
+
# * +:bundle_id+ - (String)
|
|
1458
|
+
# * +:state+ - (String)
|
|
1459
|
+
# * +:start_time+ - (Time)
|
|
1460
|
+
# * +:update_time+ - (Time)
|
|
1461
|
+
# * +:storage+ - (Hash)
|
|
1462
|
+
# * +:s3+ - (Hash)
|
|
1463
|
+
# * +:bucket+ - (String)
|
|
1464
|
+
# * +:prefix+ - (String)
|
|
1465
|
+
# * +:aws_access_key_id+ - (String)
|
|
1466
|
+
# * +:upload_policy+ - (String)
|
|
1467
|
+
# * +:upload_policy_signature+ - (String)
|
|
1468
|
+
# * +:progress+ - (String)
|
|
1469
|
+
# * +:error+ - (Hash)
|
|
1470
|
+
# * +:code+ - (String)
|
|
1471
|
+
# * +:message+ - (String)
|
|
1472
|
+
#
|
|
1473
|
+
# @return [Core::Response]
|
|
1474
|
+
#
|
|
1475
|
+
define_client_method :describe_bundle_tasks, 'DescribeBundleTasks'
|
|
1476
|
+
|
|
1477
|
+
# Calls the DescribeConversionTasks API operation.
|
|
1478
|
+
# @method describe_conversion_tasks(options = {})
|
|
1479
|
+
#
|
|
1480
|
+
# === Options:
|
|
1481
|
+
#
|
|
1482
|
+
# * +:filters+ - (Array<Hash>)
|
|
1483
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
1484
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
1485
|
+
# filter.
|
|
1486
|
+
# * +:conversion_task_ids+ - (Array<String>)
|
|
1487
|
+
#
|
|
1488
|
+
# === Response Structure:
|
|
1489
|
+
#
|
|
1490
|
+
# * +:conversion_tasks+ - (Array<Hash>)
|
|
1491
|
+
# * +:conversion_task_id+ - (String)
|
|
1492
|
+
# * +:expiration_time+ - (String)
|
|
1493
|
+
# * +:import_instance+ - (Hash)
|
|
1494
|
+
# * +:volumes+ - (Array<Hash>)
|
|
1495
|
+
# * +:bytes_converted+ - (Integer)
|
|
1496
|
+
# * +:availability_zone+ - (String)
|
|
1497
|
+
# * +:image+ - (Hash)
|
|
1498
|
+
# * +:format+ - (String)
|
|
1499
|
+
# * +:size+ - (Integer)
|
|
1500
|
+
# * +:import_manifest_url+ - (String)
|
|
1501
|
+
# * +:checksum+ - (String)
|
|
1502
|
+
# * +:volume+ - (Hash)
|
|
1503
|
+
# * +:size+ - (Integer)
|
|
1504
|
+
# * +:id+ - (String)
|
|
1505
|
+
# * +:status+ - (String)
|
|
1506
|
+
# * +:status_message+ - (String)
|
|
1507
|
+
# * +:description+ - (String)
|
|
1508
|
+
# * +:instance_id+ - (String)
|
|
1509
|
+
# * +:platform+ - (String)
|
|
1510
|
+
# * +:description+ - (String)
|
|
1511
|
+
# * +:import_volume+ - (Hash)
|
|
1512
|
+
# * +:bytes_converted+ - (Integer)
|
|
1513
|
+
# * +:availability_zone+ - (String)
|
|
1514
|
+
# * +:description+ - (String)
|
|
1515
|
+
# * +:image+ - (Hash)
|
|
1516
|
+
# * +:format+ - (String)
|
|
1517
|
+
# * +:size+ - (Integer)
|
|
1518
|
+
# * +:import_manifest_url+ - (String)
|
|
1519
|
+
# * +:checksum+ - (String)
|
|
1520
|
+
# * +:volume+ - (Hash)
|
|
1521
|
+
# * +:size+ - (Integer)
|
|
1522
|
+
# * +:id+ - (String)
|
|
1523
|
+
# * +:state+ - (String)
|
|
1524
|
+
# * +:status_message+ - (String)
|
|
1525
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
1526
|
+
# * +:key+ - (String)
|
|
1527
|
+
# * +:value+ - (String)
|
|
1528
|
+
#
|
|
1529
|
+
# @return [Core::Response]
|
|
1530
|
+
#
|
|
1531
|
+
define_client_method :describe_conversion_tasks, 'DescribeConversionTasks'
|
|
1532
|
+
|
|
1533
|
+
# Calls the DescribeCustomerGateways API operation.
|
|
1534
|
+
# @method describe_customer_gateways(options = {})
|
|
1535
|
+
#
|
|
1536
|
+
# === Options:
|
|
1537
|
+
#
|
|
1538
|
+
# * +:customer_gateway_ids+ - (Array<String>) A set of one or more
|
|
1539
|
+
# customer gateway IDs.
|
|
1540
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
1541
|
+
# for Customer Gateways. For a complete reference to the available
|
|
1542
|
+
# filter keys for this operation, see the Amazon EC2 API reference.
|
|
1543
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
1544
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
1545
|
+
# filter.
|
|
1546
|
+
#
|
|
1547
|
+
# === Response Structure:
|
|
1548
|
+
#
|
|
1549
|
+
# * +:customer_gateway_set+ - (Array<Hash>)
|
|
1550
|
+
# * +:customer_gateway_id+ - (String)
|
|
1551
|
+
# * +:state+ - (String)
|
|
1552
|
+
# * +:vpn_type+ - (String)
|
|
1553
|
+
# * +:ip_address+ - (String)
|
|
1554
|
+
# * +:bgp_asn+ - (String)
|
|
1555
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
1556
|
+
# * +:key+ - (String)
|
|
1557
|
+
# * +:value+ - (String)
|
|
1558
|
+
#
|
|
1559
|
+
# @return [Core::Response]
|
|
1560
|
+
#
|
|
1561
|
+
define_client_method :describe_customer_gateways, 'DescribeCustomerGateways'
|
|
1562
|
+
|
|
1563
|
+
# Calls the DescribeDhcpOptions API operation.
|
|
1564
|
+
# @method describe_dhcp_options(options = {})
|
|
1565
|
+
#
|
|
1566
|
+
# === Options:
|
|
1567
|
+
#
|
|
1568
|
+
# * +:dhcp_options_ids+ - (Array<String>)
|
|
1569
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
1570
|
+
# for DhcpOptions. For a complete reference to the available filter
|
|
1571
|
+
# keys for this operation, see the Amazon EC2 API reference.
|
|
1572
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
1573
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
1574
|
+
# filter.
|
|
1575
|
+
#
|
|
1576
|
+
# === Response Structure:
|
|
1577
|
+
#
|
|
1578
|
+
# * +:dhcp_options_set+ - (Array<Hash>)
|
|
1579
|
+
# * +:dhcp_options_id+ - (String)
|
|
1580
|
+
# * +:dhcp_configuration_set+ - (Array<Hash>)
|
|
1581
|
+
# * +:key+ - (String)
|
|
1582
|
+
# * +:value_set+ - (Array<String>)
|
|
1583
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
1584
|
+
# * +:key+ - (String)
|
|
1585
|
+
# * +:value+ - (String)
|
|
1586
|
+
#
|
|
1587
|
+
# @return [Core::Response]
|
|
1588
|
+
#
|
|
1589
|
+
define_client_method :describe_dhcp_options, 'DescribeDhcpOptions'
|
|
1590
|
+
|
|
1591
|
+
# Calls the DescribeImageAttribute API operation.
|
|
1592
|
+
# @method describe_image_attribute(options = {})
|
|
1593
|
+
#
|
|
1594
|
+
# === Options:
|
|
1595
|
+
#
|
|
1596
|
+
# * +:image_id+ - *required* - (String) The ID of the AMI whose attribute
|
|
1597
|
+
# is to be described.
|
|
1598
|
+
# * +:attribute+ - *required* - (String) The name of the attribute to
|
|
1599
|
+
# describe. Available attribute names: productCodes, kernel, ramdisk,
|
|
1600
|
+
# launchPermisson, blockDeviceMapping
|
|
1601
|
+
#
|
|
1602
|
+
# === Response Structure:
|
|
1603
|
+
#
|
|
1604
|
+
# * +:image_id+ - (String)
|
|
1605
|
+
# * +:launch_permission+ - (Array<Hash>)
|
|
1606
|
+
# * +:user_id+ - (String)
|
|
1607
|
+
# * +:group+ - (String)
|
|
1608
|
+
# * +:product_codes+ - (Array<Hash>)
|
|
1609
|
+
# * +:product_code+ - (String)
|
|
1610
|
+
# * +:type+ - (String)
|
|
1611
|
+
# * +:kernel+ - (Hash)
|
|
1612
|
+
# * +:value+ - (String)
|
|
1613
|
+
# * +:ramdisk+ - (Hash)
|
|
1614
|
+
# * +:value+ - (String)
|
|
1615
|
+
# * +:description+ - (Hash)
|
|
1616
|
+
# * +:value+ - (String)
|
|
1617
|
+
# * +:block_device_mapping+ - (Array<Hash>)
|
|
1618
|
+
# * +:virtual_name+ - (String)
|
|
1619
|
+
# * +:device_name+ - (String)
|
|
1620
|
+
# * +:ebs+ - (Hash)
|
|
1621
|
+
# * +:snapshot_id+ - (String)
|
|
1622
|
+
# * +:volume_size+ - (Integer)
|
|
1623
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
1624
|
+
# * +:no_device+ - (String)
|
|
1625
|
+
#
|
|
1626
|
+
# @return [Core::Response]
|
|
1627
|
+
#
|
|
1628
|
+
define_client_method :describe_image_attribute, 'DescribeImageAttribute'
|
|
1629
|
+
|
|
1630
|
+
# Calls the DescribeImages API operation.
|
|
1631
|
+
# @method describe_images(options = {})
|
|
1632
|
+
#
|
|
1633
|
+
# === Options:
|
|
1634
|
+
#
|
|
1635
|
+
# * +:image_ids+ - (Array<String>) An optional list of the AMI IDs to
|
|
1636
|
+
# describe. If not specified, all AMIs will be described.
|
|
1637
|
+
# * +:owners+ - (Array<String>) The optional list of owners for the
|
|
1638
|
+
# described AMIs. The IDs amazon, self, and explicit can be used to
|
|
1639
|
+
# include AMIs owned by Amazon, AMIs owned by the user, and AMIs for
|
|
1640
|
+
# which the user has explicit launch permissions, respectively.
|
|
1641
|
+
# * +:executable_users+ - (Array<String>) The optional list of users with
|
|
1642
|
+
# explicit launch permissions for the described AMIs. The user ID can
|
|
1643
|
+
# be a user's account ID, 'self' to return AMIs for which the sender of
|
|
1644
|
+
# the request has explicit launch permissions, or 'all' to return AMIs
|
|
1645
|
+
# with public launch permissions.
|
|
1646
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
1647
|
+
# for Images. For a complete reference to the available filter keys for
|
|
1648
|
+
# this operation, see the Amazon EC2 API reference.
|
|
1649
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
1650
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
1651
|
+
# filter.
|
|
1652
|
+
#
|
|
1653
|
+
# === Response Structure:
|
|
1654
|
+
#
|
|
1655
|
+
# * +:images_set+ - (Array<Hash>)
|
|
1656
|
+
# * +:image_id+ - (String)
|
|
1657
|
+
# * +:image_location+ - (String)
|
|
1658
|
+
# * +:image_state+ - (String)
|
|
1659
|
+
# * +:image_owner_id+ - (String)
|
|
1660
|
+
# * +:is_public+ - (Boolean)
|
|
1661
|
+
# * +:product_codes+ - (Array<Hash>)
|
|
1662
|
+
# * +:product_code+ - (String)
|
|
1663
|
+
# * +:type+ - (String)
|
|
1664
|
+
# * +:architecture+ - (String)
|
|
1665
|
+
# * +:image_type+ - (String)
|
|
1666
|
+
# * +:kernel_id+ - (String)
|
|
1667
|
+
# * +:ramdisk_id+ - (String)
|
|
1668
|
+
# * +:platform+ - (String)
|
|
1669
|
+
# * +:state_reason+ - (Hash)
|
|
1670
|
+
# * +:code+ - (String)
|
|
1671
|
+
# * +:message+ - (String)
|
|
1672
|
+
# * +:image_owner_alias+ - (String)
|
|
1673
|
+
# * +:name+ - (String)
|
|
1674
|
+
# * +:description+ - (String)
|
|
1675
|
+
# * +:root_device_type+ - (String)
|
|
1676
|
+
# * +:root_device_name+ - (String)
|
|
1677
|
+
# * +:block_device_mapping+ - (Array<Hash>)
|
|
1678
|
+
# * +:virtual_name+ - (String)
|
|
1679
|
+
# * +:device_name+ - (String)
|
|
1680
|
+
# * +:ebs+ - (Hash)
|
|
1681
|
+
# * +:snapshot_id+ - (String)
|
|
1682
|
+
# * +:volume_size+ - (Integer)
|
|
1683
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
1684
|
+
# * +:no_device+ - (String)
|
|
1685
|
+
# * +:virtualization_type+ - (String)
|
|
1686
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
1687
|
+
# * +:key+ - (String)
|
|
1688
|
+
# * +:value+ - (String)
|
|
1689
|
+
# * +:hypervisor+ - (String)
|
|
1690
|
+
#
|
|
1691
|
+
# @return [Core::Response]
|
|
1692
|
+
#
|
|
1693
|
+
define_client_method :describe_images, 'DescribeImages'
|
|
1694
|
+
|
|
1695
|
+
# Calls the DescribeInstanceAttribute API operation.
|
|
1696
|
+
# @method describe_instance_attribute(options = {})
|
|
1697
|
+
#
|
|
1698
|
+
# === Options:
|
|
1699
|
+
#
|
|
1700
|
+
# * +:instance_id+ - *required* - (String) The ID of the instance whose
|
|
1701
|
+
# instance attribute is being described.
|
|
1702
|
+
# * +:attribute+ - *required* - (String) The name of the attribute to
|
|
1703
|
+
# describe. Available attribute names: instanceType, kernel, ramdisk,
|
|
1704
|
+
# userData, disableApiTermination, instanceInitiatedShutdownBehavior,
|
|
1705
|
+
# rootDeviceName, blockDeviceMapping
|
|
1706
|
+
#
|
|
1707
|
+
# === Response Structure:
|
|
1708
|
+
#
|
|
1709
|
+
# * +:instance_id+ - (String)
|
|
1710
|
+
# * +:instance_type+ - (Hash)
|
|
1711
|
+
# * +:value+ - (String)
|
|
1712
|
+
# * +:kernel+ - (Hash)
|
|
1713
|
+
# * +:value+ - (String)
|
|
1714
|
+
# * +:ramdisk+ - (Hash)
|
|
1715
|
+
# * +:value+ - (String)
|
|
1716
|
+
# * +:user_data+ - (Hash)
|
|
1717
|
+
# * +:value+ - (String)
|
|
1718
|
+
# * +:disable_api_termination+ - (Hash)
|
|
1719
|
+
# * +:value+ - (Boolean)
|
|
1720
|
+
# * +:instance_initiated_shutdown_behavior+ - (Hash)
|
|
1721
|
+
# * +:value+ - (String)
|
|
1722
|
+
# * +:root_device_name+ - (Hash)
|
|
1723
|
+
# * +:value+ - (String)
|
|
1724
|
+
# * +:block_device_mapping+ - (Array<Hash>)
|
|
1725
|
+
# * +:device_name+ - (String)
|
|
1726
|
+
# * +:ebs+ - (Hash)
|
|
1727
|
+
# * +:volume_id+ - (String)
|
|
1728
|
+
# * +:status+ - (String)
|
|
1729
|
+
# * +:attach_time+ - (Time)
|
|
1730
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
1731
|
+
# * +:product_codes+ - (Array<Hash>)
|
|
1732
|
+
# * +:product_code+ - (String)
|
|
1733
|
+
# * +:type+ - (String)
|
|
1734
|
+
#
|
|
1735
|
+
# @return [Core::Response]
|
|
1736
|
+
#
|
|
1737
|
+
define_client_method :describe_instance_attribute, 'DescribeInstanceAttribute'
|
|
1738
|
+
|
|
1739
|
+
# Calls the DescribeInstanceStatus API operation.
|
|
1740
|
+
# @method describe_instance_status(options = {})
|
|
1741
|
+
#
|
|
1742
|
+
# === Options:
|
|
1743
|
+
#
|
|
1744
|
+
# * +:instance_ids+ - (Array<String>) The list of instance IDs. If not
|
|
1745
|
+
# specified, all instances are described.
|
|
1746
|
+
# * +:filters+ - (Array<Hash>) The list of filters to limit returned
|
|
1747
|
+
# results.
|
|
1748
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
1749
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
1750
|
+
# filter.
|
|
1751
|
+
# * +:next_token+ - (String) A string specifying the next paginated set
|
|
1752
|
+
# of results to return.
|
|
1753
|
+
# * +:max_results+ - (Integer) The maximum number of paginated instance
|
|
1754
|
+
# items per response.
|
|
1755
|
+
#
|
|
1756
|
+
# === Response Structure:
|
|
1757
|
+
#
|
|
1758
|
+
# * +:instance_status_set+ - (Array<Hash>)
|
|
1759
|
+
# * +:instance_id+ - (String)
|
|
1760
|
+
# * +:availability_zone+ - (String)
|
|
1761
|
+
# * +:events_set+ - (Array<Hash>)
|
|
1762
|
+
# * +:code+ - (String)
|
|
1763
|
+
# * +:description+ - (String)
|
|
1764
|
+
# * +:not_before+ - (Time)
|
|
1765
|
+
# * +:not_after+ - (Time)
|
|
1766
|
+
# * +:instance_state+ - (Hash)
|
|
1767
|
+
# * +:code+ - (Integer)
|
|
1768
|
+
# * +:name+ - (String)
|
|
1769
|
+
# * +:system_status+ - (Hash)
|
|
1770
|
+
# * +:status+ - (String)
|
|
1771
|
+
# * +:details+ - (Array<Hash>)
|
|
1772
|
+
# * +:name+ - (String)
|
|
1773
|
+
# * +:status+ - (String)
|
|
1774
|
+
# * +:instance_status+ - (Hash)
|
|
1775
|
+
# * +:status+ - (String)
|
|
1776
|
+
# * +:details+ - (Array<Hash>)
|
|
1777
|
+
# * +:name+ - (String)
|
|
1778
|
+
# * +:status+ - (String)
|
|
1779
|
+
# * +:next_token+ - (String)
|
|
1780
|
+
#
|
|
1781
|
+
# @return [Core::Response]
|
|
1782
|
+
#
|
|
1783
|
+
define_client_method :describe_instance_status, 'DescribeInstanceStatus'
|
|
1784
|
+
|
|
1785
|
+
# Calls the DescribeInstances API operation.
|
|
1786
|
+
# @method describe_instances(options = {})
|
|
1787
|
+
#
|
|
1788
|
+
# === Options:
|
|
1789
|
+
#
|
|
1790
|
+
# * +:instance_ids+ - (Array<String>) An optional list of the instances
|
|
1791
|
+
# to describe.
|
|
1792
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
1793
|
+
# for Instances. For a complete reference to the available filter keys
|
|
1794
|
+
# for this operation, see the Amazon EC2 API reference.
|
|
1795
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
1796
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
1797
|
+
# filter.
|
|
1798
|
+
#
|
|
1799
|
+
# === Response Structure:
|
|
1800
|
+
#
|
|
1801
|
+
# * +:reservation_set+ - (Array<Hash>)
|
|
1802
|
+
# * +:reservation_id+ - (String)
|
|
1803
|
+
# * +:owner_id+ - (String)
|
|
1804
|
+
# * +:requester_id+ - (String)
|
|
1805
|
+
# * +:group_set+ - (Array<Hash>)
|
|
1806
|
+
# * +:group_name+ - (String)
|
|
1807
|
+
# * +:group_id+ - (String)
|
|
1808
|
+
# * +:instances_set+ - (Array<Hash>)
|
|
1809
|
+
# * +:instance_id+ - (String)
|
|
1810
|
+
# * +:image_id+ - (String)
|
|
1811
|
+
# * +:instance_state+ - (Hash)
|
|
1812
|
+
# * +:code+ - (Integer)
|
|
1813
|
+
# * +:name+ - (String)
|
|
1814
|
+
# * +:private_dns_name+ - (String)
|
|
1815
|
+
# * +:dns_name+ - (String)
|
|
1816
|
+
# * +:reason+ - (String)
|
|
1817
|
+
# * +:key_name+ - (String)
|
|
1818
|
+
# * +:ami_launch_index+ - (Integer)
|
|
1819
|
+
# * +:product_codes+ - (Array<Hash>)
|
|
1820
|
+
# * +:product_code+ - (String)
|
|
1821
|
+
# * +:type+ - (String)
|
|
1822
|
+
# * +:instance_type+ - (String)
|
|
1823
|
+
# * +:launch_time+ - (Time)
|
|
1824
|
+
# * +:placement+ - (Hash)
|
|
1825
|
+
# * +:availability_zone+ - (String)
|
|
1826
|
+
# * +:group_name+ - (String)
|
|
1827
|
+
# * +:tenancy+ - (String)
|
|
1828
|
+
# * +:kernel_id+ - (String)
|
|
1829
|
+
# * +:ramdisk_id+ - (String)
|
|
1830
|
+
# * +:platform+ - (String)
|
|
1831
|
+
# * +:monitoring+ - (Hash)
|
|
1832
|
+
# * +:state+ - (String)
|
|
1833
|
+
# * +:subnet_id+ - (String)
|
|
1834
|
+
# * +:vpc_id+ - (String)
|
|
1835
|
+
# * +:private_ip_address+ - (String)
|
|
1836
|
+
# * +:ip_address+ - (String)
|
|
1837
|
+
# * +:state_reason+ - (Hash)
|
|
1838
|
+
# * +:code+ - (String)
|
|
1839
|
+
# * +:message+ - (String)
|
|
1840
|
+
# * +:architecture+ - (String)
|
|
1841
|
+
# * +:root_device_type+ - (String)
|
|
1842
|
+
# * +:root_device_name+ - (String)
|
|
1843
|
+
# * +:block_device_mapping+ - (Array<Hash>)
|
|
1844
|
+
# * +:device_name+ - (String)
|
|
1845
|
+
# * +:ebs+ - (Hash)
|
|
1846
|
+
# * +:volume_id+ - (String)
|
|
1847
|
+
# * +:status+ - (String)
|
|
1848
|
+
# * +:attach_time+ - (Time)
|
|
1849
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
1850
|
+
# * +:virtualization_type+ - (String)
|
|
1851
|
+
# * +:instance_lifecycle+ - (String)
|
|
1852
|
+
# * +:spot_instance_request_id+ - (String)
|
|
1853
|
+
# * +:license+ - (Hash)
|
|
1854
|
+
# * +:pool+ - (String)
|
|
1855
|
+
# * +:client_token+ - (String)
|
|
1856
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
1857
|
+
# * +:key+ - (String)
|
|
1858
|
+
# * +:value+ - (String)
|
|
1859
|
+
# * +:group_set+ - (Array<Hash>)
|
|
1860
|
+
# * +:group_name+ - (String)
|
|
1861
|
+
# * +:group_id+ - (String)
|
|
1862
|
+
# * +:source_dest_check+ - (Boolean)
|
|
1863
|
+
# * +:hypervisor+ - (String)
|
|
1864
|
+
# * +:network_interface_set+ - (Array<Hash>)
|
|
1865
|
+
# * +:network_interface_id+ - (String)
|
|
1866
|
+
# * +:subnet_id+ - (String)
|
|
1867
|
+
# * +:vpc_id+ - (String)
|
|
1868
|
+
# * +:description+ - (String)
|
|
1869
|
+
# * +:owner_id+ - (String)
|
|
1870
|
+
# * +:status+ - (String)
|
|
1871
|
+
# * +:private_ip_address+ - (String)
|
|
1872
|
+
# * +:private_dns_name+ - (String)
|
|
1873
|
+
# * +:source_dest_check+ - (Boolean)
|
|
1874
|
+
# * +:group_set+ - (Array<Hash>)
|
|
1875
|
+
# * +:group_name+ - (String)
|
|
1876
|
+
# * +:group_id+ - (String)
|
|
1877
|
+
# * +:attachment+ - (Hash)
|
|
1878
|
+
# * +:attachment_id+ - (String)
|
|
1879
|
+
# * +:device_index+ - (Integer)
|
|
1880
|
+
# * +:status+ - (String)
|
|
1881
|
+
# * +:attach_time+ - (Time)
|
|
1882
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
1883
|
+
# * +:association+ - (Hash)
|
|
1884
|
+
# * +:public_ip+ - (String)
|
|
1885
|
+
# * +:ip_owner_id+ - (String)
|
|
1886
|
+
#
|
|
1887
|
+
# @return [Core::Response]
|
|
1888
|
+
#
|
|
1889
|
+
define_client_method :describe_instances, 'DescribeInstances'
|
|
1890
|
+
|
|
1891
|
+
# Calls the DescribeInternetGateways API operation.
|
|
1892
|
+
# @method describe_internet_gateways(options = {})
|
|
1893
|
+
#
|
|
1894
|
+
# === Options:
|
|
1895
|
+
#
|
|
1896
|
+
# * +:internet_gateway_ids+ - (Array<String>) One or more Internet
|
|
1897
|
+
# gateway IDs.
|
|
1898
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
1899
|
+
# for Internet Gateways. For a complete reference to the available
|
|
1900
|
+
# filter keys for this operation, see the Amazon EC2 API reference.
|
|
1901
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
1902
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
1903
|
+
# filter.
|
|
1904
|
+
#
|
|
1905
|
+
# === Response Structure:
|
|
1906
|
+
#
|
|
1907
|
+
# * +:internet_gateway_set+ - (Array<Hash>)
|
|
1908
|
+
# * +:internet_gateway_id+ - (String)
|
|
1909
|
+
# * +:attachment_set+ - (Array<Hash>)
|
|
1910
|
+
# * +:vpc_id+ - (String)
|
|
1911
|
+
# * +:state+ - (String)
|
|
1912
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
1913
|
+
# * +:key+ - (String)
|
|
1914
|
+
# * +:value+ - (String)
|
|
1915
|
+
#
|
|
1916
|
+
# @return [Core::Response]
|
|
1917
|
+
#
|
|
1918
|
+
define_client_method :describe_internet_gateways, 'DescribeInternetGateways'
|
|
1919
|
+
|
|
1920
|
+
# Calls the DescribeKeyPairs API operation.
|
|
1921
|
+
# @method describe_key_pairs(options = {})
|
|
1922
|
+
#
|
|
1923
|
+
# === Options:
|
|
1924
|
+
#
|
|
1925
|
+
# * +:key_names+ - (Array<String>) The optional list of key pair names to
|
|
1926
|
+
# describe.
|
|
1927
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
1928
|
+
# for KeyPairs. For a complete reference to the available filter keys
|
|
1929
|
+
# for this operation, see the Amazon EC2 API reference.
|
|
1930
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
1931
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
1932
|
+
# filter.
|
|
1933
|
+
#
|
|
1934
|
+
# === Response Structure:
|
|
1935
|
+
#
|
|
1936
|
+
# * +:key_set+ - (Array<Hash>)
|
|
1937
|
+
# * +:key_name+ - (String)
|
|
1938
|
+
# * +:key_fingerprint+ - (String)
|
|
1939
|
+
#
|
|
1940
|
+
# @return [Core::Response]
|
|
1941
|
+
#
|
|
1942
|
+
define_client_method :describe_key_pairs, 'DescribeKeyPairs'
|
|
1943
|
+
|
|
1944
|
+
# Calls the DescribeLicenses API operation.
|
|
1945
|
+
# @method describe_licenses(options = {})
|
|
1946
|
+
#
|
|
1947
|
+
# === Options:
|
|
1948
|
+
#
|
|
1949
|
+
# * +:license_ids+ - (Array<String>) Specifies the license registration
|
|
1950
|
+
# for which details are to be returned.
|
|
1951
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
1952
|
+
# for Licenses. For a complete reference to the available filter keys
|
|
1953
|
+
# for this operation, see the Amazon EC2 API reference.
|
|
1954
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
1955
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
1956
|
+
# filter.
|
|
1957
|
+
#
|
|
1958
|
+
# === Response Structure:
|
|
1959
|
+
#
|
|
1960
|
+
# * +:license_set+ - (Array<Hash>)
|
|
1961
|
+
# * +:license_id+ - (String)
|
|
1962
|
+
# * +:type+ - (String)
|
|
1963
|
+
# * +:pool+ - (String)
|
|
1964
|
+
# * +:capacity_set+ - (Array<Hash>)
|
|
1965
|
+
# * +:capacity+ - (Integer)
|
|
1966
|
+
# * +:instance_capacity+ - (Integer)
|
|
1967
|
+
# * +:state+ - (String)
|
|
1968
|
+
# * +:earliest_allowed_deactivation_time+ - (Time)
|
|
1969
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
1970
|
+
# * +:key+ - (String)
|
|
1971
|
+
# * +:value+ - (String)
|
|
1972
|
+
#
|
|
1973
|
+
# @return [Core::Response]
|
|
1974
|
+
#
|
|
1975
|
+
define_client_method :describe_licenses, 'DescribeLicenses'
|
|
1976
|
+
|
|
1977
|
+
# Calls the DescribeNetworkAcls API operation.
|
|
1978
|
+
# @method describe_network_acls(options = {})
|
|
1979
|
+
#
|
|
1980
|
+
# === Options:
|
|
1981
|
+
#
|
|
1982
|
+
# * +:network_acl_ids+ - (Array<String>) One or more network ACL IDs.
|
|
1983
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
1984
|
+
# for Network ACLs. For a complete reference to the available filter
|
|
1985
|
+
# keys for this operation, see the Amazon EC2 API reference.
|
|
1986
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
1987
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
1988
|
+
# filter.
|
|
1989
|
+
#
|
|
1990
|
+
# === Response Structure:
|
|
1991
|
+
#
|
|
1992
|
+
# * +:network_acl_set+ - (Array<Hash>)
|
|
1993
|
+
# * +:network_acl_id+ - (String)
|
|
1994
|
+
# * +:vpc_id+ - (String)
|
|
1995
|
+
# * +:default+ - (Boolean)
|
|
1996
|
+
# * +:entry_set+ - (Array<Hash>)
|
|
1997
|
+
# * +:rule_number+ - (Integer)
|
|
1998
|
+
# * +:protocol+ - (String)
|
|
1999
|
+
# * +:rule_action+ - (String)
|
|
2000
|
+
# * +:egress+ - (Boolean)
|
|
2001
|
+
# * +:cidr_block+ - (String)
|
|
2002
|
+
# * +:icmp_type_code+ - (Hash)
|
|
2003
|
+
# * +:type+ - (Integer)
|
|
2004
|
+
# * +:code+ - (Integer)
|
|
2005
|
+
# * +:port_range+ - (Hash)
|
|
2006
|
+
# * +:from+ - (Integer)
|
|
2007
|
+
# * +:to+ - (Integer)
|
|
2008
|
+
# * +:association_set+ - (Array<Hash>)
|
|
2009
|
+
# * +:network_acl_association_id+ - (String)
|
|
2010
|
+
# * +:network_acl_id+ - (String)
|
|
2011
|
+
# * +:subnet_id+ - (String)
|
|
2012
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
2013
|
+
# * +:key+ - (String)
|
|
2014
|
+
# * +:value+ - (String)
|
|
2015
|
+
#
|
|
2016
|
+
# @return [Core::Response]
|
|
2017
|
+
#
|
|
2018
|
+
define_client_method :describe_network_acls, 'DescribeNetworkAcls'
|
|
2019
|
+
|
|
2020
|
+
# Calls the DescribeNetworkInterfaceAttribute API operation.
|
|
2021
|
+
# @method describe_network_interface_attribute(options = {})
|
|
2022
|
+
#
|
|
2023
|
+
# === Options:
|
|
2024
|
+
#
|
|
2025
|
+
# * +:network_interface_id+ - *required* - (String)
|
|
2026
|
+
# * +:description+ - (String)
|
|
2027
|
+
# * +:source_dest_check+ - (String)
|
|
2028
|
+
# * +:groups+ - (String)
|
|
2029
|
+
# * +:attachment+ - (String)
|
|
2030
|
+
#
|
|
2031
|
+
# === Response Structure:
|
|
2032
|
+
#
|
|
2033
|
+
# * +:network_interface_id+ - (String)
|
|
2034
|
+
# * +:description+ - (Hash)
|
|
2035
|
+
# * +:value+ - (String)
|
|
2036
|
+
# * +:source_dest_check+ - (Hash)
|
|
2037
|
+
# * +:value+ - (Boolean)
|
|
2038
|
+
# * +:group_set+ - (Array<Hash>)
|
|
2039
|
+
# * +:group_name+ - (String)
|
|
2040
|
+
# * +:group_id+ - (String)
|
|
2041
|
+
# * +:attachment+ - (Hash)
|
|
2042
|
+
# * +:attachment_id+ - (String)
|
|
2043
|
+
# * +:instance_id+ - (String)
|
|
2044
|
+
# * +:instance_owner_id+ - (String)
|
|
2045
|
+
# * +:device_index+ - (Integer)
|
|
2046
|
+
# * +:status+ - (String)
|
|
2047
|
+
# * +:attach_time+ - (Time)
|
|
2048
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
2049
|
+
#
|
|
2050
|
+
# @return [Core::Response]
|
|
2051
|
+
#
|
|
2052
|
+
define_client_method :describe_network_interface_attribute, 'DescribeNetworkInterfaceAttribute'
|
|
2053
|
+
|
|
2054
|
+
# Calls the DescribeNetworkInterfaces API operation.
|
|
2055
|
+
# @method describe_network_interfaces(options = {})
|
|
2056
|
+
#
|
|
2057
|
+
# === Options:
|
|
2058
|
+
#
|
|
2059
|
+
# * +:network_interface_ids+ - (Array<String>)
|
|
2060
|
+
# * +:filters+ - (Array<Hash>)
|
|
2061
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
2062
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
2063
|
+
# filter.
|
|
2064
|
+
#
|
|
2065
|
+
# === Response Structure:
|
|
2066
|
+
#
|
|
2067
|
+
# * +:network_interface_set+ - (Array<Hash>)
|
|
2068
|
+
# * +:network_interface_id+ - (String)
|
|
2069
|
+
# * +:subnet_id+ - (String)
|
|
2070
|
+
# * +:vpc_id+ - (String)
|
|
2071
|
+
# * +:availability_zone+ - (String)
|
|
2072
|
+
# * +:description+ - (String)
|
|
2073
|
+
# * +:owner_id+ - (String)
|
|
2074
|
+
# * +:requester_id+ - (String)
|
|
2075
|
+
# * +:requester_managed+ - (Boolean)
|
|
2076
|
+
# * +:status+ - (String)
|
|
2077
|
+
# * +:mac_address+ - (String)
|
|
2078
|
+
# * +:private_ip_address+ - (String)
|
|
2079
|
+
# * +:private_dns_name+ - (String)
|
|
2080
|
+
# * +:source_dest_check+ - (Boolean)
|
|
2081
|
+
# * +:groups+ - (Array<Hash>)
|
|
2082
|
+
# * +:group_name+ - (String)
|
|
2083
|
+
# * +:group_id+ - (String)
|
|
2084
|
+
# * +:attachment+ - (Hash)
|
|
2085
|
+
# * +:attachment_id+ - (String)
|
|
2086
|
+
# * +:instance_id+ - (String)
|
|
2087
|
+
# * +:instance_owner_id+ - (String)
|
|
2088
|
+
# * +:device_index+ - (Integer)
|
|
2089
|
+
# * +:status+ - (String)
|
|
2090
|
+
# * +:attach_time+ - (Time)
|
|
2091
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
2092
|
+
# * +:association+ - (Hash)
|
|
2093
|
+
# * +:public_ip+ - (String)
|
|
2094
|
+
# * +:ip_owner_id+ - (String)
|
|
2095
|
+
# * +:allocation_id+ - (String)
|
|
2096
|
+
# * +:association_id+ - (String)
|
|
2097
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
2098
|
+
# * +:key+ - (String)
|
|
2099
|
+
# * +:value+ - (String)
|
|
2100
|
+
#
|
|
2101
|
+
# @return [Core::Response]
|
|
2102
|
+
#
|
|
2103
|
+
define_client_method :describe_network_interfaces, 'DescribeNetworkInterfaces'
|
|
2104
|
+
|
|
2105
|
+
# Calls the DescribePlacementGroups API operation.
|
|
2106
|
+
# @method describe_placement_groups(options = {})
|
|
2107
|
+
#
|
|
2108
|
+
# === Options:
|
|
2109
|
+
#
|
|
2110
|
+
# * +:group_names+ - (Array<String>) The name of the PlacementGroup.
|
|
2111
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
2112
|
+
# for Placement Groups. For a complete reference to the available
|
|
2113
|
+
# filter keys for this operation, see the Amazon EC2 API reference.
|
|
2114
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
2115
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
2116
|
+
# filter.
|
|
2117
|
+
#
|
|
2118
|
+
# === Response Structure:
|
|
2119
|
+
#
|
|
2120
|
+
# * +:placement_group_set+ - (Array<Hash>)
|
|
2121
|
+
# * +:group_name+ - (String)
|
|
2122
|
+
# * +:strategy+ - (String)
|
|
2123
|
+
# * +:state+ - (String)
|
|
2124
|
+
#
|
|
2125
|
+
# @return [Core::Response]
|
|
2126
|
+
#
|
|
2127
|
+
define_client_method :describe_placement_groups, 'DescribePlacementGroups'
|
|
2128
|
+
|
|
2129
|
+
# Calls the DescribeRegions API operation.
|
|
2130
|
+
# @method describe_regions(options = {})
|
|
2131
|
+
#
|
|
2132
|
+
# === Options:
|
|
2133
|
+
#
|
|
2134
|
+
# * +:region_names+ - (Array<String>) The optional list of regions to
|
|
2135
|
+
# describe.
|
|
2136
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
2137
|
+
# for Regions. For a complete reference to the available filter keys
|
|
2138
|
+
# for this operation, see the Amazon EC2 API reference.
|
|
2139
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
2140
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
2141
|
+
# filter.
|
|
2142
|
+
#
|
|
2143
|
+
# === Response Structure:
|
|
2144
|
+
#
|
|
2145
|
+
# * +:region_info+ - (Array<Hash>)
|
|
2146
|
+
# * +:region_name+ - (String)
|
|
2147
|
+
# * +:region_endpoint+ - (String)
|
|
2148
|
+
#
|
|
2149
|
+
# @return [Core::Response]
|
|
2150
|
+
#
|
|
2151
|
+
define_client_method :describe_regions, 'DescribeRegions'
|
|
2152
|
+
|
|
2153
|
+
# Calls the DescribeReservedInstances API operation.
|
|
2154
|
+
# @method describe_reserved_instances(options = {})
|
|
2155
|
+
#
|
|
2156
|
+
# === Options:
|
|
2157
|
+
#
|
|
2158
|
+
# * +:reserved_instances_ids+ - (Array<String>) The optional list of
|
|
2159
|
+
# Reserved Instance IDs to describe.
|
|
2160
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
2161
|
+
# for ReservedInstances. For a complete reference to the available
|
|
2162
|
+
# filter keys for this operation, see the Amazon EC2 API reference.
|
|
2163
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
2164
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
2165
|
+
# filter.
|
|
2166
|
+
# * +:offering_type+ - (String) The Reserved Instance offering type.
|
|
2167
|
+
#
|
|
2168
|
+
# === Response Structure:
|
|
2169
|
+
#
|
|
2170
|
+
# * +:reserved_instances_set+ - (Array<Hash>)
|
|
2171
|
+
# * +:reserved_instances_id+ - (String)
|
|
2172
|
+
# * +:instance_type+ - (String)
|
|
2173
|
+
# * +:availability_zone+ - (String)
|
|
2174
|
+
# * +:start+ - (Time)
|
|
2175
|
+
# * +:duration+ - (Integer)
|
|
2176
|
+
# * +:usage_price+ - (Numeric)
|
|
2177
|
+
# * +:fixed_price+ - (Numeric)
|
|
2178
|
+
# * +:instance_count+ - (Integer)
|
|
2179
|
+
# * +:product_description+ - (String)
|
|
2180
|
+
# * +:state+ - (String)
|
|
2181
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
2182
|
+
# * +:key+ - (String)
|
|
2183
|
+
# * +:value+ - (String)
|
|
2184
|
+
# * +:instance_tenancy+ - (String)
|
|
2185
|
+
# * +:currency_code+ - (String)
|
|
2186
|
+
# * +:offering_type+ - (String)
|
|
2187
|
+
# * +:recurring_charges+ - (Array<Hash>)
|
|
2188
|
+
# * +:frequency+ - (String)
|
|
2189
|
+
# * +:amount+ - (Numeric)
|
|
2190
|
+
#
|
|
2191
|
+
# @return [Core::Response]
|
|
2192
|
+
#
|
|
2193
|
+
define_client_method :describe_reserved_instances, 'DescribeReservedInstances'
|
|
2194
|
+
|
|
2195
|
+
# Calls the DescribeReservedInstancesOfferings API operation.
|
|
2196
|
+
# @method describe_reserved_instances_offerings(options = {})
|
|
2197
|
+
#
|
|
2198
|
+
# === Options:
|
|
2199
|
+
#
|
|
2200
|
+
# * +:reserved_instances_offering_ids+ - (Array<String>) An optional list
|
|
2201
|
+
# of the unique IDs of the Reserved Instance offerings to describe.
|
|
2202
|
+
# * +:instance_type+ - (String) The instance type on which the Reserved
|
|
2203
|
+
# Instance can be used.
|
|
2204
|
+
# * +:availability_zone+ - (String) The Availability Zone in which the
|
|
2205
|
+
# Reserved Instance can be used.
|
|
2206
|
+
# * +:product_description+ - (String) The Reserved Instance product
|
|
2207
|
+
# description.
|
|
2208
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
2209
|
+
# for ReservedInstancesOfferings. For a complete reference to the
|
|
2210
|
+
# available filter keys for this operation, see the Amazon EC2 API
|
|
2211
|
+
# reference.
|
|
2212
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
2213
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
2214
|
+
# filter.
|
|
2215
|
+
# * +:instance_tenancy+ - (String) The tenancy of the Reserved Instance
|
|
2216
|
+
# offering. A Reserved Instance with tenancy of dedicated will run on
|
|
2217
|
+
# single-tenant hardware and can only be launched within a VPC.
|
|
2218
|
+
# * +:offering_type+ - (String) The Reserved Instance offering type.
|
|
2219
|
+
#
|
|
2220
|
+
# === Response Structure:
|
|
2221
|
+
#
|
|
2222
|
+
# * +:reserved_instances_offerings_set+ - (Array<Hash>)
|
|
2223
|
+
# * +:reserved_instances_offering_id+ - (String)
|
|
2224
|
+
# * +:instance_type+ - (String)
|
|
2225
|
+
# * +:availability_zone+ - (String)
|
|
2226
|
+
# * +:duration+ - (Integer)
|
|
2227
|
+
# * +:usage_price+ - (Numeric)
|
|
2228
|
+
# * +:fixed_price+ - (Numeric)
|
|
2229
|
+
# * +:product_description+ - (String)
|
|
2230
|
+
# * +:instance_tenancy+ - (String)
|
|
2231
|
+
# * +:currency_code+ - (String)
|
|
2232
|
+
# * +:offering_type+ - (String)
|
|
2233
|
+
# * +:recurring_charges+ - (Array<Hash>)
|
|
2234
|
+
# * +:frequency+ - (String)
|
|
2235
|
+
# * +:amount+ - (Numeric)
|
|
2236
|
+
#
|
|
2237
|
+
# @return [Core::Response]
|
|
2238
|
+
#
|
|
2239
|
+
define_client_method :describe_reserved_instances_offerings, 'DescribeReservedInstancesOfferings'
|
|
2240
|
+
|
|
2241
|
+
# Calls the DescribeRouteTables API operation.
|
|
2242
|
+
# @method describe_route_tables(options = {})
|
|
2243
|
+
#
|
|
2244
|
+
# === Options:
|
|
2245
|
+
#
|
|
2246
|
+
# * +:route_table_ids+ - (Array<String>) One or more route table IDs.
|
|
2247
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
2248
|
+
# for Route Tables. For a complete reference to the available filter
|
|
2249
|
+
# keys for this operation, see the Amazon EC2 API reference.
|
|
2250
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
2251
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
2252
|
+
# filter.
|
|
2253
|
+
#
|
|
2254
|
+
# === Response Structure:
|
|
2255
|
+
#
|
|
2256
|
+
# * +:route_table_set+ - (Array<Hash>)
|
|
2257
|
+
# * +:route_table_id+ - (String)
|
|
2258
|
+
# * +:vpc_id+ - (String)
|
|
2259
|
+
# * +:route_set+ - (Array<Hash>)
|
|
2260
|
+
# * +:destination_cidr_block+ - (String)
|
|
2261
|
+
# * +:gateway_id+ - (String)
|
|
2262
|
+
# * +:instance_id+ - (String)
|
|
2263
|
+
# * +:instance_owner_id+ - (String)
|
|
2264
|
+
# * +:network_interface_id+ - (String)
|
|
2265
|
+
# * +:state+ - (String)
|
|
2266
|
+
# * +:association_set+ - (Array<Hash>)
|
|
2267
|
+
# * +:route_table_association_id+ - (String)
|
|
2268
|
+
# * +:route_table_id+ - (String)
|
|
2269
|
+
# * +:subnet_id+ - (String)
|
|
2270
|
+
# * +:main+ - (Boolean)
|
|
2271
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
2272
|
+
# * +:key+ - (String)
|
|
2273
|
+
# * +:value+ - (String)
|
|
2274
|
+
#
|
|
2275
|
+
# @return [Core::Response]
|
|
2276
|
+
#
|
|
2277
|
+
define_client_method :describe_route_tables, 'DescribeRouteTables'
|
|
2278
|
+
|
|
2279
|
+
# Calls the DescribeSecurityGroups API operation.
|
|
2280
|
+
# @method describe_security_groups(options = {})
|
|
2281
|
+
#
|
|
2282
|
+
# === Options:
|
|
2283
|
+
#
|
|
2284
|
+
# * +:group_names+ - (Array<String>) The optional list of Amazon EC2
|
|
2285
|
+
# security groups to describe.
|
|
2286
|
+
# * +:group_ids+ - (Array<String>)
|
|
2287
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
2288
|
+
# for SecurityGroups. For a complete reference to the available filter
|
|
2289
|
+
# keys for this operation, see the Amazon EC2 API reference.
|
|
2290
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
2291
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
2292
|
+
# filter.
|
|
2293
|
+
#
|
|
2294
|
+
# === Response Structure:
|
|
2295
|
+
#
|
|
2296
|
+
# * +:security_group_info+ - (Array<Hash>)
|
|
2297
|
+
# * +:owner_id+ - (String)
|
|
2298
|
+
# * +:group_name+ - (String)
|
|
2299
|
+
# * +:group_id+ - (String)
|
|
2300
|
+
# * +:group_description+ - (String)
|
|
2301
|
+
# * +:ip_permissions+ - (Array<Hash>)
|
|
2302
|
+
# * +:ip_protocol+ - (String)
|
|
2303
|
+
# * +:from_port+ - (Integer)
|
|
2304
|
+
# * +:to_port+ - (Integer)
|
|
2305
|
+
# * +:groups+ - (Array<Hash>)
|
|
2306
|
+
# * +:user_id+ - (String)
|
|
2307
|
+
# * +:group_name+ - (String)
|
|
2308
|
+
# * +:group_id+ - (String)
|
|
2309
|
+
# * +:ip_ranges+ - (Array<Hash>)
|
|
2310
|
+
# * +:cidr_ip+ - (String)
|
|
2311
|
+
# * +:ip_permissions_egress+ - (Array<Hash>)
|
|
2312
|
+
# * +:ip_protocol+ - (String)
|
|
2313
|
+
# * +:from_port+ - (Integer)
|
|
2314
|
+
# * +:to_port+ - (Integer)
|
|
2315
|
+
# * +:groups+ - (Array<Hash>)
|
|
2316
|
+
# * +:user_id+ - (String)
|
|
2317
|
+
# * +:group_name+ - (String)
|
|
2318
|
+
# * +:group_id+ - (String)
|
|
2319
|
+
# * +:ip_ranges+ - (Array<Hash>)
|
|
2320
|
+
# * +:cidr_ip+ - (String)
|
|
2321
|
+
# * +:vpc_id+ - (String)
|
|
2322
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
2323
|
+
# * +:key+ - (String)
|
|
2324
|
+
# * +:value+ - (String)
|
|
2325
|
+
#
|
|
2326
|
+
# @return [Core::Response]
|
|
2327
|
+
#
|
|
2328
|
+
define_client_method :describe_security_groups, 'DescribeSecurityGroups'
|
|
2329
|
+
|
|
2330
|
+
# Calls the DescribeSnapshotAttribute API operation.
|
|
2331
|
+
# @method describe_snapshot_attribute(options = {})
|
|
2332
|
+
#
|
|
2333
|
+
# === Options:
|
|
2334
|
+
#
|
|
2335
|
+
# * +:snapshot_id+ - *required* - (String) The ID of the EBS snapshot
|
|
2336
|
+
# whose attribute is being described.
|
|
2337
|
+
# * +:attribute+ - *required* - (String) The name of the EBS attribute to
|
|
2338
|
+
# describe. Available attribute names: createVolumePermission
|
|
2339
|
+
#
|
|
2340
|
+
# === Response Structure:
|
|
2341
|
+
#
|
|
2342
|
+
# * +:snapshot_id+ - (String)
|
|
2343
|
+
# * +:create_volume_permission+ - (Array<Hash>)
|
|
2344
|
+
# * +:user_id+ - (String)
|
|
2345
|
+
# * +:group+ - (String)
|
|
2346
|
+
# * +:product_codes+ - (Array<Hash>)
|
|
2347
|
+
# * +:product_code+ - (String)
|
|
2348
|
+
# * +:type+ - (String)
|
|
2349
|
+
#
|
|
2350
|
+
# @return [Core::Response]
|
|
2351
|
+
#
|
|
2352
|
+
define_client_method :describe_snapshot_attribute, 'DescribeSnapshotAttribute'
|
|
2353
|
+
|
|
2354
|
+
# Calls the DescribeSnapshots API operation.
|
|
2355
|
+
# @method describe_snapshots(options = {})
|
|
2356
|
+
#
|
|
2357
|
+
# === Options:
|
|
2358
|
+
#
|
|
2359
|
+
# * +:snapshot_ids+ - (Array<String>) The optional list of EBS snapshot
|
|
2360
|
+
# IDs to describe.
|
|
2361
|
+
# * +:owner_ids+ - (Array<String>) The optional list of EBS snapshot
|
|
2362
|
+
# owners.
|
|
2363
|
+
# * +:restorable_by_user_ids+ - (Array<String>) The optional list of
|
|
2364
|
+
# users who have permission to create volumes from the described EBS
|
|
2365
|
+
# snapshots.
|
|
2366
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
2367
|
+
# for Snapshots. For a complete reference to the available filter keys
|
|
2368
|
+
# for this operation, see the Amazon EC2 API reference.
|
|
2369
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
2370
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
2371
|
+
# filter.
|
|
2372
|
+
#
|
|
2373
|
+
# === Response Structure:
|
|
2374
|
+
#
|
|
2375
|
+
# * +:snapshot_set+ - (Array<Hash>)
|
|
2376
|
+
# * +:snapshot_id+ - (String)
|
|
2377
|
+
# * +:volume_id+ - (String)
|
|
2378
|
+
# * +:status+ - (String)
|
|
2379
|
+
# * +:start_time+ - (Time)
|
|
2380
|
+
# * +:progress+ - (String)
|
|
2381
|
+
# * +:owner_id+ - (String)
|
|
2382
|
+
# * +:description+ - (String)
|
|
2383
|
+
# * +:volume_size+ - (Integer)
|
|
2384
|
+
# * +:owner_alias+ - (String)
|
|
2385
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
2386
|
+
# * +:key+ - (String)
|
|
2387
|
+
# * +:value+ - (String)
|
|
2388
|
+
#
|
|
2389
|
+
# @return [Core::Response]
|
|
2390
|
+
#
|
|
2391
|
+
define_client_method :describe_snapshots, 'DescribeSnapshots'
|
|
2392
|
+
|
|
2393
|
+
# Calls the DescribeSpotDatafeedSubscription API operation.
|
|
2394
|
+
# @method describe_spot_datafeed_subscription(options = {})
|
|
2395
|
+
#
|
|
2396
|
+
# === Options:
|
|
2397
|
+
#
|
|
2398
|
+
# This method accepts no options.
|
|
2399
|
+
#
|
|
2400
|
+
# === Response Structure:
|
|
2401
|
+
#
|
|
2402
|
+
# * +:spot_datafeed_subscription+ - (Hash)
|
|
2403
|
+
# * +:owner_id+ - (String)
|
|
2404
|
+
# * +:bucket+ - (String)
|
|
2405
|
+
# * +:prefix+ - (String)
|
|
2406
|
+
# * +:state+ - (String)
|
|
2407
|
+
# * +:fault+ - (Hash)
|
|
2408
|
+
# * +:code+ - (String)
|
|
2409
|
+
# * +:message+ - (String)
|
|
2410
|
+
#
|
|
2411
|
+
# @return [Core::Response]
|
|
2412
|
+
#
|
|
2413
|
+
define_client_method :describe_spot_datafeed_subscription, 'DescribeSpotDatafeedSubscription'
|
|
2414
|
+
|
|
2415
|
+
# Calls the DescribeSpotInstanceRequests API operation.
|
|
2416
|
+
# @method describe_spot_instance_requests(options = {})
|
|
2417
|
+
#
|
|
2418
|
+
# === Options:
|
|
2419
|
+
#
|
|
2420
|
+
# * +:spot_instance_request_ids+ - (Array<String>) The ID of the request.
|
|
2421
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
2422
|
+
# for SpotInstances. For a complete reference to the available filter
|
|
2423
|
+
# keys for this operation, see the Amazon EC2 API reference.
|
|
2424
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
2425
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
2426
|
+
# filter.
|
|
2427
|
+
#
|
|
2428
|
+
# === Response Structure:
|
|
2429
|
+
#
|
|
2430
|
+
# * +:spot_instance_request_set+ - (Array<Hash>)
|
|
2431
|
+
# * +:spot_instance_request_id+ - (String)
|
|
2432
|
+
# * +:spot_price+ - (String)
|
|
2433
|
+
# * +:type+ - (String)
|
|
2434
|
+
# * +:state+ - (String)
|
|
2435
|
+
# * +:fault+ - (Hash)
|
|
2436
|
+
# * +:code+ - (String)
|
|
2437
|
+
# * +:message+ - (String)
|
|
2438
|
+
# * +:valid_from+ - (Time)
|
|
2439
|
+
# * +:valid_until+ - (Time)
|
|
2440
|
+
# * +:launch_group+ - (String)
|
|
2441
|
+
# * +:availability_zone_group+ - (String)
|
|
2442
|
+
# * +:launch_specification+ - (Hash)
|
|
2443
|
+
# * +:image_id+ - (String)
|
|
2444
|
+
# * +:key_name+ - (String)
|
|
2445
|
+
# * +:group_set+ - (Array<Hash>)
|
|
2446
|
+
# * +:group_name+ - (String)
|
|
2447
|
+
# * +:group_id+ - (String)
|
|
2448
|
+
# * +:user_data+ - (String)
|
|
2449
|
+
# * +:addressing_type+ - (String)
|
|
2450
|
+
# * +:instance_type+ - (String)
|
|
2451
|
+
# * +:placement+ - (Hash)
|
|
2452
|
+
# * +:availability_zone+ - (String)
|
|
2453
|
+
# * +:group_name+ - (String)
|
|
2454
|
+
# * +:kernel_id+ - (String)
|
|
2455
|
+
# * +:ramdisk_id+ - (String)
|
|
2456
|
+
# * +:block_device_mapping+ - (Array<Hash>)
|
|
2457
|
+
# * +:virtual_name+ - (String)
|
|
2458
|
+
# * +:device_name+ - (String)
|
|
2459
|
+
# * +:ebs+ - (Hash)
|
|
2460
|
+
# * +:snapshot_id+ - (String)
|
|
2461
|
+
# * +:volume_size+ - (Integer)
|
|
2462
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
2463
|
+
# * +:no_device+ - (String)
|
|
2464
|
+
# * +:monitoring_enabled+ - (Boolean)
|
|
2465
|
+
# * +:subnet_id+ - (String)
|
|
2466
|
+
# * +:network_interface_set+ - (Array<Hash>)
|
|
2467
|
+
# * +:network_interface_id+ - (String)
|
|
2468
|
+
# * +:device_index+ - (Integer)
|
|
2469
|
+
# * +:subnet_id+ - (String)
|
|
2470
|
+
# * +:description+ - (String)
|
|
2471
|
+
# * +:private_ip_address+ - (String)
|
|
2472
|
+
# * +:security_group_id+ - (Array<String>)
|
|
2473
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
2474
|
+
# * +:instance_id+ - (String)
|
|
2475
|
+
# * +:create_time+ - (Time)
|
|
2476
|
+
# * +:product_description+ - (String)
|
|
2477
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
2478
|
+
# * +:key+ - (String)
|
|
2479
|
+
# * +:value+ - (String)
|
|
2480
|
+
# * +:launched_availability_zone+ - (String)
|
|
2481
|
+
#
|
|
2482
|
+
# @return [Core::Response]
|
|
2483
|
+
#
|
|
2484
|
+
define_client_method :describe_spot_instance_requests, 'DescribeSpotInstanceRequests'
|
|
2485
|
+
|
|
2486
|
+
# Calls the DescribeSpotPriceHistory API operation.
|
|
2487
|
+
# @method describe_spot_price_history(options = {})
|
|
2488
|
+
#
|
|
2489
|
+
# === Options:
|
|
2490
|
+
#
|
|
2491
|
+
# * +:start_time+ - (String<ISO8601 datetime>) The start date and time of
|
|
2492
|
+
# the Spot Instance price history data.
|
|
2493
|
+
# * +:end_time+ - (String<ISO8601 datetime>) The end date and time of the
|
|
2494
|
+
# Spot Instance price history data.
|
|
2495
|
+
# * +:instance_types+ - (Array<String>) Specifies the instance type to
|
|
2496
|
+
# return.
|
|
2497
|
+
# * +:product_descriptions+ - (Array<String>) The description of the AMI.
|
|
2498
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
2499
|
+
# for SpotPriceHistory. For a complete reference to the available
|
|
2500
|
+
# filter keys for this operation, see the Amazon EC2 API reference.
|
|
2501
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
2502
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
2503
|
+
# filter.
|
|
2504
|
+
# * +:availability_zone+ - (String) Filters the results by availability
|
|
2505
|
+
# zone (ex: 'us-east-1a').
|
|
2506
|
+
# * +:max_results+ - (Integer) Specifies the number of rows to return.
|
|
2507
|
+
# * +:next_token+ - (String) Specifies the next set of rows to return.
|
|
2508
|
+
#
|
|
2509
|
+
# === Response Structure:
|
|
2510
|
+
#
|
|
2511
|
+
# * +:spot_price_history_set+ - (Array<Hash>)
|
|
2512
|
+
# * +:instance_type+ - (String)
|
|
2513
|
+
# * +:product_description+ - (String)
|
|
2514
|
+
# * +:spot_price+ - (String)
|
|
2515
|
+
# * +:timestamp+ - (Time)
|
|
2516
|
+
# * +:availability_zone+ - (String)
|
|
2517
|
+
# * +:next_token+ - (String)
|
|
2518
|
+
#
|
|
2519
|
+
# @return [Core::Response]
|
|
2520
|
+
#
|
|
2521
|
+
define_client_method :describe_spot_price_history, 'DescribeSpotPriceHistory'
|
|
2522
|
+
|
|
2523
|
+
# Calls the DescribeSubnets API operation.
|
|
2524
|
+
# @method describe_subnets(options = {})
|
|
2525
|
+
#
|
|
2526
|
+
# === Options:
|
|
2527
|
+
#
|
|
2528
|
+
# * +:subnet_ids+ - (Array<String>) A set of one or more subnet IDs.
|
|
2529
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
2530
|
+
# for Subnets. For a complete reference to the available filter keys
|
|
2531
|
+
# for this operation, see the Amazon EC2 API reference.
|
|
2532
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
2533
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
2534
|
+
# filter.
|
|
2535
|
+
#
|
|
2536
|
+
# === Response Structure:
|
|
2537
|
+
#
|
|
2538
|
+
# * +:subnet_set+ - (Array<Hash>)
|
|
2539
|
+
# * +:subnet_id+ - (String)
|
|
2540
|
+
# * +:state+ - (String)
|
|
2541
|
+
# * +:vpc_id+ - (String)
|
|
2542
|
+
# * +:cidr_block+ - (String)
|
|
2543
|
+
# * +:available_ip_address_count+ - (Integer)
|
|
2544
|
+
# * +:availability_zone+ - (String)
|
|
2545
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
2546
|
+
# * +:key+ - (String)
|
|
2547
|
+
# * +:value+ - (String)
|
|
2548
|
+
#
|
|
2549
|
+
# @return [Core::Response]
|
|
2550
|
+
#
|
|
2551
|
+
define_client_method :describe_subnets, 'DescribeSubnets'
|
|
2552
|
+
|
|
2553
|
+
# Calls the DescribeTags API operation.
|
|
2554
|
+
# @method describe_tags(options = {})
|
|
2555
|
+
#
|
|
2556
|
+
# === Options:
|
|
2557
|
+
#
|
|
2558
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
2559
|
+
# for tags.
|
|
2560
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
2561
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
2562
|
+
# filter.
|
|
2563
|
+
#
|
|
2564
|
+
# === Response Structure:
|
|
2565
|
+
#
|
|
2566
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
2567
|
+
# * +:resource_id+ - (String)
|
|
2568
|
+
# * +:resource_type+ - (String)
|
|
2569
|
+
# * +:key+ - (String)
|
|
2570
|
+
# * +:value+ - (String)
|
|
2571
|
+
#
|
|
2572
|
+
# @return [Core::Response]
|
|
2573
|
+
#
|
|
2574
|
+
define_client_method :describe_tags, 'DescribeTags'
|
|
2575
|
+
|
|
2576
|
+
# Calls the DescribeVolumeAttribute API operation.
|
|
2577
|
+
# @method describe_volume_attribute(options = {})
|
|
2578
|
+
#
|
|
2579
|
+
# === Options:
|
|
2580
|
+
#
|
|
2581
|
+
# * +:volume_id+ - *required* - (String)
|
|
2582
|
+
# * +:attribute+ - (String)
|
|
2583
|
+
#
|
|
2584
|
+
# === Response Structure:
|
|
2585
|
+
#
|
|
2586
|
+
# * +:volume_id+ - (String)
|
|
2587
|
+
# * +:auto_enable_io+ - (Hash)
|
|
2588
|
+
# * +:value+ - (Boolean)
|
|
2589
|
+
# * +:product_codes+ - (Array<Hash>)
|
|
2590
|
+
# * +:product_code+ - (String)
|
|
2591
|
+
# * +:type+ - (String)
|
|
2592
|
+
#
|
|
2593
|
+
# @return [Core::Response]
|
|
2594
|
+
#
|
|
2595
|
+
define_client_method :describe_volume_attribute, 'DescribeVolumeAttribute'
|
|
2596
|
+
|
|
2597
|
+
# Calls the DescribeVolumeStatus API operation.
|
|
2598
|
+
# @method describe_volume_status(options = {})
|
|
2599
|
+
#
|
|
2600
|
+
# === Options:
|
|
2601
|
+
#
|
|
2602
|
+
# * +:volume_ids+ - (Array<String>)
|
|
2603
|
+
# * +:filters+ - (Array<Hash>)
|
|
2604
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
2605
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
2606
|
+
# filter.
|
|
2607
|
+
# * +:next_token+ - (String)
|
|
2608
|
+
# * +:max_results+ - (Integer)
|
|
2609
|
+
#
|
|
2610
|
+
# === Response Structure:
|
|
2611
|
+
#
|
|
2612
|
+
# * +:volume_status_set+ - (Array<Hash>)
|
|
2613
|
+
# * +:volume_id+ - (String)
|
|
2614
|
+
# * +:availability_zone+ - (String)
|
|
2615
|
+
# * +:volume_status+ - (Hash)
|
|
2616
|
+
# * +:status+ - (String)
|
|
2617
|
+
# * +:details+ - (Array<Hash>)
|
|
2618
|
+
# * +:name+ - (String)
|
|
2619
|
+
# * +:status+ - (String)
|
|
2620
|
+
# * +:events_set+ - (Array<Hash>)
|
|
2621
|
+
# * +:event_type+ - (String)
|
|
2622
|
+
# * +:description+ - (String)
|
|
2623
|
+
# * +:not_before+ - (Time)
|
|
2624
|
+
# * +:not_after+ - (Time)
|
|
2625
|
+
# * +:event_id+ - (String)
|
|
2626
|
+
# * +:actions_set+ - (Array<Hash>)
|
|
2627
|
+
# * +:code+ - (String)
|
|
2628
|
+
# * +:description+ - (String)
|
|
2629
|
+
# * +:event_type+ - (String)
|
|
2630
|
+
# * +:event_id+ - (String)
|
|
2631
|
+
# * +:next_token+ - (String)
|
|
2632
|
+
#
|
|
2633
|
+
# @return [Core::Response]
|
|
2634
|
+
#
|
|
2635
|
+
define_client_method :describe_volume_status, 'DescribeVolumeStatus'
|
|
2636
|
+
|
|
2637
|
+
# Calls the DescribeVolumes API operation.
|
|
2638
|
+
# @method describe_volumes(options = {})
|
|
2639
|
+
#
|
|
2640
|
+
# === Options:
|
|
2641
|
+
#
|
|
2642
|
+
# * +:volume_ids+ - (Array<String>) The optional list of EBS volumes to
|
|
2643
|
+
# describe.
|
|
2644
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
2645
|
+
# for Volumes. For a complete reference to the available filter keys
|
|
2646
|
+
# for this operation, see the Amazon EC2 API reference.
|
|
2647
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
2648
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
2649
|
+
# filter.
|
|
2650
|
+
#
|
|
2651
|
+
# === Response Structure:
|
|
2652
|
+
#
|
|
2653
|
+
# * +:volume_set+ - (Array<Hash>)
|
|
2654
|
+
# * +:volume_id+ - (String)
|
|
2655
|
+
# * +:size+ - (Integer)
|
|
2656
|
+
# * +:snapshot_id+ - (String)
|
|
2657
|
+
# * +:availability_zone+ - (String)
|
|
2658
|
+
# * +:status+ - (String)
|
|
2659
|
+
# * +:create_time+ - (Time)
|
|
2660
|
+
# * +:attachment_set+ - (Array<Hash>)
|
|
2661
|
+
# * +:volume_id+ - (String)
|
|
2662
|
+
# * +:instance_id+ - (String)
|
|
2663
|
+
# * +:device+ - (String)
|
|
2664
|
+
# * +:status+ - (String)
|
|
2665
|
+
# * +:attach_time+ - (Time)
|
|
2666
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
2667
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
2668
|
+
# * +:key+ - (String)
|
|
2669
|
+
# * +:value+ - (String)
|
|
2670
|
+
#
|
|
2671
|
+
# @return [Core::Response]
|
|
2672
|
+
#
|
|
2673
|
+
define_client_method :describe_volumes, 'DescribeVolumes'
|
|
2674
|
+
|
|
2675
|
+
# Calls the DescribeVpcs API operation.
|
|
2676
|
+
# @method describe_vpcs(options = {})
|
|
2677
|
+
#
|
|
2678
|
+
# === Options:
|
|
2679
|
+
#
|
|
2680
|
+
# * +:vpc_ids+ - (Array<String>) The ID of a VPC you want information
|
|
2681
|
+
# about.
|
|
2682
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
2683
|
+
# for VPCs. For a complete reference to the available filter keys for
|
|
2684
|
+
# this operation, see the Amazon EC2 API reference.
|
|
2685
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
2686
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
2687
|
+
# filter.
|
|
2688
|
+
#
|
|
2689
|
+
# === Response Structure:
|
|
2690
|
+
#
|
|
2691
|
+
# * +:vpc_set+ - (Array<Hash>)
|
|
2692
|
+
# * +:vpc_id+ - (String)
|
|
2693
|
+
# * +:state+ - (String)
|
|
2694
|
+
# * +:cidr_block+ - (String)
|
|
2695
|
+
# * +:dhcp_options_id+ - (String)
|
|
2696
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
2697
|
+
# * +:key+ - (String)
|
|
2698
|
+
# * +:value+ - (String)
|
|
2699
|
+
# * +:instance_tenancy+ - (String)
|
|
2700
|
+
#
|
|
2701
|
+
# @return [Core::Response]
|
|
2702
|
+
#
|
|
2703
|
+
define_client_method :describe_vpcs, 'DescribeVpcs'
|
|
2704
|
+
|
|
2705
|
+
# Calls the DescribeVpnConnections API operation.
|
|
2706
|
+
# @method describe_vpn_connections(options = {})
|
|
2707
|
+
#
|
|
2708
|
+
# === Options:
|
|
2709
|
+
#
|
|
2710
|
+
# * +:vpn_connection_ids+ - (Array<String>) A VPN connection ID. More
|
|
2711
|
+
# than one may be specified per request.
|
|
2712
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
2713
|
+
# for VPN Connections. For a complete reference to the available filter
|
|
2714
|
+
# keys for this operation, see the Amazon EC2 API reference.
|
|
2715
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
2716
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
2717
|
+
# filter.
|
|
2718
|
+
#
|
|
2719
|
+
# === Response Structure:
|
|
2720
|
+
#
|
|
2721
|
+
# * +:vpn_connection_set+ - (Array<Hash>)
|
|
2722
|
+
# * +:vpn_connection_id+ - (String)
|
|
2723
|
+
# * +:state+ - (String)
|
|
2724
|
+
# * +:customer_gateway_configuration+ - (String)
|
|
2725
|
+
# * +:vpn_type+ - (String)
|
|
2726
|
+
# * +:customer_gateway_id+ - (String)
|
|
2727
|
+
# * +:vpn_gateway_id+ - (String)
|
|
2728
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
2729
|
+
# * +:key+ - (String)
|
|
2730
|
+
# * +:value+ - (String)
|
|
2731
|
+
# * +:vgw_telemetry+ - (Array<Hash>)
|
|
2732
|
+
# * +:outside_ip_address+ - (String)
|
|
2733
|
+
# * +:status+ - (String)
|
|
2734
|
+
# * +:last_status_change+ - (Time)
|
|
2735
|
+
# * +:status_message+ - (String)
|
|
2736
|
+
# * +:accepted_route_count+ - (Integer)
|
|
2737
|
+
#
|
|
2738
|
+
# @return [Core::Response]
|
|
2739
|
+
#
|
|
2740
|
+
define_client_method :describe_vpn_connections, 'DescribeVpnConnections'
|
|
2741
|
+
|
|
2742
|
+
# Calls the DescribeVpnGateways API operation.
|
|
2743
|
+
# @method describe_vpn_gateways(options = {})
|
|
2744
|
+
#
|
|
2745
|
+
# === Options:
|
|
2746
|
+
#
|
|
2747
|
+
# * +:vpn_gateway_ids+ - (Array<String>) A list of filters used to match
|
|
2748
|
+
# properties for VPN Gateways. For a complete reference to the
|
|
2749
|
+
# available filter keys for this operation, see the Amazon EC2 API
|
|
2750
|
+
# reference.
|
|
2751
|
+
# * +:filters+ - (Array<Hash>) A list of filters used to match properties
|
|
2752
|
+
# for VPN Gateways. For a complete reference to the available filter
|
|
2753
|
+
# keys for this operation, see the Amazon EC2 API reference.
|
|
2754
|
+
# * +:name+ - (String) Specifies the name of the filter.
|
|
2755
|
+
# * +:values+ - (Array<String>) Contains one or more values for the
|
|
2756
|
+
# filter.
|
|
2757
|
+
#
|
|
2758
|
+
# === Response Structure:
|
|
2759
|
+
#
|
|
2760
|
+
# * +:vpn_gateway_set+ - (Array<Hash>)
|
|
2761
|
+
# * +:vpn_gateway_id+ - (String)
|
|
2762
|
+
# * +:state+ - (String)
|
|
2763
|
+
# * +:vpn_type+ - (String)
|
|
2764
|
+
# * +:availability_zone+ - (String)
|
|
2765
|
+
# * +:attachments+ - (Array<Hash>)
|
|
2766
|
+
# * +:vpc_id+ - (String)
|
|
2767
|
+
# * +:state+ - (String)
|
|
2768
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
2769
|
+
# * +:key+ - (String)
|
|
2770
|
+
# * +:value+ - (String)
|
|
2771
|
+
#
|
|
2772
|
+
# @return [Core::Response]
|
|
2773
|
+
#
|
|
2774
|
+
define_client_method :describe_vpn_gateways, 'DescribeVpnGateways'
|
|
2775
|
+
|
|
2776
|
+
# Calls the DetachInternetGateway API operation.
|
|
2777
|
+
# @method detach_internet_gateway(options = {})
|
|
2778
|
+
#
|
|
2779
|
+
# === Options:
|
|
2780
|
+
#
|
|
2781
|
+
# * +:internet_gateway_id+ - *required* - (String) The ID of the Internet
|
|
2782
|
+
# gateway to detach.
|
|
2783
|
+
# * +:vpc_id+ - *required* - (String) The ID of the VPC.
|
|
2784
|
+
#
|
|
2785
|
+
# === Response Structure:
|
|
2786
|
+
#
|
|
2787
|
+
# This method returns no response data.
|
|
2788
|
+
#
|
|
2789
|
+
# @return [Core::Response]
|
|
2790
|
+
#
|
|
2791
|
+
define_client_method :detach_internet_gateway, 'DetachInternetGateway'
|
|
2792
|
+
|
|
2793
|
+
# Calls the DetachNetworkInterface API operation.
|
|
2794
|
+
# @method detach_network_interface(options = {})
|
|
2795
|
+
#
|
|
2796
|
+
# === Options:
|
|
2797
|
+
#
|
|
2798
|
+
# * +:attachment_id+ - *required* - (String)
|
|
2799
|
+
# * +:force+ - (Boolean)
|
|
2800
|
+
#
|
|
2801
|
+
# === Response Structure:
|
|
2802
|
+
#
|
|
2803
|
+
# This method returns no response data.
|
|
2804
|
+
#
|
|
2805
|
+
# @return [Core::Response]
|
|
2806
|
+
#
|
|
2807
|
+
define_client_method :detach_network_interface, 'DetachNetworkInterface'
|
|
2808
|
+
|
|
2809
|
+
# Calls the DetachVolume API operation.
|
|
2810
|
+
# @method detach_volume(options = {})
|
|
2811
|
+
#
|
|
2812
|
+
# === Options:
|
|
2813
|
+
#
|
|
2814
|
+
# * +:volume_id+ - *required* - (String) The ID of the volume to detach.
|
|
2815
|
+
# * +:instance_id+ - (String) The ID of the instance from which to detach
|
|
2816
|
+
# the the specified volume.
|
|
2817
|
+
# * +:device+ - (String) The device name to which the volume is attached
|
|
2818
|
+
# on the specified instance.
|
|
2819
|
+
# * +:force+ - (Boolean) Forces detachment if the previous detachment
|
|
2820
|
+
# attempt did not occur cleanly (logging into an instance, unmounting
|
|
2821
|
+
# the volume, and detaching normally). This option can lead to data
|
|
2822
|
+
# loss or a corrupted file system. Use this option only as a last
|
|
2823
|
+
# resort to detach a volume from a failed instance. The instance will
|
|
2824
|
+
# not have an opportunity to flush file system caches nor file system
|
|
2825
|
+
# meta data. If you use this option, you must perform file system check
|
|
2826
|
+
# and repair procedures.
|
|
2827
|
+
#
|
|
2828
|
+
# === Response Structure:
|
|
2829
|
+
#
|
|
2830
|
+
# * +:volume_id+ - (String)
|
|
2831
|
+
# * +:instance_id+ - (String)
|
|
2832
|
+
# * +:device+ - (String)
|
|
2833
|
+
# * +:status+ - (String)
|
|
2834
|
+
# * +:attach_time+ - (Time)
|
|
2835
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
2836
|
+
#
|
|
2837
|
+
# @return [Core::Response]
|
|
2838
|
+
#
|
|
2839
|
+
define_client_method :detach_volume, 'DetachVolume'
|
|
2840
|
+
|
|
2841
|
+
# Calls the DetachVpnGateway API operation.
|
|
2842
|
+
# @method detach_vpn_gateway(options = {})
|
|
2843
|
+
#
|
|
2844
|
+
# === Options:
|
|
2845
|
+
#
|
|
2846
|
+
# * +:vpn_gateway_id+ - *required* - (String) The ID of the VPN gateway
|
|
2847
|
+
# to detach from the VPC.
|
|
2848
|
+
# * +:vpc_id+ - *required* - (String) The ID of the VPC to detach the VPN
|
|
2849
|
+
# gateway from.
|
|
2850
|
+
#
|
|
2851
|
+
# === Response Structure:
|
|
2852
|
+
#
|
|
2853
|
+
# This method returns no response data.
|
|
2854
|
+
#
|
|
2855
|
+
# @return [Core::Response]
|
|
2856
|
+
#
|
|
2857
|
+
define_client_method :detach_vpn_gateway, 'DetachVpnGateway'
|
|
2858
|
+
|
|
2859
|
+
# Calls the DisassociateAddress API operation.
|
|
2860
|
+
# @method disassociate_address(options = {})
|
|
2861
|
+
#
|
|
2862
|
+
# === Options:
|
|
2863
|
+
#
|
|
2864
|
+
# * +:public_ip+ - (String) The elastic IP address that you are
|
|
2865
|
+
# disassociating from the instance.
|
|
2866
|
+
# * +:association_id+ - (String) Association ID corresponding to the VPC
|
|
2867
|
+
# elastic IP address you want to disassociate.
|
|
2868
|
+
#
|
|
2869
|
+
# === Response Structure:
|
|
2870
|
+
#
|
|
2871
|
+
# This method returns no response data.
|
|
2872
|
+
#
|
|
2873
|
+
# @return [Core::Response]
|
|
2874
|
+
#
|
|
2875
|
+
define_client_method :disassociate_address, 'DisassociateAddress'
|
|
2876
|
+
|
|
2877
|
+
# Calls the DisassociateRouteTable API operation.
|
|
2878
|
+
# @method disassociate_route_table(options = {})
|
|
2879
|
+
#
|
|
2880
|
+
# === Options:
|
|
2881
|
+
#
|
|
2882
|
+
# * +:association_id+ - *required* - (String) The association ID
|
|
2883
|
+
# representing the current association between the route table and
|
|
2884
|
+
# subnet.
|
|
2885
|
+
#
|
|
2886
|
+
# === Response Structure:
|
|
2887
|
+
#
|
|
2888
|
+
# This method returns no response data.
|
|
2889
|
+
#
|
|
2890
|
+
# @return [Core::Response]
|
|
2891
|
+
#
|
|
2892
|
+
define_client_method :disassociate_route_table, 'DisassociateRouteTable'
|
|
2893
|
+
|
|
2894
|
+
# Calls the EnableVolumeIO API operation.
|
|
2895
|
+
# @method enable_volume_io(options = {})
|
|
2896
|
+
#
|
|
2897
|
+
# === Options:
|
|
2898
|
+
#
|
|
2899
|
+
# * +:volume_id+ - *required* - (String)
|
|
2900
|
+
#
|
|
2901
|
+
# === Response Structure:
|
|
2902
|
+
#
|
|
2903
|
+
# This method returns no response data.
|
|
2904
|
+
#
|
|
2905
|
+
# @return [Core::Response]
|
|
2906
|
+
#
|
|
2907
|
+
define_client_method :enable_volume_io, 'EnableVolumeIO'
|
|
2908
|
+
|
|
2909
|
+
# Calls the GetConsoleOutput API operation.
|
|
2910
|
+
# @method get_console_output(options = {})
|
|
2911
|
+
#
|
|
2912
|
+
# === Options:
|
|
2913
|
+
#
|
|
2914
|
+
# * +:instance_id+ - *required* - (String) The ID of the instance for
|
|
2915
|
+
# which you want console output.
|
|
2916
|
+
#
|
|
2917
|
+
# === Response Structure:
|
|
2918
|
+
#
|
|
2919
|
+
# * +:instance_id+ - (String)
|
|
2920
|
+
# * +:timestamp+ - (Time)
|
|
2921
|
+
# * +:output+ - (String)
|
|
2922
|
+
#
|
|
2923
|
+
# @return [Core::Response]
|
|
2924
|
+
#
|
|
2925
|
+
define_client_method :get_console_output, 'GetConsoleOutput'
|
|
2926
|
+
|
|
2927
|
+
# Calls the GetPasswordData API operation.
|
|
2928
|
+
# @method get_password_data(options = {})
|
|
2929
|
+
#
|
|
2930
|
+
# === Options:
|
|
2931
|
+
#
|
|
2932
|
+
# * +:instance_id+ - *required* - (String) The ID of the instance for
|
|
2933
|
+
# which you want the Windows administrator password.
|
|
2934
|
+
#
|
|
2935
|
+
# === Response Structure:
|
|
2936
|
+
#
|
|
2937
|
+
# * +:instance_id+ - (String)
|
|
2938
|
+
# * +:timestamp+ - (Time)
|
|
2939
|
+
# * +:password_data+ - (String)
|
|
2940
|
+
#
|
|
2941
|
+
# @return [Core::Response]
|
|
2942
|
+
#
|
|
2943
|
+
define_client_method :get_password_data, 'GetPasswordData'
|
|
2944
|
+
|
|
2945
|
+
# Calls the ImportInstance API operation.
|
|
2946
|
+
# @method import_instance(options = {})
|
|
2947
|
+
#
|
|
2948
|
+
# === Options:
|
|
2949
|
+
#
|
|
2950
|
+
# * +:description+ - (String)
|
|
2951
|
+
# * +:launch_specification+ - (Hash)
|
|
2952
|
+
# * +:architecture+ - (String)
|
|
2953
|
+
# * +:security_groups+ - (Array<String>)
|
|
2954
|
+
# * +:additional_info+ - (String)
|
|
2955
|
+
# * +:user_data+ - (String)
|
|
2956
|
+
# * +:instance_type+ - (String)
|
|
2957
|
+
# * +:placement+ - (Hash)
|
|
2958
|
+
# * +:availability_zone+ - (String) The availability zone in which an
|
|
2959
|
+
# Amazon EC2 instance runs.
|
|
2960
|
+
# * +:group_name+ - (String) The name of the PlacementGroup in which
|
|
2961
|
+
# an Amazon EC2 instance runs. Placement groups are primarily used
|
|
2962
|
+
# for launching High Performance Computing instances in the same
|
|
2963
|
+
# group to ensure fast connection speeds.
|
|
2964
|
+
# * +:tenancy+ - (String) The allowed tenancy of instances launched
|
|
2965
|
+
# into the VPC. A value of default means instances can be launched
|
|
2966
|
+
# with any tenancy; a value of dedicated means all instances
|
|
2967
|
+
# launched into the VPC will be launched as dedicated tenancy
|
|
2968
|
+
# regardless of the tenancy assigned to the instance at launch.
|
|
2969
|
+
# * +:block_device_mappings+ - (Array<Hash>)
|
|
2970
|
+
# * +:virtual_name+ - (String) Specifies the virtual device name.
|
|
2971
|
+
# * +:device_name+ - (String) Specifies the device name (e.g.,
|
|
2972
|
+
# /dev/sdh).
|
|
2973
|
+
# * +:ebs+ - (Hash) Specifies parameters used to automatically setup
|
|
2974
|
+
# Amazon EBS volumes when the instance is launched.
|
|
2975
|
+
# * +:snapshot_id+ - (String) The ID of the snapshot from which the
|
|
2976
|
+
# volume will be created.
|
|
2977
|
+
# * +:volume_size+ - (Integer) The size of the volume, in
|
|
2978
|
+
# gigabytes.
|
|
2979
|
+
# * +:delete_on_termination+ - (Boolean) Specifies whether the
|
|
2980
|
+
# Amazon EBS volume is deleted on instance termination.
|
|
2981
|
+
# * +:no_device+ - (String) Specifies the device name to suppress
|
|
2982
|
+
# during instance launch.
|
|
2983
|
+
# * +:monitoring+ - (Boolean)
|
|
2984
|
+
# * +:subnet_id+ - (String)
|
|
2985
|
+
# * +:disable_api_termination+ - (Boolean)
|
|
2986
|
+
# * +:instance_initiated_shutdown_behavior+ - (String)
|
|
2987
|
+
# * +:private_ip_address+ - (String)
|
|
2988
|
+
# * +:disk_images+ - (Array<Hash>)
|
|
2989
|
+
# * +:image+ - (Hash)
|
|
2990
|
+
# * +:format+ - *required* - (String)
|
|
2991
|
+
# * +:bytes+ - *required* - (Integer)
|
|
2992
|
+
# * +:import_manifest_url+ - *required* - (String)
|
|
2993
|
+
# * +:description+ - (String)
|
|
2994
|
+
# * +:volume+ - (Hash)
|
|
2995
|
+
# * +:size+ - *required* - (Integer)
|
|
2996
|
+
# * +:platform+ - *required* - (String)
|
|
2997
|
+
#
|
|
2998
|
+
# === Response Structure:
|
|
2999
|
+
#
|
|
3000
|
+
# * +:conversion_task+ - (Hash)
|
|
3001
|
+
# * +:conversion_task_id+ - (String)
|
|
3002
|
+
# * +:expiration_time+ - (String)
|
|
3003
|
+
# * +:import_instance+ - (Hash)
|
|
3004
|
+
# * +:volumes+ - (Array<Hash>)
|
|
3005
|
+
# * +:bytes_converted+ - (Integer)
|
|
3006
|
+
# * +:availability_zone+ - (String)
|
|
3007
|
+
# * +:image+ - (Hash)
|
|
3008
|
+
# * +:format+ - (String)
|
|
3009
|
+
# * +:size+ - (Integer)
|
|
3010
|
+
# * +:import_manifest_url+ - (String)
|
|
3011
|
+
# * +:checksum+ - (String)
|
|
3012
|
+
# * +:volume+ - (Hash)
|
|
3013
|
+
# * +:size+ - (Integer)
|
|
3014
|
+
# * +:id+ - (String)
|
|
3015
|
+
# * +:status+ - (String)
|
|
3016
|
+
# * +:status_message+ - (String)
|
|
3017
|
+
# * +:description+ - (String)
|
|
3018
|
+
# * +:instance_id+ - (String)
|
|
3019
|
+
# * +:platform+ - (String)
|
|
3020
|
+
# * +:description+ - (String)
|
|
3021
|
+
# * +:import_volume+ - (Hash)
|
|
3022
|
+
# * +:bytes_converted+ - (Integer)
|
|
3023
|
+
# * +:availability_zone+ - (String)
|
|
3024
|
+
# * +:description+ - (String)
|
|
3025
|
+
# * +:image+ - (Hash)
|
|
3026
|
+
# * +:format+ - (String)
|
|
3027
|
+
# * +:size+ - (Integer)
|
|
3028
|
+
# * +:import_manifest_url+ - (String)
|
|
3029
|
+
# * +:checksum+ - (String)
|
|
3030
|
+
# * +:volume+ - (Hash)
|
|
3031
|
+
# * +:size+ - (Integer)
|
|
3032
|
+
# * +:id+ - (String)
|
|
3033
|
+
# * +:state+ - (String)
|
|
3034
|
+
# * +:status_message+ - (String)
|
|
3035
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
3036
|
+
# * +:key+ - (String)
|
|
3037
|
+
# * +:value+ - (String)
|
|
3038
|
+
#
|
|
3039
|
+
# @return [Core::Response]
|
|
3040
|
+
#
|
|
3041
|
+
define_client_method :import_instance, 'ImportInstance'
|
|
3042
|
+
|
|
3043
|
+
# Calls the ImportKeyPair API operation.
|
|
3044
|
+
# @method import_key_pair(options = {})
|
|
3045
|
+
#
|
|
3046
|
+
# === Options:
|
|
3047
|
+
#
|
|
3048
|
+
# * +:key_name+ - *required* - (String) The unique name for the key pair.
|
|
3049
|
+
# * +:public_key_material+ - *required* - (String) The public key portion
|
|
3050
|
+
# of the key pair being imported.
|
|
3051
|
+
#
|
|
3052
|
+
# === Response Structure:
|
|
3053
|
+
#
|
|
3054
|
+
# * +:key_name+ - (String)
|
|
3055
|
+
# * +:key_fingerprint+ - (String)
|
|
3056
|
+
#
|
|
3057
|
+
# @return [Core::Response]
|
|
3058
|
+
#
|
|
3059
|
+
define_client_method :import_key_pair, 'ImportKeyPair'
|
|
3060
|
+
|
|
3061
|
+
# Calls the ImportVolume API operation.
|
|
3062
|
+
# @method import_volume(options = {})
|
|
3063
|
+
#
|
|
3064
|
+
# === Options:
|
|
3065
|
+
#
|
|
3066
|
+
# * +:availability_zone+ - (String)
|
|
3067
|
+
# * +:image+ - (Hash)
|
|
3068
|
+
# * +:format+ - *required* - (String)
|
|
3069
|
+
# * +:bytes+ - *required* - (Integer)
|
|
3070
|
+
# * +:import_manifest_url+ - *required* - (String)
|
|
3071
|
+
# * +:description+ - (String)
|
|
3072
|
+
# * +:volume+ - (Hash)
|
|
3073
|
+
# * +:size+ - *required* - (Integer)
|
|
3074
|
+
#
|
|
3075
|
+
# === Response Structure:
|
|
3076
|
+
#
|
|
3077
|
+
# * +:conversion_task+ - (Hash)
|
|
3078
|
+
# * +:conversion_task_id+ - (String)
|
|
3079
|
+
# * +:expiration_time+ - (String)
|
|
3080
|
+
# * +:import_instance+ - (Hash)
|
|
3081
|
+
# * +:volumes+ - (Array<Hash>)
|
|
3082
|
+
# * +:bytes_converted+ - (Integer)
|
|
3083
|
+
# * +:availability_zone+ - (String)
|
|
3084
|
+
# * +:image+ - (Hash)
|
|
3085
|
+
# * +:format+ - (String)
|
|
3086
|
+
# * +:size+ - (Integer)
|
|
3087
|
+
# * +:import_manifest_url+ - (String)
|
|
3088
|
+
# * +:checksum+ - (String)
|
|
3089
|
+
# * +:volume+ - (Hash)
|
|
3090
|
+
# * +:size+ - (Integer)
|
|
3091
|
+
# * +:id+ - (String)
|
|
3092
|
+
# * +:status+ - (String)
|
|
3093
|
+
# * +:status_message+ - (String)
|
|
3094
|
+
# * +:description+ - (String)
|
|
3095
|
+
# * +:instance_id+ - (String)
|
|
3096
|
+
# * +:platform+ - (String)
|
|
3097
|
+
# * +:description+ - (String)
|
|
3098
|
+
# * +:import_volume+ - (Hash)
|
|
3099
|
+
# * +:bytes_converted+ - (Integer)
|
|
3100
|
+
# * +:availability_zone+ - (String)
|
|
3101
|
+
# * +:description+ - (String)
|
|
3102
|
+
# * +:image+ - (Hash)
|
|
3103
|
+
# * +:format+ - (String)
|
|
3104
|
+
# * +:size+ - (Integer)
|
|
3105
|
+
# * +:import_manifest_url+ - (String)
|
|
3106
|
+
# * +:checksum+ - (String)
|
|
3107
|
+
# * +:volume+ - (Hash)
|
|
3108
|
+
# * +:size+ - (Integer)
|
|
3109
|
+
# * +:id+ - (String)
|
|
3110
|
+
# * +:state+ - (String)
|
|
3111
|
+
# * +:status_message+ - (String)
|
|
3112
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
3113
|
+
# * +:key+ - (String)
|
|
3114
|
+
# * +:value+ - (String)
|
|
3115
|
+
#
|
|
3116
|
+
# @return [Core::Response]
|
|
3117
|
+
#
|
|
3118
|
+
define_client_method :import_volume, 'ImportVolume'
|
|
3119
|
+
|
|
3120
|
+
# Calls the ModifyImageAttribute API operation.
|
|
3121
|
+
# @method modify_image_attribute(options = {})
|
|
3122
|
+
#
|
|
3123
|
+
# === Options:
|
|
3124
|
+
#
|
|
3125
|
+
# * +:image_id+ - *required* - (String) The ID of the AMI whose attribute
|
|
3126
|
+
# you want to modify.
|
|
3127
|
+
# * +:attribute+ - (String) The name of the AMI attribute you want to
|
|
3128
|
+
# modify. Available attributes: launchPermission, productCodes
|
|
3129
|
+
# * +:operation_type+ - (String) The type of operation being requested.
|
|
3130
|
+
# Available operation types: add, remove
|
|
3131
|
+
# * +:user_ids+ - (Array<String>) The AWS user ID being added to or
|
|
3132
|
+
# removed from the list of users with launch permissions for this AMI.
|
|
3133
|
+
# Only valid when the launchPermission attribute is being modified.
|
|
3134
|
+
# * +:user_groups+ - (Array<String>) The user group being added to or
|
|
3135
|
+
# removed from the list of user groups with launch permissions for this
|
|
3136
|
+
# AMI. Only valid when the launchPermission attribute is being
|
|
3137
|
+
# modified. Available user groups: all
|
|
3138
|
+
# * +:product_codes+ - (Array<String>) The list of product codes being
|
|
3139
|
+
# added to or removed from the specified AMI. Only valid when the
|
|
3140
|
+
# productCodes attribute is being modified.
|
|
3141
|
+
# * +:value+ - (String) The value of the attribute being modified. Only
|
|
3142
|
+
# valid when the description attribute is being modified.
|
|
3143
|
+
# * +:launch_permission+ - (Hash)
|
|
3144
|
+
# * +:add+ - (Array<Hash>)
|
|
3145
|
+
# * +:user_id+ - (String) The AWS user ID of the user involved in
|
|
3146
|
+
# this launch permission.
|
|
3147
|
+
# * +:group+ - (String) The AWS group of the user involved in this
|
|
3148
|
+
# launch permission. Available groups: all
|
|
3149
|
+
# * +:remove+ - (Array<Hash>)
|
|
3150
|
+
# * +:user_id+ - (String) The AWS user ID of the user involved in
|
|
3151
|
+
# this launch permission.
|
|
3152
|
+
# * +:group+ - (String) The AWS group of the user involved in this
|
|
3153
|
+
# launch permission. Available groups: all
|
|
3154
|
+
# * +:description+ - (Hash)
|
|
3155
|
+
# * +:value+ - (String) String value
|
|
3156
|
+
#
|
|
3157
|
+
# === Response Structure:
|
|
3158
|
+
#
|
|
3159
|
+
# This method returns no response data.
|
|
3160
|
+
#
|
|
3161
|
+
# @return [Core::Response]
|
|
3162
|
+
#
|
|
3163
|
+
define_client_method :modify_image_attribute, 'ModifyImageAttribute'
|
|
3164
|
+
|
|
3165
|
+
# Calls the ModifyInstanceAttribute API operation.
|
|
3166
|
+
# @method modify_instance_attribute(options = {})
|
|
3167
|
+
#
|
|
3168
|
+
# === Options:
|
|
3169
|
+
#
|
|
3170
|
+
# * +:instance_id+ - *required* - (String) The ID of the instance whose
|
|
3171
|
+
# attribute is being modified.
|
|
3172
|
+
# * +:attribute+ - (String) The name of the attribute being modified.
|
|
3173
|
+
# Available attribute names: instanceType, kernel, ramdisk, userData,
|
|
3174
|
+
# disableApiTermination, instanceInitiatedShutdownBehavior, rootDevice,
|
|
3175
|
+
# blockDeviceMapping
|
|
3176
|
+
# * +:value+ - (String) The new value of the instance attribute being
|
|
3177
|
+
# modified. Only valid when kernel, ramdisk, userData,
|
|
3178
|
+
# disableApiTermination or instanceInitiateShutdownBehavior is
|
|
3179
|
+
# specified as the attribute being modified.
|
|
3180
|
+
# * +:block_device_mappings+ - (Array<Hash>) The new block device
|
|
3181
|
+
# mappings for the instance whose attributes are being modified. Only
|
|
3182
|
+
# valid when blockDeviceMapping is specified as the attribute being
|
|
3183
|
+
# modified.
|
|
3184
|
+
# * +:device_name+ - (String) The device name (e.g., /dev/sdh) at which
|
|
3185
|
+
# the block device is exposed on the instance.
|
|
3186
|
+
# * +:ebs+ - (Hash) The EBS instance block device specification
|
|
3187
|
+
# describing the EBS block device to map to the specified device name
|
|
3188
|
+
# on a running instance.
|
|
3189
|
+
# * +:volume_id+ - (String) The ID of the EBS volume that should be
|
|
3190
|
+
# mounted as a block device on an Amazon EC2 instance.
|
|
3191
|
+
# * +:delete_on_termination+ - (Boolean) Specifies whether the Amazon
|
|
3192
|
+
# EBS volume is deleted on instance termination.
|
|
3193
|
+
# * +:virtual_name+ - (String) The virtual device name.
|
|
3194
|
+
# * +:no_device+ - (String) When set to the empty string, specifies
|
|
3195
|
+
# that the device name in this object should not be mapped to any
|
|
3196
|
+
# real device.
|
|
3197
|
+
# * +:source_dest_check+ - (Hash)
|
|
3198
|
+
# * +:value+ - (Boolean) Boolean value
|
|
3199
|
+
# * +:disable_api_termination+ - (Hash)
|
|
3200
|
+
# * +:value+ - (Boolean) Boolean value
|
|
3201
|
+
# * +:instance_type+ - (Hash)
|
|
3202
|
+
# * +:value+ - (String) String value
|
|
3203
|
+
# * +:kernel+ - (Hash)
|
|
3204
|
+
# * +:value+ - (String) String value
|
|
3205
|
+
# * +:ramdisk+ - (Hash)
|
|
3206
|
+
# * +:value+ - (String) String value
|
|
3207
|
+
# * +:user_data+ - (Hash)
|
|
3208
|
+
# * +:value+ - (String) String value
|
|
3209
|
+
# * +:instance_initiated_shutdown_behavior+ - (Hash)
|
|
3210
|
+
# * +:value+ - (String) String value
|
|
3211
|
+
# * +:groups+ - (Array<String>)
|
|
3212
|
+
#
|
|
3213
|
+
# === Response Structure:
|
|
3214
|
+
#
|
|
3215
|
+
# This method returns no response data.
|
|
3216
|
+
#
|
|
3217
|
+
# @return [Core::Response]
|
|
3218
|
+
#
|
|
3219
|
+
define_client_method :modify_instance_attribute, 'ModifyInstanceAttribute'
|
|
3220
|
+
|
|
3221
|
+
# Calls the ModifyNetworkInterfaceAttribute API operation.
|
|
3222
|
+
# @method modify_network_interface_attribute(options = {})
|
|
3223
|
+
#
|
|
3224
|
+
# === Options:
|
|
3225
|
+
#
|
|
3226
|
+
# * +:network_interface_id+ - *required* - (String)
|
|
3227
|
+
# * +:description+ - (Hash)
|
|
3228
|
+
# * +:value+ - (String) String value
|
|
3229
|
+
# * +:source_dest_check+ - (Hash)
|
|
3230
|
+
# * +:value+ - (Boolean) Boolean value
|
|
3231
|
+
# * +:groups+ - (Array<String>)
|
|
3232
|
+
# * +:attachment+ - (Hash)
|
|
3233
|
+
# * +:attachment_id+ - (String)
|
|
3234
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
3235
|
+
#
|
|
3236
|
+
# === Response Structure:
|
|
3237
|
+
#
|
|
3238
|
+
# This method returns no response data.
|
|
3239
|
+
#
|
|
3240
|
+
# @return [Core::Response]
|
|
3241
|
+
#
|
|
3242
|
+
define_client_method :modify_network_interface_attribute, 'ModifyNetworkInterfaceAttribute'
|
|
3243
|
+
|
|
3244
|
+
# Calls the ModifySnapshotAttribute API operation.
|
|
3245
|
+
# @method modify_snapshot_attribute(options = {})
|
|
3246
|
+
#
|
|
3247
|
+
# === Options:
|
|
3248
|
+
#
|
|
3249
|
+
# * +:snapshot_id+ - *required* - (String) The ID of the EBS snapshot
|
|
3250
|
+
# whose attributes are being modified.
|
|
3251
|
+
# * +:attribute+ - (String) The name of the attribute being modified.
|
|
3252
|
+
# Available attribute names: createVolumePermission
|
|
3253
|
+
# * +:operation_type+ - (String) The operation to perform on the
|
|
3254
|
+
# attribute. Available operation names: add, remove
|
|
3255
|
+
# * +:user_ids+ - (Array<String>) The AWS user IDs to add to or remove
|
|
3256
|
+
# from the list of users that have permission to create EBS volumes
|
|
3257
|
+
# from the specified snapshot. Currently supports "all". Only valid
|
|
3258
|
+
# when the createVolumePermission attribute is being modified.
|
|
3259
|
+
# * +:group_names+ - (Array<String>) The AWS group names to add to or
|
|
3260
|
+
# remove from the list of groups that have permission to create EBS
|
|
3261
|
+
# volumes from the specified snapshot. Currently supports "all". Only
|
|
3262
|
+
# valid when the createVolumePermission attribute is being modified.
|
|
3263
|
+
# * +:create_volume_permission+ - (Hash)
|
|
3264
|
+
# * +:add+ - (Array<Hash>)
|
|
3265
|
+
# * +:user_id+ - (String) The user ID of the user that can create
|
|
3266
|
+
# volumes from the snapshot.
|
|
3267
|
+
# * +:group+ - (String) The group that is allowed to create volumes
|
|
3268
|
+
# from the snapshot (currently supports "all").
|
|
3269
|
+
# * +:remove+ - (Array<Hash>)
|
|
3270
|
+
# * +:user_id+ - (String) The user ID of the user that can create
|
|
3271
|
+
# volumes from the snapshot.
|
|
3272
|
+
# * +:group+ - (String) The group that is allowed to create volumes
|
|
3273
|
+
# from the snapshot (currently supports "all").
|
|
3274
|
+
#
|
|
3275
|
+
# === Response Structure:
|
|
3276
|
+
#
|
|
3277
|
+
# This method returns no response data.
|
|
3278
|
+
#
|
|
3279
|
+
# @return [Core::Response]
|
|
3280
|
+
#
|
|
3281
|
+
define_client_method :modify_snapshot_attribute, 'ModifySnapshotAttribute'
|
|
3282
|
+
|
|
3283
|
+
# Calls the ModifyVolumeAttribute API operation.
|
|
3284
|
+
# @method modify_volume_attribute(options = {})
|
|
3285
|
+
#
|
|
3286
|
+
# === Options:
|
|
3287
|
+
#
|
|
3288
|
+
# * +:volume_id+ - *required* - (String)
|
|
3289
|
+
# * +:auto_enable_io+ - (Boolean)
|
|
3290
|
+
#
|
|
3291
|
+
# === Response Structure:
|
|
3292
|
+
#
|
|
3293
|
+
# This method returns no response data.
|
|
3294
|
+
#
|
|
3295
|
+
# @return [Core::Response]
|
|
3296
|
+
#
|
|
3297
|
+
define_client_method :modify_volume_attribute, 'ModifyVolumeAttribute'
|
|
3298
|
+
|
|
3299
|
+
# Calls the MonitorInstances API operation.
|
|
3300
|
+
# @method monitor_instances(options = {})
|
|
3301
|
+
#
|
|
3302
|
+
# === Options:
|
|
3303
|
+
#
|
|
3304
|
+
# * +:instance_ids+ - *required* - (Array<String>) The list of Amazon EC2
|
|
3305
|
+
# instances on which to enable monitoring.
|
|
3306
|
+
#
|
|
3307
|
+
# === Response Structure:
|
|
3308
|
+
#
|
|
3309
|
+
# * +:instances_set+ - (Array<Hash>)
|
|
3310
|
+
# * +:instance_id+ - (String)
|
|
3311
|
+
# * +:monitoring+ - (Hash)
|
|
3312
|
+
# * +:state+ - (String)
|
|
3313
|
+
#
|
|
3314
|
+
# @return [Core::Response]
|
|
3315
|
+
#
|
|
3316
|
+
define_client_method :monitor_instances, 'MonitorInstances'
|
|
3317
|
+
|
|
3318
|
+
# Calls the PurchaseReservedInstancesOffering API operation.
|
|
3319
|
+
# @method purchase_reserved_instances_offering(options = {})
|
|
3320
|
+
#
|
|
3321
|
+
# === Options:
|
|
3322
|
+
#
|
|
3323
|
+
# * +:reserved_instances_offering_id+ - *required* - (String) The unique
|
|
3324
|
+
# ID of the Reserved Instances offering being purchased.
|
|
3325
|
+
# * +:instance_count+ - *required* - (Integer) The number of Reserved
|
|
3326
|
+
# Instances to purchase.
|
|
3327
|
+
#
|
|
3328
|
+
# === Response Structure:
|
|
3329
|
+
#
|
|
3330
|
+
# * +:reserved_instances_id+ - (String)
|
|
3331
|
+
#
|
|
3332
|
+
# @return [Core::Response]
|
|
3333
|
+
#
|
|
3334
|
+
define_client_method :purchase_reserved_instances_offering, 'PurchaseReservedInstancesOffering'
|
|
3335
|
+
|
|
3336
|
+
# Calls the RebootInstances API operation.
|
|
3337
|
+
# @method reboot_instances(options = {})
|
|
3338
|
+
#
|
|
3339
|
+
# === Options:
|
|
3340
|
+
#
|
|
3341
|
+
# * +:instance_ids+ - *required* - (Array<String>) The list of instances
|
|
3342
|
+
# to terminate.
|
|
3343
|
+
#
|
|
3344
|
+
# === Response Structure:
|
|
3345
|
+
#
|
|
3346
|
+
# This method returns no response data.
|
|
3347
|
+
#
|
|
3348
|
+
# @return [Core::Response]
|
|
3349
|
+
#
|
|
3350
|
+
define_client_method :reboot_instances, 'RebootInstances'
|
|
3351
|
+
|
|
3352
|
+
# Calls the RegisterImage API operation.
|
|
3353
|
+
# @method register_image(options = {})
|
|
3354
|
+
#
|
|
3355
|
+
# === Options:
|
|
3356
|
+
#
|
|
3357
|
+
# * +:image_location+ - (String) The full path to your AMI manifest in
|
|
3358
|
+
# Amazon S3 storage.
|
|
3359
|
+
# * +:name+ - (String) The name to give the new Amazon Machine Image.
|
|
3360
|
+
# Constraints: 3-128 alphanumeric characters, parenthesis (()), commas
|
|
3361
|
+
# (,), slashes (/), dashes (-), or underscores(_)
|
|
3362
|
+
# * +:description+ - (String) The description describing the new AMI.
|
|
3363
|
+
# * +:architecture+ - (String) The architecture of the image. Valid
|
|
3364
|
+
# Values: i386, x86_64
|
|
3365
|
+
# * +:kernel_id+ - (String) The optional ID of a specific kernel to
|
|
3366
|
+
# register with the new AMI.
|
|
3367
|
+
# * +:ramdisk_id+ - (String) The optional ID of a specific ramdisk to
|
|
3368
|
+
# register with the new AMI. Some kernels require additional drivers at
|
|
3369
|
+
# launch. Check the kernel requirements for information on whether you
|
|
3370
|
+
# need to specify a RAM disk.
|
|
3371
|
+
# * +:root_device_name+ - (String) The root device name (e.g.,
|
|
3372
|
+
# /dev/sda1).
|
|
3373
|
+
# * +:block_device_mappings+ - (Array<Hash>) The block device mappings
|
|
3374
|
+
# for the new AMI, which specify how different block devices (ex: EBS
|
|
3375
|
+
# volumes and ephemeral drives) will be exposed on instances launched
|
|
3376
|
+
# from the new image.
|
|
3377
|
+
# * +:virtual_name+ - (String) Specifies the virtual device name.
|
|
3378
|
+
# * +:device_name+ - (String) Specifies the device name (e.g.,
|
|
3379
|
+
# /dev/sdh).
|
|
3380
|
+
# * +:ebs+ - (Hash) Specifies parameters used to automatically setup
|
|
3381
|
+
# Amazon EBS volumes when the instance is launched.
|
|
3382
|
+
# * +:snapshot_id+ - (String) The ID of the snapshot from which the
|
|
3383
|
+
# volume will be created.
|
|
3384
|
+
# * +:volume_size+ - (Integer) The size of the volume, in gigabytes.
|
|
3385
|
+
# * +:delete_on_termination+ - (Boolean) Specifies whether the Amazon
|
|
3386
|
+
# EBS volume is deleted on instance termination.
|
|
3387
|
+
# * +:no_device+ - (String) Specifies the device name to suppress
|
|
3388
|
+
# during instance launch.
|
|
3389
|
+
#
|
|
3390
|
+
# === Response Structure:
|
|
3391
|
+
#
|
|
3392
|
+
# * +:image_id+ - (String)
|
|
3393
|
+
#
|
|
3394
|
+
# @return [Core::Response]
|
|
3395
|
+
#
|
|
3396
|
+
define_client_method :register_image, 'RegisterImage'
|
|
3397
|
+
|
|
3398
|
+
# Calls the ReleaseAddress API operation.
|
|
3399
|
+
# @method release_address(options = {})
|
|
3400
|
+
#
|
|
3401
|
+
# === Options:
|
|
3402
|
+
#
|
|
3403
|
+
# * +:public_ip+ - (String) The elastic IP address that you are releasing
|
|
3404
|
+
# from your account.
|
|
3405
|
+
# * +:allocation_id+ - (String) The allocation ID that AWS provided when
|
|
3406
|
+
# you allocated the address for use with Amazon VPC.
|
|
3407
|
+
#
|
|
3408
|
+
# === Response Structure:
|
|
3409
|
+
#
|
|
3410
|
+
# This method returns no response data.
|
|
3411
|
+
#
|
|
3412
|
+
# @return [Core::Response]
|
|
3413
|
+
#
|
|
3414
|
+
define_client_method :release_address, 'ReleaseAddress'
|
|
3415
|
+
|
|
3416
|
+
# Calls the ReplaceNetworkAclAssociation API operation.
|
|
3417
|
+
# @method replace_network_acl_association(options = {})
|
|
3418
|
+
#
|
|
3419
|
+
# === Options:
|
|
3420
|
+
#
|
|
3421
|
+
# * +:association_id+ - *required* - (String) The ID representing the
|
|
3422
|
+
# current association between the original network ACL and the subnet.
|
|
3423
|
+
# * +:network_acl_id+ - *required* - (String) The ID of the new ACL to
|
|
3424
|
+
# associate with the subnet.
|
|
3425
|
+
#
|
|
3426
|
+
# === Response Structure:
|
|
3427
|
+
#
|
|
3428
|
+
# * +:new_association_id+ - (String)
|
|
3429
|
+
#
|
|
3430
|
+
# @return [Core::Response]
|
|
3431
|
+
#
|
|
3432
|
+
define_client_method :replace_network_acl_association, 'ReplaceNetworkAclAssociation'
|
|
3433
|
+
|
|
3434
|
+
# Calls the ReplaceNetworkAclEntry API operation.
|
|
3435
|
+
# @method replace_network_acl_entry(options = {})
|
|
3436
|
+
#
|
|
3437
|
+
# === Options:
|
|
3438
|
+
#
|
|
3439
|
+
# * +:network_acl_id+ - *required* - (String) ID of the ACL where the
|
|
3440
|
+
# entry will be replaced.
|
|
3441
|
+
# * +:rule_number+ - *required* - (Integer) Rule number of the entry to
|
|
3442
|
+
# replace.
|
|
3443
|
+
# * +:protocol+ - *required* - (String) IP protocol the rule applies to.
|
|
3444
|
+
# Valid Values: tcp, udp, icmp or an IP protocol number.
|
|
3445
|
+
# * +:rule_action+ - *required* - (String) Whether to allow or deny
|
|
3446
|
+
# traffic that matches the rule.
|
|
3447
|
+
# * +:egress+ - *required* - (Boolean) Whether this rule applies to
|
|
3448
|
+
# egress traffic from the subnet ( +true+ ) or ingress traffic (
|
|
3449
|
+
# +false+ ).
|
|
3450
|
+
# * +:cidr_block+ - *required* - (String) The CIDR range to allow or
|
|
3451
|
+
# deny, in CIDR notation (e.g., 172.16.0.0/24).
|
|
3452
|
+
# * +:icmp_type_code+ - (Hash) ICMP values.
|
|
3453
|
+
# * +:type+ - (Integer) For the ICMP protocol, the ICMP type. A value
|
|
3454
|
+
# of -1 is a wildcard meaning all types. Required if specifying icmp
|
|
3455
|
+
# for the protocol.
|
|
3456
|
+
# * +:code+ - (Integer) For the ICMP protocol, the ICMP code. A value
|
|
3457
|
+
# of -1 is a wildcard meaning all codes. Required if specifying icmp
|
|
3458
|
+
# for the protocol.
|
|
3459
|
+
# * +:port_range+ - (Hash) Port ranges.
|
|
3460
|
+
# * +:from+ - (Integer) The first port in the range. Required if
|
|
3461
|
+
# specifying tcp or udp for the protocol.
|
|
3462
|
+
# * +:to+ - (Integer) The last port in the range. Required if
|
|
3463
|
+
# specifying tcp or udp for the protocol.
|
|
3464
|
+
#
|
|
3465
|
+
# === Response Structure:
|
|
3466
|
+
#
|
|
3467
|
+
# This method returns no response data.
|
|
3468
|
+
#
|
|
3469
|
+
# @return [Core::Response]
|
|
3470
|
+
#
|
|
3471
|
+
define_client_method :replace_network_acl_entry, 'ReplaceNetworkAclEntry'
|
|
3472
|
+
|
|
3473
|
+
# Calls the ReplaceRoute API operation.
|
|
3474
|
+
# @method replace_route(options = {})
|
|
3475
|
+
#
|
|
3476
|
+
# === Options:
|
|
3477
|
+
#
|
|
3478
|
+
# * +:route_table_id+ - *required* - (String) The ID of the route table
|
|
3479
|
+
# where the route will be replaced.
|
|
3480
|
+
# * +:destination_cidr_block+ - *required* - (String) The CIDR address
|
|
3481
|
+
# block used for the destination match. For example: 0.0.0.0/0. The
|
|
3482
|
+
# value you provide must match the CIDR of an existing route in the
|
|
3483
|
+
# table.
|
|
3484
|
+
# * +:gateway_id+ - (String) The ID of a VPN or Internet gateway attached
|
|
3485
|
+
# to your VPC.
|
|
3486
|
+
# * +:instance_id+ - (String) The ID of a NAT instance in your VPC.
|
|
3487
|
+
# * +:network_interface_id+ - (String)
|
|
3488
|
+
#
|
|
3489
|
+
# === Response Structure:
|
|
3490
|
+
#
|
|
3491
|
+
# This method returns no response data.
|
|
3492
|
+
#
|
|
3493
|
+
# @return [Core::Response]
|
|
3494
|
+
#
|
|
3495
|
+
define_client_method :replace_route, 'ReplaceRoute'
|
|
3496
|
+
|
|
3497
|
+
# Calls the ReplaceRouteTableAssociation API operation.
|
|
3498
|
+
# @method replace_route_table_association(options = {})
|
|
3499
|
+
#
|
|
3500
|
+
# === Options:
|
|
3501
|
+
#
|
|
3502
|
+
# * +:association_id+ - *required* - (String) The ID representing the
|
|
3503
|
+
# current association between the original route table and the subnet.
|
|
3504
|
+
# * +:route_table_id+ - *required* - (String) The ID of the new route
|
|
3505
|
+
# table to associate with the subnet.
|
|
3506
|
+
#
|
|
3507
|
+
# === Response Structure:
|
|
3508
|
+
#
|
|
3509
|
+
# * +:new_association_id+ - (String)
|
|
3510
|
+
#
|
|
3511
|
+
# @return [Core::Response]
|
|
3512
|
+
#
|
|
3513
|
+
define_client_method :replace_route_table_association, 'ReplaceRouteTableAssociation'
|
|
3514
|
+
|
|
3515
|
+
# Calls the ReportInstanceStatus API operation.
|
|
3516
|
+
# @method report_instance_status(options = {})
|
|
3517
|
+
#
|
|
3518
|
+
# === Options:
|
|
3519
|
+
#
|
|
3520
|
+
# * +:instances+ - (Array<String>)
|
|
3521
|
+
# * +:status+ - (String)
|
|
3522
|
+
# * +:start_time+ - (String<ISO8601 datetime>)
|
|
3523
|
+
# * +:end_time+ - (String<ISO8601 datetime>)
|
|
3524
|
+
# * +:reason_codes+ - (Array<String>)
|
|
3525
|
+
# * +:description+ - (String)
|
|
3526
|
+
#
|
|
3527
|
+
# === Response Structure:
|
|
3528
|
+
#
|
|
3529
|
+
# This method returns no response data.
|
|
3530
|
+
#
|
|
3531
|
+
# @return [Core::Response]
|
|
3532
|
+
#
|
|
3533
|
+
define_client_method :report_instance_status, 'ReportInstanceStatus'
|
|
3534
|
+
|
|
3535
|
+
# Calls the RequestSpotInstances API operation.
|
|
3536
|
+
# @method request_spot_instances(options = {})
|
|
3537
|
+
#
|
|
3538
|
+
# === Options:
|
|
3539
|
+
#
|
|
3540
|
+
# * +:spot_price+ - *required* - (String) Specifies the maximum hourly
|
|
3541
|
+
# price for any Spot Instance launched to fulfill the request.
|
|
3542
|
+
# * +:instance_count+ - (Integer) Specifies the maximum number of Spot
|
|
3543
|
+
# Instances to launch.
|
|
3544
|
+
# * +:type+ - (String) Specifies the Spot Instance type.
|
|
3545
|
+
# * +:valid_from+ - (String<ISO8601 datetime>) Defines the start date of
|
|
3546
|
+
# the request. If this is a one-time request, the request becomes
|
|
3547
|
+
# active at this date and time and remains active until all instances
|
|
3548
|
+
# launch, the request expires, or the request is canceled. If the
|
|
3549
|
+
# request is persistent, the request becomes active at this date and
|
|
3550
|
+
# time and remains active until it expires or is canceled.
|
|
3551
|
+
# * +:valid_until+ - (String<ISO8601 datetime>) End date of the request.
|
|
3552
|
+
# If this is a one-time request, the request remains active until all
|
|
3553
|
+
# instances launch, the request is canceled, or this date is reached.
|
|
3554
|
+
# If the request is persistent, it remains active until it is canceled
|
|
3555
|
+
# or this date and time is reached.
|
|
3556
|
+
# * +:launch_group+ - (String) Specifies the instance launch group.
|
|
3557
|
+
# Launch groups are Spot Instances that launch and terminate together.
|
|
3558
|
+
# * +:availability_zone_group+ - (String) Specifies the Availability Zone
|
|
3559
|
+
# group. When specifying the same Availability Zone group for all Spot
|
|
3560
|
+
# Instance requests, all Spot Instances are launched in the same
|
|
3561
|
+
# Availability Zone.
|
|
3562
|
+
# * +:launch_specification+ - (Hash) Specifies additional launch instance
|
|
3563
|
+
# information.
|
|
3564
|
+
# * +:image_id+ - (String) The AMI ID.
|
|
3565
|
+
# * +:key_name+ - (String) The name of the key pair.
|
|
3566
|
+
# * +:security_groups+ - (Array<Hash>)
|
|
3567
|
+
# * +:group_name+ - (String)
|
|
3568
|
+
# * +:group_id+ - (String)
|
|
3569
|
+
# * +:user_data+ - (String) Optional data, specific to a user's
|
|
3570
|
+
# application, to provide in the launch request. All instances that
|
|
3571
|
+
# collectively comprise the launch request have access to this data.
|
|
3572
|
+
# User data is never returned through API responses.
|
|
3573
|
+
# * +:addressing_type+ - (String) Deprecated.
|
|
3574
|
+
# * +:instance_type+ - (String) Specifies the instance type.
|
|
3575
|
+
# * +:placement+ - (Hash) Defines a placement item.
|
|
3576
|
+
# * +:availability_zone+ - (String) The availability zone in which an
|
|
3577
|
+
# Amazon EC2 instance runs.
|
|
3578
|
+
# * +:group_name+ - (String) The name of the PlacementGroup in which
|
|
3579
|
+
# an Amazon EC2 instance runs. Placement groups are primarily used
|
|
3580
|
+
# for launching High Performance Computing instances in the same
|
|
3581
|
+
# group to ensure fast connection speeds.
|
|
3582
|
+
# * +:kernel_id+ - (String) Specifies the ID of the kernel to select.
|
|
3583
|
+
# * +:ramdisk_id+ - (String) Specifies the ID of the RAM disk to
|
|
3584
|
+
# select. Some kernels require additional drivers at launch. Check
|
|
3585
|
+
# the kernel requirements for information on whether or not you need
|
|
3586
|
+
# to specify a RAM disk and search for the kernel ID.
|
|
3587
|
+
# * +:block_device_mappings+ - (Array<Hash>) Specifies how block
|
|
3588
|
+
# devices are exposed to the instance. Each mapping is made up of a
|
|
3589
|
+
# virtualName and a deviceName.
|
|
3590
|
+
# * +:virtual_name+ - (String) Specifies the virtual device name.
|
|
3591
|
+
# * +:device_name+ - (String) Specifies the device name (e.g.,
|
|
3592
|
+
# /dev/sdh).
|
|
3593
|
+
# * +:ebs+ - (Hash) Specifies parameters used to automatically setup
|
|
3594
|
+
# Amazon EBS volumes when the instance is launched.
|
|
3595
|
+
# * +:snapshot_id+ - (String) The ID of the snapshot from which the
|
|
3596
|
+
# volume will be created.
|
|
3597
|
+
# * +:volume_size+ - (Integer) The size of the volume, in
|
|
3598
|
+
# gigabytes.
|
|
3599
|
+
# * +:delete_on_termination+ - (Boolean) Specifies whether the
|
|
3600
|
+
# Amazon EBS volume is deleted on instance termination.
|
|
3601
|
+
# * +:no_device+ - (String) Specifies the device name to suppress
|
|
3602
|
+
# during instance launch.
|
|
3603
|
+
# * +:monitoring_enabled+ - (Boolean) Enables monitoring for the
|
|
3604
|
+
# instance.
|
|
3605
|
+
# * +:subnet_id+ - (String) Specifies the Amazon VPC subnet ID within
|
|
3606
|
+
# which to launch the instance(s) for Amazon Virtual Private Cloud.
|
|
3607
|
+
# * +:network_interfaces+ - (Array<Hash>)
|
|
3608
|
+
# * +:network_interface_id+ - (String)
|
|
3609
|
+
# * +:device_index+ - (Integer)
|
|
3610
|
+
# * +:subnet_id+ - (String)
|
|
3611
|
+
# * +:description+ - (String)
|
|
3612
|
+
# * +:private_ip_address+ - (String)
|
|
3613
|
+
# * +:groups+ - (Array<String>)
|
|
3614
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
3615
|
+
#
|
|
3616
|
+
# === Response Structure:
|
|
3617
|
+
#
|
|
3618
|
+
# * +:spot_instance_request_set+ - (Array<Hash>)
|
|
3619
|
+
# * +:spot_instance_request_id+ - (String)
|
|
3620
|
+
# * +:spot_price+ - (String)
|
|
3621
|
+
# * +:type+ - (String)
|
|
3622
|
+
# * +:state+ - (String)
|
|
3623
|
+
# * +:fault+ - (Hash)
|
|
3624
|
+
# * +:code+ - (String)
|
|
3625
|
+
# * +:message+ - (String)
|
|
3626
|
+
# * +:valid_from+ - (Time)
|
|
3627
|
+
# * +:valid_until+ - (Time)
|
|
3628
|
+
# * +:launch_group+ - (String)
|
|
3629
|
+
# * +:availability_zone_group+ - (String)
|
|
3630
|
+
# * +:launch_specification+ - (Hash)
|
|
3631
|
+
# * +:image_id+ - (String)
|
|
3632
|
+
# * +:key_name+ - (String)
|
|
3633
|
+
# * +:group_set+ - (Array<Hash>)
|
|
3634
|
+
# * +:group_name+ - (String)
|
|
3635
|
+
# * +:group_id+ - (String)
|
|
3636
|
+
# * +:user_data+ - (String)
|
|
3637
|
+
# * +:addressing_type+ - (String)
|
|
3638
|
+
# * +:instance_type+ - (String)
|
|
3639
|
+
# * +:placement+ - (Hash)
|
|
3640
|
+
# * +:availability_zone+ - (String)
|
|
3641
|
+
# * +:group_name+ - (String)
|
|
3642
|
+
# * +:kernel_id+ - (String)
|
|
3643
|
+
# * +:ramdisk_id+ - (String)
|
|
3644
|
+
# * +:block_device_mapping+ - (Array<Hash>)
|
|
3645
|
+
# * +:virtual_name+ - (String)
|
|
3646
|
+
# * +:device_name+ - (String)
|
|
3647
|
+
# * +:ebs+ - (Hash)
|
|
3648
|
+
# * +:snapshot_id+ - (String)
|
|
3649
|
+
# * +:volume_size+ - (Integer)
|
|
3650
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
3651
|
+
# * +:no_device+ - (String)
|
|
3652
|
+
# * +:monitoring_enabled+ - (Boolean)
|
|
3653
|
+
# * +:subnet_id+ - (String)
|
|
3654
|
+
# * +:network_interface_set+ - (Array<Hash>)
|
|
3655
|
+
# * +:network_interface_id+ - (String)
|
|
3656
|
+
# * +:device_index+ - (Integer)
|
|
3657
|
+
# * +:subnet_id+ - (String)
|
|
3658
|
+
# * +:description+ - (String)
|
|
3659
|
+
# * +:private_ip_address+ - (String)
|
|
3660
|
+
# * +:security_group_id+ - (Array<String>)
|
|
3661
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
3662
|
+
# * +:instance_id+ - (String)
|
|
3663
|
+
# * +:create_time+ - (Time)
|
|
3664
|
+
# * +:product_description+ - (String)
|
|
3665
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
3666
|
+
# * +:key+ - (String)
|
|
3667
|
+
# * +:value+ - (String)
|
|
3668
|
+
# * +:launched_availability_zone+ - (String)
|
|
3669
|
+
#
|
|
3670
|
+
# @return [Core::Response]
|
|
3671
|
+
#
|
|
3672
|
+
define_client_method :request_spot_instances, 'RequestSpotInstances'
|
|
3673
|
+
|
|
3674
|
+
# Calls the ResetImageAttribute API operation.
|
|
3675
|
+
# @method reset_image_attribute(options = {})
|
|
3676
|
+
#
|
|
3677
|
+
# === Options:
|
|
3678
|
+
#
|
|
3679
|
+
# * +:image_id+ - *required* - (String) The ID of the AMI whose attribute
|
|
3680
|
+
# is being reset.
|
|
3681
|
+
# * +:attribute+ - *required* - (String) The name of the attribute being
|
|
3682
|
+
# reset. Available attribute names: launchPermission
|
|
3683
|
+
#
|
|
3684
|
+
# === Response Structure:
|
|
3685
|
+
#
|
|
3686
|
+
# This method returns no response data.
|
|
3687
|
+
#
|
|
3688
|
+
# @return [Core::Response]
|
|
3689
|
+
#
|
|
3690
|
+
define_client_method :reset_image_attribute, 'ResetImageAttribute'
|
|
3691
|
+
|
|
3692
|
+
# Calls the ResetInstanceAttribute API operation.
|
|
3693
|
+
# @method reset_instance_attribute(options = {})
|
|
3694
|
+
#
|
|
3695
|
+
# === Options:
|
|
3696
|
+
#
|
|
3697
|
+
# * +:instance_id+ - *required* - (String) The ID of the Amazon EC2
|
|
3698
|
+
# instance whose attribute is being reset.
|
|
3699
|
+
# * +:attribute+ - *required* - (String) The name of the attribute being
|
|
3700
|
+
# reset. Available attribute names: kernel, ramdisk
|
|
3701
|
+
#
|
|
3702
|
+
# === Response Structure:
|
|
3703
|
+
#
|
|
3704
|
+
# This method returns no response data.
|
|
3705
|
+
#
|
|
3706
|
+
# @return [Core::Response]
|
|
3707
|
+
#
|
|
3708
|
+
define_client_method :reset_instance_attribute, 'ResetInstanceAttribute'
|
|
3709
|
+
|
|
3710
|
+
# Calls the ResetNetworkInterfaceAttribute API operation.
|
|
3711
|
+
# @method reset_network_interface_attribute(options = {})
|
|
3712
|
+
#
|
|
3713
|
+
# === Options:
|
|
3714
|
+
#
|
|
3715
|
+
# * +:network_interface_id+ - *required* - (String)
|
|
3716
|
+
# * +:source_dest_check+ - (String)
|
|
3717
|
+
#
|
|
3718
|
+
# === Response Structure:
|
|
3719
|
+
#
|
|
3720
|
+
# This method returns no response data.
|
|
3721
|
+
#
|
|
3722
|
+
# @return [Core::Response]
|
|
3723
|
+
#
|
|
3724
|
+
define_client_method :reset_network_interface_attribute, 'ResetNetworkInterfaceAttribute'
|
|
3725
|
+
|
|
3726
|
+
# Calls the ResetSnapshotAttribute API operation.
|
|
3727
|
+
# @method reset_snapshot_attribute(options = {})
|
|
3728
|
+
#
|
|
3729
|
+
# === Options:
|
|
3730
|
+
#
|
|
3731
|
+
# * +:snapshot_id+ - *required* - (String) The ID of the snapshot whose
|
|
3732
|
+
# attribute is being reset.
|
|
3733
|
+
# * +:attribute+ - *required* - (String) The name of the attribute being
|
|
3734
|
+
# reset. Available attribute names: createVolumePermission
|
|
3735
|
+
#
|
|
3736
|
+
# === Response Structure:
|
|
3737
|
+
#
|
|
3738
|
+
# This method returns no response data.
|
|
3739
|
+
#
|
|
3740
|
+
# @return [Core::Response]
|
|
3741
|
+
#
|
|
3742
|
+
define_client_method :reset_snapshot_attribute, 'ResetSnapshotAttribute'
|
|
3743
|
+
|
|
3744
|
+
# Calls the RevokeSecurityGroupEgress API operation.
|
|
3745
|
+
# @method revoke_security_group_egress(options = {})
|
|
3746
|
+
#
|
|
3747
|
+
# === Options:
|
|
3748
|
+
#
|
|
3749
|
+
# * +:group_id+ - *required* - (String) ID of the VPC security group to
|
|
3750
|
+
# modify.
|
|
3751
|
+
# * +:source_security_group_name+ - (String) Deprecated.
|
|
3752
|
+
# * +:source_security_group_owner_id+ - (String) Deprecated.
|
|
3753
|
+
# * +:ip_protocol+ - (String) Deprecated.
|
|
3754
|
+
# * +:from_port+ - (Integer) Deprecated.
|
|
3755
|
+
# * +:to_port+ - (Integer) Deprecated.
|
|
3756
|
+
# * +:cidr_ip+ - (String) Deprecated.
|
|
3757
|
+
# * +:ip_permissions+ - (Array<Hash>) List of IP permissions to authorize
|
|
3758
|
+
# on the specified security group. Specifying permissions through IP
|
|
3759
|
+
# permissions is the preferred way of authorizing permissions since it
|
|
3760
|
+
# offers more flexibility and control.
|
|
3761
|
+
# * +:ip_protocol+ - (String) The IP protocol of this permission. Valid
|
|
3762
|
+
# protocol values: tcp, udp, icmp
|
|
3763
|
+
# * +:from_port+ - (Integer) Start of port range for the TCP and UDP
|
|
3764
|
+
# protocols, or an ICMP type number. An ICMP type number of -1
|
|
3765
|
+
# indicates a wildcard (i.e., any ICMP type number).
|
|
3766
|
+
# * +:to_port+ - (Integer) End of port range for the TCP and UDP
|
|
3767
|
+
# protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard
|
|
3768
|
+
# (i.e., any ICMP code).
|
|
3769
|
+
# * +:user_id_group_pairs+ - (Array<Hash>) The list of AWS user IDs and
|
|
3770
|
+
# groups included in this permission.
|
|
3771
|
+
# * +:user_id+ - (String) The AWS user ID of an account.
|
|
3772
|
+
# * +:group_name+ - (String) Name of the security group in the
|
|
3773
|
+
# specified AWS account. Cannot be used when specifying a CIDR IP
|
|
3774
|
+
# address range.
|
|
3775
|
+
# * +:group_id+ - (String) ID of the security group in the specified
|
|
3776
|
+
# AWS account. Cannot be used when specifying a CIDR IP address
|
|
3777
|
+
# range.
|
|
3778
|
+
# * +:ip_ranges+ - (Array<Hash>) The list of CIDR IP ranges included in
|
|
3779
|
+
# this permission.
|
|
3780
|
+
# * +:cidr_ip+ - (String) The list of CIDR IP ranges.
|
|
3781
|
+
#
|
|
3782
|
+
# === Response Structure:
|
|
3783
|
+
#
|
|
3784
|
+
# This method returns no response data.
|
|
3785
|
+
#
|
|
3786
|
+
# @return [Core::Response]
|
|
3787
|
+
#
|
|
3788
|
+
define_client_method :revoke_security_group_egress, 'RevokeSecurityGroupEgress'
|
|
3789
|
+
|
|
3790
|
+
# Calls the RevokeSecurityGroupIngress API operation.
|
|
3791
|
+
# @method revoke_security_group_ingress(options = {})
|
|
3792
|
+
#
|
|
3793
|
+
# === Options:
|
|
3794
|
+
#
|
|
3795
|
+
# * +:group_name+ - (String) Name of the standard (EC2) security group to
|
|
3796
|
+
# modify. The group must belong to your account. Can be used instead of
|
|
3797
|
+
# GroupID for standard (EC2) security groups.
|
|
3798
|
+
# * +:group_id+ - (String) ID of the standard (EC2) or VPC security group
|
|
3799
|
+
# to modify. The group must belong to your account. Required for VPC
|
|
3800
|
+
# security groups; can be used instead of GroupName for standard (EC2)
|
|
3801
|
+
# security groups.
|
|
3802
|
+
# * +:source_security_group_name+ - (String) Deprecated
|
|
3803
|
+
# * +:source_security_group_owner_id+ - (String) Deprecated
|
|
3804
|
+
# * +:ip_protocol+ - (String) Deprecated
|
|
3805
|
+
# * +:from_port+ - (Integer) Deprecated
|
|
3806
|
+
# * +:to_port+ - (Integer) Deprecated
|
|
3807
|
+
# * +:cidr_ip+ - (String) Deprecated
|
|
3808
|
+
# * +:ip_permissions+ - (Array<Hash>) List of IP permissions to revoke on
|
|
3809
|
+
# the specified security group. For an IP permission to be removed, it
|
|
3810
|
+
# must exactly match one of the IP permissions you specify in this
|
|
3811
|
+
# list. Specifying permissions through IP permissions is the preferred
|
|
3812
|
+
# way of revoking permissions since it offers more flexibility and
|
|
3813
|
+
# control.
|
|
3814
|
+
# * +:ip_protocol+ - (String) The IP protocol of this permission. Valid
|
|
3815
|
+
# protocol values: tcp, udp, icmp
|
|
3816
|
+
# * +:from_port+ - (Integer) Start of port range for the TCP and UDP
|
|
3817
|
+
# protocols, or an ICMP type number. An ICMP type number of -1
|
|
3818
|
+
# indicates a wildcard (i.e., any ICMP type number).
|
|
3819
|
+
# * +:to_port+ - (Integer) End of port range for the TCP and UDP
|
|
3820
|
+
# protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard
|
|
3821
|
+
# (i.e., any ICMP code).
|
|
3822
|
+
# * +:user_id_group_pairs+ - (Array<Hash>) The list of AWS user IDs and
|
|
3823
|
+
# groups included in this permission.
|
|
3824
|
+
# * +:user_id+ - (String) The AWS user ID of an account.
|
|
3825
|
+
# * +:group_name+ - (String) Name of the security group in the
|
|
3826
|
+
# specified AWS account. Cannot be used when specifying a CIDR IP
|
|
3827
|
+
# address range.
|
|
3828
|
+
# * +:group_id+ - (String) ID of the security group in the specified
|
|
3829
|
+
# AWS account. Cannot be used when specifying a CIDR IP address
|
|
3830
|
+
# range.
|
|
3831
|
+
# * +:ip_ranges+ - (Array<Hash>) The list of CIDR IP ranges included in
|
|
3832
|
+
# this permission.
|
|
3833
|
+
# * +:cidr_ip+ - (String) The list of CIDR IP ranges.
|
|
3834
|
+
#
|
|
3835
|
+
# === Response Structure:
|
|
3836
|
+
#
|
|
3837
|
+
# This method returns no response data.
|
|
3838
|
+
#
|
|
3839
|
+
# @return [Core::Response]
|
|
3840
|
+
#
|
|
3841
|
+
define_client_method :revoke_security_group_ingress, 'RevokeSecurityGroupIngress'
|
|
3842
|
+
|
|
3843
|
+
# Calls the RunInstances API operation.
|
|
3844
|
+
# @method run_instances(options = {})
|
|
3845
|
+
#
|
|
3846
|
+
# === Options:
|
|
3847
|
+
#
|
|
3848
|
+
# * +:image_id+ - *required* - (String) Unique ID of a machine image,
|
|
3849
|
+
# returned by a call to DescribeImages.
|
|
3850
|
+
# * +:min_count+ - *required* - (Integer) Minimum number of instances to
|
|
3851
|
+
# launch. If the value is more than Amazon EC2 can launch, no instances
|
|
3852
|
+
# are launched at all.
|
|
3853
|
+
# * +:max_count+ - *required* - (Integer) Maximum number of instances to
|
|
3854
|
+
# launch. If the value is more than Amazon EC2 can launch, the largest
|
|
3855
|
+
# possible number above minCount will be launched instead. Between 1
|
|
3856
|
+
# and the maximum number allowed for your account (default: 20).
|
|
3857
|
+
# * +:key_name+ - (String) The name of the key pair.
|
|
3858
|
+
# * +:security_groups+ - (Array<String>) The names of the security groups
|
|
3859
|
+
# into which the instances will be launched.
|
|
3860
|
+
# * +:security_group_ids+ - (Array<String>)
|
|
3861
|
+
# * +:user_data+ - (String) Specifies additional information to make
|
|
3862
|
+
# available to the instance(s).
|
|
3863
|
+
# * +:addressing_type+ - (String)
|
|
3864
|
+
# * +:instance_type+ - (String) Specifies the instance type for the
|
|
3865
|
+
# launched instances.
|
|
3866
|
+
# * +:placement+ - (Hash) Specifies the placement constraints
|
|
3867
|
+
# (Availability Zones) for launching the instances.
|
|
3868
|
+
# * +:availability_zone+ - (String) The availability zone in which an
|
|
3869
|
+
# Amazon EC2 instance runs.
|
|
3870
|
+
# * +:group_name+ - (String) The name of the PlacementGroup in which an
|
|
3871
|
+
# Amazon EC2 instance runs. Placement groups are primarily used for
|
|
3872
|
+
# launching High Performance Computing instances in the same group to
|
|
3873
|
+
# ensure fast connection speeds.
|
|
3874
|
+
# * +:tenancy+ - (String) The allowed tenancy of instances launched
|
|
3875
|
+
# into the VPC. A value of default means instances can be launched
|
|
3876
|
+
# with any tenancy; a value of dedicated means all instances launched
|
|
3877
|
+
# into the VPC will be launched as dedicated tenancy regardless of
|
|
3878
|
+
# the tenancy assigned to the instance at launch.
|
|
3879
|
+
# * +:kernel_id+ - (String) The ID of the kernel with which to launch the
|
|
3880
|
+
# instance.
|
|
3881
|
+
# * +:ramdisk_id+ - (String) The ID of the RAM disk with which to launch
|
|
3882
|
+
# the instance. Some kernels require additional drivers at launch.
|
|
3883
|
+
# Check the kernel requirements for information on whether you need to
|
|
3884
|
+
# specify a RAM disk. To find kernel requirements, go to the Resource
|
|
3885
|
+
# Center and search for the kernel ID.
|
|
3886
|
+
# * +:block_device_mappings+ - (Array<Hash>) Specifies how block devices
|
|
3887
|
+
# are exposed to the instance. Each mapping is made up of a virtualName
|
|
3888
|
+
# and a deviceName.
|
|
3889
|
+
# * +:virtual_name+ - (String) Specifies the virtual device name.
|
|
3890
|
+
# * +:device_name+ - (String) Specifies the device name (e.g.,
|
|
3891
|
+
# /dev/sdh).
|
|
3892
|
+
# * +:ebs+ - (Hash) Specifies parameters used to automatically setup
|
|
3893
|
+
# Amazon EBS volumes when the instance is launched.
|
|
3894
|
+
# * +:snapshot_id+ - (String) The ID of the snapshot from which the
|
|
3895
|
+
# volume will be created.
|
|
3896
|
+
# * +:volume_size+ - (Integer) The size of the volume, in gigabytes.
|
|
3897
|
+
# * +:delete_on_termination+ - (Boolean) Specifies whether the Amazon
|
|
3898
|
+
# EBS volume is deleted on instance termination.
|
|
3899
|
+
# * +:no_device+ - (String) Specifies the device name to suppress
|
|
3900
|
+
# during instance launch.
|
|
3901
|
+
# * +:monitoring+ - (Hash) Enables monitoring for the instance.
|
|
3902
|
+
# * +:enabled+ - *required* - (Boolean)
|
|
3903
|
+
# * +:subnet_id+ - (String) Specifies the subnet ID within which to
|
|
3904
|
+
# launch the instance(s) for Amazon Virtual Private Cloud.
|
|
3905
|
+
# * +:disable_api_termination+ - (Boolean) Specifies whether the instance
|
|
3906
|
+
# can be terminated using the APIs. You must modify this attribute
|
|
3907
|
+
# before you can terminate any "locked" instances from the APIs.
|
|
3908
|
+
# * +:instance_initiated_shutdown_behavior+ - (String) Specifies whether
|
|
3909
|
+
# the instance's Amazon EBS volumes are stopped or terminated when the
|
|
3910
|
+
# instance is shut down.
|
|
3911
|
+
# * +:license+ - (Hash) Specifies active licenses in use and attached to
|
|
3912
|
+
# an Amazon EC2 instance.
|
|
3913
|
+
# * +:pool+ - (String) The license pool from which to take a license
|
|
3914
|
+
# when starting Amazon EC2 instances in the associated RunInstances
|
|
3915
|
+
# request.
|
|
3916
|
+
# * +:private_ip_address+ - (String) If you're using Amazon Virtual
|
|
3917
|
+
# Private Cloud, you can optionally use this parameter to assign the
|
|
3918
|
+
# instance a specific available IP address from the subnet.
|
|
3919
|
+
# * +:client_token+ - (String) Unique, case-sensitive identifier you
|
|
3920
|
+
# provide to ensure idempotency of the request. For more information,
|
|
3921
|
+
# go to How to Ensure Idempotency in the Amazon Elastic Compute Cloud
|
|
3922
|
+
# User Guide.
|
|
3923
|
+
# * +:additional_info+ - (String)
|
|
3924
|
+
# * +:network_interfaces+ - (Array<Hash>)
|
|
3925
|
+
# * +:network_interface_id+ - (String)
|
|
3926
|
+
# * +:device_index+ - (Integer)
|
|
3927
|
+
# * +:subnet_id+ - (String)
|
|
3928
|
+
# * +:description+ - (String)
|
|
3929
|
+
# * +:private_ip_address+ - (String)
|
|
3930
|
+
# * +:groups+ - (Array<String>)
|
|
3931
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
3932
|
+
#
|
|
3933
|
+
# === Response Structure:
|
|
3934
|
+
#
|
|
3935
|
+
# * +:reservation_id+ - (String)
|
|
3936
|
+
# * +:owner_id+ - (String)
|
|
3937
|
+
# * +:requester_id+ - (String)
|
|
3938
|
+
# * +:group_set+ - (Array<Hash>)
|
|
3939
|
+
# * +:group_name+ - (String)
|
|
3940
|
+
# * +:group_id+ - (String)
|
|
3941
|
+
# * +:instances_set+ - (Array<Hash>)
|
|
3942
|
+
# * +:instance_id+ - (String)
|
|
3943
|
+
# * +:image_id+ - (String)
|
|
3944
|
+
# * +:instance_state+ - (Hash)
|
|
3945
|
+
# * +:code+ - (Integer)
|
|
3946
|
+
# * +:name+ - (String)
|
|
3947
|
+
# * +:private_dns_name+ - (String)
|
|
3948
|
+
# * +:dns_name+ - (String)
|
|
3949
|
+
# * +:reason+ - (String)
|
|
3950
|
+
# * +:key_name+ - (String)
|
|
3951
|
+
# * +:ami_launch_index+ - (Integer)
|
|
3952
|
+
# * +:product_codes+ - (Array<Hash>)
|
|
3953
|
+
# * +:product_code+ - (String)
|
|
3954
|
+
# * +:type+ - (String)
|
|
3955
|
+
# * +:instance_type+ - (String)
|
|
3956
|
+
# * +:launch_time+ - (Time)
|
|
3957
|
+
# * +:placement+ - (Hash)
|
|
3958
|
+
# * +:availability_zone+ - (String)
|
|
3959
|
+
# * +:group_name+ - (String)
|
|
3960
|
+
# * +:tenancy+ - (String)
|
|
3961
|
+
# * +:kernel_id+ - (String)
|
|
3962
|
+
# * +:ramdisk_id+ - (String)
|
|
3963
|
+
# * +:platform+ - (String)
|
|
3964
|
+
# * +:monitoring+ - (Hash)
|
|
3965
|
+
# * +:state+ - (String)
|
|
3966
|
+
# * +:subnet_id+ - (String)
|
|
3967
|
+
# * +:vpc_id+ - (String)
|
|
3968
|
+
# * +:private_ip_address+ - (String)
|
|
3969
|
+
# * +:ip_address+ - (String)
|
|
3970
|
+
# * +:state_reason+ - (Hash)
|
|
3971
|
+
# * +:code+ - (String)
|
|
3972
|
+
# * +:message+ - (String)
|
|
3973
|
+
# * +:architecture+ - (String)
|
|
3974
|
+
# * +:root_device_type+ - (String)
|
|
3975
|
+
# * +:root_device_name+ - (String)
|
|
3976
|
+
# * +:block_device_mapping+ - (Array<Hash>)
|
|
3977
|
+
# * +:device_name+ - (String)
|
|
3978
|
+
# * +:ebs+ - (Hash)
|
|
3979
|
+
# * +:volume_id+ - (String)
|
|
3980
|
+
# * +:status+ - (String)
|
|
3981
|
+
# * +:attach_time+ - (Time)
|
|
3982
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
3983
|
+
# * +:virtualization_type+ - (String)
|
|
3984
|
+
# * +:instance_lifecycle+ - (String)
|
|
3985
|
+
# * +:spot_instance_request_id+ - (String)
|
|
3986
|
+
# * +:license+ - (Hash)
|
|
3987
|
+
# * +:pool+ - (String)
|
|
3988
|
+
# * +:client_token+ - (String)
|
|
3989
|
+
# * +:tag_set+ - (Array<Hash>)
|
|
3990
|
+
# * +:key+ - (String)
|
|
3991
|
+
# * +:value+ - (String)
|
|
3992
|
+
# * +:group_set+ - (Array<Hash>)
|
|
3993
|
+
# * +:group_name+ - (String)
|
|
3994
|
+
# * +:group_id+ - (String)
|
|
3995
|
+
# * +:source_dest_check+ - (Boolean)
|
|
3996
|
+
# * +:hypervisor+ - (String)
|
|
3997
|
+
# * +:network_interface_set+ - (Array<Hash>)
|
|
3998
|
+
# * +:network_interface_id+ - (String)
|
|
3999
|
+
# * +:subnet_id+ - (String)
|
|
4000
|
+
# * +:vpc_id+ - (String)
|
|
4001
|
+
# * +:description+ - (String)
|
|
4002
|
+
# * +:owner_id+ - (String)
|
|
4003
|
+
# * +:status+ - (String)
|
|
4004
|
+
# * +:private_ip_address+ - (String)
|
|
4005
|
+
# * +:private_dns_name+ - (String)
|
|
4006
|
+
# * +:source_dest_check+ - (Boolean)
|
|
4007
|
+
# * +:group_set+ - (Array<Hash>)
|
|
4008
|
+
# * +:group_name+ - (String)
|
|
4009
|
+
# * +:group_id+ - (String)
|
|
4010
|
+
# * +:attachment+ - (Hash)
|
|
4011
|
+
# * +:attachment_id+ - (String)
|
|
4012
|
+
# * +:device_index+ - (Integer)
|
|
4013
|
+
# * +:status+ - (String)
|
|
4014
|
+
# * +:attach_time+ - (Time)
|
|
4015
|
+
# * +:delete_on_termination+ - (Boolean)
|
|
4016
|
+
# * +:association+ - (Hash)
|
|
4017
|
+
# * +:public_ip+ - (String)
|
|
4018
|
+
# * +:ip_owner_id+ - (String)
|
|
4019
|
+
#
|
|
4020
|
+
# @return [Core::Response]
|
|
4021
|
+
#
|
|
4022
|
+
define_client_method :run_instances, 'RunInstances'
|
|
4023
|
+
|
|
4024
|
+
# Calls the StartInstances API operation.
|
|
4025
|
+
# @method start_instances(options = {})
|
|
4026
|
+
#
|
|
4027
|
+
# === Options:
|
|
4028
|
+
#
|
|
4029
|
+
# * +:instance_ids+ - *required* - (Array<String>) The list of Amazon EC2
|
|
4030
|
+
# instances to start.
|
|
4031
|
+
#
|
|
4032
|
+
# === Response Structure:
|
|
4033
|
+
#
|
|
4034
|
+
# * +:instances_set+ - (Array<Hash>)
|
|
4035
|
+
# * +:instance_id+ - (String)
|
|
4036
|
+
# * +:current_state+ - (Hash)
|
|
4037
|
+
# * +:code+ - (Integer)
|
|
4038
|
+
# * +:name+ - (String)
|
|
4039
|
+
# * +:previous_state+ - (Hash)
|
|
4040
|
+
# * +:code+ - (Integer)
|
|
4041
|
+
# * +:name+ - (String)
|
|
4042
|
+
#
|
|
4043
|
+
# @return [Core::Response]
|
|
4044
|
+
#
|
|
4045
|
+
define_client_method :start_instances, 'StartInstances'
|
|
4046
|
+
|
|
4047
|
+
# Calls the StopInstances API operation.
|
|
4048
|
+
# @method stop_instances(options = {})
|
|
4049
|
+
#
|
|
4050
|
+
# === Options:
|
|
4051
|
+
#
|
|
4052
|
+
# * +:instance_ids+ - *required* - (Array<String>) The list of Amazon EC2
|
|
4053
|
+
# instances to stop.
|
|
4054
|
+
# * +:force+ - (Boolean) Forces the instance to stop. The instance will
|
|
4055
|
+
# not have an opportunity to flush file system caches nor file system
|
|
4056
|
+
# meta data. If you use this option, you must perform file system check
|
|
4057
|
+
# and repair procedures. This option is not recommended for Windows
|
|
4058
|
+
# instances.
|
|
4059
|
+
#
|
|
4060
|
+
# === Response Structure:
|
|
4061
|
+
#
|
|
4062
|
+
# * +:instances_set+ - (Array<Hash>)
|
|
4063
|
+
# * +:instance_id+ - (String)
|
|
4064
|
+
# * +:current_state+ - (Hash)
|
|
4065
|
+
# * +:code+ - (Integer)
|
|
4066
|
+
# * +:name+ - (String)
|
|
4067
|
+
# * +:previous_state+ - (Hash)
|
|
4068
|
+
# * +:code+ - (Integer)
|
|
4069
|
+
# * +:name+ - (String)
|
|
4070
|
+
#
|
|
4071
|
+
# @return [Core::Response]
|
|
4072
|
+
#
|
|
4073
|
+
define_client_method :stop_instances, 'StopInstances'
|
|
4074
|
+
|
|
4075
|
+
# Calls the TerminateInstances API operation.
|
|
4076
|
+
# @method terminate_instances(options = {})
|
|
4077
|
+
#
|
|
4078
|
+
# === Options:
|
|
4079
|
+
#
|
|
4080
|
+
# * +:instance_ids+ - *required* - (Array<String>) The list of instances
|
|
4081
|
+
# to terminate.
|
|
4082
|
+
#
|
|
4083
|
+
# === Response Structure:
|
|
4084
|
+
#
|
|
4085
|
+
# * +:instances_set+ - (Array<Hash>)
|
|
4086
|
+
# * +:instance_id+ - (String)
|
|
4087
|
+
# * +:current_state+ - (Hash)
|
|
4088
|
+
# * +:code+ - (Integer)
|
|
4089
|
+
# * +:name+ - (String)
|
|
4090
|
+
# * +:previous_state+ - (Hash)
|
|
4091
|
+
# * +:code+ - (Integer)
|
|
4092
|
+
# * +:name+ - (String)
|
|
4093
|
+
#
|
|
4094
|
+
# @return [Core::Response]
|
|
4095
|
+
#
|
|
4096
|
+
define_client_method :terminate_instances, 'TerminateInstances'
|
|
4097
|
+
|
|
4098
|
+
# Calls the UnmonitorInstances API operation.
|
|
4099
|
+
# @method unmonitor_instances(options = {})
|
|
4100
|
+
#
|
|
4101
|
+
# === Options:
|
|
4102
|
+
#
|
|
4103
|
+
# * +:instance_ids+ - *required* - (Array<String>) The list of Amazon EC2
|
|
4104
|
+
# instances on which to disable monitoring.
|
|
4105
|
+
#
|
|
4106
|
+
# === Response Structure:
|
|
4107
|
+
#
|
|
4108
|
+
# * +:instances_set+ - (Array<Hash>)
|
|
4109
|
+
# * +:instance_id+ - (String)
|
|
4110
|
+
# * +:monitoring+ - (Hash)
|
|
4111
|
+
# * +:state+ - (String)
|
|
4112
|
+
#
|
|
4113
|
+
# @return [Core::Response]
|
|
4114
|
+
#
|
|
4115
|
+
define_client_method :unmonitor_instances, 'UnmonitorInstances'
|
|
4116
|
+
|
|
4117
|
+
## end client methods ##
|
|
4118
|
+
|
|
4119
|
+
end
|
|
4120
|
+
end
|
|
4121
|
+
end
|