// Lists the SSO instances that the caller has access to.
Lists the SSO instances that the caller has access to.
// Lists the SSO instances that the caller has access to .
func (c *Client) ListInstances(ctx context.Context, params *ListInstancesInput, optFns ...func(*Options)) (*ListInstancesOutput, error) {
	if params == nil {
		params = &ListInstancesInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListInstances", params, optFns, addOperationListInstancesMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListInstancesOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListInstances ( ctx context . Context , params * ListInstancesInput , optFns ... func ( * Options ) ) ( * ListInstancesOutput , error ) { if params == nil { params = & ListInstancesInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListInstancesMiddlewares ) if err != nil { return nil , err } out := result . ( * ListInstancesOutput ) out . ResultMetadata = metadata return out , nil }
Lists the SSO instances that the caller has access to.
Lists the SSO instances that the caller has access to .