Struct aws_sdk_glue::input::PutResourcePolicyInput
source · #[non_exhaustive]pub struct PutResourcePolicyInput { /* private fields */ }Implementations§
source§impl PutResourcePolicyInput
impl PutResourcePolicyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutResourcePolicy, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutResourcePolicy, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutResourcePolicy>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutResourcePolicyInput.
source§impl PutResourcePolicyInput
impl PutResourcePolicyInput
sourcepub fn policy_in_json(&self) -> Option<&str>
pub fn policy_in_json(&self) -> Option<&str>
Contains the policy document to set, in JSON format.
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
Do not use. For internal use only.
sourcepub fn policy_hash_condition(&self) -> Option<&str>
pub fn policy_hash_condition(&self) -> Option<&str>
The hash value returned when the previous policy was set using PutResourcePolicy. Its purpose is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy has been set.
sourcepub fn policy_exists_condition(&self) -> Option<&ExistCondition>
pub fn policy_exists_condition(&self) -> Option<&ExistCondition>
A value of MUST_EXIST is used to update a policy. A value of NOT_EXIST is used to create a new policy. If a value of NONE or a null value is used, the call does not depend on the existence of a policy.
sourcepub fn enable_hybrid(&self) -> Option<&EnableHybridValues>
pub fn enable_hybrid(&self) -> Option<&EnableHybridValues>
If 'TRUE', indicates that you are using both methods to grant cross-account access to Data Catalog resources:
-
By directly updating the resource policy with
PutResourePolicy -
By using the Grant permissions command on the Amazon Web Services Management Console.
Must be set to 'TRUE' if you have already used the Management Console to grant cross-account access, otherwise the call fails. Default is 'FALSE'.
Trait Implementations§
source§impl Clone for PutResourcePolicyInput
impl Clone for PutResourcePolicyInput
source§fn clone(&self) -> PutResourcePolicyInput
fn clone(&self) -> PutResourcePolicyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PutResourcePolicyInput
impl Debug for PutResourcePolicyInput
source§impl PartialEq<PutResourcePolicyInput> for PutResourcePolicyInput
impl PartialEq<PutResourcePolicyInput> for PutResourcePolicyInput
source§fn eq(&self, other: &PutResourcePolicyInput) -> bool
fn eq(&self, other: &PutResourcePolicyInput) -> bool
self and other values to be equal, and is used
by ==.