We are excited to announce our new API Documentation.
Protected
Modifies an existing subnet group.
Use a bare-bones client and the command you need to make an API call.
import { DAXClient, UpdateSubnetGroupCommand } from "@aws-sdk/client-dax"; // ES Modules import// const { DAXClient, UpdateSubnetGroupCommand } = require("@aws-sdk/client-dax"); // CommonJS importconst client = new DAXClient(config);const input = { // UpdateSubnetGroupRequest SubnetGroupName: "STRING_VALUE", // required Description: "STRING_VALUE", SubnetIds: [ // SubnetIdentifierList "STRING_VALUE", ],};const command = new UpdateSubnetGroupCommand(input);const response = await client.send(command);// { // UpdateSubnetGroupResponse// SubnetGroup: { // SubnetGroup// SubnetGroupName: "STRING_VALUE",// Description: "STRING_VALUE",// VpcId: "STRING_VALUE",// Subnets: [ // SubnetList// { // Subnet// SubnetIdentifier: "STRING_VALUE",// SubnetAvailabilityZone: "STRING_VALUE",// },// ],// },// };
UpdateSubnetGroupCommandInput
UpdateSubnetGroupCommandOutput
input
response
config
InvalidSubnet (client fault)
An invalid subnet identifier was specified.
ServiceLinkedRoleNotFoundFault (client fault)
The specified service linked role (SLR) was not found.
SubnetGroupNotFoundFault (client fault)
The requested subnet group name does not refer to an existing subnet group.
SubnetInUse (client fault)
The requested subnet is being used by another subnet group.
SubnetQuotaExceededFault (client fault)
The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.
DAXServiceException
Base exception class for all service exceptions from DAX service.
Readonly
Static
Modifies an existing subnet group.
Example
Use a bare-bones client and the command you need to make an API call.
Param
UpdateSubnetGroupCommandInput
Returns
UpdateSubnetGroupCommandOutput
See
input
shape.response
shape.config
shape.Throws
InvalidSubnet (client fault)
An invalid subnet identifier was specified.
Throws
ServiceLinkedRoleNotFoundFault (client fault)
The specified service linked role (SLR) was not found.
Throws
SubnetGroupNotFoundFault (client fault)
The requested subnet group name does not refer to an existing subnet group.
Throws
SubnetInUse (client fault)
The requested subnet is being used by another subnet group.
Throws
SubnetQuotaExceededFault (client fault)
The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.
Throws
DAXServiceException
Base exception class for all service exceptions from DAX service.