Exemple #1
0
 private Amazon.StepFunctions.Model.SendTaskSuccessResponse CallAWSServiceOperation(IAmazonStepFunctions client, Amazon.StepFunctions.Model.SendTaskSuccessRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Step Functions", "SendTaskSuccess");
     try
     {
         #if DESKTOP
         return(client.SendTaskSuccess(request));
         #elif CORECLR
         return(client.SendTaskSuccessAsync(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 GetExecutionHistoryPaginator(IAmazonStepFunctions client, GetExecutionHistoryRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Exemple #3
0
 public StartDatabaseTaskCompleterHandler(
     IAmazonStepFunctions stepFunctionsClient
     )
 {
     this.stepFunctionsClient = stepFunctionsClient;
 }
 internal ListStateMachinesPaginator(IAmazonStepFunctions client, ListStateMachinesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 public StepFunctionSource(IAmazonStepFunctions amazonStepFunctions)
 {
     _amazonStepFunctions = amazonStepFunctions;
 }
 internal ListActivitiesPaginator(IAmazonStepFunctions client, ListActivitiesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Exemple #7
0
 public IndexModel(IAmazonDynamoDB dynamoDB, IAmazonStepFunctions stepFunctions)
 {
     this.ddbClient           = dynamoDB;
     this.stepFunctionsClient = stepFunctions;
 }
 internal StepFunctionsPaginatorFactory(IAmazonStepFunctions client)
 {
     this.client = client;
 }
        public MosaicManager(IOptions <AppOptions> appOptions, IAmazonBatch batchClient, IAmazonDynamoDB ddbClient, IAmazonECS ecsClient, IAmazonS3 s3Client, IAmazonStepFunctions stepClient)
        {
            this._appOptions = appOptions.Value;

            this._batchClient       = batchClient;
            this._ddbClient         = ddbClient;
            this._ecsClient         = ecsClient;
            this._s3Client          = s3Client;
            this._s3TransferUtility = new TransferUtility(s3Client);
            this._stepClient        = stepClient;

            this._ddbContext = new DynamoDBContext(this._ddbClient);
        }
Exemple #10
0
 /// <summary>
 /// Constructor used for testing purposes
 /// </summary>
 /// <param name="ddbClient"></param>
 /// <param name="stepFunctions"></param>
 /// <param name="tablename"></param>
 public Function(IAmazonDynamoDB ddbClient, IAmazonStepFunctions stepFunctions, string tablename)
 {
     AWSSDKHandler.RegisterXRayForAllServices();
     _incidentRepository        = new IncidentRepository(ddbClient, tablename);
     _amazonStepFunctionsClient = (AmazonStepFunctionsClient)stepFunctions;
 }
Exemple #11
0
 public StepFunctionTrigger(IAmazonStepFunctions _sfClient, int _ageLimit, string _stepFunctionArn)
 {
     this.SfClient        = _sfClient;
     this.StepFunctionArn = _stepFunctionArn;
 }
        public TagCloudsController(ILogger <TagCloudsController> logger, IConfiguration config, IAmazonStepFunctions stepClient, IAmazonS3 s3Client)
        {
            this._logger          = logger;
            this._stateMachineArn = config["StateMachineArn"];
            this._stepClient      = stepClient;
            this._s3Client        = s3Client;

            this._logger.LogInformation($"State Machine Arn: {this._stateMachineArn}");
        }
Exemple #13
0
 public AmazonStepFunctionsClientAdapter(IAmazonStepFunctions stepFunctions)
 {
     _stepFunctions = stepFunctions;
 }
Exemple #14
0
 public PlateParseModel(IAmazonStepFunctions stepFunctions)
 {
     this.stepFunctionsClient = stepFunctions;
 }
Exemple #15
0
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }