Struct aws_sdk_greengrassv2::model::ComponentConfigurationUpdate [−][src]
#[non_exhaustive]pub struct ComponentConfigurationUpdate {
pub merge: Option<String>,
pub reset: Option<Vec<String>>,
}
Expand description
Contains information about a deployment's update to a component's configuration on Greengrass core devices. For more information, see Update component configurations in the IoT Greengrass V2 Developer Guide.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.merge: Option<String>
A serialized JSON string that contains the configuration object to merge to target devices. The core device merges this configuration with the component's existing configuration. If this is the first time a component deploys on a device, the core device merges this configuration with the component's default configuration. This means that the core device keeps it's existing configuration for keys and values that you don't specify in this object. For more information, see Merge configuration updates in the IoT Greengrass V2 Developer Guide.
reset: Option<Vec<String>>
The list of configuration nodes to reset to default values on target devices. Use JSON
pointers to specify each node to reset. JSON pointers start with a forward slash
(/
) and use forward slashes to separate the key for each level in the object.
For more information, see the JSON pointer
specification and Reset configuration updates in the IoT Greengrass V2 Developer
Guide.
Implementations
Creates a new builder-style object to manufacture ComponentConfigurationUpdate
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for ComponentConfigurationUpdate
impl Sync for ComponentConfigurationUpdate
impl Unpin for ComponentConfigurationUpdate
impl UnwindSafe for ComponentConfigurationUpdate
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more