Module Values.CreateSinkOutputSource

Use this to create a sink in the current account, so that it can be used as a monitoring account in CloudWatch cross-account observability. A sink is a resource that represents an attachment point in a monitoring account. Source accounts can link to the sink to send observability data. After you create a sink, you must create a sink policy that allows source accounts to attach to it. For more information, see PutSinkPolicy. Each account can contain one sink per Region. If you delete a sink, you can then create a new one in that Region.

Sourcetype nonrec t = {
  1. arn : String_.t option;
    (*

    The ARN of the sink that is newly created.

    *)
  2. id : String_.t option;
    (*

    The random ID string that Amazon Web Services generated as part of the sink ARN.

    *)
  3. name : String_.t option;
    (*

    The name of the sink.

    *)
  4. tags : TagMapOutput.t option;
    (*

    The tags assigned to the sink.

    *)
}
Sourcetype nonrec error = [
  1. | `ConflictException of ConflictException.t
  2. | `InternalServiceFault of InternalServiceFault.t
  3. | `InvalidParameterException of InvalidParameterException.t
  4. | `MissingRequiredParameterException of MissingRequiredParameterException.t
  5. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?arn:??? -> ?id:??? -> ?name:??? -> ?tags:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConflictException of ConflictException.t | `InternalServiceFault of InternalServiceFault.t | `InvalidParameterException of InvalidParameterException.t | `MissingRequiredParameterException of MissingRequiredParameterException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConflictException of ConflictException.t | `InternalServiceFault of InternalServiceFault.t | `InvalidParameterException of InvalidParameterException.t | `MissingRequiredParameterException of MissingRequiredParameterException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t