Commit f75c1e10 authored by AWS SDK Rust Bot's avatar AWS SDK Rust Bot
Browse files

[smithy-rs] Rollup of 5 commits



Includes commits:
  3ab5a692 Showcase a minimal operation-agnostic server model plugin (#3060)
  0f38daea Move `SdkBody` and `bytestream` into `aws-smithy-types` (#3026)
  6dceb8c0 Move default endpoint resolver into a runtime plugin (#3072)
  d48acae8 Implement an identity cache in aws-smithy-runtime (#3062)
  bcfc2112 Simplify default config and add default async sleep (#3071)

Co-authored-by: default avatarJohn DiSanti <jdisanti@amazon.com>
Co-authored-by: default avatarRussell Cohen <rcoh@amazon.com>
Co-authored-by: default avatardavid-perez <d@vidp.dev>
Co-authored-by: default avatarysaito1001 <awsaito@amazon.com>
parent 3af73a40
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3,8 +3,8 @@ impl super::Client {
    /// Constructs a fluent builder for the [`ApplyArchiveRule`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`analyzer_arn(impl Into<String>)`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder::analyzer_arn) / [`set_analyzer_arn(impl Into<String>)`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder::set_analyzer_arn):<br>required: **true**<br><p>The Amazon resource name (ARN) of the analyzer.</p><br>
    ///   - [`rule_name(impl Into<String>)`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder::rule_name) / [`set_rule_name(impl Into<String>)`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder::set_rule_name):<br>required: **true**<br><p>The name of the rule to apply.</p><br>
    ///   - [`analyzer_arn(impl Into<String>)`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder::analyzer_arn) / [`set_analyzer_arn(Option<String>)`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder::set_analyzer_arn):<br>required: **true**<br><p>The Amazon resource name (ARN) of the analyzer.</p><br>
    ///   - [`rule_name(impl Into<String>)`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder::rule_name) / [`set_rule_name(Option<String>)`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder::set_rule_name):<br>required: **true**<br><p>The name of the rule to apply.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder::set_client_token):<br>required: **false**<br><p>A client token.</p><br>
    /// - On success, responds with [`ApplyArchiveRuleOutput`](crate::operation::apply_archive_rule::ApplyArchiveRuleOutput)
    /// - On failure, responds with [`SdkError<ApplyArchiveRuleError>`](crate::operation::apply_archive_rule::ApplyArchiveRuleError)
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ impl super::Client {
    /// Constructs a fluent builder for the [`CancelPolicyGeneration`](crate::operation::cancel_policy_generation::builders::CancelPolicyGenerationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`job_id(impl Into<String>)`](crate::operation::cancel_policy_generation::builders::CancelPolicyGenerationFluentBuilder::job_id) / [`set_job_id(impl Into<String>)`](crate::operation::cancel_policy_generation::builders::CancelPolicyGenerationFluentBuilder::set_job_id):<br>required: **true**<br><p>The <code>JobId</code> that is returned by the <code>StartPolicyGeneration</code> operation. The <code>JobId</code> can be used with <code>GetGeneratedPolicy</code> to retrieve the generated policies or used with <code>CancelPolicyGeneration</code> to cancel the policy generation request.</p><br>
    ///   - [`job_id(impl Into<String>)`](crate::operation::cancel_policy_generation::builders::CancelPolicyGenerationFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::cancel_policy_generation::builders::CancelPolicyGenerationFluentBuilder::set_job_id):<br>required: **true**<br><p>The <code>JobId</code> that is returned by the <code>StartPolicyGeneration</code> operation. The <code>JobId</code> can be used with <code>GetGeneratedPolicy</code> to retrieve the generated policies or used with <code>CancelPolicyGeneration</code> to cancel the policy generation request.</p><br>
    /// - On success, responds with [`CancelPolicyGenerationOutput`](crate::operation::cancel_policy_generation::CancelPolicyGenerationOutput)
    /// - On failure, responds with [`SdkError<CancelPolicyGenerationError>`](crate::operation::cancel_policy_generation::CancelPolicyGenerationError)
    pub fn cancel_policy_generation(&self) -> crate::operation::cancel_policy_generation::builders::CancelPolicyGenerationFluentBuilder {
+2 −2
Original line number Diff line number Diff line
@@ -3,8 +3,8 @@ impl super::Client {
    /// Constructs a fluent builder for the [`CreateAccessPreview`](crate::operation::create_access_preview::builders::CreateAccessPreviewFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`analyzer_arn(impl Into<String>)`](crate::operation::create_access_preview::builders::CreateAccessPreviewFluentBuilder::analyzer_arn) / [`set_analyzer_arn(impl Into<String>)`](crate::operation::create_access_preview::builders::CreateAccessPreviewFluentBuilder::set_analyzer_arn):<br>required: **true**<br><p>The <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources">ARN of the account analyzer</a> used to generate the access preview. You can only create an access preview for analyzers with an <code>Account</code> type and <code>Active</code> status.</p><br>
    ///   - [`configurations(impl Into<String>, Configuration)`](crate::operation::create_access_preview::builders::CreateAccessPreviewFluentBuilder::configurations) / [`set_configurations(HashMap<String, Configuration>)`](crate::operation::create_access_preview::builders::CreateAccessPreviewFluentBuilder::set_configurations):<br>required: **true**<br><p>Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.</p><br>
    ///   - [`analyzer_arn(impl Into<String>)`](crate::operation::create_access_preview::builders::CreateAccessPreviewFluentBuilder::analyzer_arn) / [`set_analyzer_arn(Option<String>)`](crate::operation::create_access_preview::builders::CreateAccessPreviewFluentBuilder::set_analyzer_arn):<br>required: **true**<br><p>The <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources">ARN of the account analyzer</a> used to generate the access preview. You can only create an access preview for analyzers with an <code>Account</code> type and <code>Active</code> status.</p><br>
    ///   - [`configurations(impl Into<String>, Configuration)`](crate::operation::create_access_preview::builders::CreateAccessPreviewFluentBuilder::configurations) / [`set_configurations(Option<HashMap<String, Configuration>>)`](crate::operation::create_access_preview::builders::CreateAccessPreviewFluentBuilder::set_configurations):<br>required: **true**<br><p>Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_access_preview::builders::CreateAccessPreviewFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_access_preview::builders::CreateAccessPreviewFluentBuilder::set_client_token):<br>required: **false**<br><p>A client token.</p><br>
    /// - On success, responds with [`CreateAccessPreviewOutput`](crate::operation::create_access_preview::CreateAccessPreviewOutput) with field(s):
    ///   - [`id(String)`](crate::operation::create_access_preview::CreateAccessPreviewOutput::id): <p>The unique ID for the access preview.</p>
+2 −2
Original line number Diff line number Diff line
@@ -3,8 +3,8 @@ impl super::Client {
    /// Constructs a fluent builder for the [`CreateAnalyzer`](crate::operation::create_analyzer::builders::CreateAnalyzerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`analyzer_name(impl Into<String>)`](crate::operation::create_analyzer::builders::CreateAnalyzerFluentBuilder::analyzer_name) / [`set_analyzer_name(impl Into<String>)`](crate::operation::create_analyzer::builders::CreateAnalyzerFluentBuilder::set_analyzer_name):<br>required: **true**<br><p>The name of the analyzer to create.</p><br>
    ///   - [`r#type(Type)`](crate::operation::create_analyzer::builders::CreateAnalyzerFluentBuilder::type) / [`set_type(Type)`](crate::operation::create_analyzer::builders::CreateAnalyzerFluentBuilder::set_type):<br>required: **true**<br><p>The type of analyzer to create. Only ACCOUNT and ORGANIZATION analyzers are supported. You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.</p><br>
    ///   - [`analyzer_name(impl Into<String>)`](crate::operation::create_analyzer::builders::CreateAnalyzerFluentBuilder::analyzer_name) / [`set_analyzer_name(Option<String>)`](crate::operation::create_analyzer::builders::CreateAnalyzerFluentBuilder::set_analyzer_name):<br>required: **true**<br><p>The name of the analyzer to create.</p><br>
    ///   - [`r#type(Type)`](crate::operation::create_analyzer::builders::CreateAnalyzerFluentBuilder::type) / [`set_type(Option<Type>)`](crate::operation::create_analyzer::builders::CreateAnalyzerFluentBuilder::set_type):<br>required: **true**<br><p>The type of analyzer to create. Only ACCOUNT and ORGANIZATION analyzers are supported. You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.</p><br>
    ///   - [`archive_rules(InlineArchiveRule)`](crate::operation::create_analyzer::builders::CreateAnalyzerFluentBuilder::archive_rules) / [`set_archive_rules(Option<Vec<InlineArchiveRule>>)`](crate::operation::create_analyzer::builders::CreateAnalyzerFluentBuilder::set_archive_rules):<br>required: **false**<br><p>Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.</p><br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_analyzer::builders::CreateAnalyzerFluentBuilder::tags) / [`set_tags(Option<HashMap<String, String>>)`](crate::operation::create_analyzer::builders::CreateAnalyzerFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to apply to the analyzer.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_analyzer::builders::CreateAnalyzerFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_analyzer::builders::CreateAnalyzerFluentBuilder::set_client_token):<br>required: **false**<br><p>A client token.</p><br>
+3 −3
Original line number Diff line number Diff line
@@ -3,9 +3,9 @@ impl super::Client {
    /// Constructs a fluent builder for the [`CreateArchiveRule`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`analyzer_name(impl Into<String>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::analyzer_name) / [`set_analyzer_name(impl Into<String>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::set_analyzer_name):<br>required: **true**<br><p>The name of the created analyzer.</p><br>
    ///   - [`rule_name(impl Into<String>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::rule_name) / [`set_rule_name(impl Into<String>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::set_rule_name):<br>required: **true**<br><p>The name of the rule to create.</p><br>
    ///   - [`filter(impl Into<String>, Criterion)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::filter) / [`set_filter(HashMap<String, Criterion>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::set_filter):<br>required: **true**<br><p>The criteria for the rule.</p><br>
    ///   - [`analyzer_name(impl Into<String>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::analyzer_name) / [`set_analyzer_name(Option<String>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::set_analyzer_name):<br>required: **true**<br><p>The name of the created analyzer.</p><br>
    ///   - [`rule_name(impl Into<String>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::rule_name) / [`set_rule_name(Option<String>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::set_rule_name):<br>required: **true**<br><p>The name of the rule to create.</p><br>
    ///   - [`filter(impl Into<String>, Criterion)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::filter) / [`set_filter(Option<HashMap<String, Criterion>>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::set_filter):<br>required: **true**<br><p>The criteria for the rule.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::set_client_token):<br>required: **false**<br><p>A client token.</p><br>
    /// - On success, responds with [`CreateArchiveRuleOutput`](crate::operation::create_archive_rule::CreateArchiveRuleOutput)
    /// - On failure, responds with [`SdkError<CreateArchiveRuleError>`](crate::operation::create_archive_rule::CreateArchiveRuleError)
Loading