Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Updates some of the parameters for an existing profile. Provide the
ProfileId
for the profile that you want to update, along with the new
values for the parameters to update.
Synopsis
- data UpdateProfile = UpdateProfile' {
- certificateIds :: Maybe [Text]
- profileId :: Text
- newUpdateProfile :: Text -> UpdateProfile
- updateProfile_certificateIds :: Lens' UpdateProfile (Maybe [Text])
- updateProfile_profileId :: Lens' UpdateProfile Text
- data UpdateProfileResponse = UpdateProfileResponse' {
- httpStatus :: Int
- profileId :: Text
- newUpdateProfileResponse :: Int -> Text -> UpdateProfileResponse
- updateProfileResponse_httpStatus :: Lens' UpdateProfileResponse Int
- updateProfileResponse_profileId :: Lens' UpdateProfileResponse Text
Creating a Request
data UpdateProfile Source #
See: newUpdateProfile
smart constructor.
UpdateProfile' | |
|
Instances
Create a value of UpdateProfile
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:
UpdateProfile
, updateProfile_certificateIds
- An array of identifiers for the imported certificates. You use this
identifier for working with profiles and partner profiles.
UpdateProfile
, updateProfile_profileId
- The identifier of the profile object that you are updating.
Request Lenses
updateProfile_certificateIds :: Lens' UpdateProfile (Maybe [Text]) Source #
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
updateProfile_profileId :: Lens' UpdateProfile Text Source #
The identifier of the profile object that you are updating.
Destructuring the Response
data UpdateProfileResponse Source #
See: newUpdateProfileResponse
smart constructor.
UpdateProfileResponse' | |
|
Instances
newUpdateProfileResponse Source #
Create a value of UpdateProfileResponse
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:UpdateProfileResponse'
, updateProfileResponse_httpStatus
- The response's http status code.
UpdateProfile
, updateProfileResponse_profileId
- Returns the identifier for the profile that's being updated.
Response Lenses
updateProfileResponse_httpStatus :: Lens' UpdateProfileResponse Int Source #
The response's http status code.
updateProfileResponse_profileId :: Lens' UpdateProfileResponse Text Source #
Returns the identifier for the profile that's being updated.