AWS Storage Gateway

2014/12/17 - AWS Storage Gateway - 2 new 1 updated api methods

ResetCache (new) Link ¶

This operation resets all cache disks and makes the disks available for reconfiguration as cache storage. When a cache is reset, the gateway loses its cache storage. At this point you can reconfigure the disks as cache disks.

Request Syntax

client.reset_cache(
    GatewayARN='string'
)
type GatewayARN

string

param GatewayARN

[REQUIRED]

The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

rtype

dict

returns

Response Syntax

{
    'GatewayARN': 'string'
}

Response Structure

  • (dict) --

    • GatewayARN (string) --

      The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

UpdateVTLDeviceType (new) Link ¶

This operation updates the type of medium changer in a gateway-VTL. When you activate a gateway-VTL, you select a medium changer type for the gateway-VTL. This operation enables you to select a different type of medium changer after a gateway-VTL is activated.

Request Syntax

client.update_vtl_device_type(
    VTLDeviceARN='string',
    DeviceType='string'
)
type VTLDeviceARN

string

param VTLDeviceARN

[REQUIRED]

The Amazon Resource Name (ARN) of the medium changer you want to select.

type DeviceType

string

param DeviceType

[REQUIRED]

The type of medium changer you want to select.

Valid Values : "STK-L700", "AWS-Gateway-VTL"

rtype

dict

returns

Response Syntax

{
    'VTLDeviceARN': 'string'
}

Response Structure

  • (dict) --

    UpdateVTLDeviceTypeOutput

    • VTLDeviceARN (string) --

      The Amazon Resource Name (ARN) of the medium changer you have selected.

ListLocalDisks (updated) Link ¶
Changes (response)
{'Disks': {'DiskStatus': 'string'}}

This operation returns a list of the gateway's local disks. To specify which gateway to describe, you use the Amazon Resource Name (ARN) of the gateway in the body of the request.

The request returns a list of all disks, specifying which are configured as working storage, cache storage, or stored volume or not configured at all. The response includes a DiskStatus field. This field can have a value of present (the disk is availble to use), missing (the disk is no longer connected to the gateway), or mismatch (the disk node is occupied by a disk that has incorrect metadata or the disk content is corrupted).

Request Syntax

client.list_local_disks(
    GatewayARN='string'
)
type GatewayARN

string

param GatewayARN

[REQUIRED]

The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

rtype

dict

returns

Response Syntax

{
    'GatewayARN': 'string',
    'Disks': [
        {
            'DiskId': 'string',
            'DiskPath': 'string',
            'DiskNode': 'string',
            'DiskStatus': 'string',
            'DiskSizeInBytes': 123,
            'DiskAllocationType': 'string',
            'DiskAllocationResource': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • GatewayARN (string) --

      The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

    • Disks (list) --

      • (dict) --

        • DiskId (string) --

        • DiskPath (string) --

        • DiskNode (string) --

        • DiskStatus (string) --

        • DiskSizeInBytes (integer) --

        • DiskAllocationType (string) --

        • DiskAllocationResource (string) --