Get all available regions for the AWS ElastiCache service.
Return type: | list |
---|---|
Returns: | A list of boto.regioninfo.RegionInfo |
Amazon ElastiCache Amazon ElastiCache is a web service that makes it easier to set up, operate, and scale a distributed cache in the cloud.
With ElastiCache, customers gain all of the benefits of a high- performance, in-memory cache with far less of the administrative burden of launching and managing a distributed cache. The service makes set-up, scaling, and cluster failure handling much simpler than in a self-managed cache deployment.
In addition, through integration with Amazon CloudWatch, customers get enhanced visibility into the key performance statistics associated with their cache and can receive alarms if a part of their cache runs hot.
The AuthorizeCacheSecurityGroupIngress operation allows network ingress to a cache security group. Applications using ElastiCache must be running on Amazon EC2, and Amazon EC2 security groups are used as the authorization mechanism. You cannot authorize ingress from an Amazon EC2 security group in one Region to an ElastiCache cluster in another Region.
Parameters: |
|
---|
The CreateCacheCluster operation creates a new cache cluster. All nodes in the cache cluster run the same protocol-compliant cache engine software - either Memcached or Redis.
Parameters: | cache_cluster_id (string) – |
---|
Constraints:
Parameters: |
|
---|
Parameters: | cache_node_type (string) – The compute and memory capacity of the nodes in the cache cluster. |
---|
Valid values for Memcached:
Valid values for Redis:
For a complete listing of cache node types and specifications, see `.
Parameters: | engine (string) – The name of the cache engine to be used for this cache cluster. |
---|
Valid values for this parameter are:
memcached | redis
Parameters: |
|
---|
Parameters: | cache_security_group_names (list) – A list of cache security group names to associate with this cache cluster. |
---|
Parameters: | security_group_ids (list) – One or more VPC security groups associated with the cache cluster. |
---|
Parameters: | snapshot_arns (list) – A single-element string list containing an Amazon Resource Name (ARN) that uniquely identifies a Redis RDB snapshot file stored in Amazon S3. The snapshot file will be used to populate the Redis cache in the new cache cluster. The Amazon S3 object name in the ARN cannot contain any commas. |
---|
Parameters: | preferred_availability_zone (string) – The EC2 Availability Zone in which the cache cluster will be created. |
---|
Default: System chosen availability zone.
Parameters: | preferred_maintenance_window (string) – The weekly time range (in UTC) during which system maintenance can occur. |
---|
Example: sun:05:00-sun:09:00
Parameters: |
|
---|
The Amazon SNS topic owner must be the same as the cache cluster owner.
Parameters: | auto_minor_version_upgrade (boolean) – Determines whether minor engine upgrades will be applied automatically to the cache cluster during the maintenance window. A value of True allows these upgrades to occur; False disables automatic upgrades. |
---|
Default: True
The CreateCacheParameterGroup operation creates a new cache parameter group. A cache parameter group is a collection of parameters that you apply to all of the nodes in a cache cluster.
Parameters: |
---|
Valid values are: memcached1.4 | redis2.6
Parameters: | description (string) – A user-specified description for the cache parameter group. |
---|
The CreateCacheSecurityGroup operation creates a new cache security group. Use a cache security group to control access to one or more cache clusters.
Cache security groups are only used when you are creating a cluster outside of an Amazon Virtual Private Cloud (VPC). If you are creating a cluster inside of a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup .
Parameters: | cache_security_group_name (string) – A name for the cache security group. This value is stored as a lowercase string. |
---|
Example: mysecuritygroup
Parameters: | description (string) – A description for the cache security group. |
---|
The CreateCacheSubnetGroup operation creates a new cache subnet group.
Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (VPC).
Parameters: | cache_subnet_group_name (string) – A name for the cache subnet group. This value is stored as a lowercase string. |
---|
Example: mysubnetgroup
Parameters: |
---|
The CreateReplicationGroup operation creates a replication group. A replication group is a collection of cache clusters, where one of the clusters is a read/write primary and the other clusters are read-only replicas. Writes to the primary are automatically propagated to the replicas.
When you create a replication group, you must specify an existing cache cluster that is in the primary role. When the replication group has been successfully created, you can add one or more read replica replicas to it, up to a total of five read replicas.
Parameters: | replication_group_id (string) – |
---|
Constraints:
Parameters: |
---|
The DeleteCacheCluster operation deletes a previously provisioned cache cluster. DeleteCacheCluster deletes all associated cache nodes, node endpoints and the cache cluster itself. When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the cache cluster; you cannot cancel or revert this operation.
Parameters: | cache_cluster_id (string) – The cache cluster identifier for the cluster to be deleted. This parameter is not case sensitive. |
---|
The DeleteCacheParameterGroup operation deletes the specified cache parameter group. You cannot delete a cache parameter group if it is associated with any cache clusters.
Parameters: | cache_parameter_group_name (string) – |
---|
The name of the cache parameter group to delete.
The DeleteCacheSecurityGroup operation deletes a cache security group. You cannot delete a cache security group if it is associated with any cache clusters.
Parameters: | cache_security_group_name (string) – |
---|
The name of the cache security group to delete.
You cannot delete the default security group.
The DeleteCacheSubnetGroup operation deletes a cache subnet group. You cannot delete a cache subnet group if it is associated with any cache clusters.
Parameters: | cache_subnet_group_name (string) – The name of the cache subnet group to delete. |
---|
The DeleteReplicationGroup operation deletes an existing replication group. DeleteReplicationGroup deletes the primary cache cluster and all of the read replicas in the replication group. When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the entire replication group; you cannot cancel or revert this operation.
Parameters: | replication_group_id (string) – The identifier for the replication group to be deleted. This parameter is not case sensitive. |
---|
The DescribeCacheClusters operation returns information about all provisioned cache clusters if no cache cluster identifier is specified, or about a specific cache cluster if a cache cluster identifier is supplied.
By default, abbreviated information about the cache clusters(s) will be returned. You can use the optional ShowDetails flag to retrieve detailed information about the cache nodes associated with the cache clusters. These details include the DNS address and port for the cache node endpoint.
If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes are successfully provisioned.
If the cluster is in the DELETING state, only cluster level information will be displayed.
If cache nodes are currently being added to the cache cluster, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. When the cache cluster state is available , the cluster is ready for use.
If cache nodes are currently being removed from the cache cluster, no endpoint information for the removed nodes is displayed.
Parameters: |
|
---|
Default: 100
Constraints: minimum 20; maximum 100.
Parameters: |
|
---|
The DescribeCacheEngineVersions operation returns a list of the available cache engines and their versions.
Parameters: |
---|
Example: 1.4.14
Parameters: | cache_parameter_group_family (string) – |
---|
Constraints:
Parameters: | max_records (integer) – The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved. |
---|
Default: 100
Constraints: minimum 20; maximum 100.
Parameters: |
|
---|
The DescribeCacheParameterGroups operation returns a list of cache parameter group descriptions. If a cache parameter group name is specified, the list will contain only the descriptions for that group.
Parameters: |
|
---|
Default: 100
Constraints: minimum 20; maximum 100.
Parameters: | marker (string) – An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords . |
---|
The DescribeCacheParameters operation returns the detailed parameter list for a particular cache parameter group.
Parameters: |
---|
Valid values: user | system | engine-default
Parameters: | max_records (integer) – The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved. |
---|
Default: 100
Constraints: minimum 20; maximum 100.
Parameters: | marker (string) – An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords . |
---|
The DescribeCacheSecurityGroups operation returns a list of cache security group descriptions. If a cache security group name is specified, the list will contain only the description of that group.
Parameters: |
|
---|
Default: 100
Constraints: minimum 20; maximum 100.
Parameters: | marker (string) – An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords . |
---|
The DescribeCacheSubnetGroups operation returns a list of cache subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.
Parameters: |
|
---|
Default: 100
Constraints: minimum 20; maximum 100.
Parameters: | marker (string) – An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords . |
---|
The DescribeEngineDefaultParameters operation returns the default engine and system parameter information for the specified cache engine.
Parameters: |
|
---|
Default: 100
Constraints: minimum 20; maximum 100.
Parameters: | marker (string) – An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords . |
---|
The DescribeEvents operation returns events related to cache clusters, cache security groups, and cache parameter groups. You can obtain events specific to a particular cache cluster, cache security group, or cache parameter group by providing the name as a parameter.
By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days’ worth of events if necessary.
Parameters: |
---|
Parameters: |
|
---|
Default: 100
Constraints: minimum 20; maximum 100.
Parameters: | marker (string) – An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords . |
---|
The DescribeReplicationGroups operation returns information about a particular replication group. If no identifier is specified, DescribeReplicationGroups returns information about all replication groups.
Parameters: | replication_group_id (string) – The identifier for the replication group to be described. This parameter is not case sensitive. |
---|
Parameters: | max_records (integer) – The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved. |
---|
Default: 100
Constraints: minimum 20; maximum 100.
Parameters: | marker (string) – An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords . |
---|
The DescribeReservedCacheNodes operation returns information about reserved cache nodes for this account, or about a specified reserved cache node.
Parameters: |
|
---|
Valid Values: 1 | 3 | 31536000 | 94608000
Parameters: |
|
---|
Parameters: | max_records (integer) – The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved. |
---|
Default: 100
Constraints: minimum 20; maximum 100.
Parameters: | marker (string) – An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords . |
---|
The DescribeReservedCacheNodesOfferings operation lists available reserved cache node offerings.
Parameters: | reserved_cache_nodes_offering_id (string) – The offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier. |
---|
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
Parameters: |
---|
Valid Values: 1 | 3 | 31536000 | 94608000
Parameters: |
|
---|
Parameters: | max_records (integer) – The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved. |
---|
Default: 100
Constraints: minimum 20; maximum 100.
Parameters: | marker (string) – An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords . |
---|
The ModifyCacheCluster operation modifies the settings for a cache cluster. You can use this operation to change one or more cluster configuration parameters by specifying the parameters and the new values.
Parameters: |
|
---|
Parameters: |
|
---|
Parameters: | security_group_ids (list) – Specifies the VPC Security Groups associated with the cache cluster. |
---|
Parameters: |
|
---|
The SNS topic owner must be same as the cache cluster owner.
Parameters: |
|
---|
Valid values: active | inactive
Parameters: | apply_immediately (boolean) – If True, this parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible, regardless of the PreferredMaintenanceWindow setting for the cache cluster. |
---|
Valid values: True | False
Default: False
Parameters: |
|
---|
Valid values: True | False
Default: True
The ModifyCacheParameterGroup operation modifies the parameters of a cache parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
Parameters: |
|
---|
The ModifyCacheSubnetGroup operation modifies an existing cache subnet group.
Parameters: | cache_subnet_group_name (string) – The name for the cache subnet group. This value is stored as a lowercase string. |
---|
Example: mysubnetgroup
Parameters: |
---|
The ModifyReplicationGroup operation modifies the settings for a replication group.
Parameters: |
|
---|
Parameters: | security_group_ids (list) – Specifies the VPC Security Groups associated with the cache clusters in the replication group. |
---|
Parameters: |
|
---|
The SNS topic owner must be same as the replication group owner.
Parameters: |
|
---|
Valid values: active | inactive
Parameters: | apply_immediately (boolean) – If True, this parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible, regardless of the PreferredMaintenanceWindow setting for the replication group. |
---|
Valid values: True | False
Default: False
Parameters: |
|
---|
The PurchaseReservedCacheNodesOffering operation allows you to purchase a reserved cache node offering.
Parameters: | reserved_cache_nodes_offering_id (string) – The ID of the reserved cache node offering to purchase. |
---|
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
Parameters: | reserved_cache_node_id (string) – A customer-specified identifier to track this reservation. |
---|
Example: myreservationID
Parameters: | cache_node_count (integer) – The number of cache node instances to reserve. |
---|
Default: 1
The RebootCacheCluster operation reboots some, or all, of the cache cluster nodes within a provisioned cache cluster. This API will apply any modified cache parameter groups to the cache cluster. The reboot action takes place as soon as possible, and results in a momentary outage to the cache cluster. During the reboot, the cache cluster status is set to REBOOTING.
The reboot causes the contents of the cache (for each cache cluster node being rebooted) to be lost.
When the reboot is complete, a cache cluster event is created.
Parameters: |
|
---|
The ResetCacheParameterGroup operation modifies the parameters of a cache parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire cache parameter group, specify the ResetAllParameters and CacheParameterGroupName parameters.
Parameters: |
|
---|
Valid values: True | False
Parameters: | parameter_name_values (list) – An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name. |
---|
The RevokeCacheSecurityGroupIngress operation revokes ingress from a cache security group. Use this operation to disallow access from an Amazon EC2 security group that had been previously authorized.
Parameters: |
|
---|