// Attaches an existing object to another object. An object can be accessed in two
// ways:
//
// * Using the path
//
// * Using ObjectIdentifier
Attaches an existing object to another object. An object can be accessed in two
ways.

Using the path

Using ObjectIdentifier
// Attaches an existing object to another object . An object can be accessed in two // ways : // // * Using the path // // * Using ObjectIdentifier
func (c *Client) AttachObject(ctx context.Context, params *AttachObjectInput, optFns ...func(*Options)) (*AttachObjectOutput, error) {
	if params == nil {
		params = &AttachObjectInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "AttachObject", params, optFns, addOperationAttachObjectMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*AttachObjectOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) AttachObject ( ctx context . Context , params * AttachObjectInput , optFns ... func ( * Options ) ) ( * AttachObjectOutput , error ) { if params == nil { params = & AttachObjectInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationAttachObjectMiddlewares ) if err != nil { return nil , err } out := result . ( * AttachObjectOutput ) out . ResultMetadata = metadata return out , nil }
Attaches an existing object to another object.
Attaches an existing object to another object .