FSx / Client / exceptions / InvalidNetworkSettings

InvalidNetworkSettings#

class FSx.Client.exceptions.InvalidNetworkSettings#

One or more network settings specified in the request are invalid.

Example

try:
  ...
except client.exceptions.InvalidNetworkSettings as e:
  print(e.response)
response#

The parsed error response. All exceptions have a top level Error key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.

Syntax

{
    'Message': 'string',
    'InvalidSubnetId': 'string',
    'InvalidSecurityGroupId': 'string',
    'InvalidRouteTableId': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    One or more network settings specified in the request are invalid.

    • Message (string) –

      Error message explaining what’s wrong with network settings.

    • InvalidSubnetId (string) –

      The subnet ID that is either invalid or not part of the VPC specified.

    • InvalidSecurityGroupId (string) –

      The security group ID is either invalid or not part of the VPC specified.

    • InvalidRouteTableId (string) –

      The route table ID is either invalid or not part of the VPC specified.

    • Error (dict) – Normalized access to common exception attributes.

      • Code (string) – An identifier specifying the exception type.

      • Message (string) – A descriptive message explaining why the exception occured.