Module Smaws_Client_StorageGateway.Types

type nonrec string_ = string
type nonrec long = Smaws_Lib.CoreTypes.Int64.t
type nonrec integer = int
type nonrec error_details = (string_ * string_) list
type nonrec double = float
type nonrec target_ar_n = string
type nonrec network_interface_id = string
type nonrec positive_int_object = int
type nonrec boolean2 = bool
type nonrec volumei_scsi_attributes = {
  1. chap_enabled : boolean2 option;
    (*

    Indicates whether mutual CHAP is enabled for the iSCSI target.

    *)
  2. lun_number : positive_int_object option;
    (*

    The logical disk number.

    *)
  3. network_interface_port : integer option;
    (*

    The port used to communicate with iSCSI targets.

    *)
  4. network_interface_id : network_interface_id option;
    (*

    The network interface identifier.

    *)
  5. target_ar_n : target_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the volume target.

    *)
}

Lists iSCSI information about a volume.

type nonrec volume_used_in_bytes = Smaws_Lib.CoreTypes.Int64.t
type nonrec volume_type = string
type nonrec volume_status = string
type nonrec volume_ar_n = string
type nonrec volume_recovery_point_info = {
  1. volume_recovery_point_time : string_ option;
    (*

    The time the recovery point was taken.

    *)
  2. volume_usage_in_bytes : long option;
    (*

    The size of the data stored on the volume in bytes.

    This value is not available for volumes created prior to May 13, 2015, until you store data on the volume.

    *)
  3. volume_size_in_bytes : long option;
    (*

    The size of the volume in bytes.

    *)
  4. volume_ar_n : volume_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the volume target.

    *)
}

Describes a storage volume recovery point object.

type nonrec volume_recovery_point_infos = volume_recovery_point_info list
type nonrec volume_id = string
type nonrec gateway_ar_n = string
type nonrec gateway_id = string
type nonrec volume_attachment_status = string
type nonrec volume_info = {
  1. volume_attachment_status : volume_attachment_status option;
    (*

    One of the VolumeStatus values that indicates the state of the storage volume.

    *)
  2. volume_size_in_bytes : long option;
    (*

    The size of the volume in bytes.

    Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

    *)
  3. volume_type : volume_type option;
    (*

    One of the VolumeType enumeration values describing the type of the volume.

    *)
  4. gateway_id : gateway_id option;
    (*

    The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.

    Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

    *)
  5. gateway_ar_n : gateway_ar_n option;
  6. volume_id : volume_id option;
    (*

    The unique identifier assigned to the volume. This ID becomes part of the volume Amazon Resource Name (ARN), which you use as input for other operations.

    Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

    *)
  7. volume_ar_n : volume_ar_n option;
    (*

    The Amazon Resource Name (ARN) for the storage volume. For example, the following is a valid ARN:

    arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB

    Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

    *)
}

Describes a storage volume object.

type nonrec volume_infos = volume_info list
type nonrec volume_ar_ns = volume_ar_n list
type nonrec vtl_device_ar_n = string
type nonrec vtl_device_type = string
type nonrec vtl_device_vendor = string
type nonrec vtl_device_product_identifier = string
type nonrec devicei_scsi_attributes = {
  1. chap_enabled : boolean2 option;
    (*

    Indicates whether mutual CHAP is enabled for the iSCSI target.

    *)
  2. network_interface_port : integer option;
    (*

    The port used to communicate with iSCSI VTL device targets.

    *)
  3. network_interface_id : network_interface_id option;
    (*

    The network interface identifier of the VTL device.

    *)
  4. target_ar_n : target_ar_n option;
    (*

    Specifies the unique Amazon Resource Name (ARN) that encodes the iSCSI qualified name(iqn) of a tape drive or media changer target.

    *)
}

Lists iSCSI information about a VTL device.

type nonrec vtl_device = {
  1. devicei_scsi_attributes : devicei_scsi_attributes option;
    (*

    A list of iSCSI information about a VTL device.

    *)
  2. vtl_device_product_identifier : vtl_device_product_identifier option;
    (*

    Specifies the model number of device that the VTL device emulates.

    *)
  3. vtl_device_vendor : vtl_device_vendor option;
    (*

    Specifies the vendor of the device that the VTL device object emulates.

    *)
  4. vtl_device_type : vtl_device_type option;
    (*

    Specifies the type of device that the VTL device emulates.

    *)
  5. vtl_device_ar_n : vtl_device_ar_n option;
    (*

    Specifies the unique Amazon Resource Name (ARN) of the device (tape drive or media changer).

    *)
}

Represents a device object associated with a tape gateway.

type nonrec vtl_devices = vtl_device list
type nonrec vtl_device_ar_ns = vtl_device_ar_n list
type nonrec user_list_user = string
type nonrec user_list = user_list_user list
type nonrec update_vtl_device_type_output = {
  1. vtl_device_ar_n : vtl_device_ar_n option;
    (*

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

    *)
}

UpdateVTLDeviceTypeOutput

type nonrec device_type = string
type nonrec update_vtl_device_type_input = {
  1. device_type : device_type;
    (*

    The type of medium changer you want to select.

    Valid Values: STK-L700 | AWS-Gateway-VTL | IBM-03584L32-0402

    *)
  2. vtl_device_ar_n : vtl_device_ar_n;
    (*

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

    *)
}
type nonrec error_code =
  1. | VolumeNotReady
  2. | VolumeNotFound
  3. | VolumeInUse
  4. | VolumeIdInvalid
  5. | VolumeAlreadyExists
  6. | UnauthorizedOperation
  7. | TargetNotFound
  8. | TargetInvalid
  9. | TargetAlreadyExists
  10. | TapeCartridgeNotFound
  11. | StorageFailure
  12. | StagingAreaFull
  13. | SnapshotScheduleNotFound
  14. | SnapshotNotFound
  15. | SnapshotInProgress
  16. | SnapshotIdInvalid
  17. | SnapshotDeleted
  18. | ServiceUnavailable
  19. | RequestTimeout
  20. | RegionInvalid
  21. | ParametersNotImplemented
  22. | OutdatedGateway
  23. | OperationAborted
  24. | NotSupported
  25. | NotImplemented
  26. | NoDisksAvailable
  27. | NetworkConfigurationChanged
  28. | MaximumVolumeCountExceeded
  29. | MaximumTapeCartridgeCountExceeded
  30. | MaximumContentLengthExceeded
  31. | JoinDomainInProgress
  32. | LunInvalid
  33. | LunAlreadyAllocated_
  34. | LocalStorageLimitExceeded
  35. | InvalidSchedule
  36. | InvalidParameters
  37. | InvalidEndpoint
  38. | InvalidGateway
  39. | InternalError
  40. | InitiatorNotFound
  41. | InitiatorInvalid
  42. | IAMNotSupported
  43. | EndpointNotFound
  44. | DuplicateSchedule
  45. | DuplicateCertificateInfo
  46. | DiskSizeNotGigAligned
  47. | DiskSizeLessThanVolumeSize
  48. | DiskSizeGreaterThanVolumeMaxSize
  49. | DiskDoesNotExist
  50. | DiskAlreadyAllocated
  51. | ChapCredentialNotFound
  52. | CannotExportSnapshot
  53. | Blocked
  54. | BandwidthThrottleScheduleNotFound
  55. | AuthenticationFailure
  56. | GatewayProxyNetworkConnectionBusy
  57. | GatewayNotFound
  58. | GatewayNotConnected
  59. | GatewayInternalError
  60. | ActivationKeyNotFound
  61. | ActivationKeyInvalid
  62. | ActivationKeyExpired
type nonrec storage_gateway_error = {
  1. error_details : error_details option;
    (*

    Human-readable text that provides detail about the error that occurred.

    *)
  2. error_code : error_code option;
    (*

    Additional information about the error.

    *)
}

Provides additional information about an error that was returned by the service. See the errorCode and errorDetails members for more information about the error.

type nonrec invalid_gateway_request_exception = {
  1. error : storage_gateway_error option;
    (*

    A StorageGatewayError that provides more detail about the cause of the error.

    *)
  2. message : string_ option;
    (*

    A human-readable message describing the error that occurred.

    *)
}

An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.

type nonrec internal_server_error = {
  1. error : storage_gateway_error option;
    (*

    A StorageGatewayError that provides more information about the cause of the error.

    *)
  2. message : string_ option;
    (*

    A human-readable message describing the error that occurred.

    *)
}

An internal server error has occurred during the request. For more information, see the error and message fields.

type nonrec update_snapshot_schedule_output = {
  1. volume_ar_n : volume_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

    *)
}

A JSON object containing the Amazon Resource Name (ARN) of the updated storage volume.

type nonrec hour_of_day = int
type nonrec recurrence_in_hours = int
type nonrec description = string
type nonrec tag_key = string
type nonrec tag_value = string
type nonrec tag = {
  1. value : tag_value;
    (*

    Value of the tag key.

    *)
  2. key : tag_key;
    (*

    Tag key. The key can't start with aws:.

    *)
}

A key-value pair that helps you manage, filter, and search for your resource. Allowed characters: letters, white space, and numbers, representable in UTF-8, and the following characters: + - = . _ : /.

type nonrec tags = tag list
type nonrec update_snapshot_schedule_input = {
  1. tags : tags option;
    (*

    A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value pair.

    Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.

    *)
  2. description : description option;
    (*

    Optional description of the snapshot that overwrites the existing description.

    *)
  3. recurrence_in_hours : recurrence_in_hours;
    (*

    Frequency of snapshots. Specify the number of hours between snapshots.

    *)
  4. start_at : hour_of_day;
    (*

    The hour of the day at which the snapshot schedule begins represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.

    *)
  5. volume_ar_n : volume_ar_n;
    (*

    The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

    *)
}

A JSON object containing one or more of the following fields:

  • UpdateSnapshotScheduleInput$Description
  • UpdateSnapshotScheduleInput$RecurrenceInHours
  • UpdateSnapshotScheduleInput$StartAt
  • UpdateSnapshotScheduleInput$VolumeARN
type nonrec update_smb_security_strategy_output = {
  1. gateway_ar_n : gateway_ar_n option;
}
type nonrec smb_security_strategy =
  1. | MandatoryEncryptionNoAes128
  2. | MandatoryEncryption
  3. | MandatorySigning
  4. | ClientSpecified
type nonrec update_smb_security_strategy_input = {
  1. smb_security_strategy : smb_security_strategy;
    (*

    Specifies the type of security strategy.

    ClientSpecified: If you choose this option, requests are established based on what is negotiated by the client. This option is recommended when you want to maximize compatibility across different clients in your environment. Supported only for S3 File Gateway.

    MandatorySigning: If you choose this option, File Gateway only allows connections from SMBv2 or SMBv3 clients that have signing enabled. This option works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or newer.

    MandatoryEncryption: If you choose this option, File Gateway only allows connections from SMBv3 clients that have encryption enabled. This option is recommended for environments that handle sensitive data. This option works with SMB clients on Microsoft Windows 8, Windows Server 2012 or newer.

    MandatoryEncryptionNoAes128: If you choose this option, File Gateway only allows connections from SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later.

    *)
  2. gateway_ar_n : gateway_ar_n;
}
type nonrec update_smb_local_groups_output = {
  1. gateway_ar_n : gateway_ar_n option;
}
type nonrec smb_local_groups = {
  1. gateway_admins : user_list option;
    (*

    A list of Active Directory users and groups that have local Gateway Admin permissions. Acceptable formats include: DOMAIN\User1, user1, DOMAIN\group1, and group1.

    Gateway Admins can use the Shared Folders Microsoft Management Console snap-in to force-close files that are open and locked.

    *)
}

A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.

type nonrec update_smb_local_groups_input = {
  1. smb_local_groups : smb_local_groups;
    (*

    A list of Active Directory users and groups that you want to grant special permissions for SMB file shares on the gateway.

    *)
  2. gateway_ar_n : gateway_ar_n;
}
type nonrec update_smb_file_share_visibility_output = {
  1. gateway_ar_n : gateway_ar_n option;
}
type nonrec boolean_ = bool
type nonrec update_smb_file_share_visibility_input = {
  1. file_shares_visible : boolean_;
    (*

    The shares on this gateway appear when listing shares.

    *)
  2. gateway_ar_n : gateway_ar_n;
}
type nonrec file_share_ar_n = string
type nonrec update_smb_file_share_output = {
  1. file_share_ar_n : file_share_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the updated SMB file share.

    *)
}

UpdateSMBFileShareOutput

type nonrec encryption_type =
  1. | DsseKms
  2. | SseKms
  3. | SseS3
type nonrec kms_key = string
type nonrec storage_class = string
type nonrec object_ac_l =
  1. | Aws_exec_read
  2. | Bucket_owner_full_control
  3. | Bucket_owner_read
  4. | Authenticated_read
  5. | Public_read_write
  6. | Public_read
  7. | Private

A value that sets the access control list (ACL) permission for objects in the S3 bucket that an S3 File Gateway puts objects into. The default value is private.

type nonrec audit_destination_ar_n = string
type nonrec case_sensitivity =
  1. | CaseSensitive
  2. | ClientSpecified
type nonrec file_share_name = string
type nonrec cache_stale_timeout_in_seconds = int
type nonrec cache_attributes = {
  1. cache_stale_timeout_in_seconds : cache_stale_timeout_in_seconds option;
    (*

    Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of time since the last refresh after which access to the directory would cause the file gateway to first refresh that directory's contents from the Amazon S3 bucket or Amazon FSx file system. The TTL duration is in seconds.

    Valid Values:0, 300 to 2,592,000 seconds (5 minutes to 30 days)

    *)
}

The refresh cache information for the file share or FSx file systems.

type nonrec notification_policy = string
type nonrec update_smb_file_share_input = {
  1. oplocks_enabled : boolean_ option;
    (*

    Specifies whether opportunistic locking is enabled for the SMB file share.

    Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve access to files with the same name in different case.

    Valid Values: true | false

    *)
  2. notification_policy : notification_policy option;
    (*

    The notification policy of the file share. SettlingTimeInSeconds controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.

    SettlingTimeInSeconds has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.

    This setting is not meant to specify an exact time at which the notification will be sent. In some cases, the gateway might require more than the specified delay time to generate and send notifications.

    The following example sets NotificationPolicy on with SettlingTimeInSeconds set to 60.

    {\"Upload\": {\"SettlingTimeInSeconds\": 60}}

    The following example sets NotificationPolicy off.

    {}

    *)
  3. cache_attributes : cache_attributes option;
    (*

    Specifies refresh cache information for the file share.

    *)
  4. file_share_name : file_share_name option;
    (*

    The name of the file share. Optional.

    FileShareName must be set if an S3 prefix name is set in LocationARN, or if an access point or access point alias is used.

    A valid SMB file share name cannot contain the following characters: [,],#,;,<,>,:,",],[/],[|],[?],[*],[+], or ASCII control characters [1-31].

    *)
  5. case_sensitivity : case_sensitivity option;
    (*

    The case of an object name in an Amazon S3 bucket. For ClientSpecified, the client determines the case sensitivity. For CaseSensitive, the gateway determines the case sensitivity. The default value is ClientSpecified.

    *)
  6. audit_destination_ar_n : audit_destination_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the storage used for audit logs.

    *)
  7. invalid_user_list : user_list option;
    (*

    A list of users or groups in the Active Directory that are not allowed to access the file share. A group must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1, user1, @group1, and @DOMAIN\group1. Can only be set if Authentication is set to ActiveDirectory.

    *)
  8. valid_user_list : user_list option;
    (*

    A list of users or groups in the Active Directory that are allowed to access the file share. A group must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1, user1, @group1, and @DOMAIN\group1. Can only be set if Authentication is set to ActiveDirectory.

    *)
  9. admin_user_list : user_list option;
    (*

    A list of users or groups in the Active Directory that have administrator rights to the file share. A group must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1, user1, @group1, and @DOMAIN\group1. Can only be set if Authentication is set to ActiveDirectory.

    *)
  10. access_based_enumeration : boolean_ option;
    (*

    The files and folders on this share will only be visible to users with read access.

    *)
  11. smbacl_enabled : boolean_ option;
    (*

    Set this value to true to enable access control list (ACL) on the SMB file share. Set it to false to map file and directory permissions to the POSIX permissions.

    For more information, see Using Windows ACLs to limit SMB file share access in the Amazon S3 File Gateway User Guide.

    Valid Values: true | false

    *)
  12. requester_pays : boolean_ option;
    (*

    A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket. If this value is set to true, the requester pays the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays the cost of storing data.

    RequesterPays is a configuration for the S3 bucket that backs the file share, so make sure that the configuration on the file share is the same as the S3 bucket configuration.

    Valid Values: true | false

    *)
  13. guess_mime_type_enabled : boolean_ option;
    (*

    A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to true to enable MIME type guessing, otherwise set to false. The default value is true.

    Valid Values: true | false

    *)
  14. read_only : boolean_ option;
    (*

    A value that sets the write status of a file share. Set this value to true to set write status to read-only, otherwise set to false.

    Valid Values: true | false

    *)
  15. object_ac_l : object_ac_l option;
    (*

    A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 File Gateway puts objects into. The default value is private.

    *)
  16. default_storage_class : storage_class option;
    (*

    The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_STANDARD. Optional.

    Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA

    *)
  17. kms_key : kms_key option;
    (*

    Optional. The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value must be set if KMSEncrypted is true, or if EncryptionType is SseKms or DsseKms.

    *)
  18. kms_encrypted : boolean_ option;
    (*

    Optional. Set to true to use Amazon S3 server-side encryption with your own KMS key (SSE-KMS), or false to use a key managed by Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the EncryptionType parameter instead.

    We recommend using EncryptionType instead of KMSEncrypted to set the file share encryption method. You do not need to provide values for both parameters.

    If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType is SseS3, then KMSEncrypted must be false. If EncryptionType is SseKms or DsseKms, then KMSEncrypted must be true.

    Valid Values: true | false

    *)
  19. encryption_type : encryption_type option;
    (*

    A value that specifies the type of server-side encryption that the file share will use for the data that it stores in Amazon S3.

    We recommend using EncryptionType instead of KMSEncrypted to set the file share encryption method. You do not need to provide values for both parameters.

    If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType is SseS3, then KMSEncrypted must be false. If EncryptionType is SseKms or DsseKms, then KMSEncrypted must be true.

    *)
  20. file_share_ar_n : file_share_ar_n;
    (*

    The Amazon Resource Name (ARN) of the SMB file share that you want to update.

    *)
}

UpdateSMBFileShareInput

type nonrec update_nfs_file_share_output = {
  1. file_share_ar_n : file_share_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the updated file share.

    *)
}

UpdateNFSFileShareOutput

type nonrec permission_mode = string
type nonrec permission_id = Smaws_Lib.CoreTypes.Int64.t
type nonrec nfs_file_share_defaults = {
  1. owner_id : permission_id option;
    (*

    The default owner ID for files in the file share (unless the files have another owner ID specified). The default value is nfsnobody.

    *)
  2. group_id : permission_id option;
    (*

    The default group ID for the file share (unless the files have another group ID specified). The default value is nfsnobody.

    *)
  3. directory_mode : permission_mode option;
    (*

    The Unix directory mode in the form "nnnn". For example, 0666 represents the default access mode for all directories inside the file share. The default value is 0777.

    *)
  4. file_mode : permission_mode option;
    (*

    The Unix file mode in the form "nnnn". For example, 0666 represents the default file mode inside the file share. The default value is 0666.

    *)
}

Describes Network File System (NFS) file share default values. Files and folders stored as Amazon S3 objects in S3 buckets don't, by default, have Unix file permissions assigned to them. Upon discovery in an S3 bucket by Storage Gateway, the S3 objects that represent files and folders are assigned these default Unix permissions. This operation is only supported for S3 File Gateways.

type nonrec ipv4_or_ipv6_address_cid_r = string
type nonrec file_share_client_list = ipv4_or_ipv6_address_cid_r list
type nonrec squash = string
type nonrec update_nfs_file_share_input = {
  1. audit_destination_ar_n : audit_destination_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the storage used for audit logs.

    *)
  2. notification_policy : notification_policy option;
    (*

    The notification policy of the file share. SettlingTimeInSeconds controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.

    SettlingTimeInSeconds has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.

    This setting is not meant to specify an exact time at which the notification will be sent. In some cases, the gateway might require more than the specified delay time to generate and send notifications.

    The following example sets NotificationPolicy on with SettlingTimeInSeconds set to 60.

    {\"Upload\": {\"SettlingTimeInSeconds\": 60}}

    The following example sets NotificationPolicy off.

    {}

    *)
  3. cache_attributes : cache_attributes option;
    (*

    Specifies refresh cache information for the file share.

    *)
  4. file_share_name : file_share_name option;
    (*

    The name of the file share. Optional.

    FileShareName must be set if an S3 prefix name is set in LocationARN, or if an access point or access point alias is used.

    A valid NFS file share name can only contain the following characters: a-z, A-Z, 0-9, -, ., and _.

    *)
  5. requester_pays : boolean_ option;
    (*

    A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket. If this value is set to true, the requester pays the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays the cost of storing data.

    RequesterPays is a configuration for the S3 bucket that backs the file share, so make sure that the configuration on the file share is the same as the S3 bucket configuration.

    Valid Values: true | false

    *)
  6. guess_mime_type_enabled : boolean_ option;
    (*

    A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to true to enable MIME type guessing, otherwise set to false. The default value is true.

    Valid Values: true | false

    *)
  7. read_only : boolean_ option;
    (*

    A value that sets the write status of a file share. Set this value to true to set the write status to read-only, otherwise set to false.

    Valid Values: true | false

    *)
  8. squash : squash option;
    (*

    The user mapped to anonymous user.

    Valid values are the following:

    • RootSquash: Only root is mapped to anonymous user.
    • NoSquash: No one is mapped to anonymous user.
    • AllSquash: Everyone is mapped to anonymous user.
    *)
  9. client_list : file_share_client_list option;
    (*

    The list of clients that are allowed to access the S3 File Gateway. The list must contain either valid IPv4/IPv6 addresses or valid CIDR blocks.

    *)
  10. object_ac_l : object_ac_l option;
    (*

    A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 File Gateway puts objects into. The default value is private.

    *)
  11. default_storage_class : storage_class option;
    (*

    The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_STANDARD. Optional.

    Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA

    *)
  12. nfs_file_share_defaults : nfs_file_share_defaults option;
    (*

    The default values for the file share. Optional.

    *)
  13. kms_key : kms_key option;
    (*

    Optional. The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value must be set if KMSEncrypted is true, or if EncryptionType is SseKms or DsseKms.

    *)
  14. kms_encrypted : boolean_ option;
    (*

    Optional. Set to true to use Amazon S3 server-side encryption with your own KMS key (SSE-KMS), or false to use a key managed by Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the EncryptionType parameter instead.

    We recommend using EncryptionType instead of KMSEncrypted to set the file share encryption method. You do not need to provide values for both parameters.

    If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType is SseS3, then KMSEncrypted must be false. If EncryptionType is SseKms or DsseKms, then KMSEncrypted must be true.

    Valid Values: true | false

    *)
  15. encryption_type : encryption_type option;
    (*

    A value that specifies the type of server-side encryption that the file share will use for the data that it stores in Amazon S3.

    We recommend using EncryptionType instead of KMSEncrypted to set the file share encryption method. You do not need to provide values for both parameters.

    If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType is SseS3, then KMSEncrypted must be false. If EncryptionType is SseKms or DsseKms, then KMSEncrypted must be true.

    *)
  16. file_share_ar_n : file_share_ar_n;
    (*

    The Amazon Resource Name (ARN) of the file share to be updated.

    *)
}

UpdateNFSFileShareInput

type nonrec update_maintenance_start_time_output = {
  1. gateway_ar_n : gateway_ar_n option;
}

A JSON object containing the Amazon Resource Name (ARN) of the gateway whose maintenance start time is updated.

type nonrec minute_of_hour = int
type nonrec day_of_week = int
type nonrec day_of_month = int
type nonrec automatic_update_policy =
  1. | EMERGENCY_VERSIONS_ONLY
  2. | ALL_VERSIONS
type nonrec software_update_preferences = {
  1. automatic_update_policy : automatic_update_policy option;
    (*

    Indicates the automatic update policy for a gateway.

    ALL_VERSIONS - Enables regular gateway maintenance updates.

    EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance updates. The gateway will still receive emergency version updates on rare occasions if necessary to remedy highly critical security or durability issues. You will be notified before an emergency version update is applied. These updates are applied during your gateway's scheduled maintenance window.

    *)
}

A set of variables indicating the software update preferences for the gateway.

type nonrec update_maintenance_start_time_input = {
  1. software_update_preferences : software_update_preferences option;
    (*

    A set of variables indicating the software update preferences for the gateway.

    Includes AutomaticUpdatePolicy field with the following inputs:

    ALL_VERSIONS - Enables regular gateway maintenance updates.

    EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance updates. The gateway will still receive emergency version updates on rare occasions if necessary to remedy highly critical security or durability issues. You will be notified before an emergency version update is applied. These updates are applied during your gateway's scheduled maintenance window.

    *)
  2. day_of_month : day_of_month option;
    (*

    The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month. It is not possible to set the maintenance schedule to start on days 29 through 31.

    *)
  3. day_of_week : day_of_week option;
    (*

    The day of the week component of the maintenance start time week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 represents Saturday.

    *)
  4. minute_of_hour : minute_of_hour option;
    (*

    The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59). The minute of the hour is in the time zone of the gateway.

    *)
  5. hour_of_day : hour_of_day option;
    (*

    The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23). The hour of the day is in the time zone of the gateway.

    *)
  6. gateway_ar_n : gateway_ar_n;
}

A JSON object containing the following fields:

  • UpdateMaintenanceStartTimeInput$SoftwareUpdatePreferences
  • UpdateMaintenanceStartTimeInput$DayOfMonth
  • UpdateMaintenanceStartTimeInput$DayOfWeek
  • UpdateMaintenanceStartTimeInput$HourOfDay
  • UpdateMaintenanceStartTimeInput$MinuteOfHour
type nonrec update_gateway_software_now_output = {
  1. gateway_ar_n : gateway_ar_n option;
}

A JSON object containing the Amazon Resource Name (ARN) of the gateway that was updated.

type nonrec update_gateway_software_now_input = {
  1. gateway_ar_n : gateway_ar_n;
}

A JSON object containing the Amazon Resource Name (ARN) of the gateway to update.

type nonrec update_gateway_information_output = {
  1. gateway_name : string_ option;
    (*

    The name you configured for your gateway.

    *)
  2. gateway_ar_n : gateway_ar_n option;
}

A JSON object containing the Amazon Resource Name (ARN) of the gateway that was updated.

type nonrec gateway_name = string
type nonrec gateway_timezone = string
type nonrec cloud_watch_log_group_ar_n = string
type nonrec gateway_capacity =
  1. | Large
  2. | Medium
  3. | Small
type nonrec update_gateway_information_input = {
  1. gateway_capacity : gateway_capacity option;
    (*

    Specifies the size of the gateway's metadata cache. This setting impacts gateway performance and hardware recommendations. For more information, see Performance guidance for gateways with multiple file shares in the Amazon S3 File Gateway User Guide.

    *)
  2. cloud_watch_log_group_ar_n : cloud_watch_log_group_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that you want to use to monitor and log events in the gateway.

    For more information, see What is Amazon CloudWatch Logs?

    *)
  3. gateway_timezone : gateway_timezone option;
    (*

    A value that indicates the time zone of the gateway.

    *)
  4. gateway_name : gateway_name option;
  5. gateway_ar_n : gateway_ar_n;
}
type nonrec file_system_association_ar_n = string
type nonrec update_file_system_association_output = {
  1. file_system_association_ar_n : file_system_association_ar_n option;
    (*

    The ARN of the updated file system association.

    *)
}
type nonrec domain_user_name = string
type nonrec domain_user_password = string
type nonrec update_file_system_association_input = {
  1. cache_attributes : cache_attributes option;
  2. audit_destination_ar_n : audit_destination_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the storage used for the audit logs.

    *)
  3. password : domain_user_password option;
    (*

    The password of the user credential.

    *)
  4. user_name : domain_user_name option;
    (*

    The user name of the user credential that has permission to access the root share D$ of the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin user group.

    *)
  5. file_system_association_ar_n : file_system_association_ar_n;
    (*

    The Amazon Resource Name (ARN) of the file system association that you want to update.

    *)
}
type nonrec iqn_name = string
type nonrec update_chap_credentials_output = {
  1. initiator_name : iqn_name option;
    (*

    The iSCSI initiator that connects to the target. This is the same initiator name specified in the request.

    *)
  2. target_ar_n : target_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the target. This is the same target specified in the request.

    *)
}

A JSON object containing the following fields:

type nonrec chap_secret = string
type nonrec update_chap_credentials_input = {
  1. secret_to_authenticate_target : chap_secret option;
    (*

    The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).

    Byte constraints: Minimum bytes of 12. Maximum bytes of 16.

    The secret key must be between 12 and 16 bytes when encoded in UTF-8.

    *)
  2. initiator_name : iqn_name;
    (*

    The iSCSI initiator that connects to the target.

    *)
  3. secret_to_authenticate_initiator : chap_secret;
    (*

    The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.

    The secret key must be between 12 and 16 bytes when encoded in UTF-8.

    *)
  4. target_ar_n : target_ar_n;
    (*

    The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.

    *)
}

A JSON object containing one or more of the following fields:

  • UpdateChapCredentialsInput$InitiatorName
  • UpdateChapCredentialsInput$SecretToAuthenticateInitiator
  • UpdateChapCredentialsInput$SecretToAuthenticateTarget
  • UpdateChapCredentialsInput$TargetARN
type nonrec update_bandwidth_rate_limit_schedule_output = {
  1. gateway_ar_n : gateway_ar_n option;
}
type nonrec days_of_week = day_of_week list
type nonrec bandwidth_upload_rate_limit = Smaws_Lib.CoreTypes.Int64.t
type nonrec bandwidth_download_rate_limit = Smaws_Lib.CoreTypes.Int64.t
type nonrec bandwidth_rate_limit_interval = {
  1. average_download_rate_limit_in_bits_per_sec : bandwidth_download_rate_limit option;
    (*

    The average download rate limit component of the bandwidth rate limit interval, in bits per second. This field does not appear in the response if the download rate limit is not set.

    S3 File Gateway does not support this feature.

    *)
  2. average_upload_rate_limit_in_bits_per_sec : bandwidth_upload_rate_limit option;
    (*

    The average upload rate limit component of the bandwidth rate limit interval, in bits per second. This field does not appear in the response if the upload rate limit is not set.

    For Tape Gateway and Volume Gateway, the minimum value is 51200.

    This field is required for S3 File Gateway, and the minimum value is 104857600.

    *)
  3. days_of_week : days_of_week;
    (*

    The days of the week component of the bandwidth rate limit interval, represented as ordinal numbers from 0 to 6, where 0 represents Sunday and 6 represents Saturday.

    *)
  4. end_minute_of_hour : minute_of_hour;
    (*

    The minute of the hour to end the bandwidth rate limit interval.

    The bandwidth rate limit interval ends at the end of the minute. To end an interval at the end of an hour, use the value 59.

    *)
  5. end_hour_of_day : hour_of_day;
    (*

    The hour of the day to end the bandwidth rate limit interval.

    *)
  6. start_minute_of_hour : minute_of_hour;
    (*

    The minute of the hour to start the bandwidth rate limit interval. The interval begins at the start of that minute. To begin an interval exactly at the start of the hour, use the value 0.

    *)
  7. start_hour_of_day : hour_of_day;
    (*

    The hour of the day to start the bandwidth rate limit interval.

    *)
}

Describes a bandwidth rate limit interval for a gateway. A bandwidth rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit interval defines a period of time on one or more days of the week, during which bandwidth rate limits are specified for uploading, downloading, or both.

FSx File Gateway does not support this feature.

type nonrec bandwidth_rate_limit_intervals = bandwidth_rate_limit_interval list
type nonrec update_bandwidth_rate_limit_schedule_input = {
  1. bandwidth_rate_limit_intervals : bandwidth_rate_limit_intervals;
    (*

    An array containing bandwidth rate limit schedule intervals for a gateway. When no bandwidth rate limit intervals have been scheduled, the array is empty.

    *)
  2. gateway_ar_n : gateway_ar_n;
}
type nonrec update_bandwidth_rate_limit_output = {
  1. gateway_ar_n : gateway_ar_n option;
}

A JSON object containing the Amazon Resource Name (ARN) of the gateway whose throttle information was updated.

type nonrec update_bandwidth_rate_limit_input = {
  1. average_download_rate_limit_in_bits_per_sec : bandwidth_download_rate_limit option;
    (*

    The average download bandwidth rate limit in bits per second.

    *)
  2. average_upload_rate_limit_in_bits_per_sec : bandwidth_upload_rate_limit option;
    (*

    The average upload bandwidth rate limit in bits per second.

    *)
  3. gateway_ar_n : gateway_ar_n;
}

A JSON object containing one or more of the following fields:

  • UpdateBandwidthRateLimitInput$AverageDownloadRateLimitInBitsPerSec
  • UpdateBandwidthRateLimitInput$AverageUploadRateLimitInBitsPerSec
type nonrec update_automatic_tape_creation_policy_output = {
  1. gateway_ar_n : gateway_ar_n option;
}
type nonrec tape_barcode_prefix = string
type nonrec pool_id = string
type nonrec tape_size = Smaws_Lib.CoreTypes.Int64.t
type nonrec minimum_num_tapes = int
type nonrec automatic_tape_creation_rule = {
  1. worm : boolean2 option;
    (*

    Set to true to indicate that tapes are to be archived as write-once-read-many (WORM). Set to false when WORM is not enabled for tapes.

    *)
  2. minimum_num_tapes : minimum_num_tapes;
    (*

    The minimum number of available virtual tapes that the gateway maintains at all times. If the number of tapes on the gateway goes below this value, the gateway creates as many new tapes as are needed to have MinimumNumTapes on the gateway. For more information about automatic tape creation, see Creating Tapes Automatically.

    *)
  3. tape_size_in_bytes : tape_size;
    (*

    The size, in bytes, of the virtual tape capacity.

    *)
  4. pool_id : pool_id;
    (*

    The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

    *)
  5. tape_barcode_prefix : tape_barcode_prefix;
    (*

    A prefix that you append to the barcode of the virtual tape that you are creating. This prefix makes the barcode unique.

    The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.

    *)
}

An automatic tape creation policy consists of automatic tape creation rules where each rule defines when and how to create new tapes. For more information about automatic tape creation, see Creating Tapes Automatically.

type nonrec automatic_tape_creation_rules = automatic_tape_creation_rule list
type nonrec update_automatic_tape_creation_policy_input = {
  1. gateway_ar_n : gateway_ar_n;
  2. automatic_tape_creation_rules : automatic_tape_creation_rules;
    (*

    An automatic tape creation policy consists of a list of automatic tape creation rules. The rules determine when and how to automatically create new tapes.

    *)
}
type nonrec timeout_in_seconds = int
type nonrec time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec target_name = string
type nonrec tape_ar_n = string
type nonrec tape_barcode = string
type nonrec tape_status = string
type nonrec double_object = float
type nonrec tape_usage = Smaws_Lib.CoreTypes.Int64.t
type nonrec tape = {
  1. pool_entry_date : time option;
    (*

    The date that the tape enters a custom tape pool.

    *)
  2. retention_start_date : time option;
    (*

    The date that the tape is first archived with tape retention lock enabled.

    *)
  3. worm : boolean2 option;
    (*

    If the tape is archived as write-once-read-many (WORM), this value is true.

    *)
  4. pool_id : pool_id option;
    (*

    The ID of the pool that contains tapes that will be archived. The tapes in this pool are archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

    *)
  5. kms_key : kms_key option;
  6. tape_used_in_bytes : tape_usage option;
    (*

    The size, in bytes, of data stored on the virtual tape.

    This value is not available for tapes created prior to May 13, 2015.

    *)
  7. progress : double_object option;
    (*

    For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.

    Range: 0 (not started) to 100 (complete).

    *)
  8. vtl_device : vtl_device_ar_n option;
    (*

    The virtual tape library (VTL) device that the virtual tape is associated with.

    *)
  9. tape_status : tape_status option;
    (*

    The current state of the virtual tape.

    *)
  10. tape_size_in_bytes : tape_size option;
    (*

    The size, in bytes, of the virtual tape capacity.

    *)
  11. tape_created_date : time option;
    (*

    The date the virtual tape was created.

    *)
  12. tape_barcode : tape_barcode option;
    (*

    The barcode that identifies a specific virtual tape.

    *)
  13. tape_ar_n : tape_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the virtual tape.

    *)
}

Describes a virtual tape object.

type nonrec tapes = tape list
type nonrec tape_storage_class =
  1. | GLACIER
  2. | DEEP_ARCHIVE
type nonrec tape_recovery_point_status = string
type nonrec tape_recovery_point_info = {
  1. tape_status : tape_recovery_point_status option;
    (*

    The status of the virtual tapes.

    *)
  2. tape_size_in_bytes : tape_size option;
    (*

    The size, in bytes, of the virtual tapes to recover.

    *)
  3. tape_recovery_point_time : time option;
    (*

    The time when the point-in-time view of the virtual tape was replicated for later recovery.

    The default timestamp format of the tape recovery point time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

    *)
  4. tape_ar_n : tape_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the virtual tape.

    *)
}

Describes a recovery point.

type nonrec tape_recovery_point_infos = tape_recovery_point_info list
type nonrec tape_info = {
  1. pool_entry_date : time option;
    (*

    The date that the tape entered the custom tape pool with tape retention lock enabled.

    *)
  2. retention_start_date : time option;
    (*

    The date that the tape became subject to tape retention lock.

    *)
  3. pool_id : pool_id option;
    (*

    The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

    *)
  4. gateway_ar_n : gateway_ar_n option;
    (*

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

    *)
  5. tape_status : tape_status option;
    (*

    The status of the tape.

    *)
  6. tape_size_in_bytes : tape_size option;
    (*

    The size, in bytes, of a virtual tape.

    *)
  7. tape_barcode : tape_barcode option;
    (*

    The barcode that identifies a specific virtual tape.

    *)
  8. tape_ar_n : tape_ar_n option;
    (*

    The Amazon Resource Name (ARN) of a virtual tape.

    *)
}

Describes a virtual tape.

type nonrec tape_infos = tape_info list
type nonrec tape_drive_type = string
type nonrec tape_archive_status = string
type nonrec tape_archive = {
  1. pool_entry_date : time option;
    (*

    The time that the tape entered the custom tape pool.

    The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

    *)
  2. retention_start_date : time option;
    (*

    If the archived tape is subject to tape retention lock, the date that the archived tape started being retained.

    *)
  3. worm : boolean2 option;
    (*

    Set to true if the archived tape is stored as write-once-read-many (WORM).

    *)
  4. pool_id : pool_id option;
    (*

    The ID of the pool that was used to archive the tape. The tapes in this pool are archived in the S3 storage class that is associated with the pool.

    *)
  5. kms_key : kms_key option;
  6. tape_used_in_bytes : tape_usage option;
    (*

    The size, in bytes, of data stored on the virtual tape.

    This value is not available for tapes created prior to May 13, 2015.

    *)
  7. tape_status : tape_archive_status option;
    (*

    The current state of the archived virtual tape.

    *)
  8. retrieved_to : gateway_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being retrieved to.

    The virtual tape is retrieved from the virtual tape shelf (VTS).

    *)
  9. completion_time : time option;
    (*

    The time that the archiving of the virtual tape was completed.

    The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

    *)
  10. tape_size_in_bytes : tape_size option;
    (*

    The size, in bytes, of the archived virtual tape.

    *)
  11. tape_created_date : time option;
    (*

    The date the virtual tape was created.

    *)
  12. tape_barcode : tape_barcode option;
    (*

    The barcode that identifies the archived virtual tape.

    *)
  13. tape_ar_n : tape_ar_n option;
    (*

    The Amazon Resource Name (ARN) of an archived virtual tape.

    *)
}

Represents a virtual tape that is archived in the virtual tape shelf (VTS).

type nonrec tape_archives = tape_archive list
type nonrec tape_ar_ns = tape_ar_n list
type nonrec tag_keys = tag_key list
type nonrec supported_gateway_capacities = gateway_capacity list
type nonrec disk_id = string
type nonrec snapshot_id = string
type nonrec created_date = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec storedi_scsi_volume = {
  1. target_name : target_name option;
    (*

    The name of the iSCSI target used by an initiator to connect to a volume and used as a suffix for the target ARN. For example, specifying TargetName as myvolume results in the target ARN of arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. The target name must be unique across all volumes on a gateway.

    If you don't specify a value, Storage Gateway uses the value that was previously used for this volume as the new target name.

    *)
  2. kms_key : kms_key option;
  3. volume_used_in_bytes : volume_used_in_bytes option;
    (*

    The size of the data stored on the volume in bytes. This value is calculated based on the number of blocks that are touched, instead of the actual amount of data written. This value can be useful for sequential write patterns but less accurate for random write patterns. VolumeUsedInBytes is different from the compressed size of the volume, which is the value that is used to calculate your bill.

    This value is not available for volumes created prior to May 13, 2015, until you store data on the volume.

    *)
  4. created_date : created_date option;
    (*

    The date the volume was created. Volumes created prior to March 28, 2017 don’t have this timestamp.

    *)
  5. volumei_scsi_attributes : volumei_scsi_attributes option;
    (*

    An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.

    *)
  6. preserved_existing_data : boolean2 option;
    (*

    Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.

    Valid Values: true | false

    *)
  7. source_snapshot_id : snapshot_id option;
    (*

    If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-78e22663. Otherwise, this field is not included.

    *)
  8. volume_disk_id : disk_id option;
    (*

    The ID of the local disk that was specified in the CreateStorediSCSIVolume operation.

    *)
  9. volume_progress : double_object option;
    (*

    Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the stored volume is not restoring or bootstrapping.

    *)
  10. volume_size_in_bytes : long option;
    (*

    The size of the volume in bytes.

    *)
  11. volume_attachment_status : volume_attachment_status option;
    (*

    A value that indicates whether a storage volume is attached to, detached from, or is in the process of detaching from a gateway. For more information, see Moving your volumes to a different gateway.

    *)
  12. volume_status : volume_status option;
    (*

    One of the VolumeStatus values that indicates the state of the storage volume.

    *)
  13. volume_type : volume_type option;
    (*

    One of the VolumeType enumeration values describing the type of the volume.

    *)
  14. volume_id : volume_id option;
    (*

    The unique identifier of the volume, e.g., vol-AE4B946D.

    *)
  15. volume_ar_n : volume_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the storage volume.

    *)
}

Describes an iSCSI stored volume.

type nonrec storedi_scsi_volumes = storedi_scsi_volume list
type nonrec start_gateway_output = {
  1. gateway_ar_n : gateway_ar_n option;
}

A JSON object containing the Amazon Resource Name (ARN) of the gateway that was restarted.

type nonrec start_gateway_input = {
  1. gateway_ar_n : gateway_ar_n;
}

A JSON object containing the Amazon Resource Name (ARN) of the gateway to start.

type nonrec cache_report_ar_n = string
type nonrec start_cache_report_output = {
  1. cache_report_ar_n : cache_report_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the cache report generated by the StartCacheReport request.

    *)
}
type nonrec role = string
type nonrec location_ar_n = string
type nonrec region_id = string
type nonrec dns_host_name = string
type nonrec cache_report_filter_name =
  1. | UploadFailureReason
  2. | UploadState
type nonrec cache_report_filter_value = string
type nonrec cache_report_filter_values = cache_report_filter_value list
type nonrec cache_report_filter = {
  1. values : cache_report_filter_values;
    (*

    The parameter value for a filter that determines which files are included or excluded from a cache report.

    Valid UploadFailureReason Values:

    InaccessibleStorageClass | InvalidObjectState | ObjectMissing | S3AccessDenied

    Valid UploadState Values:

    FailingUpload

    *)
  2. name : cache_report_filter_name;
    (*

    The parameter name for a filter that determines which files are included or excluded from a cache report.

    Valid Names:

    UploadFailureReason | UploadState

    *)
}

A list of filter parameters and associated values that determine which files are included or excluded from a cache report created by a StartCacheReport request. Multiple instances of the same filter parameter are combined with an OR operation, while different parameters are combined with an AND operation.

type nonrec cache_report_filter_list = cache_report_filter list
type nonrec client_token = string
type nonrec start_cache_report_input = {
  1. tags : tags option;
    (*

    A list of up to 50 key/value tags that you can assign to the cache report. Using tags can help you categorize your reports and more easily locate them in search results.

    *)
  2. client_token : client_token;
    (*

    A unique identifier that you use to ensure idempotent report generation if you need to retry an unsuccessful StartCacheReport request. If you retry a request, use the same ClientToken you specified in the initial request.

    *)
  3. exclusion_filters : cache_report_filter_list option;
    (*

    The list of filters and parameters that determine which files are excluded from the report. You must specify at least one value for InclusionFilters or ExclusionFilters in a StartCacheReport request.

    *)
  4. inclusion_filters : cache_report_filter_list option;
    (*

    The list of filters and parameters that determine which files are included in the report. You must specify at least one value for InclusionFilters or ExclusionFilters in a StartCacheReport request.

    *)
  5. vpc_endpoint_dns_name : dns_host_name option;
    (*

    The DNS name of the VPC endpoint associated with the Amazon S3 where you want to save the cache report. Optional.

    *)
  6. bucket_region : region_id;
    (*

    The Amazon Web Services Region of the Amazon S3 bucket where you want to save the cache report.

    *)
  7. location_ar_n : location_ar_n;
    (*

    The ARN of the Amazon S3 bucket where you want to save the cache report.

    We do not recommend saving the cache report to the same Amazon S3 bucket for which you are generating the report.

    This field does not accept access point ARNs.

    *)
  8. role : role;
    (*

    The ARN of the IAM role used when saving the cache report to Amazon S3.

    *)
  9. file_share_ar_n : file_share_ar_n;
}
type nonrec start_availability_monitor_test_output = {
  1. gateway_ar_n : gateway_ar_n option;
}
type nonrec start_availability_monitor_test_input = {
  1. gateway_ar_n : gateway_ar_n;
}
type nonrec shutdown_gateway_output = {
  1. gateway_ar_n : gateway_ar_n option;
}

A JSON object containing the Amazon Resource Name (ARN) of the gateway that was shut down.

type nonrec shutdown_gateway_input = {
  1. gateway_ar_n : gateway_ar_n;
}

A JSON object containing the Amazon Resource Name (ARN) of the gateway to shut down.

type nonrec set_smb_guest_password_output = {
  1. gateway_ar_n : gateway_ar_n option;
}
type nonrec smb_guest_password = string
type nonrec set_smb_guest_password_input = {
  1. password : smb_guest_password;
    (*

    The password that you want to set for your SMB server.

    *)
  2. gateway_ar_n : gateway_ar_n;
    (*

    The Amazon Resource Name (ARN) of the S3 File Gateway the SMB file share is associated with.

    *)
}

SetSMBGuestPasswordInput

type nonrec set_local_console_password_output = {
  1. gateway_ar_n : gateway_ar_n option;
}
type nonrec local_console_password = string
type nonrec set_local_console_password_input = {
  1. local_console_password : local_console_password;
    (*

    The password you want to set for your VM local console.

    *)
  2. gateway_ar_n : gateway_ar_n;
}

SetLocalConsolePasswordInput

type nonrec retrieve_tape_recovery_point_output = {
  1. tape_ar_n : tape_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the virtual tape for which the recovery point was retrieved.

    *)
}

RetrieveTapeRecoveryPointOutput

type nonrec retrieve_tape_recovery_point_input = {
  1. gateway_ar_n : gateway_ar_n;
  2. tape_ar_n : tape_ar_n;
    (*

    The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the recovery point.

    *)
}

RetrieveTapeRecoveryPointInput

type nonrec retrieve_tape_archive_output = {
  1. tape_ar_n : tape_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the retrieved virtual tape.

    *)
}

RetrieveTapeArchiveOutput

type nonrec retrieve_tape_archive_input = {
  1. gateway_ar_n : gateway_ar_n;
    (*

    The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

    You retrieve archived virtual tapes to only one gateway and the gateway must be a tape gateway.

    *)
  2. tape_ar_n : tape_ar_n;
    (*

    The Amazon Resource Name (ARN) of the virtual tape you want to retrieve from the virtual tape shelf (VTS).

    *)
}

RetrieveTapeArchiveInput

type nonrec reset_cache_output = {
  1. gateway_ar_n : gateway_ar_n option;
}
type nonrec reset_cache_input = {
  1. gateway_ar_n : gateway_ar_n;
}
type nonrec resource_ar_n = string
type nonrec remove_tags_from_resource_output = {
  1. resource_ar_n : resource_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the resource that the tags were removed from.

    *)
}

RemoveTagsFromResourceOutput

type nonrec remove_tags_from_resource_input = {
  1. tag_keys : tag_keys;
    (*

    The keys of the tags you want to remove from the specified resource. A tag is composed of a key-value pair.

    *)
  2. resource_ar_n : resource_ar_n;
    (*

    The Amazon Resource Name (ARN) of the resource you want to remove the tags from.

    *)
}

RemoveTagsFromResourceInput

type nonrec notification_id = string
type nonrec refresh_cache_output = {
  1. notification_id : notification_id option;
  2. file_share_ar_n : file_share_ar_n option;
}

RefreshCacheOutput

type nonrec folder = string
type nonrec folder_list = folder list
type nonrec refresh_cache_input = {
  1. recursive : boolean_ option;
    (*

    A value that specifies whether to recursively refresh folders in the cache. The refresh includes folders that were in the cache the last time the gateway listed the folder's contents. If this value set to true, each folder that is listed in FolderList is recursively updated. Otherwise, subfolders listed in FolderList are not refreshed. Only objects that are in folders listed directly under FolderList are found and used for the update. The default is true.

    Valid Values: true | false

    *)
  2. folder_list : folder_list option;
    (*

    A comma-separated list of the paths of folders to refresh in the cache. The default is ["/"]. The default refreshes objects and folders at the root of the Amazon S3 bucket. If Recursive is set to true, the entire S3 bucket that the file share has access to is refreshed.

    Do not include / when specifying folder names. For example, you would specify samplefolder rather than samplefolder/.

    *)
  3. file_share_ar_n : file_share_ar_n;
    (*

    The Amazon Resource Name (ARN) of the file share you want to refresh.

    *)
}

RefreshCacheInput

type nonrec notify_when_uploaded_output = {
  1. notification_id : notification_id option;
  2. file_share_ar_n : file_share_ar_n option;
}
type nonrec notify_when_uploaded_input = {
  1. file_share_ar_n : file_share_ar_n;
}
type nonrec marker = string
type nonrec list_volumes_output = {
  1. volume_infos : volume_infos option;
    (*

    An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then VolumeInfos is an empty array "[]".

    *)
  2. marker : marker option;
    (*

    Use the marker in your next request to continue pagination of iSCSI volumes. If there are no more volumes to list, this field does not appear in the response body.

    *)
  3. gateway_ar_n : gateway_ar_n option;
}

A JSON object containing the following fields:

  • ListVolumesOutput$Marker
  • ListVolumesOutput$VolumeInfos
type nonrec list_volumes_input = {
  1. limit : positive_int_object option;
    (*

    Specifies that the list of volumes returned be limited to the specified number of items.

    *)
  2. marker : marker option;
    (*

    A string that indicates the position at which to begin the returned list of volumes. Obtain the marker from the response of a previous List iSCSI Volumes request.

    *)
  3. gateway_ar_n : gateway_ar_n option;
}

A JSON object that contains one or more of the following fields:

  • ListVolumesInput$Limit
  • ListVolumesInput$Marker
type nonrec list_volume_recovery_points_output = {
  1. volume_recovery_point_infos : volume_recovery_point_infos option;
    (*

    An array of VolumeRecoveryPointInfo objects.

    *)
  2. gateway_ar_n : gateway_ar_n option;
}
type nonrec list_volume_recovery_points_input = {
  1. gateway_ar_n : gateway_ar_n;
}
type nonrec initiator = string
type nonrec initiators = initiator list
type nonrec list_volume_initiators_output = {
  1. initiators : initiators option;
    (*

    The host names and port numbers of all iSCSI initiators that are connected to the gateway.

    *)
}

ListVolumeInitiatorsOutput

type nonrec list_volume_initiators_input = {
  1. volume_ar_n : volume_ar_n;
    (*

    The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes for the gateway.

    *)
}

ListVolumeInitiatorsInput

type nonrec list_tapes_output = {
  1. marker : marker option;
    (*

    A string that indicates the position at which to begin returning the next list of tapes. Use the marker in your next request to continue pagination of tapes. If there are no more tapes to list, this element does not appear in the response body.

    *)
  2. tape_infos : tape_infos option;
}

A JSON object containing the following fields:

  • ListTapesOutput$Marker
  • ListTapesOutput$VolumeInfos
type nonrec list_tapes_input = {
  1. limit : positive_int_object option;
    (*

    An optional number limit for the tapes in the list returned by this call.

    *)
  2. marker : marker option;
    (*

    A string that indicates the position at which to begin the returned list of tapes.

    *)
  3. tape_ar_ns : tape_ar_ns option;
}

A JSON object that contains one or more of the following fields:

  • ListTapesInput$Limit
  • ListTapesInput$Marker
  • ListTapesInput$TapeARNs
type nonrec pool_ar_n = string
type nonrec pool_name = string
type nonrec retention_lock_type =
  1. | NONE
  2. | GOVERNANCE
  3. | COMPLIANCE
type nonrec retention_lock_time_in_days = int
type nonrec pool_status =
  1. | DELETED
  2. | ACTIVE
type nonrec pool_info = {
  1. pool_status : pool_status option;
    (*

    Status of the custom tape pool. Pool can be ACTIVE or DELETED.

    *)
  2. retention_lock_time_in_days : retention_lock_time_in_days option;
    (*

    Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days).

    *)
  3. retention_lock_type : retention_lock_type option;
    (*

    Tape retention lock type, which can be configured in two modes. When configured in governance mode, Amazon Web Services accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root Amazon Web Services account.

    *)
  4. storage_class : tape_storage_class option;
    (*

    The storage class that is associated with the custom pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

    *)
  5. pool_name : pool_name option;
    (*

    The name of the custom tape pool. PoolName can use all ASCII characters, except '/' and '\'.

    *)
  6. pool_ar_n : pool_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the custom tape pool. Use the ListTapePools operation to return a list of custom tape pools for your account and Amazon Web Services Region.

    *)
}

Describes a custom tape pool.

type nonrec pool_infos = pool_info list
type nonrec list_tape_pools_output = {
  1. marker : marker option;
    (*

    A string that indicates the position at which to begin the returned list of tape pools. Use the marker in your next request to continue pagination of tape pools. If there are no more tape pools to list, this element does not appear in the response body.

    *)
  2. pool_infos : pool_infos option;
    (*

    An array of PoolInfo objects, where each object describes a single custom tape pool. If there are no custom tape pools, the PoolInfos is an empty array.

    *)
}
type nonrec pool_ar_ns = pool_ar_n list
type nonrec list_tape_pools_input = {
  1. limit : positive_int_object option;
    (*

    An optional number limit for the tape pools in the list returned by this call.

    *)
  2. marker : marker option;
    (*

    A string that indicates the position at which to begin the returned list of tape pools.

    *)
  3. pool_ar_ns : pool_ar_ns option;
    (*

    The Amazon Resource Name (ARN) of each of the custom tape pools you want to list. If you don't specify a custom tape pool ARN, the response lists all custom tape pools.

    *)
}
type nonrec list_tags_for_resource_output = {
  1. tags : tags option;
    (*

    An array that contains the tags for the specified resource.

    *)
  2. marker : marker option;
    (*

    An opaque string that indicates the position at which to stop returning the list of tags.

    *)
  3. resource_ar_n : resource_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the resource for which you want to list tags.

    *)
}

ListTagsForResourceOutput

type nonrec list_tags_for_resource_input = {
  1. limit : positive_int_object option;
    (*

    Specifies that the list of tags returned be limited to the specified number of items.

    *)
  2. marker : marker option;
    (*

    An opaque string that indicates the position at which to begin returning the list of tags.

    *)
  3. resource_ar_n : resource_ar_n;
    (*

    The Amazon Resource Name (ARN) of the resource for which you want to list tags.

    *)
}

ListTagsForResourceInput

type nonrec disk_allocation_type = string
type nonrec disk_attribute = string
type nonrec disk_attribute_list = disk_attribute list
type nonrec disk = {
  1. disk_attribute_list : disk_attribute_list option;
  2. disk_allocation_resource : string_ option;
    (*

    The iSCSI qualified name (IQN) that is defined for a disk. This field is not included in the response if the local disk is not defined as an iSCSI target. The format of this field is targetIqn::LUNNumber::region-volumeId.

    *)
  3. disk_allocation_type : disk_allocation_type option;
  4. disk_size_in_bytes : long option;
    (*

    The local disk size in bytes.

    *)
  5. disk_status : string_ option;
    (*

    A value that represents the status of a local disk.

    *)
  6. disk_node : string_ option;
    (*

    The device node of a local disk as assigned by the virtualization environment.

    *)
  7. disk_path : string_ option;
    (*

    The path of a local disk in the gateway virtual machine (VM).

    *)
  8. disk_id : disk_id option;
    (*

    The unique device ID or other distinguishing data that identifies a local disk.

    *)
}

Represents a gateway's local disk.

type nonrec disks = disk list
type nonrec list_local_disks_output = {
  1. disks : disks option;
    (*

    A JSON object containing the following fields:

    • ListLocalDisksOutput$Disks
    *)
  2. gateway_ar_n : gateway_ar_n option;
}
type nonrec list_local_disks_input = {
  1. gateway_ar_n : gateway_ar_n;
}

A JSON object containing the Amazon Resource Name (ARN) of the gateway.

type nonrec gateway_type = string
type nonrec gateway_operational_state = string
type nonrec ec2_instance_id = string
type nonrec ec2_instance_region = string
type nonrec host_environment =
  1. | SNOWBALL
  2. | OTHER
  3. | KVM
  4. | EC2
  5. | HYPER_V
  6. | VMWARE
type nonrec host_environment_id = string
type nonrec deprecation_date = string
type nonrec software_version = string
type nonrec gateway_info = {
  1. software_version : software_version option;
    (*

    The version number of the software running on the gateway appliance.

    *)
  2. deprecation_date : deprecation_date option;
    (*

    Date after which this gateway will not receive software updates for new features and bug fixes.

    *)
  3. host_environment_id : host_environment_id option;
    (*

    A unique identifier for the specific instance of the host platform running the gateway. This value is only available for certain host environments, and its format depends on the host environment type.

    *)
  4. host_environment : host_environment option;
    (*

    The type of hardware or software platform on which the gateway is running.

    Tape Gateway is no longer available on Snow Family devices.

    *)
  5. ec2_instance_region : ec2_instance_region option;
    (*

    The Amazon Web Services Region where the Amazon EC2 instance is located.

    *)
  6. ec2_instance_id : ec2_instance_id option;
    (*

    The ID of the Amazon EC2 instance that was used to launch the gateway.

    *)
  7. gateway_name : string_ option;
    (*

    The name of the gateway.

    *)
  8. gateway_operational_state : gateway_operational_state option;
    (*

    The state of the gateway.

    Valid Values: DISABLED | ACTIVE

    *)
  9. gateway_type : gateway_type option;
    (*

    The type of the gateway.

    Amazon FSx File Gateway is no longer available to new customers. Existing customers of FSx File Gateway can continue to use the service normally. For capabilities similar to FSx File Gateway, visit this blog post.

    *)
  10. gateway_ar_n : gateway_ar_n option;
    (*

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

    *)
  11. gateway_id : gateway_id option;
    (*

    The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.

    *)
}

Describes a gateway object.

type nonrec gateways = gateway_info list
type nonrec list_gateways_output = {
  1. marker : marker option;
    (*

    Use the marker in your next request to fetch the next set of gateways in the list. If there are no more gateways to list, this field does not appear in the response.

    *)
  2. gateways : gateways option;
    (*

    An array of GatewayInfo objects.

    *)
}
type nonrec list_gateways_input = {
  1. limit : positive_int_object option;
    (*

    Specifies that the list of gateways returned be limited to the specified number of items.

    *)
  2. marker : marker option;
    (*

    An opaque string that indicates the position at which to begin the returned list of gateways.

    *)
}

A JSON object containing zero or more of the following fields:

  • ListGatewaysInput$Limit
  • ListGatewaysInput$Marker
type nonrec file_system_association_id = string
type nonrec file_system_association_status = string
type nonrec file_system_association_summary = {
  1. gateway_ar_n : gateway_ar_n option;
  2. file_system_association_status : file_system_association_status option;
    (*

    The status of the file share. Valid Values: AVAILABLE | CREATING | DELETING | FORCE_DELETING | UPDATING | ERROR

    *)
  3. file_system_association_ar_n : file_system_association_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the file system association.

    *)
  4. file_system_association_id : file_system_association_id option;
    (*

    The ID of the file system association.

    *)
}

Gets the summary returned by ListFileSystemAssociation, which is a summary of a created file system association.

type nonrec file_system_association_summary_list = file_system_association_summary list
type nonrec list_file_system_associations_output = {
  1. file_system_association_summary_list : file_system_association_summary_list option;
    (*

    An array of information about the Amazon FSx gateway's file system associations.

    *)
  2. next_marker : marker option;
    (*

    If a value is present, there are more file system associations to return. In a subsequent request, use NextMarker as the value for Marker to retrieve the next set of file system associations.

    *)
  3. marker : marker option;
    (*

    If the request includes Marker, the response returns that value in this field.

    *)
}
type nonrec list_file_system_associations_input = {
  1. marker : marker option;
    (*

    Opaque pagination token returned from a previous ListFileSystemAssociations operation. If present, Marker specifies where to continue the list from after a previous call to ListFileSystemAssociations. Optional.

    *)
  2. limit : positive_int_object option;
    (*

    The maximum number of file system associations to return in the response. If present, Limit must be an integer with a value greater than zero. Optional.

    *)
  3. gateway_ar_n : gateway_ar_n option;
}
type nonrec file_share_type =
  1. | SMB
  2. | NFS

The type of the file share.

type nonrec file_share_id = string
type nonrec file_share_status = string
type nonrec file_share_info = {
  1. gateway_ar_n : gateway_ar_n option;
  2. file_share_status : file_share_status option;
  3. file_share_id : file_share_id option;
  4. file_share_ar_n : file_share_ar_n option;
  5. file_share_type : file_share_type option;
}

Describes a file share. Only supported S3 File Gateway.

type nonrec file_share_info_list = file_share_info list
type nonrec list_file_shares_output = {
  1. file_share_info_list : file_share_info_list option;
    (*

    An array of information about the S3 File Gateway's file shares.

    *)
  2. next_marker : marker option;
    (*

    If a value is present, there are more file shares to return. In a subsequent request, use NextMarker as the value for Marker to retrieve the next set of file shares.

    *)
  3. marker : marker option;
    (*

    If the request includes Marker, the response returns that value in this field.

    *)
}

ListFileShareOutput

type nonrec list_file_shares_input = {
  1. marker : marker option;
    (*

    Opaque pagination token returned from a previous ListFileShares operation. If present, Marker specifies where to continue the list from after a previous call to ListFileShares. Optional.

    *)
  2. limit : positive_int_object option;
    (*

    The maximum number of file shares to return in the response. The value must be an integer with a value greater than zero. Optional.

    *)
  3. gateway_ar_n : gateway_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the gateway whose file shares you want to list. If this field is not present, all file shares under your account are listed.

    *)
}

ListFileShareInput

type nonrec cache_report_status =
  1. | ERROR
  2. | FAILED
  3. | CANCELED
  4. | COMPLETED
  5. | IN_PROGRESS
type nonrec report_completion_percent = int
type nonrec cache_report_name = string
type nonrec cache_report_info = {
  1. tags : tags option;
    (*

    The list of key/value tags associated with the report.

    *)
  2. report_name : cache_report_name option;
    (*

    The file name of the completed cache report object stored in Amazon S3.

    *)
  3. exclusion_filters : cache_report_filter_list option;
    (*

    The list of filters and parameters that determine which files are excluded from the report.

    *)
  4. inclusion_filters : cache_report_filter_list option;
    (*

    The list of filters and parameters that determine which files are included in the report.

    *)
  5. start_time : time option;
    (*

    The time at which the gateway started generating the cache report.

    *)
  6. location_ar_n : location_ar_n option;
    (*

    The ARN of the Amazon S3 bucket location where the cache report is saved.

    *)
  7. file_share_ar_n : file_share_ar_n option;
  8. role : role option;
  9. end_time : time option;
    (*

    The time at which the gateway stopped generating the cache report.

    *)
  10. report_completion_percent : report_completion_percent option;
    (*

    The percentage of the report generation process that has been completed at time of inquiry.

    *)
  11. cache_report_status : cache_report_status option;
    (*

    The status of the specified cache report.

    *)
  12. cache_report_ar_n : cache_report_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the cache report you want to describe.

    *)
}

Contains all informational fields associated with a cache report. Includes name, ARN, tags, status, progress, filters, start time, and end time.

type nonrec cache_report_list = cache_report_info list
type nonrec list_cache_reports_output = {
  1. marker : marker option;
    (*

    If the request includes Marker, the response returns that value in this field.

    *)
  2. cache_report_list : cache_report_list option;
    (*

    A list of existing cache reports for all file shares associated with your Amazon Web Services account. This list includes all information provided by the DescribeCacheReport action, such as report status, completion progress, start time, end time, filters, and tags.

    *)
}
type nonrec list_cache_reports_input = {
  1. marker : marker option;
    (*

    Opaque pagination token returned from a previous ListCacheReports operation. If present, Marker specifies where to continue the list from after a previous call to ListCacheReports. Optional.

    *)
}
type nonrec automatic_tape_creation_policy_info = {
  1. gateway_ar_n : gateway_ar_n option;
  2. automatic_tape_creation_rules : automatic_tape_creation_rules option;
    (*

    An automatic tape creation policy consists of a list of automatic tape creation rules. This returns the rules that determine when and how to automatically create new tapes.

    *)
}

Information about the gateway's automatic tape creation policies, including the automatic tape creation rules and the gateway that is using the policies.

type nonrec automatic_tape_creation_policy_infos = automatic_tape_creation_policy_info list
type nonrec list_automatic_tape_creation_policies_output = {
  1. automatic_tape_creation_policy_infos : automatic_tape_creation_policy_infos option;
    (*

    Gets a listing of information about the gateway's automatic tape creation policies, including the automatic tape creation rules and the gateway that is using the policies.

    *)
}
type nonrec list_automatic_tape_creation_policies_input = {
  1. gateway_ar_n : gateway_ar_n option;
}
type nonrec active_directory_status =
  1. | INSUFFICIENT_PERMISSIONS
  2. | UNKNOWN_ERROR
  3. | TIMEOUT
  4. | NETWORK_ERROR
  5. | JOINING
  6. | JOINED
  7. | DETACHED
  8. | ACCESS_DENIED
type nonrec join_domain_output = {
  1. active_directory_status : active_directory_status option;
    (*

    Indicates the status of the gateway as a member of the Active Directory domain.

    This field is only used as part of a JoinDomain request. It is not affected by Active Directory connectivity changes that occur after the JoinDomain request succeeds.

    • ACCESS_DENIED: Indicates that the JoinDomain operation failed due to an authentication error.
    • DETACHED: Indicates that gateway is not joined to a domain.
    • JOINED: Indicates that the gateway has successfully joined a domain.
    • JOINING: Indicates that a JoinDomain operation is in progress.
    • INSUFFICIENT_PERMISSIONS: Indicates that the JoinDomain operation failed because the specified user lacks the necessary permissions to join the domain.
    • NETWORK_ERROR: Indicates that JoinDomain operation failed due to a network or connectivity error.
    • TIMEOUT: Indicates that the JoinDomain operation failed because the operation didn't complete within the allotted time.
    • UNKNOWN_ERROR: Indicates that the JoinDomain operation failed due to another type of error.
    *)
  2. gateway_ar_n : gateway_ar_n option;
    (*

    The unique Amazon Resource Name (ARN) of the gateway that joined the domain.

    *)
}

JoinDomainOutput

type nonrec domain_name = string
type nonrec organizational_unit = string
type nonrec host = string
type nonrec hosts = host list
type nonrec join_domain_input = {
  1. password : domain_user_password;
    (*

    Sets the password of the user who has permission to add the gateway to the Active Directory domain.

    *)
  2. user_name : domain_user_name;
    (*

    Sets the user name of user who has permission to add the gateway to the Active Directory domain. The domain user account should be enabled to join computers to the domain. For example, you can use the domain administrator account or an account with delegated permissions to join computers to the domain.

    *)
  3. timeout_in_seconds : timeout_in_seconds option;
    (*

    Specifies the time in seconds, in which the JoinDomain operation must complete. The default is 20 seconds.

    *)
  4. domain_controllers : hosts option;
    (*

    List of IP addresses, NetBIOS names, or host names of your domain server. If you need to specify the port number include it after the colon (“:”). For example, mydc.mydomain.com:389.

    S3 File Gateway supports IPv6 addresses in addition to IPv4 and other existing formats.

    FSx File Gateway does not support IPv6.

    *)
  5. organizational_unit : organizational_unit option;
    (*

    The organizational unit (OU) is a container in an Active Directory that can hold users, groups, computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain.

    *)
  6. domain_name : domain_name;
    (*

    The name of the domain that you want the gateway to join.

    *)
  7. gateway_ar_n : gateway_ar_n;
    (*

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

    *)
}

JoinDomainInput

type nonrec evict_files_failing_upload_output = {
  1. notification_id : string_ option;
    (*

    The randomly generated ID of the CloudWatch notification associated with the cache clean operation. This ID is in UUID format.

    *)
}
type nonrec evict_files_failing_upload_input = {
  1. force_remove : boolean2 option;
    (*

    Specifies whether cache entries with full or partial file data currently stored on the gateway will be forcibly removed by the cache clean operation.

    Valid arguments:

    • False - The cache clean operation skips cache entries failing upload if they are associated with data currently stored on the gateway. This preserves the cached data.
    • True - The cache clean operation removes cache entries failing upload even if they are associated with data currently stored on the gateway. This deletes the cached data.

      If ForceRemove is set to True, the cache clean operation will delete file data from the gateway which might otherwise be recoverable.

    *)
  2. file_share_ar_n : file_share_ar_n;
    (*

    The Amazon Resource Name (ARN) of the file share for which you want to start the cache clean operation.

    *)
}
type nonrec disassociate_file_system_output = {
  1. file_system_association_ar_n : file_system_association_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the deleted file system association.

    *)
}
type nonrec disassociate_file_system_input = {
  1. force_delete : boolean2 option;
    (*

    If this value is set to true, the operation disassociates an Amazon FSx file system immediately. It ends all data uploads to the file system, and the file system association enters the FORCE_DELETING status. If this value is set to false, the Amazon FSx file system does not disassociate until all data is uploaded.

    *)
  2. file_system_association_ar_n : file_system_association_ar_n;
    (*

    The Amazon Resource Name (ARN) of the file system association to be deleted.

    *)
}
type nonrec disable_gateway_output = {
  1. gateway_ar_n : gateway_ar_n option;
    (*

    The unique Amazon Resource Name (ARN) of the disabled gateway.

    *)
}

DisableGatewayOutput

type nonrec disable_gateway_input = {
  1. gateway_ar_n : gateway_ar_n;
}

DisableGatewayInput

type nonrec detach_volume_output = {
  1. volume_ar_n : volume_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the volume that was detached.

    *)
}

AttachVolumeOutput

type nonrec detach_volume_input = {
  1. force_detach : boolean_ option;
    (*

    Set to true to forcibly remove the iSCSI connection of the target volume and detach the volume. The default is false. If this value is set to false, you must manually disconnect the iSCSI connection from the target volume.

    Valid Values: true | false

    *)
  2. volume_ar_n : volume_ar_n;
    (*

    The Amazon Resource Name (ARN) of the volume to detach from the gateway.

    *)
}

AttachVolumeInput

type nonrec disk_ids = disk_id list
type nonrec describe_working_storage_output = {
  1. working_storage_allocated_in_bytes : long option;
    (*

    The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.

    *)
  2. working_storage_used_in_bytes : long option;
    (*

    The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0.

    *)
  3. disk_ids : disk_ids option;
    (*

    An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.

    *)
  4. gateway_ar_n : gateway_ar_n option;
}

A JSON object containing the following fields:

type nonrec describe_working_storage_input = {
  1. gateway_ar_n : gateway_ar_n;
}

A JSON object containing the Amazon Resource Name (ARN) of the gateway.

type nonrec describe_vtl_devices_output = {
  1. marker : marker option;
    (*

    An opaque string that indicates the position at which the VTL devices that were fetched for description ended. Use the marker in your next request to fetch the next set of VTL devices in the list. If there are no more VTL devices to describe, this field does not appear in the response.

    *)
  2. vtl_devices : vtl_devices option;
    (*

    An array of VTL device objects composed of the Amazon Resource Name (ARN) of the VTL devices.

    *)
  3. gateway_ar_n : gateway_ar_n option;
}

DescribeVTLDevicesOutput

type nonrec describe_vtl_devices_input = {
  1. limit : positive_int_object option;
    (*

    Specifies that the number of VTL devices described be limited to the specified number.

    *)
  2. marker : marker option;
    (*

    An opaque string that indicates the position at which to begin describing the VTL devices.

    *)
  3. vtl_device_ar_ns : vtl_device_ar_ns option;
    (*

    An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device.

    All of the specified VTL devices must be from the same gateway. If no VTL devices are specified, the result will contain all devices on the specified gateway.

    *)
  4. gateway_ar_n : gateway_ar_n;
}

DescribeVTLDevicesInput

type nonrec describe_upload_buffer_output = {
  1. upload_buffer_allocated_in_bytes : long option;
    (*

    The total number of bytes allocated in the gateway's as upload buffer.

    *)
  2. upload_buffer_used_in_bytes : long option;
    (*

    The total number of bytes being used in the gateway's upload buffer.

    *)
  3. disk_ids : disk_ids option;
    (*

    An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.

    *)
  4. gateway_ar_n : gateway_ar_n option;
}
type nonrec describe_upload_buffer_input = {
  1. gateway_ar_n : gateway_ar_n;
}
type nonrec describe_tapes_output = {
  1. marker : marker option;
    (*

    An opaque string that can be used as part of a subsequent DescribeTapes call to retrieve the next page of results.

    If a response does not contain a marker, then there are no more results to be retrieved.

    *)
  2. tapes : tapes option;
    (*

    An array of virtual tape descriptions.

    *)
}

DescribeTapesOutput

type nonrec describe_tapes_input = {
  1. limit : positive_int_object option;
    (*

    Specifies that the number of virtual tapes described be limited to the specified number.

    Amazon Web Services may impose its own limit, if this field is not set.

    *)
  2. marker : marker option;
    (*

    A marker value, obtained in a previous call to DescribeTapes. This marker indicates which page of results to retrieve.

    If not specified, the first page of results is retrieved.

    *)
  3. tape_ar_ns : tape_ar_ns option;
    (*

    Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, Tape gateway returns a description of all virtual tapes associated with the specified gateway.

    *)
  4. gateway_ar_n : gateway_ar_n;
}

DescribeTapesInput

type nonrec describe_tape_recovery_points_output = {
  1. marker : marker option;
    (*

    An opaque string that indicates the position at which the virtual tape recovery points that were listed for description ended.

    Use this marker in your next request to list the next set of virtual tape recovery points in the list. If there are no more recovery points to describe, this field does not appear in the response.

    *)
  2. tape_recovery_point_infos : tape_recovery_point_infos option;
    (*

    An array of TapeRecoveryPointInfos that are available for the specified gateway.

    *)
  3. gateway_ar_n : gateway_ar_n option;
}

DescribeTapeRecoveryPointsOutput

type nonrec describe_tape_recovery_points_input = {
  1. limit : positive_int_object option;
    (*

    Specifies that the number of virtual tape recovery points that are described be limited to the specified number.

    *)
  2. marker : marker option;
    (*

    An opaque string that indicates the position at which to begin describing the virtual tape recovery points.

    *)
  3. gateway_ar_n : gateway_ar_n;
}

DescribeTapeRecoveryPointsInput

type nonrec describe_tape_archives_output = {
  1. marker : marker option;
    (*

    An opaque string that indicates the position at which the virtual tapes that were fetched for description ended. Use this marker in your next request to fetch the next set of virtual tapes in the virtual tape shelf (VTS). If there are no more virtual tapes to describe, this field does not appear in the response.

    *)
  2. tape_archives : tape_archives option;
    (*

    An array of virtual tape objects in the virtual tape shelf (VTS). The description includes of the Amazon Resource Name (ARN) of the virtual tapes. The information returned includes the Amazon Resource Names (ARNs) of the tapes, size of the tapes, status of the tapes, progress of the description, and tape barcode.

    *)
}

DescribeTapeArchivesOutput

type nonrec describe_tape_archives_input = {
  1. limit : positive_int_object option;
    (*

    Specifies that the number of virtual tapes described be limited to the specified number.

    *)
  2. marker : marker option;
    (*

    An opaque string that indicates the position at which to begin describing virtual tapes.

    *)
  3. tape_ar_ns : tape_ar_ns option;
    (*

    Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.

    *)
}

DescribeTapeArchivesInput

type nonrec describe_storedi_scsi_volumes_output = {
  1. storedi_scsi_volumes : storedi_scsi_volumes option;
    (*

    Describes a single unit of output from DescribeStorediSCSIVolumes. The following fields are returned:

    • ChapEnabled: Indicates whether mutual CHAP is enabled for the iSCSI target.
    • LunNumber: The logical disk number.
    • NetworkInterfaceId: The network interface ID of the stored volume that initiator use to map the stored volume as an iSCSI target.
    • NetworkInterfacePort: The port used to communicate with iSCSI targets.
    • PreservedExistingData: Indicates when the stored volume was created, existing data on the underlying local disk was preserved.
    • SourceSnapshotId: If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-1122aabb. Otherwise, this field is not included.
    • StorediSCSIVolumes: An array of StorediSCSIVolume objects where each object contains metadata about one stored volume.
    • TargetARN: The Amazon Resource Name (ARN) of the volume target.
    • VolumeARN: The Amazon Resource Name (ARN) of the stored volume.
    • VolumeDiskId: The disk ID of the local disk that was specified in the CreateStorediSCSIVolume operation.
    • VolumeId: The unique identifier of the storage volume, e.g. vol-1122AABB.
    • VolumeiSCSIAttributes: An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.
    • VolumeProgress: Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the stored volume is not restoring or bootstrapping.
    • VolumeSizeInBytes: The size of the volume in bytes.
    • VolumeStatus: One of the VolumeStatus values that indicates the state of the volume.
    • VolumeType: One of the enumeration values describing the type of the volume. Currently, only STORED volumes are supported.
    *)
}
type nonrec describe_storedi_scsi_volumes_input = {
  1. volume_ar_ns : volume_ar_ns;
    (*

    An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must be from the same gateway. Use ListVolumes to get volume ARNs for a gateway.

    *)
}

A JSON object containing a list of DescribeStorediSCSIVolumesInput$VolumeARNs.

type nonrec describe_snapshot_schedule_output = {
  1. tags : tags option;
    (*

    A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the ListTagsForResource API operation.

    *)
  2. timezone : gateway_timezone option;
    (*

    A value that indicates the time zone of the gateway.

    *)
  3. description : description option;
    (*

    The snapshot description.

    *)
  4. recurrence_in_hours : recurrence_in_hours option;
    (*

    The number of hours between snapshots.

    *)
  5. start_at : hour_of_day option;
    (*

    The hour of the day at which the snapshot schedule begins represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.

    *)
  6. volume_ar_n : volume_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the volume that was specified in the request.

    *)
}
type nonrec describe_snapshot_schedule_input = {
  1. volume_ar_n : volume_ar_n;
    (*

    The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

    *)
}

A JSON object containing the DescribeSnapshotScheduleInput$VolumeARN of the volume.

type nonrec describe_smb_settings_output = {
  1. smb_local_groups : smb_local_groups option;
    (*

    A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.

    *)
  2. file_shares_visible : boolean_ option;
    (*

    The shares on this gateway appear when listing shares. Only supported for S3 File Gateways.

    *)
  3. smb_security_strategy : smb_security_strategy option;
    (*

    The type of security strategy that was specified for file gateway.

    • ClientSpecified: If you choose this option, requests are established based on what is negotiated by the client. This option is recommended when you want to maximize compatibility across different clients in your environment. Supported only for S3 File Gateway.
    • MandatorySigning: If you choose this option, File Gateway only allows connections from SMBv2 or SMBv3 clients that have signing turned on. This option works with SMB clients on Microsoft Windows Vista, Windows Server 2008, or later.
    • MandatoryEncryption: If you choose this option, File Gateway only allows connections from SMBv3 clients that have encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later.
    • MandatoryEncryptionNoAes128: If you choose this option, File Gateway only allows connections from SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later.
    *)
  4. smb_guest_password_set : boolean_ option;
    (*

    This value is true if a password for the guest user smbguest is set, otherwise false. Only supported for S3 File Gateways.

    Valid Values: true | false

    *)
  5. active_directory_status : active_directory_status option;
    (*

    Indicates the status of a gateway that is a member of the Active Directory domain.

    This field is only used as part of a JoinDomain request. It is not affected by Active Directory connectivity changes that occur after the JoinDomain request succeeds.

    • ACCESS_DENIED: Indicates that the JoinDomain operation failed due to an authentication error.
    • DETACHED: Indicates that gateway is not joined to a domain.
    • JOINED: Indicates that the gateway has successfully joined a domain.
    • JOINING: Indicates that a JoinDomain operation is in progress.
    • NETWORK_ERROR: Indicates that JoinDomain operation failed due to a network or connectivity error.
    • TIMEOUT: Indicates that the JoinDomain operation failed because the operation didn't complete within the allotted time.
    • UNKNOWN_ERROR: Indicates that the JoinDomain operation failed due to another type of error.
    *)
  6. domain_name : domain_name option;
    (*

    The name of the domain that the gateway is joined to.

    *)
  7. gateway_ar_n : gateway_ar_n option;
}
type nonrec describe_smb_settings_input = {
  1. gateway_ar_n : gateway_ar_n;
}
type nonrec path = string
type nonrec authentication = string
type nonrec smb_file_share_info = {
  1. oplocks_enabled : boolean_ option;
    (*

    Specifies whether opportunistic locking is enabled for the SMB file share.

    Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve access to files with the same name in different case.

    Valid Values: true | false

    *)
  2. bucket_region : region_id option;
    (*

    Specifies the Region of the S3 bucket where the SMB file share stores files.

    This parameter is required for SMB file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

    *)
  3. vpc_endpoint_dns_name : dns_host_name option;
    (*

    Specifies the DNS name for the VPC endpoint that the SMB file share uses to connect to Amazon S3.

    This parameter is required for SMB file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

    *)
  4. notification_policy : notification_policy option;
    (*

    The notification policy of the file share. SettlingTimeInSeconds controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.

    SettlingTimeInSeconds has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.

    This setting is not meant to specify an exact time at which the notification will be sent. In some cases, the gateway might require more than the specified delay time to generate and send notifications.

    The following example sets NotificationPolicy on with SettlingTimeInSeconds set to 60.

    {\"Upload\": {\"SettlingTimeInSeconds\": 60}}

    The following example sets NotificationPolicy off.

    {}

    *)
  5. cache_attributes : cache_attributes option;
    (*

    Refresh cache information for the file share.

    *)
  6. file_share_name : file_share_name option;
    (*

    The name of the file share. Optional.

    FileShareName must be set if an S3 prefix name is set in LocationARN, or if an access point or access point alias is used.

    *)
  7. tags : tags option;
    (*

    A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the ListTagsForResource API operation.

    *)
  8. case_sensitivity : case_sensitivity option;
    (*

    The case of an object name in an Amazon S3 bucket. For ClientSpecified, the client determines the case sensitivity. For CaseSensitive, the gateway determines the case sensitivity. The default value is ClientSpecified.

    *)
  9. authentication : authentication option;
  10. audit_destination_ar_n : audit_destination_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the storage used for audit logs.

    *)
  11. invalid_user_list : user_list option;
    (*

    A list of users or groups in the Active Directory that are not allowed to access the file share. A group must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1, user1, @group1, and @DOMAIN\group1. Can only be set if Authentication is set to ActiveDirectory.

    *)
  12. valid_user_list : user_list option;
    (*

    A list of users or groups in the Active Directory that are allowed to access the file share. A group must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1, user1, @group1, and @DOMAIN\group1. Can only be set if Authentication is set to ActiveDirectory.

    *)
  13. admin_user_list : user_list option;
    (*

    A list of users or groups in the Active Directory that have administrator rights to the file share. A group must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1, user1, @group1, and @DOMAIN\group1. Can only be set if Authentication is set to ActiveDirectory.

    *)
  14. access_based_enumeration : boolean_ option;
    (*

    Indicates whether AccessBasedEnumeration is enabled.

    *)
  15. smbacl_enabled : boolean_ option;
    (*

    If this value is set to true, it indicates that access control list (ACL) is enabled on the SMB file share. If it is set to false, it indicates that file and directory permissions are mapped to the POSIX permission.

    For more information, see Using Windows ACLs to limit SMB file share access in the Amazon S3 File Gateway User Guide.

    *)
  16. requester_pays : boolean_ option;
    (*

    A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket. If this value is set to true, the requester pays the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays the cost of storing data.

    RequesterPays is a configuration for the S3 bucket that backs the file share, so make sure that the configuration on the file share is the same as the S3 bucket configuration.

    Valid Values: true | false

    *)
  17. guess_mime_type_enabled : boolean_ option;
    (*

    A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to true to enable MIME type guessing, otherwise set to false. The default value is true.

    Valid Values: true | false

    *)
  18. read_only : boolean_ option;
    (*

    A value that sets the write status of a file share. Set this value to true to set the write status to read-only, otherwise set to false.

    Valid Values: true | false

    *)
  19. object_ac_l : object_ac_l option;
  20. default_storage_class : storage_class option;
    (*

    The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_STANDARD. Optional.

    Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA

    *)
  21. location_ar_n : location_ar_n option;
  22. role : role option;
  23. path : path option;
    (*

    The file share path used by the SMB client to identify the mount point.

    *)
  24. kms_key : kms_key option;
  25. kms_encrypted : boolean2 option;
    (*

    Optional. Set to true to use Amazon S3 server-side encryption with your own KMS key (SSE-KMS), or false to use a key managed by Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the EncryptionType parameter instead.

    We recommend using EncryptionType instead of KMSEncrypted to set the file share encryption method. You do not need to provide values for both parameters.

    If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType is SseS3, then KMSEncrypted must be false. If EncryptionType is SseKms or DsseKms, then KMSEncrypted must be true.

    Valid Values: true | false

    *)
  26. encryption_type : encryption_type option;
    (*

    A value that specifies the type of server-side encryption that the file share will use for the data that it stores in Amazon S3.

    We recommend using EncryptionType instead of KMSEncrypted to set the file share encryption method. You do not need to provide values for both parameters.

    If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType is SseS3, then KMSEncrypted must be false. If EncryptionType is SseKms or DsseKms, then KMSEncrypted must be true.

    *)
  27. gateway_ar_n : gateway_ar_n option;
  28. file_share_status : file_share_status option;
  29. file_share_id : file_share_id option;
  30. file_share_ar_n : file_share_ar_n option;
}

The Windows file permissions and ownership information assigned, by default, to native S3 objects when S3 File Gateway discovers them in S3 buckets. This operation is only supported for S3 File Gateways.

type nonrec smb_file_share_info_list = smb_file_share_info list
type nonrec describe_smb_file_shares_output = {
  1. smb_file_share_info_list : smb_file_share_info_list option;
    (*

    An array containing a description for each requested file share.

    *)
}

DescribeSMBFileSharesOutput

type nonrec file_share_arn_list = file_share_ar_n list
type nonrec describe_smb_file_shares_input = {
  1. file_share_arn_list : file_share_arn_list;
    (*

    An array containing the Amazon Resource Name (ARN) of each file share to be described.

    *)
}

DescribeSMBFileSharesInput

type nonrec nfs_file_share_info = {
  1. audit_destination_ar_n : audit_destination_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the storage used for audit logs.

    *)
  2. bucket_region : region_id option;
    (*

    Specifies the Region of the S3 bucket where the NFS file share stores files.

    This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

    *)
  3. vpc_endpoint_dns_name : dns_host_name option;
    (*

    Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to Amazon S3.

    This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

    *)
  4. notification_policy : notification_policy option;
    (*

    The notification policy of the file share. SettlingTimeInSeconds controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.

    SettlingTimeInSeconds has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.

    This setting is not meant to specify an exact time at which the notification will be sent. In some cases, the gateway might require more than the specified delay time to generate and send notifications.

    The following example sets NotificationPolicy on with SettlingTimeInSeconds set to 60.

    {\"Upload\": {\"SettlingTimeInSeconds\": 60}}

    The following example sets NotificationPolicy off.

    {}

    *)
  5. cache_attributes : cache_attributes option;
    (*

    Refresh cache information for the file share.

    *)
  6. file_share_name : file_share_name option;
    (*

    The name of the file share. Optional.

    FileShareName must be set if an S3 prefix name is set in LocationARN, or if an access point or access point alias is used.

    *)
  7. tags : tags option;
    (*

    A list of up to 50 tags assigned to the NFS file share, sorted alphabetically by key name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the ListTagsForResource API operation.

    *)
  8. requester_pays : boolean_ option;
    (*

    A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket. If this value is set to true, the requester pays the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays the cost of storing data.

    RequesterPays is a configuration for the S3 bucket that backs the file share, so make sure that the configuration on the file share is the same as the S3 bucket configuration.

    Valid Values: true | false

    *)
  9. guess_mime_type_enabled : boolean_ option;
    (*

    A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to true to enable MIME type guessing, otherwise set to false. The default value is true.

    Valid Values: true | false

    *)
  10. read_only : boolean_ option;
    (*

    A value that sets the write status of a file share. Set this value to true to set the write status to read-only, otherwise set to false.

    Valid Values: true | false

    *)
  11. squash : squash option;
  12. client_list : file_share_client_list option;
  13. object_ac_l : object_ac_l option;
  14. default_storage_class : storage_class option;
    (*

    The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_STANDARD. Optional.

    Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA

    *)
  15. location_ar_n : location_ar_n option;
  16. role : role option;
  17. path : path option;
  18. kms_key : kms_key option;
  19. kms_encrypted : boolean2 option;
    (*

    Optional. Set to true to use Amazon S3 server-side encryption with your own KMS key (SSE-KMS), or false to use a key managed by Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the EncryptionType parameter instead.

    We recommend using EncryptionType instead of KMSEncrypted to set the file share encryption method. You do not need to provide values for both parameters.

    If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType is SseS3, then KMSEncrypted must be false. If EncryptionType is SseKms or DsseKms, then KMSEncrypted must be true.

    Valid Values: true | false

    *)
  20. encryption_type : encryption_type option;
    (*

    A value that specifies the type of server-side encryption that the file share will use for the data that it stores in Amazon S3.

    We recommend using EncryptionType instead of KMSEncrypted to set the file share encryption method. You do not need to provide values for both parameters.

    If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType is SseS3, then KMSEncrypted must be false. If EncryptionType is SseKms or DsseKms, then KMSEncrypted must be true.

    *)
  21. gateway_ar_n : gateway_ar_n option;
  22. file_share_status : file_share_status option;
  23. file_share_id : file_share_id option;
  24. file_share_ar_n : file_share_ar_n option;
  25. nfs_file_share_defaults : nfs_file_share_defaults option;
}

The Unix file permissions and ownership information assigned, by default, to native S3 objects when an S3 File Gateway discovers them in S3 buckets. This operation is only supported in S3 File Gateways.

type nonrec nfs_file_share_info_list = nfs_file_share_info list
type nonrec describe_nfs_file_shares_output = {
  1. nfs_file_share_info_list : nfs_file_share_info_list option;
    (*

    An array containing a description for each requested file share.

    *)
}

DescribeNFSFileSharesOutput

type nonrec describe_nfs_file_shares_input = {
  1. file_share_arn_list : file_share_arn_list;
    (*

    An array containing the Amazon Resource Name (ARN) of each file share to be described.

    *)
}

DescribeNFSFileSharesInput

type nonrec describe_maintenance_start_time_output = {
  1. software_update_preferences : software_update_preferences option;
    (*

    A set of variables indicating the software update preferences for the gateway.

    Includes AutomaticUpdatePolicy parameter with the following inputs:

    ALL_VERSIONS - Enables regular gateway maintenance updates.

    EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance updates. The gateway will still receive emergency version updates on rare occasions if necessary to remedy highly critical security or durability issues. You will be notified before an emergency version update is applied. These updates are applied during your gateway's scheduled maintenance window.

    *)
  2. timezone : gateway_timezone option;
    (*

    A value that indicates the time zone that is set for the gateway. The start time and day of week specified should be in the time zone of the gateway.

    *)
  3. day_of_month : day_of_month option;
    (*

    The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month. It is not possible to set the maintenance schedule to start on days 29 through 31.

    *)
  4. day_of_week : day_of_week option;
    (*

    An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday. The day of week is in the time zone of the gateway.

    *)
  5. minute_of_hour : minute_of_hour option;
    (*

    The minute component of the maintenance start time represented as mm, where mm is the minute (0 to 59). The minute of the hour is in the time zone of the gateway.

    *)
  6. hour_of_day : hour_of_day option;
    (*

    The hour component of the maintenance start time represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.

    *)
  7. gateway_ar_n : gateway_ar_n option;
}

A JSON object containing the following fields:

  • DescribeMaintenanceStartTimeOutput$SoftwareUpdatePreferences
  • DescribeMaintenanceStartTimeOutput$DayOfMonth
  • DescribeMaintenanceStartTimeOutput$DayOfWeek
  • DescribeMaintenanceStartTimeOutput$HourOfDay
  • DescribeMaintenanceStartTimeOutput$MinuteOfHour
  • DescribeMaintenanceStartTimeOutput$Timezone
type nonrec describe_maintenance_start_time_input = {
  1. gateway_ar_n : gateway_ar_n;
}

A JSON object containing the Amazon Resource Name (ARN) of the gateway.

type nonrec gateway_state = string
type nonrec network_interface = {
  1. ipv6_address : string_ option;
    (*

    The Internet Protocol version 6 (IPv6) address of the interface.

    This element returns IPv6 addresses for all gateway types except FSx File Gateway.

    *)
  2. mac_address : string_ option;
    (*

    The Media Access Control (MAC) address of the interface.

    This is currently unsupported and will not be returned in output.

    *)
  3. ipv4_address : string_ option;
    (*

    The Internet Protocol version 4 (IPv4) address of the interface.

    *)
}

Describes a gateway's network interface.

type nonrec gateway_network_interfaces = network_interface list
type nonrec next_update_availability_date = string
type nonrec last_software_update = string
type nonrec endpoint_type = string
type nonrec software_updates_end_date = string
type nonrec describe_gateway_information_output = {
  1. software_version : software_version option;
    (*

    The version number of the software running on the gateway appliance.

    *)
  2. host_environment_id : host_environment_id option;
    (*

    A unique identifier for the specific instance of the host platform running the gateway. This value is only available for certain host environments, and its format depends on the host environment type.

    *)
  3. supported_gateway_capacities : supported_gateway_capacities option;
    (*

    A list of the metadata cache sizes that the gateway can support based on its current hardware specifications.

    *)
  4. gateway_capacity : gateway_capacity option;
    (*

    Specifies the size of the gateway's metadata cache.

    *)
  5. deprecation_date : deprecation_date option;
    (*

    Date after which this gateway will not receive software updates for new features and bug fixes.

    *)
  6. software_updates_end_date : software_updates_end_date option;
    (*

    Date after which this gateway will not receive software updates for new features.

    *)
  7. endpoint_type : endpoint_type option;
    (*

    The type of endpoint for your gateway.

    Valid Values: STANDARD | FIPS

    *)
  8. host_environment : host_environment option;
    (*

    The type of hardware or software platform on which the gateway is running.

    Tape Gateway is no longer available on Snow Family devices.

    *)
  9. cloud_watch_log_group_ar_n : cloud_watch_log_group_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor events in the gateway. This field only only exist and returns once it have been chosen and set by the SGW service, based on the OS version of the gateway VM

    *)
  10. vpc_endpoint : string_ option;
    (*

    The configuration settings for the virtual private cloud (VPC) endpoint for your gateway.

    *)
  11. tags : tags option;
    (*

    A list of up to 50 tags assigned to the gateway, sorted alphabetically by key name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the ListTagsForResource API operation.

    *)
  12. ec2_instance_region : ec2_instance_region option;
    (*

    The Amazon Web Services Region where the Amazon EC2 instance is located.

    *)
  13. ec2_instance_id : ec2_instance_id option;
    (*

    The ID of the Amazon EC2 instance that was used to launch the gateway.

    *)
  14. last_software_update : last_software_update option;
    (*

    The date on which the last software update was applied to the gateway. If the gateway has never been updated, this field does not return a value in the response. This only only exist and returns once it have been chosen and set by the SGW service, based on the OS version of the gateway VM

    *)
  15. next_update_availability_date : next_update_availability_date option;
    (*

    The date on which an update to the gateway is available. This date is in the time zone of the gateway. If the gateway is not available for an update this field is not returned in the response.

    *)
  16. gateway_type : gateway_type option;
    (*

    The type of the gateway.

    Amazon FSx File Gateway is no longer available to new customers. Existing customers of FSx File Gateway can continue to use the service normally. For capabilities similar to FSx File Gateway, visit this blog post.

    *)
  17. gateway_network_interfaces : gateway_network_interfaces option;
    (*

    A NetworkInterface array that contains descriptions of the gateway network interfaces.

    *)
  18. gateway_state : gateway_state option;
    (*

    A value that indicates the operating state of the gateway.

    *)
  19. gateway_timezone : gateway_timezone option;
    (*

    A value that indicates the time zone configured for the gateway.

    *)
  20. gateway_name : string_ option;
    (*

    The name you configured for your gateway.

    *)
  21. gateway_id : gateway_id option;
    (*

    The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.

    *)
  22. gateway_ar_n : gateway_ar_n option;
}

A JSON object containing the following fields:

type nonrec describe_gateway_information_input = {
  1. gateway_ar_n : gateway_ar_n;
}

A JSON object containing the ID of the gateway.

type nonrec file_system_location_ar_n = string
type nonrec ipv4_address = string
type nonrec ip_address_list = ipv4_address list
type nonrec endpoint_network_configuration = {
  1. ip_addresses : ip_address_list option;
    (*

    A list of gateway IP addresses on which the associated Amazon FSx file system is available.

    If multiple file systems are associated with this gateway, this field is required.

    *)
}

Specifies network configuration information for the gateway associated with the Amazon FSx file system.

type nonrec file_system_association_sync_error_code = string
type nonrec file_system_association_status_detail = {
  1. error_code : file_system_association_sync_error_code option;
    (*

    The error code for a given file system association status.

    *)
}

Detailed information on file system association status.

type nonrec file_system_association_status_details = file_system_association_status_detail list
type nonrec file_system_association_info = {
  1. file_system_association_status_details : file_system_association_status_details option;
    (*

    An array containing the FileSystemAssociationStatusDetail data type, which provides detailed information on file system association status.

    *)
  2. endpoint_network_configuration : endpoint_network_configuration option;
    (*

    Specifies network configuration information for the gateway associated with the Amazon FSx file system.

    If multiple file systems are associated with this gateway, this parameter's IpAddresses field is required.

    *)
  3. cache_attributes : cache_attributes option;
  4. tags : tags option;
    (*

    A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key name. Each tag is a key-value pair.

    *)
  5. gateway_ar_n : gateway_ar_n option;
  6. audit_destination_ar_n : audit_destination_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the storage used for the audit logs.

    *)
  7. file_system_association_status : file_system_association_status option;
    (*

    The status of the file system association. Valid Values: AVAILABLE | CREATING | DELETING | FORCE_DELETING | UPDATING | ERROR

    *)
  8. location_ar_n : file_system_location_ar_n option;
    (*

    The ARN of the backend Amazon FSx file system used for storing file data. For information, see FileSystem in the Amazon FSx API Reference.

    *)
  9. file_system_association_ar_n : file_system_association_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the file system association.

    *)
}

Describes the object returned by DescribeFileSystemAssociations that describes a created file system association.

type nonrec file_system_association_info_list = file_system_association_info list
type nonrec describe_file_system_associations_output = {
  1. file_system_association_info_list : file_system_association_info_list option;
    (*

    An array containing the FileSystemAssociationInfo data type of each file system association to be described.

    *)
}
type nonrec file_system_association_arn_list = file_system_association_ar_n list
type nonrec describe_file_system_associations_input = {
  1. file_system_association_arn_list : file_system_association_arn_list;
    (*

    An array containing the Amazon Resource Name (ARN) of each file system association to be described.

    *)
}
type nonrec chap_info = {
  1. secret_to_authenticate_target : chap_secret option;
    (*

    The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g., Windows client).

    *)
  2. initiator_name : iqn_name option;
    (*

    The iSCSI initiator that connects to the target.

    *)
  3. secret_to_authenticate_initiator : chap_secret option;
    (*

    The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.

    *)
  4. target_ar_n : target_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the volume.

    Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

    *)
}

Describes Challenge-Handshake Authentication Protocol (CHAP) information that supports authentication between your gateway and iSCSI initiators.

type nonrec chap_credentials = chap_info list
type nonrec describe_chap_credentials_output = {
  1. chap_credentials : chap_credentials option;
    (*

    An array of ChapInfo objects that represent CHAP credentials. Each object in the array contains CHAP credential information for one target-initiator pair. If no CHAP credentials are set, an empty array is returned. CHAP credential information is provided in a JSON object with the following fields:

    • InitiatorName: The iSCSI initiator that connects to the target.
    • SecretToAuthenticateInitiator: The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
    • SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
    • TargetARN: The Amazon Resource Name (ARN) of the storage volume.
    *)
}

A JSON object containing the following fields:

type nonrec describe_chap_credentials_input = {
  1. target_ar_n : target_ar_n;
    (*

    The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.

    *)
}

A JSON object containing the Amazon Resource Name (ARN) of the iSCSI volume target.

type nonrec describe_cache_report_output = {
  1. cache_report_info : cache_report_info option;
    (*

    Contains all informational fields associated with a cache report. Includes name, ARN, tags, status, progress, filters, start time, and end time.

    *)
}
type nonrec describe_cache_report_input = {
  1. cache_report_ar_n : cache_report_ar_n;
    (*

    The Amazon Resource Name (ARN) of the cache report you want to describe.

    *)
}
type nonrec cachedi_scsi_volume = {
  1. target_name : target_name option;
    (*

    The name of the iSCSI target used by an initiator to connect to a volume and used as a suffix for the target ARN. For example, specifying TargetName as myvolume results in the target ARN of arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. The target name must be unique across all volumes on a gateway.

    If you don't specify a value, Storage Gateway uses the value that was previously used for this volume as the new target name.

    *)
  2. kms_key : kms_key option;
  3. volume_used_in_bytes : volume_used_in_bytes option;
    (*

    The size of the data stored on the volume in bytes. This value is calculated based on the number of blocks that are touched, instead of the actual amount of data written. This value can be useful for sequential write patterns but less accurate for random write patterns. VolumeUsedInBytes is different from the compressed size of the volume, which is the value that is used to calculate your bill.

    This value is not available for volumes created prior to May 13, 2015, until you store data on the volume.

    If you use a delete tool that overwrites the data on your volume with random data, your usage will not be reduced. This is because the random data is not compressible. If you want to reduce the amount of billed storage on your volume, we recommend overwriting your files with zeros to compress the data to a negligible amount of actual storage.

    *)
  4. created_date : created_date option;
    (*

    The date the volume was created. Volumes created prior to March 28, 2017 don’t have this timestamp.

    *)
  5. volumei_scsi_attributes : volumei_scsi_attributes option;
    (*

    An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.

    *)
  6. source_snapshot_id : snapshot_id option;
    (*

    If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g., snap-78e22663. Otherwise, this field is not included.

    *)
  7. volume_progress : double_object option;
    (*

    Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the cached volume is not restoring or bootstrapping.

    *)
  8. volume_size_in_bytes : long option;
    (*

    The size, in bytes, of the volume capacity.

    *)
  9. volume_attachment_status : volume_attachment_status option;
    (*

    A value that indicates whether a storage volume is attached to or detached from a gateway. For more information, see Moving your volumes to a different gateway.

    *)
  10. volume_status : volume_status option;
    (*

    One of the VolumeStatus values that indicates the state of the storage volume.

    *)
  11. volume_type : volume_type option;
    (*

    One of the VolumeType enumeration values that describes the type of the volume.

    *)
  12. volume_id : volume_id option;
    (*

    The unique identifier of the volume, e.g., vol-AE4B946D.

    *)
  13. volume_ar_n : volume_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the storage volume.

    *)
}

Describes an iSCSI cached volume.

type nonrec cachedi_scsi_volumes = cachedi_scsi_volume list
type nonrec describe_cachedi_scsi_volumes_output = {
  1. cachedi_scsi_volumes : cachedi_scsi_volumes option;
    (*

    An array of objects where each object contains metadata about one cached volume.

    *)
}

A JSON object containing the following fields:

type nonrec describe_cachedi_scsi_volumes_input = {
  1. volume_ar_ns : volume_ar_ns;
    (*

    An array of strings where each string represents the Amazon Resource Name (ARN) of a cached volume. All of the specified cached volumes must be from the same gateway. Use ListVolumes to get volume ARNs for a gateway.

    *)
}
type nonrec describe_cache_output = {
  1. cache_miss_percentage : double option;
    (*

    Percent of application read operations from the file shares that are not served from cache. The sample is taken at the end of the reporting period.

    *)
  2. cache_hit_percentage : double option;
    (*

    Percent of application read operations from the file shares that are served from cache. The sample is taken at the end of the reporting period.

    *)
  3. cache_dirty_percentage : double option;
    (*

    The file share's contribution to the overall percentage of the gateway's cache that has not been persisted to Amazon Web Services. The sample is taken at the end of the reporting period.

    *)
  4. cache_used_percentage : double option;
    (*

    Percent use of the gateway's cache storage. This metric applies only to the gateway-cached volume setup. The sample is taken at the end of the reporting period.

    *)
  5. cache_allocated_in_bytes : long option;
    (*

    The amount of cache in bytes allocated to a gateway.

    *)
  6. disk_ids : disk_ids option;
    (*

    An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.

    *)
  7. gateway_ar_n : gateway_ar_n option;
}
type nonrec describe_cache_input = {
  1. gateway_ar_n : gateway_ar_n;
}
type nonrec describe_bandwidth_rate_limit_schedule_output = {
  1. bandwidth_rate_limit_intervals : bandwidth_rate_limit_intervals option;
    (*

    An array that contains the bandwidth rate limit intervals for a tape or volume gateway.

    *)
  2. gateway_ar_n : gateway_ar_n option;
}
type nonrec describe_bandwidth_rate_limit_schedule_input = {
  1. gateway_ar_n : gateway_ar_n;
}
type nonrec describe_bandwidth_rate_limit_output = {
  1. average_download_rate_limit_in_bits_per_sec : bandwidth_download_rate_limit option;
    (*

    The average download bandwidth rate limit in bits per second. This field does not appear in the response if the download rate limit is not set.

    *)
  2. average_upload_rate_limit_in_bits_per_sec : bandwidth_upload_rate_limit option;
    (*

    The average upload bandwidth rate limit in bits per second. This field does not appear in the response if the upload rate limit is not set.

    *)
  3. gateway_ar_n : gateway_ar_n option;
}

A JSON object containing the following fields:

type nonrec describe_bandwidth_rate_limit_input = {
  1. gateway_ar_n : gateway_ar_n;
}

A JSON object containing the Amazon Resource Name (ARN) of the gateway.

type nonrec availability_monitor_test_status =
  1. | PENDING
  2. | FAILED
  3. | COMPLETE
type nonrec describe_availability_monitor_test_output = {
  1. start_time : time option;
    (*

    The time the high availability monitoring test was started. If a test hasn't been performed, the value of this field is null.

    *)
  2. status : availability_monitor_test_status option;
    (*

    The status of the high availability monitoring test. If a test hasn't been performed, the value of this field is null.

    *)
  3. gateway_ar_n : gateway_ar_n option;
}
type nonrec describe_availability_monitor_test_input = {
  1. gateway_ar_n : gateway_ar_n;
}
type nonrec delete_volume_output = {
  1. volume_ar_n : volume_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the storage volume that was deleted. It is the same ARN you provided in the request.

    *)
}

A JSON object containing the Amazon Resource Name (ARN) of the storage volume that was deleted.

type nonrec delete_volume_input = {
  1. volume_ar_n : volume_ar_n;
    (*

    The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

    *)
}

A JSON object containing the DeleteVolumeInput$VolumeARN to delete.

type nonrec delete_tape_pool_output = {
  1. pool_ar_n : pool_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the custom tape pool being deleted.

    *)
}
type nonrec delete_tape_pool_input = {
  1. pool_ar_n : pool_ar_n;
    (*

    The Amazon Resource Name (ARN) of the custom tape pool to delete.

    *)
}
type nonrec delete_tape_archive_output = {
  1. tape_ar_n : tape_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the virtual tape that was deleted from the virtual tape shelf (VTS).

    *)
}

DeleteTapeArchiveOutput

type nonrec delete_tape_archive_input = {
  1. bypass_governance_retention : boolean2 option;
    (*

    Set to TRUE to delete an archived tape that belongs to a custom pool with tape retention lock. Only archived tapes with tape retention lock set to governance can be deleted. Archived tapes with tape retention lock set to compliance can't be deleted.

    *)
  2. tape_ar_n : tape_ar_n;
    (*

    The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf (VTS).

    *)
}

DeleteTapeArchiveInput

type nonrec delete_tape_output = {
  1. tape_ar_n : tape_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the deleted virtual tape.

    *)
}

DeleteTapeOutput

type nonrec delete_tape_input = {
  1. bypass_governance_retention : boolean2 option;
    (*

    Set to TRUE to delete an archived tape that belongs to a custom pool with tape retention lock. Only archived tapes with tape retention lock set to governance can be deleted. Archived tapes with tape retention lock set to compliance can't be deleted.

    *)
  2. tape_ar_n : tape_ar_n;
    (*

    The Amazon Resource Name (ARN) of the virtual tape to delete.

    *)
  3. gateway_ar_n : gateway_ar_n;
    (*

    The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

    *)
}

DeleteTapeInput

type nonrec delete_snapshot_schedule_output = {
  1. volume_ar_n : volume_ar_n option;
    (*

    The volume which snapshot schedule was deleted.

    *)
}
type nonrec delete_snapshot_schedule_input = {
  1. volume_ar_n : volume_ar_n;
    (*

    The volume which snapshot schedule to delete.

    *)
}
type nonrec delete_gateway_output = {
  1. gateway_ar_n : gateway_ar_n option;
}

A JSON object containing the ID of the deleted gateway.

type nonrec delete_gateway_input = {
  1. gateway_ar_n : gateway_ar_n;
}

A JSON object containing the ID of the gateway to delete.

type nonrec delete_file_share_output = {
  1. file_share_ar_n : file_share_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the deleted file share.

    *)
}

DeleteFileShareOutput

type nonrec delete_file_share_input = {
  1. force_delete : boolean2 option;
    (*

    If this value is set to true, the operation deletes a file share immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is not deleted until all data is uploaded to Amazon Web Services. This process aborts the data upload process, and the file share enters the FORCE_DELETING status.

    Valid Values: true | false

    *)
  2. file_share_ar_n : file_share_ar_n;
    (*

    The Amazon Resource Name (ARN) of the file share to be deleted.

    *)
}

DeleteFileShareInput

type nonrec delete_chap_credentials_output = {
  1. initiator_name : iqn_name option;
    (*

    The iSCSI initiator that connects to the target.

    *)
  2. target_ar_n : target_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the target.

    *)
}

A JSON object containing the following fields:

type nonrec delete_chap_credentials_input = {
  1. initiator_name : iqn_name;
    (*

    The iSCSI initiator that connects to the target.

    *)
  2. target_ar_n : target_ar_n;
    (*

    The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.

    *)
}

A JSON object containing one or more of the following fields:

  • DeleteChapCredentialsInput$InitiatorName
  • DeleteChapCredentialsInput$TargetARN
type nonrec delete_cache_report_output = {
  1. cache_report_ar_n : cache_report_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the cache report you want to delete.

    *)
}
type nonrec delete_cache_report_input = {
  1. cache_report_ar_n : cache_report_ar_n;
    (*

    The Amazon Resource Name (ARN) of the cache report you want to delete.

    *)
}
type nonrec delete_bandwidth_rate_limit_output = {
  1. gateway_ar_n : gateway_ar_n option;
}

A JSON object containing the Amazon Resource Name (ARN) of the gateway whose bandwidth rate information was deleted.

type nonrec bandwidth_type = string
type nonrec delete_bandwidth_rate_limit_input = {
  1. bandwidth_type : bandwidth_type;
    (*

    One of the BandwidthType values that indicates the gateway bandwidth rate limit to delete.

    Valid Values: UPLOAD | DOWNLOAD | ALL

    *)
  2. gateway_ar_n : gateway_ar_n;
}

A JSON object containing the following fields:

  • DeleteBandwidthRateLimitInput$BandwidthType
type nonrec delete_automatic_tape_creation_policy_output = {
  1. gateway_ar_n : gateway_ar_n option;
}
type nonrec delete_automatic_tape_creation_policy_input = {
  1. gateway_ar_n : gateway_ar_n;
}
type nonrec create_tape_with_barcode_output = {
  1. tape_ar_n : tape_ar_n option;
    (*

    A unique Amazon Resource Name (ARN) that represents the virtual tape that was created.

    *)
}

CreateTapeOutput

type nonrec create_tape_with_barcode_input = {
  1. tags : tags option;
    (*

    A list of up to 50 tags that can be assigned to a virtual tape that has a barcode. Each tag is a key-value pair.

    Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.

    *)
  2. worm : boolean2 option;
    (*

    Set to TRUE if the tape you are creating is to be configured as a write-once-read-many (WORM) tape.

    *)
  3. pool_id : pool_id option;
    (*

    The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Deep Archive) that corresponds to the pool.

    *)
  4. kms_key : kms_key option;
    (*

    The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when KMSEncrypted is true. Optional.

    *)
  5. kms_encrypted : boolean_ option;
    (*

    Set to true to use Amazon S3 server-side encryption with your own KMS key, or false to use a key managed by Amazon S3. Optional.

    Valid Values: true | false

    *)
  6. tape_barcode : tape_barcode;
    (*

    The barcode that you want to assign to the tape.

    Barcodes cannot be reused. This includes barcodes used for tapes that have been deleted.

    *)
  7. tape_size_in_bytes : tape_size;
    (*

    The size, in bytes, of the virtual tape that you want to create.

    The size must be aligned by gigabyte (1024*1024*1024 bytes).

    *)
  8. gateway_ar_n : gateway_ar_n;
    (*

    The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape with. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

    *)
}

CreateTapeWithBarcodeInput

type nonrec create_tapes_output = {
  1. tape_ar_ns : tape_ar_ns option;
    (*

    A list of unique Amazon Resource Names (ARNs) that represents the virtual tapes that were created.

    *)
}

CreateTapeOutput

type nonrec num_tapes_to_create = int
type nonrec create_tapes_input = {
  1. tags : tags option;
    (*

    A list of up to 50 tags that can be assigned to a virtual tape. Each tag is a key-value pair.

    Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.

    *)
  2. worm : boolean2 option;
    (*

    Set to TRUE if the tape you are creating is to be configured as a write-once-read-many (WORM) tape.

    *)
  3. pool_id : pool_id option;
    (*

    The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

    *)
  4. kms_key : kms_key option;
    (*

    The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when KMSEncrypted is true. Optional.

    *)
  5. kms_encrypted : boolean_ option;
    (*

    Set to true to use Amazon S3 server-side encryption with your own KMS key, or false to use a key managed by Amazon S3. Optional.

    Valid Values: true | false

    *)
  6. tape_barcode_prefix : tape_barcode_prefix;
    (*

    A prefix that you append to the barcode of the virtual tape you are creating. This prefix makes the barcode unique.

    The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.

    *)
  7. num_tapes_to_create : num_tapes_to_create;
    (*

    The number of virtual tapes that you want to create.

    *)
  8. client_token : client_token;
    (*

    A unique identifier that you use to retry a request. If you retry a request, use the same ClientToken you specified in the initial request.

    Using the same ClientToken prevents creating the tape multiple times.

    *)
  9. tape_size_in_bytes : tape_size;
    (*

    The size, in bytes, of the virtual tapes that you want to create.

    The size must be aligned by gigabyte (1024*1024*1024 bytes).

    *)
  10. gateway_ar_n : gateway_ar_n;
    (*

    The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

    *)
}

CreateTapesInput

type nonrec create_tape_pool_output = {
  1. pool_ar_n : pool_ar_n option;
    (*

    The unique Amazon Resource Name (ARN) that represents the custom tape pool. Use the ListTapePools operation to return a list of tape pools for your account and Amazon Web Services Region.

    *)
}
type nonrec create_tape_pool_input = {
  1. tags : tags option;
    (*

    A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair.

    Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.

    *)
  2. retention_lock_time_in_days : retention_lock_time_in_days option;
    (*

    Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days).

    *)
  3. retention_lock_type : retention_lock_type option;
    (*

    Tape retention lock can be configured in two modes. When configured in governance mode, Amazon Web Services accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root Amazon Web Services account.

    *)
  4. storage_class : tape_storage_class;
    (*

    The storage class that is associated with the new custom pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

    *)
  5. pool_name : pool_name;
    (*

    The name of the new custom tape pool.

    *)
}
type nonrec create_storedi_scsi_volume_output = {
  1. target_ar_n : target_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI name that initiators can use to connect to the target.

    *)
  2. volume_size_in_bytes : long option;
    (*

    The size of the volume in bytes.

    *)
  3. volume_ar_n : volume_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the configured volume.

    *)
}

A JSON object containing the following fields:

type nonrec create_storedi_scsi_volume_input = {
  1. tags : tags option;
    (*

    A list of up to 50 tags that can be assigned to a stored volume. Each tag is a key-value pair.

    Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.

    *)
  2. kms_key : kms_key option;
    (*

    The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when KMSEncrypted is true. Optional.

    *)
  3. kms_encrypted : boolean_ option;
    (*

    Set to true to use Amazon S3 server-side encryption with your own KMS key, or false to use a key managed by Amazon S3. Optional.

    Valid Values: true | false

    *)
  4. network_interface_id : network_interface_id;
    (*

    The network interface of the gateway on which to expose the iSCSI target. Accepts IPv4 and IPv6 addresses. Use DescribeGatewayInformation to get a list of the network interfaces available on a gateway.

    Valid Values: A valid IP address.

    *)
  5. target_name : target_name;
    (*

    The name of the iSCSI target used by an initiator to connect to a volume and used as a suffix for the target ARN. For example, specifying TargetName as myvolume results in the target ARN of arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. The target name must be unique across all volumes on a gateway.

    If you don't specify a value, Storage Gateway uses the value that was previously used for this volume as the new target name.

    *)
  6. preserve_existing_data : boolean2;
    (*

    Set to true if you want to preserve the data on the local disk. Otherwise, set to false to create an empty volume.

    Valid Values: true | false

    *)
  7. snapshot_id : snapshot_id option;
    (*

    The snapshot ID (e.g., "snap-1122aabb") of the snapshot to restore as the new stored volume. Specify this field if you want to create the iSCSI storage volume from a snapshot; otherwise, do not include this field. To list snapshots for your account use DescribeSnapshots in the Amazon Elastic Compute Cloud API Reference.

    *)
  8. disk_id : disk_id;
    (*

    The unique identifier for the gateway local disk that is configured as a stored volume. Use ListLocalDisks to list disk IDs for a gateway.

    *)
  9. gateway_ar_n : gateway_ar_n;
}

A JSON object containing one or more of the following fields:

  • CreateStorediSCSIVolumeInput$DiskId
  • CreateStorediSCSIVolumeInput$NetworkInterfaceId
  • CreateStorediSCSIVolumeInput$PreserveExistingData
  • CreateStorediSCSIVolumeInput$SnapshotId
  • CreateStorediSCSIVolumeInput$TargetName
type nonrec service_unavailable_error = {
  1. error : storage_gateway_error option;
    (*

    A StorageGatewayError that provides more information about the cause of the error.

    *)
  2. message : string_ option;
    (*

    A human-readable message describing the error that occurred.

    *)
}

An internal server error has occurred because the service is unavailable. For more information, see the error and message fields.

type nonrec create_snapshot_from_volume_recovery_point_output = {
  1. volume_recovery_point_time : string_ option;
    (*

    The time the volume was created from the recovery point.

    *)
  2. volume_ar_n : volume_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.

    *)
  3. snapshot_id : snapshot_id option;
    (*

    The ID of the snapshot.

    *)
}
type nonrec snapshot_description = string
type nonrec create_snapshot_from_volume_recovery_point_input = {
  1. tags : tags option;
    (*

    A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value pair.

    Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.

    *)
  2. snapshot_description : snapshot_description;
    (*

    Textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the Storage Gateway snapshot Details pane, Description field.

    *)
  3. volume_ar_n : volume_ar_n;
    (*

    The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.

    *)
}
type nonrec create_snapshot_output = {
  1. snapshot_id : snapshot_id option;
    (*

    The snapshot ID that is used to refer to the snapshot in future operations such as describing snapshots (Amazon Elastic Compute Cloud API DescribeSnapshots) or creating a volume from a snapshot (CreateStorediSCSIVolume).

    *)
  2. volume_ar_n : volume_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the volume of which the snapshot was taken.

    *)
}

A JSON object containing the following fields:

type nonrec create_snapshot_input = {
  1. tags : tags option;
    (*

    A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value pair.

    Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.

    *)
  2. snapshot_description : snapshot_description;
    (*

    Textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the Storage Gateway snapshot Details pane, Description field.

    *)
  3. volume_ar_n : volume_ar_n;
    (*

    The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

    *)
}

A JSON object containing one or more of the following fields:

  • CreateSnapshotInput$SnapshotDescription
  • CreateSnapshotInput$VolumeARN
type nonrec create_smb_file_share_output = {
  1. file_share_ar_n : file_share_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the newly created file share.

    *)
}

CreateSMBFileShareOutput

type nonrec create_smb_file_share_input = {
  1. oplocks_enabled : boolean_ option;
    (*

    Specifies whether opportunistic locking is enabled for the SMB file share.

    Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve access to files with the same name in different case.

    Valid Values: true | false

    *)
  2. bucket_region : region_id option;
    (*

    Specifies the Region of the S3 bucket where the SMB file share stores files.

    This parameter is required for SMB file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

    *)
  3. vpc_endpoint_dns_name : dns_host_name option;
    (*

    Specifies the DNS name for the VPC endpoint that the SMB file share uses to connect to Amazon S3.

    This parameter is required for SMB file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

    *)
  4. notification_policy : notification_policy option;
    (*

    The notification policy of the file share. SettlingTimeInSeconds controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.

    SettlingTimeInSeconds has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.

    This setting is not meant to specify an exact time at which the notification will be sent. In some cases, the gateway might require more than the specified delay time to generate and send notifications.

    The following example sets NotificationPolicy on with SettlingTimeInSeconds set to 60.

    {\"Upload\": {\"SettlingTimeInSeconds\": 60}}

    The following example sets NotificationPolicy off.

    {}

    *)
  5. cache_attributes : cache_attributes option;
    (*

    Specifies refresh cache information for the file share.

    *)
  6. file_share_name : file_share_name option;
    (*

    The name of the file share. Optional.

    FileShareName must be set if an S3 prefix name is set in LocationARN, or if an access point or access point alias is used.

    A valid SMB file share name cannot contain the following characters: [,],#,;,<,>,:,",],[/],[|],[?],[*],[+], or ASCII control characters [1-31].

    *)
  7. tags : tags option;
    (*

    A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a key-value pair.

    Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.

    *)
  8. case_sensitivity : case_sensitivity option;
    (*

    The case of an object name in an Amazon S3 bucket. For ClientSpecified, the client determines the case sensitivity. For CaseSensitive, the gateway determines the case sensitivity. The default value is ClientSpecified.

    *)
  9. authentication : authentication option;
    (*

    The authentication method that users use to access the file share. The default is ActiveDirectory.

    Valid Values: ActiveDirectory | GuestAccess

    *)
  10. audit_destination_ar_n : audit_destination_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the storage used for audit logs.

    *)
  11. invalid_user_list : user_list option;
    (*

    A list of users or groups in the Active Directory that are not allowed to access the file share. A group must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1, user1, @group1, and @DOMAIN\group1. Can only be set if Authentication is set to ActiveDirectory.

    *)
  12. valid_user_list : user_list option;
    (*

    A list of users or groups in the Active Directory that are allowed to access the file share. A group must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1, user1, @group1, and @DOMAIN\group1. Can only be set if Authentication is set to ActiveDirectory.

    *)
  13. admin_user_list : user_list option;
    (*

    A list of users or groups in the Active Directory that will be granted administrator privileges on the file share. These users can do all file operations as the super-user. Acceptable formats include: DOMAIN\User1, user1, @group1, and @DOMAIN\group1.

    Use this option very carefully, because any user in this list can do anything they like on the file share, regardless of file permissions.

    *)
  14. access_based_enumeration : boolean_ option;
    (*

    The files and folders on this share will only be visible to users with read access.

    *)
  15. smbacl_enabled : boolean_ option;
    (*

    Set this value to true to enable access control list (ACL) on the SMB file share. Set it to false to map file and directory permissions to the POSIX permissions.

    For more information, see Using Windows ACLs to limit SMB file share access in the Amazon S3 File Gateway User Guide.

    Valid Values: true | false

    *)
  16. requester_pays : boolean_ option;
    (*

    A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket. If this value is set to true, the requester pays the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays the cost of storing data.

    RequesterPays is a configuration for the S3 bucket that backs the file share, so make sure that the configuration on the file share is the same as the S3 bucket configuration.

    Valid Values: true | false

    *)
  17. guess_mime_type_enabled : boolean_ option;
    (*

    A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to true to enable MIME type guessing, otherwise set to false. The default value is true.

    Valid Values: true | false

    *)
  18. read_only : boolean_ option;
    (*

    A value that sets the write status of a file share. Set this value to true to set the write status to read-only, otherwise set to false.

    Valid Values: true | false

    *)
  19. object_ac_l : object_ac_l option;
    (*

    A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 File Gateway puts objects into. The default value is private.

    *)
  20. default_storage_class : storage_class option;
    (*

    The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_STANDARD. Optional.

    Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA

    *)
  21. location_ar_n : location_ar_n;
    (*

    A custom ARN for the backend storage used for storing data for file shares. It includes a resource ARN with an optional prefix concatenation. The prefix must end with a forward slash (/).

    You can specify LocationARN as a bucket ARN, access point ARN or access point alias, as shown in the following examples.

    Bucket ARN:

    arn:aws:s3:::amzn-s3-demo-bucket/prefix/

    Access point ARN:

    arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/

    If you specify an access point, the bucket policy must be configured to delegate access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.

    Access point alias:

    test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias

    *)
  22. role : role;
    (*

    The ARN of the Identity and Access Management (IAM) role that an S3 File Gateway assumes when it accesses the underlying storage.

    *)
  23. kms_key : kms_key option;
    (*

    Optional. The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value must be set if KMSEncrypted is true, or if EncryptionType is SseKms or DsseKms.

    *)
  24. kms_encrypted : boolean_ option;
    (*

    Optional. Set to true to use Amazon S3 server-side encryption with your own KMS key (SSE-KMS), or false to use a key managed by Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the EncryptionType parameter instead.

    We recommend using EncryptionType instead of KMSEncrypted to set the file share encryption method. You do not need to provide values for both parameters.

    If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType is SseS3, then KMSEncrypted must be false. If EncryptionType is SseKms or DsseKms, then KMSEncrypted must be true.

    Valid Values: true | false

    *)
  25. encryption_type : encryption_type option;
    (*

    A value that specifies the type of server-side encryption that the file share will use for the data that it stores in Amazon S3.

    We recommend using EncryptionType instead of KMSEncrypted to set the file share encryption method. You do not need to provide values for both parameters.

    If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType is SseS3, then KMSEncrypted must be false. If EncryptionType is SseKms or DsseKms, then KMSEncrypted must be true.

    *)
  26. gateway_ar_n : gateway_ar_n;
    (*

    The ARN of the S3 File Gateway on which you want to create a file share.

    *)
  27. client_token : client_token;
    (*

    A unique string value that you supply that is used by S3 File Gateway to ensure idempotent file share creation.

    *)
}

CreateSMBFileShareInput

type nonrec create_nfs_file_share_output = {
  1. file_share_ar_n : file_share_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the newly created file share.

    *)
}

CreateNFSFileShareOutput

type nonrec create_nfs_file_share_input = {
  1. audit_destination_ar_n : audit_destination_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the storage used for audit logs.

    *)
  2. bucket_region : region_id option;
    (*

    Specifies the Region of the S3 bucket where the NFS file share stores files.

    This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

    *)
  3. vpc_endpoint_dns_name : dns_host_name option;
    (*

    Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to Amazon S3.

    This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

    *)
  4. notification_policy : notification_policy option;
    (*

    The notification policy of the file share. SettlingTimeInSeconds controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.

    SettlingTimeInSeconds has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.

    This setting is not meant to specify an exact time at which the notification will be sent. In some cases, the gateway might require more than the specified delay time to generate and send notifications.

    The following example sets NotificationPolicy on with SettlingTimeInSeconds set to 60.

    {\"Upload\": {\"SettlingTimeInSeconds\": 60}}

    The following example sets NotificationPolicy off.

    {}

    *)
  5. cache_attributes : cache_attributes option;
    (*

    Specifies refresh cache information for the file share.

    *)
  6. file_share_name : file_share_name option;
    (*

    The name of the file share. Optional.

    FileShareName must be set if an S3 prefix name is set in LocationARN, or if an access point or access point alias is used.

    A valid NFS file share name can only contain the following characters: a-z, A-Z, 0-9, -, ., and _.

    *)
  7. tags : tags option;
    (*

    A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a key-value pair.

    Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.

    *)
  8. requester_pays : boolean_ option;
    (*

    A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket. If this value is set to true, the requester pays the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays the cost of storing data.

    RequesterPays is a configuration for the S3 bucket that backs the file share, so make sure that the configuration on the file share is the same as the S3 bucket configuration.

    Valid Values: true | false

    *)
  9. guess_mime_type_enabled : boolean_ option;
    (*

    A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to true to enable MIME type guessing, otherwise set to false. The default value is true.

    Valid Values: true | false

    *)
  10. read_only : boolean_ option;
    (*

    A value that sets the write status of a file share. Set this value to true to set the write status to read-only, otherwise set to false.

    Valid Values: true | false

    *)
  11. squash : squash option;
    (*

    A value that maps a user to anonymous user.

    Valid values are the following:

    • RootSquash: Only root is mapped to anonymous user.
    • NoSquash: No one is mapped to anonymous user.
    • AllSquash: Everyone is mapped to anonymous user.
    *)
  12. client_list : file_share_client_list option;
    (*

    The list of clients that are allowed to access the S3 File Gateway. The list must contain either valid IPv4/IPv6 addresses or valid CIDR blocks.

    *)
  13. object_ac_l : object_ac_l option;
    (*

    A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 File Gateway puts objects into. The default value is private.

    *)
  14. default_storage_class : storage_class option;
    (*

    The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_STANDARD. Optional.

    Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA

    *)
  15. location_ar_n : location_ar_n;
    (*

    A custom ARN for the backend storage used for storing data for file shares. It includes a resource ARN with an optional prefix concatenation. The prefix must end with a forward slash (/).

    You can specify LocationARN as a bucket ARN, access point ARN or access point alias, as shown in the following examples.

    Bucket ARN:

    arn:aws:s3:::amzn-s3-demo-bucket/prefix/

    Access point ARN:

    arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/

    If you specify an access point, the bucket policy must be configured to delegate access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.

    Access point alias:

    test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias

    *)
  16. role : role;
    (*

    The ARN of the Identity and Access Management (IAM) role that an S3 File Gateway assumes when it accesses the underlying storage.

    *)
  17. kms_key : kms_key option;
    (*

    Optional. The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value must be set if KMSEncrypted is true, or if EncryptionType is SseKms or DsseKms.

    *)
  18. kms_encrypted : boolean_ option;
    (*

    Optional. Set to true to use Amazon S3 server-side encryption with your own KMS key (SSE-KMS), or false to use a key managed by Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the EncryptionType parameter instead.

    We recommend using EncryptionType instead of KMSEncrypted to set the file share encryption method. You do not need to provide values for both parameters.

    If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType is SseS3, then KMSEncrypted must be false. If EncryptionType is SseKms or DsseKms, then KMSEncrypted must be true.

    Valid Values: true | false

    *)
  19. encryption_type : encryption_type option;
    (*

    A value that specifies the type of server-side encryption that the file share will use for the data that it stores in Amazon S3.

    We recommend using EncryptionType instead of KMSEncrypted to set the file share encryption method. You do not need to provide values for both parameters.

    If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType is SseS3, then KMSEncrypted must be false. If EncryptionType is SseKms or DsseKms, then KMSEncrypted must be true.

    *)
  20. gateway_ar_n : gateway_ar_n;
    (*

    The Amazon Resource Name (ARN) of the S3 File Gateway on which you want to create a file share.

    *)
  21. nfs_file_share_defaults : nfs_file_share_defaults option;
    (*

    File share default values. Optional.

    *)
  22. client_token : client_token;
    (*

    A unique string value that you supply that is used by S3 File Gateway to ensure idempotent file share creation.

    *)
}

CreateNFSFileShareInput

type nonrec create_cachedi_scsi_volume_output = {
  1. target_ar_n : target_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI name that initiators can use to connect to the target.

    *)
  2. volume_ar_n : volume_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the configured volume.

    *)
}
type nonrec create_cachedi_scsi_volume_input = {
  1. tags : tags option;
    (*

    A list of up to 50 tags that you can assign to a cached volume. Each tag is a key-value pair.

    Valid characters for key and value are letters, spaces, and numbers that you can represent in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256 characters.

    *)
  2. kms_key : kms_key option;
    (*

    The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when KMSEncrypted is true. Optional.

    *)
  3. kms_encrypted : boolean_ option;
    (*

    Set to true to use Amazon S3 server-side encryption with your own KMS key, or false to use a key managed by Amazon S3. Optional.

    Valid Values: true | false

    *)
  4. client_token : client_token;
    (*

    A unique identifier that you use to retry a request. If you retry a request, use the same ClientToken you specified in the initial request.

    *)
  5. network_interface_id : network_interface_id;
    (*

    The network interface of the gateway on which to expose the iSCSI target. Accepts IPv4 and IPv6 addresses. Use DescribeGatewayInformation to get a list of the network interfaces available on a gateway.

    Valid Values: A valid IP address.

    *)
  6. source_volume_ar_n : volume_ar_n option;
    (*

    The ARN for an existing volume. Specifying this ARN makes the new volume into an exact copy of the specified existing volume's latest recovery point. The VolumeSizeInBytes value for this new volume must be equal to or larger than the size of the existing volume, in bytes.

    *)
  7. target_name : target_name;
    (*

    The name of the iSCSI target used by an initiator to connect to a volume and used as a suffix for the target ARN. For example, specifying TargetName as myvolume results in the target ARN of arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. The target name must be unique across all volumes on a gateway.

    If you don't specify a value, Storage Gateway uses the value that was previously used for this volume as the new target name.

    *)
  8. snapshot_id : snapshot_id option;
    (*

    The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as the new cached volume. Specify this field if you want to create the iSCSI storage volume from a snapshot; otherwise, do not include this field. To list snapshots for your account use DescribeSnapshots in the Amazon Elastic Compute Cloud API Reference.

    *)
  9. volume_size_in_bytes : long;
    (*

    The size of the volume in bytes.

    *)
  10. gateway_ar_n : gateway_ar_n;
}
type nonrec cancel_retrieval_output = {
  1. tape_ar_n : tape_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the virtual tape for which retrieval was canceled.

    *)
}

CancelRetrievalOutput

type nonrec cancel_retrieval_input = {
  1. tape_ar_n : tape_ar_n;
    (*

    The Amazon Resource Name (ARN) of the virtual tape you want to cancel retrieval for.

    *)
  2. gateway_ar_n : gateway_ar_n;
}

CancelRetrievalInput

type nonrec cancel_cache_report_output = {
  1. cache_report_ar_n : cache_report_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the cache report you want to cancel.

    *)
}
type nonrec cancel_cache_report_input = {
  1. cache_report_ar_n : cache_report_ar_n;
    (*

    The Amazon Resource Name (ARN) of the cache report you want to cancel.

    *)
}
type nonrec cancel_archival_output = {
  1. tape_ar_n : tape_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the virtual tape for which archiving was canceled.

    *)
}

CancelArchivalOutput

type nonrec cancel_archival_input = {
  1. tape_ar_n : tape_ar_n;
    (*

    The Amazon Resource Name (ARN) of the virtual tape you want to cancel archiving for.

    *)
  2. gateway_ar_n : gateway_ar_n;
}

CancelArchivalInput

type nonrec attach_volume_output = {
  1. target_ar_n : target_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI name for the initiator that was used to connect to the target.

    *)
  2. volume_ar_n : volume_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the volume that was attached to the gateway.

    *)
}

AttachVolumeOutput

type nonrec attach_volume_input = {
  1. disk_id : disk_id option;
    (*

    The unique device ID or other distinguishing data that identifies the local disk used to create the volume. This value is only required when you are attaching a stored volume.

    *)
  2. network_interface_id : network_interface_id;
    (*

    The network interface of the gateway on which to expose the iSCSI target. Accepts IPv4 and IPv6 addresses. Use DescribeGatewayInformation to get a list of the network interfaces available on a gateway.

    Valid Values: A valid IP address.

    *)
  3. volume_ar_n : volume_ar_n;
    (*

    The Amazon Resource Name (ARN) of the volume to attach to the specified gateway.

    *)
  4. target_name : target_name option;
    (*

    The name of the iSCSI target used by an initiator to connect to a volume and used as a suffix for the target ARN. For example, specifying TargetName as myvolume results in the target ARN of arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. The target name must be unique across all volumes on a gateway.

    If you don't specify a value, Storage Gateway uses the value that was previously used for this volume as the new target name.

    *)
  5. gateway_ar_n : gateway_ar_n;
    (*

    The Amazon Resource Name (ARN) of the gateway that you want to attach the volume to.

    *)
}

AttachVolumeInput

type nonrec associate_file_system_output = {
  1. file_system_association_ar_n : file_system_association_ar_n option;
    (*

    The ARN of the newly created file system association.

    *)
}
type nonrec associate_file_system_input = {
  1. endpoint_network_configuration : endpoint_network_configuration option;
    (*

    Specifies the network configuration information for the gateway associated with the Amazon FSx file system.

    If multiple file systems are associated with this gateway, this parameter's IpAddresses field is required.

    *)
  2. cache_attributes : cache_attributes option;
  3. audit_destination_ar_n : audit_destination_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the storage used for the audit logs.

    *)
  4. tags : tags option;
    (*

    A list of up to 50 tags that can be assigned to the file system association. Each tag is a key-value pair.

    *)
  5. location_ar_n : file_system_location_ar_n;
    (*

    The Amazon Resource Name (ARN) of the Amazon FSx file system to associate with the FSx File Gateway.

    *)
  6. gateway_ar_n : gateway_ar_n;
  7. client_token : client_token;
    (*

    A unique string value that you supply that is used by the FSx File Gateway to ensure idempotent file system association creation.

    *)
  8. password : domain_user_password;
    (*

    The password of the user credential.

    *)
  9. user_name : domain_user_name;
    (*

    The user name of the user credential that has permission to access the root share D$ of the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin user group.

    *)
}
type nonrec assign_tape_pool_output = {
  1. tape_ar_n : tape_ar_n option;
    (*

    The unique Amazon Resource Names (ARN) of the virtual tape that was added to the tape pool.

    *)
}
type nonrec assign_tape_pool_input = {
  1. bypass_governance_retention : boolean2 option;
    (*

    Set permissions to bypass governance retention. If the lock type of the archived tape is Governance, the tape's archived age is not older than RetentionLockInDays, and the user does not already have BypassGovernanceRetention, setting this to TRUE enables the user to bypass the retention lock. This parameter is set to true by default for calls from the console.

    Valid values: TRUE | FALSE

    *)
  2. pool_id : pool_id;
    (*

    The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

    *)
  3. tape_ar_n : tape_ar_n;
    (*

    The unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the tape pool.

    *)
}
type nonrec add_working_storage_output = {
  1. gateway_ar_n : gateway_ar_n option;
}

A JSON object containing the Amazon Resource Name (ARN) of the gateway for which working storage was configured.

type nonrec add_working_storage_input = {
  1. disk_ids : disk_ids;
    (*

    An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.

    *)
  2. gateway_ar_n : gateway_ar_n;
}

A JSON object containing one or more of the following fields:

  • AddWorkingStorageInput$DiskIds
type nonrec add_upload_buffer_output = {
  1. gateway_ar_n : gateway_ar_n option;
}
type nonrec add_upload_buffer_input = {
  1. disk_ids : disk_ids;
    (*

    An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.

    *)
  2. gateway_ar_n : gateway_ar_n;
}
type nonrec add_tags_to_resource_output = {
  1. resource_ar_n : resource_ar_n option;
    (*

    The Amazon Resource Name (ARN) of the resource you want to add tags to.

    *)
}

AddTagsToResourceOutput

type nonrec add_tags_to_resource_input = {
  1. tags : tags;
    (*

    The key-value pair that represents the tag you want to add to the resource. The value can be an empty string.

    Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.

    *)
  2. resource_ar_n : resource_ar_n;
    (*

    The Amazon Resource Name (ARN) of the resource you want to add tags to.

    *)
}

AddTagsToResourceInput

type nonrec add_cache_output = {
  1. gateway_ar_n : gateway_ar_n option;
}
type nonrec add_cache_input = {
  1. disk_ids : disk_ids;
    (*

    An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.

    *)
  2. gateway_ar_n : gateway_ar_n;
}
type nonrec activate_gateway_output = {
  1. gateway_ar_n : gateway_ar_n option;
}

Storage Gateway returns the Amazon Resource Name (ARN) of the activated gateway. It is a string made of information such as your account, gateway name, and Amazon Web Services Region. This ARN is used to reference the gateway in other API operations as well as resource-based authorization.

For gateways activated prior to September 02, 2015, the gateway ARN contains the gateway name rather than the gateway ID. Changing the name of the gateway has no effect on the gateway ARN.

type nonrec activation_key = string
type nonrec medium_changer_type = string
type nonrec activate_gateway_input = {
  1. tags : tags option;
    (*

    A list of up to 50 tags that you can assign to the gateway. Each tag is a key-value pair.

    Valid characters for key and value are letters, spaces, and numbers that can be represented in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256 characters.

    *)
  2. medium_changer_type : medium_changer_type option;
    (*

    The value that indicates the type of medium changer to use for tape gateway. This field is optional.

    Valid Values: STK-L700 | AWS-Gateway-VTL | IBM-03584L32-0402

    *)
  3. tape_drive_type : tape_drive_type option;
    (*

    The value that indicates the type of tape drive to use for tape gateway. This field is optional.

    Valid Values: IBM-ULT3580-TD5

    *)
  4. gateway_type : gateway_type option;
    (*

    A value that defines the type of gateway to activate. The type specified is critical to all later functions of the gateway and cannot be changed after activation. The default value is CACHED.

    Amazon FSx File Gateway is no longer available to new customers. Existing customers of FSx File Gateway can continue to use the service normally. For capabilities similar to FSx File Gateway, visit this blog post.

    Valid Values: STORED | CACHED | VTL | FILE_S3 | FILE_FSX_SMB

    *)
  5. gateway_region : region_id;
    (*

    A value that indicates the Amazon Web Services Region where you want to store your data. The gateway Amazon Web Services Region specified must be the same Amazon Web Services Region as the Amazon Web Services Region in your Host header in the request. For more information about available Amazon Web Services Regions and endpoints for Storage Gateway, see Storage Gateway endpoints and quotas in the Amazon Web Services General Reference.

    Valid Values: See Storage Gateway endpoints and quotas in the Amazon Web Services General Reference.

    *)
  6. gateway_timezone : gateway_timezone;
    (*

    A value that indicates the time zone you want to set for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT indicates Greenwich Mean Time without any offset. GMT-4:00 indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is 2 hours ahead of GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.

    *)
  7. gateway_name : gateway_name;
    (*

    The name you configured for your gateway.

    *)
  8. activation_key : activation_key;
    (*

    Your gateway activation key. You can obtain the activation key by sending an HTTP GET request with redirects enabled to the gateway IP address (port 80). The redirect URL returned in the response provides you the activation key for your gateway in the query string parameter activationKey. It may also include other activation-related parameters, however, these are merely defaults -- the arguments you pass to the ActivateGateway API call determine the actual configuration of your gateway.

    For more information, see Getting activation key in the Storage Gateway User Guide.

    *)
}

A JSON object containing one or more of the following fields:

  • ActivateGatewayInput$ActivationKey
  • ActivateGatewayInput$GatewayName
  • ActivateGatewayInput$GatewayRegion
  • ActivateGatewayInput$GatewayTimezone
  • ActivateGatewayInput$GatewayType
  • ActivateGatewayInput$MediumChangerType
  • ActivateGatewayInput$TapeDriveType