//go:build !no_runtime_type_checking package awscdkcognitoidentitypoolalpha import ( "fmt" _jsii_ "github.com/aws/jsii-runtime-go/runtime" "github.com/aws/constructs-go/constructs/v10" ) func (u *jsiiProxy_UserPoolAuthenticationProvider) validateBindParameters(scope constructs.Construct, identityPool IIdentityPool, _options *UserPoolAuthenticationProviderBindOptions) error { if scope == nil { return fmt.Errorf("parameter scope is required, but nil was provided") } if identityPool == nil { return fmt.Errorf("parameter identityPool is required, but nil was provided") } if err := _jsii_.ValidateStruct(_options, func() string { return "parameter _options" }); err != nil { return err } return nil } func validateNewUserPoolAuthenticationProviderParameters(props *UserPoolAuthenticationProviderProps) error { if props == nil { return fmt.Errorf("parameter props is required, but nil was provided") } if err := _jsii_.ValidateStruct(props, func() string { return "parameter props" }); err != nil { return err } return nil }