Amazon.WAFRegional.AmazonWAFRegionalClient.AssociateWebACL C# (CSharp) Метод

AssociateWebACL() публичный Метод

Associates a web ACL with a resource.
/// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// The operation failed because you tried to create, update, or delete an object by using /// an invalid account identifier. /// /// The operation failed because AWS WAF didn't recognize a parameter in the request. /// For example: /// ///
  • /// /// You specified an invalid parameter name. /// ///
  • /// /// You specified an invalid value. /// ///
  • /// /// You tried to update an object (ByteMatchSet, IPSet, Rule, /// or WebACL) using an action other than INSERT or DELETE. /// ///
  • /// /// You tried to create a WebACL with a DefaultAction Type /// other than ALLOW, BLOCK, or COUNT. /// ///
  • /// /// You tried to update a WebACL with a WafAction Type /// other than ALLOW, BLOCK, or COUNT. /// ///
  • /// /// You tried to update a ByteMatchSet with a FieldToMatch Type /// other than HEADER, QUERY_STRING, or URI. /// ///
  • /// /// You tried to update a ByteMatchSet with a Field of HEADER /// but no value for Data. /// ///
  • /// /// Your request references an ARN that is malformed, or corresponds to a resource with /// which a web ACL cannot be associated. /// ///
/// /// The operation failed because the referenced object doesn't exist. /// /// The operation failed because the entity referenced is temporarily unavailable. Retry /// your request. ///
public AssociateWebACL ( AssociateWebACLRequest request ) : AssociateWebACLResponse
request Amazon.WAFRegional.Model.AssociateWebACLRequest Container for the necessary parameters to execute the AssociateWebACL service method.
Результат AssociateWebACLResponse
        public AssociateWebACLResponse AssociateWebACL(AssociateWebACLRequest request)
        {
            var marshaller = new AssociateWebACLRequestMarshaller();
            var unmarshaller = AssociateWebACLResponseUnmarshaller.Instance;

            return Invoke<AssociateWebACLRequest,AssociateWebACLResponse>(request, marshaller, unmarshaller);
        }
AmazonWAFRegionalClient