Module Values.CreateIPSetRequestSource

Creates a new IPSet, which is called a trusted IP list in the console user interface. An IPSet is a list of IP addresses that are trusted for secure communication with Amazon Web Services infrastructure and applications. GuardDuty doesn't generate findings for IP addresses that are included in IPSets. Only users from the administrator account can use this operation.

Sourcetype nonrec t = {
  1. detectorId : DetectorId.t;
    (*

    The unique ID of the detector of the GuardDuty account for which you want to create an IPSet. To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

    *)
  2. name : Name.t;
    (*

    The user-friendly name to identify the IPSet. Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).

    *)
  3. format : IpSetFormat.t;
    (*

    The format of the file that contains the IPSet.

    *)
  4. location : Location.t;
    (*

    The URI of the file that contains the IPSet.

    *)
  5. activate : Boolean.t;
    (*

    A Boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.

    *)
  6. clientToken : ClientToken.t option;
    (*

    The idempotency token for the create request.

    *)
  7. tags : TagMap.t option;
    (*

    The tags to be added to a new IP set resource.

    *)
  8. expectedBucketOwner : AccountId.t option;
    (*

    The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?tags:??? -> ?expectedBucketOwner:??? -> detectorId:DetectorId.t -> name:Name.t -> format:IpSetFormat.t -> location:Location.t -> activate:Boolean.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of DetectorId.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