| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.CustomerProfiles.PutProfileObjectType
Description
Defines a ProfileObjectType.
Synopsis
- data PutProfileObjectType = PutProfileObjectType' {
- expirationDays :: Maybe Natural
- templateId :: Maybe Text
- keys :: Maybe (HashMap Text [ObjectTypeKey])
- encryptionKey :: Maybe Text
- allowProfileCreation :: Maybe Bool
- fields :: Maybe (HashMap Text ObjectTypeField)
- tags :: Maybe (HashMap Text Text)
- domainName :: Text
- objectTypeName :: Text
- description :: Text
- newPutProfileObjectType :: Text -> Text -> Text -> PutProfileObjectType
- putProfileObjectType_expirationDays :: Lens' PutProfileObjectType (Maybe Natural)
- putProfileObjectType_templateId :: Lens' PutProfileObjectType (Maybe Text)
- putProfileObjectType_keys :: Lens' PutProfileObjectType (Maybe (HashMap Text [ObjectTypeKey]))
- putProfileObjectType_encryptionKey :: Lens' PutProfileObjectType (Maybe Text)
- putProfileObjectType_allowProfileCreation :: Lens' PutProfileObjectType (Maybe Bool)
- putProfileObjectType_fields :: Lens' PutProfileObjectType (Maybe (HashMap Text ObjectTypeField))
- putProfileObjectType_tags :: Lens' PutProfileObjectType (Maybe (HashMap Text Text))
- putProfileObjectType_domainName :: Lens' PutProfileObjectType Text
- putProfileObjectType_objectTypeName :: Lens' PutProfileObjectType Text
- putProfileObjectType_description :: Lens' PutProfileObjectType Text
- data PutProfileObjectTypeResponse = PutProfileObjectTypeResponse' {
- expirationDays :: Maybe Natural
- lastUpdatedAt :: Maybe POSIX
- createdAt :: Maybe POSIX
- templateId :: Maybe Text
- keys :: Maybe (HashMap Text [ObjectTypeKey])
- encryptionKey :: Maybe Text
- allowProfileCreation :: Maybe Bool
- fields :: Maybe (HashMap Text ObjectTypeField)
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- objectTypeName :: Text
- description :: Text
- newPutProfileObjectTypeResponse :: Int -> Text -> Text -> PutProfileObjectTypeResponse
- putProfileObjectTypeResponse_expirationDays :: Lens' PutProfileObjectTypeResponse (Maybe Natural)
- putProfileObjectTypeResponse_lastUpdatedAt :: Lens' PutProfileObjectTypeResponse (Maybe UTCTime)
- putProfileObjectTypeResponse_createdAt :: Lens' PutProfileObjectTypeResponse (Maybe UTCTime)
- putProfileObjectTypeResponse_templateId :: Lens' PutProfileObjectTypeResponse (Maybe Text)
- putProfileObjectTypeResponse_keys :: Lens' PutProfileObjectTypeResponse (Maybe (HashMap Text [ObjectTypeKey]))
- putProfileObjectTypeResponse_encryptionKey :: Lens' PutProfileObjectTypeResponse (Maybe Text)
- putProfileObjectTypeResponse_allowProfileCreation :: Lens' PutProfileObjectTypeResponse (Maybe Bool)
- putProfileObjectTypeResponse_fields :: Lens' PutProfileObjectTypeResponse (Maybe (HashMap Text ObjectTypeField))
- putProfileObjectTypeResponse_tags :: Lens' PutProfileObjectTypeResponse (Maybe (HashMap Text Text))
- putProfileObjectTypeResponse_httpStatus :: Lens' PutProfileObjectTypeResponse Int
- putProfileObjectTypeResponse_objectTypeName :: Lens' PutProfileObjectTypeResponse Text
- putProfileObjectTypeResponse_description :: Lens' PutProfileObjectTypeResponse Text
Creating a Request
data PutProfileObjectType Source #
See: newPutProfileObjectType smart constructor.
Constructors
| PutProfileObjectType' | |
Fields
| |
Instances
newPutProfileObjectType Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> PutProfileObjectType |
Create a value of PutProfileObjectType with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:expirationDays:PutProfileObjectType', putProfileObjectType_expirationDays - The number of days until the data in the object expires.
$sel:templateId:PutProfileObjectType', putProfileObjectType_templateId - A unique identifier for the object template.
$sel:keys:PutProfileObjectType', putProfileObjectType_keys - A list of unique keys that can be used to map data to the profile.
$sel:encryptionKey:PutProfileObjectType', putProfileObjectType_encryptionKey - The customer-provided key to encrypt the profile object that will be
created in this profile object type.
$sel:allowProfileCreation:PutProfileObjectType', putProfileObjectType_allowProfileCreation - 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.
$sel:fields:PutProfileObjectType', putProfileObjectType_fields - A map of the name and ObjectType field.
$sel:tags:PutProfileObjectType', putProfileObjectType_tags - The tags used to organize, track, or control access for this resource.
$sel:domainName:PutProfileObjectType', putProfileObjectType_domainName - The unique name of the domain.
$sel:objectTypeName:PutProfileObjectType', putProfileObjectType_objectTypeName - The name of the profile object type.
$sel:description:PutProfileObjectType', putProfileObjectType_description - Description of the profile object type.
Request Lenses
putProfileObjectType_expirationDays :: Lens' PutProfileObjectType (Maybe Natural) Source #
The number of days until the data in the object expires.
putProfileObjectType_templateId :: Lens' PutProfileObjectType (Maybe Text) Source #
A unique identifier for the object template.
putProfileObjectType_keys :: Lens' PutProfileObjectType (Maybe (HashMap Text [ObjectTypeKey])) Source #
A list of unique keys that can be used to map data to the profile.
putProfileObjectType_encryptionKey :: Lens' PutProfileObjectType (Maybe Text) Source #
The customer-provided key to encrypt the profile object that will be created in this profile object type.
putProfileObjectType_allowProfileCreation :: Lens' PutProfileObjectType (Maybe Bool) Source #
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.
putProfileObjectType_fields :: Lens' PutProfileObjectType (Maybe (HashMap Text ObjectTypeField)) Source #
A map of the name and ObjectType field.
putProfileObjectType_tags :: Lens' PutProfileObjectType (Maybe (HashMap Text Text)) Source #
The tags used to organize, track, or control access for this resource.
putProfileObjectType_domainName :: Lens' PutProfileObjectType Text Source #
The unique name of the domain.
putProfileObjectType_objectTypeName :: Lens' PutProfileObjectType Text Source #
The name of the profile object type.
putProfileObjectType_description :: Lens' PutProfileObjectType Text Source #
Description of the profile object type.
Destructuring the Response
data PutProfileObjectTypeResponse Source #
See: newPutProfileObjectTypeResponse smart constructor.
Constructors
| PutProfileObjectTypeResponse' | |
Fields
| |
Instances
newPutProfileObjectTypeResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> PutProfileObjectTypeResponse |
Create a value of PutProfileObjectTypeResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:expirationDays:PutProfileObjectType', putProfileObjectTypeResponse_expirationDays - The number of days until the data in the object expires.
$sel:lastUpdatedAt:PutProfileObjectTypeResponse', putProfileObjectTypeResponse_lastUpdatedAt - The timestamp of when the domain was most recently edited.
$sel:createdAt:PutProfileObjectTypeResponse', putProfileObjectTypeResponse_createdAt - The timestamp of when the domain was created.
$sel:templateId:PutProfileObjectType', putProfileObjectTypeResponse_templateId - A unique identifier for the object template.
$sel:keys:PutProfileObjectType', putProfileObjectTypeResponse_keys - A list of unique keys that can be used to map data to the profile.
$sel:encryptionKey:PutProfileObjectType', putProfileObjectTypeResponse_encryptionKey - The customer-provided key to encrypt the profile object that will be
created in this profile object type.
$sel:allowProfileCreation:PutProfileObjectType', putProfileObjectTypeResponse_allowProfileCreation - 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.
$sel:fields:PutProfileObjectType', putProfileObjectTypeResponse_fields - A map of the name and ObjectType field.
$sel:tags:PutProfileObjectType', putProfileObjectTypeResponse_tags - The tags used to organize, track, or control access for this resource.
$sel:httpStatus:PutProfileObjectTypeResponse', putProfileObjectTypeResponse_httpStatus - The response's http status code.
$sel:objectTypeName:PutProfileObjectType', putProfileObjectTypeResponse_objectTypeName - The name of the profile object type.
$sel:description:PutProfileObjectType', putProfileObjectTypeResponse_description - Description of the profile object type.
Response Lenses
putProfileObjectTypeResponse_expirationDays :: Lens' PutProfileObjectTypeResponse (Maybe Natural) Source #
The number of days until the data in the object expires.
putProfileObjectTypeResponse_lastUpdatedAt :: Lens' PutProfileObjectTypeResponse (Maybe UTCTime) Source #
The timestamp of when the domain was most recently edited.
putProfileObjectTypeResponse_createdAt :: Lens' PutProfileObjectTypeResponse (Maybe UTCTime) Source #
The timestamp of when the domain was created.
putProfileObjectTypeResponse_templateId :: Lens' PutProfileObjectTypeResponse (Maybe Text) Source #
A unique identifier for the object template.
putProfileObjectTypeResponse_keys :: Lens' PutProfileObjectTypeResponse (Maybe (HashMap Text [ObjectTypeKey])) Source #
A list of unique keys that can be used to map data to the profile.
putProfileObjectTypeResponse_encryptionKey :: Lens' PutProfileObjectTypeResponse (Maybe Text) Source #
The customer-provided key to encrypt the profile object that will be created in this profile object type.
putProfileObjectTypeResponse_allowProfileCreation :: Lens' PutProfileObjectTypeResponse (Maybe Bool) Source #
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.
putProfileObjectTypeResponse_fields :: Lens' PutProfileObjectTypeResponse (Maybe (HashMap Text ObjectTypeField)) Source #
A map of the name and ObjectType field.
putProfileObjectTypeResponse_tags :: Lens' PutProfileObjectTypeResponse (Maybe (HashMap Text Text)) Source #
The tags used to organize, track, or control access for this resource.
putProfileObjectTypeResponse_httpStatus :: Lens' PutProfileObjectTypeResponse Int Source #
The response's http status code.
putProfileObjectTypeResponse_objectTypeName :: Lens' PutProfileObjectTypeResponse Text Source #
The name of the profile object type.
putProfileObjectTypeResponse_description :: Lens' PutProfileObjectTypeResponse Text Source #
Description of the profile object type.