docs: func (s *CreateCertificateAuthorityInput) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "CreateCertificateAuthorityInput"}
  	if s.CertificateAuthorityConfiguration == nil {
  		invalidParams.Add(request.NewErrParamRequired("CertificateAuthorityConfiguration"))
  	}
  	if s.CertificateAuthorityType == nil {
  		invalidParams.Add(request.NewErrParamRequired("CertificateAuthorityType"))
  	}
  	if s.IdempotencyToken != nil && len(*s.IdempotencyToken) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("IdempotencyToken", 1))
  	}
  	if s.Tags != nil && len(s.Tags) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
  	}
  	if s.CertificateAuthorityConfiguration != nil {
  		if err := s.CertificateAuthorityConfiguration.Validate(); err != nil {
  			invalidParams.AddNested("CertificateAuthorityConfiguration", err.(request.ErrInvalidParams))
  		}
  	}
  	if s.RevocationConfiguration != nil {
  		if err := s.RevocationConfiguration.Validate(); err != nil {
  			invalidParams.AddNested("RevocationConfiguration", err.(request.ErrInvalidParams))
  		}
  	}
  	if s.Tags != nil {
  		for i, v := range s.Tags {
  			if v == nil {
  				continue
  			}
  			if err := v.Validate(); err != nil {
  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
  			}
  		}
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }