Update App Authorization
appfabric_update_app_authorization | R Documentation |
Updates an app authorization within an app bundle, which allows AppFabric to connect to an application¶
Description¶
Updates an app authorization within an app bundle, which allows AppFabric to connect to an application.
If the app authorization was in a connected
state, updating the app
authorization will set it back to a PendingConnect
state.
Usage¶
appfabric_update_app_authorization(appBundleIdentifier,
appAuthorizationIdentifier, credential, tenant)
Arguments¶
appBundleIdentifier
[required] The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
appAuthorizationIdentifier
[required] The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
credential
Contains credentials for the application, such as an API key or OAuth2 client ID and secret.
Specify credentials that match the authorization type of the app authorization to update. For example, if the authorization type of the app authorization is OAuth2 (
oauth2
), then you should provide only the OAuth2 credentials.tenant
Contains information about an application tenant, such as the application display name and identifier.
Value¶
A list with the following syntax:
list(
appAuthorization = list(
appAuthorizationArn = "string",
appBundleArn = "string",
app = "string",
tenant = list(
tenantIdentifier = "string",
tenantDisplayName = "string"
),
authType = "oauth2"|"apiKey",
status = "PendingConnect"|"Connected"|"ConnectionValidationFailed"|"TokenAutoRotationFailed",
createdAt = as.POSIXct(
"2015-01-01"
),
updatedAt = as.POSIXct(
"2015-01-01"
),
persona = "admin"|"endUser",
authUrl = "string"
)
)
Request syntax¶
svc$update_app_authorization(
appBundleIdentifier = "string",
appAuthorizationIdentifier = "string",
credential = list(
oauth2Credential = list(
clientId = "string",
clientSecret = "string"
),
apiKeyCredential = list(
apiKey = "string"
)
),
tenant = list(
tenantIdentifier = "string",
tenantDisplayName = "string"
)
)