|
4749 | 4749 | "smithy.api#documentation": "<p>Creates a copy of an entire cluster or replication group at a specific moment in\n time.</p>\n <note>\n <p>This operation is valid for Redis only.</p>\n </note>",
|
4750 | 4750 | "smithy.api#examples": [
|
4751 | 4751 | {
|
4752 |
| - "title": "CreateSnapshot - NonClustered Redis, no read-replicas", |
4753 |
| - "documentation": "Creates a snapshot of a non-clustered Redis cluster that has only one node.", |
| 4752 | + "title": "CreateSnapshot - NonClustered Redis, 2 read-replicas", |
| 4753 | + "documentation": "Creates a snapshot of a non-clustered Redis cluster that has only three nodes, primary and two read-replicas. CacheClusterId must be a specific node in the cluster.", |
4754 | 4754 | "input": {
|
4755 |
| - "CacheClusterId": "onenoderedis", |
4756 |
| - "SnapshotName": "snapshot-1" |
| 4755 | + "CacheClusterId": "threenoderedis-001", |
| 4756 | + "SnapshotName": "snapshot-2" |
4757 | 4757 | },
|
4758 | 4758 | "output": {
|
4759 | 4759 | "Snapshot": {
|
4760 | 4760 | "Engine": "redis",
|
4761 | 4761 | "CacheParameterGroupName": "default.redis3.2",
|
4762 | 4762 | "VpcId": "vpc-73c3cd17",
|
4763 |
| - "CacheClusterId": "onenoderedis", |
| 4763 | + "CacheClusterId": "threenoderedis-001", |
4764 | 4764 | "SnapshotRetentionLimit": 1,
|
4765 | 4765 | "NumCacheNodes": 1,
|
4766 |
| - "SnapshotName": "snapshot-1", |
| 4766 | + "SnapshotName": "snapshot-2", |
4767 | 4767 | "CacheClusterCreateTime": "2017-02-03T15:43:36.278Z",
|
4768 | 4768 | "AutoMinorVersionUpgrade": true,
|
4769 | 4769 | "PreferredAvailabilityZone": "us-west-2c",
|
|
4786 | 4786 | }
|
4787 | 4787 | },
|
4788 | 4788 | {
|
4789 |
| - "title": "CreateSnapshot - NonClustered Redis, 2 read-replicas", |
4790 |
| - "documentation": "Creates a snapshot of a non-clustered Redis cluster that has only three nodes, primary and two read-replicas. CacheClusterId must be a specific node in the cluster.", |
| 4789 | + "title": "CreateSnapshot - NonClustered Redis, no read-replicas", |
| 4790 | + "documentation": "Creates a snapshot of a non-clustered Redis cluster that has only one node.", |
4791 | 4791 | "input": {
|
4792 |
| - "CacheClusterId": "threenoderedis-001", |
4793 |
| - "SnapshotName": "snapshot-2" |
| 4792 | + "CacheClusterId": "onenoderedis", |
| 4793 | + "SnapshotName": "snapshot-1" |
4794 | 4794 | },
|
4795 | 4795 | "output": {
|
4796 | 4796 | "Snapshot": {
|
4797 | 4797 | "Engine": "redis",
|
4798 | 4798 | "CacheParameterGroupName": "default.redis3.2",
|
4799 | 4799 | "VpcId": "vpc-73c3cd17",
|
4800 |
| - "CacheClusterId": "threenoderedis-001", |
| 4800 | + "CacheClusterId": "onenoderedis", |
4801 | 4801 | "SnapshotRetentionLimit": 1,
|
4802 | 4802 | "NumCacheNodes": 1,
|
4803 |
| - "SnapshotName": "snapshot-2", |
| 4803 | + "SnapshotName": "snapshot-1", |
4804 | 4804 | "CacheClusterCreateTime": "2017-02-03T15:43:36.278Z",
|
4805 | 4805 | "AutoMinorVersionUpgrade": true,
|
4806 | 4806 | "PreferredAvailabilityZone": "us-west-2c",
|
|
6128 | 6128 | "smithy.api#examples": [
|
6129 | 6129 | {
|
6130 | 6130 | "title": "DescribeCacheClusters",
|
6131 |
| - "documentation": "Lists the details for up to 50 cache clusters.", |
| 6131 | + "documentation": "Lists the details for the cache cluster my-mem-cluster.", |
6132 | 6132 | "input": {
|
6133 |
| - "CacheClusterId": "my-mem-cluster" |
| 6133 | + "CacheClusterId": "my-mem-cluster", |
| 6134 | + "ShowCacheNodeInfo": true |
6134 | 6135 | },
|
6135 | 6136 | "output": {
|
6136 | 6137 | "CacheClusters": [
|
6137 | 6138 | {
|
6138 | 6139 | "Engine": "memcached",
|
| 6140 | + "CacheNodes": [ |
| 6141 | + { |
| 6142 | + "CacheNodeId": "0001", |
| 6143 | + "Endpoint": { |
| 6144 | + "Port": 11211, |
| 6145 | + "Address": "my-mem-cluster.ameaqx.0001.use1.cache.amazonaws.com" |
| 6146 | + }, |
| 6147 | + "CacheNodeStatus": "available", |
| 6148 | + "ParameterGroupStatus": "in-sync", |
| 6149 | + "CacheNodeCreateTime": "2016-12-21T21:59:43.794Z", |
| 6150 | + "CustomerAvailabilityZone": "us-east-1b" |
| 6151 | + }, |
| 6152 | + { |
| 6153 | + "CacheNodeId": "0002", |
| 6154 | + "Endpoint": { |
| 6155 | + "Port": 11211, |
| 6156 | + "Address": "my-mem-cluster.ameaqx.0002.use1.cache.amazonaws.com" |
| 6157 | + }, |
| 6158 | + "CacheNodeStatus": "available", |
| 6159 | + "ParameterGroupStatus": "in-sync", |
| 6160 | + "CacheNodeCreateTime": "2016-12-21T21:59:43.794Z", |
| 6161 | + "CustomerAvailabilityZone": "us-east-1a" |
| 6162 | + } |
| 6163 | + ], |
6139 | 6164 | "CacheParameterGroup": {
|
6140 | 6165 | "CacheNodeIdsToReboot": [],
|
6141 | 6166 | "CacheParameterGroupName": "default.memcached1.4",
|
|
6145 | 6170 | "PreferredAvailabilityZone": "Multiple",
|
6146 | 6171 | "ConfigurationEndpoint": {
|
6147 | 6172 | "Port": 11211,
|
6148 |
| - "Address": "my-mem-cluster.abcdef.cfg.use1.cache.amazonaws.com" |
| 6173 | + "Address": "my-mem-cluster.ameaqx.cfg.use1.cache.amazonaws.com" |
6149 | 6174 | },
|
6150 | 6175 | "CacheSecurityGroups": [],
|
6151 | 6176 | "CacheClusterCreateTime": "2016-12-21T21:59:43.794Z",
|
|
6164 | 6189 | },
|
6165 | 6190 | {
|
6166 | 6191 | "title": "DescribeCacheClusters",
|
6167 |
| - "documentation": "Lists the details for the cache cluster my-mem-cluster.", |
| 6192 | + "documentation": "Lists the details for up to 50 cache clusters.", |
6168 | 6193 | "input": {
|
6169 |
| - "CacheClusterId": "my-mem-cluster", |
6170 |
| - "ShowCacheNodeInfo": true |
| 6194 | + "CacheClusterId": "my-mem-cluster" |
6171 | 6195 | },
|
6172 | 6196 | "output": {
|
6173 | 6197 | "CacheClusters": [
|
6174 | 6198 | {
|
6175 | 6199 | "Engine": "memcached",
|
6176 |
| - "CacheNodes": [ |
6177 |
| - { |
6178 |
| - "CacheNodeId": "0001", |
6179 |
| - "Endpoint": { |
6180 |
| - "Port": 11211, |
6181 |
| - "Address": "my-mem-cluster.ameaqx.0001.use1.cache.amazonaws.com" |
6182 |
| - }, |
6183 |
| - "CacheNodeStatus": "available", |
6184 |
| - "ParameterGroupStatus": "in-sync", |
6185 |
| - "CacheNodeCreateTime": "2016-12-21T21:59:43.794Z", |
6186 |
| - "CustomerAvailabilityZone": "us-east-1b" |
6187 |
| - }, |
6188 |
| - { |
6189 |
| - "CacheNodeId": "0002", |
6190 |
| - "Endpoint": { |
6191 |
| - "Port": 11211, |
6192 |
| - "Address": "my-mem-cluster.ameaqx.0002.use1.cache.amazonaws.com" |
6193 |
| - }, |
6194 |
| - "CacheNodeStatus": "available", |
6195 |
| - "ParameterGroupStatus": "in-sync", |
6196 |
| - "CacheNodeCreateTime": "2016-12-21T21:59:43.794Z", |
6197 |
| - "CustomerAvailabilityZone": "us-east-1a" |
6198 |
| - } |
6199 |
| - ], |
6200 | 6200 | "CacheParameterGroup": {
|
6201 | 6201 | "CacheNodeIdsToReboot": [],
|
6202 | 6202 | "CacheParameterGroupName": "default.memcached1.4",
|
|
6206 | 6206 | "PreferredAvailabilityZone": "Multiple",
|
6207 | 6207 | "ConfigurationEndpoint": {
|
6208 | 6208 | "Port": 11211,
|
6209 |
| - "Address": "my-mem-cluster.ameaqx.cfg.use1.cache.amazonaws.com" |
| 6209 | + "Address": "my-mem-cluster.abcdef.cfg.use1.cache.amazonaws.com" |
6210 | 6210 | },
|
6211 | 6211 | "CacheSecurityGroups": [],
|
6212 | 6212 | "CacheClusterCreateTime": "2016-12-21T21:59:43.794Z",
|
|
8128 | 8128 | "outputToken": "Marker",
|
8129 | 8129 | "items": "Events",
|
8130 | 8130 | "pageSize": "MaxRecords"
|
8131 |
| - } |
| 8131 | + }, |
| 8132 | + "smithy.test#smokeTests": [ |
| 8133 | + { |
| 8134 | + "id": "DescribeEventsSuccess", |
| 8135 | + "params": {}, |
| 8136 | + "vendorParams": { |
| 8137 | + "region": "us-west-2" |
| 8138 | + }, |
| 8139 | + "vendorParamsShape": "aws.test#AwsVendorParams", |
| 8140 | + "expect": { |
| 8141 | + "success": {} |
| 8142 | + } |
| 8143 | + } |
| 8144 | + ] |
8132 | 8145 | }
|
8133 | 8146 | },
|
8134 | 8147 | "com.amazonaws.elasticache#DescribeEventsMessage": {
|
|
8554 | 8567 | "traits": {
|
8555 | 8568 | "smithy.api#documentation": "<p>Lists available reserved cache node offerings.</p>",
|
8556 | 8569 | "smithy.api#examples": [
|
| 8570 | + { |
| 8571 | + "title": "DescribeReseredCacheNodeOfferings", |
| 8572 | + "documentation": "Lists available reserved cache node offerings for cache.r3.large nodes with a 3 year commitment.", |
| 8573 | + "input": { |
| 8574 | + "ReservedCacheNodesOfferingId": "", |
| 8575 | + "CacheNodeType": "cache.r3.large", |
| 8576 | + "Duration": "3", |
| 8577 | + "OfferingType": "Light Utilization", |
| 8578 | + "MaxRecords": 25 |
| 8579 | + }, |
| 8580 | + "output": { |
| 8581 | + "Marker": "", |
| 8582 | + "ReservedCacheNodesOfferings": [] |
| 8583 | + } |
| 8584 | + }, |
8557 | 8585 | {
|
8558 | 8586 | "title": "DescribeReseredCacheNodeOfferings",
|
8559 | 8587 | "documentation": "Lists available reserved cache node offerings.",
|
|
8821 | 8849 | ]
|
8822 | 8850 | }
|
8823 | 8851 | },
|
8824 |
| - { |
8825 |
| - "title": "DescribeReseredCacheNodeOfferings", |
8826 |
| - "documentation": "Lists available reserved cache node offerings for cache.r3.large nodes with a 3 year commitment.", |
8827 |
| - "input": { |
8828 |
| - "ReservedCacheNodesOfferingId": "", |
8829 |
| - "CacheNodeType": "cache.r3.large", |
8830 |
| - "Duration": "3", |
8831 |
| - "OfferingType": "Light Utilization", |
8832 |
| - "MaxRecords": 25 |
8833 |
| - }, |
8834 |
| - "output": { |
8835 |
| - "Marker": "", |
8836 |
| - "ReservedCacheNodesOfferings": [] |
8837 |
| - } |
8838 |
| - }, |
8839 | 8852 | {
|
8840 | 8853 | "title": "DescribeReseredCacheNodeOfferings",
|
8841 | 8854 | "documentation": "Lists available reserved cache node offerings.",
|
|
10837 | 10850 | "traits": {
|
10838 | 10851 | "smithy.api#documentation": "<p>Lists all available node types that you can scale your Redis cluster's or replication\n group's current node type.</p>\n <p>When you use the <code>ModifyCacheCluster</code> or\n <code>ModifyReplicationGroup</code> operations to scale your cluster or replication\n group, the value of the <code>CacheNodeType</code> parameter must be one of the node\n types returned by this operation.</p>",
|
10839 | 10852 | "smithy.api#examples": [
|
| 10853 | + { |
| 10854 | + "title": "ListAllowedNodeTypeModifications", |
| 10855 | + "documentation": "Lists all available node types that you can scale your Redis cluster's or replication group's current node type up to.", |
| 10856 | + "input": { |
| 10857 | + "CacheClusterId": "mycluster" |
| 10858 | + }, |
| 10859 | + "output": { |
| 10860 | + "ScaleUpModifications": [] |
| 10861 | + } |
| 10862 | + }, |
10840 | 10863 | {
|
10841 | 10864 | "title": "ListAllowedNodeTypeModifications",
|
10842 | 10865 | "documentation": "Lists all available node types that you can scale your Redis cluster's or replication group's current node type up to.",
|
|
10855 | 10878 | "cache.r3.xlarge"
|
10856 | 10879 | ]
|
10857 | 10880 | }
|
10858 |
| - }, |
10859 |
| - { |
10860 |
| - "title": "ListAllowedNodeTypeModifications", |
10861 |
| - "documentation": "Lists all available node types that you can scale your Redis cluster's or replication group's current node type up to.", |
10862 |
| - "input": { |
10863 |
| - "CacheClusterId": "mycluster" |
10864 |
| - }, |
10865 |
| - "output": { |
10866 |
| - "ScaleUpModifications": [] |
10867 |
| - } |
10868 | 10881 | }
|
10869 | 10882 | ]
|
10870 | 10883 | }
|
|
0 commit comments