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
- 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) 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) GetDomain(ctx context.Context, params *GetDomainInput, optFns ...func(*Options)) (*GetDomainOutput, error)
- func (c *Client) GetIntegration(ctx context.Context, params *GetIntegrationInput, optFns ...func(*Options)) (*GetIntegrationOutput, 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) 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) 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) 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 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 EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type GetDomainInput
- type GetDomainOutput
- type GetIntegrationInput
- type GetIntegrationOutput
- type GetProfileObjectTypeInput
- type GetProfileObjectTypeOutput
- type GetProfileObjectTypeTemplateInput
- type GetProfileObjectTypeTemplateOutput
- type HTTPClient
- type HTTPSignerV4
- type ListAccountIntegrationsInput
- type ListAccountIntegrationsOutput
- type ListDomainsInput
- type ListDomainsOutput
- type ListIntegrationsInput
- type ListIntegrationsOutput
- type ListProfileObjectTypeTemplatesInput
- type ListProfileObjectTypeTemplatesOutput
- type ListProfileObjectTypesInput
- type ListProfileObjectTypesOutput
- type ListProfileObjectsInput
- type ListProfileObjectsOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- 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
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. // // 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 }
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 }
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 Trace Record (CTR) 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.
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) GetDomain ¶
func (c *Client) GetDomain(ctx context.Context, params *GetDomainInput, optFns ...func(*Options)) (*GetDomainOutput, error)
Returns information about a specific domain.
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) 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) 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) 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) 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.
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 Trace Record (CTR), 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 CTRs 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.
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. Once a domain is created, the name can’t be changed.
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 tags used to organize, track, or control access for this resource. Tags map[string]string }
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 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 }
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 }
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 }
type DeleteDomainInput ¶
type DeleteDomainInput struct { // The unique name of the domain. // // This member is required. DomainName *string }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func WithEndpointResolver ¶
func WithEndpointResolver(awsResolver aws.EndpointResolver, fallbackResolver EndpointResolver) EndpointResolver
WithEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided fallbackResolver for resolution. awsResolver and fallbackResolver must not be nil
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 GetDomainInput ¶
type GetDomainInput struct { // A unique name for the domain. // // This member is required. DomainName *string }
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 // 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 }
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 name of the profile object type. // // This member is required. ObjectTypeName *string // The URI of the S3 bucket or any other type of data source. // // This member is required. Uri *string // 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 }
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 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 }
type GetProfileObjectTypeTemplateInput ¶
type GetProfileObjectTypeTemplateInput struct { // A unique identifier for the object template. // // This member is required. TemplateId *string }
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 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 }
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 // The maximum number of objects returned per page. MaxResults *int32 // The pagination token from the previous ListAccountIntegrations API call. NextToken *string }
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 }
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 }
type ListIntegrationsInput ¶
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 }
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 }
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 }
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 }
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 }
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The ARN of the resource for which you want to view tags. // // This member is required. ResourceArn *string }
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 }
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 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 // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer retry.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
type PutIntegrationInput ¶
type PutIntegrationInput 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 URI of the S3 bucket or any other type of data source. // // This member is required. Uri *string // The tags used to organize, track, or control access for this resource. Tags map[string]string }
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 name of the profile object type. // // This member is required. ObjectTypeName *string // The URI of the S3 bucket or any other type of data source. // // This member is required. Uri *string // 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 }
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 }
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 }
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 tags used to organize, track, or control access for this resource. Tags map[string]string // A unique identifier for the object template. TemplateId *string }
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 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 }
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, _fullName, _phone, _email, // _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, // _zendeskUserId, _zendeskExternalId, _serviceNowSystemId. // // 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 }
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 }
type TagResourceInput ¶
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UntagResourceInput ¶
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateDomainInput ¶
type UpdateDomainInput struct { // The unique name for 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 tags used to organize, track, or control access for this resource. Tags map[string]string }
type UpdateDomainOutput ¶
type UpdateDomainOutput struct { // The timestamp of when the domain was created. // // This member is required. CreatedAt *time.Time // The unique name for 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 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 }
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 }
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 }
Source Files
¶
- api_client.go
- api_op_AddProfileKey.go
- api_op_CreateDomain.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_GetDomain.go
- api_op_GetIntegration.go
- api_op_GetProfileObjectType.go
- api_op_GetProfileObjectTypeTemplate.go
- api_op_ListAccountIntegrations.go
- api_op_ListDomains.go
- api_op_ListIntegrations.go
- api_op_ListProfileObjectTypeTemplates.go
- api_op_ListProfileObjectTypes.go
- api_op_ListProfileObjects.go
- api_op_ListTagsForResource.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
- serializers.go
- validators.go