private Amazon.AccessAnalyzer.Model.GetArchiveRuleResponse CallAWSServiceOperation(IAmazonAccessAnalyzer client, Amazon.AccessAnalyzer.Model.GetArchiveRuleRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS IAM Access Analyzer", "GetArchiveRule");
     try
     {
         #if DESKTOP
         return(client.GetArchiveRule(request));
         #elif CORECLR
         return(client.GetArchiveRuleAsync(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;
     }
 }
 internal ListArchiveRulesPaginator(IAmazonAccessAnalyzer client, ListArchiveRulesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal AccessAnalyzerPaginatorFactory(IAmazonAccessAnalyzer client)
 {
     this.client = client;
 }
Ejemplo n.º 4
0
 internal ListAnalyzedResourcesPaginator(IAmazonAccessAnalyzer client, ListAnalyzedResourcesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal ListAccessPreviewFindingsPaginator(IAmazonAccessAnalyzer client, ListAccessPreviewFindingsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 6
0
 internal ValidatePolicyPaginator(IAmazonAccessAnalyzer client, ValidatePolicyRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 7
0
 internal ListPolicyGenerationsPaginator(IAmazonAccessAnalyzer client, ListPolicyGenerationsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 8
0
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }