From 116d4c3fe7e4528089ccff8dbf1f0a3c7be1e3ef Mon Sep 17 00:00:00 2001
From: Ryan Parman
* The Auto Scaling group name must be unique within the scope of your AWS account, and under the
@@ -184,15 +182,24 @@ public function set_region($region)
* @param string $launch_configuration_name (Required) The name of the launch configuration to use with the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern:
- * The launch configuration name used must be unique, within the scope of the client's AWS
- * account, and the maximum limit of launch configurations must not yet have been met, or else the
- * call will fail.
+ * At this time, Auto Scaling launch configurations don't support compressed (e.g. zipped) user
+ * data files.
*
@@ -311,6 +367,7 @@ public function create_launch_configuration($launch_configuration_name, $image_i
*
* @param string $auto_scaling_group_name (Required) The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
* @param integer $min_size (Required) The minimum size of the Auto Scaling group.
* @param integer $max_size (Required) The maximum size of the Auto Scaling group.
- * @param string|array $availability_zones (Required) A list of availability zones for the Auto Scaling group. Pass a string for a single value, or an indexed array for multiple values.
+ * @param string|array $availability_zones (Required) A list of Availability Zones for the Auto Scaling group. Pass a string for a single value, or an indexed array for multiple values.
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
- *
* @return CFResponse A DesiredCapacity
- integer
- Optional - The number of EC2 instances that should be running in the group. For more information, see SetDesiredCapacity
.DesiredCapacity
- integer
- Optional - The number of Amazon EC2 instances that should be running in the group.DefaultCooldown
- integer
- Optional - The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.LoadBalancerNames
- string|array
- Optional - A list of LoadBalancers to use. Pass a string for a single value, or an indexed array for multiple values.HealthCheckType
- string
- Optional - The service you want the health status from, Amazon EC2 or Elastic Load Balancer. Valid values are "EC2" or "ELB." [Constraints: The value must be between 1 and 32 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]HealthCheckGracePeriod
- integer
- Optional - Length of time in seconds after a new EC2 instance comes into service that Auto Scaling starts checking its health.PlacementGroup
- string
- Optional - Physical location of your cluster placement group created in Amazon EC2. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]VPCZoneIdentifier
- string
- Optional - The subnet identifier of the Virtual Private Cloud. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]LoadBalancerNames
- string|array
- Optional - A list of load balancers to use. Pass a string for a single value, or an indexed array for multiple values.HealthCheckType
- string
- Optional - The service you want the health status from, Amazon EC2 or Elastic Load Balancer. Valid values are EC2
or ELB
. [Constraints: The value must be between 1 and 32 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]HealthCheckGracePeriod
- integer
- Optional - Length of time in seconds after a new Amazon EC2 instance comes into service that Auto Scaling starts checking its health.PlacementGroup
- string
- Optional - Physical location of your cluster placement group created in Amazon EC2. For more information about cluster placement group, see Using Cluster Instances [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]VPCZoneIdentifier
- string
- Optional - A comma-separated list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs). When you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]Tags
- array
- Optional - The tag to be created. Each tag should be defined by its resource ID, resource type, key, value, and a propagate flag. The PropagateAtLaunch
flag defines whether the new tag will be applied to instances launched after the tag is created.
+ *
x
- array
- Optional - This represents a simple array index.
+ *
ResourceId
- string
- Optional - The name of the tag. [Constraints: The value must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]ResourceType
- string
- Optional - The kind of resource to which the tag is applied. [Constraints: The value must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]Key
- string
- Required - The key of the tag. [Constraints: The value must be between 1 and 128 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]Value
- string
- Optional - The value of the tag. [Constraints: The value must be between 0 and 256 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]PropagateAtLaunch
- boolean
- Optional - Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
- * @param string $image_id (Required) Unique ID of the Amazon Machine Image (AMI) which was assigned during registration. For more information about Amazon EC2 images, please go to Using AMIs in the Amazon EC2 User Guide [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
- * @param string $instance_type (Required) The instance type of the EC2 instance. For more information about Amazon EC2 instance types, please go to Using Instances in the Amazon EC2 User Guide. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
- * @param array $opt (Optional) An associative array of parameters that can have the following keys:
- *
KeyName
- string
- Optional - The name of the EC2 key pair. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]SecurityGroups
- string|array
- Optional - The names of the security groups with which to associate EC2 instances. For more information about Amazon EC2 security groups, go to Using Security Groups in the Amazon EC2 User Guide. Pass a string for a single value, or an indexed array for multiple values.UserData
- string
- Optional - The user data available to the launched EC2 instances. For more information about Amazon EC2 user data, please go to Using Instances in the Amazon EC2 User Guide. [Constraints: The value must be between 0 and 21847 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]KernelId
- string
- Optional - The ID of the kernel associated with the EC2 AMI. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]RamdiskId
- string
- Optional - The ID of the RAM disk associated with the EC2 AMI. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]BlockDeviceMappings
- array
- Optional - A list of mappings that specify how block devices are exposed to the instance. Each mapping is made up of a VirtualName, a DeviceName, and an ebs data structure that contains information about the associated Elastic Block Storage volume. For more information about Amazon EC2 BlockDeviceMappings, please go to Block Device Mapping in the Amazon EC2 User Guide.
+ * @param string $image_id (Required) Unique ID of the Amazon Machine Image (AMI) which was assigned during registration. For more information about Amazon EC2 images, please see Amazon EC2 product documentation. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
+ * @param string $instance_type (Required) The instance type of the Amazon EC2 instance. For more information about Amazon EC2 instance types, please see Amazon EC2 product documentation [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
+ * @param array $opt (Optional) An associative array of parameters that can have the following keys:
+ *
KeyName
- string
- Optional - The name of the Amazon EC2 key pair. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]SecurityGroups
- string|array
- Optional - The names of the security groups with which to associate Amazon EC2 or Amazon VPC instances. Specify Amazon EC2 security groups using security group names, such as websrv
. Specify Amazon VPC security groups using security group IDs, such as sg-12345678
. For more information about Amazon EC2 security groups, go to Using Security Groups in the Amazon EC2 product documentation. For more information about Amazon VPC security groups, go to Security Groups in the Amazon VPC product documentation. Pass a string for a single value, or an indexed array for multiple values.UserData
- string
- Optional - The user data available to the launched Amazon EC2 instances. For more information about Amazon EC2 user data, please see Amazon EC2 product documentation. [Constraints: The value must be between 0 and 21847 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]KernelId
- string
- Optional - The ID of the kernel associated with the Amazon EC2 AMI. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]RamdiskId
- string
- Optional - The ID of the RAM disk associated with the Amazon EC2 AMI. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]BlockDeviceMappings
- array
- Optional - A list of mappings that specify how block devices are exposed to the instance. Each mapping is made up of a VirtualName, a DeviceName, and an ebs data structure that contains information about the associated Elastic Block Storage volume. For more information about Amazon EC2 BlockDeviceMappings, go to Block Device Mapping in the Amazon EC2 product documentation.
*
x
- array
- Optional - This represents a simple array index.
*
VirtualName
- string
- Optional - The virtual name associated with the device. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]DeviceName
- string
- Required - The name of the device within Amazon EC2. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]Ebs
- array
- Optional - The Elastic Block Storage volume information.
*
x
- array
- Optional - This represents a simple array index.
- *
SnapshotId
- string
- Optional - The Snapshot ID. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]VolumeSize
- integer
- Optional - The volume size, in GigaBytes.SnapshotId
- string
- Optional - The snapshot ID. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]VolumeSize
- integer
- Optional - The volume size, in gigabytes.InstanceMonitoring
- array
- Optional - Enables detailed monitoring.
+ *
InstanceMonitoring
- array
- Optional - Enables detailed monitoring, which is enabled by default. When detailed monitoring is enabled, CloudWatch will generate metrics every minute and your account will be charged a fee. When you disable detailed monitoring, by specifying False
, Cloudwatch will generate metrics every 5 minutes. For information about monitoring, see the Amazon CloudWatch product page.
*
x
- array
- Optional - This represents a simple array index.
- *
Enabled
- boolean
- Optional - If true, instance monitoring is enabled.Enabled
- boolean
- Optional - If True
, instance monitoring is enabled.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.PropagateAtLaunch
flag, the tag you create will be applied to new
+ * instances launched by the Auto Scaling group. However, instances already running will not get
+ * the new or updated tag. Likewise, when you modify a tag, the updated version will be applied to
+ * new instances launched by the Auto Scaling group after the change. Instances that are already
+ * running that had the previous version of the tag will continue to have the older tag.
+ *
+ * @param array $tags (Required) The tag to be created or updated. Each tag should be defined by its resource ID, resource type, key, value, and a propagate flag. The PropagateAtLaunch
flag defines whether the new tag will be applied to instances launched after the tag is created.
+ *
+ * @param array $opt (Optional) An associative array of parameters that can have the following keys: x
- array
- Optional - This represents a simple array index.
+ *
ResourceId
- string
- Optional - The name of the tag. [Constraints: The value must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]ResourceType
- string
- Optional - The kind of resource to which the tag is applied. [Constraints: The value must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]Key
- string
- Required - The key of the tag. [Constraints: The value must be between 1 and 128 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]Value
- string
- Optional - The value of the tag. [Constraints: The value must be between 0 and 256 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]PropagateAtLaunch
- boolean
- Optional - Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.
+ *
+ * @return CFResponse A curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
+ *
* @return CFResponse A ForceDelete
- boolean
- Optional - Starting with API version 2011-01-01, specifies that the Auto Scaling group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.LaunchConfiguration
.
*
- * The specified launch configuration must not be attached to an Auto Scaling group. Once this
+ * The specified launch configuration must not be attached to an Auto Scaling group. When this
* call completes, the launch configuration is no longer available for use.
*
* @param string $launch_configuration_name (Required) The name of the launch configuration. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
@@ -344,9 +401,28 @@ public function delete_launch_configuration($launch_configuration_name, $opt = n
}
/**
- * Deletes a policy created by PutScalingPolicy
+ * Deletes notifications created by PutNotificationConfiguration
.
*
- * @param string $policy_name (Required) The name or PolicyARN of the policy you want to delete [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
+ * @param string $auto_scaling_group_name (Required) The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
+ * @param string $topic_arn (Required) The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
+ * @param array $opt (Optional) An associative array of parameters that can have the following keys:
+ *
+ * @return CFResponse A curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.PutScalingPolicy
.
+ *
+ * @param string $policy_name (Required) The name or PolicyARN of the policy you want to delete. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
*
AutoScalingGroupName
- string
- Optional - The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
- *
* @return CFResponse A AutoScalingGroupName
- string
- Optional - The name of the Auto Scaling group [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]AutoScalingGroupName
- string
- Optional - The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.PropagateAtLaunch
flag defines whether the new tag will be applied to instances launched after the tag is created.
+ *
+ * @param array $opt (Optional) An associative array of parameters that can have the following keys: x
- array
- Optional - This represents a simple array index.
+ *
ResourceId
- string
- Optional - The name of the tag. [Constraints: The value must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]ResourceType
- string
- Optional - The kind of resource to which the tag is applied. [Constraints: The value must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]Key
- string
- Required - The key of the tag. [Constraints: The value must be between 1 and 128 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]Value
- string
- Optional - The value of the tag. [Constraints: The value must be between 0 and 256 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]PropagateAtLaunch
- boolean
- Optional - Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.
+ *
+ * @return CFResponse A curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.PutScalingPolicy
action.
*
@@ -401,7 +506,8 @@ public function describe_adjustment_types($opt = null)
* service returns the full details of all Auto Scaling groups.
*
* This action supports pagination by returning a token if there are more pages to retrieve. To
- * get the next page, call this action again with the returned token as the NextToken parameter.
+ * get the next page, call this action again with the returned token as the NextToken
+ * parameter.
*
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
*
AutoScalingGroupNames
- string|array
- Optional - A list of Auto Scaling group names. Pass a string for a single value, or an indexed array for multiple values.InstanceIds
list. If a
+ * list is not provided, the service returns the full details of all instances up to a maximum of
+ * 50. By default, the service returns a list of 20 items.
*
* This action supports pagination by returning a token if there are more pages to retrieve. To
- * get the next page, call this action again with the returned token as the NextToken parameter.
+ * get the next page, call this action again with the returned token as the NextToken
+ * parameter.
*
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
*
InstanceIds
- string|array
- Optional - The list of Auto Scaling instances to describe. If this list is omitted, all auto scaling instances are described. The list of requested instances cannot contain more than 50 items. If unknown instances are requested, they are ignored with no error. Pass a string for a single value, or an indexed array for multiple values.
+ *
+ * @return CFResponse A curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.
*
* @return CFResponse A LaunchConfigurationNames
- string|array
- Optional - A list of launch configuration names. Pass a string for a single value, or an indexed array for multiple values.NextToken
- string
- Optional - A string that marks the start of the next batch of returned results. [Constraints: The value must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]MaxRecords
- integer
- Optional - The maximum number of launch configurations.MaxRecords
- integer
- Optional - The maximum number of launch configurations. The default is 100.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.
+ *
+ * @return CFResponse A AutoScalingGroupNames
- string|array
- Optional - The name of the Auto Scaling group. Pass a string for a single value, or an indexed array for multiple values.NextToken
- string
- Optional - A string that is used to mark the start of the next batch of returned results for pagination. [Constraints: The value must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]MaxRecords
- integer
- Optional - Maximum number of records to be returned.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.NextToken
parameter.
*
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
*
AutoScalingGroupName
- string
- Optional - The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]PolicyNames
- string|array
- Optional - A list of policy names or policy ARNs to be described. If this list is omitted, all policy names are described. If an auto scaling group name is provided, the results are limited to that group.The list of requested policy names cannot contain more than 50 items. If unknown policy names are requested, they are ignored with no error. Pass a string for a single value, or an indexed array for multiple values.PolicyNames
- string|array
- Optional - A list of policy names or policy ARNs to be described. If this list is omitted, all policy names are described. If an auto scaling group name is provided, the results are limited to that group. The list of requested policy names cannot contain more than 50 items. If unknown policy names are requested, they are ignored with no error. Pass a string for a single value, or an indexed array for multiple values.NextToken
- string
- Optional - A string that is used to mark the start of the next batch of returned results for pagination. [Constraints: The value must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]MaxRecords
- integer
- Optional - The maximum number of policies that will be described with each call.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.ActivityIds
list is empty, all the activities from the past six
+ * weeks are returned. Activities are sorted by completion time. Activities still in progress
+ * appear first on the list.
*
* This action supports pagination. If the response includes a token, there are more records
* available. To get the additional records, repeat the request with the response token as the
- * NextToken parameter.
+ * NextToken
parameter.
*
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
- *
ActivityIds
- string|array
- Optional - A list containing the activity IDs of the desired scaling activities. If this list is omitted, all activities are described. If an AutoScalingGroupName is provided, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error. Pass a string for a single value, or an indexed array for multiple values.ActivityIds
- string|array
- Optional - A list containing the activity IDs of the desired scaling activities. If this list is omitted, all activities are described. If an AutoScalingGroupName
is provided, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error. Pass a string for a single value, or an indexed array for multiple values.AutoScalingGroupName
- string
- Optional - The name of the AutoScalingGroup
. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]MaxRecords
- integer
- Optional - The maximum number of scaling activities to return.NextToken
- string
- Optional - A string that marks the start of the next batch of returned results for pagination. [Constraints: The value must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]DescribeScalingActivities
.
*
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
*
AutoScalingGroupName
- string
- Optional - The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]ScheduledActionNames
- string|array
- Optional - A list of scheduled actions to be described. If this list is omitted, all scheduled actions are described. The list of requested scheduled actions cannot contain more than 50 items. If an auto scaling group name is provided, the results are limited to that group. If unknown scheduled actions are requested, they are ignored with no error. Pass a string for a single value, or an indexed array for multiple values.StartTime
- string
- Optional - The earliest scheduled start time to return. If scheduled action names are provided, this field will be ignored. May be passed as a number of seconds since UNIX Epoch, or any string compatible with EndTime
- string
- Optional - The latest scheduled start time to return. If scheduled action names are provided, this field will be ignored. May be passed as a number of seconds since UNIX Epoch, or any string compatible with EndTime
- string
- Optional - The latest scheduled start time to return. If scheduled action names are provided, this field is ignored. May be passed as a number of seconds since UNIX Epoch, or any string compatible with NextToken
- string
- Optional - A string that marks the start of the next batch of returned results. [Constraints: The value must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]MaxRecords
- integer
- Optional - The maximum number of scheduled actions to return.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.
+ *
+ * @return CFResponse A Filters
- array
- Optional - The value of the filter type used to identify the tags to be returned. For example, you can filter so that
+ *
x
- array
- Optional - This represents a simple array index.
+ *
Name
- string
- Optional - The name of the filter. [Constraints: The value must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]Values
- string|array
- Optional - The value of the filter. Pass a string for a single value, or an indexed array for multiple values.NextToken
- string
- Optional - A string that marks the start of the next batch of returned results. [Constraints: The value must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]MaxRecords
- integer
- Optional - The maximum number of records to return.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.AutoScalingGroupName
. You can specify the list of affected metrics with the
+ * Metrics
parameter.
*
* @param string $auto_scaling_group_name (Required) The name or ARN of the Auto Scaling Group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
@@ -658,13 +850,13 @@ public function disable_metrics_collection($auto_scaling_group_name, $opt = null
/**
* Enables monitoring of group metrics for the Auto Scaling group specified in
- * AutoScalingGroupName. You can specify the list of enabled metrics with the Metrics parameter.
+ *
AutoScalingGroupName
. You can specify the list of enabled metrics with the
+ * Metrics
parameter.
*
- * Auto scaling metrics collection can be turned on only if the
- * InstanceMonitoring.Enabled
flag, in the Auto Scaling group's launch configuration,
- * is set to true
.
+ * Auto scaling metrics collection can be turned on only if the InstanceMonitoring
+ * flag, in the Auto Scaling group's launch configuration, is set to True
.
*
- * @param string $auto_scaling_group_name (Required) The name or ARN of the Auto Scaling Group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
+ * @param string $auto_scaling_group_name (Required) The name or ARN of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
* @param string $granularity (Required) The granularity to associate with the metrics to collect. Currently, the only legal granularity is "1Minute". [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
*
Metrics
- string|array
- Optional - The list of metrics to collect. If no metrics are specified, all metrics are enabled. The following metrics are supported:
Pass a string for a single value, or an indexed array for multiple values.[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
- *
* @return CFResponse A AutoScalingGroupName
- string
- Optional - The name or ARN of the Auto Scaling Group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]HonorCooldown
- boolean
- Optional - Set to True if you want Auto Scaling to reject this request if the Auto Scaling group is in cooldown.AutoScalingGroupName
- string
- Optional - The name or ARN of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]HonorCooldown
- boolean
- Optional - Set to True
if you want Auto Scaling to reject this request when the Auto Scaling group is in cooldown.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.PutNotificationConfiguration
overwrites an existing configuration.
+ *
+ * @param string $auto_scaling_group_name (Required) The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
+ * @param string $topic_arn (Required) The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
+ * @param string|array $notification_types (Required) The type of events that will trigger the notification. For more information, go to DescribeAutoScalingNotificationTypes
. Pass a string for a single value, or an indexed array for multiple values.
+ * @param array $opt (Optional) An associative array of parameters that can have the following keys:
+ *
+ * @return CFResponse A curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
+ * @param string $auto_scaling_group_name (Required) The name or ARN of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
* @param string $policy_name (Required) The name of the policy you want to create or update. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
- * @param integer $scaling_adjustment (Required) The number of instances by which to scale. AdjustmentType determines the interpretation of this number (e.g., as an absolute number or as a percentage of the existing Auto Scaling group size). A positive increment adds to the current capacity and a negative value removes from the current capacity.
+ * @param integer $scaling_adjustment (Required) The number of instances by which to scale. AdjustmentType
determines the interpretation of this number (e.g., as an absolute number or as a percentage of the existing Auto Scaling group size). A positive increment adds to the current capacity and a negative value removes from the current capacity.
* @param string $adjustment_type (Required) Specifies whether the ScalingAdjustment
is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity
, ExactCapacity
, and PercentChangeInCapacity
. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
*
Cooldown
- integer
- Optional - The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
+ * @param string $auto_scaling_group_name (Required) The name or ARN of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
* @param string $scheduled_action_name (Required) The name of this scaling action. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
- *
* @return CFResponse A Time
- string
- Optional - The time for this action to start. May be passed as a number of seconds since UNIX Epoch, or any string compatible with EndTime
- string
- Optional - May be passed as a number of seconds since UNIX Epoch, or any string compatible with Recurrence
- string
- Optional - [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]Time
- string
- Optional - Time
is deprecated. The time for this action to start. Time
is an alias for StartTime
and can be specified instead of StartTime
, or vice versa. If both Time
and StartTime
are specified, their values should be identical. Otherwise, PutScheduledUpdateGroupAction
will return an error. May be passed as a number of seconds since UNIX Epoch, or any string compatible with StartTime
- string
- Optional - The time for this action to start, as in --start-time 2010-06-01T00:00:00Z
. When StartTime
and EndTime
are specified with Recurrence
, they form the boundaries of when the recurring action will start and stop. May be passed as a number of seconds since UNIX Epoch, or any string compatible with EndTime
- string
- Optional - The time for this action to end. May be passed as a number of seconds since UNIX Epoch, or any string compatible with Recurrence
- string
- Optional - The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. For information about cron syntax, go to Wikipedia, The Free Encyclopedia. When StartTime
and EndTime
are specified with Recurrence
, they form the boundaries of when the recurring action will start and stop. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]MinSize
- integer
- Optional - The minimum size for the new Auto Scaling group.MaxSize
- integer
- Optional - The maximum size for the Auto Scaling group.DesiredCapacity
- integer
- Optional - The number of EC2 instances that should be running in the group.DesiredCapacity
- integer
- Optional - The number of Amazon EC2 instances that should be running in the group.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
- *
* @return CFResponse A ScalingProcesses
- string|array
- Optional - The processes that you want to suspend or resume, which can include one or more of the following:
To suspend all process types, omit this parameter. Pass a string for a single value, or an indexed array for multiple values.ScalingProcesses
- string|array
- Optional - The processes that you want to suspend or resume, which can include one or more of the following:
To suspend all process types, omit this parameter. Pass a string for a single value, or an indexed array for multiple values.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.AutoScalingGroup
by initiating scaling activities.
- * When reducing the size of the group, it is not possible to define which EC2 instances will be
- * terminated. This applies to any auto-scaling decisions that might result in terminating
+ * When reducing the size of the group, it is not possible to define which Amazon EC2 instances
+ * will be terminated. This applies to any Auto Scaling decisions that might result in terminating
* instances.
*
* There are two common use cases for SetDesiredCapacity
: one for users of the Auto
@@ -815,7 +1043,7 @@ public function resume_processes($auto_scaling_group_name, $opt = null)
* SetDesiredCapacity
changes the size of your Auto Scaling group without regard to
* the cooldown period. This could be useful, for example, if Auto Scaling did something
* unexpected for some reason. If your cooldown period is 10 minutes, Auto Scaling would normally
- * reject requests to change the size of the group for that entire 10 minute period. The
+ * reject requests to change the size of the group for that entire 10-minute period. The
* SetDesiredCapacity
command allows you to circumvent this restriction and change
* the size of the group before the end of the cooldown period.
*
@@ -825,10 +1053,10 @@ public function resume_processes($auto_scaling_group_name, $opt = null)
* SetDesiredCapacity
to honor cooldown by setting the HonorCooldown
* parameter to true
.
*
- * @param string $auto_scaling_group_name (Required) The name of the AutoScalingGroup. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
- * @param integer $desired_capacity (Required) The new capacity setting for the AutoScalingGroup.
+ * @param string $auto_scaling_group_name (Required) The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
+ * @param integer $desired_capacity (Required) The new capacity setting for the Auto Scaling group.
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
- *
* @return CFResponse A HonorCooldown
- boolean
- Optional - By default, SetDesiredCapacity
overrides any cooldown period. Set to True if you want Auto Scaling to reject this request if the Auto Scaling group is in cooldown.HonorCooldown
- boolean
- Optional - By default, SetDesiredCapacity
overrides any cooldown period. Set to True
if you want Auto Scaling to reject this request when the Auto Scaling group is in cooldown.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
+ * @param string $instance_id (Required) The identifier of the Amazon EC2 instance. [Constraints: The value must be between 1 and 16 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
* @param string $health_status (Required) The health status of the instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy. Auto Scaling should terminate and replace it. [Constraints: The value must be between 1 and 32 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
*
ShouldRespectGracePeriod
- boolean
- Optional - If True, this call should respect the grace period associated with the group.[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
* @param array $opt (Optional) An associative array of parameters that can have the following keys:
- *
* @return CFResponse A ScalingProcesses
- string|array
- Optional - The processes that you want to suspend or resume, which can include one or more of the following:
To suspend all process types, omit this parameter. Pass a string for a single value, or an indexed array for multiple values.ScalingProcesses
- string|array
- Optional - The processes that you want to suspend or resume, which can include one or more of the following:
To suspend all process types, omit this parameter. Pass a string for a single value, or an indexed array for multiple values.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
+ * @param string $instance_id (Required) The ID of the Amazon EC2 instance to be terminated. [Constraints: The value must be between 1 and 16 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]
* @param boolean $should_decrement_desired_capacity (Required) Specifies whether (true) or not (false) terminating this instance should also decrement the size of the AutoScalingGroup
.
* @param array $opt (Optional) An associative array of parameters that can have the following keys: curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.InstanceMonitoring.enabled
flag set to false
, you must first ensure
- * that collection of group metrics is disabled. Otherwise, calls to
+ * InstanceMonitoring
flag set to False
, you must first ensure that
+ * collection of group metrics is disabled. Otherwise, calls to
* UpdateAutoScalingGroup
will fail. If you have previously enabled group metrics
* collection, you can disable collection of all group metrics by calling
* DisableMetricsCollection
.
@@ -950,11 +1178,11 @@ public function terminate_instance_in_auto_scaling_group($instance_id, $should_d
* MaxSize
- integer
- Optional - The maximum size of the Auto Scaling group.DesiredCapacity
- integer
- Optional - The desired capacity for the Auto Scaling group.DefaultCooldown
- integer
- Optional - The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.AvailabilityZones
- string|array
- Optional - Availability zones for the group. Pass a string for a single value, or an indexed array for multiple values.AvailabilityZones
- string|array
- Optional - Availability Zones for the group. Pass a string for a single value, or an indexed array for multiple values.HealthCheckType
- string
- Optional - The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing. [Constraints: The value must be between 1 and 32 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]HealthCheckGracePeriod
- integer
- Optional - The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service.PlacementGroup
- string
- Optional - The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]VPCZoneIdentifier
- string
- Optional - The identifier for the VPC connection, if applicable. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]PlacementGroup
- string
- Optional - The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]VPCZoneIdentifier
- string
- Optional - The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list. When you specify VPCZoneIdentifier
with AvailabilityZones
, ensure that the subnets' Availability Zones match the values you specify for AvailabilityZones
. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.GET
, POST
, PUT
, DELETE
, and HEAD
.
- * @param string $path (Optional) The endpoint path to make requests to.
- * @param array $opt (Optional) An associative array of parameters for authenticating. See the individual methods for allowed keys.
- * @param string $xml (Optional) The XML body content to send along in the request.
- * @param string $etag (Optional) The ETag value to pass along with the If-Match HTTP header.
- * @param integer $redirects (Do Not Use) Used internally by this function on occasions when Amazon S3 returns a redirect code and it needs to call itself recursively.
+ * @param string $operation (Required) The HTTP method to use to connect. Accepts GET
, POST
, PUT
, DELETE
, and HEAD
.
+ * @param array $payload (Required) An associative array of parameters for authenticating. See the individual methods for allowed keys.
* @return CFResponse A GET
, POST
, PUT
, DELETE
, and HEAD
.
- * @param string $path (Optional) The endpoint path to make requests to.
- * @param array $opt (Optional) An associative array of parameters for authenticating. See the individual methods for allowed keys.
- * @param string $xml (Optional) The XML body content to send along in the request.
- * @param string $etag (Optional) The ETag value to pass along with the If-Match HTTP header.
- * @return CFResponse A [^:].*
]
* @param string $metric_name (Required) The name of the metric.
* @param string $start_time (Required) The time stamp to use for determining the first datapoint to return. The value specified is inclusive; results include datapoints with the time stamp specified. The specified start time is rounded down to the nearest value. Datapoints are returned for start times up to two weeks in the past. Specified start times that are more than two weeks in the past will not return datapoints for metrics that are older than two weeks.
May be passed as a number of seconds since UNIX Epoch, or any string compatible withPeriod
must be at least 60 seconds and must be a multiple of 60. The default value is 60.
- * @param string|array $statistics (Required) The metric statistics to return. For information about specific statistics returned by GetMetricStatistics, go to Statistics in the Amazon CloudWatch Developer Guide. Valid Values: Average | Sum | SampleCount | Maximum | Minimum
Pass a string for a single value, or an indexed array for multiple values.
+ * @param string|array $statistics (Required) The metric statistics to return. Pass a string for a single value, or an indexed array for multiple values.
* @param string $unit (Required) The unit for the metric. [Allowed values: Seconds
, Microseconds
, Milliseconds
, Bytes
, Kilobytes
, Megabytes
, Gigabytes
, Terabytes
, Bits
, Kilobits
, Megabits
, Gigabits
, Terabits
, Percent
, Count
, Bytes/Second
, Kilobytes/Second
, Megabytes/Second
, Gigabytes/Second
, Terabytes/Second
, Bits/Second
, Kilobits/Second
, Megabits/Second
, Gigabits/Second
, Terabits/Second
, Count/Second
, None
]
* @param array $opt (Optional) An associative array of parameters that can have the following keys: Dimensions
- array
- Optional - A list of dimensions describing qualities of the metric. certificate_authority
- boolean
- Optional - Determines which Cerificate Authority file to use. A value of boolean false
will use the Certificate Authority file available on the system. A value of boolean true
will use the Certificate Authority provided by the SDK. Passing a file system path to a Certificate Authority file (chmodded to 0755
) will use that. Leave this set to false
if you're not sure.credentials
- string
- Optional - The name of the credential set to use for authentication.default_cache_config
- string
- Optional - This option allows a preferred storage type to be configured for long-term caching. This can be changed later using the apc
, xcache
, or a file system path such as ./cache
or /tmp/cache/
.key
- string
- Optional - Your AWS key, or a session key. If blank, the default credential set will be used.secret
- string
- Optional - Your AWS secret key, or a session secret key. If blank, the default credential set will be used.token
- string
- Optional - An AWS session token.UnprocessedKeys
value so you can retry the operation
+ * starting with the next item to get.
+ *
+ * Amazon DynamoDB automatically adjusts the number of items returned per page to enforce this
+ * limit. For example, even if you ask to retrieve 100 items, but each individual item is 50k in
+ * size, the system returns 20 items and an appropriate UnprocessedKeys
value so you
+ * can get the next page of results. If necessary, your application needs its own logic to
+ * assemble the pages of results into one set.
+ *
+ * @param array $opt (Optional) An associative array of parameters that can have the following keys: RequestItems
- array
- Required - A map of the table name and corresponding items to get by primary key. While requesting items, each table name can be invoked only once per operation. [table_name]
- array
- Optional - The name of the table to use for the lookup. Keys
- array
- Required - The primary key that uniquely identifies each item in a table. A primary key can be a one attribute (hash) primary key or a two attribute (hash-and-range) primary key.
x
- array
- Optional - This represents a simple array index. HashKeyElement
- array
- Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String
, Number
, StringSet
, NumberSet
. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.RangeKeyElement
- array
- Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String
, Number
, StringSet
, NumberSet
. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.AttributesToGet
- string|array
- Optional - List of Attribute
names. If attribute names are not specified then all attributes will be returned. If some attributes are not found, they will not appear in the result. Pass a string for a single value, or an indexed array for multiple values.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.us-east-1
).
+ *
+ * The CreateTable
operation triggers an asynchronous workflow to begin creating the
+ * table. Amazon DynamoDB immediately returns the state of the table (CREATING
) until
+ * the table is in the ACTIVE
state. Once the table is in the ACTIVE
+ * state, you can perform data plane operations.
+ *
+ * @param array $opt (Optional) An associative array of parameters that can have the following keys: TableName
- string
- Required - The name of the table you want to create. Allowed characters are a-z
, A-Z
, 0-9
, _
(underscore), -
(hyphen) and .
(period). [Constraints: The value must be between 3 and 255 characters, and must match the following regular expression pattern: [a-zA-Z0-9_.-]+
]KeySchema
- array
- Required - The KeySchema identifies the primary key as a one attribute primary key (hash) or a composite two attribute (hash-and-range) primary key. Single attribute primary keys have one index value: a HashKeyElement
. A composite hash-and-range primary key contains two attribute values: a HashKeyElement
and a RangeKeyElement
. x
- array
- Optional - This represents a simple array index. HashKeyElement
- array
- Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String
, Number
, StringSet
, NumberSet
. x
- array
- Optional - This represents a simple array index. AttributeName
- string
- Required - The AttributeName
of the KeySchemaElement
.AttributeType
- string
- Required - The AttributeType
of the KeySchemaElement
which can be a String
or a Number
. [Allowed values: S
, N
]RangeKeyElement
- array
- Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String
, Number
, StringSet
, NumberSet
. x
- array
- Optional - This represents a simple array index. AttributeName
- string
- Required - The AttributeName
of the KeySchemaElement
.AttributeType
- string
- Required - The AttributeType
of the KeySchemaElement
which can be a String
or a Number
. [Allowed values: S
, N
]ProvisionedThroughput
- array
- Required - Provisioned throughput reserves the required read and write resources for your table in terms of ReadCapacityUnits
and WriteCapacityUnits
. Values for provisioned throughput depend upon your expected read/write rates, item size, and consistency. Provide the expected number of read and write operations, assuming an item size of 1k and strictly consistent reads. For 2k item size, double the value. For 3k, triple the value, etc. Eventually-consistent reads consume half the resources of strictly consistent reads. x
- array
- Optional - This represents a simple array index. ReadCapacityUnits
- long
- Required - ReadCapacityUnits
are in terms of strictly consistent reads, assuming items of 1k. 2k items require twice the ReadCapacityUnits
. Eventually-consistent reads only require half the ReadCapacityUnits
of stirctly consistent reads.WriteCapacityUnits
- long
- Required - WriteCapacityUnits
are in terms of strictly consistent reads, assuming items of 1k. 2k items require twice the WriteCapacityUnits
.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.TableName
- string
- Required - The name of the table in which you want to delete an item. Allowed characters are a-z
, A-Z
, 0-9
, _
(underscore), -
(hyphen) and .
(period). [Constraints: The value must be between 3 and 255 characters, and must match the following regular expression pattern: [a-zA-Z0-9_.-]+
]Key
- array
- Required - The primary key that uniquely identifies each item in a table. A primary key can be a one attribute (hash) primary key or a two attribute (hash-and-range) primary key. x
- array
- Optional - This represents a simple array index. HashKeyElement
- array
- Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String
, Number
, StringSet
, NumberSet
. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.RangeKeyElement
- array
- Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String
, Number
, StringSet
, NumberSet
. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.Expected
- array
- Optional - Designates an attribute for a conditional modification. The Expected
parameter allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute has a particular value before modifying it. x
- array
- Optional - This represents a simple array index. key
- string
- Optional - value
- array
- Optional - Allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute value already exists; or if the attribute value exists and has a particular value before changing it. x
- array
- Optional - This represents a simple array index. Value
- array
- Optional - Specify whether or not a value already exists and has a specific content for the attribute name-value pair. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.Exists
- boolean
- Optional - Specify whether or not a value already exists for the attribute name-value pair.ReturnValues
- string
- Optional - Use this parameter if you want to get the attribute name-value pairs before or after they are modified. For PUT
operations, the possible parameter values are NONE
(default) or ALL_OLD
. For update operations, the possible parameter values are NONE
(default) or ALL_OLD
, UPDATED_OLD
, ALL_NEW
or UPDATED_NEW
.NONE
: Nothing is returned.ALL_OLD
: Returns the attributes of the item as they were before the operation.UPDATED_OLD
: Returns the values of the updated attributes, only, as they were before the operation.ALL_NEW
: Returns all the attributes and their new values after the operation.UPDATED_NEW
: Returns the values of the updated attributes, only, as they are after the operation.NONE
, ALL_OLD
, UPDATED_OLD
, ALL_NEW
, UPDATED_NEW
]curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.ACTIVE
state, you can delete it. If a table is in
+ * CREATING
or UPDATING
states then DeleteTable
returns a
+ * ResourceInUseException
. If the specified table does not exist, Amazon DynamoDB
+ * returns a ResourceNotFoundException
.
+ *
+ * @param array $opt (Optional) An associative array of parameters that can have the following keys: TableName
- string
- Required - The name of the table you want to delete. Allowed characters are a-z
, A-Z
, 0-9
, _
(underscore), -
(hyphen) and .
(period). [Constraints: The value must be between 3 and 255 characters, and must match the following regular expression pattern: [a-zA-Z0-9_.-]+
]curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.ResourceNotFoundException
.
+ *
+ * @param array $opt (Optional) An associative array of parameters that can have the following keys: TableName
- string
- Required - The name of the table you want to describe. Allowed characters are a-z
, A-Z
, 0-9
, _
(underscore), -
(hyphen) and .
(period). [Constraints: The value must be between 3 and 255 characters, and must match the following regular expression pattern: [a-zA-Z0-9_.-]+
]curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.GetItem
operation provides an eventually-consistent read by default. If
+ * eventually-consistent reads are not acceptable for your application, use
+ * ConsistentRead
. Although this operation might take longer than a standard read, it
+ * always returns the last updated value.
+ *
+ * @param array $opt (Optional) An associative array of parameters that can have the following keys: TableName
- string
- Required - The name of the table in which you want to get an item. Allowed characters are a-z
, A-Z
, 0-9
, _
(underscore), -
(hyphen) and .
(period). [Constraints: The value must be between 3 and 255 characters, and must match the following regular expression pattern: [a-zA-Z0-9_.-]+
]Key
- array
- Required - The primary key that uniquely identifies each item in a table. A primary key can be a one attribute (hash) primary key or a two attribute (hash-and-range) primary key. x
- array
- Optional - This represents a simple array index. HashKeyElement
- array
- Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String
, Number
, StringSet
, NumberSet
. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.RangeKeyElement
- array
- Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String
, Number
, StringSet
, NumberSet
. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.AttributesToGet
- string|array
- Optional - List of Attribute
names. If attribute names are not specified then all attributes will be returned. If some attributes are not found, they will not appear in the result. Pass a string for a single value, or an indexed array for multiple values.ConsistentRead
- boolean
- Optional - If set to true
, then a consistent read is issued. Otherwise eventually-consistent is used.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.us-east-1
).
+ *
+ * @param array $opt (Optional) An associative array of parameters that can have the following keys: ExclusiveStartTableName
- string
- Optional - The name of the table that starts the list. If you already ran a ListTables
operation and received a LastEvaluatedTableName
value in the response, use that value here to continue the list. [Constraints: The value must be between 3 and 255 characters, and must match the following regular expression pattern: [a-zA-Z0-9_.-]+
]Limit
- integer
- Optional - A number of maximum table names to return.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.TableName
- string
- Required - The name of the table in which you want to put an item. Allowed characters are a-z
, A-Z
, 0-9
, _
(underscore), -
(hyphen) and .
(period). [Constraints: The value must be between 3 and 255 characters, and must match the following regular expression pattern: [a-zA-Z0-9_.-]+
]Item
- array
- Required - A map of the attributes for the item, and must include the primary key values that define the item. Other attribute name-value pairs can be provided for the item. [attribute_name]
- array
- Optional - The name of the attribute to use for the lookup. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.Expected
- array
- Optional - Designates an attribute for a conditional modification. The Expected
parameter allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute has a particular value before modifying it. [attribute_name]
- array
- Optional - Allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute value already exists; or if the attribute value exists and has a particular value before changing it. x
- array
- Optional - This represents a simple array index. Value
- array
- Optional - Specify whether or not a value already exists and has a specific content for the attribute name-value pair. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.Exists
- boolean
- Optional - Specify whether or not a value already exists for the attribute name-value pair.ReturnValues
- string
- Optional - Use this parameter if you want to get the attribute name-value pairs before or after they are modified. For PUT
operations, the possible parameter values are NONE
(default) or ALL_OLD
. For update operations, the possible parameter values are NONE
(default) or ALL_OLD
, UPDATED_OLD
, ALL_NEW
or UPDATED_NEW
.NONE
: Nothing is returned.ALL_OLD
: Returns the attributes of the item as they were before the operation.UPDATED_OLD
: Returns the values of the updated attributes, only, as they were before the operation.ALL_NEW
: Returns all the attributes and their new values after the operation.UPDATED_NEW
: Returns the values of the updated attributes, only, as they are after the operation.NONE
, ALL_OLD
, UPDATED_OLD
, ALL_NEW
, UPDATED_NEW
]curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.RangeKeyValue
of
+ * the composite key. Use the ScanIndexForward
parameter to get results in forward or
+ * reverse order by range key.
+ *
+ * @param array $opt (Optional) An associative array of parameters that can have the following keys: TableName
- string
- Required - The name of the table in which you want to query. Allowed characters are a-z
, A-Z
, 0-9
, _
(underscore), -
(hyphen) and .
(period). [Constraints: The value must be between 3 and 255 characters, and must match the following regular expression pattern: [a-zA-Z0-9_.-]+
]AttributesToGet
- string|array
- Optional - List of Attribute
names. If attribute names are not specified then all attributes will be returned. If some attributes are not found, they will not appear in the result. Pass a string for a single value, or an indexed array for multiple values.Limit
- integer
- Optional - The maximum number of items to return. If Amazon DynamoDB hits this limit while querying the table, it stops the query and returns the matching values up to the limit, and a LastEvaluatedKey
to apply in a subsequent operation to continue the query. Also, if the result set size exceeds 1MB before Amazon DynamoDB hits this limit, it stops the query and returns the matching values, and a LastEvaluatedKey
to apply in a subsequent operation to continue the query.ConsistentRead
- boolean
- Optional - If set to true
, then a consistent read is issued. Otherwise eventually-consistent is used.Count
- boolean
- Optional - If set to true
, Amazon DynamoDB returns a total number of items that match the query parameters, instead of a list of the matching items and their attributes. Do not set Count
to true while providing a list of AttributesToGet
, otherwise Amazon DynamoDB returns a validation error.HashKeyValue
- array
- Required - Attribute value of the hash component of the composite primary key. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.RangeKeyCondition
- array
- Optional - A container for the attribute values and comparison operators to use for the query. x
- array
- Optional - This represents a simple array index. AttributeValueList
- array
- Optional - A list of attribute values to be used with a comparison operator for a scan or query operation. For comparisons that require more than one value, such as a BETWEEN
comparison, the AttributeValueList contains two attribute values and the comparison operator. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.ComparisonOperator
- string
- Required - A comparison operator is an enumeration of several operations:EQ
for equal NE
for not equal IN
checks for exact matchesLE
for less than or equal to LT
for less than GE
for greater than or equal to GT
for greater than BETWEEN
for between NOT_NULL
for exists NULL
for not exists CONTAINS
for substring or value in a setNOT_CONTAINS
for absence of a substring or absence of a value in a setBEGINS_WITH
for a substring prefix.EQ
, NE
, IN
, LE
, LT
, GE
, GT
, BETWEEN
, NOT_NULL
, NULL
, CONTAINS
, NOT_CONTAINS
, BEGINS_WITH
]ScanIndexForward
- boolean
- Optional - Specifies forward or backward traversal of the index. Amazon DynamoDB returns results reflecting the requested order, determined by the range key. The default value is true
(forward).ExclusiveStartKey
- array
- Optional - Primary key of the item from which to continue an earlier query. An earlier query might provide this value as the LastEvaluatedKey
if that query operation was interrupted before completing the query; either because of the result set size or the Limit
parameter. The LastEvaluatedKey
can be passed back in a new query request to continue the operation from that point. x
- array
- Optional - This represents a simple array index. HashKeyElement
- array
- Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String
, Number
, StringSet
, NumberSet
. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.RangeKeyElement
- array
- Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String
, Number
, StringSet
, NumberSet
. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.TableName
- string
- Required - The name of the table in which you want to scan. Allowed characters are a-z
, A-Z
, 0-9
, _
(underscore), -
(hyphen) and .
(period). [Constraints: The value must be between 3 and 255 characters, and must match the following regular expression pattern: [a-zA-Z0-9_.-]+
]AttributesToGet
- string|array
- Optional - List of Attribute
names. If attribute names are not specified then all attributes will be returned. If some attributes are not found, they will not appear in the result. Pass a string for a single value, or an indexed array for multiple values.Limit
- integer
- Optional - The maximum number of items to return. If Amazon DynamoDB hits this limit while scanning the table, it stops the scan and returns the matching values up to the limit, and a LastEvaluatedKey
to apply in a subsequent operation to continue the scan. Also, if the scanned data set size exceeds 1 MB before Amazon DynamoDB hits this limit, it stops the scan and returns the matching values up to the limit, and a LastEvaluatedKey
to apply in a subsequent operation to continue the scan.Count
- boolean
- Optional - If set to true, Amazon DynamoDB returns a total number of items for the Scan
operation, even if the operation has no matching items for the assigned filter. Do not set Count
to true while providing a list of AttributesToGet
, otherwise Amazon DynamoDB returns a validation error.ScanFilter
- array
- Optional - Evaluates the scan results and returns only the desired values. [attribute_name]
- array
- Optional - The name of the attribute to use for the lookup. AttributeValueList
- array
- Optional - A list of attribute values to be used with a comparison operator for a scan or query operation. For comparisons that require more than one value, such as a BETWEEN
comparison, the AttributeValueList contains two attribute values and the comparison operator. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.ComparisonOperator
- string
- Required - A comparison operator is an enumeration of several operations:EQ
for equal NE
for not equal IN
checks for exact matchesLE
for less than or equal to LT
for less than GE
for greater than or equal to GT
for greater than BETWEEN
for between NOT_NULL
for exists NULL
for not exists CONTAINS
for substring or value in a setNOT_CONTAINS
for absence of a substring or absence of a value in a setBEGINS_WITH
for a substring prefix.EQ
, NE
, IN
, LE
, LT
, GE
, GT
, BETWEEN
, NOT_NULL
, NULL
, CONTAINS
, NOT_CONTAINS
, BEGINS_WITH
]ExclusiveStartKey
- array
- Optional - Primary key of the item from which to continue an earlier scan. An earlier scan might provide this value if that scan operation was interrupted before scanning the entire table; either because of the result set size or the Limit
parameter. The LastEvaluatedKey
can be passed back in a new scan request to continue the operation from that point. x
- array
- Optional - This represents a simple array index. HashKeyElement
- array
- Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String
, Number
, StringSet
, NumberSet
. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.RangeKeyElement
- array
- Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String
, Number
, StringSet
, NumberSet
. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.TableName
- string
- Required - The name of the table in which you want to update an item. Allowed characters are a-z
, A-Z
, 0-9
, _
(underscore), -
(hyphen) and .
(period). [Constraints: The value must be between 3 and 255 characters, and must match the following regular expression pattern: [a-zA-Z0-9_.-]+
]Key
- array
- Required - The primary key that uniquely identifies each item in a table. A primary key can be a one attribute (hash) primary key or a two attribute (hash-and-range) primary key. x
- array
- Optional - This represents a simple array index. HashKeyElement
- array
- Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String
, Number
, StringSet
, NumberSet
. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.RangeKeyElement
- array
- Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String
, Number
, StringSet
, NumberSet
. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.AttributeUpdates
- array
- Required - Map of attribute name to the new value and action for the update. The attribute names specify the attributes to modify, and cannot contain any primary key attributes. [attribute_name]
- array
- Optional - The name of the attribute to use for the lookup. Action
- string
- Optional - The type of action for an item update operation. Only use the add action for numbers or sets; the specified value is added to the existing value. If a set of values is specified, the values are added to the existing set. Adds the specified attribute. If the attribute exists, it is replaced by the new value. If no value is specified, this removes the attribute and its value. If a set of values is specified, then the values in the specified set are removed from the old set. [Allowed values: ADD
, PUT
, DELETE
]Value
- array
- Optional - AttributeValue can be String
, Number
, StringSet
, NumberSet
. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.Expected
- array
- Optional - Designates an attribute for a conditional modification. The Expected
parameter allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute has a particular value before modifying it. [attribute_name]
- array
- Optional - The name of the attribute to use for the lookup. Value
- array
- Optional - Specify whether or not a value already exists and has a specific content for the attribute name-value pair. x
- array
- Optional - This represents a simple array index. S
- string
- Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).N
- string
- Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.SS
- string|array
- Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.NS
- string|array
- Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.Exists
- boolean
- Optional - Specify whether or not a value already exists for the attribute name-value pair.ReturnValues
- string
- Optional - Use this parameter if you want to get the attribute name-value pairs before or after they are modified. For PUT
operations, the possible parameter values are NONE
(default) or ALL_OLD
. For update operations, the possible parameter values are NONE
(default) or ALL_OLD
, UPDATED_OLD
, ALL_NEW
or UPDATED_NEW
.NONE
: Nothing is returned.ALL_OLD
: Returns the attributes of the item as they were before the operation.UPDATED_OLD
: Returns the values of the updated attributes, only, as they were before the operation.ALL_NEW
: Returns all the attributes and their new values after the operation.UPDATED_NEW
: Returns the values of the updated attributes, only, as they are after the operation.NONE
, ALL_OLD
, UPDATED_OLD
, ALL_NEW
, UPDATED_NEW
]curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.TableName
- string
- Required - The name of the table you want to update. Allowed characters are a-z
, A-Z
, 0-9
, _
(underscore), -
(hyphen) and .
(period). [Constraints: The value must be between 3 and 255 characters, and must match the following regular expression pattern: [a-zA-Z0-9_.-]+
]ProvisionedThroughput
- array
- Required - Provisioned throughput reserves the required read and write resources for your table in terms of ReadCapacityUnits
and WriteCapacityUnits
. Values for provisioned throughput depend upon your expected read/write rates, item size, and consistency. Provide the expected number of read and write operations, assuming an item size of 1k and strictly consistent reads. For 2k item size, double the value. For 3k, triple the value, etc. Eventually-consistent reads consume half the resources of strictly consistent reads. x
- array
- Optional - This represents a simple array index. ReadCapacityUnits
- long
- Required - ReadCapacityUnits
are in terms of strictly consistent reads, assuming items of 1k. 2k items require twice the ReadCapacityUnits
. Eventually-consistent reads only require half the ReadCapacityUnits
of stirctly consistent reads.WriteCapacityUnits
- long
- Required - WriteCapacityUnits
are in terms of strictly consistent reads, assuming items of 1k. 2k items require twice the WriteCapacityUnits
.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.PrivateIpAddress
- string
- Optional - If you're using Amazon Virtual Private Cloud, you can optionally use this parameter to assign the instance a specific available IP address from the subnet.ClientToken
- string
- Optional - Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, go to How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide.AdditionalInfo
- string
- Optional - curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.PreferredAvailabilityZone
- string
- Optional - The EC2 Availability Zone that the Cache Cluster will be created in. In normal use, all CacheNodes belonging to a CacheCluster are placed in the preferred availability zone. In rare circumstances, some of the CacheNodes might temporarily be in a different availability zone. Default: System chosen (random) availability zone.
* PreferredMaintenanceWindow
- string
- Optional - The weekly time range (in UTC) during which system maintenance can occur. Example: sun:05:00-sun:09:00
Port
- integer
- Optional - The port number on which each of the Cache Nodes will accept connections.NotificationTopicArn
- string
- Optional - The Amazon Resource Name (ARN) of the SNS topic to which notifications will be sent. The SNS topic owner must be same as the Cache Cluster owner.
NotificationTopicArn
- string
- Optional - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications will be sent. The Amazon SNS topic owner must be the same as the Cache Cluster owner.
AutoMinorVersionUpgrade
- boolean
- Optional - Indicates that minor engine upgrades will be applied automatically to the Cache Cluster during the maintenance window. Default: true
curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.The specified cache security group must not be associated with any Cache clusters.
* @param array $opt (Optional) An associative array of parameters that can have the following keys:CacheParameterGroupName
- string
- Optional - The name of a specific cache parameter group to return details for.Currently, memcached1.4 is the only cache parameter group family supported by the service.
* @param array $opt (Optional) An associative array of parameters that can have the following keys:SourceIdentifier
- string
- Optional - The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.CacheNodeIdsToRemove
- string|array
- Optional - The list of Cache Node IDs to be removed. This parameter is only valid when NumCacheNodes is less than the existing number of Cache Nodes. The number of Cache Node Ids supplied in this parameter must match the difference between the existing number of Cache Nodes in the cluster and the new NumCacheNodes requested. Pass a string for a single value, or an indexed array for multiple values.CacheSecurityGroupNames
- string|array
- Optional - A list of Cache Security Group Names to authorize on this Cache Cluster. This change is asynchronously applied as soon as possible. Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default". Pass a string for a single value, or an indexed array for multiple values.PreferredMaintenanceWindow
- string
- Optional - The weekly time range (in UTC) during which system maintenance can occur, which may result in an outage. This change is made immediately. If moving this window to the current time, there must be at least 120 minutes between the current time and end of the window to ensure pending changes are applied.NotificationTopicArn
- string
- Optional - The Amazon resource name(ARN) of the SNS topic to which notifications will be sent. The SNS topic owner must be same as the Cache Cluster owner.
NotificationTopicArn
- string
- Optional - The Amazon Resource Name (ARN) of the SNS topic to which notifications will be sent. The SNS topic owner must be same as the Cache Cluster owner.
CacheParameterGroupName
- string
- Optional - The name of the Cache Parameter Group to apply to this Cache Cluster. This change is asynchronously applied as soon as possible for parameters when the ApplyImmediately parameter is specified as true for this request.NotificationTopicStatus
- string
- Optional - The status of the SNS notification topic. The value can be active or inactive. Notifications are sent only if the status is active.ApplyImmediately
- boolean
- Optional - Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the Cache Cluster. If this parameter is passed as false, changes to the Cache Cluster are applied on the next maintenance reboot, or the next failure reboot, whichever occurs first. The default value for this parameter is false.NotificationTopicStatus
- string
- Optional - The status of the Amazon SNS notification topic. The value can be active or inactive. Notifications are sent only if the status is active.ApplyImmediately
- boolean
- Optional - Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the Cache Cluster. If this parameter is passed as false
, changes to the Cache Cluster are applied on the next maintenance reboot, or the next failure reboot, whichever occurs first. Default: false
EngineVersion
- string
- Optional - The version of the cache engine to upgrade this cluster to.AutoMinorVersionUpgrade
- boolean
- Optional - Indicates that minor engine upgrades will be applied automatically to the Cache Cluster during the maintenance window. Default: true
curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.LoadBalancerNames
- string|array
- Optional - A list of names associated with the LoadBalancers at creation time. Pass a string for a single value, or an indexed array for multiple values.Marker
- string
- Optional - An optional parameter reserved for future use.Marker
- string
- Optional - curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.If you stop and then restart the instance, the instance ID changes. Elastic Load Balancing cannot recognize the new ID, which prevents it from routing traffic to your instance. We recommend you de-register and then register your the new instance ID with the load balancer after you restart your instance. To de-register your instances from load balancer, use DeregisterInstancesFromLoadBalancer
action.
x
- array
- Optional - This represents a simple array index. InstanceId
- string
- Optional - Provides an EC2 instance ID.LogUri
- string
- Optional - Specifies the location in Amazon S3 to write the log files of the job flow. If a value is not provided, logs are not created. [Constraints: The value must be between 0 and 10280 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]AdditionalInfo
- string
- Optional - A JSON string for selecting additional features. [Constraints: The value must be between 0 and 10280 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]AmiVersion
- string
- Optional - The version of the Amazon Machine Image (AMI) to use when launching Amazon EC2 instances in the job flow. The following values ane valid:JobFlowInstancesConfig
HadoopVersion
parameter to modify the version of Hadoop from the defaults shown above. For details about the AMI versions currently supported by Amazon ElasticMapReduce, go to AMI Versions Supported in Elastic MapReduce in the Amazon Elastic MapReduce Developer's Guide. [Constraints: The value must be between 0 and 256 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]AmiVersion
- string
- Optional - The version of the Amazon Machine Image (AMI) to use when launching Amazon EC2 instances in the job flow. The following values ane valid:JobFlowInstancesConfig
HadoopVersion
parameter to modify the version of Hadoop from the defaults shown above. For details about the AMI versions currently supported by Amazon ElasticMapReduce, go to AMI Versions Supported in Elastic MapReduce in the Amazon Elastic MapReduce Developer's Guide. [Constraints: The value must be between 0 and 256 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]Steps
- array
- Optional - A list of steps to be executed by the job flow. x
- array
- Optional - This represents a simple array index. Name
- string
- Required - The name of the job flow step. [Constraints: The value must be between 0 and 256 characters, and must match the following regular expression pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
]CIDRIP
- string
- Optional - The IP range to authorize.EC2SecurityGroupName
- string
- Optional - Name of the EC2 Security Group to authorize.EC2SecurityGroupOwnerId
- string
- Optional - AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.EC2SecurityGroupOwnerId
- string
- Optional - AWS Account Number of the owner of the EC2 Security Group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.DBSecurityGroups
- string|array
- Optional - A list of DB Security Groups to associate with this DB Instance. Default: The default DB Security Group for the database engine. Pass a string for a single value, or an indexed array for multiple values.AvailabilityZone
- string
- Optional - The EC2 Availability Zone that the database instance will be created in. Default: A random, system-chosen Availability Zone in the endpoint's region. Example: us-east-1d
Constraint: The AvailabilityZone parameter cannot be specified if the MultiAZ parameter is set to true
. The specified Availability Zone must be in the same region as the current endpoint.PreferredMaintenanceWindow
- string
- Optional - The weekly time range (in UTC) during which system maintenance can occur. Format: ddd:hh24:mi-ddd:hh24:mi
Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. The following list shows the time blocks for each region from which the default maintenance windows are assigned.DBParameterGroupName
- string
- Optional - The name of the database parameter group to associate with this DB instance. If this argument is omitted, the default DBParameterGroup for the specified engine will be used. Constraints:DBParameterGroupName
- string
- Optional - The name of the DB Parameter Group to associate with this DB instance. If this argument is omitted, the default DBParameterGroup for the specified engine will be used. Constraints:BackupRetentionPeriod
- integer
- Optional - The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. Default: 1 Constraints:PreferredBackupWindow
- string
- Optional - The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriod
parameter. Default: A 30-minute window selected at random from an 8-hour block of time per region. The following list shows the time blocks for each region from which the default backup windows are assigned.hh24:mi-hh24:mi
. Times should be Universal Time Coordinated (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes.Port
- integer
- Optional - The port number on which the database accepts connections. MySQL Default: 3306
Valid Values: 1150-65535
Type: Integer Oracle Default: 1521
Valid Values: 1150-65535
This value is stored as a lower-case string.
- * @param string $db_parameter_group_family (Required) The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine compatible with that DB parameter group family and version. + * @param string $db_parameter_group_family (Required) The DB Parameter Group Family name. A DB Parameter Group can be associated with one and only one DB Parameter Group Family, and can be applied only to a DB Instance running a database engine and engine version compatible with that DB Parameter Group Family. * @param string $description (Required) The description for the DB Parameter Group. * @param array $opt (Optional) An associative array of parameters that can have the following keys:curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.mysecuritygroup
* @param string $db_security_group_description (Required) The description for the DB Security Group.
@@ -355,14 +369,13 @@ public function delete_db_instance($db_instance_identifier, $opt = null)
}
/**
- * Deletes a specified DBParameterGroup. The DBParameterGroup cannot be associated with any RDS
- * instances to be deleted.
+ * Deletes a specified DBParameterGroup.
*
* - * The specified database parameter group cannot be associated with any DB Instances. + * The specified DB Parameter Group cannot be associated with any DB Instances. *
* - * @param string $db_parameter_group_name (Required) The name of the DB Parameter Group. Constraints:curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.- * The specified database security group must not be associated with any DB instances. + * The specified DB Security Group must not be associated with any DB Instances. *
* - * @param string $db_security_group_name (Required) The name of the database security group to delete.You cannot delete the default security group.
Constraints:You cannot delete the default DB Security Group.
Constraints:curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.
* The DBSnapshot must be in the available
state to be deleted.
*
available
state.
+ * @param string $db_snapshot_identifier (Required) The name of the DB Snapshot to delete. Constraints: Must be the name of an existing DB Snapshot in the available
state.
* @param array $opt (Optional) An associative array of parameters that can have the following keys: curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.Engine
- string
- Optional - The database engine to return.EngineVersion
- string
- Optional - The database engine version to return. Example: 5.1.49
DBParameterGroupFamily
- string
- Optional - The name of a specific database parameter group family to return details for. Constraints:DBParameterGroupFamily
- string
- Optional - The name of a specific DB Parameter Group family to return details for. Constraints:MaxRecords
- integer
- Optional - The maximum number of records to include in the response. If more than the MaxRecords
value is available, a marker is included in the response so that the following results can be retrieved. Default: 100 Constraints: minimum 20, maximum 100Marker
- string
- Optional - The marker provided in the previous request. If this parameter is specified, the response includes records beyond the marker only, up to MaxRecords
.DefaultOnly
- boolean
- Optional - Indicates that only the default version of the specified engine or engine and major version combination is returned.DBParameterGroupName
- string
- Optional - The name of a specific database parameter group to return details for. Constraints:DBParameterGroupName
- string
- Optional - The name of a specific DB Parameter Group to return details for. Constraints:MaxRecords
- integer
- Optional - 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 may be retrieved. Default: 100 Constraints: minimum 20, maximum 100Marker
- string
- Optional - An optional marker provided in the previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.Marker
- string
- Optional - An optional marker provided in the previous DescribeDBParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.Source
- string
- Optional - The parameter types to return. Default: All parameter types returned Valid Values: user | system | engine-default
MaxRecords
- integer
- Optional - 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 may be retrieved. Default: 100 Constraints: minimum 20, maximum 100DBInstanceIdentifier
- string
- Optional - The unique identifier for the Amazon RDS DB snapshot. This value is stored as a lowercase string. Constraints:DBSnapshotIdentifier
- string
- Optional - The DB Instance identifier. This parameter isn't case sensitive. Constraints:DBInstanceIdentifier
- string
- Optional - A DB Instance Identifier to retrieve the list of DB Snapshots for. Cannot be used in conjunction with DBSnapshotIdentifier. Constraints:DBSnapshotIdentifier
- string
- Optional - A specific DB Snapshot Identifier to describe. Cannot be used in conjunction with DBInstanceIdentifier. Constraints:MaxRecords
- integer
- Optional - 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 may be retrieved. Default: 100 Constraints: minimum 20, maximum 100Marker
- string
- Optional - An optional marker provided in the previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.Marker
- string
- Optional - An optional marker provided in the previous DescribeDBSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.MaxRecords
- integer
- Optional - 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 may be retrieved. Default: 100 Constraints: minimum 20, maximum 100Marker
- string
- Optional - An optional marker provided in the previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.Marker
- string
- Optional - An optional marker provided in the previous DescribeEngineDefaultParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.SourceIdentifier
- string
- Optional - The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response. Constraints:EndTime
- string
- Optional - The end of the time interval for which to retrieve events, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page. Example: 2009-07-08T18:00Z May be passed as a number of seconds since UNIX Epoch, or any string compatible with Duration
- integer
- Optional - The number of minutes to retrieve events for. Default: 60MaxRecords
- integer
- Optional - 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 may be retrieved. Default: 100 Constraints: minimum 20, maximum 100Marker
- string
- Optional - An optional marker provided in the previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.Marker
- string
- Optional - An optional marker provided in the previous DescribeEvents request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.AllocatedStorage
- integer
- Optional - The new storage capacity of the RDS instance. This change does not result in an outage and is applied during the next maintenance window unless the ApplyImmediately
parameter is specified as true
for this request. MySQL Default: Uses existing setting Valid Values: 5-1024 Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value. Type: Integer MySQL Default: Uses existing setting Valid Values: 10-1024 Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value.AllocatedStorage
- integer
- Optional - The new storage capacity of the RDS instance. This change does not result in an outage and is applied during the next maintenance window unless the ApplyImmediately
parameter is specified as true
for this request. MySQL Default: Uses existing setting Valid Values: 5-1024 Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value. Type: Integer Oracle Default: Uses existing setting Valid Values: 10-1024 Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value.DBInstanceClass
- string
- Optional - The new compute and memory capacity of the DB Instance. Passing a value for this parameter causes an outage during the change and is applied during the next maintenance window, unless the ApplyImmediately
parameter is specified as true
for this request. Default: Uses existing setting Valid Values: db.m1.small | db.m1.large | db.m1.xlarge | db.m2.xlarge | db.m2.2xlarge | db.m2.4xlarge
DBSecurityGroups
- string|array
- Optional - A list of DB Security Groups to authorize on this DB Instance. This change is asynchronously applied as soon as possible. Constraints:ApplyImmediately
- boolean
- Optional - Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow
setting for the DB Instance. If this parameter is passed as false
, changes to the DB Instance are applied on the next call to RebootDBInstance
, the next maintenance reboot, or the next failure reboot, whichever occurs first. Default: false
apply-immediate
method can only be used for dynamic parameters; the
+ * pending-reboot
method can be used for either dynamic or static parameters.
*
- * @param string $db_parameter_group_name (Required) The name of the database parameter group. Constraints:immediate | pending-reboot
You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when DB Instance reboots.
x
- array
- Optional - This represents a simple array index. ParameterName
- string
- Optional - Specifies the name of the parameter.my-snapshot-id
* @param array $opt (Optional) An associative array of parameters that can have the following keys: DBInstanceClass
- string
- Optional - The compute and memory capacity of the Amazon RDS DB instance. Valid Values: db.m1.small | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge
Port
- integer
- Optional - The port number on which the database accepts connections. Default: The same port as the original DB Instance Constraints: Value must be 1115-65535
Port
- integer
- Optional - The port number on which the database accepts connections. Default: The same port as the original DB Instance Constraints: Value must be 1150-65535
AvailabilityZone
- string
- Optional - The EC2 Availability Zone that the database instance will be created in. Default: A random, system-chosen Availability Zone. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true
. Example: us-east-1a
MultiAZ
- boolean
- Optional - Specifies if the DB Instance is a Multi-AZ deployment. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true
.AutoMinorVersionUpgrade
- boolean
- Optional - Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window.RestoreTime
- string
- Optional - The date and time from to restore from. Valid Values: Value must be a UTC time Constraints:2009-09-07T23:45:00Z
May be passed as a number of seconds since UNIX Epoch, or any string compatible with RestoreTime
- string
- Optional - The date and time to restore from. Valid Values: Value must be a UTC time Constraints:2009-09-07T23:45:00Z
May be passed as a number of seconds since UNIX Epoch, or any string compatible with UseLatestRestorableTime
- boolean
- Optional - Specifies whether (true
) or not (false
) the DB Instance is restored from the latest backup time. Default: false
Constraints: Cannot be specified if RestoreTime parameter is provided.DBInstanceClass
- string
- Optional - The compute and memory capacity of the Amazon RDS DB instance. Valid Values: db.m1.small | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge
Default: The same DBInstanceClass as the original DB Instance.Port
- integer
- Optional - The port number on which the database accepts connections. Constraints: Value must be 1115-65535
Default: The same port as the original DB Instance.Port
- integer
- Optional - The port number on which the database accepts connections. Constraints: Value must be 1150-65535
Default: The same port as the original DB Instance.AvailabilityZone
- string
- Optional - The EC2 Availability Zone that the database instance will be created in. Default: A random, system-chosen Availability Zone. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true. Example: us-east-1a
MultiAZ
- boolean
- Optional - Specifies if the DB Instance is a Multi-AZ deployment. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true
.AutoMinorVersionUpgrade
- boolean
- Optional - Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window.CIDRIP
- string
- Optional - The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP
is specified, EC2SecurityGroupName
and EC2SecurityGroupOwnerId
cannot be provided.EC2SecurityGroupName
- string
- Optional - The name of the EC2 Security Group to revoke access from. If EC2SecurityGroupName
is specified, EC2SecurityGroupOwnerId
must also be provided and CIDRIP
cannot be provided.EC2SecurityGroupOwnerId
- string
- Optional - The AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName
parameter. The AWS Access Key ID is not an acceptable value. If EC2SecurityGroupOwnerId
is specified EC2SecurityGroupName
must also be provided and CIDRIP
cannot be provided.EC2SecurityGroupOwnerId
- string
- Optional - The AWS Account Number of the owner of the EC2 Security specified in the EC2SecurityGroupName
parameter. The AWS Access Key ID is not an acceptable value. If EC2SecurityGroupOwnerId
is specified EC2SecurityGroupName
must also be provided and CIDRIP
cannot be provided.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.fileUpload
- string|resource
- Required; Conditional - The URL/path for the file to upload, or an open resource. Either this parameter or body
is required.acl
- string
- Optional - The ACL settings for the specified object. [Allowed values: AmazonS3::ACL_PRIVATE
, AmazonS3::ACL_PUBLIC
, AmazonS3::ACL_OPEN
, AmazonS3::ACL_AUTH_READ
, AmazonS3::ACL_OWNER_READ
, AmazonS3::ACL_OWNER_FULL_CONTROL
]. The default value is ACL_PRIVATE
.contentType
- string
- Optional - The type of content that is being sent in the body. If a file is being uploaded via fileUpload
as a file system path, it will attempt to determine the correct mime-type based on the file extension. The default value is application/octet-stream
.contentType
- string
- Optional - The type of content that is being sent in the body. If a file is being uploaded via fileUpload
as a file system path, it will attempt to determine the correct mime-type based on the file extension. The default value is application/octet-stream
.encryption
- string
- Optional - The algorithm to use for encrypting the object. [Allowed values: AES256
]headers
- array
- Optional - Standard HTTP headers to send along in the request. Accepts an associative array of key-value pairs.length
- integer
- Optional - The size of the object in bytes. For more information, see RFC 2616, section 14.13. The value can also be passed to the header
option as Content-Length
.meta
- array
- Optional - An associative array of key-value pairs. Represented by x-amz-meta-:
. Any header starting with this prefix is considered user metadata. It will be stored with the object and returned when you retrieve the object. The total size of the HTTP request, not including the body, must be less than 4 KB.seekTo
- integer
- Optional - The starting position in bytes within the file/stream to upload from.etag
- string
- Optional - The ETag
header passed in from a previous request. If specified, request LastModified
option must be specified as well. Will trigger a 304 Not Modified
status code if the file hasn't changed.fileDownload
- string|resource
- Optional - The file system location to download the file to, or an open file resource. Must be a server-writable location.headers
- array
- Optional - Standard HTTP headers to send along in the request.headers
- array
- Optional - Standard HTTP headers to send along in the request. Accepts an associative array of key-value pairs.lastmodified
- string
- Optional - The LastModified
header passed in from a previous request. If specified, request ETag
option must be specified as well. Will trigger a 304 Not Modified
status code if the file hasn't changed.preauth
- integer|string
- Optional - Specifies that a presigned URL for this request should be returned. May be passed as a number of seconds since UNIX Epoch, or any string compatible with range
- string
- Optional - The range of bytes to fetch from the object. Specify this parameter when downloading partial bits or completing incomplete object downloads. The specified range must be notated with a hyphen (e.g., 0-10485759). Defaults to the byte range of the complete Amazon S3 object.max-keys
keys. If you want to retrieve a list of all keys, you will need to make multiple calls to this function using the marker
option to specify the pagination offset (the key of the last processed key--lexically ordered) and the IsTruncated
response key to detect when all results have been processed. See: the S3 REST documentation for get_bucket for more information.
+ *
* @param string $bucket (Required) The name of the bucket to use.
* @param array $opt (Optional) An associative array of parameters that can have the following keys: delimiter
- string
- Optional - Keys that contain the same string between the prefix and the first occurrence of the delimiter will be rolled up into a single result element in the CommonPrefixes collection.marker
- string
- Optional - Restricts the response to contain results that only occur alphabetically after the value of the marker.max-keys
- string
- Optional - The maximum number of results returned by the method call. The returned list will contain no more results than the specified value, but may return less.max-keys
- string
- Optional - The maximum number of results returned by the method call. The returned list will contain no more results than the specified value, but may return fewer. The default value is 1000.preauth
- integer|string
- Optional - Specifies that a presigned URL for this request should be returned. May be passed as a number of seconds since UNIX Epoch, or any string compatible with prefix
- string
- Optional - Restricts the response to contain results that begin only with the specified prefix.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.ifUnmodifiedSince
- string
- Optional - The LastModified header from a previous request. Copies the object if it hasn't been modified since the specified time; otherwise, the request returns a 412
HTTP status code error (precondition failed). Used in conjunction with ifMatch
.ifNoneMatch
- string
- Optional - The ETag header from a previous request. Copies the object if its entity tag (ETag) is different than the specified ETag; otherwise, the request returns a 412
HTTP status code error (failed condition). Used in conjunction with ifModifiedSince
.ifModifiedSince
- string
- Optional - The LastModified header from a previous request. Copies the object if it has been modified since the specified time; otherwise, the request returns a 412
HTTP status code error (failed condition). Used in conjunction with ifNoneMatch
.headers
- array
- Optional - Standard HTTP headers to send along in the request.headers
- array
- Optional - Standard HTTP headers to send along in the request. Accepts an associative array of key-value pairs.meta
- array
- Optional - Associative array of key-value pairs. Represented by x-amz-meta-:
Any header starting with this prefix is considered user metadata. It will be stored with the object and returned when you retrieve the object. The total size of the HTTP request, not including the body, must be less than 4 KB.metadataDirective
- string
- Optional - Accepts either COPY or REPLACE. You will likely never need to use this, as it manages itself with no issues.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.acl
- string
- Optional - The ACL settings for the specified object. [Allowed values: AmazonS3::ACL_PRIVATE
, AmazonS3::ACL_PUBLIC
, AmazonS3::ACL_OPEN
, AmazonS3::ACL_AUTH_READ
, AmazonS3::ACL_OWNER_READ
, AmazonS3::ACL_OWNER_FULL_CONTROL
]. The default value is headers
- array
- Optional - The standard HTTP headers to update the Amazon S3 object with.headers
- array
- Optional - Standard HTTP headers to send along in the request. Accepts an associative array of key-value pairs.meta
- array
- Optional - An associative array of key-value pairs. Any header with the x-amz-meta-
prefix is considered user metadata and is stored with the Amazon S3 object. It will be stored with the object and returned when you retrieve the object. The total size of the HTTP request, not including the body, must be less than 4 KB.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.acl
- string
- Optional - The ACL settings for the specified object. [Allowed values: AmazonS3::ACL_PRIVATE
, AmazonS3::ACL_PUBLIC
, AmazonS3::ACL_OPEN
, AmazonS3::ACL_AUTH_READ
, AmazonS3::ACL_OWNER_READ
, AmazonS3::ACL_OWNER_FULL_CONTROL
]. The default value is ACL_PRIVATE
.contentType
- string
- Optional - The type of content that is being sent. The default value is application/octet-stream
.encryption
- string
- Optional - The algorithm to use for encrypting the object. [Allowed values: AES256
]headers
- array
- Optional - The standard HTTP headers to send along in the request.headers
- array
- Optional - Standard HTTP headers to send along in the request. Accepts an associative array of key-value pairs.meta
- array
- Optional - An associative array of key-value pairs. Any header starting with x-amz-meta-:
is considered user metadata. It will be stored with the object and returned when you retrieve the object. The total size of the HTTP request, not including the body, must be less than 4 KB.storage
- string
- Optional - Whether to use Standard or Reduced Redundancy storage. [Allowed values: AmazonS3::STORAGE_STANDARD
, AmazonS3::STORAGE_REDUCED
]. The default value is STORAGE_STANDARD
.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.fileUpload
- string|resource
- Required - The URL/path for the file to upload or an open resource.partNumber
- integer
- Required - The part number order of the multipart upload.expect
- string
- Optional - Specifies that the SDK not send the request body until it receives an acknowledgement. If the message is rejected based on the headers, the body of the message is not sent. For more information, see RFC 2616, section 14.20. The value can also be passed to the header
option as Expect
. [Allowed values: 100-continue
]headers
- array
- Optional - The standard HTTP headers to send along in the request.headers
- array
- Optional - Standard HTTP headers to send along in the request. Accepts an associative array of key-value pairs.length
- integer
- Optional - The size of the part in bytes. For more information, see RFC 2616, section 14.13. The value can also be passed to the header
option as Content-Length
.md5
- string
- Optional - The base64 encoded 128-bit MD5 digest of the part data. This header can be used as a message integrity check to verify that the part data is the same data that was originally sent. Although it is optional, we recommend using this mechanism as an end-to-end integrity check. For more information, see RFC 1864. The value can also be passed to the header
option as Content-MD5
.seekTo
- integer
- Optional - The starting position in bytes for the piece of the file/stream to upload.fileUpload
- string|resource
- Required - The URL/path for the file to upload, or an open resource.acl
- string
- Optional - The ACL settings for the specified object. [Allowed values: AmazonS3::ACL_PRIVATE
, AmazonS3::ACL_PUBLIC
, AmazonS3::ACL_OPEN
, AmazonS3::ACL_AUTH_READ
, AmazonS3::ACL_OWNER_READ
, AmazonS3::ACL_OWNER_FULL_CONTROL
]. The default value is ACL_PRIVATE
.contentType
- string
- Optional - The type of content that is being sent in the body. The default value is application/octet-stream
.headers
- array
- Optional - The standard HTTP headers to send along in the request.headers
- array
- Optional - Standard HTTP headers to send along in the request. Accepts an associative array of key-value pairs.length
- integer
- Optional - The size of the object in bytes. For more information, see RFC 2616, section 14.13. The value can also be passed to the header
option as Content-Length
.limit
- integer
- Optional - The maximum number of concurrent uploads done by cURL. Gets passed to CFBatchRequest
.meta
- array
- Optional - An associative array of key-value pairs. Any header starting with x-amz-meta-:
is considered user metadata. It will be stored with the object and returned when you retrieve the object. The total size of the HTTP request, not including the body, must be less than 4 KB.+ * The endpoint for AWS Email Service is located at: + * https://email.us-east-1.amazonaws.com + *
* - * @version 2011.12.13 + * @version 2012.01.16 * @license See the included NOTICE.md file for complete information. * @copyright See the included NOTICE.md file for complete information. * @link http://aws.amazon.com/ses/ Amazon Simple Email Service @@ -127,7 +132,7 @@ public function delete_verified_email_address($email_address, $opt = null) } /** - * Returns the user's current activity limits. + * Returns the user's current sending limits. * * @param array $opt (Optional) An associative array of parameters that can have the following keys:curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.x
- array
- Optional - This represents a simple array index. curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.AuthenticateOnUnsubscribe
- string
- Optional - Indicates that you want to disable unauthenticated unsubsciption of the subscription. If parameter is present in the request, the request has an AWS signature, and the value of this parameter is true, only the topic owner and the subscription owner will be permitted to unsubscribe the endopint, and the Unsubscribe action will require AWS authentication.AuthenticateOnUnsubscribe
- string
- Optional - Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is true
and the request has an AWS signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action will require AWS authentication.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.NextToken
- string
- Optional - Token returned by the previous ListSubscriptions request.NextToken
- string
- Optional - Token returned by the previous ListTopics request.Subject
- string
- Optional - Optional parameter to be used as the "Subject" line of when the message is delivered to e-mail endpoints. This field will also be included, if present, in the standard JSON messages delivered to other endpoints. Constraints: Subjects must be ASCII text that begins with a letter, number or punctuation mark; must not include line breaks or control characters; and must be less than 100 characters long.MessageStructure
- string
- Optional - Optional parameter. It will have one valid value: "json". If this option, Message is present and set to "json", the value of Message must: be a syntactically valid JSON object. It must contain at least a top level JSON key of "default" with a value that is a string. For any other top level key that matches one of our transport protocols (e.g. "http"), then the corresponding value (if it is a string) will be used for the message published for that protocol Constraints: Keys in the JSON object that correspond to supported transport protocols must have simple JSON string values. The values will be parsed (unescaped) before they are used in outgoing messages. Typically, outbound notifications are JSON encoded (meaning, the characters will be reescaped for sending). JSON strings are UTF-8. Values have a minimum length of 0 (the empty string, "", is allowed). Values have a maximum length bounded by the overall message size (so, including multiple protocols may limit message sizes). Non-string values will cause the key to be ignored. Keys that do not correspond to supported transport protocols will be ignored. Duplicate keys are not allowed. Failure to parse or validate any key or value in the message will cause the Publish call to return an error (no partial delivery).curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.curlopts
- array
- Optional - A set of values to pass directly into curl_setopt()
, where the key is a pre-defined CURLOPT_*
constant.returnCurlHandle
- boolean
- Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.DurationSeconds
- integer
- Optional - The duration, in seconds, that the credentials should remain valid. Acceptable durations for IAM user sessions range from 3600s (one hour) to 129600s (36 hours), with 43200s (12 hours) as the default. Sessions for AWS account owners are restricted to a maximum of 3600s (one hour).