// Represents a collection of DomainName resources.
Represents a collection of DomainName resources.
// Represents a collection of DomainName resources .
func (c *Client) GetDomainNames(ctx context.Context, params *GetDomainNamesInput, optFns ...func(*Options)) (*GetDomainNamesOutput, error) {
	if params == nil {
		params = &GetDomainNamesInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetDomainNames", params, optFns, addOperationGetDomainNamesMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetDomainNamesOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetDomainNames ( ctx context . Context , params * GetDomainNamesInput , optFns ... func ( * Options ) ) ( * GetDomainNamesOutput , error ) { if params == nil { params = & GetDomainNamesInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetDomainNamesMiddlewares ) if err != nil { return nil , err } out := result . ( * GetDomainNamesOutput ) out . ResultMetadata = metadata return out , nil }
Represents a collection of DomainName resources.
Represents a collection of DomainName resources .