// Returns the data in a block in an Amazon Elastic Block Store snapshot.
Returns the data in a block in an Amazon Elastic Block Store snapshot.
// Returns the data in a block in an Amazon Elastic Block Store snapshot .
func (c *Client) GetSnapshotBlock(ctx context.Context, params *GetSnapshotBlockInput, optFns ...func(*Options)) (*GetSnapshotBlockOutput, error) {
	if params == nil {
		params = &GetSnapshotBlockInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetSnapshotBlock", params, optFns, addOperationGetSnapshotBlockMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetSnapshotBlockOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetSnapshotBlock ( ctx context . Context , params * GetSnapshotBlockInput , optFns ... func ( * Options ) ) ( * GetSnapshotBlockOutput , error ) { if params == nil { params = & GetSnapshotBlockInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetSnapshotBlockMiddlewares ) if err != nil { return nil , err } out := result . ( * GetSnapshotBlockOutput ) out . ResultMetadata = metadata return out , nil }
Returns the data in a block in an Amazon Elastic Block Store snapshot.
Returns the data in a block in an Amazon Elastic Block Store snapshot .