S3Files / Client / get_mount_target

get_mount_target

S3Files.Client.get_mount_target(**kwargs)

Returns detailed resource information for the specified mount target including network configuration.

See also: AWS API Documentation

Request Syntax

response = client.get_mount_target(
    mountTargetId='string'
)
Parameters:

mountTargetId (string) –

[REQUIRED]

The ID of the mount target to retrieve information for.

Return type:

dict

Returns:

Response Syntax

{
    'availabilityZoneId': 'string',
    'ownerId': 'string',
    'mountTargetId': 'string',
    'fileSystemId': 'string',
    'subnetId': 'string',
    'ipv4Address': 'string',
    'ipv6Address': 'string',
    'networkInterfaceId': 'string',
    'vpcId': 'string',
    'securityGroups': [
        'string',
    ],
    'status': 'available'|'creating'|'deleting'|'deleted'|'error'|'updating',
    'statusMessage': 'string'
}

Response Structure

  • (dict) –

    • availabilityZoneId (string) –

      The Availability Zone ID where the mount target is located.

    • ownerId (string) –

      The Amazon Web Services account ID of the mount target owner.

    • mountTargetId (string) –

      The ID of the mount target.

    • fileSystemId (string) –

      The ID of the file system.

    • subnetId (string) –

      The ID of the subnet where the mount target is located.

    • ipv4Address (string) –

      The IPv4 address of the mount target.

    • ipv6Address (string) –

      The IPv6 address of the mount target.

    • networkInterfaceId (string) –

      The ID of the network interface associated with the mount target.

    • vpcId (string) –

      The ID of the VPC where the mount target is located.

    • securityGroups (list) –

      The security groups associated with the mount target.

      • (string) –

    • status (string) –

      The current status of the mount target.

    • statusMessage (string) –

      Additional information about the mount target status.

Exceptions

  • S3Files.Client.exceptions.InternalServerException

  • S3Files.Client.exceptions.ResourceNotFoundException

  • S3Files.Client.exceptions.ThrottlingException

  • S3Files.Client.exceptions.ValidationException