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 |
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.
Synopsis
- data DeleteProfileObjectType = DeleteProfileObjectType' {
- domainName :: Text
- objectTypeName :: Text
- newDeleteProfileObjectType :: Text -> Text -> DeleteProfileObjectType
- deleteProfileObjectType_domainName :: Lens' DeleteProfileObjectType Text
- deleteProfileObjectType_objectTypeName :: Lens' DeleteProfileObjectType Text
- data DeleteProfileObjectTypeResponse = DeleteProfileObjectTypeResponse' {
- httpStatus :: Int
- message :: Text
- newDeleteProfileObjectTypeResponse :: Int -> Text -> DeleteProfileObjectTypeResponse
- deleteProfileObjectTypeResponse_httpStatus :: Lens' DeleteProfileObjectTypeResponse Int
- deleteProfileObjectTypeResponse_message :: Lens' DeleteProfileObjectTypeResponse Text
Creating a Request
data DeleteProfileObjectType Source #
See: newDeleteProfileObjectType
smart constructor.
DeleteProfileObjectType' | |
|
Instances
newDeleteProfileObjectType Source #
:: Text | |
-> Text | |
-> DeleteProfileObjectType |
Create a value of DeleteProfileObjectType
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:domainName:DeleteProfileObjectType'
, deleteProfileObjectType_domainName
- The unique name of the domain.
$sel:objectTypeName:DeleteProfileObjectType'
, deleteProfileObjectType_objectTypeName
- The name of the profile object type.
Request Lenses
deleteProfileObjectType_domainName :: Lens' DeleteProfileObjectType Text Source #
The unique name of the domain.
deleteProfileObjectType_objectTypeName :: Lens' DeleteProfileObjectType Text Source #
The name of the profile object type.
Destructuring the Response
data DeleteProfileObjectTypeResponse Source #
See: newDeleteProfileObjectTypeResponse
smart constructor.
DeleteProfileObjectTypeResponse' | |
|
Instances
Eq DeleteProfileObjectTypeResponse Source # | |
Read DeleteProfileObjectTypeResponse Source # | |
Show DeleteProfileObjectTypeResponse Source # | |
Generic DeleteProfileObjectTypeResponse Source # | |
NFData DeleteProfileObjectTypeResponse Source # | |
Defined in Amazonka.CustomerProfiles.DeleteProfileObjectType rnf :: DeleteProfileObjectTypeResponse -> () # | |
type Rep DeleteProfileObjectTypeResponse Source # | |
Defined in Amazonka.CustomerProfiles.DeleteProfileObjectType type Rep DeleteProfileObjectTypeResponse = D1 ('MetaData "DeleteProfileObjectTypeResponse" "Amazonka.CustomerProfiles.DeleteProfileObjectType" "libZSservicesZSamazonka-customer-profilesZSamazonka-customer-profiles" 'False) (C1 ('MetaCons "DeleteProfileObjectTypeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
newDeleteProfileObjectTypeResponse Source #
Create a value of DeleteProfileObjectTypeResponse
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:httpStatus:DeleteProfileObjectTypeResponse'
, deleteProfileObjectTypeResponse_httpStatus
- The response's http status code.
$sel:message:DeleteProfileObjectTypeResponse'
, deleteProfileObjectTypeResponse_message
- A message that indicates the delete request is done.
Response Lenses
deleteProfileObjectTypeResponse_httpStatus :: Lens' DeleteProfileObjectTypeResponse Int Source #
The response's http status code.
deleteProfileObjectTypeResponse_message :: Lens' DeleteProfileObjectTypeResponse Text Source #
A message that indicates the delete request is done.