// Writes a block of data to a snapshot. If the specified block contains data, the
// existing data is overwritten. The target snapshot must be in the pending state.
// Data written to a snapshot must be aligned with 512-byte sectors.
Writes a block of data to a snapshot. If the specified block contains data, the
existing data is overwritten. The target snapshot must be in the pending state.
Data written to a snapshot must be aligned with 512-byte sectors.
// Writes a block of data to a snapshot . If the specified block contains data the // existing data is overwritten . The target snapshot must be in the pending state . // Data written to a snapshot must be aligned with 512 - byte sectors .
func (c *Client) PutSnapshotBlock(ctx context.Context, params *PutSnapshotBlockInput, optFns ...func(*Options)) (*PutSnapshotBlockOutput, error) {
	if params == nil {
		params = &PutSnapshotBlockInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "PutSnapshotBlock", params, optFns, addOperationPutSnapshotBlockMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*PutSnapshotBlockOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) PutSnapshotBlock ( ctx context . Context , params * PutSnapshotBlockInput , optFns ... func ( * Options ) ) ( * PutSnapshotBlockOutput , error ) { if params == nil { params = & PutSnapshotBlockInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationPutSnapshotBlockMiddlewares ) if err != nil { return nil , err } out := result . ( * PutSnapshotBlockOutput ) out . ResultMetadata = metadata return out , nil }
Writes a block of data to a snapshot.
Writes a block of data to a snapshot .