コード例 #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;
     }
 }
コード例 #2
0
 internal GetExecutionHistoryPaginator(IAmazonStepFunctions client, GetExecutionHistoryRequest request)
 {
     this._client  = client;
     this._request = request;
 }
コード例 #3
0
 public StartDatabaseTaskCompleterHandler(
     IAmazonStepFunctions stepFunctionsClient
     )
 {
     this.stepFunctionsClient = stepFunctionsClient;
 }
コード例 #4
0
 internal ListStateMachinesPaginator(IAmazonStepFunctions client, ListStateMachinesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
コード例 #5
0
 public StepFunctionSource(IAmazonStepFunctions amazonStepFunctions)
 {
     _amazonStepFunctions = amazonStepFunctions;
 }
コード例 #6
0
 internal ListActivitiesPaginator(IAmazonStepFunctions client, ListActivitiesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
コード例 #7
0
 public IndexModel(IAmazonDynamoDB dynamoDB, IAmazonStepFunctions stepFunctions)
 {
     this.ddbClient           = dynamoDB;
     this.stepFunctionsClient = stepFunctions;
 }
コード例 #8
0
 internal StepFunctionsPaginatorFactory(IAmazonStepFunctions client)
 {
     this.client = client;
 }
コード例 #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);
        }
コード例 #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;
 }
コード例 #11
0
 public StepFunctionTrigger(IAmazonStepFunctions _sfClient, int _ageLimit, string _stepFunctionArn)
 {
     this.SfClient        = _sfClient;
     this.StepFunctionArn = _stepFunctionArn;
 }
コード例 #12
0
        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}");
        }
コード例 #13
0
 public AmazonStepFunctionsClientAdapter(IAmazonStepFunctions stepFunctions)
 {
     _stepFunctions = stepFunctions;
 }
コード例 #14
0
 public PlateParseModel(IAmazonStepFunctions stepFunctions)
 {
     this.stepFunctionsClient = stepFunctions;
 }
コード例 #15
0
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }