Ejemplo n.º 1
0
 private Amazon.FMS.Model.ListPoliciesResponse CallAWSServiceOperation(IAmazonFMS client, Amazon.FMS.Model.ListPoliciesRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Firewall Management Service", "ListPolicies");
     try
     {
         #if DESKTOP
         return(client.ListPolicies(request));
         #elif CORECLR
         return(client.ListPoliciesAsync(request).GetAwaiter().GetResult());
         #else
                 #error "Unknown build edition"
         #endif
     }
     catch (AmazonServiceException exc)
     {
         var webException = exc.InnerException as System.Net.WebException;
         if (webException != null)
         {
             throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException);
         }
         throw;
     }
 }
Ejemplo n.º 2
0
 internal FMSPaginatorFactory(IAmazonFMS client)
 {
     this.client = client;
 }
Ejemplo n.º 3
0
 internal ListProtocolsListsPaginator(IAmazonFMS client, ListProtocolsListsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 4
0
 internal ListThirdPartyFirewallFirewallPoliciesPaginator(IAmazonFMS client, ListThirdPartyFirewallFirewallPoliciesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 5
0
 internal ListPoliciesPaginator(IAmazonFMS client, ListPoliciesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 6
0
 internal ListComplianceStatusPaginator(IAmazonFMS client, ListComplianceStatusRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal ListMemberAccountsPaginator(IAmazonFMS client, ListMemberAccountsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 8
0
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }