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 |
Register an SAP application with AWS Systems Manager for SAP. You must meet the following requirements before registering.
The SAP application you want to register with AWS Systems Manager for SAP is running on Amazon EC2.
AWS Systems Manager Agent must be setup on an Amazon EC2 instance along with the required IAM permissions.
Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets Manager to manage SAP applications and components.
Synopsis
- data RegisterApplication = RegisterApplication' {}
- newRegisterApplication :: Text -> ApplicationType -> NonEmpty Text -> NonEmpty ApplicationCredential -> RegisterApplication
- registerApplication_sapInstanceNumber :: Lens' RegisterApplication (Maybe Text)
- registerApplication_sid :: Lens' RegisterApplication (Maybe Text)
- registerApplication_tags :: Lens' RegisterApplication (Maybe (HashMap Text Text))
- registerApplication_applicationId :: Lens' RegisterApplication Text
- registerApplication_applicationType :: Lens' RegisterApplication ApplicationType
- registerApplication_instances :: Lens' RegisterApplication (NonEmpty Text)
- registerApplication_credentials :: Lens' RegisterApplication (NonEmpty ApplicationCredential)
- data RegisterApplicationResponse = RegisterApplicationResponse' {}
- newRegisterApplicationResponse :: Int -> RegisterApplicationResponse
- registerApplicationResponse_application :: Lens' RegisterApplicationResponse (Maybe Application)
- registerApplicationResponse_operationId :: Lens' RegisterApplicationResponse (Maybe Text)
- registerApplicationResponse_httpStatus :: Lens' RegisterApplicationResponse Int
Creating a Request
data RegisterApplication Source #
See: newRegisterApplication
smart constructor.
Instances
newRegisterApplication Source #
Create a value of RegisterApplication
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:sapInstanceNumber:RegisterApplication'
, registerApplication_sapInstanceNumber
-
$sel:sid:RegisterApplication'
, registerApplication_sid
-
RegisterApplication
, registerApplication_tags
-
RegisterApplication
, registerApplication_applicationId
-
$sel:applicationType:RegisterApplication'
, registerApplication_applicationType
-
$sel:instances:RegisterApplication'
, registerApplication_instances
-
Request Lenses
registerApplication_credentials :: Lens' RegisterApplication (NonEmpty ApplicationCredential) Source #
Destructuring the Response
data RegisterApplicationResponse Source #
See: newRegisterApplicationResponse
smart constructor.
RegisterApplicationResponse' | |
|
Instances
newRegisterApplicationResponse Source #
Create a value of RegisterApplicationResponse
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:application:RegisterApplicationResponse'
, registerApplicationResponse_application
-
$sel:operationId:RegisterApplicationResponse'
, registerApplicationResponse_operationId
-
$sel:httpStatus:RegisterApplicationResponse'
, registerApplicationResponse_httpStatus
- The response's http status code.
Response Lenses
registerApplicationResponse_application :: Lens' RegisterApplicationResponse (Maybe Application) Source #
registerApplicationResponse_httpStatus :: Lens' RegisterApplicationResponse Int Source #
The response's http status code.