libZSservicesZSamazonka-migrationhub-configZSamazonka-migrationhub-config
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MigrationHubConfig

Description

Derived from API version 2019-06-30 of the AWS service descriptions, licensed under Apache 2.0.

The AWS Migration Hub home region APIs are available specifically for working with your Migration Hub home region. You can use these APIs to determine a home region, as well as to create and work with controls that describe the home region.

  • You must make API calls for write actions (create, notify, associate, disassociate, import, or put) while in your home region, or a HomeRegionNotSetException error is returned.
  • API calls for read actions (list, describe, stop, and delete) are permitted outside of your home region.
  • If you call a write API outside the home region, an InvalidInputException is returned.
  • You can call GetHomeRegion action to obtain the account's Migration Hub home region.

For specific API usage, see the sections that follow in this AWS Migration Hub Home Region API reference.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2019-06-30 of the Amazon Migration Hub Config SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by MigrationHubConfig.

AccessDeniedException

_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You do not have sufficient access to perform this action.

DryRunOperation

_DryRunOperation :: AsError a => Getting (First ServiceError) a ServiceError Source #

Exception raised to indicate that authorization of an action was successful, when the DryRun flag is set to true.

ThrottlingException

_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was denied due to request throttling.

InternalServerError

_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError Source #

Exception raised when an internal, configuration, or dependency error is encountered.

InvalidInputException

_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.

ServiceUnavailableException

_ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Exception raised when a request fails due to temporary unavailability of the service.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

GetHomeRegion

data GetHomeRegion Source #

See: newGetHomeRegion smart constructor.

Constructors

GetHomeRegion' 

Instances

Instances details
Eq GetHomeRegion Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

Read GetHomeRegion Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

Show GetHomeRegion Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

Generic GetHomeRegion Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

Associated Types

type Rep GetHomeRegion :: Type -> Type #

NFData GetHomeRegion Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

Methods

rnf :: GetHomeRegion -> () #

Hashable GetHomeRegion Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

ToJSON GetHomeRegion Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

AWSRequest GetHomeRegion Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

Associated Types

type AWSResponse GetHomeRegion #

ToHeaders GetHomeRegion Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

ToPath GetHomeRegion Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

ToQuery GetHomeRegion Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

type Rep GetHomeRegion Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

type Rep GetHomeRegion = D1 ('MetaData "GetHomeRegion" "Amazonka.MigrationHubConfig.GetHomeRegion" "libZSservicesZSamazonka-migrationhub-configZSamazonka-migrationhub-config" 'False) (C1 ('MetaCons "GetHomeRegion'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse GetHomeRegion Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

newGetHomeRegion :: GetHomeRegion Source #

Create a value of GetHomeRegion with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

data GetHomeRegionResponse Source #

See: newGetHomeRegionResponse smart constructor.

Instances

Instances details
Eq GetHomeRegionResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

Read GetHomeRegionResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

Show GetHomeRegionResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

Generic GetHomeRegionResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

Associated Types

type Rep GetHomeRegionResponse :: Type -> Type #

NFData GetHomeRegionResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

Methods

rnf :: GetHomeRegionResponse -> () #

type Rep GetHomeRegionResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.GetHomeRegion

type Rep GetHomeRegionResponse = D1 ('MetaData "GetHomeRegionResponse" "Amazonka.MigrationHubConfig.GetHomeRegion" "libZSservicesZSamazonka-migrationhub-configZSamazonka-migrationhub-config" 'False) (C1 ('MetaCons "GetHomeRegionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "homeRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetHomeRegionResponse Source #

Create a value of GetHomeRegionResponse 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:homeRegion:GetHomeRegionResponse', getHomeRegionResponse_homeRegion - The name of the home region of the calling account.

$sel:httpStatus:GetHomeRegionResponse', getHomeRegionResponse_httpStatus - The response's http status code.

CreateHomeRegionControl

data CreateHomeRegionControl Source #

See: newCreateHomeRegionControl smart constructor.

Instances

Instances details
Eq CreateHomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

Read CreateHomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

Show CreateHomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

Generic CreateHomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

Associated Types

type Rep CreateHomeRegionControl :: Type -> Type #

NFData CreateHomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

Methods

rnf :: CreateHomeRegionControl -> () #

Hashable CreateHomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

ToJSON CreateHomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

AWSRequest CreateHomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

ToHeaders CreateHomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

ToPath CreateHomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

ToQuery CreateHomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

type Rep CreateHomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

type Rep CreateHomeRegionControl = D1 ('MetaData "CreateHomeRegionControl" "Amazonka.MigrationHubConfig.CreateHomeRegionControl" "libZSservicesZSamazonka-migrationhub-configZSamazonka-migrationhub-config" 'False) (C1 ('MetaCons "CreateHomeRegionControl'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "homeRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Target))))
type AWSResponse CreateHomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

newCreateHomeRegionControl Source #

Create a value of CreateHomeRegionControl 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:dryRun:CreateHomeRegionControl', createHomeRegionControl_dryRun - Optional Boolean flag to indicate whether any effect should take place. It tests whether the caller has permission to make the call.

$sel:homeRegion:CreateHomeRegionControl', createHomeRegionControl_homeRegion - The name of the home region of the calling account.

$sel:target:CreateHomeRegionControl', createHomeRegionControl_target - The account for which this command sets up a home region control. The Target is always of type ACCOUNT.

data CreateHomeRegionControlResponse Source #

See: newCreateHomeRegionControlResponse smart constructor.

Instances

Instances details
Eq CreateHomeRegionControlResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

Read CreateHomeRegionControlResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

Show CreateHomeRegionControlResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

Generic CreateHomeRegionControlResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

Associated Types

type Rep CreateHomeRegionControlResponse :: Type -> Type #

NFData CreateHomeRegionControlResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

type Rep CreateHomeRegionControlResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.CreateHomeRegionControl

type Rep CreateHomeRegionControlResponse = D1 ('MetaData "CreateHomeRegionControlResponse" "Amazonka.MigrationHubConfig.CreateHomeRegionControl" "libZSservicesZSamazonka-migrationhub-configZSamazonka-migrationhub-config" 'False) (C1 ('MetaCons "CreateHomeRegionControlResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "homeRegionControl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HomeRegionControl)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateHomeRegionControlResponse Source #

Create a value of CreateHomeRegionControlResponse 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:homeRegionControl:CreateHomeRegionControlResponse', createHomeRegionControlResponse_homeRegionControl - This object is the HomeRegionControl object that's returned by a successful call to CreateHomeRegionControl.

$sel:httpStatus:CreateHomeRegionControlResponse', createHomeRegionControlResponse_httpStatus - The response's http status code.

DescribeHomeRegionControls

data DescribeHomeRegionControls Source #

See: newDescribeHomeRegionControls smart constructor.

Instances

Instances details
Eq DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Read DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Show DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Generic DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Associated Types

type Rep DescribeHomeRegionControls :: Type -> Type #

NFData DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Hashable DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

ToJSON DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

AWSRequest DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

ToHeaders DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

ToPath DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

ToQuery DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

type Rep DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

type Rep DescribeHomeRegionControls = D1 ('MetaData "DescribeHomeRegionControls" "Amazonka.MigrationHubConfig.DescribeHomeRegionControls" "libZSservicesZSamazonka-migrationhub-configZSamazonka-migrationhub-config" 'False) (C1 ('MetaCons "DescribeHomeRegionControls'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "homeRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "controlId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Target))))))
type AWSResponse DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

newDescribeHomeRegionControls :: DescribeHomeRegionControls Source #

Create a value of DescribeHomeRegionControls 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:nextToken:DescribeHomeRegionControls', describeHomeRegionControls_nextToken - If a NextToken was returned by a previous call, more results are available. To retrieve the next page of results, make the call again using the returned token in NextToken.

$sel:homeRegion:DescribeHomeRegionControls', describeHomeRegionControls_homeRegion - The name of the home region you'd like to view.

$sel:controlId:DescribeHomeRegionControls', describeHomeRegionControls_controlId - The ControlID is a unique identifier string of your HomeRegionControl object.

$sel:maxResults:DescribeHomeRegionControls', describeHomeRegionControls_maxResults - The maximum number of filtering results to display per page.

$sel:target:DescribeHomeRegionControls', describeHomeRegionControls_target - The target parameter specifies the identifier to which the home region is applied, which is always of type ACCOUNT. It applies the home region to the current ACCOUNT.

data DescribeHomeRegionControlsResponse Source #

Instances

Instances details
Eq DescribeHomeRegionControlsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Read DescribeHomeRegionControlsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Show DescribeHomeRegionControlsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Generic DescribeHomeRegionControlsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Associated Types

type Rep DescribeHomeRegionControlsResponse :: Type -> Type #

NFData DescribeHomeRegionControlsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

type Rep DescribeHomeRegionControlsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

type Rep DescribeHomeRegionControlsResponse = D1 ('MetaData "DescribeHomeRegionControlsResponse" "Amazonka.MigrationHubConfig.DescribeHomeRegionControls" "libZSservicesZSamazonka-migrationhub-configZSamazonka-migrationhub-config" 'False) (C1 ('MetaCons "DescribeHomeRegionControlsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "homeRegionControls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HomeRegionControl])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeHomeRegionControlsResponse Source #

Create a value of DescribeHomeRegionControlsResponse 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:nextToken:DescribeHomeRegionControls', describeHomeRegionControlsResponse_nextToken - If a NextToken was returned by a previous call, more results are available. To retrieve the next page of results, make the call again using the returned token in NextToken.

$sel:homeRegionControls:DescribeHomeRegionControlsResponse', describeHomeRegionControlsResponse_homeRegionControls - An array that contains your HomeRegionControl objects.

$sel:httpStatus:DescribeHomeRegionControlsResponse', describeHomeRegionControlsResponse_httpStatus - The response's http status code.

Types

TargetType

newtype TargetType Source #

Constructors

TargetType' 

Fields

Bundled Patterns

pattern TargetType_ACCOUNT :: TargetType 

Instances

Instances details
Eq TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

Ord TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

Read TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

Show TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

Generic TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

Associated Types

type Rep TargetType :: Type -> Type #

NFData TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

Methods

rnf :: TargetType -> () #

Hashable TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

ToJSON TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

ToJSONKey TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

FromJSON TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

FromJSONKey TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

ToLog TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

ToHeader TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

ToQuery TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

FromXML TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

ToXML TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

Methods

toXML :: TargetType -> XML #

ToByteString TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

FromText TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

ToText TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

Methods

toText :: TargetType -> Text #

type Rep TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

type Rep TargetType = D1 ('MetaData "TargetType" "Amazonka.MigrationHubConfig.Types.TargetType" "libZSservicesZSamazonka-migrationhub-configZSamazonka-migrationhub-config" 'True) (C1 ('MetaCons "TargetType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTargetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

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.

Instances

Instances details
Eq HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

Read HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

Show HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

Generic HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

Associated Types

type Rep HomeRegionControl :: Type -> Type #

NFData HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

Methods

rnf :: HomeRegionControl -> () #

Hashable HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

FromJSON HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

type Rep HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

type Rep HomeRegionControl = D1 ('MetaData "HomeRegionControl" "Amazonka.MigrationHubConfig.Types.HomeRegionControl" "libZSservicesZSamazonka-migrationhub-configZSamazonka-migrationhub-config" 'False) (C1 ('MetaCons "HomeRegionControl'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "homeRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "controlId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Target)))))

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:requestedTime:HomeRegionControl', homeRegionControl_requestedTime - A timestamp representing the time when the customer called CreateHomeregionControl and set the home region for the account.

$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: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: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.

Target

data 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.

See: newTarget smart constructor.

Constructors

Target' (Maybe Text) TargetType 

Instances

Instances details
Eq Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

Methods

(==) :: Target -> Target -> Bool #

(/=) :: Target -> Target -> Bool #

Read Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

Show Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

Generic Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

Associated Types

type Rep Target :: Type -> Type #

Methods

from :: Target -> Rep Target x #

to :: Rep Target x -> Target #

NFData Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

Methods

rnf :: Target -> () #

Hashable Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

Methods

hashWithSalt :: Int -> Target -> Int #

hash :: Target -> Int #

ToJSON Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

FromJSON Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

type Rep Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

type Rep Target = D1 ('MetaData "Target" "Amazonka.MigrationHubConfig.Types.Target" "libZSservicesZSamazonka-migrationhub-configZSamazonka-migrationhub-config" '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)))

newTarget Source #

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.