Module Values_2.UpdateIpRestrictionRequestSource

Updates the content and status of IP rules. Traffic from a source is allowed when the source satisfies either the IpRestrictionRule, VpcIdRestrictionRule, or VpcEndpointIdRestrictionRule. To use this operation, you must provide the entire map of rules. You can use the DescribeIpRestriction operation to get the current rule map.

Sourcetype nonrec t = {
  1. awsAccountId : Values_1.AwsAccountId.t;
    (*

    The ID of the Amazon Web Services account that contains the IP rules.

    *)
  2. ipRestrictionRuleMap : IpRestrictionRuleMap.t option;
    (*

    A map that describes the updated IP rules with CIDR ranges and descriptions.

    *)
  3. vpcIdRestrictionRuleMap : VpcIdRestrictionRuleMap.t option;
    (*

    A map of VPC IDs and their corresponding rules. When you configure this parameter, traffic from all VPC endpoints that are present in the specified VPC is allowed.

    *)
  4. vpcEndpointIdRestrictionRuleMap : VpcEndpointIdRestrictionRuleMap.t option;
    (*

    A map of allowed VPC endpoint IDs and their corresponding rule descriptions.

    *)
  5. enabled : Values_1.NullableBoolean.t option;
    (*

    A value that specifies whether IP rules are turned on.

    *)
}
Sourceval context_ : string
Sourceval make : ?ipRestrictionRuleMap:??? -> ?vpcIdRestrictionRuleMap:??? -> ?vpcEndpointIdRestrictionRuleMap:??? -> ?enabled:??? -> awsAccountId:Values_1.AwsAccountId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_1.NullableBoolean.t | `Map of ([> `String of Values_1.CIDR.t ] * [> `String of IpRestrictionRuleDescription.t ]) list | `String of Values_1.AwsAccountId.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