NAME

Paws::CustomerProfiles::PutProfileObjectType - Arguments for method PutProfileObjectType on Paws::CustomerProfiles

DESCRIPTION

This class represents the parameters used for calling the method PutProfileObjectType on the Amazon Connect Customer Profiles service. Use the attributes of this class as arguments to method PutProfileObjectType.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutProfileObjectType.

SYNOPSIS

my $profile = Paws->service('CustomerProfiles');
my $PutProfileObjectTypeResponse = $profile->PutProfileObjectType(
  Description          => 'Mytext',
  DomainName           => 'Myname',
  ObjectTypeName       => 'MytypeName',
  AllowProfileCreation => 1,                    # OPTIONAL
  EncryptionKey        => 'MyencryptionKey',    # OPTIONAL
  ExpirationDays       => 1,                    # OPTIONAL
  Fields               => {
    'Myname' => {
      ContentType => 'STRING'
      , # values: STRING, NUMBER, PHONE_NUMBER, EMAIL_ADDRESS, NAME; OPTIONAL
      Source => 'Mytext',    # min: 1, max: 1000
      Target => 'Mytext',    # min: 1, max: 1000
    },    # key: min: 1, max: 64
  },    # OPTIONAL
  Keys => {
    'Myname' => [
      {
        FieldNames => [
          'Myname', ...    # min: 1, max: 64
        ],    # OPTIONAL
        StandardIdentifiers => [
          'PROFILE',
          ...    # values: PROFILE, UNIQUE, SECONDARY, LOOKUP_ONLY, NEW_ONLY
        ],    # OPTIONAL
      },
      ...
    ],    # key: min: 1, max: 64
  },    # OPTIONAL
  Tags => {
    'MyTagKey' => 'MyTagValue',    # key: min: 1, max: 128, value: max: 256
  },    # OPTIONAL
  TemplateId => 'Myname',    # OPTIONAL
);

# Results:
my $AllowProfileCreation =
  $PutProfileObjectTypeResponse->AllowProfileCreation;
my $CreatedAt      = $PutProfileObjectTypeResponse->CreatedAt;
my $Description    = $PutProfileObjectTypeResponse->Description;
my $EncryptionKey  = $PutProfileObjectTypeResponse->EncryptionKey;
my $ExpirationDays = $PutProfileObjectTypeResponse->ExpirationDays;
my $Fields         = $PutProfileObjectTypeResponse->Fields;
my $Keys           = $PutProfileObjectTypeResponse->Keys;
my $LastUpdatedAt  = $PutProfileObjectTypeResponse->LastUpdatedAt;
my $ObjectTypeName = $PutProfileObjectTypeResponse->ObjectTypeName;
my $Tags           = $PutProfileObjectTypeResponse->Tags;
my $TemplateId     = $PutProfileObjectTypeResponse->TemplateId;

# Returns a L<Paws::CustomerProfiles::PutProfileObjectTypeResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/profile/PutProfileObjectType

ATTRIBUTES

AllowProfileCreation => Bool

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.

REQUIRED Description => Str

Description of the profile object type.

REQUIRED DomainName => Str

The unique name of the domain.

EncryptionKey => Str

The customer-provided key to encrypt the profile object that will be created in this profile object type.

ExpirationDays => Int

The number of days until the data in the object expires.

Fields => Paws::CustomerProfiles::FieldMap

A map of the name and ObjectType field.

Keys => Paws::CustomerProfiles::KeyMap

A list of unique keys that can be used to map data to the profile.

REQUIRED ObjectTypeName => Str

The name of the profile object type.

Tags => Paws::CustomerProfiles::TagMap

The tags used to organize, track, or control access for this resource.

TemplateId => Str

A unique identifier for the object template.

SEE ALSO

This class forms part of Paws, documenting arguments for method PutProfileObjectType in Paws::CustomerProfiles

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues