| 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.MigrationHubConfig.Types
Description
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Fold a ServiceError
- _DryRunOperation :: AsError a => Fold a ServiceError
- _InternalServerError :: AsError a => Fold a ServiceError
- _InvalidInputException :: AsError a => Fold a ServiceError
- _ServiceUnavailableException :: AsError a => Fold a ServiceError
- _ThrottlingException :: AsError a => Fold a ServiceError
- newtype TargetType where
- TargetType' { }
- pattern TargetType_ACCOUNT :: TargetType
- data HomeRegionControl = HomeRegionControl' {}
- newHomeRegionControl :: HomeRegionControl
- homeRegionControl_controlId :: Lens' HomeRegionControl (Maybe Text)
- homeRegionControl_homeRegion :: Lens' HomeRegionControl (Maybe Text)
- homeRegionControl_requestedTime :: Lens' HomeRegionControl (Maybe UTCTime)
- homeRegionControl_target :: Lens' HomeRegionControl (Maybe Target)
- data Target = Target' {
- id :: Maybe Text
- type' :: TargetType
- newTarget :: TargetType -> Target
- target_id :: Lens' Target (Maybe Text)
- target_type :: Lens' Target TargetType
Service Configuration
defaultService :: Service Source #
API version 2019-06-30 of the Amazon Migration Hub Config SDK configuration.
Errors
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
You do not have sufficient access to perform this action.
_DryRunOperation :: AsError a => Fold a ServiceError Source #
Exception raised to indicate that authorization of an action was
successful, when the DryRun flag is set to true.
_InternalServerError :: AsError a => Fold a ServiceError Source #
Exception raised when an internal, configuration, or dependency error is encountered.
_InvalidInputException :: AsError a => Fold a ServiceError Source #
Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
_ServiceUnavailableException :: AsError a => Fold a ServiceError Source #
Exception raised when a request fails due to temporary unavailability of the service.
_ThrottlingException :: AsError a => Fold a ServiceError Source #
The request was denied due to request throttling.
TargetType
newtype TargetType Source #
Constructors
| TargetType' | |
Fields | |
Bundled Patterns
| pattern TargetType_ACCOUNT :: TargetType |
Instances
HomeRegionControl
data HomeRegionControl Source #
A home region control is an object that specifies the home region for an
account, with some additional information. It contains a target (always
of type ACCOUNT), an ID, and a time at which the home region was set.
See: newHomeRegionControl smart constructor.
Constructors
| HomeRegionControl' | |
Fields
| |
Instances
newHomeRegionControl :: HomeRegionControl Source #
Create a value of HomeRegionControl 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:controlId:HomeRegionControl', homeRegionControl_controlId - A unique identifier that's generated for each home region control.
It's always a string that begins with "hrc-" followed by 12 lowercase
letters and numbers.
$sel:homeRegion:HomeRegionControl', homeRegionControl_homeRegion - The AWS Region that's been set as home region. For example,
"us-west-2" or "eu-central-1" are valid home regions.
$sel:requestedTime:HomeRegionControl', homeRegionControl_requestedTime - A timestamp representing the time when the customer called
CreateHomeregionControl and set the home region for the account.
$sel:target:HomeRegionControl', homeRegionControl_target - The target parameter specifies the identifier to which the home region
is applied, which is always an ACCOUNT. It applies the home region to
the current ACCOUNT.
homeRegionControl_controlId :: Lens' HomeRegionControl (Maybe Text) Source #
A unique identifier that's generated for each home region control. It's always a string that begins with "hrc-" followed by 12 lowercase letters and numbers.
homeRegionControl_homeRegion :: Lens' HomeRegionControl (Maybe Text) Source #
The AWS Region that's been set as home region. For example, "us-west-2" or "eu-central-1" are valid home regions.
homeRegionControl_requestedTime :: Lens' HomeRegionControl (Maybe UTCTime) Source #
A timestamp representing the time when the customer called
CreateHomeregionControl and set the home region for the account.
homeRegionControl_target :: Lens' HomeRegionControl (Maybe Target) Source #
The target parameter specifies the identifier to which the home region
is applied, which is always an ACCOUNT. It applies the home region to
the current ACCOUNT.
Target
The target parameter specifies the identifier to which the home region
is applied, which is always an ACCOUNT. It applies the home region to
the current ACCOUNT.
See: newTarget smart constructor.
Constructors
| Target' | |
Fields
| |
Instances
| FromJSON Target Source # | |
| ToJSON Target Source # | |
Defined in Amazonka.MigrationHubConfig.Types.Target | |
| Generic Target Source # | |
| Read Target Source # | |
| Show Target Source # | |
| NFData Target Source # | |
Defined in Amazonka.MigrationHubConfig.Types.Target | |
| Eq Target Source # | |
| Hashable Target Source # | |
Defined in Amazonka.MigrationHubConfig.Types.Target | |
| type Rep Target Source # | |
Defined in Amazonka.MigrationHubConfig.Types.Target type Rep Target = D1 ('MetaData "Target" "Amazonka.MigrationHubConfig.Types.Target" "amazonka-migrationhub-config-2.0-3Ai1l2DYBdtHtjir9KlsDr" 'False) (C1 ('MetaCons "Target'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TargetType))) | |
Arguments
| :: TargetType | |
| -> Target |
Create a value of Target 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:id:Target', target_id - The TargetID is a 12-character identifier of the ACCOUNT for which
the control was created. (This must be the current account.)
$sel:type':Target', target_type - The target type is always an ACCOUNT.
target_id :: Lens' Target (Maybe Text) Source #
The TargetID is a 12-character identifier of the ACCOUNT for which
the control was created. (This must be the current account.)
target_type :: Lens' Target TargetType Source #
The target type is always an ACCOUNT.