Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Nike-Inc/aws-greengrass-core-sdk-rust
/ functions
Functions
180 in github.com/Nike-Inc/aws-greengrass-core-sdk-rust
⨍
Functions
180
◇
Types & classes
66
↓ 13 callers
Method
clone
(&self)
src/shadow.rs:234
↓ 11 callers
Method
publish
(&self, response: &Response<T>)
examples/shadow.rs:189
↓ 9 callers
Method
push
Push new call information to the internal RefCell
src/lib.rs:136
↓ 9 callers
Function
reset_test_state
()
src/bindings.rs:71
↓ 8 callers
Method
init
(self)
src/lib.rs:62
↓ 8 callers
Method
with_code
(self, code: u16)
examples/shadow.rs:238
↓ 7 callers
Function
init_log
Initializes the Greengrass Logger with the specified run level # Examples ```example2018 use log::LogLevel; use aws_greengrass_core_rust::log as gglo
src/log.rs:46
↓ 7 callers
Method
with_runtime
Initialize the greengrass with the specified runtime object. This must be called if you want to provide a Runtime with a [`handler::Handler`]. ```ed
src/lib.rs:82
↓ 6 callers
Method
with_handler
Provide a handler. If no handler is provided the runtime will register a no-op handler ```rust use aws_greengrass_core_rust::handler::{Handler, Lambd
src/runtime.rs:121
↓ 6 callers
Method
with_message
(self, message: Option<String>)
examples/shadow.rs:242
↓ 4 callers
Method
clone
(&self)
src/lambda.rs:373
↓ 4 callers
Method
for_secret_id
Creates a new SecretRequestBuilder using the specified secret_id `secret_id` - The full arn or simple name of the secret
src/secret.rs:75
↓ 4 callers
Method
request
(&self)
src/secret.rs:130
↓ 4 callers
Method
send_response
(&self, result: Result<&[u8], &str>)
src/lambda.rs:124
↓ 3 callers
Method
handle_error
(&self, err: &GGError)
examples/shadow.rs:171
↓ 3 callers
Function
read_response_data
Reads the response data from the gg_request_reqd call
src/request.rs:230
↓ 3 callers
Function
test_response
()
src/secret.rs:283
↓ 3 callers
Method
with_runtime_option
Provide a non-default runtime option
src/runtime.rs:98
↓ 2 callers
Function
build_context
Converts the c context to our rust native context
src/runtime.rs:144
↓ 2 callers
Method
delete_thing_shadow
(&self, thing_name: &str)
src/shadow.rs:119
↓ 2 callers
Method
determine_error
If the response is an error, return it as Some(GGError) None if it isn't an error
src/request.rs:130
↓ 2 callers
Function
gg_publish_options_free
(opts: gg_publish_options)
src/bindings.rs:464
↓ 2 callers
Function
invoke
( option: &InvokeOptions<C>, invoke_type: InvokeType, payload: &Option<P>, )
src/lambda.rs:245
↓ 2 callers
Method
invoke_sync
( &self, option: InvokeOptions<C>, payload: Option<P>, )
src/lambda.rs:82
↓ 2 callers
Method
publish
Allows publishing a message of anything that implements AsRef<[u8]> to be published
src/iotdata.rs:103
↓ 2 callers
Method
publish_json
Publish anything that is a deserializable serde object
src/iotdata.rs:110
↓ 2 callers
Method
publish_raw
(&self, topic: &str, buffer: &[u8], read: usize)
src/iotdata.rs:117
↓ 2 callers
Method
update_thing_shadow
(&self, thing_name: &str, doc: &T)
src/shadow.rs:82
↓ 2 callers
Method
with_body
(self, body: Option<Box<T>>)
examples/shadow.rs:246
↓ 2 callers
Method
with_mocks
(self, mocks: Rc<MockHolder>)
src/secret.rs:87
↓ 2 callers
Method
with_request_outputs
(self, request_outputs: Vec<GGResult<Option<Secret>>>)
src/secret.rs:210
↓ 1 callers
Method
as_c_invoke_type
(&self)
src/lambda.rs:237
↓ 1 callers
Method
as_ioerror
(self)
src/error.rs:80
↓ 1 callers
Method
as_opt
Converts to the option required by the runtime api
src/runtime.rs:47
↓ 1 callers
Function
build_invoke_options
(req: &InvokeRequest)
examples/invoker.rs:80
↓ 1 callers
Method
clone
(&self)
src/iotdata.rs:280
↓ 1 callers
Method
do_stuff_with_thing
(&self, body: &[u8])
examples/shadow.rs:79
↓ 1 callers
Method
enabled
(&self, _: &Metadata)
src/log.rs:24
↓ 1 callers
Function
gg_global_init
(opt: u32)
src/bindings.rs:155
↓ 1 callers
Function
gg_lambda_handler_read
( buffer: *mut ::std::os::raw::c_void, buffer_size: usize, amount_read: *mut usize,
src/bindings.rs:283
↓ 1 callers
Function
gg_lambda_handler_write_error
( error_message: *const ::std::os::raw::c_char, )
src/bindings.rs:330
↓ 1 callers
Function
gg_lambda_handler_write_response
( response: *const ::std::os::raw::c_void, response_size: usize, )
src/bindings.rs:317
↓ 1 callers
Function
gg_log
( level: gg_log_level, format: *const ::std::os::raw::c_char, )
src/bindings.rs:174
↓ 1 callers
Function
gg_publish_options_init
(opts: *mut gg_publish_options)
src/bindings.rs:456
↓ 1 callers
Function
gg_publish_options_set_queue_full_policy
( opts: gg_publish_options, policy: gg_queue_full_policy_options, )
src/bindings.rs:472
↓ 1 callers
Function
gg_request_init
(ggreq: *mut gg_request)
src/bindings.rs:186
↓ 1 callers
Function
gg_request_read
( ggreq: gg_request, buffer: *mut ::std::os::raw::c_void, buffer_size: usize,
src/bindings.rs:208
↓ 1 callers
Function
gg_runtime_start
(handler: gg_lambda_handler, opt: u32)
src/bindings.rs:252
↓ 1 callers
Method
handle
(&self, ctx: LambdaContext)
src/runtime.rs:257
↓ 1 callers
Method
handle_command
(&self, c: &Command)
examples/shadow.rs:91
↓ 1 callers
Method
handle_delete
(&self, command: &Command)
examples/shadow.rs:156
↓ 1 callers
Method
handle_get
(&self, command: &Command)
examples/shadow.rs:102
↓ 1 callers
Method
handle_update
(&self, command: &Command)
examples/shadow.rs:127
↓ 1 callers
Function
handler_read_message
Wraps the C gg_lambda_handler_read call
src/runtime.rs:158
↓ 1 callers
Method
into
(self)
src/error.rs:140
↓ 1 callers
Function
invoke
(event: &[u8])
examples/invoker.rs:62
↓ 1 callers
Method
invoke_async
( &self, option: InvokeOptions<C>, payload: Option<P>, )
src/lambda.rs:112
↓ 1 callers
Method
is_error
Returns true if the request status is anything other than GGRequestStatus::Success
src/request.rs:101
↓ 1 callers
Method
parse_response
(&self, response: &[u8])
src/secret.rs:138
↓ 1 callers
Function
publish
(bytes: &[u8])
examples/longlived.rs:58
↓ 1 callers
Method
publish_internal
Raw publish method that wraps gg_request_init, gg_publish
src/iotdata.rs:159
↓ 1 callers
Method
publish_with_options
This wraps publish_internal and will set any publish options if publish options were specified The primary reason this is a separate function from pub
src/iotdata.rs:124
↓ 1 callers
Function
read_secret
Fetch the specified secrete from the green grass secret store
src/secret.rs:159
↓ 1 callers
Function
read_thing_shadow
(thing_name: &str)
src/shadow.rs:191
↓ 1 callers
Method
send
Performs a send with CHANNEL and coerces the error type
src/runtime.rs:195
↓ 1 callers
Function
send_to_handler
Sets up the GG_LAMBDA_HANDLER_READ_BUFFER and calls the registered c handler
src/bindings.rs:259
↓ 1 callers
Method
serialize_customer_context
(&self)
src/lambda.rs:48
↓ 1 callers
Method
start
Start the green grass core runtime
src/runtime.rs:73
↓ 1 callers
Function
to_gg_log
Converts a [`log::Record`] to a c log entry and sends it to gg_log
src/log.rs:52
↓ 1 callers
Function
to_gg_log_level
Coerces a [`log::Level`] into a green grass log level
src/log.rs:64
↓ 1 callers
Method
to_queue_full_c
(&self)
src/iotdata.rs:39
↓ 1 callers
Method
with_mocks
(self, mocks: MockHolder)
src/iotdata.rs:227
↓ 1 callers
Method
with_publish_options
(self, publish_options: Option<PublishOptions>)
src/iotdata.rs:198
↓ 1 callers
Method
with_publish_raw_outputs
(self, publish_raw_outputs: Vec<GGResult<()>>)
src/iotdata.rs:260
↓ 1 callers
Method
with_queue_full_policy
Define a custom policy when publishing from this client
src/iotdata.rs:55
↓ 1 callers
Method
with_secret_string
(self, secret_string: Option<String>)
src/secret.rs:47
↓ 1 callers
Function
write_lambda_err_response
(err_msg: &str)
src/lambda.rs:298
↓ 1 callers
Function
write_lambda_response
(buffer: &[u8])
src/lambda.rs:292
Method
calls
Return all the calls made
src/lib.rs:141
Method
default
()
src/iotdata.rs:61
Method
default
()
src/shadow.rs:183
Method
default
()
src/lib.rs:89
Method
default
()
src/secret.rs:93
Method
default
()
src/request.rs:186
Method
default
()
src/runtime.rs:63
Method
default
()
src/lambda.rs:201
Function
delgating_handler
c handler that utilizes ChannelHandler in order to pass information to the Handler implementation provided
src/runtime.rs:133
Method
flush
(&self)
src/log.rs:34
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/error.rs:86
Method
from
(opts: &InvokeOptions<C>)
src/lambda.rs:321
Method
from
(e: ffi::NulError)
src/error.rs:122
Method
from_code
(err_code: gg_error)
src/error.rs:63
Method
from_slice
(slice: &[u8])
examples/invoker.rs:97
Method
get_thing_shadow
(&self, thing_name: &str)
src/shadow.rs:55
Function
gg_delete_thing_shadow
noinspection DuplicatedCode
src/bindings.rs:581
Function
gg_delete_thing_shadow
stubs/src/greengrasssdk.c:97
Function
gg_get_secret_value
( ggreq: gg_request, secret_id: *const ::std::os::raw::c_char, version_id: *const ::st
src/bindings.rs:351
Function
gg_get_secret_value
stubs/src/greengrasssdk.c:49
Function
gg_get_thing_shadow
noinspection DuplicatedCode
src/bindings.rs:544
Function
gg_get_thing_shadow
stubs/src/greengrasssdk.c:91
next →
1–100 of 180, ranked by callers