| 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 |
Amazonka.Transfer.DescribeProfile
Description
Returns the details of the profile that's specified by the ProfileId.
Synopsis
- data DescribeProfile = DescribeProfile' {}
- newDescribeProfile :: Text -> DescribeProfile
- describeProfile_profileId :: Lens' DescribeProfile Text
- data DescribeProfileResponse = DescribeProfileResponse' {}
- newDescribeProfileResponse :: Int -> DescribedProfile -> DescribeProfileResponse
- describeProfileResponse_httpStatus :: Lens' DescribeProfileResponse Int
- describeProfileResponse_profile :: Lens' DescribeProfileResponse DescribedProfile
Creating a Request
data DescribeProfile Source #
See: newDescribeProfile smart constructor.
Constructors
| DescribeProfile' | |
Instances
Arguments
| :: Text | |
| -> DescribeProfile |
Create a value of DescribeProfile 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:
DescribeProfile, describeProfile_profileId - The identifier of the profile that you want described.
Request Lenses
describeProfile_profileId :: Lens' DescribeProfile Text Source #
The identifier of the profile that you want described.
Destructuring the Response
data DescribeProfileResponse Source #
See: newDescribeProfileResponse smart constructor.
Constructors
| DescribeProfileResponse' | |
Fields
| |
Instances
newDescribeProfileResponse Source #
Arguments
| :: Int | |
| -> DescribedProfile | |
| -> DescribeProfileResponse |
Create a value of DescribeProfileResponse 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:DescribeProfileResponse', describeProfileResponse_httpStatus - The response's http status code.
$sel:profile:DescribeProfileResponse', describeProfileResponse_profile - The details of the specified profile, returned as an object.
Response Lenses
describeProfileResponse_httpStatus :: Lens' DescribeProfileResponse Int Source #
The response's http status code.
describeProfileResponse_profile :: Lens' DescribeProfileResponse DescribedProfile Source #
The details of the specified profile, returned as an object.