// Assigns a tape to a tape pool for archiving. The tape assigned to a 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 S3 storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to
// the pool. Valid Values: GLACIER | DEEP_ARCHIVE
Assigns a tape to a tape pool for archiving. The tape assigned to a 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 S3 storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to
the pool. Valid Values: GLACIER | DEEP_ARCHIVE
// Assigns a tape to a tape pool for archiving . The tape assigned to a 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 S3 storage class ( S3 Glacier or S3 Glacier Deep Archive ) that corresponds to // the pool . Valid Values : GLACIER | DEEP_ARCHIVE
func (c *Client) AssignTapePool(ctx context.Context, params *AssignTapePoolInput, optFns ...func(*Options)) (*AssignTapePoolOutput, error) {
	if params == nil {
		params = &AssignTapePoolInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "AssignTapePool", params, optFns, addOperationAssignTapePoolMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*AssignTapePoolOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) AssignTapePool ( ctx context . Context , params * AssignTapePoolInput , optFns ... func ( * Options ) ) ( * AssignTapePoolOutput , error ) { if params == nil { params = & AssignTapePoolInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationAssignTapePoolMiddlewares ) if err != nil { return nil , err } out := result . ( * AssignTapePoolOutput ) out . ResultMetadata = metadata return out , nil }
Assigns a tape to a tape pool for archiving.
Assigns a tape to a tape pool for archiving .