| 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.BackupGateway.PutHypervisorPropertyMappings
Description
This action sets the property mappings for the specified hypervisor. A hypervisor property mapping displays the relationship of entity properties available from the on-premises hypervisor to the properties available in Amazon Web Services.
Synopsis
- data PutHypervisorPropertyMappings = PutHypervisorPropertyMappings' {}
- newPutHypervisorPropertyMappings :: Text -> Text -> PutHypervisorPropertyMappings
- putHypervisorPropertyMappings_hypervisorArn :: Lens' PutHypervisorPropertyMappings Text
- putHypervisorPropertyMappings_iamRoleArn :: Lens' PutHypervisorPropertyMappings Text
- putHypervisorPropertyMappings_vmwareToAwsTagMappings :: Lens' PutHypervisorPropertyMappings [VmwareToAwsTagMapping]
- data PutHypervisorPropertyMappingsResponse = PutHypervisorPropertyMappingsResponse' {
- hypervisorArn :: Maybe Text
- httpStatus :: Int
- newPutHypervisorPropertyMappingsResponse :: Int -> PutHypervisorPropertyMappingsResponse
- putHypervisorPropertyMappingsResponse_hypervisorArn :: Lens' PutHypervisorPropertyMappingsResponse (Maybe Text)
- putHypervisorPropertyMappingsResponse_httpStatus :: Lens' PutHypervisorPropertyMappingsResponse Int
Creating a Request
data PutHypervisorPropertyMappings Source #
See: newPutHypervisorPropertyMappings smart constructor.
Constructors
| PutHypervisorPropertyMappings' | |
Fields
| |
Instances
newPutHypervisorPropertyMappings Source #
Arguments
| :: Text | |
| -> Text | |
| -> PutHypervisorPropertyMappings |
Create a value of PutHypervisorPropertyMappings 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:
PutHypervisorPropertyMappings, putHypervisorPropertyMappings_hypervisorArn - The Amazon Resource Name (ARN) of the hypervisor.
$sel:iamRoleArn:PutHypervisorPropertyMappings', putHypervisorPropertyMappings_iamRoleArn - The Amazon Resource Name (ARN) of the IAM role.
$sel:vmwareToAwsTagMappings:PutHypervisorPropertyMappings', putHypervisorPropertyMappings_vmwareToAwsTagMappings - This action requests the mappings of on-premises VMware tags to the
Amazon Web Services tags.
Request Lenses
putHypervisorPropertyMappings_hypervisorArn :: Lens' PutHypervisorPropertyMappings Text Source #
The Amazon Resource Name (ARN) of the hypervisor.
putHypervisorPropertyMappings_iamRoleArn :: Lens' PutHypervisorPropertyMappings Text Source #
The Amazon Resource Name (ARN) of the IAM role.
putHypervisorPropertyMappings_vmwareToAwsTagMappings :: Lens' PutHypervisorPropertyMappings [VmwareToAwsTagMapping] Source #
This action requests the mappings of on-premises VMware tags to the Amazon Web Services tags.
Destructuring the Response
data PutHypervisorPropertyMappingsResponse Source #
See: newPutHypervisorPropertyMappingsResponse smart constructor.
Constructors
| PutHypervisorPropertyMappingsResponse' | |
Fields
| |
Instances
newPutHypervisorPropertyMappingsResponse Source #
Arguments
| :: Int | |
| -> PutHypervisorPropertyMappingsResponse |
Create a value of PutHypervisorPropertyMappingsResponse 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:
PutHypervisorPropertyMappings, putHypervisorPropertyMappingsResponse_hypervisorArn - The Amazon Resource Name (ARN) of the hypervisor.
$sel:httpStatus:PutHypervisorPropertyMappingsResponse', putHypervisorPropertyMappingsResponse_httpStatus - The response's http status code.
Response Lenses
putHypervisorPropertyMappingsResponse_hypervisorArn :: Lens' PutHypervisorPropertyMappingsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the hypervisor.
putHypervisorPropertyMappingsResponse_httpStatus :: Lens' PutHypervisorPropertyMappingsResponse Int Source #
The response's http status code.