@datafire/amazonaws_dax
Client library for Amazon DynamoDB Accelerator (DAX)
Installation and Usage
npm install --save @datafire/amazonaws_dax
let amazonaws_dax = require('@datafire/amazonaws_dax').create({
accessKeyId: "",
secretAccessKey: "",
region: ""
});
amazonaws_dax.CreateCluster({
"ClusterName": "",
"NodeType": "",
"ReplicationFactor": 0,
"IamRoleArn": ""
}).then(data => {
console.log(data);
});
Description
DAX is a managed caching service engineered for Amazon DynamoDB. DAX dramatically speeds up database reads by caching frequently-accessed data from DynamoDB, so applications can access that data with sub-millisecond latency. You can create a DAX cluster easily, using the AWS Management Console. With a few simple modifications to your code, your application can begin taking advantage of the DAX cluster and realize significant improvements in read performance.
Actions
CreateCluster
amazonaws_dax.CreateCluster({
"ClusterName": "",
"NodeType": "",
"ReplicationFactor": 0,
"IamRoleArn": ""
}, context)
Input
- input
object
- AvailabilityZones AvailabilityZoneList
- ClusterName required String
- Description String
- IamRoleArn required String
- NodeType required String
- NotificationTopicArn String
- ParameterGroupName String
- PreferredMaintenanceWindow String
- ReplicationFactor required Integer
- SecurityGroupIds SecurityGroupIdentifierList
- SubnetGroupName String
- Tags TagList
Output
- output CreateClusterResponse
CreateParameterGroup
amazonaws_dax.CreateParameterGroup({
"ParameterGroupName": ""
}, context)
Input
Output
- output CreateParameterGroupResponse
CreateSubnetGroup
amazonaws_dax.CreateSubnetGroup({
"SubnetGroupName": "",
"SubnetIds": []
}, context)
Input
- input
object
- Description String
- SubnetGroupName required String
- SubnetIds required SubnetIdentifierList
Output
- output CreateSubnetGroupResponse
DecreaseReplicationFactor
amazonaws_dax.DecreaseReplicationFactor({
"ClusterName": "",
"NewReplicationFactor": 0
}, context)
Input
- input
object
- AvailabilityZones AvailabilityZoneList
- ClusterName required String
- NewReplicationFactor required Integer
- NodeIdsToRemove NodeIdentifierList
Output
DeleteCluster
amazonaws_dax.DeleteCluster({
"ClusterName": ""
}, context)
Input
- input
object
- ClusterName required String
Output
- output DeleteClusterResponse
DeleteParameterGroup
amazonaws_dax.DeleteParameterGroup({
"ParameterGroupName": ""
}, context)
Input
- input
object
- ParameterGroupName required String
Output
- output DeleteParameterGroupResponse
DeleteSubnetGroup
amazonaws_dax.DeleteSubnetGroup({
"SubnetGroupName": ""
}, context)
Input
- input
object
- SubnetGroupName required String
Output
- output DeleteSubnetGroupResponse
DescribeClusters
amazonaws_dax.DescribeClusters({}, context)
Input
- input
object
- ClusterNames ClusterNameList
- MaxResults IntegerOptional
- NextToken String
Output
- output DescribeClustersResponse
DescribeDefaultParameters
amazonaws_dax.DescribeDefaultParameters({}, context)
Input
- input
object
- MaxResults IntegerOptional
- NextToken String
Output
DescribeEvents
amazonaws_dax.DescribeEvents({}, context)
Input
- input
object
- Duration IntegerOptional
- EndTime TStamp
- MaxResults IntegerOptional
- NextToken String
- SourceName String
- SourceType SourceType
- StartTime TStamp
Output
- output DescribeEventsResponse
DescribeParameterGroups
amazonaws_dax.DescribeParameterGroups({}, context)
Input
- input
object
- MaxResults IntegerOptional
- NextToken String
- ParameterGroupNames ParameterGroupNameList
Output
DescribeParameters
amazonaws_dax.DescribeParameters({
"ParameterGroupName": ""
}, context)
Input
- input
object
- MaxResults IntegerOptional
- NextToken String
- ParameterGroupName required String
- Source String
Output
- output DescribeParametersResponse
DescribeSubnetGroups
amazonaws_dax.DescribeSubnetGroups({}, context)
Input
- input
object
- MaxResults IntegerOptional
- NextToken String
- SubnetGroupNames SubnetGroupNameList
Output
- output DescribeSubnetGroupsResponse
IncreaseReplicationFactor
amazonaws_dax.IncreaseReplicationFactor({
"ClusterName": "",
"NewReplicationFactor": 0
}, context)
Input
- input
object
- AvailabilityZones AvailabilityZoneList
- ClusterName required String
- NewReplicationFactor required Integer
Output
ListTags
amazonaws_dax.ListTags({
"ResourceName": ""
}, context)
Input
Output
- output ListTagsResponse
RebootNode
amazonaws_dax.RebootNode({
"ClusterName": "",
"NodeId": ""
}, context)
Input
Output
- output RebootNodeResponse
TagResource
amazonaws_dax.TagResource({
"ResourceName": "",
"Tags": []
}, context)
Input
Output
- output TagResourceResponse
UntagResource
amazonaws_dax.UntagResource({
"ResourceName": "",
"TagKeys": []
}, context)
Input
Output
- output UntagResourceResponse
UpdateCluster
amazonaws_dax.UpdateCluster({
"ClusterName": ""
}, context)
Input
- input
object
Output
- output UpdateClusterResponse
UpdateParameterGroup
amazonaws_dax.UpdateParameterGroup({
"ParameterGroupName": "",
"ParameterNameValues": []
}, context)
Input
- input
object
- ParameterGroupName required String
- ParameterNameValues required ParameterNameValueList
Output
- output UpdateParameterGroupResponse
UpdateSubnetGroup
amazonaws_dax.UpdateSubnetGroup({
"SubnetGroupName": ""
}, context)
Input
- input
object
- Description String
- SubnetGroupName required String
- SubnetIds SubnetIdentifierList
Output
- output UpdateSubnetGroupResponse
Definitions
AvailabilityZoneList
- AvailabilityZoneList
array
- items String
AwsQueryErrorMessage
- AwsQueryErrorMessage
string
ChangeType
- ChangeType
string
(values: IMMEDIATE, REQUIRES_REBOOT)
Cluster
- Cluster
object
: Contains all of the attributes of a specific DAX cluster.- ActiveNodes IntegerOptional
- ClusterArn String
- ClusterDiscoveryEndpoint Endpoint
- ClusterName String
- Description String
- IamRoleArn String
- NodeIdsToRemove NodeIdentifierList
- NodeType String
- Nodes NodeList
- NotificationConfiguration NotificationConfiguration
- ParameterGroup ParameterGroupStatus
- PreferredMaintenanceWindow String
- SecurityGroups SecurityGroupMembershipList
- Status String
- SubnetGroup String
- TotalNodes IntegerOptional
ClusterAlreadyExistsFault
- ClusterAlreadyExistsFault
object
: You already have a DAX cluster with the given identifier.
ClusterList
- ClusterList
array
- items Cluster
ClusterNameList
- ClusterNameList
array
- items String
ClusterNotFoundFault
- ClusterNotFoundFault
object
: The requested cluster ID does not refer to an existing DAX cluster.
ClusterQuotaForCustomerExceededFault
- ClusterQuotaForCustomerExceededFault
object
: You have attempted to exceed the maximum number of DAX clusters for your AWS account.
CreateClusterRequest
- CreateClusterRequest
object
- AvailabilityZones AvailabilityZoneList
- ClusterName required String
- Description String
- IamRoleArn required String
- NodeType required String
- NotificationTopicArn String
- ParameterGroupName String
- PreferredMaintenanceWindow String
- ReplicationFactor required Integer
- SecurityGroupIds SecurityGroupIdentifierList
- SubnetGroupName String
- Tags TagList
CreateClusterResponse
- CreateClusterResponse
object
- Cluster Cluster
CreateParameterGroupRequest
CreateParameterGroupResponse
- CreateParameterGroupResponse
object
- ParameterGroup ParameterGroup
CreateSubnetGroupRequest
- CreateSubnetGroupRequest
object
- Description String
- SubnetGroupName required String
- SubnetIds required SubnetIdentifierList
CreateSubnetGroupResponse
- CreateSubnetGroupResponse
object
- SubnetGroup SubnetGroup
DecreaseReplicationFactorRequest
- DecreaseReplicationFactorRequest
object
- AvailabilityZones AvailabilityZoneList
- ClusterName required String
- NewReplicationFactor required Integer
- NodeIdsToRemove NodeIdentifierList
DecreaseReplicationFactorResponse
- DecreaseReplicationFactorResponse
object
- Cluster Cluster
DeleteClusterRequest
- DeleteClusterRequest
object
- ClusterName required String
DeleteClusterResponse
- DeleteClusterResponse
object
- Cluster Cluster
DeleteParameterGroupRequest
- DeleteParameterGroupRequest
object
- ParameterGroupName required String
DeleteParameterGroupResponse
- DeleteParameterGroupResponse
object
- DeletionMessage String
DeleteSubnetGroupRequest
- DeleteSubnetGroupRequest
object
- SubnetGroupName required String
DeleteSubnetGroupResponse
- DeleteSubnetGroupResponse
object
- DeletionMessage String
DescribeClustersRequest
- DescribeClustersRequest
object
- ClusterNames ClusterNameList
- MaxResults IntegerOptional
- NextToken String
DescribeClustersResponse
- DescribeClustersResponse
object
- Clusters ClusterList
- NextToken String
DescribeDefaultParametersRequest
- DescribeDefaultParametersRequest
object
- MaxResults IntegerOptional
- NextToken String
DescribeDefaultParametersResponse
- DescribeDefaultParametersResponse
object
- NextToken String
- Parameters ParameterList
DescribeEventsRequest
- DescribeEventsRequest
object
- Duration IntegerOptional
- EndTime TStamp
- MaxResults IntegerOptional
- NextToken String
- SourceName String
- SourceType SourceType
- StartTime TStamp
DescribeEventsResponse
DescribeParameterGroupsRequest
- DescribeParameterGroupsRequest
object
- MaxResults IntegerOptional
- NextToken String
- ParameterGroupNames ParameterGroupNameList
DescribeParameterGroupsResponse
- DescribeParameterGroupsResponse
object
- NextToken String
- ParameterGroups ParameterGroupList
DescribeParametersRequest
- DescribeParametersRequest
object
- MaxResults IntegerOptional
- NextToken String
- ParameterGroupName required String
- Source String
DescribeParametersResponse
- DescribeParametersResponse
object
- NextToken String
- Parameters ParameterList
DescribeSubnetGroupsRequest
- DescribeSubnetGroupsRequest
object
- MaxResults IntegerOptional
- NextToken String
- SubnetGroupNames SubnetGroupNameList
DescribeSubnetGroupsResponse
- DescribeSubnetGroupsResponse
object
- NextToken String
- SubnetGroups SubnetGroupList
Endpoint
- Endpoint
object
: Represents the information required for client programs to connect to the configuration endpoint for a DAX cluster, or to an individual node within the cluster.
Event
- Event
object
: Represents a single occurrence of something interesting within the system. Some examples of events are creating a DAX cluster, adding or removing a node, or rebooting a node.- Date TStamp
- Message String
- SourceName String
- SourceType SourceType
EventList
- EventList
array
- items Event
IncreaseReplicationFactorRequest
- IncreaseReplicationFactorRequest
object
- AvailabilityZones AvailabilityZoneList
- ClusterName required String
- NewReplicationFactor required Integer
IncreaseReplicationFactorResponse
- IncreaseReplicationFactorResponse
object
- Cluster Cluster
InsufficientClusterCapacityFault
- InsufficientClusterCapacityFault
object
: There are not enough system resources to create the cluster you requested (or to resize an already-existing cluster).
Integer
- Integer
integer
IntegerOptional
- IntegerOptional
integer
InvalidARNFault
- InvalidARNFault
object
: The Amazon Resource Name (ARN) supplied in the request is not valid.
InvalidClusterStateFault
- InvalidClusterStateFault
object
: The requested DAX cluster is not in the available state.
InvalidParameterCombinationException
- InvalidParameterCombinationException
object
: Two or more incompatible parameters were specified.- message AwsQueryErrorMessage
InvalidParameterGroupStateFault
- InvalidParameterGroupStateFault
object
: One or more parameters in a parameter group are in an invalid state.
InvalidParameterValueException
- InvalidParameterValueException
object
: The value for a parameter is invalid.- message AwsQueryErrorMessage
InvalidSubnet
- InvalidSubnet
object
: An invalid subnet identifier was specified.
InvalidVPCNetworkStateFault
- InvalidVPCNetworkStateFault
object
: The VPC network is in an invalid state.
IsModifiable
- IsModifiable
string
(values: TRUE, FALSE, CONDITIONAL)
KeyList
- KeyList
array
- items String
ListTagsRequest
ListTagsResponse
Node
- Node
object
: Represents an individual node within a DAX cluster.
NodeIdentifierList
- NodeIdentifierList
array
- items String
NodeList
- NodeList
array
- items Node
NodeNotFoundFault
- NodeNotFoundFault
object
: None of the nodes in the cluster have the given node ID.
NodeQuotaForClusterExceededFault
- NodeQuotaForClusterExceededFault
object
: You have attempted to exceed the maximum number of nodes for a DAX cluster.
NodeQuotaForCustomerExceededFault
- NodeQuotaForCustomerExceededFault
object
: You have attempted to exceed the maximum number of nodes for your AWS account.
NodeTypeSpecificValue
- NodeTypeSpecificValue
object
: Represents a parameter value that is applicable to a particular node type.
NodeTypeSpecificValueList
- NodeTypeSpecificValueList
array
- items NodeTypeSpecificValue
NotificationConfiguration
- NotificationConfiguration
object
: Describes a notification topic and its status. Notification topics are used for publishing DAX events to subscribers using Amazon Simple Notification Service (SNS).
Parameter
- Parameter
object
: Describes an individual setting that controls some aspect of DAX behavior.- AllowedValues String
- ChangeType ChangeType
- DataType String
- Description String
- IsModifiable IsModifiable
- NodeTypeSpecificValues NodeTypeSpecificValueList
- ParameterName String
- ParameterType ParameterType
- ParameterValue String
- Source String
ParameterGroup
- ParameterGroup
object
: A named set of parameters that are applied to all of the nodes in a DAX cluster.
ParameterGroupAlreadyExistsFault
- ParameterGroupAlreadyExistsFault
object
: The specified parameter group already exists.
ParameterGroupList
- ParameterGroupList
array
- items ParameterGroup
ParameterGroupNameList
- ParameterGroupNameList
array
- items String
ParameterGroupNotFoundFault
- ParameterGroupNotFoundFault
object
: The specified parameter group does not exist.
ParameterGroupQuotaExceededFault
- ParameterGroupQuotaExceededFault
object
: You have attempted to exceed the maximum number of parameter groups.
ParameterGroupStatus
- ParameterGroupStatus
object
: The status of a parameter group.- NodeIdsToReboot NodeIdentifierList
- ParameterApplyStatus String
- ParameterGroupName String
ParameterList
- ParameterList
array
- items Parameter
ParameterNameValue
ParameterNameValueList
- ParameterNameValueList
array
- items ParameterNameValue
ParameterType
- ParameterType
string
(values: DEFAULT, NODE_TYPE_SPECIFIC)
RebootNodeRequest
RebootNodeResponse
- RebootNodeResponse
object
- Cluster Cluster
SecurityGroupIdentifierList
- SecurityGroupIdentifierList
array
- items String
SecurityGroupMembership
- SecurityGroupMembership
object
: An individual VPC security group and its status.
SecurityGroupMembershipList
- SecurityGroupMembershipList
array
- items SecurityGroupMembership
SourceType
- SourceType
string
(values: CLUSTER, PARAMETER_GROUP, SUBNET_GROUP)
String
- String
string
Subnet
- Subnet
object
: Represents the subnet associated with a DAX cluster. This parameter refers to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used with DAX.
SubnetGroup
- SubnetGroup
object
:Represents the output of one of the following actions:
-
CreateSubnetGroup
-
ModifySubnetGroup
- Description String
- SubnetGroupName String
- Subnets SubnetList
- VpcId String
-
SubnetGroupAlreadyExistsFault
- SubnetGroupAlreadyExistsFault
object
: The specified subnet group already exists.
SubnetGroupInUseFault
- SubnetGroupInUseFault
object
: The specified subnet group is currently in use.
SubnetGroupList
- SubnetGroupList
array
- items SubnetGroup
SubnetGroupNameList
- SubnetGroupNameList
array
- items String
SubnetGroupNotFoundFault
- SubnetGroupNotFoundFault
object
: The requested subnet group name does not refer to an existing subnet group.
SubnetGroupQuotaExceededFault
- SubnetGroupQuotaExceededFault
object
: The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.
SubnetIdentifierList
- SubnetIdentifierList
array
- items String
SubnetInUse
- SubnetInUse
object
: The requested subnet is being used by another subnet group.
SubnetList
- SubnetList
array
- items Subnet
SubnetQuotaExceededFault
- SubnetQuotaExceededFault
object
: The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.
TStamp
- TStamp
string
Tag
- Tag
object
:A description of a tag. Every tag is a key-value pair. You can add up to 50 tags to a single DAX cluster.
AWS-assigned tag names and values are automatically assigned the
aws:
prefix, which the user cannot assign. AWS-assigned tag names do not count towards the tag limit of 50. User-assigned tag names have the prefixuser:
.You cannot backdate the application of a tag.
TagList
- TagList
array
- items Tag
TagNotFoundFault
- TagNotFoundFault
object
: The tag does not exist.
TagQuotaPerResourceExceeded
- TagQuotaPerResourceExceeded
object
: You have exceeded the maximum number of tags for this DAX cluster.
TagResourceRequest
TagResourceResponse
- TagResourceResponse
object
- Tags TagList
UntagResourceRequest
UntagResourceResponse
- UntagResourceResponse
object
- Tags TagList
UpdateClusterRequest
- UpdateClusterRequest
object
UpdateClusterResponse
- UpdateClusterResponse
object
- Cluster Cluster
UpdateParameterGroupRequest
- UpdateParameterGroupRequest
object
- ParameterGroupName required String
- ParameterNameValues required ParameterNameValueList
UpdateParameterGroupResponse
- UpdateParameterGroupResponse
object
- ParameterGroup ParameterGroup
UpdateSubnetGroupRequest
- UpdateSubnetGroupRequest
object
- Description String
- SubnetGroupName required String
- SubnetIds SubnetIdentifierList
UpdateSubnetGroupResponse
- UpdateSubnetGroupResponse
object
- SubnetGroup SubnetGroup