MCPcopy Create free account
hub / github.com/aws/aws-lambda-rust-runtime / with_extension_name

Method with_extension_name

lambda-extension/src/extension.rs:100–105  ·  view source on GitHub ↗

Create a new [`Extension`] with a given extension name

(self, extension_name: &'a str)

Source from the content-addressed store, hash-verified

98{
99 /// Create a new [`Extension`] with a given extension name
100 pub fn with_extension_name(self, extension_name: &'a str) -> Self {
101 Extension {
102 extension_name: Some(extension_name),
103 ..self
104 }
105 }
106
107 /// Create a new [`Extension`] with a list of given events.
108 /// The only accepted events are `INVOKE` and `SHUTDOWN`.

Callers 2

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected