aws-sdk 1.8.5 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +1 -0
- data/README.rdoc +8 -0
- data/lib/aws-sdk.rb +39 -35
- data/lib/aws/api_config/CloudFront-2012-07-01.yml +2398 -0
- data/lib/aws/api_config/DirectConnect-2012-10-25.yml +475 -0
- data/lib/aws/api_config/DynamoDB-2011-12-05.yml +8 -0
- data/lib/aws/api_config/DynamoDB-2012-08-10.yml +1516 -0
- data/lib/aws/api_config/OpsWorks-2013-02-18.yml +2 -2
- data/lib/aws/auto_scaling.rb +44 -44
- data/lib/aws/auto_scaling/activity.rb +1 -1
- data/lib/aws/auto_scaling/activity_collection.rb +14 -15
- data/lib/aws/auto_scaling/client.rb +277 -277
- data/lib/aws/auto_scaling/config.rb +1 -1
- data/lib/aws/auto_scaling/group.rb +35 -36
- data/lib/aws/auto_scaling/group_collection.rb +10 -10
- data/lib/aws/auto_scaling/group_options.rb +19 -19
- data/lib/aws/auto_scaling/instance.rb +27 -27
- data/lib/aws/auto_scaling/instance_collection.rb +10 -10
- data/lib/aws/auto_scaling/launch_configuration.rb +3 -3
- data/lib/aws/auto_scaling/launch_configuration_collection.rb +1 -1
- data/lib/aws/auto_scaling/notification_configuration.rb +2 -2
- data/lib/aws/auto_scaling/notification_configuration_collection.rb +37 -38
- data/lib/aws/auto_scaling/scaling_policy.rb +3 -3
- data/lib/aws/auto_scaling/scaling_policy_collection.rb +6 -6
- data/lib/aws/auto_scaling/scaling_policy_options.rb +8 -7
- data/lib/aws/auto_scaling/scheduled_action.rb +3 -3
- data/lib/aws/auto_scaling/scheduled_action_collection.rb +28 -28
- data/lib/aws/auto_scaling/tag_collection.rb +30 -28
- data/lib/aws/cloud_formation.rb +95 -94
- data/lib/aws/cloud_formation/client.rb +136 -133
- data/lib/aws/cloud_formation/config.rb +1 -1
- data/lib/aws/cloud_formation/stack.rb +37 -37
- data/lib/aws/cloud_formation/stack_collection.rb +28 -27
- data/lib/aws/cloud_formation/stack_event.rb +9 -11
- data/lib/aws/cloud_formation/stack_output.rb +1 -1
- data/lib/aws/cloud_formation/stack_resource.rb +6 -6
- data/lib/aws/cloud_formation/stack_resource_collection.rb +11 -12
- data/lib/aws/cloud_formation/stack_resource_summary_collection.rb +11 -11
- data/lib/aws/cloud_formation/stack_summary_collection.rb +39 -39
- data/lib/aws/cloud_front.rb +21 -21
- data/lib/aws/cloud_front/client.rb +853 -652
- data/lib/aws/cloud_front/request.rb +3 -0
- data/lib/aws/cloud_search.rb +22 -22
- data/lib/aws/cloud_search/client.rb +322 -315
- data/lib/aws/cloud_search/config.rb +1 -1
- data/lib/aws/cloud_watch.rb +39 -39
- data/lib/aws/cloud_watch/alarm.rb +55 -37
- data/lib/aws/cloud_watch/alarm_collection.rb +18 -18
- data/lib/aws/cloud_watch/alarm_history_item_collection.rb +2 -2
- data/lib/aws/cloud_watch/client.rb +360 -146
- data/lib/aws/cloud_watch/config.rb +1 -1
- data/lib/aws/cloud_watch/metric.rb +15 -15
- data/lib/aws/cloud_watch/metric_alarm_collection.rb +17 -17
- data/lib/aws/cloud_watch/metric_collection.rb +16 -16
- data/lib/aws/cloud_watch/metric_statistics.rb +11 -11
- data/lib/aws/core.rb +243 -225
- data/lib/aws/core/async_handle.rb +13 -13
- data/lib/aws/core/cacheable.rb +14 -15
- data/lib/aws/core/client.rb +40 -15
- data/lib/aws/core/collection.rb +42 -46
- data/lib/aws/core/collection/with_limit_and_next_token.rb +1 -1
- data/lib/aws/core/collection/with_next_token.rb +1 -1
- data/lib/aws/core/configuration.rb +97 -133
- data/lib/aws/core/credential_providers.rb +16 -16
- data/lib/aws/core/data.rb +23 -23
- data/lib/aws/core/http/connection_pool.rb +348 -0
- data/lib/aws/core/http/net_http_handler.rb +17 -26
- data/lib/aws/core/http/patch.rb +102 -0
- data/lib/aws/core/http/request.rb +13 -19
- data/lib/aws/core/http/response.rb +2 -2
- data/lib/aws/core/lazy_error_classes.rb +17 -17
- data/lib/aws/core/log_formatter.rb +70 -104
- data/lib/aws/core/options/json_serializer.rb +1 -1
- data/lib/aws/core/options/validator.rb +4 -4
- data/lib/aws/core/page_result.rb +8 -8
- data/lib/aws/core/policy.rb +49 -49
- data/lib/aws/core/region.rb +72 -0
- data/lib/aws/core/region_collection.rb +106 -0
- data/lib/aws/core/resource.rb +5 -5
- data/lib/aws/core/response.rb +20 -17
- data/lib/aws/core/rest_request_builder.rb +4 -4
- data/lib/aws/core/service_interface.rb +24 -2
- data/lib/aws/core/signature/version_3.rb +2 -2
- data/lib/aws/core/uri_escape.rb +1 -1
- data/lib/aws/core/xml/frame_stack.rb +1 -1
- data/lib/aws/core/xml/grammar.rb +3 -4
- data/lib/aws/core/xml/sax_handlers/libxml.rb +2 -2
- data/lib/aws/core/xml/sax_handlers/nokogiri.rb +3 -3
- data/lib/aws/core/xml/sax_handlers/rexml.rb +5 -5
- data/lib/aws/core/xml/stub.rb +9 -9
- data/lib/aws/data_pipeline.rb +21 -21
- data/lib/aws/data_pipeline/client.rb +189 -133
- data/lib/aws/data_pipeline/config.rb +1 -1
- data/lib/aws/direct_connect.rb +74 -0
- data/lib/aws/direct_connect/client.rb +253 -0
- data/lib/aws/direct_connect/config.rb +18 -0
- data/lib/aws/direct_connect/errors.rb +22 -0
- data/lib/aws/direct_connect/request.rb +27 -0
- data/lib/aws/dynamo_db.rb +71 -69
- data/lib/aws/dynamo_db/attribute_collection.rb +53 -58
- data/lib/aws/dynamo_db/batch_get.rb +23 -23
- data/lib/aws/dynamo_db/batch_write.rb +43 -43
- data/lib/aws/dynamo_db/binary.rb +9 -9
- data/lib/aws/dynamo_db/client.rb +494 -509
- data/lib/aws/dynamo_db/client_base.rb +91 -0
- data/lib/aws/dynamo_db/client_v2.rb +825 -0
- data/lib/aws/dynamo_db/config.rb +1 -1
- data/lib/aws/dynamo_db/item.rb +10 -10
- data/lib/aws/dynamo_db/item_collection.rb +75 -75
- data/lib/aws/dynamo_db/table.rb +85 -85
- data/lib/aws/dynamo_db/table_collection.rb +13 -13
- data/lib/aws/ec2.rb +132 -142
- data/lib/aws/ec2/attachment.rb +31 -36
- data/lib/aws/ec2/attachment_collection.rb +1 -1
- data/lib/aws/ec2/availability_zone.rb +4 -4
- data/lib/aws/ec2/client.rb +2272 -2125
- data/lib/aws/ec2/config.rb +1 -1
- data/lib/aws/ec2/customer_gateway.rb +6 -6
- data/lib/aws/ec2/customer_gateway_collection.rb +6 -6
- data/lib/aws/ec2/dhcp_options.rb +3 -3
- data/lib/aws/ec2/dhcp_options_collection.rb +10 -10
- data/lib/aws/ec2/elastic_ip.rb +15 -15
- data/lib/aws/ec2/elastic_ip_collection.rb +11 -15
- data/lib/aws/ec2/export_task.rb +4 -4
- data/lib/aws/ec2/export_task_collection.rb +11 -11
- data/lib/aws/ec2/filtered_collection.rb +6 -8
- data/lib/aws/ec2/image.rb +46 -40
- data/lib/aws/ec2/image_collection.rb +44 -52
- data/lib/aws/ec2/instance.rb +64 -62
- data/lib/aws/ec2/instance_collection.rb +47 -50
- data/lib/aws/ec2/internet_gateway.rb +6 -6
- data/lib/aws/ec2/internet_gateway/attachment.rb +13 -13
- data/lib/aws/ec2/internet_gateway_collection.rb +3 -3
- data/lib/aws/ec2/key_pair.rb +3 -3
- data/lib/aws/ec2/key_pair_collection.rb +12 -12
- data/lib/aws/ec2/network_acl.rb +39 -39
- data/lib/aws/ec2/network_acl/association.rb +2 -2
- data/lib/aws/ec2/network_acl/entry.rb +22 -22
- data/lib/aws/ec2/network_acl_collection.rb +2 -2
- data/lib/aws/ec2/network_interface.rb +13 -4
- data/lib/aws/ec2/network_interface/attachment.rb +3 -3
- data/lib/aws/ec2/network_interface_collection.rb +5 -5
- data/lib/aws/ec2/permission_collection.rb +1 -1
- data/lib/aws/ec2/region.rb +6 -6
- data/lib/aws/ec2/region_collection.rb +1 -1
- data/lib/aws/ec2/reserved_instances_collection.rb +2 -2
- data/lib/aws/ec2/reserved_instances_offering_collection.rb +2 -2
- data/lib/aws/ec2/resource_tag_collection.rb +5 -5
- data/lib/aws/ec2/route_table.rb +14 -14
- data/lib/aws/ec2/route_table/association.rb +22 -22
- data/lib/aws/ec2/route_table/route.rb +8 -8
- data/lib/aws/ec2/route_table_collection.rb +3 -3
- data/lib/aws/ec2/security_group.rb +39 -41
- data/lib/aws/ec2/security_group_collection.rb +19 -21
- data/lib/aws/ec2/snapshot.rb +3 -3
- data/lib/aws/ec2/snapshot_collection.rb +11 -12
- data/lib/aws/ec2/subnet.rb +2 -2
- data/lib/aws/ec2/subnet_collection.rb +17 -17
- data/lib/aws/ec2/tag_collection.rb +1 -1
- data/lib/aws/ec2/tagged_collection.rb +7 -7
- data/lib/aws/ec2/tagged_item.rb +10 -10
- data/lib/aws/ec2/volume.rb +16 -16
- data/lib/aws/ec2/volume_collection.rb +9 -12
- data/lib/aws/ec2/vpc.rb +6 -6
- data/lib/aws/ec2/vpc_collection.rb +10 -10
- data/lib/aws/ec2/vpn_connection.rb +4 -4
- data/lib/aws/ec2/vpn_connection/telemetry.rb +1 -1
- data/lib/aws/ec2/vpn_connection_collection.rb +6 -6
- data/lib/aws/ec2/vpn_gateway.rb +2 -2
- data/lib/aws/ec2/vpn_gateway_collection.rb +5 -5
- data/lib/aws/elastic_beanstalk.rb +12 -12
- data/lib/aws/elastic_beanstalk/client.rb +376 -368
- data/lib/aws/elastic_beanstalk/config.rb +1 -1
- data/lib/aws/elastic_transcoder.rb +5 -5
- data/lib/aws/elastic_transcoder/client.rb +283 -283
- data/lib/aws/elastic_transcoder/config.rb +1 -1
- data/lib/aws/elasticache.rb +12 -12
- data/lib/aws/elasticache/client.rb +484 -479
- data/lib/aws/elasticache/config.rb +1 -1
- data/lib/aws/elb.rb +23 -23
- data/lib/aws/elb/availability_zone_collection.rb +34 -34
- data/lib/aws/elb/backend_server_policy_collection.rb +24 -24
- data/lib/aws/elb/client.rb +153 -153
- data/lib/aws/elb/config.rb +1 -1
- data/lib/aws/elb/errors.rb +1 -1
- data/lib/aws/elb/instance_collection.rb +20 -25
- data/lib/aws/elb/listener.rb +3 -3
- data/lib/aws/elb/listener_collection.rb +8 -8
- data/lib/aws/elb/load_balancer.rb +15 -16
- data/lib/aws/elb/load_balancer_collection.rb +36 -24
- data/lib/aws/elb/load_balancer_policy.rb +1 -1
- data/lib/aws/elb/load_balancer_policy_collection.rb +5 -5
- data/lib/aws/emr.rb +28 -26
- data/lib/aws/emr/client.rb +165 -149
- data/lib/aws/emr/config.rb +1 -1
- data/lib/aws/emr/instance_group.rb +1 -1
- data/lib/aws/emr/instance_group_collection.rb +1 -1
- data/lib/aws/emr/job_flow.rb +27 -26
- data/lib/aws/emr/job_flow_collection.rb +34 -34
- data/lib/aws/errors.rb +7 -7
- data/lib/aws/glacier.rb +21 -21
- data/lib/aws/glacier/archive_collection.rb +2 -2
- data/lib/aws/glacier/client.rb +139 -140
- data/lib/aws/glacier/config.rb +1 -1
- data/lib/aws/glacier/vault.rb +2 -2
- data/lib/aws/glacier/vault_collection.rb +1 -1
- data/lib/aws/iam.rb +133 -144
- data/lib/aws/iam/access_key.rb +17 -17
- data/lib/aws/iam/access_key_collection.rb +22 -22
- data/lib/aws/iam/account_alias_collection.rb +2 -2
- data/lib/aws/iam/client.rb +429 -420
- data/lib/aws/iam/collection.rb +1 -1
- data/lib/aws/iam/config.rb +2 -2
- data/lib/aws/iam/group.rb +8 -8
- data/lib/aws/iam/group_collection.rb +16 -16
- data/lib/aws/iam/group_policy_collection.rb +6 -6
- data/lib/aws/iam/group_user_collection.rb +3 -3
- data/lib/aws/iam/mfa_device.rb +1 -1
- data/lib/aws/iam/mfa_device_collection.rb +9 -9
- data/lib/aws/iam/policy_collection.rb +4 -4
- data/lib/aws/iam/resource.rb +2 -2
- data/lib/aws/iam/server_certificate.rb +1 -1
- data/lib/aws/iam/server_certificate_collection.rb +15 -15
- data/lib/aws/iam/signing_certificate.rb +29 -29
- data/lib/aws/iam/signing_certificate_collection.rb +23 -23
- data/lib/aws/iam/user.rb +33 -38
- data/lib/aws/iam/user_collection.rb +27 -27
- data/lib/aws/iam/user_group_collection.rb +3 -3
- data/lib/aws/iam/user_policy_collection.rb +6 -6
- data/lib/aws/iam/virtual_mfa_device.rb +12 -12
- data/lib/aws/iam/virtual_mfa_device_collection.rb +4 -4
- data/lib/aws/import_export.rb +22 -21
- data/lib/aws/import_export/client.rb +47 -43
- data/lib/aws/ops_works.rb +5 -5
- data/lib/aws/ops_works/client.rb +484 -438
- data/lib/aws/ops_works/config.rb +1 -1
- data/lib/aws/rails.rb +34 -34
- data/lib/aws/rds.rb +18 -18
- data/lib/aws/rds/client.rb +1286 -1277
- data/lib/aws/rds/config.rb +1 -1
- data/lib/aws/rds/db_instance.rb +15 -4
- data/lib/aws/rds/db_snapshot.rb +1 -1
- data/lib/aws/record.rb +50 -24
- data/lib/aws/record/abstract_base.rb +52 -60
- data/lib/aws/record/attributes.rb +79 -79
- data/lib/aws/record/conversion.rb +1 -1
- data/lib/aws/record/dirty_tracking.rb +69 -67
- data/lib/aws/record/errors.rb +21 -21
- data/lib/aws/record/exceptions.rb +2 -2
- data/lib/aws/record/hash_model.rb +20 -21
- data/lib/aws/record/hash_model/attributes.rb +13 -15
- data/lib/aws/record/hash_model/finder_methods.rb +46 -46
- data/lib/aws/record/hash_model/scope.rb +31 -31
- data/lib/aws/record/model.rb +136 -136
- data/lib/aws/record/model/attributes.rb +57 -59
- data/lib/aws/record/model/finder_methods.rb +67 -67
- data/lib/aws/record/model/scope.rb +48 -49
- data/lib/aws/record/naming.rb +1 -1
- data/lib/aws/record/scope.rb +23 -19
- data/lib/aws/record/validations.rb +253 -271
- data/lib/aws/record/validator.rb +3 -3
- data/lib/aws/record/validators/acceptance.rb +1 -3
- data/lib/aws/record/validators/block.rb +1 -3
- data/lib/aws/record/validators/confirmation.rb +1 -3
- data/lib/aws/record/validators/count.rb +2 -4
- data/lib/aws/record/validators/exclusion.rb +2 -4
- data/lib/aws/record/validators/format.rb +2 -4
- data/lib/aws/record/validators/inclusion.rb +1 -3
- data/lib/aws/record/validators/length.rb +5 -7
- data/lib/aws/record/validators/method.rb +1 -3
- data/lib/aws/record/validators/numericality.rb +6 -8
- data/lib/aws/record/validators/presence.rb +1 -3
- data/lib/aws/redshift.rb +14 -14
- data/lib/aws/redshift/client.rb +596 -592
- data/lib/aws/redshift/config.rb +1 -1
- data/lib/aws/route_53.rb +30 -30
- data/lib/aws/route_53/change_batch.rb +7 -7
- data/lib/aws/route_53/client.rb +188 -152
- data/lib/aws/route_53/hosted_zone.rb +4 -4
- data/lib/aws/route_53/hosted_zone_collection.rb +7 -7
- data/lib/aws/route_53/resource_record_set.rb +10 -10
- data/lib/aws/route_53/resource_record_set_collection.rb +6 -6
- data/lib/aws/s3.rb +79 -79
- data/lib/aws/s3/access_control_list.rb +44 -36
- data/lib/aws/s3/acl_options.rb +51 -51
- data/lib/aws/s3/bucket.rb +146 -146
- data/lib/aws/s3/bucket_collection.rb +21 -21
- data/lib/aws/s3/bucket_lifecycle_configuration.rb +81 -82
- data/lib/aws/s3/bucket_tag_collection.rb +4 -2
- data/lib/aws/s3/cipher_io.rb +5 -4
- data/lib/aws/s3/client.rb +89 -84
- data/lib/aws/s3/client/xml.rb +1 -1
- data/lib/aws/s3/config.rb +7 -1
- data/lib/aws/s3/cors_rule.rb +2 -0
- data/lib/aws/s3/cors_rule_collection.rb +42 -40
- data/lib/aws/s3/data_options.rb +16 -11
- data/lib/aws/s3/encryption_utils.rb +2 -2
- data/lib/aws/s3/errors.rb +7 -7
- data/lib/aws/s3/multipart_upload.rb +30 -33
- data/lib/aws/s3/multipart_upload_collection.rb +8 -6
- data/lib/aws/s3/object_collection.rb +35 -35
- data/lib/aws/s3/object_metadata.rb +6 -6
- data/lib/aws/s3/object_version.rb +4 -4
- data/lib/aws/s3/object_version_collection.rb +15 -15
- data/lib/aws/s3/policy.rb +2 -2
- data/lib/aws/s3/prefixed_collection.rb +9 -5
- data/lib/aws/s3/presigned_post.rb +39 -37
- data/lib/aws/s3/request.rb +11 -11
- data/lib/aws/s3/s3_object.rb +210 -200
- data/lib/aws/s3/tree.rb +25 -27
- data/lib/aws/s3/tree/child_collection.rb +3 -3
- data/lib/aws/s3/tree/leaf_node.rb +2 -2
- data/lib/aws/s3/tree/parent.rb +1 -1
- data/lib/aws/s3/website_configuration.rb +13 -13
- data/lib/aws/simple_db.rb +83 -83
- data/lib/aws/simple_db/attribute.rb +9 -7
- data/lib/aws/simple_db/attribute_collection.rb +22 -13
- data/lib/aws/simple_db/client.rb +107 -107
- data/lib/aws/simple_db/config.rb +7 -1
- data/lib/aws/simple_db/consistent_read_option.rb +5 -5
- data/lib/aws/simple_db/domain.rb +4 -2
- data/lib/aws/simple_db/domain_collection.rb +4 -4
- data/lib/aws/simple_db/domain_metadata.rb +5 -5
- data/lib/aws/simple_db/errors.rb +9 -9
- data/lib/aws/simple_db/item.rb +5 -5
- data/lib/aws/simple_db/item_collection.rb +83 -81
- data/lib/aws/simple_db/item_data.rb +4 -4
- data/lib/aws/simple_db/put_attributes.rb +3 -3
- data/lib/aws/simple_email_service.rb +140 -140
- data/lib/aws/simple_email_service/client.rb +82 -76
- data/lib/aws/simple_email_service/config.rb +1 -2
- data/lib/aws/simple_email_service/email_address_collection.rb +3 -3
- data/lib/aws/simple_email_service/identity.rb +8 -8
- data/lib/aws/simple_email_service/quotas.rb +8 -6
- data/lib/aws/simple_workflow.rb +106 -106
- data/lib/aws/simple_workflow/activity_task.rb +15 -22
- data/lib/aws/simple_workflow/activity_task_collection.rb +15 -15
- data/lib/aws/simple_workflow/activity_type.rb +23 -23
- data/lib/aws/simple_workflow/activity_type_collection.rb +23 -23
- data/lib/aws/simple_workflow/client.rb +1004 -956
- data/lib/aws/simple_workflow/config.rb +1 -1
- data/lib/aws/simple_workflow/count.rb +5 -5
- data/lib/aws/simple_workflow/decision_task.rb +129 -129
- data/lib/aws/simple_workflow/decision_task_collection.rb +59 -59
- data/lib/aws/simple_workflow/domain.rb +11 -11
- data/lib/aws/simple_workflow/domain_collection.rb +26 -26
- data/lib/aws/simple_workflow/history_event.rb +32 -32
- data/lib/aws/simple_workflow/history_event_collection.rb +3 -3
- data/lib/aws/simple_workflow/option_formatters.rb +5 -5
- data/lib/aws/simple_workflow/request.rb +1 -1
- data/lib/aws/simple_workflow/resource.rb +1 -1
- data/lib/aws/simple_workflow/type.rb +8 -8
- data/lib/aws/simple_workflow/type_collection.rb +15 -15
- data/lib/aws/simple_workflow/workflow_execution.rb +70 -72
- data/lib/aws/simple_workflow/workflow_execution_collection.rb +130 -130
- data/lib/aws/simple_workflow/workflow_type.rb +27 -25
- data/lib/aws/simple_workflow/workflow_type_collection.rb +20 -20
- data/lib/aws/sns.rb +25 -25
- data/lib/aws/sns/client.rb +55 -55
- data/lib/aws/sns/config.rb +1 -1
- data/lib/aws/sns/policy.rb +1 -1
- data/lib/aws/sns/subscription.rb +7 -7
- data/lib/aws/sns/subscription_collection.rb +5 -5
- data/lib/aws/sns/topic.rb +49 -49
- data/lib/aws/sns/topic_collection.rb +2 -2
- data/lib/aws/sns/topic_subscription_collection.rb +5 -5
- data/lib/aws/sqs.rb +20 -20
- data/lib/aws/sqs/client.rb +78 -78
- data/lib/aws/sqs/config.rb +1 -1
- data/lib/aws/sqs/errors.rb +12 -12
- data/lib/aws/sqs/queue.rb +66 -67
- data/lib/aws/sqs/queue_collection.rb +16 -8
- data/lib/aws/sqs/received_message.rb +7 -6
- data/lib/aws/storage_gateway.rb +21 -21
- data/lib/aws/storage_gateway/client.rb +269 -202
- data/lib/aws/storage_gateway/config.rb +1 -1
- data/lib/aws/sts.rb +10 -8
- data/lib/aws/sts/client.rb +35 -35
- data/lib/aws/sts/session.rb +3 -3
- data/lib/aws/version.rb +1 -2
- metadata +23 -21
- data/lib/aws/core/autoloader.rb +0 -64
- data/lib/net/http/connection_pool.rb +0 -226
- data/lib/net/http/connection_pool/connection.rb +0 -189
- data/lib/net/http/connection_pool/session.rb +0 -126
data/lib/aws/record/validator.rb
CHANGED
@@ -30,7 +30,7 @@ module AWS
|
|
30
30
|
reject_unknown_options
|
31
31
|
|
32
32
|
ensure_type([Symbol, Proc], :if, :unless)
|
33
|
-
ensure_is([:save, :create, :update], :on)
|
33
|
+
ensure_is([:save, :create, :update], :on)
|
34
34
|
|
35
35
|
setup(record_class)
|
36
36
|
|
@@ -44,7 +44,7 @@ module AWS
|
|
44
44
|
attr_reader :options
|
45
45
|
|
46
46
|
def validate record
|
47
|
-
if
|
47
|
+
if
|
48
48
|
passes_on_condition?(record) and
|
49
49
|
passes_if_condition?(record) and
|
50
50
|
passes_unless_condition?(record)
|
@@ -84,7 +84,7 @@ module AWS
|
|
84
84
|
end
|
85
85
|
|
86
86
|
unless methods.include?(setter)
|
87
|
-
klass.send(:attr_writer, attr)
|
87
|
+
klass.send(:attr_writer, attr)
|
88
88
|
klass.send(:public, setter)
|
89
89
|
end
|
90
90
|
|
@@ -11,8 +11,6 @@
|
|
11
11
|
# ANY KIND, either express or implied. See the License for the specific
|
12
12
|
# language governing permissions and limitations under the License.
|
13
13
|
|
14
|
-
require 'aws/record/validator'
|
15
|
-
|
16
14
|
module AWS
|
17
15
|
module Record
|
18
16
|
|
@@ -31,7 +29,7 @@ module AWS
|
|
31
29
|
accepted = case value
|
32
30
|
when '1' then true
|
33
31
|
when true then true
|
34
|
-
else
|
32
|
+
else
|
35
33
|
options.has_key?(:accept) ?
|
36
34
|
value == options[:accept] :
|
37
35
|
false
|
@@ -11,11 +11,9 @@
|
|
11
11
|
# ANY KIND, either express or implied. See the License for the specific
|
12
12
|
# language governing permissions and limitations under the License.
|
13
13
|
|
14
|
-
require 'aws/record/validator'
|
15
|
-
|
16
14
|
module AWS
|
17
15
|
module Record
|
18
|
-
|
16
|
+
|
19
17
|
# @private
|
20
18
|
class BlockValidator < Validator
|
21
19
|
|
@@ -11,11 +11,9 @@
|
|
11
11
|
# ANY KIND, either express or implied. See the License for the specific
|
12
12
|
# language governing permissions and limitations under the License.
|
13
13
|
|
14
|
-
require 'aws/record/validator'
|
15
|
-
|
16
14
|
module AWS
|
17
15
|
module Record
|
18
|
-
|
16
|
+
|
19
17
|
# @private
|
20
18
|
class ConfirmationValidator < Validator
|
21
19
|
|
@@ -11,8 +11,6 @@
|
|
11
11
|
# ANY KIND, either express or implied. See the License for the specific
|
12
12
|
# language governing permissions and limitations under the License.
|
13
13
|
|
14
|
-
require 'aws/record/validator'
|
15
|
-
|
16
14
|
module AWS
|
17
15
|
module Record
|
18
16
|
|
@@ -74,7 +72,7 @@ module AWS
|
|
74
72
|
# @private
|
75
73
|
protected
|
76
74
|
def wrong_number exactly, got
|
77
|
-
msg = options[:wrong_number] ||
|
75
|
+
msg = options[:wrong_number] ||
|
78
76
|
"has the wrong number of values (should have %{exactly})"
|
79
77
|
interpolate(msg, :exactly => exactly, :count => got)
|
80
78
|
end
|
@@ -95,7 +93,7 @@ module AWS
|
|
95
93
|
|
96
94
|
protected
|
97
95
|
def interpolate message_with_placeholders, values
|
98
|
-
msg = message_with_placeholders.dup
|
96
|
+
msg = message_with_placeholders.dup
|
99
97
|
values.each_pair do |key,value|
|
100
98
|
msg.gsub!(/%\{#{key}\}/, value.to_s)
|
101
99
|
end
|
@@ -11,11 +11,9 @@
|
|
11
11
|
# ANY KIND, either express or implied. See the License for the specific
|
12
12
|
# language governing permissions and limitations under the License.
|
13
13
|
|
14
|
-
require 'aws/record/validators/inclusion'
|
15
|
-
|
16
14
|
module AWS
|
17
15
|
module Record
|
18
|
-
|
16
|
+
|
19
17
|
# @private
|
20
18
|
class ExclusionValidator < InclusionValidator
|
21
19
|
|
@@ -29,7 +27,7 @@ module AWS
|
|
29
27
|
def validate_attribute record, attribute_name, value_or_values
|
30
28
|
each_value(value_or_values) do |value|
|
31
29
|
included = value_included?(value)
|
32
|
-
record.errors.add(attribute_name, message) if included
|
30
|
+
record.errors.add(attribute_name, message) if included
|
33
31
|
end
|
34
32
|
end
|
35
33
|
|
@@ -11,16 +11,14 @@
|
|
11
11
|
# ANY KIND, either express or implied. See the License for the specific
|
12
12
|
# language governing permissions and limitations under the License.
|
13
13
|
|
14
|
-
require 'aws/record/validator'
|
15
|
-
|
16
14
|
module AWS
|
17
15
|
module Record
|
18
|
-
|
16
|
+
|
19
17
|
# @private
|
20
18
|
class FormatValidator < Validator
|
21
19
|
|
22
20
|
ACCEPTED_OPTIONS = [
|
23
|
-
:with, :without,
|
21
|
+
:with, :without,
|
24
22
|
:message, :allow_nil, :allow_blank, :on, :if, :unless,
|
25
23
|
]
|
26
24
|
|
@@ -11,11 +11,9 @@
|
|
11
11
|
# ANY KIND, either express or implied. See the License for the specific
|
12
12
|
# language governing permissions and limitations under the License.
|
13
13
|
|
14
|
-
require 'aws/record/validator'
|
15
|
-
|
16
14
|
module AWS
|
17
15
|
module Record
|
18
|
-
|
16
|
+
|
19
17
|
# @private
|
20
18
|
class InclusionValidator < Validator
|
21
19
|
|
@@ -11,11 +11,9 @@
|
|
11
11
|
# ANY KIND, either express or implied. See the License for the specific
|
12
12
|
# language governing permissions and limitations under the License.
|
13
13
|
|
14
|
-
require 'aws/record/validator'
|
15
|
-
|
16
14
|
module AWS
|
17
15
|
module Record
|
18
|
-
|
16
|
+
|
19
17
|
# @private
|
20
18
|
class LengthValidator < Validator
|
21
19
|
|
@@ -71,7 +69,7 @@ module AWS
|
|
71
69
|
# @private
|
72
70
|
protected
|
73
71
|
def wrong_length exactly, got
|
74
|
-
msg = options[:wrong_length] ||
|
72
|
+
msg = options[:wrong_length] ||
|
75
73
|
"is the wrong length (should be %{exactly} characters)"
|
76
74
|
interpolate(msg, :exactly => exactly, :length => got)
|
77
75
|
end
|
@@ -79,7 +77,7 @@ module AWS
|
|
79
77
|
# @private
|
80
78
|
protected
|
81
79
|
def too_short min, got
|
82
|
-
msg = options[:too_short] ||
|
80
|
+
msg = options[:too_short] ||
|
83
81
|
"is too short (minimum is %{minimum} characters)"
|
84
82
|
interpolate(msg, :minimum => min, :length => got)
|
85
83
|
end
|
@@ -87,14 +85,14 @@ module AWS
|
|
87
85
|
# @private
|
88
86
|
protected
|
89
87
|
def too_long max, got
|
90
|
-
msg = options[:too_long] ||
|
88
|
+
msg = options[:too_long] ||
|
91
89
|
"is too long (maximum is %{maximum} characters)"
|
92
90
|
interpolate(msg, :maximum => max, :length => got)
|
93
91
|
end
|
94
92
|
|
95
93
|
protected
|
96
94
|
def interpolate message_with_placeholders, values
|
97
|
-
msg = message_with_placeholders.dup
|
95
|
+
msg = message_with_placeholders.dup
|
98
96
|
values.each_pair do |key,value|
|
99
97
|
msg.gsub!(/%\{#{key}\}/, value.to_s)
|
100
98
|
end
|
@@ -11,11 +11,9 @@
|
|
11
11
|
# ANY KIND, either express or implied. See the License for the specific
|
12
12
|
# language governing permissions and limitations under the License.
|
13
13
|
|
14
|
-
require 'aws/record/validator'
|
15
|
-
|
16
14
|
module AWS
|
17
15
|
module Record
|
18
|
-
|
16
|
+
|
19
17
|
# Uses the base validator class to call user-defined validation methods.
|
20
18
|
# @private
|
21
19
|
class MethodValidator < Validator
|
@@ -11,11 +11,9 @@
|
|
11
11
|
# ANY KIND, either express or implied. See the License for the specific
|
12
12
|
# language governing permissions and limitations under the License.
|
13
13
|
|
14
|
-
require 'aws/record/validator'
|
15
|
-
|
16
14
|
module AWS
|
17
15
|
module Record
|
18
|
-
|
16
|
+
|
19
17
|
# @private
|
20
18
|
class NumericalityValidator < Validator
|
21
19
|
|
@@ -27,10 +25,10 @@ module AWS
|
|
27
25
|
]
|
28
26
|
|
29
27
|
COMPARISONS = {
|
30
|
-
:equal_to => :==,
|
28
|
+
:equal_to => :==,
|
31
29
|
:greater_than => :>,
|
32
30
|
:greater_than_or_equal_to => :>=,
|
33
|
-
:less_than => :<,
|
31
|
+
:less_than => :<,
|
34
32
|
:less_than_or_equal_to => :<=,
|
35
33
|
:even => lambda{|value| value.to_i % 2 == 0 },
|
36
34
|
:odd => lambda{|value| value.to_i % 2 == 1 },
|
@@ -40,7 +38,7 @@ module AWS
|
|
40
38
|
|
41
39
|
ensure_exclusive(:odd, :even)
|
42
40
|
|
43
|
-
ensure_exclusive(:equal_to,
|
41
|
+
ensure_exclusive(:equal_to,
|
44
42
|
[:greater_than, :greater_than_or_equal_to,
|
45
43
|
:less_than, :less_than_or_equal_to])
|
46
44
|
|
@@ -48,7 +46,7 @@ module AWS
|
|
48
46
|
|
49
47
|
ensure_type(TrueClass, :odd, :even)
|
50
48
|
|
51
|
-
ensure_type([Numeric, Symbol, Proc],
|
49
|
+
ensure_type([Numeric, Symbol, Proc],
|
52
50
|
:greater_than, :greater_than_or_equal_to,
|
53
51
|
:less_than, :less_than_or_equal_to,
|
54
52
|
:equal_to)
|
@@ -78,7 +76,7 @@ module AWS
|
|
78
76
|
record.errors.add(attribute_name, message_for(error_type))
|
79
77
|
return
|
80
78
|
end
|
81
|
-
|
79
|
+
|
82
80
|
COMPARISONS.each do |option,method|
|
83
81
|
|
84
82
|
next unless options.has_key?(option)
|
@@ -11,8 +11,6 @@
|
|
11
11
|
# ANY KIND, either express or implied. See the License for the specific
|
12
12
|
# language governing permissions and limitations under the License.
|
13
13
|
|
14
|
-
require 'aws/record/validator'
|
15
|
-
|
16
14
|
module AWS
|
17
15
|
module Record
|
18
16
|
|
@@ -20,7 +18,7 @@ module AWS
|
|
20
18
|
class PresenceValidator < Validator
|
21
19
|
|
22
20
|
ACCEPTED_OPTIONS = [:message, :allow_nil, :allow_blank, :on, :if, :unless]
|
23
|
-
|
21
|
+
|
24
22
|
def validate_attribute record, attribute_name, value
|
25
23
|
|
26
24
|
blank = case
|
data/lib/aws/redshift.rb
CHANGED
@@ -20,33 +20,33 @@ module AWS
|
|
20
20
|
#
|
21
21
|
# For more information about Redshift:
|
22
22
|
#
|
23
|
-
# *
|
24
|
-
# *
|
23
|
+
# * [Amazon Redshift](http://aws.amazon.com/redshift/)
|
24
|
+
# * [Amazon Redshift Documentation](http://aws.amazon.com/documentation/redshift/)
|
25
25
|
#
|
26
|
-
#
|
26
|
+
# # Credentials
|
27
27
|
#
|
28
28
|
# You can setup default credentials for all AWS services via
|
29
29
|
# AWS.config:
|
30
30
|
#
|
31
|
-
#
|
32
|
-
#
|
33
|
-
#
|
31
|
+
# AWS.config(
|
32
|
+
# :access_key_id => 'YOUR_ACCESS_KEY_ID',
|
33
|
+
# :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
|
34
34
|
#
|
35
35
|
# Or you can set them directly on the AWS::Redshift interface:
|
36
36
|
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
37
|
+
# redshift = AWS::Redshift.new(
|
38
|
+
# :access_key_id => 'YOUR_ACCESS_KEY_ID',
|
39
|
+
# :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
|
40
40
|
#
|
41
41
|
class Redshift
|
42
42
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
autoload :Request, 'request'
|
47
|
-
end
|
43
|
+
autoload :Client, 'aws/redshift/client'
|
44
|
+
autoload :Errors, 'aws/redshift/errors'
|
45
|
+
autoload :Request, 'aws/redshift/request'
|
48
46
|
|
49
47
|
include Core::ServiceInterface
|
50
48
|
|
49
|
+
endpoint_prefix 'redshift'
|
50
|
+
|
51
51
|
end
|
52
52
|
end
|
data/lib/aws/redshift/client.rb
CHANGED
@@ -25,37 +25,37 @@ module AWS
|
|
25
25
|
# @!method authorize_cluster_security_group_ingress(options = {})
|
26
26
|
# Calls the AuthorizeClusterSecurityGroupIngress API operation.
|
27
27
|
# @param [Hash] options
|
28
|
-
# *
|
28
|
+
# * `:cluster_security_group_name` - *required* - (String) The name of
|
29
29
|
# the security group to which the ingress rule is added.
|
30
|
-
# *
|
30
|
+
# * `:cidrip` - (String) The IP range to be added the Amazon Redshift
|
31
31
|
# security group.
|
32
|
-
# *
|
32
|
+
# * `:ec2_security_group_name` - (String) The EC2 security group to be
|
33
33
|
# added the Amazon Redshift security group.
|
34
|
-
# *
|
34
|
+
# * `:ec2_security_group_owner_id` - (String) The AWS account number of
|
35
35
|
# the owner of the security group specified by the
|
36
36
|
# EC2SecurityGroupName parameter. The AWS Access Key ID is not an
|
37
37
|
# acceptable value. Example: 111122223333
|
38
38
|
# @return [Core::Response]
|
39
39
|
# The #data method of the response object returns
|
40
40
|
# a hash with the following structure:
|
41
|
-
# *
|
42
|
-
# *
|
43
|
-
# *
|
44
|
-
# *
|
45
|
-
# *
|
46
|
-
# *
|
47
|
-
# *
|
48
|
-
# *
|
49
|
-
# *
|
41
|
+
# * `:cluster_security_group_name` - (String)
|
42
|
+
# * `:description` - (String)
|
43
|
+
# * `:ec_2_security_groups` - (Array<Hash>)
|
44
|
+
# * `:status` - (String)
|
45
|
+
# * `:ec2_security_group_name` - (String)
|
46
|
+
# * `:ec2_security_group_owner_id` - (String)
|
47
|
+
# * `:ip_ranges` - (Array<Hash>)
|
48
|
+
# * `:status` - (String)
|
49
|
+
# * `:cidrip` - (String)
|
50
50
|
|
51
51
|
# @!method copy_cluster_snapshot(options = {})
|
52
52
|
# Calls the CopyClusterSnapshot API operation.
|
53
53
|
# @param [Hash] options
|
54
|
-
# *
|
54
|
+
# * `:source_snapshot_identifier` - *required* - (String) The
|
55
55
|
# identifier for the source snapshot. Constraints: Must be the
|
56
56
|
# identifier for a valid automated snapshot whose state is
|
57
57
|
# "available".
|
58
|
-
# *
|
58
|
+
# * `:target_snapshot_identifier` - *required* - (String) The
|
59
59
|
# identifier given to the new manual snapshot. Constraints: Cannot be
|
60
60
|
# null, empty, or blank. Must contain from 1 to 255 alphanumeric
|
61
61
|
# characters or hyphens. First character must be a letter. Cannot end
|
@@ -64,25 +64,25 @@ module AWS
|
|
64
64
|
# @return [Core::Response]
|
65
65
|
# The #data method of the response object returns
|
66
66
|
# a hash with the following structure:
|
67
|
-
# *
|
68
|
-
# *
|
69
|
-
# *
|
70
|
-
# *
|
71
|
-
# *
|
72
|
-
# *
|
73
|
-
# *
|
74
|
-
# *
|
75
|
-
# *
|
76
|
-
# *
|
77
|
-
# *
|
78
|
-
# *
|
79
|
-
# *
|
80
|
-
# *
|
67
|
+
# * `:snapshot_identifier` - (String)
|
68
|
+
# * `:cluster_identifier` - (String)
|
69
|
+
# * `:snapshot_create_time` - (Time)
|
70
|
+
# * `:status` - (String)
|
71
|
+
# * `:port` - (Integer)
|
72
|
+
# * `:availability_zone` - (String)
|
73
|
+
# * `:cluster_create_time` - (Time)
|
74
|
+
# * `:master_username` - (String)
|
75
|
+
# * `:cluster_version` - (String)
|
76
|
+
# * `:snapshot_type` - (String)
|
77
|
+
# * `:node_type` - (String)
|
78
|
+
# * `:number_of_nodes` - (Integer)
|
79
|
+
# * `:db_name` - (String)
|
80
|
+
# * `:vpc_id` - (String)
|
81
81
|
|
82
82
|
# @!method create_cluster(options = {})
|
83
83
|
# Calls the CreateCluster API operation.
|
84
84
|
# @param [Hash] options
|
85
|
-
# *
|
85
|
+
# * `:db_name` - (String) The name of the first database to be created
|
86
86
|
# when the cluster is created. To create additional databases after
|
87
87
|
# the cluster is created, connect to the cluster with a SQL client
|
88
88
|
# and use SQL commands to create a database. For more information, go
|
@@ -91,7 +91,7 @@ module AWS
|
|
91
91
|
# characters. Must contain only lowercase letters. Cannot be a word
|
92
92
|
# that is reserved by the service. A list of reserved words can be
|
93
93
|
# found in Reserved Words in the Amazon Redshift Developer Guide.
|
94
|
-
# *
|
94
|
+
# * `:cluster_identifier` - *required* - (String) A unique identifier
|
95
95
|
# for the cluster. You use this identifier to refer to the cluster
|
96
96
|
# for any subsequent cluster operations such as deleting or
|
97
97
|
# modifying. The identifier also appears in the Amazon Redshift
|
@@ -100,37 +100,37 @@ module AWS
|
|
100
100
|
# First character must be a letter. Cannot end with a hyphen or
|
101
101
|
# contain two consecutive hyphens. Must be unique for all clusters
|
102
102
|
# within an AWS account. Example: myexamplecluster
|
103
|
-
# *
|
103
|
+
# * `:cluster_type` - (String) The type of the cluster. When cluster
|
104
104
|
# type is specified as single-node, the NumberOfNodes parameter is
|
105
105
|
# not required. multi-node, the NumberOfNodes parameter is required.
|
106
106
|
# Valid Values: multi-node | single-node Default: multi-node
|
107
|
-
# *
|
107
|
+
# * `:node_type` - *required* - (String) The node type to be
|
108
108
|
# provisioned for the cluster. For information about node types, go
|
109
109
|
# to Working with Clusters in the Amazon Redshift Management Guide.
|
110
110
|
# Valid Values: dw.hs1.xlarge | dw.hs1.8xlarge.
|
111
|
-
# *
|
111
|
+
# * `:master_username` - *required* - (String) The user name associated
|
112
112
|
# with the master user account for the cluster that is being created.
|
113
113
|
# Constraints: Must be 1 - 128 alphanumeric characters. First
|
114
114
|
# character must be a letter. Cannot be a reserved word. A list of
|
115
115
|
# reserved words can be found in Reserved Words in the Amazon
|
116
116
|
# Redshift Developer Guide.
|
117
|
-
# *
|
117
|
+
# * `:master_user_password` - *required* - (String) The password
|
118
118
|
# associated with the master user account for the cluster that is
|
119
119
|
# being created. Constraints: Must be between 8 and 64 characters in
|
120
120
|
# length. Must contain at least one uppercase letter. Must contain
|
121
121
|
# one lowercase letter. Must contain one number.
|
122
|
-
# *
|
122
|
+
# * `:cluster_security_groups` - (Array<String>) A list of security
|
123
123
|
# groups to be associated with this cluster. Default: The default
|
124
124
|
# cluster security group for Amazon Redshift.
|
125
|
-
# *
|
125
|
+
# * `:vpc_security_group_ids` - (Array<String>) A list of Virtual
|
126
126
|
# Private Cloud (VPC) security groups to associate with the cluster.
|
127
127
|
# Default: The default VPC security group is associated. Type: String
|
128
128
|
# list
|
129
|
-
# *
|
129
|
+
# * `:cluster_subnet_group_name` - (String) A cluster subnet group to
|
130
130
|
# be associated with this cluster. If this parameter is not provided
|
131
131
|
# the resulting cluster will be deployed outside virtual private
|
132
132
|
# cloud (VPC).
|
133
|
-
# *
|
133
|
+
# * `:availability_zone` - (String) The EC2 Availability Zone (AZ) in
|
134
134
|
# which you want Amazon Redshift to provision the cluster. For
|
135
135
|
# example, if you have several EC2 instances running in a specific
|
136
136
|
# Availability Zone, then you might want the cluster to be
|
@@ -139,7 +139,7 @@ module AWS
|
|
139
139
|
# that is specified by the endpoint. Example: us-east-1d Constraint:
|
140
140
|
# The specified Availability Zone must be in the same region as the
|
141
141
|
# current endpoint.
|
142
|
-
# *
|
142
|
+
# * `:preferred_maintenance_window` - (String) The weekly time range
|
143
143
|
# (in UTC) during which automated cluster maintenance can occur.
|
144
144
|
# Format: ddd:hh24:mi-ddd:hh24:mi Default: A 30-minute window
|
145
145
|
# selected at random from an 8-hour block of time per region,
|
@@ -151,7 +151,7 @@ module AWS
|
|
151
151
|
# Region: 14:00-22:00 UTC Asia Pacific (Tokyo) Region: 17:00-03:00
|
152
152
|
# UTC Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
|
153
153
|
# Constraints: Minimum 30-minute window.
|
154
|
-
# *
|
154
|
+
# * `:cluster_parameter_group_name` - (String) The name of the
|
155
155
|
# parameter group to be associated with this cluster. Default: The
|
156
156
|
# default Amazon Redshift cluster parameter group. For information
|
157
157
|
# about the default parameter group, go to Working with Amazon
|
@@ -159,29 +159,29 @@ module AWS
|
|
159
159
|
# alphanumeric characters or hyphens. First character must be a
|
160
160
|
# letter. Cannot end with a hyphen or contain two consecutive
|
161
161
|
# hyphens.
|
162
|
-
# *
|
162
|
+
# * `:automated_snapshot_retention_period` - (Integer) The number of
|
163
163
|
# days that automated snapshots are retained. If the value is 0,
|
164
164
|
# automated snapshots are disabled. Even if automated snapshots are
|
165
165
|
# disabled, you can still create manual snapshots when you want with
|
166
166
|
# CreateClusterSnapshot. Default: 1 Constraints: Must be a value from
|
167
167
|
# 0 to 35.
|
168
|
-
# *
|
168
|
+
# * `:port` - (Integer) The port number on which the cluster accepts
|
169
169
|
# incoming connections. The cluster is accessible only via the JDBC
|
170
170
|
# and ODBC connection strings. Part of the connection string requires
|
171
171
|
# the port on which the cluster will listen for incoming connections.
|
172
172
|
# Default: 5439 Valid Values: 1150-65535 ???
|
173
|
-
# *
|
173
|
+
# * `:cluster_version` - (String) The version of the Amazon Redshift
|
174
174
|
# engine software that you want to deploy on the cluster. The version
|
175
175
|
# selected runs on all the nodes in the cluster. Constraints: Only
|
176
176
|
# version 1.0 is currently available. Example: 1.0
|
177
|
-
# *
|
177
|
+
# * `:allow_version_upgrade` - (Boolean) If `true` , upgrades can be
|
178
178
|
# applied during the maintenance window to the Amazon Redshift engine
|
179
179
|
# that is running on the cluster. When a new version of the Amazon
|
180
180
|
# Redshift engine is released, you can request that the service
|
181
181
|
# automatically apply upgrades during the maintenance window to the
|
182
182
|
# Amazon Redshift engine that is running on your cluster. Default:
|
183
|
-
#
|
184
|
-
# *
|
183
|
+
# `true`
|
184
|
+
# * `:number_of_nodes` - (Integer) The number of compute nodes in the
|
185
185
|
# cluster. This parameter is required when the ClusterType parameter
|
186
186
|
# is specified as multi-node. For information about determining how
|
187
187
|
# many nodes you need, go to Working with Clusters in the Amazon
|
@@ -190,57 +190,57 @@ module AWS
|
|
190
190
|
# you must specify the number of nodes that you want in the cluster.
|
191
191
|
# Default: 1 Constraints: Value must be at least 1 and no more than
|
192
192
|
# 100.
|
193
|
-
# *
|
193
|
+
# * `:publicly_accessible` - (Boolean) If `true` , the cluster can be
|
194
194
|
# accessed from a public network.
|
195
195
|
# @return [Core::Response]
|
196
196
|
# The #data method of the response object returns
|
197
197
|
# a hash with the following structure:
|
198
|
-
# *
|
199
|
-
# *
|
200
|
-
# *
|
201
|
-
# *
|
202
|
-
# *
|
203
|
-
# *
|
204
|
-
# *
|
205
|
-
# *
|
206
|
-
# *
|
207
|
-
# *
|
208
|
-
# *
|
209
|
-
# *
|
210
|
-
# *
|
211
|
-
# *
|
212
|
-
# *
|
213
|
-
# *
|
214
|
-
# *
|
215
|
-
# *
|
216
|
-
# *
|
217
|
-
# *
|
218
|
-
# *
|
219
|
-
# *
|
220
|
-
# *
|
221
|
-
# *
|
222
|
-
# *
|
223
|
-
# *
|
224
|
-
# *
|
225
|
-
# *
|
226
|
-
# *
|
227
|
-
# *
|
228
|
-
# *
|
229
|
-
# *
|
230
|
-
# *
|
231
|
-
# *
|
232
|
-
# *
|
198
|
+
# * `:cluster_identifier` - (String)
|
199
|
+
# * `:node_type` - (String)
|
200
|
+
# * `:cluster_status` - (String)
|
201
|
+
# * `:modify_status` - (String)
|
202
|
+
# * `:master_username` - (String)
|
203
|
+
# * `:db_name` - (String)
|
204
|
+
# * `:endpoint` - (Hash)
|
205
|
+
# * `:address` - (String)
|
206
|
+
# * `:port` - (Integer)
|
207
|
+
# * `:cluster_create_time` - (Time)
|
208
|
+
# * `:automated_snapshot_retention_period` - (Integer)
|
209
|
+
# * `:cluster_security_groups` - (Array<Hash>)
|
210
|
+
# * `:cluster_security_group_name` - (String)
|
211
|
+
# * `:status` - (String)
|
212
|
+
# * `:vpc_security_groups` - (Array<Hash>)
|
213
|
+
# * `:vpc_security_group_id` - (String)
|
214
|
+
# * `:status` - (String)
|
215
|
+
# * `:cluster_parameter_groups` - (Array<Hash>)
|
216
|
+
# * `:parameter_group_name` - (String)
|
217
|
+
# * `:parameter_apply_status` - (String)
|
218
|
+
# * `:cluster_subnet_group_name` - (String)
|
219
|
+
# * `:vpc_id` - (String)
|
220
|
+
# * `:availability_zone` - (String)
|
221
|
+
# * `:preferred_maintenance_window` - (String)
|
222
|
+
# * `:pending_modified_values` - (Hash)
|
223
|
+
# * `:master_user_password` - (String)
|
224
|
+
# * `:node_type` - (String)
|
225
|
+
# * `:number_of_nodes` - (Integer)
|
226
|
+
# * `:cluster_type` - (String)
|
227
|
+
# * `:cluster_version` - (String)
|
228
|
+
# * `:automated_snapshot_retention_period` - (Integer)
|
229
|
+
# * `:cluster_version` - (String)
|
230
|
+
# * `:allow_version_upgrade` - (Boolean)
|
231
|
+
# * `:number_of_nodes` - (Integer)
|
232
|
+
# * `:publicly_accessible` - (Boolean)
|
233
233
|
|
234
234
|
# @!method create_cluster_parameter_group(options = {})
|
235
235
|
# Calls the CreateClusterParameterGroup API operation.
|
236
236
|
# @param [Hash] options
|
237
|
-
# *
|
237
|
+
# * `:parameter_group_name` - *required* - (String) The name of the
|
238
238
|
# cluster parameter group. Constraints: Must be 1 to 255 alphanumeric
|
239
239
|
# characters or hyphens First character must be a letter. Cannot end
|
240
240
|
# with a hyphen or contain two consecutive hyphens. Must be unique
|
241
241
|
# withing your AWS account. This value is stored as a lower-case
|
242
242
|
# string.
|
243
|
-
# *
|
243
|
+
# * `:parameter_group_family` - *required* - (String) The Amazon
|
244
244
|
# Redshift engine version to which the cluster parameter group
|
245
245
|
# applies. The cluster engine version determines the set of
|
246
246
|
# parameters. To get a list of valid parameter group family names,
|
@@ -250,159 +250,159 @@ module AWS
|
|
250
250
|
# each Amazon Redshift engine version. The parameter group family
|
251
251
|
# names associated with the default parameter groups provide you the
|
252
252
|
# valid values. For example, a valid family name is "redshift-1.0".
|
253
|
-
# *
|
253
|
+
# * `:description` - *required* - (String) A description of the
|
254
254
|
# parameter group.
|
255
255
|
# @return [Core::Response]
|
256
256
|
# The #data method of the response object returns
|
257
257
|
# a hash with the following structure:
|
258
|
-
# *
|
259
|
-
# *
|
260
|
-
# *
|
258
|
+
# * `:parameter_group_name` - (String)
|
259
|
+
# * `:parameter_group_family` - (String)
|
260
|
+
# * `:description` - (String)
|
261
261
|
|
262
262
|
# @!method create_cluster_security_group(options = {})
|
263
263
|
# Calls the CreateClusterSecurityGroup API operation.
|
264
264
|
# @param [Hash] options
|
265
|
-
# *
|
265
|
+
# * `:cluster_security_group_name` - *required* - (String) The name for
|
266
266
|
# the security group. Amazon Redshift stores the value as a lowercase
|
267
267
|
# string. Constraints: Must contain no more than 255 alphanumeric
|
268
268
|
# characters or hyphens. Must not be "Default". Must be unique for
|
269
269
|
# all security groups that are created by your AWS account. Example:
|
270
270
|
# examplesecuritygroup
|
271
|
-
# *
|
271
|
+
# * `:description` - *required* - (String) A description for the
|
272
272
|
# security group.
|
273
273
|
# @return [Core::Response]
|
274
274
|
# The #data method of the response object returns
|
275
275
|
# a hash with the following structure:
|
276
|
-
# *
|
277
|
-
# *
|
278
|
-
# *
|
279
|
-
# *
|
280
|
-
# *
|
281
|
-
# *
|
282
|
-
# *
|
283
|
-
# *
|
284
|
-
# *
|
276
|
+
# * `:cluster_security_group_name` - (String)
|
277
|
+
# * `:description` - (String)
|
278
|
+
# * `:ec_2_security_groups` - (Array<Hash>)
|
279
|
+
# * `:status` - (String)
|
280
|
+
# * `:ec2_security_group_name` - (String)
|
281
|
+
# * `:ec2_security_group_owner_id` - (String)
|
282
|
+
# * `:ip_ranges` - (Array<Hash>)
|
283
|
+
# * `:status` - (String)
|
284
|
+
# * `:cidrip` - (String)
|
285
285
|
|
286
286
|
# @!method create_cluster_snapshot(options = {})
|
287
287
|
# Calls the CreateClusterSnapshot API operation.
|
288
288
|
# @param [Hash] options
|
289
|
-
# *
|
289
|
+
# * `:snapshot_identifier` - *required* - (String) A unique identifier
|
290
290
|
# for the snapshot that you are requesting. This identifier must be
|
291
291
|
# unique for all snapshots within the AWS account. Constraints:
|
292
292
|
# Cannot be null, empty, or blank Must contain from 1 to 255
|
293
293
|
# alphanumeric characters or hyphens First character must be a letter
|
294
294
|
# Cannot end with a hyphen or contain two consecutive hyphens
|
295
295
|
# Example: my-snapshot-id
|
296
|
-
# *
|
296
|
+
# * `:cluster_identifier` - *required* - (String) The cluster
|
297
297
|
# identifier for which you want a snapshot.
|
298
298
|
# @return [Core::Response]
|
299
299
|
# The #data method of the response object returns
|
300
300
|
# a hash with the following structure:
|
301
|
-
# *
|
302
|
-
# *
|
303
|
-
# *
|
304
|
-
# *
|
305
|
-
# *
|
306
|
-
# *
|
307
|
-
# *
|
308
|
-
# *
|
309
|
-
# *
|
310
|
-
# *
|
311
|
-
# *
|
312
|
-
# *
|
313
|
-
# *
|
314
|
-
# *
|
301
|
+
# * `:snapshot_identifier` - (String)
|
302
|
+
# * `:cluster_identifier` - (String)
|
303
|
+
# * `:snapshot_create_time` - (Time)
|
304
|
+
# * `:status` - (String)
|
305
|
+
# * `:port` - (Integer)
|
306
|
+
# * `:availability_zone` - (String)
|
307
|
+
# * `:cluster_create_time` - (Time)
|
308
|
+
# * `:master_username` - (String)
|
309
|
+
# * `:cluster_version` - (String)
|
310
|
+
# * `:snapshot_type` - (String)
|
311
|
+
# * `:node_type` - (String)
|
312
|
+
# * `:number_of_nodes` - (Integer)
|
313
|
+
# * `:db_name` - (String)
|
314
|
+
# * `:vpc_id` - (String)
|
315
315
|
|
316
316
|
# @!method create_cluster_subnet_group(options = {})
|
317
317
|
# Calls the CreateClusterSubnetGroup API operation.
|
318
318
|
# @param [Hash] options
|
319
|
-
# *
|
319
|
+
# * `:cluster_subnet_group_name` - *required* - (String) The name for
|
320
320
|
# the subnet group. Amazon Redshift stores the value as a lowercase
|
321
321
|
# string. Constraints: Must contain no more than 255 alphanumeric
|
322
322
|
# characters or hyphens. Must not be "Default". Must be unique for
|
323
323
|
# all subnet groups that are created by your AWS account. Example:
|
324
324
|
# examplesubnetgroup
|
325
|
-
# *
|
325
|
+
# * `:description` - *required* - (String) A description for the subnet
|
326
326
|
# group.
|
327
|
-
# *
|
327
|
+
# * `:subnet_ids` - *required* - (Array<String>) An array of VPC subnet
|
328
328
|
# IDs. A maximum of 20 subnets can be modified in a single request.
|
329
329
|
# @return [Core::Response]
|
330
330
|
# The #data method of the response object returns
|
331
331
|
# a hash with the following structure:
|
332
|
-
# *
|
333
|
-
# *
|
334
|
-
# *
|
335
|
-
# *
|
336
|
-
# *
|
337
|
-
# *
|
338
|
-
# *
|
339
|
-
# *
|
340
|
-
# *
|
332
|
+
# * `:cluster_subnet_group_name` - (String)
|
333
|
+
# * `:description` - (String)
|
334
|
+
# * `:vpc_id` - (String)
|
335
|
+
# * `:subnet_group_status` - (String)
|
336
|
+
# * `:subnets` - (Array<Hash>)
|
337
|
+
# * `:subnet_identifier` - (String)
|
338
|
+
# * `:subnet_availability_zone` - (Hash)
|
339
|
+
# * `:name` - (String)
|
340
|
+
# * `:subnet_status` - (String)
|
341
341
|
|
342
342
|
# @!method delete_cluster(options = {})
|
343
343
|
# Calls the DeleteCluster API operation.
|
344
344
|
# @param [Hash] options
|
345
|
-
# *
|
345
|
+
# * `:cluster_identifier` - *required* - (String) The identifier of the
|
346
346
|
# cluster to be deleted. Constraints: Must contain lowercase
|
347
347
|
# characters. Must contain from 1 to 63 alphanumeric characters or
|
348
348
|
# hyphens. First character must be a letter. Cannot end with a hyphen
|
349
349
|
# or contain two consecutive hyphens.
|
350
|
-
# *
|
350
|
+
# * `:skip_final_cluster_snapshot` - (Boolean) Determines whether a
|
351
351
|
# final snapshot of the cluster is created before Amazon Redshift
|
352
|
-
# deletes the cluster. If
|
353
|
-
# created. If
|
352
|
+
# deletes the cluster. If `true` , a final cluster snapshot is not
|
353
|
+
# created. If `false` , a final cluster snapshot is created before
|
354
354
|
# the cluster is deleted. The FinalClusterSnapshotIdentifier
|
355
|
-
# parameter must be specified if SkipFinalClusterSnapshot is
|
356
|
-
# . Default:
|
357
|
-
# *
|
355
|
+
# parameter must be specified if SkipFinalClusterSnapshot is `false`
|
356
|
+
# . Default: `false`
|
357
|
+
# * `:final_cluster_snapshot_identifier` - (String) The identifier of
|
358
358
|
# the final snapshot that is to be created immediately before
|
359
359
|
# deleting the cluster. If this parameter is provided,
|
360
|
-
# SkipFinalClusterSnapshot must be
|
360
|
+
# SkipFinalClusterSnapshot must be `false` . Constraints: Must be 1
|
361
361
|
# to 255 alphanumeric characters. First character must be a letter.
|
362
362
|
# Cannot end with a hyphen or contain two consecutive hyphens.
|
363
363
|
# @return [Core::Response]
|
364
364
|
# The #data method of the response object returns
|
365
365
|
# a hash with the following structure:
|
366
|
-
# *
|
367
|
-
# *
|
368
|
-
# *
|
369
|
-
# *
|
370
|
-
# *
|
371
|
-
# *
|
372
|
-
# *
|
373
|
-
# *
|
374
|
-
# *
|
375
|
-
# *
|
376
|
-
# *
|
377
|
-
# *
|
378
|
-
# *
|
379
|
-
# *
|
380
|
-
# *
|
381
|
-
# *
|
382
|
-
# *
|
383
|
-
# *
|
384
|
-
# *
|
385
|
-
# *
|
386
|
-
# *
|
387
|
-
# *
|
388
|
-
# *
|
389
|
-
# *
|
390
|
-
# *
|
391
|
-
# *
|
392
|
-
# *
|
393
|
-
# *
|
394
|
-
# *
|
395
|
-
# *
|
396
|
-
# *
|
397
|
-
# *
|
398
|
-
# *
|
399
|
-
# *
|
400
|
-
# *
|
366
|
+
# * `:cluster_identifier` - (String)
|
367
|
+
# * `:node_type` - (String)
|
368
|
+
# * `:cluster_status` - (String)
|
369
|
+
# * `:modify_status` - (String)
|
370
|
+
# * `:master_username` - (String)
|
371
|
+
# * `:db_name` - (String)
|
372
|
+
# * `:endpoint` - (Hash)
|
373
|
+
# * `:address` - (String)
|
374
|
+
# * `:port` - (Integer)
|
375
|
+
# * `:cluster_create_time` - (Time)
|
376
|
+
# * `:automated_snapshot_retention_period` - (Integer)
|
377
|
+
# * `:cluster_security_groups` - (Array<Hash>)
|
378
|
+
# * `:cluster_security_group_name` - (String)
|
379
|
+
# * `:status` - (String)
|
380
|
+
# * `:vpc_security_groups` - (Array<Hash>)
|
381
|
+
# * `:vpc_security_group_id` - (String)
|
382
|
+
# * `:status` - (String)
|
383
|
+
# * `:cluster_parameter_groups` - (Array<Hash>)
|
384
|
+
# * `:parameter_group_name` - (String)
|
385
|
+
# * `:parameter_apply_status` - (String)
|
386
|
+
# * `:cluster_subnet_group_name` - (String)
|
387
|
+
# * `:vpc_id` - (String)
|
388
|
+
# * `:availability_zone` - (String)
|
389
|
+
# * `:preferred_maintenance_window` - (String)
|
390
|
+
# * `:pending_modified_values` - (Hash)
|
391
|
+
# * `:master_user_password` - (String)
|
392
|
+
# * `:node_type` - (String)
|
393
|
+
# * `:number_of_nodes` - (Integer)
|
394
|
+
# * `:cluster_type` - (String)
|
395
|
+
# * `:cluster_version` - (String)
|
396
|
+
# * `:automated_snapshot_retention_period` - (Integer)
|
397
|
+
# * `:cluster_version` - (String)
|
398
|
+
# * `:allow_version_upgrade` - (Boolean)
|
399
|
+
# * `:number_of_nodes` - (Integer)
|
400
|
+
# * `:publicly_accessible` - (Boolean)
|
401
401
|
|
402
402
|
# @!method delete_cluster_parameter_group(options = {})
|
403
403
|
# Calls the DeleteClusterParameterGroup API operation.
|
404
404
|
# @param [Hash] options
|
405
|
-
# *
|
405
|
+
# * `:parameter_group_name` - *required* - (String) The name of the
|
406
406
|
# parameter group to be deleted. Constraints: Must be the name of an
|
407
407
|
# existing cluster parameter group. Cannot delete a default cluster
|
408
408
|
# parameter group.
|
@@ -411,112 +411,112 @@ module AWS
|
|
411
411
|
# @!method delete_cluster_security_group(options = {})
|
412
412
|
# Calls the DeleteClusterSecurityGroup API operation.
|
413
413
|
# @param [Hash] options
|
414
|
-
# *
|
414
|
+
# * `:cluster_security_group_name` - *required* - (String) The name of
|
415
415
|
# the cluster security group to be deleted.
|
416
416
|
# @return [Core::Response]
|
417
417
|
|
418
418
|
# @!method delete_cluster_snapshot(options = {})
|
419
419
|
# Calls the DeleteClusterSnapshot API operation.
|
420
420
|
# @param [Hash] options
|
421
|
-
# *
|
421
|
+
# * `:snapshot_identifier` - *required* - (String) The unique
|
422
422
|
# identifier of the manual snapshot to be deleted. Constraints: Must
|
423
423
|
# be the name of an existing snapshot that is in the available state.
|
424
424
|
# @return [Core::Response]
|
425
425
|
# The #data method of the response object returns
|
426
426
|
# a hash with the following structure:
|
427
|
-
# *
|
428
|
-
# *
|
429
|
-
# *
|
430
|
-
# *
|
431
|
-
# *
|
432
|
-
# *
|
433
|
-
# *
|
434
|
-
# *
|
435
|
-
# *
|
436
|
-
# *
|
437
|
-
# *
|
438
|
-
# *
|
439
|
-
# *
|
440
|
-
# *
|
427
|
+
# * `:snapshot_identifier` - (String)
|
428
|
+
# * `:cluster_identifier` - (String)
|
429
|
+
# * `:snapshot_create_time` - (Time)
|
430
|
+
# * `:status` - (String)
|
431
|
+
# * `:port` - (Integer)
|
432
|
+
# * `:availability_zone` - (String)
|
433
|
+
# * `:cluster_create_time` - (Time)
|
434
|
+
# * `:master_username` - (String)
|
435
|
+
# * `:cluster_version` - (String)
|
436
|
+
# * `:snapshot_type` - (String)
|
437
|
+
# * `:node_type` - (String)
|
438
|
+
# * `:number_of_nodes` - (Integer)
|
439
|
+
# * `:db_name` - (String)
|
440
|
+
# * `:vpc_id` - (String)
|
441
441
|
|
442
442
|
# @!method delete_cluster_subnet_group(options = {})
|
443
443
|
# Calls the DeleteClusterSubnetGroup API operation.
|
444
444
|
# @param [Hash] options
|
445
|
-
# *
|
445
|
+
# * `:cluster_subnet_group_name` - *required* - (String) The name of
|
446
446
|
# the cluster subnet group name to be deleted.
|
447
447
|
# @return [Core::Response]
|
448
448
|
|
449
449
|
# @!method describe_cluster_parameter_groups(options = {})
|
450
450
|
# Calls the DescribeClusterParameterGroups API operation.
|
451
451
|
# @param [Hash] options
|
452
|
-
# *
|
452
|
+
# * `:parameter_group_name` - (String) The name of a specific parameter
|
453
453
|
# group for which to return details. By default, details about all
|
454
454
|
# parameter groups and the default parameter group are returned.
|
455
|
-
# *
|
455
|
+
# * `:max_records` - (Integer) The maximum number of parameter group
|
456
456
|
# records to include in the response. If more records exist than the
|
457
457
|
# specified MaxRecords value, the response includes a marker that you
|
458
458
|
# can use in a subsequent DescribeClusterParameterGroups request to
|
459
459
|
# retrieve the next set of records. Default: 100 Constraints: Value
|
460
460
|
# must be at least 20 and no more than 100.
|
461
|
-
# *
|
461
|
+
# * `:marker` - (String) An optional marker returned by a previous
|
462
462
|
# DescribeClusterParameterGroups request to indicate the first
|
463
463
|
# parameter group that the current request will return.
|
464
464
|
# @return [Core::Response]
|
465
465
|
# The #data method of the response object returns
|
466
466
|
# a hash with the following structure:
|
467
|
-
# *
|
468
|
-
# *
|
469
|
-
# *
|
470
|
-
# *
|
471
|
-
# *
|
467
|
+
# * `:marker` - (String)
|
468
|
+
# * `:parameter_groups` - (Array<Hash>)
|
469
|
+
# * `:parameter_group_name` - (String)
|
470
|
+
# * `:parameter_group_family` - (String)
|
471
|
+
# * `:description` - (String)
|
472
472
|
|
473
473
|
# @!method describe_cluster_parameters(options = {})
|
474
474
|
# Calls the DescribeClusterParameters API operation.
|
475
475
|
# @param [Hash] options
|
476
|
-
# *
|
476
|
+
# * `:parameter_group_name` - *required* - (String) The name of a
|
477
477
|
# cluster parameter group for which to return details.
|
478
|
-
# *
|
478
|
+
# * `:source` - (String) The parameter types to return. Specify user to
|
479
479
|
# show parameters that are different form the default. Similarly,
|
480
480
|
# specify engine-default to show parameters that are the same as the
|
481
481
|
# default parameter group. Default: All parameter types returned.
|
482
482
|
# Valid Values: user | engine-default
|
483
|
-
# *
|
483
|
+
# * `:max_records` - (Integer) The maximum number of records to include
|
484
484
|
# in the response. If more records exist than the specified
|
485
485
|
# MaxRecords value, response includes a marker that you can specify
|
486
486
|
# in your subsequent request to retrieve remaining result. Default:
|
487
487
|
# 100 Constraints: Value must be at least 20 and no more than 100.
|
488
|
-
# *
|
488
|
+
# * `:marker` - (String) An optional marker returned from a previous
|
489
489
|
# DescribeClusterParameters request. If this parameter is specified,
|
490
490
|
# the response includes only records beyond the specified marker, up
|
491
491
|
# to the value specified by MaxRecords.
|
492
492
|
# @return [Core::Response]
|
493
493
|
# The #data method of the response object returns
|
494
494
|
# a hash with the following structure:
|
495
|
-
# *
|
496
|
-
# *
|
497
|
-
# *
|
498
|
-
# *
|
499
|
-
# *
|
500
|
-
# *
|
501
|
-
# *
|
502
|
-
# *
|
503
|
-
# *
|
504
|
-
# *
|
495
|
+
# * `:parameters` - (Array<Hash>)
|
496
|
+
# * `:parameter_name` - (String)
|
497
|
+
# * `:parameter_value` - (String)
|
498
|
+
# * `:description` - (String)
|
499
|
+
# * `:source` - (String)
|
500
|
+
# * `:data_type` - (String)
|
501
|
+
# * `:allowed_values` - (String)
|
502
|
+
# * `:is_modifiable` - (Boolean)
|
503
|
+
# * `:minimum_engine_version` - (String)
|
504
|
+
# * `:marker` - (String)
|
505
505
|
|
506
506
|
# @!method describe_cluster_security_groups(options = {})
|
507
507
|
# Calls the DescribeClusterSecurityGroups API operation.
|
508
508
|
# @param [Hash] options
|
509
|
-
# *
|
509
|
+
# * `:cluster_security_group_name` - (String) The name of a cluster
|
510
510
|
# security group for which you are requesting details. You can
|
511
511
|
# specify either the Marker parameter or a ClusterSecurityGroupName
|
512
512
|
# parameter, but not both. Example: securitygroup1
|
513
|
-
# *
|
513
|
+
# * `:max_records` - (Integer) The maximum number of records to be
|
514
514
|
# included in the response. If more records exist than the specified
|
515
515
|
# MaxRecords value, a marker is included in the response, which you
|
516
516
|
# can use in a subsequent DescribeClusterSecurityGroups request.
|
517
517
|
# Default: 100 Constraints: Value must be at least 20 and no more
|
518
518
|
# than 100.
|
519
|
-
# *
|
519
|
+
# * `:marker` - (String) An optional marker returned by a previous
|
520
520
|
# DescribeClusterSecurityGroups request to indicate the first
|
521
521
|
# security group that the current request will return. You can
|
522
522
|
# specify either the Marker parameter or a ClusterSecurityGroupName
|
@@ -524,137 +524,137 @@ module AWS
|
|
524
524
|
# @return [Core::Response]
|
525
525
|
# The #data method of the response object returns
|
526
526
|
# a hash with the following structure:
|
527
|
-
# *
|
528
|
-
# *
|
529
|
-
# *
|
530
|
-
# *
|
531
|
-
# *
|
532
|
-
# *
|
533
|
-
# *
|
534
|
-
# *
|
535
|
-
# *
|
536
|
-
# *
|
537
|
-
# *
|
527
|
+
# * `:marker` - (String)
|
528
|
+
# * `:cluster_security_groups` - (Array<Hash>)
|
529
|
+
# * `:cluster_security_group_name` - (String)
|
530
|
+
# * `:description` - (String)
|
531
|
+
# * `:ec_2_security_groups` - (Array<Hash>)
|
532
|
+
# * `:status` - (String)
|
533
|
+
# * `:ec2_security_group_name` - (String)
|
534
|
+
# * `:ec2_security_group_owner_id` - (String)
|
535
|
+
# * `:ip_ranges` - (Array<Hash>)
|
536
|
+
# * `:status` - (String)
|
537
|
+
# * `:cidrip` - (String)
|
538
538
|
|
539
539
|
# @!method describe_cluster_snapshots(options = {})
|
540
540
|
# Calls the DescribeClusterSnapshots API operation.
|
541
541
|
# @param [Hash] options
|
542
|
-
# *
|
542
|
+
# * `:cluster_identifier` - (String) The identifier of the cluster for
|
543
543
|
# which information about snapshots is requested.
|
544
|
-
# *
|
544
|
+
# * `:snapshot_identifier` - (String) The snapshot identifier of the
|
545
545
|
# snapshot about which to return information.
|
546
|
-
# *
|
546
|
+
# * `:snapshot_type` - (String) The type of snapshots for which you are
|
547
547
|
# requesting information. By default, snapshots of all types are
|
548
548
|
# returned. Valid Values: automated | manual
|
549
|
-
# *
|
549
|
+
# * `:start_time` - (String<ISO8601 datetime>) A value that requests
|
550
550
|
# only snapshots created at or after the specified time. The time
|
551
551
|
# value is specified in ISO 8601 format. For more information about
|
552
552
|
# ISO 8601, go to the ISO8601 Wikipedia page. Example:
|
553
553
|
# 2012-07-16T18:00:00Z
|
554
|
-
# *
|
554
|
+
# * `:end_time` - (String<ISO8601 datetime>) A time value that requests
|
555
555
|
# only snapshots created at or before the specified time. The time
|
556
556
|
# value is specified in ISO 8601 format. For more information about
|
557
557
|
# ISO 8601, go to the ISO8601 Wikipedia page. Example:
|
558
558
|
# 2012-07-16T18:00:00Z
|
559
|
-
# *
|
559
|
+
# * `:max_records` - (Integer) The maximum number of snapshot records
|
560
560
|
# to include in the response. If more records exist than the
|
561
561
|
# specified MaxRecords value, the response returns a marker that you
|
562
562
|
# can use in a subsequent DescribeClusterSnapshots request in order
|
563
563
|
# to retrieve the next set of snapshot records. Default: 100
|
564
564
|
# Constraints: Must be at least 20 and no more than 100.
|
565
|
-
# *
|
565
|
+
# * `:marker` - (String) An optional marker returned by a previous
|
566
566
|
# DescribeClusterSnapshots request to indicate the first snapshot
|
567
567
|
# that the request will return.
|
568
568
|
# @return [Core::Response]
|
569
569
|
# The #data method of the response object returns
|
570
570
|
# a hash with the following structure:
|
571
|
-
# *
|
572
|
-
# *
|
573
|
-
# *
|
574
|
-
# *
|
575
|
-
# *
|
576
|
-
# *
|
577
|
-
# *
|
578
|
-
# *
|
579
|
-
# *
|
580
|
-
# *
|
581
|
-
# *
|
582
|
-
# *
|
583
|
-
# *
|
584
|
-
# *
|
585
|
-
# *
|
586
|
-
# *
|
571
|
+
# * `:marker` - (String)
|
572
|
+
# * `:snapshots` - (Array<Hash>)
|
573
|
+
# * `:snapshot_identifier` - (String)
|
574
|
+
# * `:cluster_identifier` - (String)
|
575
|
+
# * `:snapshot_create_time` - (Time)
|
576
|
+
# * `:status` - (String)
|
577
|
+
# * `:port` - (Integer)
|
578
|
+
# * `:availability_zone` - (String)
|
579
|
+
# * `:cluster_create_time` - (Time)
|
580
|
+
# * `:master_username` - (String)
|
581
|
+
# * `:cluster_version` - (String)
|
582
|
+
# * `:snapshot_type` - (String)
|
583
|
+
# * `:node_type` - (String)
|
584
|
+
# * `:number_of_nodes` - (Integer)
|
585
|
+
# * `:db_name` - (String)
|
586
|
+
# * `:vpc_id` - (String)
|
587
587
|
|
588
588
|
# @!method describe_cluster_subnet_groups(options = {})
|
589
589
|
# Calls the DescribeClusterSubnetGroups API operation.
|
590
590
|
# @param [Hash] options
|
591
|
-
# *
|
591
|
+
# * `:cluster_subnet_group_name` - (String) The name of the cluster
|
592
592
|
# subnet group for which information is requested.
|
593
|
-
# *
|
593
|
+
# * `:max_records` - (Integer) The maximum number of cluster subnet
|
594
594
|
# group records to include in the response. If more records exist
|
595
595
|
# than the specified MaxRecords value, the response returns a marker
|
596
596
|
# that you can use in a subsequent DescribeClusterSubnetGroups
|
597
597
|
# request in order to retrieve the next set of cluster subnet group
|
598
598
|
# records. Default: 100 Constraints: Must be at least 20 and no more
|
599
599
|
# than 100.
|
600
|
-
# *
|
600
|
+
# * `:marker` - (String) An optional marker returned by a previous
|
601
601
|
# DescribeClusterSubnetGroups request to indicate the first cluster
|
602
602
|
# subnet group that the request will return.
|
603
603
|
# @return [Core::Response]
|
604
604
|
# The #data method of the response object returns
|
605
605
|
# a hash with the following structure:
|
606
|
-
# *
|
607
|
-
# *
|
608
|
-
# *
|
609
|
-
# *
|
610
|
-
# *
|
611
|
-
# *
|
612
|
-
# *
|
613
|
-
# *
|
614
|
-
# *
|
615
|
-
# *
|
616
|
-
# *
|
606
|
+
# * `:marker` - (String)
|
607
|
+
# * `:cluster_subnet_groups` - (Array<Hash>)
|
608
|
+
# * `:cluster_subnet_group_name` - (String)
|
609
|
+
# * `:description` - (String)
|
610
|
+
# * `:vpc_id` - (String)
|
611
|
+
# * `:subnet_group_status` - (String)
|
612
|
+
# * `:subnets` - (Array<Hash>)
|
613
|
+
# * `:subnet_identifier` - (String)
|
614
|
+
# * `:subnet_availability_zone` - (Hash)
|
615
|
+
# * `:name` - (String)
|
616
|
+
# * `:subnet_status` - (String)
|
617
617
|
|
618
618
|
# @!method describe_cluster_versions(options = {})
|
619
619
|
# Calls the DescribeClusterVersions API operation.
|
620
620
|
# @param [Hash] options
|
621
|
-
# *
|
621
|
+
# * `:cluster_version` - (String) The specific cluster version to
|
622
622
|
# return. Example: 1.0
|
623
|
-
# *
|
623
|
+
# * `:cluster_parameter_group_family` - (String) The name of a specific
|
624
624
|
# cluster parameter group family to return details for. Constraints:
|
625
625
|
# Must be 1 to 255 alphanumeric characters First character must be a
|
626
626
|
# letter Cannot end with a hyphen or contain two consecutive hyphens
|
627
|
-
# *
|
627
|
+
# * `:max_records` - (Integer) The maximum number of records to include
|
628
628
|
# in the response. If more than the MaxRecords value is available, a
|
629
629
|
# marker is included in the response so that the following results
|
630
630
|
# can be retrieved. Default: 100 Constraints: Value must be at least
|
631
631
|
# 20 and no more than 100.
|
632
|
-
# *
|
632
|
+
# * `:marker` - (String) The marker returned from a previous request.
|
633
633
|
# If this parameter is specified, the response includes records
|
634
634
|
# beyond the marker only, up to MaxRecords.
|
635
635
|
# @return [Core::Response]
|
636
636
|
# The #data method of the response object returns
|
637
637
|
# a hash with the following structure:
|
638
|
-
# *
|
639
|
-
# *
|
640
|
-
# *
|
641
|
-
# *
|
642
|
-
# *
|
638
|
+
# * `:marker` - (String)
|
639
|
+
# * `:cluster_versions` - (Array<Hash>)
|
640
|
+
# * `:cluster_version` - (String)
|
641
|
+
# * `:cluster_parameter_group_family` - (String)
|
642
|
+
# * `:description` - (String)
|
643
643
|
|
644
644
|
# @!method describe_clusters(options = {})
|
645
645
|
# Calls the DescribeClusters API operation.
|
646
646
|
# @param [Hash] options
|
647
|
-
# *
|
647
|
+
# * `:cluster_identifier` - (String) The unique identifier of a cluster
|
648
648
|
# whose properties you are requesting. This parameter isn't case
|
649
649
|
# sensitive. The default is that all clusters defined for an account
|
650
650
|
# are returned.
|
651
|
-
# *
|
651
|
+
# * `:max_records` - (Integer) The maximum number of records that the
|
652
652
|
# response can include. If more records exist than the specified
|
653
653
|
# MaxRecords value, a marker is included in the response that can be
|
654
654
|
# used in a new DescribeClusters request to continue listing results.
|
655
655
|
# Default: 100 Constraints: Value must be at least 20 and no more
|
656
656
|
# than 100.
|
657
|
-
# *
|
657
|
+
# * `:marker` - (String) An optional marker returned by a previous
|
658
658
|
# DescribeClusters request to indicate the first cluster that the
|
659
659
|
# current DescribeClusters request will return. You can specify
|
660
660
|
# either a Marker parameter or a ClusterIdentifier parameter in a
|
@@ -662,77 +662,77 @@ module AWS
|
|
662
662
|
# @return [Core::Response]
|
663
663
|
# The #data method of the response object returns
|
664
664
|
# a hash with the following structure:
|
665
|
-
# *
|
666
|
-
# *
|
667
|
-
# *
|
668
|
-
# *
|
669
|
-
# *
|
670
|
-
# *
|
671
|
-
# *
|
672
|
-
# *
|
673
|
-
# *
|
674
|
-
# *
|
675
|
-
# *
|
676
|
-
# *
|
677
|
-
# *
|
678
|
-
# *
|
679
|
-
# *
|
680
|
-
# *
|
681
|
-
# *
|
682
|
-
# *
|
683
|
-
# *
|
684
|
-
# *
|
685
|
-
# *
|
686
|
-
# *
|
687
|
-
# *
|
688
|
-
# *
|
689
|
-
# *
|
690
|
-
# *
|
691
|
-
# *
|
692
|
-
# *
|
693
|
-
# *
|
694
|
-
# *
|
695
|
-
# *
|
696
|
-
# *
|
697
|
-
# *
|
698
|
-
# *
|
699
|
-
# *
|
700
|
-
# *
|
701
|
-
# *
|
665
|
+
# * `:marker` - (String)
|
666
|
+
# * `:clusters` - (Array<Hash>)
|
667
|
+
# * `:cluster_identifier` - (String)
|
668
|
+
# * `:node_type` - (String)
|
669
|
+
# * `:cluster_status` - (String)
|
670
|
+
# * `:modify_status` - (String)
|
671
|
+
# * `:master_username` - (String)
|
672
|
+
# * `:db_name` - (String)
|
673
|
+
# * `:endpoint` - (Hash)
|
674
|
+
# * `:address` - (String)
|
675
|
+
# * `:port` - (Integer)
|
676
|
+
# * `:cluster_create_time` - (Time)
|
677
|
+
# * `:automated_snapshot_retention_period` - (Integer)
|
678
|
+
# * `:cluster_security_groups` - (Array<Hash>)
|
679
|
+
# * `:cluster_security_group_name` - (String)
|
680
|
+
# * `:status` - (String)
|
681
|
+
# * `:vpc_security_groups` - (Array<Hash>)
|
682
|
+
# * `:vpc_security_group_id` - (String)
|
683
|
+
# * `:status` - (String)
|
684
|
+
# * `:cluster_parameter_groups` - (Array<Hash>)
|
685
|
+
# * `:parameter_group_name` - (String)
|
686
|
+
# * `:parameter_apply_status` - (String)
|
687
|
+
# * `:cluster_subnet_group_name` - (String)
|
688
|
+
# * `:vpc_id` - (String)
|
689
|
+
# * `:availability_zone` - (String)
|
690
|
+
# * `:preferred_maintenance_window` - (String)
|
691
|
+
# * `:pending_modified_values` - (Hash)
|
692
|
+
# * `:master_user_password` - (String)
|
693
|
+
# * `:node_type` - (String)
|
694
|
+
# * `:number_of_nodes` - (Integer)
|
695
|
+
# * `:cluster_type` - (String)
|
696
|
+
# * `:cluster_version` - (String)
|
697
|
+
# * `:automated_snapshot_retention_period` - (Integer)
|
698
|
+
# * `:cluster_version` - (String)
|
699
|
+
# * `:allow_version_upgrade` - (Boolean)
|
700
|
+
# * `:number_of_nodes` - (Integer)
|
701
|
+
# * `:publicly_accessible` - (Boolean)
|
702
702
|
|
703
703
|
# @!method describe_default_cluster_parameters(options = {})
|
704
704
|
# Calls the DescribeDefaultClusterParameters API operation.
|
705
705
|
# @param [Hash] options
|
706
|
-
# *
|
706
|
+
# * `:parameter_group_family` - *required* - (String) The name of the
|
707
707
|
# cluster parameter group family.
|
708
|
-
# *
|
708
|
+
# * `:max_records` - (Integer) The maximum number of records to include
|
709
709
|
# in the response. If more records exist than the specified
|
710
710
|
# MaxRecords value, a marker is included in the response so that the
|
711
711
|
# remaining results may be retrieved. Default: 100 Constraints: Value
|
712
712
|
# must be at least 20 and no more than 100.
|
713
|
-
# *
|
713
|
+
# * `:marker` - (String) An optional marker returned from a previous
|
714
714
|
# DescribeDefaultClusterParameters request. If this parameter is
|
715
715
|
# specified, the response includes only records beyond the marker, up
|
716
716
|
# to the value specified by MaxRecords.
|
717
717
|
# @return [Core::Response]
|
718
718
|
# The #data method of the response object returns
|
719
719
|
# a hash with the following structure:
|
720
|
-
# *
|
721
|
-
# *
|
722
|
-
# *
|
723
|
-
# *
|
724
|
-
# *
|
725
|
-
# *
|
726
|
-
# *
|
727
|
-
# *
|
728
|
-
# *
|
729
|
-
# *
|
730
|
-
# *
|
720
|
+
# * `:parameter_group_family` - (String)
|
721
|
+
# * `:marker` - (String)
|
722
|
+
# * `:parameters` - (Array<Hash>)
|
723
|
+
# * `:parameter_name` - (String)
|
724
|
+
# * `:parameter_value` - (String)
|
725
|
+
# * `:description` - (String)
|
726
|
+
# * `:source` - (String)
|
727
|
+
# * `:data_type` - (String)
|
728
|
+
# * `:allowed_values` - (String)
|
729
|
+
# * `:is_modifiable` - (Boolean)
|
730
|
+
# * `:minimum_engine_version` - (String)
|
731
731
|
|
732
732
|
# @!method describe_events(options = {})
|
733
733
|
# Calls the DescribeEvents API operation.
|
734
734
|
# @param [Hash] options
|
735
|
-
# *
|
735
|
+
# * `:source_identifier` - (String) The identifier of the event source
|
736
736
|
# for which events will be returned. If this parameter is not
|
737
737
|
# specified, then all sources are included in the response.
|
738
738
|
# Constraints: If SourceIdentifier is supplied, SourceType must also
|
@@ -741,7 +741,7 @@ module AWS
|
|
741
741
|
# cluster-security-group. Specify a cluster parameter group name when
|
742
742
|
# SourceType is cluster-parameter-group. Specify a cluster snapshot
|
743
743
|
# identifier when SourceType is cluster-snapshot.
|
744
|
-
# *
|
744
|
+
# * `:source_type` - (String) The event source to retrieve events for.
|
745
745
|
# If no value is specified, all events are returned. Constraints: If
|
746
746
|
# SourceType is supplied, SourceIdentifier must also be provided.
|
747
747
|
# Specify cluster when SourceIdentifier is a cluster identifier.
|
@@ -749,85 +749,89 @@ module AWS
|
|
749
749
|
# security group name. Specify cluster-parameter-group when
|
750
750
|
# SourceIdentifier is a cluster parameter group name. Specify
|
751
751
|
# cluster-snapshot when SourceIdentifier is a cluster snapshot
|
752
|
-
# identifier.
|
753
|
-
#
|
752
|
+
# identifier. Valid values include:
|
753
|
+
# * `cluster`
|
754
|
+
# * `cluster-parameter-group`
|
755
|
+
# * `cluster-security-group`
|
756
|
+
# * `cluster-snapshot`
|
757
|
+
# * `:start_time` - (String<ISO8601 datetime>) The beginning of the
|
754
758
|
# time interval to retrieve events for, specified in ISO 8601 format.
|
755
759
|
# For more information about ISO 8601, go to the ISO8601 Wikipedia
|
756
760
|
# page. Example: 2009-07-08T18:00Z
|
757
|
-
# *
|
761
|
+
# * `:end_time` - (String<ISO8601 datetime>) The end of the time
|
758
762
|
# interval for which to retrieve events, specified in ISO 8601
|
759
763
|
# format. For more information about ISO 8601, go to the ISO8601
|
760
764
|
# Wikipedia page. Example: 2009-07-08T18:00Z
|
761
|
-
# *
|
765
|
+
# * `:duration` - (Integer) The number of minutes prior to the time of
|
762
766
|
# the request for which to retrieve events. For example, if the
|
763
767
|
# request is sent at 18:00 and you specify a druration of 60, then
|
764
768
|
# only events which have occurred after 17:00 will be returned.
|
765
769
|
# Default: 60
|
766
|
-
# *
|
770
|
+
# * `:max_records` - (Integer) The maximum number of records to include
|
767
771
|
# in the response. If more records exist than the specified
|
768
772
|
# MaxRecords value, a marker is included in the response so that the
|
769
773
|
# remaining results may be retrieved. Default: 100 Constraints: Value
|
770
774
|
# must be at least 20 and no more than 100.
|
771
|
-
# *
|
775
|
+
# * `:marker` - (String) An optional marker returned from a previous
|
772
776
|
# DescribeEvents request. If this parameter is specified, the
|
773
777
|
# response includes only records beyond the marker, up to the value
|
774
778
|
# specified by MaxRecords.
|
775
779
|
# @return [Core::Response]
|
776
780
|
# The #data method of the response object returns
|
777
781
|
# a hash with the following structure:
|
778
|
-
# *
|
779
|
-
# *
|
780
|
-
# *
|
781
|
-
# *
|
782
|
-
# *
|
783
|
-
# *
|
782
|
+
# * `:marker` - (String)
|
783
|
+
# * `:events` - (Array<Hash>)
|
784
|
+
# * `:source_identifier` - (String)
|
785
|
+
# * `:source_type` - (String)
|
786
|
+
# * `:message` - (String)
|
787
|
+
# * `:date` - (Time)
|
784
788
|
|
785
789
|
# @!method describe_orderable_cluster_options(options = {})
|
786
790
|
# Calls the DescribeOrderableClusterOptions API operation.
|
787
791
|
# @param [Hash] options
|
788
|
-
# *
|
792
|
+
# * `:cluster_version` - (String) The version filter value. Specify
|
789
793
|
# this parameter to show only the available offerings matching the
|
790
794
|
# specified version. Default: All versions. Constraints: Must be one
|
791
795
|
# of the version returned from DescribeClusterVersions.
|
792
|
-
# *
|
796
|
+
# * `:node_type` - (String) The node type filter value. Specify this
|
793
797
|
# parameter to show only the available offerings matching the
|
794
798
|
# specified node type.
|
795
|
-
# *
|
799
|
+
# * `:max_records` - (Integer) The maximum number of records to include
|
796
800
|
# in the response. If more records exist than the specified
|
797
801
|
# MaxRecords value, a marker is included in the response so that the
|
798
802
|
# remaining results may be retrieved. Default: 100 Constraints:
|
799
803
|
# minimum 20, maximum 100.
|
800
|
-
# *
|
804
|
+
# * `:marker` - (String) An optional marker returned from a previous
|
801
805
|
# DescribeOrderableClusterOptions request. If this parameter is
|
802
806
|
# specified, the response includes only records beyond the marker, up
|
803
807
|
# to the value specified by MaxRecords.
|
804
808
|
# @return [Core::Response]
|
805
809
|
# The #data method of the response object returns
|
806
810
|
# a hash with the following structure:
|
807
|
-
# *
|
808
|
-
# *
|
809
|
-
# *
|
810
|
-
# *
|
811
|
-
# *
|
812
|
-
# *
|
813
|
-
# *
|
811
|
+
# * `:orderable_cluster_options` - (Array<Hash>)
|
812
|
+
# * `:cluster_version` - (String)
|
813
|
+
# * `:cluster_type` - (String)
|
814
|
+
# * `:node_type` - (String)
|
815
|
+
# * `:availability_zones` - (Array<Hash>)
|
816
|
+
# * `:name` - (String)
|
817
|
+
# * `:marker` - (String)
|
814
818
|
|
815
819
|
# @!method describe_reserved_node_offerings(options = {})
|
816
820
|
# Calls the DescribeReservedNodeOfferings API operation.
|
817
821
|
# @param [Hash] options
|
818
|
-
# *
|
822
|
+
# * `:reserved_node_offering_id` - (String) The unique identifier for
|
819
823
|
# the offering.
|
820
|
-
# *
|
824
|
+
# * `:node_type` - (String) The node type you can purchase. For more
|
821
825
|
# information about managing parameter groups, go to Working with
|
822
826
|
# Clusters in the Amazon Redshift Management Guide.
|
823
|
-
# *
|
827
|
+
# * `:duration` - (String) The duration, in seconds, for which the
|
824
828
|
# offering will reserve the node.
|
825
|
-
# *
|
829
|
+
# * `:max_records` - (Integer) The maximum number of records to include
|
826
830
|
# in the response. If more records exist than the specified
|
827
831
|
# MaxRecords value, a marker is included in the response so that the
|
828
832
|
# remaining results may be retrieved. Default: 100 Constraints:
|
829
833
|
# minimum 20, maximum 100.
|
830
|
-
# *
|
834
|
+
# * `:marker` - (String) An optional marker returned by a previous
|
831
835
|
# DescribeReservedNodeOfferings request to indicate the first
|
832
836
|
# offering that the request will return. You can specify either a
|
833
837
|
# Marker parameter or a ClusterIdentifier parameter in a
|
@@ -835,81 +839,81 @@ module AWS
|
|
835
839
|
# @return [Core::Response]
|
836
840
|
# The #data method of the response object returns
|
837
841
|
# a hash with the following structure:
|
838
|
-
# *
|
839
|
-
# *
|
840
|
-
# *
|
841
|
-
# *
|
842
|
-
# *
|
843
|
-
# *
|
844
|
-
# *
|
845
|
-
# *
|
846
|
-
# *
|
847
|
-
# *
|
848
|
-
# *
|
849
|
-
# *
|
842
|
+
# * `:marker` - (String)
|
843
|
+
# * `:reserved_node_offerings` - (Array<Hash>)
|
844
|
+
# * `:reserved_node_offering_id` - (String)
|
845
|
+
# * `:node_type` - (String)
|
846
|
+
# * `:duration` - (Integer)
|
847
|
+
# * `:fixed_price` - (Numeric)
|
848
|
+
# * `:usage_price` - (Numeric)
|
849
|
+
# * `:currency_code` - (String)
|
850
|
+
# * `:offering_type` - (String)
|
851
|
+
# * `:recurring_charges` - (Array<Hash>)
|
852
|
+
# * `:recurring_charge_amount` - (Numeric)
|
853
|
+
# * `:recurring_charge_frequency` - (String)
|
850
854
|
|
851
855
|
# @!method describe_reserved_nodes(options = {})
|
852
856
|
# Calls the DescribeReservedNodes API operation.
|
853
857
|
# @param [Hash] options
|
854
|
-
# *
|
858
|
+
# * `:reserved_node_id` - (String) Customer specified identifier for
|
855
859
|
# the node reservation.
|
856
|
-
# *
|
860
|
+
# * `:reserved_node_offering_id` - (String) The reserved node offering
|
857
861
|
# identifier.
|
858
|
-
# *
|
859
|
-
# *
|
862
|
+
# * `:node_type` - (String) The node type reserved.
|
863
|
+
# * `:duration` - (String) Duration, in seconds, for which the node is
|
860
864
|
# reserved.
|
861
|
-
# *
|
865
|
+
# * `:max_records` - (Integer) The maximum number of records to include
|
862
866
|
# in the response. If more records exist than the specified
|
863
867
|
# MaxRecords value, a marker is included in the response so that the
|
864
868
|
# remaining results may be retrieved. Default: 100 Constraints:
|
865
869
|
# minimum 20, maximum 100.
|
866
|
-
# *
|
870
|
+
# * `:marker` - (String) An optional marker returned by a previous
|
867
871
|
# DescribeReservedNodes request to indicate the first parameter group
|
868
872
|
# that the current request will return.
|
869
873
|
# @return [Core::Response]
|
870
874
|
# The #data method of the response object returns
|
871
875
|
# a hash with the following structure:
|
872
|
-
# *
|
873
|
-
# *
|
874
|
-
# *
|
875
|
-
# *
|
876
|
-
# *
|
877
|
-
# *
|
878
|
-
# *
|
879
|
-
# *
|
880
|
-
# *
|
881
|
-
# *
|
882
|
-
# *
|
883
|
-
# *
|
884
|
-
# *
|
885
|
-
# *
|
886
|
-
# *
|
887
|
-
# *
|
876
|
+
# * `:marker` - (String)
|
877
|
+
# * `:reserved_nodes` - (Array<Hash>)
|
878
|
+
# * `:reserved_node_id` - (String)
|
879
|
+
# * `:reserved_node_offering_id` - (String)
|
880
|
+
# * `:node_type` - (String)
|
881
|
+
# * `:start_time` - (Time)
|
882
|
+
# * `:duration` - (Integer)
|
883
|
+
# * `:fixed_price` - (Numeric)
|
884
|
+
# * `:usage_price` - (Numeric)
|
885
|
+
# * `:currency_code` - (String)
|
886
|
+
# * `:node_count` - (Integer)
|
887
|
+
# * `:state` - (String)
|
888
|
+
# * `:offering_type` - (String)
|
889
|
+
# * `:recurring_charges` - (Array<Hash>)
|
890
|
+
# * `:recurring_charge_amount` - (Numeric)
|
891
|
+
# * `:recurring_charge_frequency` - (String)
|
888
892
|
|
889
893
|
# @!method describe_resize(options = {})
|
890
894
|
# Calls the DescribeResize API operation.
|
891
895
|
# @param [Hash] options
|
892
|
-
# *
|
896
|
+
# * `:cluster_identifier` - *required* - (String) The unique identifier
|
893
897
|
# of a cluster whose resize progress you are requesting. This
|
894
898
|
# parameter isn't case sensitive. The default is that all clusters
|
895
899
|
# defined for an account are returned.
|
896
900
|
# @return [Core::Response]
|
897
901
|
# The #data method of the response object returns
|
898
902
|
# a hash with the following structure:
|
899
|
-
# *
|
900
|
-
# *
|
901
|
-
# *
|
902
|
-
# *
|
903
|
-
# *
|
904
|
-
# *
|
905
|
-
# *
|
903
|
+
# * `:target_node_type` - (String)
|
904
|
+
# * `:target_number_of_nodes` - (Integer)
|
905
|
+
# * `:target_cluster_type` - (String)
|
906
|
+
# * `:status` - (String)
|
907
|
+
# * `:import_tables_completed` - (Array<String>)
|
908
|
+
# * `:import_tables_in_progress` - (Array<String>)
|
909
|
+
# * `:import_tables_not_started` - (Array<String>)
|
906
910
|
|
907
911
|
# @!method modify_cluster(options = {})
|
908
912
|
# Calls the ModifyCluster API operation.
|
909
913
|
# @param [Hash] options
|
910
|
-
# *
|
914
|
+
# * `:cluster_identifier` - *required* - (String) The unique identifier
|
911
915
|
# of the cluster to be modified. Example: examplecluster
|
912
|
-
# *
|
916
|
+
# * `:cluster_type` - (String) The new cluster type. When you submit
|
913
917
|
# your cluster resize request, your existing cluster goes into a
|
914
918
|
# read-only mode. After Amazon Redshift provisions a new cluster
|
915
919
|
# based on your resize requirements, there will be outage for a
|
@@ -917,7 +921,7 @@ module AWS
|
|
917
921
|
# switched to the new cluster. You can use DescribeResize to track
|
918
922
|
# the progress of the resize request. Valid Values: multi-node |
|
919
923
|
# single-node
|
920
|
-
# *
|
924
|
+
# * `:node_type` - (String) The new node type of the cluster. If you
|
921
925
|
# specify a new node type you must also specify the number of nodes
|
922
926
|
# parameter also. When you submit your cluster resize request, your
|
923
927
|
# existing cluster goes into a read-only mode. After Amazon Redshift
|
@@ -926,7 +930,7 @@ module AWS
|
|
926
930
|
# your connection is switched to the new cluster. You can use
|
927
931
|
# DescribeResize to track the progress of the resize request. Valid
|
928
932
|
# Values: dw.hs1.xlarge | dw.hs1.8xlarge
|
929
|
-
# *
|
933
|
+
# * `:number_of_nodes` - (Integer) The new number of nodes of the
|
930
934
|
# cluster. If you specify a new number of nodes, you must also
|
931
935
|
# specify the node type parameter also. When you submit your cluster
|
932
936
|
# resize request, your existing cluster goes into a read-only mode.
|
@@ -935,16 +939,16 @@ module AWS
|
|
935
939
|
# cluster is deleted and your connection is switched to the new
|
936
940
|
# cluster. You can use DescribeResize to track the progress of the
|
937
941
|
# resize request. Valid Values: Integer greater than 0
|
938
|
-
# *
|
942
|
+
# * `:cluster_security_groups` - (Array<String>) A list of cluster
|
939
943
|
# security groups to be authorized on this cluster. This change is
|
940
944
|
# asynchronously applied as soon as possible. Security groups
|
941
945
|
# currently associated with the cluster and not in the list of groups
|
942
946
|
# to apply, will be revoked from the cluster. Constraints: Must be 1
|
943
947
|
# to 255 alphanumeric characters or hyphens First character must be a
|
944
948
|
# letter Cannot end with a hyphen or contain two consecutive hyphens
|
945
|
-
# *
|
949
|
+
# * `:vpc_security_group_ids` - (Array<String>) A list of Virtual
|
946
950
|
# Private Cloud (VPC) security groups to associate with the cluster.
|
947
|
-
# *
|
951
|
+
# * `:master_user_password` - (String) The new password for the cluster
|
948
952
|
# master user. This change is asynchronously applied as soon as
|
949
953
|
# possible. Between the time of the request and the completion of the
|
950
954
|
# request, the MasterUserPassword element exists in the
|
@@ -955,13 +959,13 @@ module AWS
|
|
955
959
|
# be between 8 and 64 characters in length. Must contain at least one
|
956
960
|
# uppercase letter. Must contain one lowercase letter. Must contain
|
957
961
|
# one number.
|
958
|
-
# *
|
962
|
+
# * `:cluster_parameter_group_name` - (String) The name of the cluster
|
959
963
|
# parameter group to apply to this cluster. This change is applied
|
960
964
|
# only after the cluster is rebooted. To reboot a cluster use
|
961
965
|
# RebootCluster. Default: Uses existing setting. Constraints: The
|
962
966
|
# cluster parameter group must be in the same parameter group family
|
963
967
|
# that matches the cluster version.
|
964
|
-
# *
|
968
|
+
# * `:automated_snapshot_retention_period` - (Integer) The number of
|
965
969
|
# days that automated snapshots are retained. If the value is 0,
|
966
970
|
# automated snapshots are disabled. Even if automated snapshots are
|
967
971
|
# disabled, you can still create manual snapshots when you want with
|
@@ -970,7 +974,7 @@ module AWS
|
|
970
974
|
# snapshots which fall outside of the new retention period will be
|
971
975
|
# immediately deleted. Default: Uses existing setting. Constraints:
|
972
976
|
# Must be a value from 0 to 35.
|
973
|
-
# *
|
977
|
+
# * `:preferred_maintenance_window` - (String) The weekly time range
|
974
978
|
# (in UTC) during which system maintenance can occur, if necessary.
|
975
979
|
# If system maintenance is necessary during the window, it may result
|
976
980
|
# in an outage. This maintenance window change is made immediately.
|
@@ -980,7 +984,7 @@ module AWS
|
|
980
984
|
# Default: Uses existing setting. Format: ddd:hh24:mi-ddd:hh24:mi,
|
981
985
|
# for example wed:07:30-wed:08:00. Valid Days: Mon | Tue | Wed | Thu
|
982
986
|
# | Fri | Sat | Sun Constraints: Must be at least 30 minutes.
|
983
|
-
# *
|
987
|
+
# * `:cluster_version` - (String) The new version number of the Amazon
|
984
988
|
# Redshift engine to upgrade to. For major version upgrades, if a
|
985
989
|
# non-default cluster parameter group is currently in use, a new
|
986
990
|
# cluster parameter group in the cluster parameter group family for
|
@@ -989,281 +993,281 @@ module AWS
|
|
989
993
|
# more information about managing parameter groups, go to Working
|
990
994
|
# with Parameter Groups in the Amazon Redshift Management Guide.
|
991
995
|
# Example: 1.0
|
992
|
-
# *
|
996
|
+
# * `:allow_version_upgrade` - (Boolean) If `true` , upgrades will be
|
993
997
|
# applied automatically to the cluster during the maintenance window.
|
994
|
-
# Default:
|
998
|
+
# Default: `false`
|
995
999
|
# @return [Core::Response]
|
996
1000
|
# The #data method of the response object returns
|
997
1001
|
# a hash with the following structure:
|
998
|
-
# *
|
999
|
-
# *
|
1000
|
-
# *
|
1001
|
-
# *
|
1002
|
-
# *
|
1003
|
-
# *
|
1004
|
-
# *
|
1005
|
-
# *
|
1006
|
-
# *
|
1007
|
-
# *
|
1008
|
-
# *
|
1009
|
-
# *
|
1010
|
-
# *
|
1011
|
-
# *
|
1012
|
-
# *
|
1013
|
-
# *
|
1014
|
-
# *
|
1015
|
-
# *
|
1016
|
-
# *
|
1017
|
-
# *
|
1018
|
-
# *
|
1019
|
-
# *
|
1020
|
-
# *
|
1021
|
-
# *
|
1022
|
-
# *
|
1023
|
-
# *
|
1024
|
-
# *
|
1025
|
-
# *
|
1026
|
-
# *
|
1027
|
-
# *
|
1028
|
-
# *
|
1029
|
-
# *
|
1030
|
-
# *
|
1031
|
-
# *
|
1032
|
-
# *
|
1002
|
+
# * `:cluster_identifier` - (String)
|
1003
|
+
# * `:node_type` - (String)
|
1004
|
+
# * `:cluster_status` - (String)
|
1005
|
+
# * `:modify_status` - (String)
|
1006
|
+
# * `:master_username` - (String)
|
1007
|
+
# * `:db_name` - (String)
|
1008
|
+
# * `:endpoint` - (Hash)
|
1009
|
+
# * `:address` - (String)
|
1010
|
+
# * `:port` - (Integer)
|
1011
|
+
# * `:cluster_create_time` - (Time)
|
1012
|
+
# * `:automated_snapshot_retention_period` - (Integer)
|
1013
|
+
# * `:cluster_security_groups` - (Array<Hash>)
|
1014
|
+
# * `:cluster_security_group_name` - (String)
|
1015
|
+
# * `:status` - (String)
|
1016
|
+
# * `:vpc_security_groups` - (Array<Hash>)
|
1017
|
+
# * `:vpc_security_group_id` - (String)
|
1018
|
+
# * `:status` - (String)
|
1019
|
+
# * `:cluster_parameter_groups` - (Array<Hash>)
|
1020
|
+
# * `:parameter_group_name` - (String)
|
1021
|
+
# * `:parameter_apply_status` - (String)
|
1022
|
+
# * `:cluster_subnet_group_name` - (String)
|
1023
|
+
# * `:vpc_id` - (String)
|
1024
|
+
# * `:availability_zone` - (String)
|
1025
|
+
# * `:preferred_maintenance_window` - (String)
|
1026
|
+
# * `:pending_modified_values` - (Hash)
|
1027
|
+
# * `:master_user_password` - (String)
|
1028
|
+
# * `:node_type` - (String)
|
1029
|
+
# * `:number_of_nodes` - (Integer)
|
1030
|
+
# * `:cluster_type` - (String)
|
1031
|
+
# * `:cluster_version` - (String)
|
1032
|
+
# * `:automated_snapshot_retention_period` - (Integer)
|
1033
|
+
# * `:cluster_version` - (String)
|
1034
|
+
# * `:allow_version_upgrade` - (Boolean)
|
1035
|
+
# * `:number_of_nodes` - (Integer)
|
1036
|
+
# * `:publicly_accessible` - (Boolean)
|
1033
1037
|
|
1034
1038
|
# @!method modify_cluster_parameter_group(options = {})
|
1035
1039
|
# Calls the ModifyClusterParameterGroup API operation.
|
1036
1040
|
# @param [Hash] options
|
1037
|
-
# *
|
1041
|
+
# * `:parameter_group_name` - *required* - (String) The name of the
|
1038
1042
|
# parameter group to be modified.
|
1039
|
-
# *
|
1043
|
+
# * `:parameters` - *required* - (Array<Hash>) An array of parameters
|
1040
1044
|
# to be modified. A maximum of 20 parameters can be modified in a
|
1041
1045
|
# single request. For each parameter to be modified, you must supply
|
1042
1046
|
# at least the parameter name and parameter value; other name-value
|
1043
1047
|
# pairs of the parameter are optional.
|
1044
|
-
# *
|
1045
|
-
# *
|
1046
|
-
# *
|
1047
|
-
# *
|
1048
|
+
# * `:parameter_name` - (String) The name of the parameter.
|
1049
|
+
# * `:parameter_value` - (String) The value of the parameter.
|
1050
|
+
# * `:description` - (String) A description of the parameter.
|
1051
|
+
# * `:source` - (String) The source of the parameter value, such as
|
1048
1052
|
# "engine-default" or "user".
|
1049
|
-
# *
|
1050
|
-
# *
|
1053
|
+
# * `:data_type` - (String) The data type of the parameter.
|
1054
|
+
# * `:allowed_values` - (String) The valid range of values for the
|
1051
1055
|
# parameter.
|
1052
|
-
# *
|
1056
|
+
# * `:is_modifiable` - (Boolean) If `true` , the parameter can be
|
1053
1057
|
# modified. Some parameters have security or operational
|
1054
1058
|
# implications that prevent them from being changed.
|
1055
|
-
# *
|
1059
|
+
# * `:minimum_engine_version` - (String) The earliest engine version
|
1056
1060
|
# to which the parameter can apply.
|
1057
1061
|
# @return [Core::Response]
|
1058
1062
|
# The #data method of the response object returns
|
1059
1063
|
# a hash with the following structure:
|
1060
|
-
# *
|
1061
|
-
# *
|
1064
|
+
# * `:parameter_group_name` - (String)
|
1065
|
+
# * `:parameter_group_status` - (String)
|
1062
1066
|
|
1063
1067
|
# @!method modify_cluster_subnet_group(options = {})
|
1064
1068
|
# Calls the ModifyClusterSubnetGroup API operation.
|
1065
1069
|
# @param [Hash] options
|
1066
|
-
# *
|
1070
|
+
# * `:cluster_subnet_group_name` - *required* - (String) The name of
|
1067
1071
|
# the parameter group to be modified.
|
1068
|
-
# *
|
1072
|
+
# * `:description` - (String) The name of the parameter group to be
|
1069
1073
|
# modified.
|
1070
|
-
# *
|
1074
|
+
# * `:subnet_ids` - *required* - (Array<String>) An array of VPC subnet
|
1071
1075
|
# IDs. A maximum of 20 subnets can be modified in a single request.
|
1072
1076
|
# @return [Core::Response]
|
1073
1077
|
# The #data method of the response object returns
|
1074
1078
|
# a hash with the following structure:
|
1075
|
-
# *
|
1076
|
-
# *
|
1077
|
-
# *
|
1078
|
-
# *
|
1079
|
-
# *
|
1080
|
-
# *
|
1081
|
-
# *
|
1082
|
-
# *
|
1083
|
-
# *
|
1079
|
+
# * `:cluster_subnet_group_name` - (String)
|
1080
|
+
# * `:description` - (String)
|
1081
|
+
# * `:vpc_id` - (String)
|
1082
|
+
# * `:subnet_group_status` - (String)
|
1083
|
+
# * `:subnets` - (Array<Hash>)
|
1084
|
+
# * `:subnet_identifier` - (String)
|
1085
|
+
# * `:subnet_availability_zone` - (Hash)
|
1086
|
+
# * `:name` - (String)
|
1087
|
+
# * `:subnet_status` - (String)
|
1084
1088
|
|
1085
1089
|
# @!method purchase_reserved_node_offering(options = {})
|
1086
1090
|
# Calls the PurchaseReservedNodeOffering API operation.
|
1087
1091
|
# @param [Hash] options
|
1088
|
-
# *
|
1092
|
+
# * `:reserved_node_offering_id` - *required* - (String) The unique
|
1089
1093
|
# identifier of the reserved node offering you want to purchase.
|
1090
|
-
# *
|
1091
|
-
# *
|
1094
|
+
# * `:reserved_node_id` - (String)
|
1095
|
+
# * `:node_count` - (Integer) The number of reserved nodes you want to
|
1092
1096
|
# purchase. Default: 1
|
1093
1097
|
# @return [Core::Response]
|
1094
1098
|
# The #data method of the response object returns
|
1095
1099
|
# a hash with the following structure:
|
1096
|
-
# *
|
1097
|
-
# *
|
1098
|
-
# *
|
1099
|
-
# *
|
1100
|
-
# *
|
1101
|
-
# *
|
1102
|
-
# *
|
1103
|
-
# *
|
1104
|
-
# *
|
1105
|
-
# *
|
1106
|
-
# *
|
1107
|
-
# *
|
1108
|
-
# *
|
1109
|
-
# *
|
1100
|
+
# * `:reserved_node_id` - (String)
|
1101
|
+
# * `:reserved_node_offering_id` - (String)
|
1102
|
+
# * `:node_type` - (String)
|
1103
|
+
# * `:start_time` - (Time)
|
1104
|
+
# * `:duration` - (Integer)
|
1105
|
+
# * `:fixed_price` - (Numeric)
|
1106
|
+
# * `:usage_price` - (Numeric)
|
1107
|
+
# * `:currency_code` - (String)
|
1108
|
+
# * `:node_count` - (Integer)
|
1109
|
+
# * `:state` - (String)
|
1110
|
+
# * `:offering_type` - (String)
|
1111
|
+
# * `:recurring_charges` - (Array<Hash>)
|
1112
|
+
# * `:recurring_charge_amount` - (Numeric)
|
1113
|
+
# * `:recurring_charge_frequency` - (String)
|
1110
1114
|
|
1111
1115
|
# @!method reboot_cluster(options = {})
|
1112
1116
|
# Calls the RebootCluster API operation.
|
1113
1117
|
# @param [Hash] options
|
1114
|
-
# *
|
1118
|
+
# * `:cluster_identifier` - *required* - (String) The cluster
|
1115
1119
|
# identifier.
|
1116
1120
|
# @return [Core::Response]
|
1117
1121
|
# The #data method of the response object returns
|
1118
1122
|
# a hash with the following structure:
|
1119
|
-
# *
|
1120
|
-
# *
|
1121
|
-
# *
|
1122
|
-
# *
|
1123
|
-
# *
|
1124
|
-
# *
|
1125
|
-
# *
|
1126
|
-
# *
|
1127
|
-
# *
|
1128
|
-
# *
|
1129
|
-
# *
|
1130
|
-
# *
|
1131
|
-
# *
|
1132
|
-
# *
|
1133
|
-
# *
|
1134
|
-
# *
|
1135
|
-
# *
|
1136
|
-
# *
|
1137
|
-
# *
|
1138
|
-
# *
|
1139
|
-
# *
|
1140
|
-
# *
|
1141
|
-
# *
|
1142
|
-
# *
|
1143
|
-
# *
|
1144
|
-
# *
|
1145
|
-
# *
|
1146
|
-
# *
|
1147
|
-
# *
|
1148
|
-
# *
|
1149
|
-
# *
|
1150
|
-
# *
|
1151
|
-
# *
|
1152
|
-
# *
|
1153
|
-
# *
|
1123
|
+
# * `:cluster_identifier` - (String)
|
1124
|
+
# * `:node_type` - (String)
|
1125
|
+
# * `:cluster_status` - (String)
|
1126
|
+
# * `:modify_status` - (String)
|
1127
|
+
# * `:master_username` - (String)
|
1128
|
+
# * `:db_name` - (String)
|
1129
|
+
# * `:endpoint` - (Hash)
|
1130
|
+
# * `:address` - (String)
|
1131
|
+
# * `:port` - (Integer)
|
1132
|
+
# * `:cluster_create_time` - (Time)
|
1133
|
+
# * `:automated_snapshot_retention_period` - (Integer)
|
1134
|
+
# * `:cluster_security_groups` - (Array<Hash>)
|
1135
|
+
# * `:cluster_security_group_name` - (String)
|
1136
|
+
# * `:status` - (String)
|
1137
|
+
# * `:vpc_security_groups` - (Array<Hash>)
|
1138
|
+
# * `:vpc_security_group_id` - (String)
|
1139
|
+
# * `:status` - (String)
|
1140
|
+
# * `:cluster_parameter_groups` - (Array<Hash>)
|
1141
|
+
# * `:parameter_group_name` - (String)
|
1142
|
+
# * `:parameter_apply_status` - (String)
|
1143
|
+
# * `:cluster_subnet_group_name` - (String)
|
1144
|
+
# * `:vpc_id` - (String)
|
1145
|
+
# * `:availability_zone` - (String)
|
1146
|
+
# * `:preferred_maintenance_window` - (String)
|
1147
|
+
# * `:pending_modified_values` - (Hash)
|
1148
|
+
# * `:master_user_password` - (String)
|
1149
|
+
# * `:node_type` - (String)
|
1150
|
+
# * `:number_of_nodes` - (Integer)
|
1151
|
+
# * `:cluster_type` - (String)
|
1152
|
+
# * `:cluster_version` - (String)
|
1153
|
+
# * `:automated_snapshot_retention_period` - (Integer)
|
1154
|
+
# * `:cluster_version` - (String)
|
1155
|
+
# * `:allow_version_upgrade` - (Boolean)
|
1156
|
+
# * `:number_of_nodes` - (Integer)
|
1157
|
+
# * `:publicly_accessible` - (Boolean)
|
1154
1158
|
|
1155
1159
|
# @!method reset_cluster_parameter_group(options = {})
|
1156
1160
|
# Calls the ResetClusterParameterGroup API operation.
|
1157
1161
|
# @param [Hash] options
|
1158
|
-
# *
|
1162
|
+
# * `:parameter_group_name` - *required* - (String) The name of the
|
1159
1163
|
# cluster parameter group to be reset.
|
1160
|
-
# *
|
1164
|
+
# * `:reset_all_parameters` - (Boolean) If `true` , all parameters in
|
1161
1165
|
# the specified parameter group will be reset to their default
|
1162
|
-
# values. Default:
|
1163
|
-
# *
|
1166
|
+
# values. Default: `true`
|
1167
|
+
# * `:parameters` - (Array<Hash>) An array of names of parameters to be
|
1164
1168
|
# reset. If ResetAllParameters option is not used, then at least one
|
1165
1169
|
# parameter name must be supplied. Constraints: A maximum of 20
|
1166
1170
|
# parameters can be reset in a single request.
|
1167
|
-
# *
|
1168
|
-
# *
|
1169
|
-
# *
|
1170
|
-
# *
|
1171
|
+
# * `:parameter_name` - (String) The name of the parameter.
|
1172
|
+
# * `:parameter_value` - (String) The value of the parameter.
|
1173
|
+
# * `:description` - (String) A description of the parameter.
|
1174
|
+
# * `:source` - (String) The source of the parameter value, such as
|
1171
1175
|
# "engine-default" or "user".
|
1172
|
-
# *
|
1173
|
-
# *
|
1176
|
+
# * `:data_type` - (String) The data type of the parameter.
|
1177
|
+
# * `:allowed_values` - (String) The valid range of values for the
|
1174
1178
|
# parameter.
|
1175
|
-
# *
|
1179
|
+
# * `:is_modifiable` - (Boolean) If `true` , the parameter can be
|
1176
1180
|
# modified. Some parameters have security or operational
|
1177
1181
|
# implications that prevent them from being changed.
|
1178
|
-
# *
|
1182
|
+
# * `:minimum_engine_version` - (String) The earliest engine version
|
1179
1183
|
# to which the parameter can apply.
|
1180
1184
|
# @return [Core::Response]
|
1181
1185
|
# The #data method of the response object returns
|
1182
1186
|
# a hash with the following structure:
|
1183
|
-
# *
|
1184
|
-
# *
|
1187
|
+
# * `:parameter_group_name` - (String)
|
1188
|
+
# * `:parameter_group_status` - (String)
|
1185
1189
|
|
1186
1190
|
# @!method restore_from_cluster_snapshot(options = {})
|
1187
1191
|
# Calls the RestoreFromClusterSnapshot API operation.
|
1188
1192
|
# @param [Hash] options
|
1189
|
-
# *
|
1193
|
+
# * `:cluster_identifier` - *required* - (String) The identifier of the
|
1190
1194
|
# cluster that will be created from restoring the snapshot.
|
1191
1195
|
# Constraints: Must contain from 1 to 63 alphanumeric characters or
|
1192
1196
|
# hyphens. Alphabetic characters must be lowercase. First character
|
1193
1197
|
# must be a letter. Cannot end with a hyphen or contain two
|
1194
1198
|
# consecutive hyphens. Must be unique for all clusters within an AWS
|
1195
1199
|
# account.
|
1196
|
-
# *
|
1200
|
+
# * `:snapshot_identifier` - *required* - (String) The name of the
|
1197
1201
|
# snapshot from which to create the new cluster. This parameter isn't
|
1198
1202
|
# case sensitive. Example: my-snapshot-id
|
1199
|
-
# *
|
1203
|
+
# * `:port` - (Integer) The port number on which the cluster accepts
|
1200
1204
|
# connections. Default: The same port as the original cluster.
|
1201
1205
|
# Constraints: Must be between 1115 and 65535.
|
1202
|
-
# *
|
1206
|
+
# * `:availability_zone` - (String) The Amazon EC2 Availability Zone in
|
1203
1207
|
# which to restore the cluster. Default: A random, system-chosen
|
1204
1208
|
# Availability Zone. Example: us-east-1a
|
1205
|
-
# *
|
1209
|
+
# * `:allow_version_upgrade` - (Boolean) If `true` , upgrades can be
|
1206
1210
|
# applied during the maintenance window to the Amazon Redshift engine
|
1207
|
-
# that is running on the cluster. Default:
|
1208
|
-
# *
|
1211
|
+
# that is running on the cluster. Default: `true`
|
1212
|
+
# * `:cluster_subnet_group_name` - (String) The name of the subnet
|
1209
1213
|
# group where you want to cluster restored. A snapshot of cluster in
|
1210
1214
|
# VPC can be restored only in VPC. Therefore, you must provide subnet
|
1211
1215
|
# group name where you want the cluster restored.
|
1212
|
-
# *
|
1216
|
+
# * `:publicly_accessible` - (Boolean) If `true` , the cluster can be
|
1213
1217
|
# accessed from a public network.
|
1214
1218
|
# @return [Core::Response]
|
1215
1219
|
# The #data method of the response object returns
|
1216
1220
|
# a hash with the following structure:
|
1217
|
-
# *
|
1218
|
-
# *
|
1219
|
-
# *
|
1220
|
-
# *
|
1221
|
-
# *
|
1222
|
-
# *
|
1223
|
-
# *
|
1224
|
-
# *
|
1225
|
-
# *
|
1226
|
-
# *
|
1227
|
-
# *
|
1228
|
-
# *
|
1229
|
-
# *
|
1230
|
-
# *
|
1231
|
-
# *
|
1232
|
-
# *
|
1233
|
-
# *
|
1234
|
-
# *
|
1235
|
-
# *
|
1236
|
-
# *
|
1237
|
-
# *
|
1238
|
-
# *
|
1239
|
-
# *
|
1240
|
-
# *
|
1241
|
-
# *
|
1242
|
-
# *
|
1243
|
-
# *
|
1244
|
-
# *
|
1245
|
-
# *
|
1246
|
-
# *
|
1247
|
-
# *
|
1248
|
-
# *
|
1249
|
-
# *
|
1250
|
-
# *
|
1251
|
-
# *
|
1221
|
+
# * `:cluster_identifier` - (String)
|
1222
|
+
# * `:node_type` - (String)
|
1223
|
+
# * `:cluster_status` - (String)
|
1224
|
+
# * `:modify_status` - (String)
|
1225
|
+
# * `:master_username` - (String)
|
1226
|
+
# * `:db_name` - (String)
|
1227
|
+
# * `:endpoint` - (Hash)
|
1228
|
+
# * `:address` - (String)
|
1229
|
+
# * `:port` - (Integer)
|
1230
|
+
# * `:cluster_create_time` - (Time)
|
1231
|
+
# * `:automated_snapshot_retention_period` - (Integer)
|
1232
|
+
# * `:cluster_security_groups` - (Array<Hash>)
|
1233
|
+
# * `:cluster_security_group_name` - (String)
|
1234
|
+
# * `:status` - (String)
|
1235
|
+
# * `:vpc_security_groups` - (Array<Hash>)
|
1236
|
+
# * `:vpc_security_group_id` - (String)
|
1237
|
+
# * `:status` - (String)
|
1238
|
+
# * `:cluster_parameter_groups` - (Array<Hash>)
|
1239
|
+
# * `:parameter_group_name` - (String)
|
1240
|
+
# * `:parameter_apply_status` - (String)
|
1241
|
+
# * `:cluster_subnet_group_name` - (String)
|
1242
|
+
# * `:vpc_id` - (String)
|
1243
|
+
# * `:availability_zone` - (String)
|
1244
|
+
# * `:preferred_maintenance_window` - (String)
|
1245
|
+
# * `:pending_modified_values` - (Hash)
|
1246
|
+
# * `:master_user_password` - (String)
|
1247
|
+
# * `:node_type` - (String)
|
1248
|
+
# * `:number_of_nodes` - (Integer)
|
1249
|
+
# * `:cluster_type` - (String)
|
1250
|
+
# * `:cluster_version` - (String)
|
1251
|
+
# * `:automated_snapshot_retention_period` - (Integer)
|
1252
|
+
# * `:cluster_version` - (String)
|
1253
|
+
# * `:allow_version_upgrade` - (Boolean)
|
1254
|
+
# * `:number_of_nodes` - (Integer)
|
1255
|
+
# * `:publicly_accessible` - (Boolean)
|
1252
1256
|
|
1253
1257
|
# @!method revoke_cluster_security_group_ingress(options = {})
|
1254
1258
|
# Calls the RevokeClusterSecurityGroupIngress API operation.
|
1255
1259
|
# @param [Hash] options
|
1256
|
-
# *
|
1260
|
+
# * `:cluster_security_group_name` - *required* - (String) The name of
|
1257
1261
|
# the security Group from which to revoke the ingress rule.
|
1258
|
-
# *
|
1262
|
+
# * `:cidrip` - (String) The IP range for which to revoke access. This
|
1259
1263
|
# range must be a valid Classless Inter-Domain Routing (CIDR) block
|
1260
1264
|
# of IP addresses. If CIDRIP is specified, EC2SecurityGroupName and
|
1261
1265
|
# EC2SecurityGroupOwnerId cannot be provided.
|
1262
|
-
# *
|
1266
|
+
# * `:ec2_security_group_name` - (String) The name of the EC2 Security
|
1263
1267
|
# Group whose access is to be revoked. If EC2SecurityGroupName is
|
1264
1268
|
# specified, EC2SecurityGroupOwnerId must also be provided and CIDRIP
|
1265
1269
|
# cannot be provided.
|
1266
|
-
# *
|
1270
|
+
# * `:ec2_security_group_owner_id` - (String) The AWS account number of
|
1267
1271
|
# the owner of the security group specified in the
|
1268
1272
|
# EC2SecurityGroupName parameter. The AWS access key ID is not an
|
1269
1273
|
# acceptable value. If EC2SecurityGroupOwnerId is specified,
|
@@ -1272,15 +1276,15 @@ module AWS
|
|
1272
1276
|
# @return [Core::Response]
|
1273
1277
|
# The #data method of the response object returns
|
1274
1278
|
# a hash with the following structure:
|
1275
|
-
# *
|
1276
|
-
# *
|
1277
|
-
# *
|
1278
|
-
# *
|
1279
|
-
# *
|
1280
|
-
# *
|
1281
|
-
# *
|
1282
|
-
# *
|
1283
|
-
# *
|
1279
|
+
# * `:cluster_security_group_name` - (String)
|
1280
|
+
# * `:description` - (String)
|
1281
|
+
# * `:ec_2_security_groups` - (Array<Hash>)
|
1282
|
+
# * `:status` - (String)
|
1283
|
+
# * `:ec2_security_group_name` - (String)
|
1284
|
+
# * `:ec2_security_group_owner_id` - (String)
|
1285
|
+
# * `:ip_ranges` - (Array<Hash>)
|
1286
|
+
# * `:status` - (String)
|
1287
|
+
# * `:cidrip` - (String)
|
1284
1288
|
|
1285
1289
|
# end client methods #
|
1286
1290
|
|