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 |
Create a new cross account readiness authorization.
Synopsis
- data CreateCrossAccountAuthorization = CreateCrossAccountAuthorization' {}
- newCreateCrossAccountAuthorization :: Text -> CreateCrossAccountAuthorization
- createCrossAccountAuthorization_crossAccountAuthorization :: Lens' CreateCrossAccountAuthorization Text
- data CreateCrossAccountAuthorizationResponse = CreateCrossAccountAuthorizationResponse' {}
- newCreateCrossAccountAuthorizationResponse :: Int -> CreateCrossAccountAuthorizationResponse
- createCrossAccountAuthorizationResponse_crossAccountAuthorization :: Lens' CreateCrossAccountAuthorizationResponse (Maybe Text)
- createCrossAccountAuthorizationResponse_httpStatus :: Lens' CreateCrossAccountAuthorizationResponse Int
Creating a Request
data CreateCrossAccountAuthorization Source #
The cross account authorization
See: newCreateCrossAccountAuthorization
smart constructor.
CreateCrossAccountAuthorization' | |
|
Instances
newCreateCrossAccountAuthorization Source #
:: Text |
|
-> CreateCrossAccountAuthorization |
Create a value of CreateCrossAccountAuthorization
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:crossAccountAuthorization:CreateCrossAccountAuthorization'
, createCrossAccountAuthorization_crossAccountAuthorization
- The cross account authorization
Request Lenses
createCrossAccountAuthorization_crossAccountAuthorization :: Lens' CreateCrossAccountAuthorization Text Source #
The cross account authorization
Destructuring the Response
data CreateCrossAccountAuthorizationResponse Source #
See: newCreateCrossAccountAuthorizationResponse
smart constructor.
CreateCrossAccountAuthorizationResponse' | |
|
Instances
Eq CreateCrossAccountAuthorizationResponse Source # | |
Read CreateCrossAccountAuthorizationResponse Source # | |
Show CreateCrossAccountAuthorizationResponse Source # | |
Generic CreateCrossAccountAuthorizationResponse Source # | |
NFData CreateCrossAccountAuthorizationResponse Source # | |
type Rep CreateCrossAccountAuthorizationResponse Source # | |
Defined in Amazonka.Route53RecoveryReadiness.CreateCrossAccountAuthorization type Rep CreateCrossAccountAuthorizationResponse = D1 ('MetaData "CreateCrossAccountAuthorizationResponse" "Amazonka.Route53RecoveryReadiness.CreateCrossAccountAuthorization" "libZSservicesZSamazonka-route53-recovery-readinessZSamazonka-route53-recovery-readiness" 'False) (C1 ('MetaCons "CreateCrossAccountAuthorizationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "crossAccountAuthorization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateCrossAccountAuthorizationResponse Source #
Create a value of CreateCrossAccountAuthorizationResponse
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:crossAccountAuthorization:CreateCrossAccountAuthorization'
, createCrossAccountAuthorizationResponse_crossAccountAuthorization
- The cross account authorization
$sel:httpStatus:CreateCrossAccountAuthorizationResponse'
, createCrossAccountAuthorizationResponse_httpStatus
- The response's http status code.
Response Lenses
createCrossAccountAuthorizationResponse_crossAccountAuthorization :: Lens' CreateCrossAccountAuthorizationResponse (Maybe Text) Source #
The cross account authorization
createCrossAccountAuthorizationResponse_httpStatus :: Lens' CreateCrossAccountAuthorizationResponse Int Source #
The response's http status code.