Struct aws_sdk_ssm::input::get_parameters_by_path_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for GetParametersByPathInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn path(self, input: impl Into<String>) -> Self
pub fn path(self, input: impl Into<String>) -> Self
The hierarchy for the parameter. Hierarchies start with a forward slash (/). The hierarchy is the parameter name except the last part of the parameter. For the API call to succeed, the last part of the parameter name can't be in the path. A parameter name hierarchy can have a maximum of 15 levels. Here is an example of a hierarchy: /Finance/Prod/IAD/WinServ2016/license33
sourcepub fn set_path(self, input: Option<String>) -> Self
pub fn set_path(self, input: Option<String>) -> Self
The hierarchy for the parameter. Hierarchies start with a forward slash (/). The hierarchy is the parameter name except the last part of the parameter. For the API call to succeed, the last part of the parameter name can't be in the path. A parameter name hierarchy can have a maximum of 15 levels. Here is an example of a hierarchy: /Finance/Prod/IAD/WinServ2016/license33
sourcepub fn recursive(self, input: bool) -> Self
pub fn recursive(self, input: bool) -> Self
Retrieve all parameters within a hierarchy.
If a user has access to a path, then the user can access all levels of that path. For example, if a user has permission to access path /a, then the user can also access /a/b. Even if a user has explicitly been denied access in IAM for parameter /a/b, they can still call the GetParametersByPath API operation recursively for /a and view /a/b.
sourcepub fn set_recursive(self, input: Option<bool>) -> Self
pub fn set_recursive(self, input: Option<bool>) -> Self
Retrieve all parameters within a hierarchy.
If a user has access to a path, then the user can access all levels of that path. For example, if a user has permission to access path /a, then the user can also access /a/b. Even if a user has explicitly been denied access in IAM for parameter /a/b, they can still call the GetParametersByPath API operation recursively for /a and view /a/b.
sourcepub fn parameter_filters(self, input: ParameterStringFilter) -> Self
pub fn parameter_filters(self, input: ParameterStringFilter) -> Self
Appends an item to parameter_filters.
To override the contents of this collection use set_parameter_filters.
Filters to limit the request results.
The following Key values are supported for GetParametersByPath: Type, KeyId, and Label.
The following Key values aren't supported for GetParametersByPath: tag, DataType, Name, Path, and Tier.
sourcepub fn set_parameter_filters(
self,
input: Option<Vec<ParameterStringFilter>>
) -> Self
pub fn set_parameter_filters(
self,
input: Option<Vec<ParameterStringFilter>>
) -> Self
Filters to limit the request results.
The following Key values are supported for GetParametersByPath: Type, KeyId, and Label.
The following Key values aren't supported for GetParametersByPath: tag, DataType, Name, Path, and Tier.
sourcepub fn with_decryption(self, input: bool) -> Self
pub fn with_decryption(self, input: bool) -> Self
Retrieve all parameters in a hierarchy with their value decrypted.
sourcepub fn set_with_decryption(self, input: Option<bool>) -> Self
pub fn set_with_decryption(self, input: Option<bool>) -> Self
Retrieve all parameters in a hierarchy with their value decrypted.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token to start the list. Use this token to get the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token to start the list. Use this token to get the next set of results.
sourcepub fn build(self) -> Result<GetParametersByPathInput, BuildError>
pub fn build(self) -> Result<GetParametersByPathInput, BuildError>
Consumes the builder and constructs a GetParametersByPathInput.