pub struct StepFunctionsService { /* private fields */ }Implementations§
Source§impl StepFunctionsService
impl StepFunctionsService
pub fn new(state: SharedStepFunctionsState) -> Self
pub fn with_delivery(self, delivery: Arc<DeliveryBus>) -> Self
pub fn with_dynamodb(self, dynamodb_state: SharedDynamoDbState) -> Self
Sourcepub fn with_registry(self, registry: SharedServiceRegistry) -> Self
pub fn with_registry(self, registry: SharedServiceRegistry) -> Self
Hand the service a deferred-fill handle to the central ServiceRegistry.
main.rs calls [OnceLock::set] on the inner cell after every service
has been registered; until then the interpreter falls back to its
hand-coded SDK integrations (lambda invoke, sqs sendMessage, …).
pub fn with_snapshot_store(self, store: Arc<dyn SnapshotStore>) -> Self
Sourcepub fn snapshot_hook(&self) -> Option<SnapshotHook>
pub fn snapshot_hook(&self) -> Option<SnapshotHook>
Build a hook that persists the current Step Functions state when invoked,
or None in memory mode (no snapshot store). The CloudFormation
provisioner mutates state directly and uses this to write a
CFN-provisioned resource through to disk, the same way a direct mutating
API call would.
Trait Implementations§
Source§impl AwsService for StepFunctionsService
impl AwsService for StepFunctionsService
Source§fn service_name(&self) -> &str
fn service_name(&self) -> &str
The AWS service identifier (e.g., “sqs”, “sns”, “sts”, “events”, “ssm”).
Source§fn handle<'life0, 'async_trait>(
&'life0 self,
req: AwsRequest,
) -> Pin<Box<dyn Future<Output = Result<AwsResponse, AwsServiceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn handle<'life0, 'async_trait>(
&'life0 self,
req: AwsRequest,
) -> Pin<Box<dyn Future<Output = Result<AwsResponse, AwsServiceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Handle an incoming request.
Source§fn supported_actions(&self) -> &[&str]
fn supported_actions(&self) -> &[&str]
List of actions this service supports (for introspection).
Source§fn iam_enforceable(&self) -> bool
fn iam_enforceable(&self) -> bool
Whether this service participates in opt-in IAM enforcement
(
FAKECLOUD_IAM=soft|strict). Read moreSource§fn iam_action_for(&self, _request: &AwsRequest) -> Option<IamAction>
fn iam_action_for(&self, _request: &AwsRequest) -> Option<IamAction>
Derive the IAM action + resource ARN for an incoming request. Read more
Source§fn iam_actions_for(&self, request: &AwsRequest) -> Vec<IamAction>
fn iam_actions_for(&self, request: &AwsRequest) -> Vec<IamAction>
Every IAM authorization an incoming request needs. Read more
Source§fn iam_resource_in_caller_account(&self, _request: &AwsRequest) -> bool
fn iam_resource_in_caller_account(&self, _request: &AwsRequest) -> bool
Whether the request creates its resource in the CALLER’s account, so
that whatever currently holds the resource’s name elsewhere has no say
in authorizing it. S3’s
CreateBucket is the case: bucket names are
global, and creating a name another account owns is authorized against
the caller’s own policies (then answered BucketAlreadyExists), never
against the other account’s bucket policy. Dispatch then evaluates the
request as same-account with no resource policy. Default false.Source§fn iam_condition_keys_for(
&self,
_request: &AwsRequest,
_action: &IamAction,
) -> BTreeMap<String, Vec<String>>
fn iam_condition_keys_for( &self, _request: &AwsRequest, _action: &IamAction, ) -> BTreeMap<String, Vec<String>>
Derive service-specific IAM condition keys for an incoming request. Read more
Return the tags on the resource identified by
resource_arn. Read moreExtract tags being sent in the request (e.g. on CreateQueue,
PutObject with
x-amz-tagging, TagResource). Read moreAuto Trait Implementations§
impl !RefUnwindSafe for StepFunctionsService
impl !UnwindSafe for StepFunctionsService
impl Freeze for StepFunctionsService
impl Send for StepFunctionsService
impl Sync for StepFunctionsService
impl Unpin for StepFunctionsService
impl UnsafeUnpin for StepFunctionsService
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more