Documentation ¶
Index ¶
- type IClient
- func (_m *IClient) CreateConfigurationSet(ctx context.Context, params *pinpointemail.CreateConfigurationSetInput, ...) (*pinpointemail.CreateConfigurationSetOutput, error)
- func (_m *IClient) CreateConfigurationSetEventDestination(ctx context.Context, ...) (*pinpointemail.CreateConfigurationSetEventDestinationOutput, error)
- func (_m *IClient) CreateDedicatedIpPool(ctx context.Context, params *pinpointemail.CreateDedicatedIpPoolInput, ...) (*pinpointemail.CreateDedicatedIpPoolOutput, error)
- func (_m *IClient) CreateDeliverabilityTestReport(ctx context.Context, params *pinpointemail.CreateDeliverabilityTestReportInput, ...) (*pinpointemail.CreateDeliverabilityTestReportOutput, error)
- func (_m *IClient) CreateEmailIdentity(ctx context.Context, params *pinpointemail.CreateEmailIdentityInput, ...) (*pinpointemail.CreateEmailIdentityOutput, error)
- func (_m *IClient) DeleteConfigurationSet(ctx context.Context, params *pinpointemail.DeleteConfigurationSetInput, ...) (*pinpointemail.DeleteConfigurationSetOutput, error)
- func (_m *IClient) DeleteConfigurationSetEventDestination(ctx context.Context, ...) (*pinpointemail.DeleteConfigurationSetEventDestinationOutput, error)
- func (_m *IClient) DeleteDedicatedIpPool(ctx context.Context, params *pinpointemail.DeleteDedicatedIpPoolInput, ...) (*pinpointemail.DeleteDedicatedIpPoolOutput, error)
- func (_m *IClient) DeleteEmailIdentity(ctx context.Context, params *pinpointemail.DeleteEmailIdentityInput, ...) (*pinpointemail.DeleteEmailIdentityOutput, error)
- func (_m *IClient) GetAccount(ctx context.Context, params *pinpointemail.GetAccountInput, ...) (*pinpointemail.GetAccountOutput, error)
- func (_m *IClient) GetBlacklistReports(ctx context.Context, params *pinpointemail.GetBlacklistReportsInput, ...) (*pinpointemail.GetBlacklistReportsOutput, error)
- func (_m *IClient) GetConfigurationSet(ctx context.Context, params *pinpointemail.GetConfigurationSetInput, ...) (*pinpointemail.GetConfigurationSetOutput, error)
- func (_m *IClient) GetConfigurationSetEventDestinations(ctx context.Context, ...) (*pinpointemail.GetConfigurationSetEventDestinationsOutput, error)
- func (_m *IClient) GetDedicatedIp(ctx context.Context, params *pinpointemail.GetDedicatedIpInput, ...) (*pinpointemail.GetDedicatedIpOutput, error)
- func (_m *IClient) GetDedicatedIps(ctx context.Context, params *pinpointemail.GetDedicatedIpsInput, ...) (*pinpointemail.GetDedicatedIpsOutput, error)
- func (_m *IClient) GetDeliverabilityDashboardOptions(ctx context.Context, ...) (*pinpointemail.GetDeliverabilityDashboardOptionsOutput, error)
- func (_m *IClient) GetDeliverabilityTestReport(ctx context.Context, params *pinpointemail.GetDeliverabilityTestReportInput, ...) (*pinpointemail.GetDeliverabilityTestReportOutput, error)
- func (_m *IClient) GetDomainDeliverabilityCampaign(ctx context.Context, ...) (*pinpointemail.GetDomainDeliverabilityCampaignOutput, error)
- func (_m *IClient) GetDomainStatisticsReport(ctx context.Context, params *pinpointemail.GetDomainStatisticsReportInput, ...) (*pinpointemail.GetDomainStatisticsReportOutput, error)
- func (_m *IClient) GetEmailIdentity(ctx context.Context, params *pinpointemail.GetEmailIdentityInput, ...) (*pinpointemail.GetEmailIdentityOutput, error)
- func (_m *IClient) ListConfigurationSets(ctx context.Context, params *pinpointemail.ListConfigurationSetsInput, ...) (*pinpointemail.ListConfigurationSetsOutput, error)
- func (_m *IClient) ListDedicatedIpPools(ctx context.Context, params *pinpointemail.ListDedicatedIpPoolsInput, ...) (*pinpointemail.ListDedicatedIpPoolsOutput, error)
- func (_m *IClient) ListDeliverabilityTestReports(ctx context.Context, params *pinpointemail.ListDeliverabilityTestReportsInput, ...) (*pinpointemail.ListDeliverabilityTestReportsOutput, error)
- func (_m *IClient) ListDomainDeliverabilityCampaigns(ctx context.Context, ...) (*pinpointemail.ListDomainDeliverabilityCampaignsOutput, error)
- func (_m *IClient) ListEmailIdentities(ctx context.Context, params *pinpointemail.ListEmailIdentitiesInput, ...) (*pinpointemail.ListEmailIdentitiesOutput, error)
- func (_m *IClient) ListTagsForResource(ctx context.Context, params *pinpointemail.ListTagsForResourceInput, ...) (*pinpointemail.ListTagsForResourceOutput, error)
- func (_m *IClient) Options() pinpointemail.Options
- func (_m *IClient) PutAccountDedicatedIpWarmupAttributes(ctx context.Context, ...) (*pinpointemail.PutAccountDedicatedIpWarmupAttributesOutput, error)
- func (_m *IClient) PutAccountSendingAttributes(ctx context.Context, params *pinpointemail.PutAccountSendingAttributesInput, ...) (*pinpointemail.PutAccountSendingAttributesOutput, error)
- func (_m *IClient) PutConfigurationSetDeliveryOptions(ctx context.Context, ...) (*pinpointemail.PutConfigurationSetDeliveryOptionsOutput, error)
- func (_m *IClient) PutConfigurationSetReputationOptions(ctx context.Context, ...) (*pinpointemail.PutConfigurationSetReputationOptionsOutput, error)
- func (_m *IClient) PutConfigurationSetSendingOptions(ctx context.Context, ...) (*pinpointemail.PutConfigurationSetSendingOptionsOutput, error)
- func (_m *IClient) PutConfigurationSetTrackingOptions(ctx context.Context, ...) (*pinpointemail.PutConfigurationSetTrackingOptionsOutput, error)
- func (_m *IClient) PutDedicatedIpInPool(ctx context.Context, params *pinpointemail.PutDedicatedIpInPoolInput, ...) (*pinpointemail.PutDedicatedIpInPoolOutput, error)
- func (_m *IClient) PutDedicatedIpWarmupAttributes(ctx context.Context, params *pinpointemail.PutDedicatedIpWarmupAttributesInput, ...) (*pinpointemail.PutDedicatedIpWarmupAttributesOutput, error)
- func (_m *IClient) PutDeliverabilityDashboardOption(ctx context.Context, ...) (*pinpointemail.PutDeliverabilityDashboardOptionOutput, error)
- func (_m *IClient) PutEmailIdentityDkimAttributes(ctx context.Context, params *pinpointemail.PutEmailIdentityDkimAttributesInput, ...) (*pinpointemail.PutEmailIdentityDkimAttributesOutput, error)
- func (_m *IClient) PutEmailIdentityFeedbackAttributes(ctx context.Context, ...) (*pinpointemail.PutEmailIdentityFeedbackAttributesOutput, error)
- func (_m *IClient) PutEmailIdentityMailFromAttributes(ctx context.Context, ...) (*pinpointemail.PutEmailIdentityMailFromAttributesOutput, error)
- func (_m *IClient) SendEmail(ctx context.Context, params *pinpointemail.SendEmailInput, ...) (*pinpointemail.SendEmailOutput, error)
- func (_m *IClient) TagResource(ctx context.Context, params *pinpointemail.TagResourceInput, ...) (*pinpointemail.TagResourceOutput, error)
- func (_m *IClient) UntagResource(ctx context.Context, params *pinpointemail.UntagResourceInput, ...) (*pinpointemail.UntagResourceOutput, error)
- func (_m *IClient) UpdateConfigurationSetEventDestination(ctx context.Context, ...) (*pinpointemail.UpdateConfigurationSetEventDestinationOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IClient ¶
IClient is an autogenerated mock type for the IClient type
func NewIClient ¶
NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IClient) CreateConfigurationSet ¶
func (_m *IClient) CreateConfigurationSet(ctx context.Context, params *pinpointemail.CreateConfigurationSetInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.CreateConfigurationSetOutput, error)
CreateConfigurationSet provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateConfigurationSetEventDestination ¶
func (_m *IClient) CreateConfigurationSetEventDestination(ctx context.Context, params *pinpointemail.CreateConfigurationSetEventDestinationInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.CreateConfigurationSetEventDestinationOutput, error)
CreateConfigurationSetEventDestination provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateDedicatedIpPool ¶
func (_m *IClient) CreateDedicatedIpPool(ctx context.Context, params *pinpointemail.CreateDedicatedIpPoolInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.CreateDedicatedIpPoolOutput, error)
CreateDedicatedIpPool provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateDeliverabilityTestReport ¶
func (_m *IClient) CreateDeliverabilityTestReport(ctx context.Context, params *pinpointemail.CreateDeliverabilityTestReportInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.CreateDeliverabilityTestReportOutput, error)
CreateDeliverabilityTestReport provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateEmailIdentity ¶
func (_m *IClient) CreateEmailIdentity(ctx context.Context, params *pinpointemail.CreateEmailIdentityInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.CreateEmailIdentityOutput, error)
CreateEmailIdentity provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteConfigurationSet ¶
func (_m *IClient) DeleteConfigurationSet(ctx context.Context, params *pinpointemail.DeleteConfigurationSetInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.DeleteConfigurationSetOutput, error)
DeleteConfigurationSet provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteConfigurationSetEventDestination ¶
func (_m *IClient) DeleteConfigurationSetEventDestination(ctx context.Context, params *pinpointemail.DeleteConfigurationSetEventDestinationInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.DeleteConfigurationSetEventDestinationOutput, error)
DeleteConfigurationSetEventDestination provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteDedicatedIpPool ¶
func (_m *IClient) DeleteDedicatedIpPool(ctx context.Context, params *pinpointemail.DeleteDedicatedIpPoolInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.DeleteDedicatedIpPoolOutput, error)
DeleteDedicatedIpPool provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteEmailIdentity ¶
func (_m *IClient) DeleteEmailIdentity(ctx context.Context, params *pinpointemail.DeleteEmailIdentityInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.DeleteEmailIdentityOutput, error)
DeleteEmailIdentity provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetAccount ¶
func (_m *IClient) GetAccount(ctx context.Context, params *pinpointemail.GetAccountInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.GetAccountOutput, error)
GetAccount provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetBlacklistReports ¶
func (_m *IClient) GetBlacklistReports(ctx context.Context, params *pinpointemail.GetBlacklistReportsInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.GetBlacklistReportsOutput, error)
GetBlacklistReports provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetConfigurationSet ¶
func (_m *IClient) GetConfigurationSet(ctx context.Context, params *pinpointemail.GetConfigurationSetInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.GetConfigurationSetOutput, error)
GetConfigurationSet provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetConfigurationSetEventDestinations ¶
func (_m *IClient) GetConfigurationSetEventDestinations(ctx context.Context, params *pinpointemail.GetConfigurationSetEventDestinationsInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.GetConfigurationSetEventDestinationsOutput, error)
GetConfigurationSetEventDestinations provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetDedicatedIp ¶
func (_m *IClient) GetDedicatedIp(ctx context.Context, params *pinpointemail.GetDedicatedIpInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.GetDedicatedIpOutput, error)
GetDedicatedIp provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetDedicatedIps ¶
func (_m *IClient) GetDedicatedIps(ctx context.Context, params *pinpointemail.GetDedicatedIpsInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.GetDedicatedIpsOutput, error)
GetDedicatedIps provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetDeliverabilityDashboardOptions ¶
func (_m *IClient) GetDeliverabilityDashboardOptions(ctx context.Context, params *pinpointemail.GetDeliverabilityDashboardOptionsInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.GetDeliverabilityDashboardOptionsOutput, error)
GetDeliverabilityDashboardOptions provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetDeliverabilityTestReport ¶
func (_m *IClient) GetDeliverabilityTestReport(ctx context.Context, params *pinpointemail.GetDeliverabilityTestReportInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.GetDeliverabilityTestReportOutput, error)
GetDeliverabilityTestReport provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetDomainDeliverabilityCampaign ¶
func (_m *IClient) GetDomainDeliverabilityCampaign(ctx context.Context, params *pinpointemail.GetDomainDeliverabilityCampaignInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.GetDomainDeliverabilityCampaignOutput, error)
GetDomainDeliverabilityCampaign provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetDomainStatisticsReport ¶
func (_m *IClient) GetDomainStatisticsReport(ctx context.Context, params *pinpointemail.GetDomainStatisticsReportInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.GetDomainStatisticsReportOutput, error)
GetDomainStatisticsReport provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetEmailIdentity ¶
func (_m *IClient) GetEmailIdentity(ctx context.Context, params *pinpointemail.GetEmailIdentityInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.GetEmailIdentityOutput, error)
GetEmailIdentity provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListConfigurationSets ¶
func (_m *IClient) ListConfigurationSets(ctx context.Context, params *pinpointemail.ListConfigurationSetsInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.ListConfigurationSetsOutput, error)
ListConfigurationSets provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListDedicatedIpPools ¶
func (_m *IClient) ListDedicatedIpPools(ctx context.Context, params *pinpointemail.ListDedicatedIpPoolsInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.ListDedicatedIpPoolsOutput, error)
ListDedicatedIpPools provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListDeliverabilityTestReports ¶
func (_m *IClient) ListDeliverabilityTestReports(ctx context.Context, params *pinpointemail.ListDeliverabilityTestReportsInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.ListDeliverabilityTestReportsOutput, error)
ListDeliverabilityTestReports provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListDomainDeliverabilityCampaigns ¶
func (_m *IClient) ListDomainDeliverabilityCampaigns(ctx context.Context, params *pinpointemail.ListDomainDeliverabilityCampaignsInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.ListDomainDeliverabilityCampaignsOutput, error)
ListDomainDeliverabilityCampaigns provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListEmailIdentities ¶
func (_m *IClient) ListEmailIdentities(ctx context.Context, params *pinpointemail.ListEmailIdentitiesInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.ListEmailIdentitiesOutput, error)
ListEmailIdentities provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListTagsForResource ¶
func (_m *IClient) ListTagsForResource(ctx context.Context, params *pinpointemail.ListTagsForResourceInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.ListTagsForResourceOutput, error)
ListTagsForResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) Options ¶
func (_m *IClient) Options() pinpointemail.Options
Options provides a mock function with given fields:
func (*IClient) PutAccountDedicatedIpWarmupAttributes ¶
func (_m *IClient) PutAccountDedicatedIpWarmupAttributes(ctx context.Context, params *pinpointemail.PutAccountDedicatedIpWarmupAttributesInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.PutAccountDedicatedIpWarmupAttributesOutput, error)
PutAccountDedicatedIpWarmupAttributes provides a mock function with given fields: ctx, params, optFns
func (*IClient) PutAccountSendingAttributes ¶
func (_m *IClient) PutAccountSendingAttributes(ctx context.Context, params *pinpointemail.PutAccountSendingAttributesInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.PutAccountSendingAttributesOutput, error)
PutAccountSendingAttributes provides a mock function with given fields: ctx, params, optFns
func (*IClient) PutConfigurationSetDeliveryOptions ¶
func (_m *IClient) PutConfigurationSetDeliveryOptions(ctx context.Context, params *pinpointemail.PutConfigurationSetDeliveryOptionsInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.PutConfigurationSetDeliveryOptionsOutput, error)
PutConfigurationSetDeliveryOptions provides a mock function with given fields: ctx, params, optFns
func (*IClient) PutConfigurationSetReputationOptions ¶
func (_m *IClient) PutConfigurationSetReputationOptions(ctx context.Context, params *pinpointemail.PutConfigurationSetReputationOptionsInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.PutConfigurationSetReputationOptionsOutput, error)
PutConfigurationSetReputationOptions provides a mock function with given fields: ctx, params, optFns
func (*IClient) PutConfigurationSetSendingOptions ¶
func (_m *IClient) PutConfigurationSetSendingOptions(ctx context.Context, params *pinpointemail.PutConfigurationSetSendingOptionsInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.PutConfigurationSetSendingOptionsOutput, error)
PutConfigurationSetSendingOptions provides a mock function with given fields: ctx, params, optFns
func (*IClient) PutConfigurationSetTrackingOptions ¶
func (_m *IClient) PutConfigurationSetTrackingOptions(ctx context.Context, params *pinpointemail.PutConfigurationSetTrackingOptionsInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.PutConfigurationSetTrackingOptionsOutput, error)
PutConfigurationSetTrackingOptions provides a mock function with given fields: ctx, params, optFns
func (*IClient) PutDedicatedIpInPool ¶
func (_m *IClient) PutDedicatedIpInPool(ctx context.Context, params *pinpointemail.PutDedicatedIpInPoolInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.PutDedicatedIpInPoolOutput, error)
PutDedicatedIpInPool provides a mock function with given fields: ctx, params, optFns
func (*IClient) PutDedicatedIpWarmupAttributes ¶
func (_m *IClient) PutDedicatedIpWarmupAttributes(ctx context.Context, params *pinpointemail.PutDedicatedIpWarmupAttributesInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.PutDedicatedIpWarmupAttributesOutput, error)
PutDedicatedIpWarmupAttributes provides a mock function with given fields: ctx, params, optFns
func (*IClient) PutDeliverabilityDashboardOption ¶
func (_m *IClient) PutDeliverabilityDashboardOption(ctx context.Context, params *pinpointemail.PutDeliverabilityDashboardOptionInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.PutDeliverabilityDashboardOptionOutput, error)
PutDeliverabilityDashboardOption provides a mock function with given fields: ctx, params, optFns
func (*IClient) PutEmailIdentityDkimAttributes ¶
func (_m *IClient) PutEmailIdentityDkimAttributes(ctx context.Context, params *pinpointemail.PutEmailIdentityDkimAttributesInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.PutEmailIdentityDkimAttributesOutput, error)
PutEmailIdentityDkimAttributes provides a mock function with given fields: ctx, params, optFns
func (*IClient) PutEmailIdentityFeedbackAttributes ¶
func (_m *IClient) PutEmailIdentityFeedbackAttributes(ctx context.Context, params *pinpointemail.PutEmailIdentityFeedbackAttributesInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.PutEmailIdentityFeedbackAttributesOutput, error)
PutEmailIdentityFeedbackAttributes provides a mock function with given fields: ctx, params, optFns
func (*IClient) PutEmailIdentityMailFromAttributes ¶
func (_m *IClient) PutEmailIdentityMailFromAttributes(ctx context.Context, params *pinpointemail.PutEmailIdentityMailFromAttributesInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.PutEmailIdentityMailFromAttributesOutput, error)
PutEmailIdentityMailFromAttributes provides a mock function with given fields: ctx, params, optFns
func (*IClient) SendEmail ¶
func (_m *IClient) SendEmail(ctx context.Context, params *pinpointemail.SendEmailInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.SendEmailOutput, error)
SendEmail provides a mock function with given fields: ctx, params, optFns
func (*IClient) TagResource ¶
func (_m *IClient) TagResource(ctx context.Context, params *pinpointemail.TagResourceInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.TagResourceOutput, error)
TagResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) UntagResource ¶
func (_m *IClient) UntagResource(ctx context.Context, params *pinpointemail.UntagResourceInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.UntagResourceOutput, error)
UntagResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) UpdateConfigurationSetEventDestination ¶
func (_m *IClient) UpdateConfigurationSetEventDestination(ctx context.Context, params *pinpointemail.UpdateConfigurationSetEventDestinationInput, optFns ...func(*pinpointemail.Options)) (*pinpointemail.UpdateConfigurationSetEventDestinationOutput, error)
UpdateConfigurationSetEventDestination provides a mock function with given fields: ctx, params, optFns