Skip to content

Put Notification Settings

iamrolesanywhere_put_notification_settings R Documentation

Attaches a list of notification settings to a trust anchor

Description

Attaches a list of notification settings to a trust anchor.

A notification setting includes information such as event name, threshold, status of the notification setting, and the channel to notify.

Required permissions: rolesanywhere:PutNotificationSettings.

Usage

iamrolesanywhere_put_notification_settings(trustAnchorId,
  notificationSettings)

Arguments

trustAnchorId

[required] The unique identifier of the trust anchor.

notificationSettings

[required] A list of notification settings to be associated to the trust anchor.

Value

A list with the following syntax:

list(
  trustAnchor = list(
    trustAnchorId = "string",
    trustAnchorArn = "string",
    name = "string",
    source = list(
      sourceType = "AWS_ACM_PCA"|"CERTIFICATE_BUNDLE"|"SELF_SIGNED_REPOSITORY",
      sourceData = list(
        x509CertificateData = "string",
        acmPcaArn = "string"
      )
    ),
    enabled = TRUE|FALSE,
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    updatedAt = as.POSIXct(
      "2015-01-01"
    ),
    notificationSettings = list(
      list(
        enabled = TRUE|FALSE,
        event = "CA_CERTIFICATE_EXPIRY"|"END_ENTITY_CERTIFICATE_EXPIRY",
        threshold = 123,
        channel = "ALL",
        configuredBy = "string"
      )
    )
  )
)

Request syntax

svc$put_notification_settings(
  trustAnchorId = "string",
  notificationSettings = list(
    list(
      enabled = TRUE|FALSE,
      event = "CA_CERTIFICATE_EXPIRY"|"END_ENTITY_CERTIFICATE_EXPIRY",
      threshold = 123,
      channel = "ALL"
    )
  )
)