Documentation
¶
Overview ¶
Package customerprofiles provides the API client, operations, and parameter types for Amazon Connect Customer Profiles.
Amazon Connect Customer Profiles Welcome to the Amazon Connect Customer Profiles API Reference. This guide provides information about the Amazon Connect Customer Profiles API, including supported operations, data types, parameters, and schemas. Amazon Connect Customer Profiles is a unified customer profile for your contact center that has pre-built connectors powered by AppFlow that make it easy to combine customer information from third party applications, such as Salesforce (CRM), ServiceNow (ITSM), and your enterprise resource planning (ERP), with contact history from your Amazon Connect contact center. If you're new to Amazon Connect , you might find it helpful to also review the Amazon Connect Administrator Guide (https://docs.aws.amazon.com/connect/latest/adminguide/what-is-amazon-connect.html).
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- type AddProfileKeyInput
- type AddProfileKeyOutput
- type Client
- func (c *Client) AddProfileKey(ctx context.Context, params *AddProfileKeyInput, optFns ...func(*Options)) (*AddProfileKeyOutput, error)
- func (c *Client) CreateDomain(ctx context.Context, params *CreateDomainInput, optFns ...func(*Options)) (*CreateDomainOutput, error)
- func (c *Client) CreateIntegrationWorkflow(ctx context.Context, params *CreateIntegrationWorkflowInput, ...) (*CreateIntegrationWorkflowOutput, error)
- func (c *Client) CreateProfile(ctx context.Context, params *CreateProfileInput, optFns ...func(*Options)) (*CreateProfileOutput, error)
- func (c *Client) DeleteDomain(ctx context.Context, params *DeleteDomainInput, optFns ...func(*Options)) (*DeleteDomainOutput, error)
- func (c *Client) DeleteIntegration(ctx context.Context, params *DeleteIntegrationInput, optFns ...func(*Options)) (*DeleteIntegrationOutput, error)
- func (c *Client) DeleteProfile(ctx context.Context, params *DeleteProfileInput, optFns ...func(*Options)) (*DeleteProfileOutput, error)
- func (c *Client) DeleteProfileKey(ctx context.Context, params *DeleteProfileKeyInput, optFns ...func(*Options)) (*DeleteProfileKeyOutput, error)
- func (c *Client) DeleteProfileObject(ctx context.Context, params *DeleteProfileObjectInput, ...) (*DeleteProfileObjectOutput, error)
- func (c *Client) DeleteProfileObjectType(ctx context.Context, params *DeleteProfileObjectTypeInput, ...) (*DeleteProfileObjectTypeOutput, error)
- func (c *Client) DeleteWorkflow(ctx context.Context, params *DeleteWorkflowInput, optFns ...func(*Options)) (*DeleteWorkflowOutput, error)
- func (c *Client) GetAutoMergingPreview(ctx context.Context, params *GetAutoMergingPreviewInput, ...) (*GetAutoMergingPreviewOutput, error)
- func (c *Client) GetDomain(ctx context.Context, params *GetDomainInput, optFns ...func(*Options)) (*GetDomainOutput, error)
- func (c *Client) GetIdentityResolutionJob(ctx context.Context, params *GetIdentityResolutionJobInput, ...) (*GetIdentityResolutionJobOutput, error)
- func (c *Client) GetIntegration(ctx context.Context, params *GetIntegrationInput, optFns ...func(*Options)) (*GetIntegrationOutput, error)
- func (c *Client) GetMatches(ctx context.Context, params *GetMatchesInput, optFns ...func(*Options)) (*GetMatchesOutput, error)
- func (c *Client) GetProfileObjectType(ctx context.Context, params *GetProfileObjectTypeInput, ...) (*GetProfileObjectTypeOutput, error)
- func (c *Client) GetProfileObjectTypeTemplate(ctx context.Context, params *GetProfileObjectTypeTemplateInput, ...) (*GetProfileObjectTypeTemplateOutput, error)
- func (c *Client) GetWorkflow(ctx context.Context, params *GetWorkflowInput, optFns ...func(*Options)) (*GetWorkflowOutput, error)
- func (c *Client) GetWorkflowSteps(ctx context.Context, params *GetWorkflowStepsInput, optFns ...func(*Options)) (*GetWorkflowStepsOutput, error)
- func (c *Client) ListAccountIntegrations(ctx context.Context, params *ListAccountIntegrationsInput, ...) (*ListAccountIntegrationsOutput, error)
- func (c *Client) ListDomains(ctx context.Context, params *ListDomainsInput, optFns ...func(*Options)) (*ListDomainsOutput, error)
- func (c *Client) ListIdentityResolutionJobs(ctx context.Context, params *ListIdentityResolutionJobsInput, ...) (*ListIdentityResolutionJobsOutput, error)
- func (c *Client) ListIntegrations(ctx context.Context, params *ListIntegrationsInput, optFns ...func(*Options)) (*ListIntegrationsOutput, error)
- func (c *Client) ListProfileObjectTypeTemplates(ctx context.Context, params *ListProfileObjectTypeTemplatesInput, ...) (*ListProfileObjectTypeTemplatesOutput, error)
- func (c *Client) ListProfileObjectTypes(ctx context.Context, params *ListProfileObjectTypesInput, ...) (*ListProfileObjectTypesOutput, error)
- func (c *Client) ListProfileObjects(ctx context.Context, params *ListProfileObjectsInput, optFns ...func(*Options)) (*ListProfileObjectsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) ListWorkflows(ctx context.Context, params *ListWorkflowsInput, optFns ...func(*Options)) (*ListWorkflowsOutput, error)
- func (c *Client) MergeProfiles(ctx context.Context, params *MergeProfilesInput, optFns ...func(*Options)) (*MergeProfilesOutput, error)
- func (c *Client) PutIntegration(ctx context.Context, params *PutIntegrationInput, optFns ...func(*Options)) (*PutIntegrationOutput, error)
- func (c *Client) PutProfileObject(ctx context.Context, params *PutProfileObjectInput, optFns ...func(*Options)) (*PutProfileObjectOutput, error)
- func (c *Client) PutProfileObjectType(ctx context.Context, params *PutProfileObjectTypeInput, ...) (*PutProfileObjectTypeOutput, error)
- func (c *Client) SearchProfiles(ctx context.Context, params *SearchProfilesInput, optFns ...func(*Options)) (*SearchProfilesOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateDomain(ctx context.Context, params *UpdateDomainInput, optFns ...func(*Options)) (*UpdateDomainOutput, error)
- func (c *Client) UpdateProfile(ctx context.Context, params *UpdateProfileInput, optFns ...func(*Options)) (*UpdateProfileOutput, error)
- type CreateDomainInput
- type CreateDomainOutput
- type CreateIntegrationWorkflowInput
- type CreateIntegrationWorkflowOutput
- type CreateProfileInput
- type CreateProfileOutput
- type DeleteDomainInput
- type DeleteDomainOutput
- type DeleteIntegrationInput
- type DeleteIntegrationOutput
- type DeleteProfileInput
- type DeleteProfileKeyInput
- type DeleteProfileKeyOutput
- type DeleteProfileObjectInput
- type DeleteProfileObjectOutput
- type DeleteProfileObjectTypeInput
- type DeleteProfileObjectTypeOutput
- type DeleteProfileOutput
- type DeleteWorkflowInput
- type DeleteWorkflowOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type GetAutoMergingPreviewInput
- type GetAutoMergingPreviewOutput
- type GetDomainInput
- type GetDomainOutput
- type GetIdentityResolutionJobInput
- type GetIdentityResolutionJobOutput
- type GetIntegrationInput
- type GetIntegrationOutput
- type GetMatchesInput
- type GetMatchesOutput
- type GetProfileObjectTypeInput
- type GetProfileObjectTypeOutput
- type GetProfileObjectTypeTemplateInput
- type GetProfileObjectTypeTemplateOutput
- type GetWorkflowInput
- type GetWorkflowOutput
- type GetWorkflowStepsInput
- type GetWorkflowStepsOutput
- type HTTPClient
- type HTTPSignerV4
- type ListAccountIntegrationsInput
- type ListAccountIntegrationsOutput
- type ListDomainsInput
- type ListDomainsOutput
- type ListIdentityResolutionJobsInput
- type ListIdentityResolutionJobsOutput
- type ListIntegrationsInput
- type ListIntegrationsOutput
- type ListProfileObjectTypeTemplatesInput
- type ListProfileObjectTypeTemplatesOutput
- type ListProfileObjectTypesInput
- type ListProfileObjectTypesOutput
- type ListProfileObjectsInput
- type ListProfileObjectsOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListWorkflowsInput
- type ListWorkflowsOutput
- type MergeProfilesInput
- type MergeProfilesOutput
- type Options
- type PutIntegrationInput
- type PutIntegrationOutput
- type PutProfileObjectInput
- type PutProfileObjectOutput
- type PutProfileObjectTypeInput
- type PutProfileObjectTypeOutput
- type ResolveEndpoint
- type SearchProfilesInput
- type SearchProfilesOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateDomainInput
- type UpdateDomainOutput
- type UpdateProfileInput
- type UpdateProfileOutput
Constants ¶
const ServiceAPIVersion = "2020-08-15"
const ServiceID = "Customer Profiles"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶ added in v1.0.0
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶
func WithEndpointResolver(v EndpointResolver) func(*Options)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
Types ¶
type AddProfileKeyInput ¶
type AddProfileKeyInput struct { // The unique name of the domain. // // This member is required. DomainName *string // A searchable identifier of a customer profile. The predefined keys you can use // include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, // _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, // _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, // _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, // _shopifyCustomerId, _shopifyOrderId. // // This member is required. KeyName *string // The unique identifier of a customer profile. // // This member is required. ProfileId *string // A list of key values. // // This member is required. Values []string // contains filtered or unexported fields }
type AddProfileKeyOutput ¶
type AddProfileKeyOutput struct { // A searchable identifier of a customer profile. KeyName *string // A list of key values. Values []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Amazon Connect Customer Profiles.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) AddProfileKey ¶
func (c *Client) AddProfileKey(ctx context.Context, params *AddProfileKeyInput, optFns ...func(*Options)) (*AddProfileKeyOutput, error)
Associates a new key value with a specific profile, such as a Contact Record ContactId. A profile object can have a single unique key and any number of additional keys that can be used to identify the profile that it belongs to.
func (*Client) CreateDomain ¶
func (c *Client) CreateDomain(ctx context.Context, params *CreateDomainInput, optFns ...func(*Options)) (*CreateDomainOutput, error)
Creates a domain, which is a container for all customer data, such as customer profile attributes, object types, profile keys, and encryption keys. You can create multiple domains, and each domain can have multiple third-party integrations. Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can be associated with one domain. Use this API or UpdateDomain (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UpdateDomain.html) to enable identity resolution (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html): set Matching to true. To prevent cross-service impersonation when you call this API, see Cross-service confused deputy prevention (https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html) for sample policies that you should apply.
func (*Client) CreateIntegrationWorkflow ¶ added in v1.16.0
func (c *Client) CreateIntegrationWorkflow(ctx context.Context, params *CreateIntegrationWorkflowInput, optFns ...func(*Options)) (*CreateIntegrationWorkflowOutput, error)
Creates an integration workflow. An integration workflow is an async process which ingests historic data and sets up an integration for ongoing updates. The supported Amazon AppFlow sources are Salesforce, ServiceNow, and Marketo.
func (*Client) CreateProfile ¶
func (c *Client) CreateProfile(ctx context.Context, params *CreateProfileInput, optFns ...func(*Options)) (*CreateProfileOutput, error)
Creates a standard profile. A standard profile represents the following attributes for a customer profile in a domain.
func (*Client) DeleteDomain ¶
func (c *Client) DeleteDomain(ctx context.Context, params *DeleteDomainInput, optFns ...func(*Options)) (*DeleteDomainOutput, error)
Deletes a specific domain and all of its customer data, such as customer profile attributes and their related objects.
func (*Client) DeleteIntegration ¶
func (c *Client) DeleteIntegration(ctx context.Context, params *DeleteIntegrationInput, optFns ...func(*Options)) (*DeleteIntegrationOutput, error)
Removes an integration from a specific domain.
func (*Client) DeleteProfile ¶
func (c *Client) DeleteProfile(ctx context.Context, params *DeleteProfileInput, optFns ...func(*Options)) (*DeleteProfileOutput, error)
Deletes the standard customer profile and all data pertaining to the profile.
func (*Client) DeleteProfileKey ¶
func (c *Client) DeleteProfileKey(ctx context.Context, params *DeleteProfileKeyInput, optFns ...func(*Options)) (*DeleteProfileKeyOutput, error)
Removes a searchable key from a customer profile.
func (*Client) DeleteProfileObject ¶
func (c *Client) DeleteProfileObject(ctx context.Context, params *DeleteProfileObjectInput, optFns ...func(*Options)) (*DeleteProfileObjectOutput, error)
Removes an object associated with a profile of a given ProfileObjectType.
func (*Client) DeleteProfileObjectType ¶
func (c *Client) DeleteProfileObjectType(ctx context.Context, params *DeleteProfileObjectTypeInput, optFns ...func(*Options)) (*DeleteProfileObjectTypeOutput, error)
Removes a ProfileObjectType from a specific domain as well as removes all the ProfileObjects of that type. It also disables integrations from this specific ProfileObjectType. In addition, it scrubs all of the fields of the standard profile that were populated from this ProfileObjectType.
func (*Client) DeleteWorkflow ¶ added in v1.16.0
func (c *Client) DeleteWorkflow(ctx context.Context, params *DeleteWorkflowInput, optFns ...func(*Options)) (*DeleteWorkflowOutput, error)
Deletes the specified workflow and all its corresponding resources. This is an async process.
func (*Client) GetAutoMergingPreview ¶ added in v1.12.0
func (c *Client) GetAutoMergingPreview(ctx context.Context, params *GetAutoMergingPreviewInput, optFns ...func(*Options)) (*GetAutoMergingPreviewOutput, error)
Tests the auto-merging settings of your Identity Resolution Job without merging your data. It randomly selects a sample of matching groups from the existing matching results, and applies the automerging settings that you provided. You can then view the number of profiles in the sample, the number of matches, and the number of profiles identified to be merged. This enables you to evaluate the accuracy of the attributes in your matching list. You can't view which profiles are matched and would be merged. We strongly recommend you use this API to do a dry run of the automerging process before running the Identity Resolution Job. Include at least two matching attributes. If your matching list includes too few attributes (such as only FirstName or only LastName), there may be a large number of matches. This increases the chances of erroneous merges.
func (*Client) GetDomain ¶
func (c *Client) GetDomain(ctx context.Context, params *GetDomainInput, optFns ...func(*Options)) (*GetDomainOutput, error)
Returns information about a specific domain.
func (*Client) GetIdentityResolutionJob ¶ added in v1.12.0
func (c *Client) GetIdentityResolutionJob(ctx context.Context, params *GetIdentityResolutionJobInput, optFns ...func(*Options)) (*GetIdentityResolutionJobOutput, error)
Returns information about an Identity Resolution Job in a specific domain. Identity Resolution Jobs are set up using the Amazon Connect admin console. For more information, see Use Identity Resolution to consolidate similar profiles (https://docs.aws.amazon.com/connect/latest/adminguide/use-identity-resolution.html).
func (*Client) GetIntegration ¶
func (c *Client) GetIntegration(ctx context.Context, params *GetIntegrationInput, optFns ...func(*Options)) (*GetIntegrationOutput, error)
Returns an integration for a domain.
func (*Client) GetMatches ¶ added in v1.5.0
func (c *Client) GetMatches(ctx context.Context, params *GetMatchesInput, optFns ...func(*Options)) (*GetMatchesOutput, error)
Before calling this API, use CreateDomain (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_CreateDomain.html) or UpdateDomain (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UpdateDomain.html) to enable identity resolution: set Matching to true. GetMatches returns potentially matching profiles, based on the results of the latest run of a machine learning process. The process of matching duplicate profiles. If Matching = true, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains. After the Identity Resolution Job completes, use the GetMatches (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) API to return and review the results. Or, if you have configured ExportingConfig in the MatchingRequest, you can download the results from S3. Amazon Connect uses the following profile attributes to identify matches:
* PhoneNumber
* HomePhoneNumber
* BusinessPhoneNumber
* MobilePhoneNumber
* EmailAddress
* PersonalEmailAddress
* BusinessEmailAddress
* FullName
For example, two or more profiles—with spelling mistakes such as John Doe and Jhn Doe, or different casing email addresses such as JOHN_DOE@ANYCOMPANY.COM and johndoe@anycompany.com, or different phone number formats such as 555-010-0000 and +1-555-010-0000—can be detected as belonging to the same customer John Doe and merged into a unified profile.
func (*Client) GetProfileObjectType ¶
func (c *Client) GetProfileObjectType(ctx context.Context, params *GetProfileObjectTypeInput, optFns ...func(*Options)) (*GetProfileObjectTypeOutput, error)
Returns the object types for a specific domain.
func (*Client) GetProfileObjectTypeTemplate ¶
func (c *Client) GetProfileObjectTypeTemplate(ctx context.Context, params *GetProfileObjectTypeTemplateInput, optFns ...func(*Options)) (*GetProfileObjectTypeTemplateOutput, error)
Returns the template information for a specific object type. A template is a predefined ProfileObjectType, such as “Salesforce-Account” or “Salesforce-Contact.” When a user sends a ProfileObject, using the PutProfileObject API, with an ObjectTypeName that matches one of the TemplateIds, it uses the mappings from the template.
func (*Client) GetWorkflow ¶ added in v1.16.0
func (c *Client) GetWorkflow(ctx context.Context, params *GetWorkflowInput, optFns ...func(*Options)) (*GetWorkflowOutput, error)
Get details of specified workflow.
func (*Client) GetWorkflowSteps ¶ added in v1.16.0
func (c *Client) GetWorkflowSteps(ctx context.Context, params *GetWorkflowStepsInput, optFns ...func(*Options)) (*GetWorkflowStepsOutput, error)
Get granular list of steps in workflow.
func (*Client) ListAccountIntegrations ¶
func (c *Client) ListAccountIntegrations(ctx context.Context, params *ListAccountIntegrationsInput, optFns ...func(*Options)) (*ListAccountIntegrationsOutput, error)
Lists all of the integrations associated to a specific URI in the AWS account.
func (*Client) ListDomains ¶
func (c *Client) ListDomains(ctx context.Context, params *ListDomainsInput, optFns ...func(*Options)) (*ListDomainsOutput, error)
Returns a list of all the domains for an AWS account that have been created.
func (*Client) ListIdentityResolutionJobs ¶ added in v1.12.0
func (c *Client) ListIdentityResolutionJobs(ctx context.Context, params *ListIdentityResolutionJobsInput, optFns ...func(*Options)) (*ListIdentityResolutionJobsOutput, error)
Lists all of the Identity Resolution Jobs in your domain. The response sorts the list by JobStartTime.
func (*Client) ListIntegrations ¶
func (c *Client) ListIntegrations(ctx context.Context, params *ListIntegrationsInput, optFns ...func(*Options)) (*ListIntegrationsOutput, error)
Lists all of the integrations in your domain.
func (*Client) ListProfileObjectTypeTemplates ¶
func (c *Client) ListProfileObjectTypeTemplates(ctx context.Context, params *ListProfileObjectTypeTemplatesInput, optFns ...func(*Options)) (*ListProfileObjectTypeTemplatesOutput, error)
Lists all of the template information for object types.
func (*Client) ListProfileObjectTypes ¶
func (c *Client) ListProfileObjectTypes(ctx context.Context, params *ListProfileObjectTypesInput, optFns ...func(*Options)) (*ListProfileObjectTypesOutput, error)
Lists all of the templates available within the service.
func (*Client) ListProfileObjects ¶
func (c *Client) ListProfileObjects(ctx context.Context, params *ListProfileObjectsInput, optFns ...func(*Options)) (*ListProfileObjectsOutput, error)
Returns a list of objects associated with a profile of a given ProfileObjectType.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Displays the tags associated with an Amazon Connect Customer Profiles resource. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged.
func (*Client) ListWorkflows ¶ added in v1.16.0
func (c *Client) ListWorkflows(ctx context.Context, params *ListWorkflowsInput, optFns ...func(*Options)) (*ListWorkflowsOutput, error)
Query to list all workflows.
func (*Client) MergeProfiles ¶ added in v1.5.0
func (c *Client) MergeProfiles(ctx context.Context, params *MergeProfilesInput, optFns ...func(*Options)) (*MergeProfilesOutput, error)
Runs an AWS Lambda job that does the following:
* All the profileKeys in the ProfileToBeMerged will be moved to the main profile.
* All the objects in the ProfileToBeMerged will be moved to the main profile.
* All the ProfileToBeMerged will be deleted at the end.
* All the profileKeys in the ProfileIdsToBeMerged will be moved to the main profile.
* Standard fields are merged as follows:
* Fields are always "union"-ed if there are no conflicts in standard fields or attributeKeys.
* When there are conflicting fields:
* If no SourceProfileIds entry is specified, the main Profile value is always taken.
* If a SourceProfileIds entry is specified, the specified profileId is always taken, even if it is a NULL value.
You can use MergeProfiles together with GetMatches (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html), which returns potentially matching profiles, or use it with the results of another matching system. After profiles have been merged, they cannot be separated (unmerged).
func (*Client) PutIntegration ¶
func (c *Client) PutIntegration(ctx context.Context, params *PutIntegrationInput, optFns ...func(*Options)) (*PutIntegrationOutput, error)
Adds an integration between the service and a third-party service, which includes Amazon AppFlow and Amazon Connect. An integration can belong to only one domain. To add or remove tags on an existing Integration, see TagResource (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_TagResource.html)/ UntagResource (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UntagResource.html).
func (*Client) PutProfileObject ¶
func (c *Client) PutProfileObject(ctx context.Context, params *PutProfileObjectInput, optFns ...func(*Options)) (*PutProfileObjectOutput, error)
Adds additional objects to customer profiles of a given ObjectType. When adding a specific profile object, like a Contact Record, an inferred profile can get created if it is not mapped to an existing profile. The resulting profile will only have a phone number populated in the standard ProfileObject. Any additional Contact Records with the same phone number will be mapped to the same inferred profile. When a ProfileObject is created and if a ProfileObjectType already exists for the ProfileObject, it will provide data to a standard profile depending on the ProfileObjectType definition. PutProfileObject needs an ObjectType, which can be created using PutProfileObjectType.
func (*Client) PutProfileObjectType ¶
func (c *Client) PutProfileObjectType(ctx context.Context, params *PutProfileObjectTypeInput, optFns ...func(*Options)) (*PutProfileObjectTypeOutput, error)
Defines a ProfileObjectType. To add or remove tags on an existing ObjectType, see TagResource (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_TagResource.html)/UntagResource (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UntagResource.html).
func (*Client) SearchProfiles ¶
func (c *Client) SearchProfiles(ctx context.Context, params *SearchProfilesInput, optFns ...func(*Options)) (*SearchProfilesOutput, error)
Searches for profiles within a specific domain name using name, phone number, email address, account number, or a custom defined index.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Assigns one or more tags (key-value pairs) to the specified Amazon Connect Customer Profiles resource. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged. Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters. You can use the TagResource action with a resource that already has tags. If you specify a new tag key, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag. You can associate as many as 50 tags with a resource.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes one or more tags from the specified Amazon Connect Customer Profiles resource. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged.
func (*Client) UpdateDomain ¶
func (c *Client) UpdateDomain(ctx context.Context, params *UpdateDomainInput, optFns ...func(*Options)) (*UpdateDomainOutput, error)
Updates the properties of a domain, including creating or selecting a dead letter queue or an encryption key. After a domain is created, the name can’t be changed. Use this API or CreateDomain (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_CreateDomain.html) to enable identity resolution (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html): set Matching to true. To prevent cross-service impersonation when you call this API, see Cross-service confused deputy prevention (https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html) for sample policies that you should apply. To add or remove tags on an existing Domain, see TagResource (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_TagResource.html)/UntagResource (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UntagResource.html).
func (*Client) UpdateProfile ¶
func (c *Client) UpdateProfile(ctx context.Context, params *UpdateProfileInput, optFns ...func(*Options)) (*UpdateProfileOutput, error)
Updates the properties of a profile. The ProfileId is required for updating a customer profile. When calling the UpdateProfile API, specifying an empty string value means that any existing value will be removed. Not specifying a string value means that any value already there will be kept.
type CreateDomainInput ¶
type CreateDomainInput struct { // The default number of days until the data within the domain expires. // // This member is required. DefaultExpirationDays *int32 // The unique name of the domain. // // This member is required. DomainName *string // The URL of the SQS dead letter queue, which is used for reporting errors // associated with ingesting data from third party applications. You must set up a // policy on the DeadLetterQueue for the SendMessage operation to enable Amazon // Connect Customer Profiles to send messages to the DeadLetterQueue. DeadLetterQueueUrl *string // The default encryption key, which is an AWS managed key, is used when no // specific type of encryption key is specified. It is used to encrypt all data // before it is placed in permanent or semi-permanent storage. DefaultEncryptionKey *string // The process of matching duplicate profiles. If Matching = true, Amazon Connect // Customer Profiles starts a weekly batch process called Identity Resolution Job. // If you do not specify a date and time for Identity Resolution Job to run, by // default it runs every Saturday at 12AM UTC to detect duplicate profiles in your // domains. After the Identity Resolution Job completes, use the GetMatches // (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) // API to return and review the results. Or, if you have configured ExportingConfig // in the MatchingRequest, you can download the results from S3. Matching *types.MatchingRequest // The tags used to organize, track, or control access for this resource. Tags map[string]string // contains filtered or unexported fields }
type CreateDomainOutput ¶
type CreateDomainOutput struct { // The timestamp of when the domain was created. // // This member is required. CreatedAt *time.Time // The default number of days until the data within the domain expires. // // This member is required. DefaultExpirationDays *int32 // The unique name of the domain. // // This member is required. DomainName *string // The timestamp of when the domain was most recently edited. // // This member is required. LastUpdatedAt *time.Time // The URL of the SQS dead letter queue, which is used for reporting errors // associated with ingesting data from third party applications. DeadLetterQueueUrl *string // The default encryption key, which is an AWS managed key, is used when no // specific type of encryption key is specified. It is used to encrypt all data // before it is placed in permanent or semi-permanent storage. DefaultEncryptionKey *string // The process of matching duplicate profiles. If Matching = true, Amazon Connect // Customer Profiles starts a weekly batch process called Identity Resolution Job. // If you do not specify a date and time for Identity Resolution Job to run, by // default it runs every Saturday at 12AM UTC to detect duplicate profiles in your // domains. After the Identity Resolution Job completes, use the GetMatches // (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) // API to return and review the results. Or, if you have configured ExportingConfig // in the MatchingRequest, you can download the results from S3. Matching *types.MatchingResponse // The tags used to organize, track, or control access for this resource. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateIntegrationWorkflowInput ¶ added in v1.16.0
type CreateIntegrationWorkflowInput struct { // The unique name of the domain. // // This member is required. DomainName *string // Configuration data for integration workflow. // // This member is required. IntegrationConfig *types.IntegrationConfig // The name of the profile object type. // // This member is required. ObjectTypeName *string // The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes this // role to create resources on your behalf as part of workflow execution. // // This member is required. RoleArn *string // The type of workflow. The only supported value is APPFLOW_INTEGRATION. // // This member is required. WorkflowType types.WorkflowType // The tags used to organize, track, or control access for this resource. Tags map[string]string // contains filtered or unexported fields }
type CreateIntegrationWorkflowOutput ¶ added in v1.16.0
type CreateIntegrationWorkflowOutput struct { // A message indicating create request was received. // // This member is required. Message *string // Unique identifier for the workflow. // // This member is required. WorkflowId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateProfileInput ¶
type CreateProfileInput struct { // The unique name of the domain. // // This member is required. DomainName *string // A unique account number that you have given to the customer. AccountNumber *string // Any additional information relevant to the customer’s profile. AdditionalInformation *string // A generic address associated with the customer that is not mailing, shipping, or // billing. Address *types.Address // A key value pair of attributes of a customer profile. Attributes map[string]string // The customer’s billing address. BillingAddress *types.Address // The customer’s birth date. BirthDate *string // The customer’s business email address. BusinessEmailAddress *string // The name of the customer’s business. BusinessName *string // The customer’s business phone number. BusinessPhoneNumber *string // The customer’s email address, which has not been specified as a personal or // business address. EmailAddress *string // The customer’s first name. FirstName *string // The gender with which the customer identifies. Gender types.Gender // The customer’s home phone number. HomePhoneNumber *string // The customer’s last name. LastName *string // The customer’s mailing address. MailingAddress *types.Address // The customer’s middle name. MiddleName *string // The customer’s mobile phone number. MobilePhoneNumber *string // The type of profile used to describe the customer. PartyType types.PartyType // The customer’s personal email address. PersonalEmailAddress *string // The customer’s phone number, which has not been specified as a mobile, home, or // business number. PhoneNumber *string // The customer’s shipping address. ShippingAddress *types.Address // contains filtered or unexported fields }
type CreateProfileOutput ¶
type CreateProfileOutput struct { // The unique identifier of a customer profile. // // This member is required. ProfileId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteDomainInput ¶
type DeleteDomainInput struct { // The unique name of the domain. // // This member is required. DomainName *string // contains filtered or unexported fields }
type DeleteDomainOutput ¶
type DeleteDomainOutput struct { // A message that indicates the delete request is done. // // This member is required. Message *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteIntegrationInput ¶
type DeleteIntegrationOutput ¶
type DeleteIntegrationOutput struct { // A message that indicates the delete request is done. // // This member is required. Message *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteProfileInput ¶
type DeleteProfileKeyInput ¶
type DeleteProfileKeyInput struct { // The unique name of the domain. // // This member is required. DomainName *string // A searchable identifier of a customer profile. // // This member is required. KeyName *string // The unique identifier of a customer profile. // // This member is required. ProfileId *string // A list of key values. // // This member is required. Values []string // contains filtered or unexported fields }
type DeleteProfileKeyOutput ¶
type DeleteProfileKeyOutput struct { // A message that indicates the delete request is done. Message *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteProfileObjectInput ¶
type DeleteProfileObjectInput struct { // The unique name of the domain. // // This member is required. DomainName *string // The name of the profile object type. // // This member is required. ObjectTypeName *string // The unique identifier of a customer profile. // // This member is required. ProfileId *string // The unique identifier of the profile object generated by the service. // // This member is required. ProfileObjectUniqueKey *string // contains filtered or unexported fields }
type DeleteProfileObjectOutput ¶
type DeleteProfileObjectOutput struct { // A message that indicates the delete request is done. Message *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteProfileObjectTypeOutput ¶
type DeleteProfileObjectTypeOutput struct { // A message that indicates the delete request is done. // // This member is required. Message *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteProfileOutput ¶
type DeleteProfileOutput struct { // A message that indicates the delete request is done. Message *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteWorkflowInput ¶ added in v1.16.0
type DeleteWorkflowOutput ¶ added in v1.16.0
type DeleteWorkflowOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶ added in v1.1.0
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type GetAutoMergingPreviewInput ¶ added in v1.12.0
type GetAutoMergingPreviewInput struct { // How the auto-merging process should resolve conflicts between different // profiles. // // This member is required. ConflictResolution *types.ConflictResolution // A list of matching attributes that represent matching criteria. // // This member is required. Consolidation *types.Consolidation // The unique name of the domain. // // This member is required. DomainName *string // Minimum confidence score required for profiles within a matching group to be // merged during the auto-merge process. MinAllowedConfidenceScoreForMerging *float64 // contains filtered or unexported fields }
type GetAutoMergingPreviewOutput ¶ added in v1.12.0
type GetAutoMergingPreviewOutput struct { // The unique name of the domain. // // This member is required. DomainName *string // The number of match groups in the domain that have been reviewed in this preview // dry run. NumberOfMatchesInSample int64 // The number of profiles found in this preview dry run. NumberOfProfilesInSample int64 // The number of profiles that would be merged if this wasn't a preview dry run. NumberOfProfilesWillBeMerged int64 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetDomainInput ¶
type GetDomainInput struct { // The unique name of the domain. // // This member is required. DomainName *string // contains filtered or unexported fields }
type GetDomainOutput ¶
type GetDomainOutput struct { // The timestamp of when the domain was created. // // This member is required. CreatedAt *time.Time // The unique name of the domain. // // This member is required. DomainName *string // The timestamp of when the domain was most recently edited. // // This member is required. LastUpdatedAt *time.Time // The URL of the SQS dead letter queue, which is used for reporting errors // associated with ingesting data from third party applications. DeadLetterQueueUrl *string // The default encryption key, which is an AWS managed key, is used when no // specific type of encryption key is specified. It is used to encrypt all data // before it is placed in permanent or semi-permanent storage. DefaultEncryptionKey *string // The default number of days until the data within the domain expires. DefaultExpirationDays *int32 // The process of matching duplicate profiles. If Matching = true, Amazon Connect // Customer Profiles starts a weekly batch process called Identity Resolution Job. // If you do not specify a date and time for Identity Resolution Job to run, by // default it runs every Saturday at 12AM UTC to detect duplicate profiles in your // domains. After the Identity Resolution Job completes, use the GetMatches // (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) // API to return and review the results. Or, if you have configured ExportingConfig // in the MatchingRequest, you can download the results from S3. Matching *types.MatchingResponse // Usage-specific statistics about the domain. Stats *types.DomainStats // The tags used to organize, track, or control access for this resource. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetIdentityResolutionJobInput ¶ added in v1.12.0
type GetIdentityResolutionJobOutput ¶ added in v1.12.0
type GetIdentityResolutionJobOutput struct { // Configuration settings for how to perform the auto-merging of profiles. AutoMerging *types.AutoMerging // The unique name of the domain. DomainName *string // The S3 location where the Identity Resolution Job writes result files. ExportingLocation *types.ExportingLocation // The timestamp of when the Identity Resolution Job was completed. JobEndTime *time.Time // The timestamp of when the Identity Resolution Job will expire. JobExpirationTime *time.Time // The unique identifier of the Identity Resolution Job. JobId *string // The timestamp of when the Identity Resolution Job was started or will be // started. JobStartTime *time.Time // Statistics about the Identity Resolution Job. JobStats *types.JobStats // The timestamp of when the Identity Resolution Job was most recently edited. LastUpdatedAt *time.Time // The error messages that are generated when the Identity Resolution Job runs. Message *string // The status of the Identity Resolution Job. // // * PENDING: The Identity Resolution // Job is scheduled but has not started yet. If you turn off the Identity // Resolution feature in your domain, jobs in the PENDING state are deleted. // // * // PREPROCESSING: The Identity Resolution Job is loading your data. // // * // FIND_MATCHING: The Identity Resolution Job is using the machine learning model // to identify profiles that belong to the same matching group. // // * MERGING: The // Identity Resolution Job is merging duplicate profiles. // // * COMPLETED: The // Identity Resolution Job completed successfully. // // * PARTIAL_SUCCESS: There's a // system error and not all of the data is merged. The Identity Resolution Job // writes a message indicating the source of the problem. // // * FAILED: The Identity // Resolution Job did not merge any data. It writes a message indicating the source // of the problem. Status types.IdentityResolutionJobStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetIntegrationInput ¶
type GetIntegrationOutput ¶
type GetIntegrationOutput struct { // The timestamp of when the domain was created. // // This member is required. CreatedAt *time.Time // The unique name of the domain. // // This member is required. DomainName *string // The timestamp of when the domain was most recently edited. // // This member is required. LastUpdatedAt *time.Time // The URI of the S3 bucket or any other type of data source. // // This member is required. Uri *string // Boolean to indicate if the Flow associated with the Integration is created via // Appflow console or with ObjectTypeName equals _unstructured via API/CLI in // flowDefinition IsUnstructured *bool // The name of the profile object type. ObjectTypeName *string // A map in which each key is an event type from an external application such as // Segment or Shopify, and each value is an ObjectTypeName (template) used to // ingest the event. It supports the following event types: SegmentIdentify, // ShopifyCreateCustomers, ShopifyUpdateCustomers, ShopifyCreateDraftOrders, // ShopifyUpdateDraftOrders, ShopifyCreateOrders, and ShopifyUpdatedOrders. ObjectTypeNames map[string]string // The tags used to organize, track, or control access for this resource. Tags map[string]string // Unique identifier for the workflow. WorkflowId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetMatchesInput ¶ added in v1.5.0
type GetMatchesInput struct { // The unique name of the domain. // // This member is required. DomainName *string // The maximum number of results to return per page. MaxResults *int32 // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string // contains filtered or unexported fields }
type GetMatchesOutput ¶ added in v1.5.0
type GetMatchesOutput struct { // The timestamp this version of Match Result generated. MatchGenerationDate *time.Time // The list of matched profiles for this instance. Matches []types.MatchItem // If there are additional results, this is the token for the next set of results. NextToken *string // The number of potential matches found. PotentialMatches *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetProfileObjectTypeOutput ¶
type GetProfileObjectTypeOutput struct { // The description of the profile object type. // // This member is required. Description *string // The name of the profile object type. // // This member is required. ObjectTypeName *string // Indicates whether a profile should be created when data is received if one // doesn’t exist for an object of this type. The default is FALSE. If the // AllowProfileCreation flag is set to FALSE, then the service tries to fetch a // standard profile and associate this object with the profile. If it is set to // TRUE, and if no match is found, then the service creates a new standard profile. AllowProfileCreation bool // The timestamp of when the domain was created. CreatedAt *time.Time // The customer-provided key to encrypt the profile object that will be created in // this profile object type. EncryptionKey *string // The number of days until the data in the object expires. ExpirationDays *int32 // A map of the name and ObjectType field. Fields map[string]types.ObjectTypeField // A list of unique keys that can be used to map data to the profile. Keys map[string][]types.ObjectTypeKey // The timestamp of when the domain was most recently edited. LastUpdatedAt *time.Time // The format of your sourceLastUpdatedTimestamp that was previously set up. SourceLastUpdatedTimestampFormat *string // The tags used to organize, track, or control access for this resource. Tags map[string]string // A unique identifier for the object template. TemplateId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetProfileObjectTypeTemplateInput ¶
type GetProfileObjectTypeTemplateInput struct { // A unique identifier for the object template. // // This member is required. TemplateId *string // contains filtered or unexported fields }
type GetProfileObjectTypeTemplateOutput ¶
type GetProfileObjectTypeTemplateOutput struct { // Indicates whether a profile should be created when data is received if one // doesn’t exist for an object of this type. The default is FALSE. If the // AllowProfileCreation flag is set to FALSE, then the service tries to fetch a // standard profile and associate this object with the profile. If it is set to // TRUE, and if no match is found, then the service creates a new standard profile. AllowProfileCreation bool // A map of the name and ObjectType field. Fields map[string]types.ObjectTypeField // A list of unique keys that can be used to map data to the profile. Keys map[string][]types.ObjectTypeKey // The format of your sourceLastUpdatedTimestamp that was previously set up. SourceLastUpdatedTimestampFormat *string // The name of the source of the object template. SourceName *string // The source of the object template. SourceObject *string // A unique identifier for the object template. TemplateId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetWorkflowInput ¶ added in v1.16.0
type GetWorkflowOutput ¶ added in v1.16.0
type GetWorkflowOutput struct { // Attributes provided for workflow execution. Attributes *types.WorkflowAttributes // Workflow error messages during execution (if any). ErrorDescription *string // The timestamp that represents when workflow execution last updated. LastUpdatedAt *time.Time // Workflow specific execution metrics. Metrics *types.WorkflowMetrics // The timestamp that represents when workflow execution started. StartDate *time.Time // Status of workflow execution. Status types.Status // Unique identifier for the workflow. WorkflowId *string // The type of workflow. The only supported value is APPFLOW_INTEGRATION. WorkflowType types.WorkflowType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetWorkflowStepsInput ¶ added in v1.16.0
type GetWorkflowStepsInput struct { // The unique name of the domain. // // This member is required. DomainName *string // Unique identifier for the workflow. // // This member is required. WorkflowId *string // The maximum number of results to return per page. MaxResults *int32 // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string // contains filtered or unexported fields }
type GetWorkflowStepsOutput ¶ added in v1.16.0
type GetWorkflowStepsOutput struct { // List containing workflow step details. Items []types.WorkflowStepItem // If there are additional results, this is the token for the next set of results. NextToken *string // Unique identifier for the workflow. WorkflowId *string // The type of workflow. The only supported value is APPFLOW_INTEGRATION. WorkflowType types.WorkflowType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type ListAccountIntegrationsInput ¶
type ListAccountIntegrationsInput struct { // The URI of the S3 bucket or any other type of data source. // // This member is required. Uri *string // Boolean to indicate if hidden integration should be returned. Defaults to False. IncludeHidden *bool // The maximum number of objects returned per page. MaxResults *int32 // The pagination token from the previous ListAccountIntegrations API call. NextToken *string // contains filtered or unexported fields }
type ListAccountIntegrationsOutput ¶
type ListAccountIntegrationsOutput struct { // The list of ListAccountIntegration instances. Items []types.ListIntegrationItem // The pagination token from the previous ListAccountIntegrations API call. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListDomainsInput ¶
type ListDomainsOutput ¶
type ListDomainsOutput struct { // The list of ListDomains instances. Items []types.ListDomainItem // The pagination token from the previous ListDomains API call. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListIdentityResolutionJobsInput ¶ added in v1.12.0
type ListIdentityResolutionJobsInput struct { // The unique name of the domain. // // This member is required. DomainName *string // The maximum number of results to return per page. MaxResults *int32 // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string // contains filtered or unexported fields }
type ListIdentityResolutionJobsOutput ¶ added in v1.12.0
type ListIdentityResolutionJobsOutput struct { // A list of Identity Resolution Jobs. IdentityResolutionJobsList []types.IdentityResolutionJob // If there are additional results, this is the token for the next set of results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListIntegrationsInput ¶
type ListIntegrationsInput struct { // The unique name of the domain. // // This member is required. DomainName *string // Boolean to indicate if hidden integration should be returned. Defaults to False. IncludeHidden *bool // The maximum number of objects returned per page. MaxResults *int32 // The pagination token from the previous ListIntegrations API call. NextToken *string // contains filtered or unexported fields }
type ListIntegrationsOutput ¶
type ListIntegrationsOutput struct { // The list of ListIntegrations instances. Items []types.ListIntegrationItem // The pagination token from the previous ListIntegrations API call. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListProfileObjectTypeTemplatesOutput ¶
type ListProfileObjectTypeTemplatesOutput struct { // The list of ListProfileObjectType template instances. Items []types.ListProfileObjectTypeTemplateItem // The pagination token from the previous ListObjectTypeTemplates API call. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListProfileObjectTypesInput ¶
type ListProfileObjectTypesInput struct { // The unique name of the domain. // // This member is required. DomainName *string // The maximum number of objects returned per page. MaxResults *int32 // Identifies the next page of results to return. NextToken *string // contains filtered or unexported fields }
type ListProfileObjectTypesOutput ¶
type ListProfileObjectTypesOutput struct { // The list of ListProfileObjectTypes instances. Items []types.ListProfileObjectTypeItem // Identifies the next page of results to return. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListProfileObjectsInput ¶
type ListProfileObjectsInput struct { // The unique name of the domain. // // This member is required. DomainName *string // The name of the profile object type. // // This member is required. ObjectTypeName *string // The unique identifier of a customer profile. // // This member is required. ProfileId *string // The maximum number of objects returned per page. MaxResults *int32 // The pagination token from the previous call to ListProfileObjects. NextToken *string // Applies a filter to the response to include profile objects with the specified // index values. This filter is only supported for ObjectTypeName _asset, _case and // _order. ObjectFilter *types.ObjectFilter // contains filtered or unexported fields }
type ListProfileObjectsOutput ¶
type ListProfileObjectsOutput struct { // The list of ListProfileObject instances. Items []types.ListProfileObjectsItem // The pagination token from the previous call to ListProfileObjects. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The ARN of the resource for which you want to view tags. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The tags used to organize, track, or control access for this resource. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListWorkflowsInput ¶ added in v1.16.0
type ListWorkflowsInput struct { // The unique name of the domain. // // This member is required. DomainName *string // The maximum number of results to return per page. MaxResults *int32 // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string // Retrieve workflows ended after timestamp. QueryEndDate *time.Time // Retrieve workflows started after timestamp. QueryStartDate *time.Time // Status of workflow execution. Status types.Status // The type of workflow. The only supported value is APPFLOW_INTEGRATION. WorkflowType types.WorkflowType // contains filtered or unexported fields }
type ListWorkflowsOutput ¶ added in v1.16.0
type ListWorkflowsOutput struct { // List containing workflow details. Items []types.ListWorkflowsItem // If there are additional results, this is the token for the next set of results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type MergeProfilesInput ¶ added in v1.5.0
type MergeProfilesInput struct { // The unique name of the domain. // // This member is required. DomainName *string // The identifier of the profile to be taken. // // This member is required. MainProfileId *string // The identifier of the profile to be merged into MainProfileId. // // This member is required. ProfileIdsToBeMerged []string // The identifiers of the fields in the profile that has the information you want // to apply to the merge. For example, say you want to merge EmailAddress from // Profile1 into MainProfile. This would be the identifier of the EmailAddress // field in Profile1. FieldSourceProfileIds *types.FieldSourceProfileIds // contains filtered or unexported fields }
type MergeProfilesOutput ¶ added in v1.5.0
type MergeProfilesOutput struct { // A message that indicates the merge request is complete. Message *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. When creating a new API Clients this // member will only be used if the Retryer Options member is nil. This value will // be ignored if Retryer is not nil. If specified in an operation call's functional // options with a value that is different than the constructed client's Options, // the Client's Retryer will be wrapped to use the operation's specific // RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. When creating a new API Clients this // member will only be used if the Retryer Options member is nil. This value will // be ignored if Retryer is not nil. Currently does not support per operation call // overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig. You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // contains filtered or unexported fields }
type PutIntegrationInput ¶
type PutIntegrationInput struct { // The unique name of the domain. // // This member is required. DomainName *string // The configuration that controls how Customer Profiles retrieves data from the // source. FlowDefinition *types.FlowDefinition // The name of the profile object type. ObjectTypeName *string // A map in which each key is an event type from an external application such as // Segment or Shopify, and each value is an ObjectTypeName (template) used to // ingest the event. It supports the following event types: SegmentIdentify, // ShopifyCreateCustomers, ShopifyUpdateCustomers, ShopifyCreateDraftOrders, // ShopifyUpdateDraftOrders, ShopifyCreateOrders, and ShopifyUpdatedOrders. ObjectTypeNames map[string]string // The tags used to organize, track, or control access for this resource. Tags map[string]string // The URI of the S3 bucket or any other type of data source. Uri *string // contains filtered or unexported fields }
type PutIntegrationOutput ¶
type PutIntegrationOutput struct { // The timestamp of when the domain was created. // // This member is required. CreatedAt *time.Time // The unique name of the domain. // // This member is required. DomainName *string // The timestamp of when the domain was most recently edited. // // This member is required. LastUpdatedAt *time.Time // The URI of the S3 bucket or any other type of data source. // // This member is required. Uri *string // Boolean to indicate if the Flow associated with the Integration is created via // Appflow console or with ObjectTypeName equals _unstructured via API/CLI in // flowDefinition IsUnstructured *bool // The name of the profile object type. ObjectTypeName *string // A map in which each key is an event type from an external application such as // Segment or Shopify, and each value is an ObjectTypeName (template) used to // ingest the event. It supports the following event types: SegmentIdentify, // ShopifyCreateCustomers, ShopifyUpdateCustomers, ShopifyCreateDraftOrders, // ShopifyUpdateDraftOrders, ShopifyCreateOrders, and ShopifyUpdatedOrders. ObjectTypeNames map[string]string // The tags used to organize, track, or control access for this resource. Tags map[string]string // Unique identifier for the workflow. WorkflowId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutProfileObjectInput ¶
type PutProfileObjectInput struct { // The unique name of the domain. // // This member is required. DomainName *string // A string that is serialized from a JSON object. // // This member is required. Object *string // The name of the profile object type. // // This member is required. ObjectTypeName *string // contains filtered or unexported fields }
type PutProfileObjectOutput ¶
type PutProfileObjectOutput struct { // The unique identifier of the profile object generated by the service. ProfileObjectUniqueKey *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutProfileObjectTypeInput ¶
type PutProfileObjectTypeInput struct { // Description of the profile object type. // // This member is required. Description *string // The unique name of the domain. // // This member is required. DomainName *string // The name of the profile object type. // // This member is required. ObjectTypeName *string // Indicates whether a profile should be created when data is received if one // doesn’t exist for an object of this type. The default is FALSE. If the // AllowProfileCreation flag is set to FALSE, then the service tries to fetch a // standard profile and associate this object with the profile. If it is set to // TRUE, and if no match is found, then the service creates a new standard profile. AllowProfileCreation bool // The customer-provided key to encrypt the profile object that will be created in // this profile object type. EncryptionKey *string // The number of days until the data in the object expires. ExpirationDays *int32 // A map of the name and ObjectType field. Fields map[string]types.ObjectTypeField // A list of unique keys that can be used to map data to the profile. Keys map[string][]types.ObjectTypeKey // The format of your sourceLastUpdatedTimestamp that was previously set up. SourceLastUpdatedTimestampFormat *string // The tags used to organize, track, or control access for this resource. Tags map[string]string // A unique identifier for the object template. For some attributes in the request, // the service will use the default value from the object template when TemplateId // is present. If these attributes are present in the request, the service may // return a BadRequestException. These attributes include: AllowProfileCreation, // SourceLastUpdatedTimestampFormat, Fields, and Keys. For example, if // AllowProfileCreation is set to true when TemplateId is set, the service may // return a BadRequestException. TemplateId *string // contains filtered or unexported fields }
type PutProfileObjectTypeOutput ¶
type PutProfileObjectTypeOutput struct { // Description of the profile object type. // // This member is required. Description *string // The name of the profile object type. // // This member is required. ObjectTypeName *string // Indicates whether a profile should be created when data is received if one // doesn’t exist for an object of this type. The default is FALSE. If the // AllowProfileCreation flag is set to FALSE, then the service tries to fetch a // standard profile and associate this object with the profile. If it is set to // TRUE, and if no match is found, then the service creates a new standard profile. AllowProfileCreation bool // The timestamp of when the domain was created. CreatedAt *time.Time // The customer-provided key to encrypt the profile object that will be created in // this profile object type. EncryptionKey *string // The number of days until the data in the object expires. ExpirationDays *int32 // A map of the name and ObjectType field. Fields map[string]types.ObjectTypeField // A list of unique keys that can be used to map data to the profile. Keys map[string][]types.ObjectTypeKey // The timestamp of when the domain was most recently edited. LastUpdatedAt *time.Time // The format of your sourceLastUpdatedTimestamp that was previously set up in // fields that were parsed using SimpleDateFormat // (https://docs.oracle.com/javase/10/docs/api/java/text/SimpleDateFormat.html). If // you have sourceLastUpdatedTimestamp in your field, you must set up // sourceLastUpdatedTimestampFormat. SourceLastUpdatedTimestampFormat *string // The tags used to organize, track, or control access for this resource. Tags map[string]string // A unique identifier for the object template. TemplateId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type SearchProfilesInput ¶
type SearchProfilesInput struct { // The unique name of the domain. // // This member is required. DomainName *string // A searchable identifier of a customer profile. The predefined keys you can use // to search include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, // _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, // _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, // _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, // _shopifyCustomerId, _shopifyOrderId. // // This member is required. KeyName *string // A list of key values. // // This member is required. Values []string // The maximum number of objects returned per page. MaxResults *int32 // The pagination token from the previous SearchProfiles API call. NextToken *string // contains filtered or unexported fields }
type SearchProfilesOutput ¶
type SearchProfilesOutput struct { // The list of SearchProfiles instances. Items []types.Profile // The pagination token from the previous SearchProfiles API call. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TagResourceInput ¶
type TagResourceInput struct { // The ARN of the resource that you're adding tags to. // // This member is required. ResourceArn *string // The tags used to organize, track, or control access for this resource. // // This member is required. Tags map[string]string // contains filtered or unexported fields }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateDomainInput ¶
type UpdateDomainInput struct { // The unique name of the domain. // // This member is required. DomainName *string // The URL of the SQS dead letter queue, which is used for reporting errors // associated with ingesting data from third party applications. If specified as an // empty string, it will clear any existing value. You must set up a policy on the // DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer // Profiles to send messages to the DeadLetterQueue. DeadLetterQueueUrl *string // The default encryption key, which is an AWS managed key, is used when no // specific type of encryption key is specified. It is used to encrypt all data // before it is placed in permanent or semi-permanent storage. If specified as an // empty string, it will clear any existing value. DefaultEncryptionKey *string // The default number of days until the data within the domain expires. DefaultExpirationDays *int32 // The process of matching duplicate profiles. If Matching = true, Amazon Connect // Customer Profiles starts a weekly batch process called Identity Resolution Job. // If you do not specify a date and time for Identity Resolution Job to run, by // default it runs every Saturday at 12AM UTC to detect duplicate profiles in your // domains. After the Identity Resolution Job completes, use the GetMatches // (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) // API to return and review the results. Or, if you have configured ExportingConfig // in the MatchingRequest, you can download the results from S3. Matching *types.MatchingRequest // The tags used to organize, track, or control access for this resource. Tags map[string]string // contains filtered or unexported fields }
type UpdateDomainOutput ¶
type UpdateDomainOutput struct { // The timestamp of when the domain was created. // // This member is required. CreatedAt *time.Time // The unique name of the domain. // // This member is required. DomainName *string // The timestamp of when the domain was most recently edited. // // This member is required. LastUpdatedAt *time.Time // The URL of the SQS dead letter queue, which is used for reporting errors // associated with ingesting data from third party applications. DeadLetterQueueUrl *string // The default encryption key, which is an AWS managed key, is used when no // specific type of encryption key is specified. It is used to encrypt all data // before it is placed in permanent or semi-permanent storage. DefaultEncryptionKey *string // The default number of days until the data within the domain expires. DefaultExpirationDays *int32 // The process of matching duplicate profiles. If Matching = true, Amazon Connect // Customer Profiles starts a weekly batch process called Identity Resolution Job. // If you do not specify a date and time for Identity Resolution Job to run, by // default it runs every Saturday at 12AM UTC to detect duplicate profiles in your // domains. After the Identity Resolution Job completes, use the GetMatches // (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) // API to return and review the results. Or, if you have configured ExportingConfig // in the MatchingRequest, you can download the results from S3. Matching *types.MatchingResponse // The tags used to organize, track, or control access for this resource. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateProfileInput ¶
type UpdateProfileInput struct { // The unique name of the domain. // // This member is required. DomainName *string // The unique identifier of a customer profile. // // This member is required. ProfileId *string // A unique account number that you have given to the customer. AccountNumber *string // Any additional information relevant to the customer’s profile. AdditionalInformation *string // A generic address associated with the customer that is not mailing, shipping, or // billing. Address *types.UpdateAddress // A key value pair of attributes of a customer profile. Attributes map[string]string // The customer’s billing address. BillingAddress *types.UpdateAddress // The customer’s birth date. BirthDate *string // The customer’s business email address. BusinessEmailAddress *string // The name of the customer’s business. BusinessName *string // The customer’s business phone number. BusinessPhoneNumber *string // The customer’s email address, which has not been specified as a personal or // business address. EmailAddress *string // The customer’s first name. FirstName *string // The gender with which the customer identifies. Gender types.Gender // The customer’s home phone number. HomePhoneNumber *string // The customer’s last name. LastName *string // The customer’s mailing address. MailingAddress *types.UpdateAddress // The customer’s middle name. MiddleName *string // The customer’s mobile phone number. MobilePhoneNumber *string // The type of profile used to describe the customer. PartyType types.PartyType // The customer’s personal email address. PersonalEmailAddress *string // The customer’s phone number, which has not been specified as a mobile, home, or // business number. PhoneNumber *string // The customer’s shipping address. ShippingAddress *types.UpdateAddress // contains filtered or unexported fields }
type UpdateProfileOutput ¶
type UpdateProfileOutput struct { // The unique identifier of a customer profile. // // This member is required. ProfileId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files
¶
- api_client.go
- api_op_AddProfileKey.go
- api_op_CreateDomain.go
- api_op_CreateIntegrationWorkflow.go
- api_op_CreateProfile.go
- api_op_DeleteDomain.go
- api_op_DeleteIntegration.go
- api_op_DeleteProfile.go
- api_op_DeleteProfileKey.go
- api_op_DeleteProfileObject.go
- api_op_DeleteProfileObjectType.go
- api_op_DeleteWorkflow.go
- api_op_GetAutoMergingPreview.go
- api_op_GetDomain.go
- api_op_GetIdentityResolutionJob.go
- api_op_GetIntegration.go
- api_op_GetMatches.go
- api_op_GetProfileObjectType.go
- api_op_GetProfileObjectTypeTemplate.go
- api_op_GetWorkflow.go
- api_op_GetWorkflowSteps.go
- api_op_ListAccountIntegrations.go
- api_op_ListDomains.go
- api_op_ListIdentityResolutionJobs.go
- api_op_ListIntegrations.go
- api_op_ListProfileObjectTypeTemplates.go
- api_op_ListProfileObjectTypes.go
- api_op_ListProfileObjects.go
- api_op_ListTagsForResource.go
- api_op_ListWorkflows.go
- api_op_MergeProfiles.go
- api_op_PutIntegration.go
- api_op_PutProfileObject.go
- api_op_PutProfileObjectType.go
- api_op_SearchProfiles.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateDomain.go
- api_op_UpdateProfile.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- serializers.go
- validators.go