Ejemplo n.º 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;
 }
Ejemplo n.º 3
0
 public StartDatabaseTaskCompleterHandler(
     IAmazonStepFunctions stepFunctionsClient
     )
 {
     this.stepFunctionsClient = stepFunctionsClient;
 }
 internal ListStateMachinesPaginator(IAmazonStepFunctions client, ListStateMachinesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 5
0
 public StepFunctionSource(IAmazonStepFunctions amazonStepFunctions)
 {
     _amazonStepFunctions = amazonStepFunctions;
 }
 internal ListActivitiesPaginator(IAmazonStepFunctions client, ListActivitiesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 7
0
 public IndexModel(IAmazonDynamoDB dynamoDB, IAmazonStepFunctions stepFunctions)
 {
     this.ddbClient           = dynamoDB;
     this.stepFunctionsClient = stepFunctions;
 }
 internal StepFunctionsPaginatorFactory(IAmazonStepFunctions client)
 {
     this.client = client;
 }
Ejemplo n.º 9
0
        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);
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 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}");
        }
Ejemplo n.º 13
0
 public AmazonStepFunctionsClientAdapter(IAmazonStepFunctions stepFunctions)
 {
     _stepFunctions = stepFunctions;
 }
Ejemplo n.º 14
0
 public PlateParseModel(IAmazonStepFunctions stepFunctions)
 {
     this.stepFunctionsClient = stepFunctions;
 }
Ejemplo n.º 15
0
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }