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 |
Creates a new license conversion task.
Synopsis
- data CreateLicenseConversionTaskForResource = CreateLicenseConversionTaskForResource' {}
- newCreateLicenseConversionTaskForResource :: Text -> LicenseConversionContext -> LicenseConversionContext -> CreateLicenseConversionTaskForResource
- createLicenseConversionTaskForResource_resourceArn :: Lens' CreateLicenseConversionTaskForResource Text
- createLicenseConversionTaskForResource_sourceLicenseContext :: Lens' CreateLicenseConversionTaskForResource LicenseConversionContext
- createLicenseConversionTaskForResource_destinationLicenseContext :: Lens' CreateLicenseConversionTaskForResource LicenseConversionContext
- data CreateLicenseConversionTaskForResourceResponse = CreateLicenseConversionTaskForResourceResponse' {}
- newCreateLicenseConversionTaskForResourceResponse :: Int -> CreateLicenseConversionTaskForResourceResponse
- createLicenseConversionTaskForResourceResponse_licenseConversionTaskId :: Lens' CreateLicenseConversionTaskForResourceResponse (Maybe Text)
- createLicenseConversionTaskForResourceResponse_httpStatus :: Lens' CreateLicenseConversionTaskForResourceResponse Int
Creating a Request
data CreateLicenseConversionTaskForResource Source #
See: newCreateLicenseConversionTaskForResource
smart constructor.
CreateLicenseConversionTaskForResource' | |
|
Instances
newCreateLicenseConversionTaskForResource Source #
Create a value of CreateLicenseConversionTaskForResource
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:resourceArn:CreateLicenseConversionTaskForResource'
, createLicenseConversionTaskForResource_resourceArn
- Amazon Resource Name (ARN) of the resource you are converting the
license type for.
$sel:sourceLicenseContext:CreateLicenseConversionTaskForResource'
, createLicenseConversionTaskForResource_sourceLicenseContext
- Information that identifies the license type you are converting from.
For the structure of the source license, see
Convert a license type using the AWS CLI
in the License Manager User Guide.
$sel:destinationLicenseContext:CreateLicenseConversionTaskForResource'
, createLicenseConversionTaskForResource_destinationLicenseContext
- Information that identifies the license type you are converting to. For
the structure of the destination license, see
Convert a license type using the AWS CLI
in the License Manager User Guide.
Request Lenses
createLicenseConversionTaskForResource_resourceArn :: Lens' CreateLicenseConversionTaskForResource Text Source #
Amazon Resource Name (ARN) of the resource you are converting the license type for.
createLicenseConversionTaskForResource_sourceLicenseContext :: Lens' CreateLicenseConversionTaskForResource LicenseConversionContext Source #
Information that identifies the license type you are converting from. For the structure of the source license, see Convert a license type using the AWS CLI in the License Manager User Guide.
createLicenseConversionTaskForResource_destinationLicenseContext :: Lens' CreateLicenseConversionTaskForResource LicenseConversionContext Source #
Information that identifies the license type you are converting to. For the structure of the destination license, see Convert a license type using the AWS CLI in the License Manager User Guide.
Destructuring the Response
data CreateLicenseConversionTaskForResourceResponse Source #
See: newCreateLicenseConversionTaskForResourceResponse
smart constructor.
CreateLicenseConversionTaskForResourceResponse' | |
|
Instances
newCreateLicenseConversionTaskForResourceResponse Source #
:: Int |
|
-> CreateLicenseConversionTaskForResourceResponse |
Create a value of CreateLicenseConversionTaskForResourceResponse
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:licenseConversionTaskId:CreateLicenseConversionTaskForResourceResponse'
, createLicenseConversionTaskForResourceResponse_licenseConversionTaskId
- The ID of the created license type conversion task.
$sel:httpStatus:CreateLicenseConversionTaskForResourceResponse'
, createLicenseConversionTaskForResourceResponse_httpStatus
- The response's http status code.
Response Lenses
createLicenseConversionTaskForResourceResponse_licenseConversionTaskId :: Lens' CreateLicenseConversionTaskForResourceResponse (Maybe Text) Source #
The ID of the created license type conversion task.
createLicenseConversionTaskForResourceResponse_httpStatus :: Lens' CreateLicenseConversionTaskForResourceResponse Int Source #
The response's http status code.