pub struct Client { /* private fields */ }
Expand description
Client for Guides
Client for invoking operations on Guides. Each operation on Guides is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
§Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = stedi_sdk_config::load_from_env().await;
let client = stedi_sdk_client_guides::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */
Constructing a client with custom configuration
use stedi_sdk_config::retry::RetryConfig;
let shared_config = stedi_sdk_config::load_from_env().await;
let config = stedi_sdk_client_guides::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = stedi_sdk_client_guides::Client::from_conf(config);
Implementations§
Source§impl Client
impl Client
Sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config,
) -> Self
pub fn with_config( client: Client<DynConnector, DynMiddleware<DynConnector>>, conf: Config, ) -> Self
Creates a client with the given service configuration.
Source§impl Client
impl Client
Sourcepub fn change_guide_visibility(&self) -> ChangeGuideVisibility
pub fn change_guide_visibility(&self) -> ChangeGuideVisibility
Constructs a fluent builder for the ChangeGuideVisibility
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: (undocumented)visibility(GuideVisibility)
/set_visibility(Option<GuideVisibility>)
: (undocumented)
- On success, responds with
ChangeGuideVisibilityOutput
with field(s):id(Option<String>)
: (undocumented)visibility(Option<GuideVisibility>)
: (undocumented)
- On failure, responds with
SdkError<ChangeGuideVisibilityError>
Sourcepub fn create_guide(&self) -> CreateGuide
pub fn create_guide(&self) -> CreateGuide
Constructs a fluent builder for the CreateGuide
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
: (undocumented)target(GuideTarget)
/set_target(Option<GuideTarget>)
: (undocumented)definition(Document)
/set_definition(Option<Document>)
: (undocumented)x12_envelope(impl Into<String>)
/set_x12_envelope(Option<String>)
: (undocumented)output_format(OutputFormat)
/set_output_format(Option<OutputFormat>)
: (undocumented)samples(Vec<CreateGuideSampleData>)
/set_samples(Option<Vec<CreateGuideSampleData>>)
: (undocumented)attachments(Vec<CreateGuideAttachmentData>)
/set_attachments(Option<Vec<CreateGuideAttachmentData>>)
: (undocumented)source_guide(impl Into<String>)
/set_source_guide(Option<String>)
: Tracks the source of the created guide. If imported from a public guide, will equal the guide Id. If imported from a shared guide, will equal account name and guide name
- On success, responds with
CreateGuideOutput
with field(s):id(Option<String>)
: Id of the draft guide, begins with DRFT_name(Option<String>)
: (undocumented)visibility(Option<GuideVisibility>)
: (undocumented)target(Option<GuideTarget>)
: (undocumented)definition(Option<Document>)
: (undocumented)unpublished_changes(Option<bool>)
: (undocumented)created_at(Option<DateTime>)
: (undocumented)updated_at(Option<DateTime>)
: (undocumented)published_at(Option<DateTime>)
: (undocumented)share_enabled(Option<bool>)
: (undocumented)share_id(Option<String>)
: (undocumented)x12_envelope(Option<String>)
: (undocumented)fragment_path(Option<String>)
: (undocumented)source_guide(Option<String>)
: (undocumented)
- On failure, responds with
SdkError<CreateGuideError>
Sourcepub fn create_guide_attachment(&self) -> CreateGuideAttachment
pub fn create_guide_attachment(&self) -> CreateGuideAttachment
Constructs a fluent builder for the CreateGuideAttachment
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: Id of the draft guide these attachments belong to, begins with DRFT_name(impl Into<String>)
/set_name(Option<String>)
: (undocumented)filename(impl Into<String>)
/set_filename(Option<String>)
: (undocumented)visibility(AttachmentVisibility)
/set_visibility(Option<AttachmentVisibility>)
: (undocumented)content(Blob)
/set_content(Option<Blob>)
: (undocumented)
- On success, responds with
CreateGuideAttachmentOutput
with field(s):id(Option<String>)
: (undocumented)name(Option<String>)
: (undocumented)filename(Option<String>)
: (undocumented)visibility(Option<AttachmentVisibility>)
: (undocumented)content_signed_url(Option<String>)
: (undocumented)
- On failure, responds with
SdkError<CreateGuideAttachmentError>
Sourcepub fn create_guide_sample(&self) -> CreateGuideSample
pub fn create_guide_sample(&self) -> CreateGuideSample
Constructs a fluent builder for the CreateGuideSample
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: Id of the draft guide these samples belong to, begins with DRFT_name(impl Into<String>)
/set_name(Option<String>)
: (undocumented)content(impl Into<String>)
/set_content(Option<String>)
: (undocumented)description(impl Into<String>)
/set_description(Option<String>)
: (undocumented)
- On success, responds with
CreateGuideSampleOutput
with field(s):id(Option<String>)
: (undocumented)name(Option<String>)
: (undocumented)content(Option<String>)
: (undocumented)description(Option<String>)
: (undocumented)
- On failure, responds with
SdkError<CreateGuideSampleError>
Sourcepub fn delete_guide(&self) -> DeleteGuide
pub fn delete_guide(&self) -> DeleteGuide
Constructs a fluent builder for the DeleteGuide
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: (undocumented)
- On success, responds with
DeleteGuideOutput
- On failure, responds with
SdkError<DeleteGuideError>
Sourcepub fn delete_guide_attachment(&self) -> DeleteGuideAttachment
pub fn delete_guide_attachment(&self) -> DeleteGuideAttachment
Constructs a fluent builder for the DeleteGuideAttachment
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: Id of the draft guide these attachments belong to, begins with DRFT_guide_attachment_id(impl Into<String>)
/set_guide_attachment_id(Option<String>)
: (undocumented)
- On success, responds with
DeleteGuideAttachmentOutput
- On failure, responds with
SdkError<DeleteGuideAttachmentError>
Sourcepub fn delete_guide_sample(&self) -> DeleteGuideSample
pub fn delete_guide_sample(&self) -> DeleteGuideSample
Constructs a fluent builder for the DeleteGuideSample
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: Id of the draft guide these samples belong to, begins with DRFT_guide_sample_id(impl Into<String>)
/set_guide_sample_id(Option<String>)
: (undocumented)
- On success, responds with
DeleteGuideSampleOutput
- On failure, responds with
SdkError<DeleteGuideSampleError>
Sourcepub fn get_account_config(&self) -> GetAccountConfig
pub fn get_account_config(&self) -> GetAccountConfig
Constructs a fluent builder for the GetAccountConfig
operation.
- The fluent builder takes no input, just
send
it. - On success, responds with
GetAccountConfigOutput
with field(s):logo_url(Option<String>)
: (undocumented)link_text(Option<String>)
: (undocumented)link_url(Option<String>)
: (undocumented)slug(Option<String>)
: (undocumented)display_name(Option<String>)
: (undocumented)created_at(Option<DateTime>)
: (undocumented)updated_at(Option<DateTime>)
: (undocumented)
- On failure, responds with
SdkError<GetAccountConfigError>
Sourcepub fn get_guide(&self) -> GetGuide
pub fn get_guide(&self) -> GetGuide
Constructs a fluent builder for the GetGuide
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: (undocumented)output_format(OutputFormat)
/set_output_format(Option<OutputFormat>)
: (undocumented)
- On success, responds with
GetGuideOutput
with field(s):id(Option<String>)
: (undocumented)name(Option<String>)
: (undocumented)target(Option<GuideTarget>)
: (undocumented)definition(Option<Document>)
: (undocumented)unpublished_changes(Option<bool>)
: (undocumented)created_at(Option<DateTime>)
: (undocumented)updated_at(Option<DateTime>)
: (undocumented)visibility(Option<GuideVisibility>)
: (undocumented)published_at(Option<DateTime>)
: (undocumented)share_enabled(Option<bool>)
: (undocumented)share_id(Option<String>)
: (undocumented)x12_envelope(Option<String>)
: (undocumented)fragment_path(Option<String>)
: (undocumented)source_guide(Option<String>)
: (undocumented)
- On failure, responds with
SdkError<GetGuideError>
Sourcepub fn get_guides_network(&self) -> GetGuidesNetwork
pub fn get_guides_network(&self) -> GetGuidesNetwork
Constructs a fluent builder for the GetGuidesNetwork
operation.
- The fluent builder is configurable:
slug(impl Into<String>)
/set_slug(Option<String>)
: (undocumented)guide_id(impl Into<String>)
/set_guide_id(Option<String>)
: (undocumented)
- On success, responds with
GetGuidesNetworkOutput
with field(s):network(Option<Vec<GuidesNetworkEntry>>)
: (undocumented)
- On failure, responds with
SdkError<GetGuidesNetworkError>
Sourcepub fn get_public_account_config(&self) -> GetPublicAccountConfig
pub fn get_public_account_config(&self) -> GetPublicAccountConfig
Constructs a fluent builder for the GetPublicAccountConfig
operation.
- The fluent builder is configurable:
slug(impl Into<String>)
/set_slug(Option<String>)
: (undocumented)
- On success, responds with
GetPublicAccountConfigOutput
with field(s):logo_url(Option<String>)
: (undocumented)link_text(Option<String>)
: (undocumented)link_url(Option<String>)
: (undocumented)slug(Option<String>)
: (undocumented)display_name(Option<String>)
: (undocumented)created_at(Option<DateTime>)
: (undocumented)updated_at(Option<DateTime>)
: (undocumented)
- On failure, responds with
SdkError<GetPublicAccountConfigError>
Sourcepub fn get_public_guide(&self) -> GetPublicGuide
pub fn get_public_guide(&self) -> GetPublicGuide
Constructs a fluent builder for the GetPublicGuide
operation.
- The fluent builder is configurable:
slug(impl Into<String>)
/set_slug(Option<String>)
: (undocumented)id(impl Into<String>)
/set_id(Option<String>)
: Id of the published guide, begins with LIVE_output_format(OutputFormat)
/set_output_format(Option<OutputFormat>)
: (undocumented)
- On success, responds with
GetPublicGuideOutput
with field(s):id(Option<String>)
: Id of the published guide, begins with LIVE_name(Option<String>)
: (undocumented)target(Option<GuideTarget>)
: (undocumented)definition(Option<Document>)
: (undocumented)created_at(Option<DateTime>)
: (undocumented)updated_at(Option<DateTime>)
: (undocumented)published_at(Option<DateTime>)
: (undocumented)x12_envelope(Option<String>)
: (undocumented)fragment_path(Option<String>)
: (undocumented)source_guide(Option<String>)
: (undocumented)
- On failure, responds with
SdkError<GetPublicGuideError>
Constructs a fluent builder for the GetPublicSharedGuide
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: (undocumented)output_format(OutputFormat)
/set_output_format(Option<OutputFormat>)
: (undocumented)
- On success, responds with
GetPublicSharedGuideOutput
with field(s):source(Option<String>)
: (undocumented)name(Option<String>)
: (undocumented)target(Option<GuideTarget>)
: (undocumented)definition(Option<Document>)
: (undocumented)x12_envelope(Option<String>)
: (undocumented)fragment_path(Option<String>)
: (undocumented)
- On failure, responds with
SdkError<GetPublicSharedGuideError>
Sourcepub fn get_x12_transaction_set_metadata(&self) -> GetX12TransactionSetMetadata
pub fn get_x12_transaction_set_metadata(&self) -> GetX12TransactionSetMetadata
Constructs a fluent builder for the GetX12TransactionSetMetadata
operation.
- The fluent builder is configurable:
version(impl Into<String>)
/set_version(Option<String>)
: (undocumented)transaction_set_id(impl Into<String>)
/set_transaction_set_id(Option<String>)
: (undocumented)
- On success, responds with
GetX12TransactionSetMetadataOutput
with field(s):codes(Option<Document>)
: (undocumented)composites(Option<Document>)
: (undocumented)elements(Option<Document>)
: (undocumented)segments(Option<Document>)
: (undocumented)transaction(Option<Document>)
: (undocumented)
- On failure, responds with
SdkError<GetX12TransactionSetMetadataError>
Sourcepub fn list_all_public_guides(&self) -> ListAllPublicGuides
pub fn list_all_public_guides(&self) -> ListAllPublicGuides
Constructs a fluent builder for the ListAllPublicGuides
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_page_token(impl Into<String>)
/set_next_page_token(Option<String>)
: The token used for paginationpage_size(i32)
/set_page_size(Option<i32>)
: The maximum number of elements to return in a page
- On success, responds with
ListAllPublicGuidesOutput
with field(s):next_page_token(Option<String>)
: The token used for paginationitems(Option<Vec<AllPublicGuideSummary>>)
: (undocumented)page_size(Option<i32>)
: The maximum number of elements to return in a page
- On failure, responds with
SdkError<ListAllPublicGuidesError>
Sourcepub fn list_guide_attachments(&self) -> ListGuideAttachments
pub fn list_guide_attachments(&self) -> ListGuideAttachments
Constructs a fluent builder for the ListGuideAttachments
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: Id of the guide these attachments belong to
- On success, responds with
ListGuideAttachmentsOutput
with field(s):items(Option<Vec<GuideAttachmentData>>)
: (undocumented)
- On failure, responds with
SdkError<ListGuideAttachmentsError>
Sourcepub fn list_guides(&self) -> ListGuides
pub fn list_guides(&self) -> ListGuides
Constructs a fluent builder for the ListGuides
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
status(GuideStatus)
/set_status(Option<GuideStatus>)
: (undocumented)next_page_token(impl Into<String>)
/set_next_page_token(Option<String>)
: The token used for paginationpage_size(i32)
/set_page_size(Option<i32>)
: The maximum number of elements to return in a page
- On success, responds with
ListGuidesOutput
with field(s):next_page_token(Option<String>)
: The token used for paginationitems(Option<Vec<GuideSummary>>)
: (undocumented)page_size(Option<i32>)
: The maximum number of elements to return in a page
- On failure, responds with
SdkError<ListGuidesError>
Sourcepub fn list_guide_samples(&self) -> ListGuideSamples
pub fn list_guide_samples(&self) -> ListGuideSamples
Constructs a fluent builder for the ListGuideSamples
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: Id of the guide these samples belong to
- On success, responds with
ListGuideSamplesOutput
with field(s):items(Option<Vec<GuideSampleData>>)
: (undocumented)
- On failure, responds with
SdkError<ListGuideSamplesError>
Sourcepub fn list_public_guide_attachments(&self) -> ListPublicGuideAttachments
pub fn list_public_guide_attachments(&self) -> ListPublicGuideAttachments
Constructs a fluent builder for the ListPublicGuideAttachments
operation.
- The fluent builder is configurable:
slug(impl Into<String>)
/set_slug(Option<String>)
: (undocumented)id(impl Into<String>)
/set_id(Option<String>)
: Id of the published guide these attachments belong to, begins with LIVE_
- On success, responds with
ListPublicGuideAttachmentsOutput
with field(s):items(Option<Vec<PublicGuideAttachmentData>>)
: (undocumented)
- On failure, responds with
SdkError<ListPublicGuideAttachmentsError>
Sourcepub fn list_public_guides(&self) -> ListPublicGuides
pub fn list_public_guides(&self) -> ListPublicGuides
Constructs a fluent builder for the ListPublicGuides
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
slug(impl Into<String>)
/set_slug(Option<String>)
: (undocumented)next_page_token(impl Into<String>)
/set_next_page_token(Option<String>)
: The token used for paginationpage_size(i32)
/set_page_size(Option<i32>)
: The maximum number of elements to return in a page
- On success, responds with
ListPublicGuidesOutput
with field(s):next_page_token(Option<String>)
: The token used for paginationitems(Option<Vec<PublicGuideSummary>>)
: (undocumented)page_size(Option<i32>)
: The maximum number of elements to return in a page
- On failure, responds with
SdkError<ListPublicGuidesError>
Sourcepub fn list_public_guide_samples(&self) -> ListPublicGuideSamples
pub fn list_public_guide_samples(&self) -> ListPublicGuideSamples
Constructs a fluent builder for the ListPublicGuideSamples
operation.
- The fluent builder is configurable:
slug(impl Into<String>)
/set_slug(Option<String>)
: (undocumented)id(impl Into<String>)
/set_id(Option<String>)
: Id of the published guide these samples belong to, begins with LIVE_
- On success, responds with
ListPublicGuideSamplesOutput
with field(s):items(Option<Vec<PublicGuideSampleData>>)
: (undocumented)
- On failure, responds with
SdkError<ListPublicGuideSamplesError>
Constructs a fluent builder for the ListPublicSharedGuideAttachments
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: SharedId of the guide these attachments belong to
- On success, responds with
ListPublicSharedGuideAttachmentsOutput
with field(s):items(Option<Vec<PublicSharedGuideAttachmentData>>)
: (undocumented)
- On failure, responds with
SdkError<ListPublicSharedGuideAttachmentsError>
Constructs a fluent builder for the ListPublicSharedGuideSamples
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: SharedId of the guide these samples belong to
- On success, responds with
ListPublicSharedGuideSamplesOutput
with field(s):items(Option<Vec<PublicSharedGuideSampleData>>)
: (undocumented)
- On failure, responds with
SdkError<ListPublicSharedGuideSamplesError>
Sourcepub fn list_x12_transaction_sets(&self) -> ListX12TransactionSets
pub fn list_x12_transaction_sets(&self) -> ListX12TransactionSets
Constructs a fluent builder for the ListX12TransactionSets
operation.
- The fluent builder is configurable:
version(impl Into<String>)
/set_version(Option<String>)
: (undocumented)
- On success, responds with
ListX12TransactionSetsOutput
with field(s):transaction_sets(Option<Vec<TransactionSetSummary>>)
: (undocumented)
- On failure, responds with
SdkError<ListX12TransactionSetsError>
Sourcepub fn publish_guide(&self) -> PublishGuide
pub fn publish_guide(&self) -> PublishGuide
Constructs a fluent builder for the PublishGuide
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: Id of the draft guide, begins with DRFT_output_format(OutputFormat)
/set_output_format(Option<OutputFormat>)
: (undocumented)
- On success, responds with
PublishGuideOutput
with field(s):id(Option<String>)
: Id of the published guide, begins with LIVE_name(Option<String>)
: (undocumented)visibility(Option<GuideVisibility>)
: (undocumented)target(Option<GuideTarget>)
: (undocumented)definition(Option<Document>)
: (undocumented)unpublished_changes(Option<bool>)
: (undocumented)created_at(Option<DateTime>)
: (undocumented)updated_at(Option<DateTime>)
: (undocumented)published_at(Option<DateTime>)
: (undocumented)share_enabled(Option<bool>)
: (undocumented)share_id(Option<String>)
: (undocumented)source_guide(Option<String>)
: (undocumented)
- On failure, responds with
SdkError<PublishGuideError>
Sourcepub fn revert_guide(&self) -> RevertGuide
pub fn revert_guide(&self) -> RevertGuide
Constructs a fluent builder for the RevertGuide
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: Id of the draft guide, begins with DRFT_output_format(OutputFormat)
/set_output_format(Option<OutputFormat>)
: (undocumented)
- On success, responds with
RevertGuideOutput
with field(s):id(Option<String>)
: Id of the reverted guide, begins with DRFT_name(Option<String>)
: (undocumented)visibility(Option<GuideVisibility>)
: (undocumented)target(Option<GuideTarget>)
: (undocumented)definition(Option<Document>)
: (undocumented)unpublished_changes(Option<bool>)
: (undocumented)created_at(Option<DateTime>)
: (undocumented)updated_at(Option<DateTime>)
: (undocumented)published_at(Option<DateTime>)
: (undocumented)share_enabled(Option<bool>)
: (undocumented)share_id(Option<String>)
: (undocumented)source_guide(Option<String>)
: (undocumented)
- On failure, responds with
SdkError<RevertGuideError>
Sourcepub fn update_account_config(&self) -> UpdateAccountConfig
pub fn update_account_config(&self) -> UpdateAccountConfig
Constructs a fluent builder for the UpdateAccountConfig
operation.
- The fluent builder is configurable:
logo_url(impl Into<String>)
/set_logo_url(Option<String>)
: The URL of the logo. Only one of logoUrl or logoData can be provided.logo_data(impl Into<String>)
/set_logo_data(Option<String>)
: The base64 data URI of the logo. Only one of logoUrl or logoData can be provided.link_text(impl Into<String>)
/set_link_text(Option<String>)
: (undocumented)link_url(impl Into<String>)
/set_link_url(Option<String>)
: (undocumented)slug(impl Into<String>)
/set_slug(Option<String>)
: (undocumented)display_name(impl Into<String>)
/set_display_name(Option<String>)
: (undocumented)
- On success, responds with
UpdateAccountConfigOutput
with field(s):logo_url(Option<String>)
: (undocumented)link_text(Option<String>)
: (undocumented)link_url(Option<String>)
: (undocumented)slug(Option<String>)
: (undocumented)display_name(Option<String>)
: (undocumented)created_at(Option<DateTime>)
: (undocumented)updated_at(Option<DateTime>)
: (undocumented)
- On failure, responds with
SdkError<UpdateAccountConfigError>
Sourcepub fn update_guide(&self) -> UpdateGuide
pub fn update_guide(&self) -> UpdateGuide
Constructs a fluent builder for the UpdateGuide
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: Id of the draft guide, begins with DRFT_name(impl Into<String>)
/set_name(Option<String>)
: (undocumented)definition(Document)
/set_definition(Option<Document>)
: (undocumented)x12_envelope(impl Into<String>)
/set_x12_envelope(Option<String>)
: (undocumented)
- On success, responds with
UpdateGuideOutput
with field(s):id(Option<String>)
: Id of the draft guide, begins with DRFT_name(Option<String>)
: (undocumented)target(Option<GuideTarget>)
: (undocumented)definition(Option<Document>)
: (undocumented)unpublished_changes(Option<bool>)
: (undocumented)created_at(Option<DateTime>)
: (undocumented)updated_at(Option<DateTime>)
: (undocumented)visibility(Option<GuideVisibility>)
: (undocumented)published_at(Option<DateTime>)
: (undocumented)share_enabled(Option<bool>)
: (undocumented)share_id(Option<String>)
: (undocumented)x12_envelope(Option<String>)
: (undocumented)fragment_path(Option<String>)
: (undocumented)source_guide(Option<String>)
: (undocumented)
- On failure, responds with
SdkError<UpdateGuideError>
Sourcepub fn update_guide_attachment(&self) -> UpdateGuideAttachment
pub fn update_guide_attachment(&self) -> UpdateGuideAttachment
Constructs a fluent builder for the UpdateGuideAttachment
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: Id of the draft guide these attachments belong to, begins with DRFT_guide_attachment_id(impl Into<String>)
/set_guide_attachment_id(Option<String>)
: (undocumented)name(impl Into<String>)
/set_name(Option<String>)
: (undocumented)filename(impl Into<String>)
/set_filename(Option<String>)
: (undocumented)visibility(AttachmentVisibility)
/set_visibility(Option<AttachmentVisibility>)
: (undocumented)content(Blob)
/set_content(Option<Blob>)
: (undocumented)
- On success, responds with
UpdateGuideAttachmentOutput
with field(s):id(Option<String>)
: (undocumented)name(Option<String>)
: (undocumented)filename(Option<String>)
: (undocumented)visibility(Option<AttachmentVisibility>)
: (undocumented)content_signed_url(Option<String>)
: (undocumented)
- On failure, responds with
SdkError<UpdateGuideAttachmentError>
Sourcepub fn update_guide_sample(&self) -> UpdateGuideSample
pub fn update_guide_sample(&self) -> UpdateGuideSample
Constructs a fluent builder for the UpdateGuideSample
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: Id of the draft guide these samples belong to, begins with DRFT_guide_sample_id(impl Into<String>)
/set_guide_sample_id(Option<String>)
: (undocumented)name(impl Into<String>)
/set_name(Option<String>)
: (undocumented)content(impl Into<String>)
/set_content(Option<String>)
: (undocumented)description(impl Into<String>)
/set_description(Option<String>)
: (undocumented)
- On success, responds with
UpdateGuideSampleOutput
with field(s):id(Option<String>)
: (undocumented)name(Option<String>)
: (undocumented)content(Option<String>)
: (undocumented)description(Option<String>)
: (undocumented)
- On failure, responds with
SdkError<UpdateGuideSampleError>
Constructs a fluent builder for the UpdateShareConfig
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
: Id of the published guide, begins with LIVE_share_enabled(bool)
/set_share_enabled(Option<bool>)
: (undocumented)
- On success, responds with
UpdateShareConfigOutput
with field(s):share_enabled(Option<bool>)
: (undocumented)share_id(Option<String>)
: (undocumented)
- On failure, responds with
SdkError<UpdateShareConfigError>
Source§impl Client
impl Client
Sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
§Panics
- This method will panic if the
sdk_config
is missing an async sleep implementation. If you experience this panic, set thesleep_impl
on the Config passed into this function to fix it. - This method will panic if the
sdk_config
is missing an HTTP connector. If you experience this panic, set thehttp_connector
on the Config passed into this function to fix it.
Sourcepub fn from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config
.
§Panics
- This method will panic if the
conf
is missing an async sleep implementation. If you experience this panic, set thesleep_impl
on the Config passed into this function to fix it. - This method will panic if the
conf
is missing an HTTP connector. If you experience this panic, set thehttp_connector
on the Config passed into this function to fix it.
Trait Implementations§
Source§impl From<Client> for Client
impl From<Client> for Client
Source§fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more