You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: api_op_GetProfileObjectType.go
    path of file: ./repos/aws-sdk-go-v2/service/customerprofiles
    
    the code of the file until where you have to start completion: // Code generated by smithy-go-codegen DO NOT EDIT.

package customerprofiles

import (
	"context"
	"fmt"
	awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware"
	"github.com/aws/aws-sdk-go-v2/service/customerprofiles/types"
	"github.com/aws/smithy-go/middleware"
	smithyhttp "github.com/aws/smithy-go/transport/http"
	"time"
)

// Returns the object types for a specific domain.
func (c *Clie
    
func (c *Client) GetProfileObjectType(ctx context.Context, params *GetProfileObjectTypeInput, optFns ...func(*Options)) (*GetProfileObjectTypeOutput, error) {
	if params == nil {
		params = &GetProfileObjectTypeInput{}
	}

	result, metadata, err := c.invokeOperation(ctx, "GetProfileObjectType", params, optFns, c.addOperationGetProfileObjectTypeMiddlewares)
	if err != nil {
		return nil, err
	}

	out := result.(*GetProfileObjectTypeOutput)
	out.ResultMetadata = metadata
	return out, nil
}